iop/apps/client/lib/gen/proto/iop/node.pbenum.dart
toki b5c6ad8107 fix(proto): legacy enum tombstone을 보강한다
retired NodeStatus 이름을 source-level reserved로 고정해 새 번호로 재도입되는 경로를 막는다.

리뷰 루프 산출물을 archive로 정리하고 proto-legacy 완료 근거를 남긴다.
2026-06-06 21:09:10 +09:00

39 lines
1.5 KiB
Dart

// This is a generated file - do not edit.
//
// Generated from proto/iop/node.proto.
// @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names
// ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, prefer_relative_imports
import 'dart:core' as $core;
import 'package:protobuf/protobuf.dart' as $pb;
/// NodeStatus is an inactive legacy enum. Only the zero value remains; the
/// online/offline/draining value numbers AND names are reserved tombstones so
/// neither the numbers nor the retired identifiers can be reintroduced as an
/// active contract. The reserved names persist in the generated descriptor
/// metadata by design; that is the tombstone, not an active value.
class NodeStatus extends $pb.ProtobufEnum {
static const NodeStatus NODE_STATUS_UNSPECIFIED =
NodeStatus._(0, _omitEnumNames ? '' : 'NODE_STATUS_UNSPECIFIED');
static const $core.List<NodeStatus> values = <NodeStatus>[
NODE_STATUS_UNSPECIFIED,
];
static final $core.List<NodeStatus?> _byValue =
$pb.ProtobufEnum.$_initByValueList(values, 0);
static NodeStatus? valueOf($core.int value) =>
value < 0 || value >= _byValue.length ? null : _byValue[value];
const NodeStatus._(super.value, super.name);
}
const $core.bool _omitEnumNames =
$core.bool.fromEnvironment('protobuf.omit_enum_names');