You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -5,9 +5,10 @@
|
||||
// @dart = 3.3
|
||||
|
||||
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
|
||||
// ignore_for_file: constant_identifier_names, library_prefixes
|
||||
// ignore_for_file: non_constant_identifier_names, prefer_final_fields
|
||||
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
|
||||
// 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
|
||||
|
||||
import 'dart:core' as $core;
|
||||
|
||||
@@ -68,7 +69,7 @@ class FieldDescriptorProto_Type extends $pb.ProtobufEnum {
|
||||
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);
|
||||
const FieldDescriptorProto_Type._(super.value, super.name);
|
||||
}
|
||||
|
||||
class FieldDescriptorProto_Label extends $pb.ProtobufEnum {
|
||||
@@ -86,7 +87,7 @@ class FieldDescriptorProto_Label extends $pb.ProtobufEnum {
|
||||
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);
|
||||
const FieldDescriptorProto_Label._(super.value, super.name);
|
||||
}
|
||||
|
||||
/// Generated classes can be optimized for speed or code size.
|
||||
@@ -105,7 +106,7 @@ class FileOptions_OptimizeMode extends $pb.ProtobufEnum {
|
||||
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);
|
||||
const FileOptions_OptimizeMode._(super.value, super.name);
|
||||
}
|
||||
|
||||
class FieldOptions_CType extends $pb.ProtobufEnum {
|
||||
@@ -123,7 +124,7 @@ class FieldOptions_CType extends $pb.ProtobufEnum {
|
||||
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);
|
||||
const FieldOptions_CType._(super.value, super.name);
|
||||
}
|
||||
|
||||
class FieldOptions_JSType extends $pb.ProtobufEnum {
|
||||
@@ -143,7 +144,7 @@ class FieldOptions_JSType extends $pb.ProtobufEnum {
|
||||
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);
|
||||
const FieldOptions_JSType._(super.value, super.name);
|
||||
}
|
||||
|
||||
/// Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
|
||||
@@ -163,8 +164,8 @@ class MethodOptions_IdempotencyLevel extends $pb.ProtobufEnum {
|
||||
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);
|
||||
const MethodOptions_IdempotencyLevel._(super.value, super.name);
|
||||
}
|
||||
|
||||
|
||||
const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');
|
||||
const $core.bool _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');
|
||||
|
||||
Reference in New Issue
Block a user