You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -65,8 +65,8 @@ class FieldDescriptorProto_Type extends $pb.ProtobufEnum {
|
||||
TYPE_SINT64,
|
||||
];
|
||||
|
||||
static final $core.Map<$core.int, FieldDescriptorProto_Type> _byValue = $pb.ProtobufEnum.initByValue(values);
|
||||
static FieldDescriptorProto_Type? valueOf($core.int value) => _byValue[value];
|
||||
static final $core.List<FieldDescriptorProto_Type?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 18);
|
||||
static FieldDescriptorProto_Type? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const FieldDescriptorProto_Type._(super.v, super.n);
|
||||
}
|
||||
@@ -83,8 +83,8 @@ class FieldDescriptorProto_Label extends $pb.ProtobufEnum {
|
||||
LABEL_REPEATED,
|
||||
];
|
||||
|
||||
static final $core.Map<$core.int, FieldDescriptorProto_Label> _byValue = $pb.ProtobufEnum.initByValue(values);
|
||||
static FieldDescriptorProto_Label? valueOf($core.int value) => _byValue[value];
|
||||
static final $core.List<FieldDescriptorProto_Label?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3);
|
||||
static FieldDescriptorProto_Label? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const FieldDescriptorProto_Label._(super.v, super.n);
|
||||
}
|
||||
@@ -102,8 +102,8 @@ class FileOptions_OptimizeMode extends $pb.ProtobufEnum {
|
||||
LITE_RUNTIME,
|
||||
];
|
||||
|
||||
static final $core.Map<$core.int, FileOptions_OptimizeMode> _byValue = $pb.ProtobufEnum.initByValue(values);
|
||||
static FileOptions_OptimizeMode? valueOf($core.int value) => _byValue[value];
|
||||
static final $core.List<FileOptions_OptimizeMode?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3);
|
||||
static FileOptions_OptimizeMode? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const FileOptions_OptimizeMode._(super.v, super.n);
|
||||
}
|
||||
@@ -120,8 +120,8 @@ class FieldOptions_CType extends $pb.ProtobufEnum {
|
||||
STRING_PIECE,
|
||||
];
|
||||
|
||||
static final $core.Map<$core.int, FieldOptions_CType> _byValue = $pb.ProtobufEnum.initByValue(values);
|
||||
static FieldOptions_CType? valueOf($core.int value) => _byValue[value];
|
||||
static final $core.List<FieldOptions_CType?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
|
||||
static FieldOptions_CType? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const FieldOptions_CType._(super.v, super.n);
|
||||
}
|
||||
@@ -140,8 +140,8 @@ class FieldOptions_JSType extends $pb.ProtobufEnum {
|
||||
JS_NUMBER,
|
||||
];
|
||||
|
||||
static final $core.Map<$core.int, FieldOptions_JSType> _byValue = $pb.ProtobufEnum.initByValue(values);
|
||||
static FieldOptions_JSType? valueOf($core.int value) => _byValue[value];
|
||||
static final $core.List<FieldOptions_JSType?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
|
||||
static FieldOptions_JSType? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const FieldOptions_JSType._(super.v, super.n);
|
||||
}
|
||||
@@ -160,8 +160,8 @@ class MethodOptions_IdempotencyLevel extends $pb.ProtobufEnum {
|
||||
IDEMPOTENT,
|
||||
];
|
||||
|
||||
static final $core.Map<$core.int, MethodOptions_IdempotencyLevel> _byValue = $pb.ProtobufEnum.initByValue(values);
|
||||
static MethodOptions_IdempotencyLevel? valueOf($core.int value) => _byValue[value];
|
||||
static final $core.List<MethodOptions_IdempotencyLevel?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
|
||||
static MethodOptions_IdempotencyLevel? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const MethodOptions_IdempotencyLevel._(super.v, super.n);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user