2
2
// Generated code. Do not modify.
3
3
// source: descriptor.proto
4
4
//
5
- // @dart = 2.12
5
+ // @dart = 3.3
6
6
7
7
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
8
8
// ignore_for_file: constant_identifier_names, library_prefixes
@@ -16,6 +16,8 @@ import 'package:protobuf/protobuf.dart' as $pb;
16
16
17
17
import 'descriptor.pbenum.dart' ;
18
18
19
+ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
20
+
19
21
export 'descriptor.pbenum.dart' ;
20
22
21
23
/// The protocol compiler can output a FileDescriptorSet containing the .proto
@@ -71,7 +73,7 @@ class FileDescriptorSet extends $pb.GeneratedMessage {
71
73
static FileDescriptorSet ? _defaultInstance;
72
74
73
75
@$pb.TagNumber (1 )
74
- $core. List <FileDescriptorProto > get file => $_getList (0 );
76
+ $pb. PbList <FileDescriptorProto > get file => $_getList (0 );
75
77
}
76
78
77
79
/// Describes a complete .proto file.
@@ -216,20 +218,20 @@ class FileDescriptorProto extends $pb.GeneratedMessage {
216
218
217
219
/// Names of files imported by this file.
218
220
@$pb.TagNumber (3 )
219
- $core. List <$core.String > get dependency => $_getList (2 );
221
+ $pb. PbList <$core.String > get dependency => $_getList (2 );
220
222
221
223
/// All top-level definitions in this file.
222
224
@$pb.TagNumber (4 )
223
- $core. List <DescriptorProto > get messageType => $_getList (3 );
225
+ $pb. PbList <DescriptorProto > get messageType => $_getList (3 );
224
226
225
227
@$pb.TagNumber (5 )
226
- $core. List <EnumDescriptorProto > get enumType => $_getList (4 );
228
+ $pb. PbList <EnumDescriptorProto > get enumType => $_getList (4 );
227
229
228
230
@$pb.TagNumber (6 )
229
- $core. List <ServiceDescriptorProto > get service => $_getList (5 );
231
+ $pb. PbList <ServiceDescriptorProto > get service => $_getList (5 );
230
232
231
233
@$pb.TagNumber (7 )
232
- $core. List <FieldDescriptorProto > get extension => $_getList (6 );
234
+ $pb. PbList <FieldDescriptorProto > get extension => $_getList (6 );
233
235
234
236
@$pb.TagNumber (8 )
235
237
FileOptions get options => $_getN (7 );
@@ -265,12 +267,12 @@ class FileDescriptorProto extends $pb.GeneratedMessage {
265
267
266
268
/// Indexes of the public imported files in the dependency list above.
267
269
@$pb.TagNumber (10 )
268
- $core. List <$core.int > get publicDependency => $_getList (9 );
270
+ $pb. PbList <$core.int > get publicDependency => $_getList (9 );
269
271
270
272
/// Indexes of the weak imported files in the dependency list.
271
273
/// For Google-internal migration only. Do not use.
272
274
@$pb.TagNumber (11 )
273
- $core. List <$core.int > get weakDependency => $_getList (10 );
275
+ $pb. PbList <$core.int > get weakDependency => $_getList (10 );
274
276
275
277
/// The syntax of the proto file.
276
278
/// The supported values are "proto2" and "proto3".
@@ -597,19 +599,19 @@ class DescriptorProto extends $pb.GeneratedMessage {
597
599
void clearName () => $_clearField (1 );
598
600
599
601
@$pb.TagNumber (2 )
600
- $core. List <FieldDescriptorProto > get field => $_getList (1 );
602
+ $pb. PbList <FieldDescriptorProto > get field => $_getList (1 );
601
603
602
604
@$pb.TagNumber (3 )
603
- $core. List <DescriptorProto > get nestedType => $_getList (2 );
605
+ $pb. PbList <DescriptorProto > get nestedType => $_getList (2 );
604
606
605
607
@$pb.TagNumber (4 )
606
- $core. List <EnumDescriptorProto > get enumType => $_getList (3 );
608
+ $pb. PbList <EnumDescriptorProto > get enumType => $_getList (3 );
607
609
608
610
@$pb.TagNumber (5 )
609
- $core. List <DescriptorProto_ExtensionRange > get extensionRange => $_getList (4 );
611
+ $pb. PbList <DescriptorProto_ExtensionRange > get extensionRange => $_getList (4 );
610
612
611
613
@$pb.TagNumber (6 )
612
- $core. List <FieldDescriptorProto > get extension => $_getList (5 );
614
+ $pb. PbList <FieldDescriptorProto > get extension => $_getList (5 );
613
615
614
616
@$pb.TagNumber (7 )
615
617
MessageOptions get options => $_getN (6 );
@@ -626,15 +628,15 @@ class DescriptorProto extends $pb.GeneratedMessage {
626
628
MessageOptions ensureOptions () => $_ensure (6 );
627
629
628
630
@$pb.TagNumber (8 )
629
- $core. List <OneofDescriptorProto > get oneofDecl => $_getList (7 );
631
+ $pb. PbList <OneofDescriptorProto > get oneofDecl => $_getList (7 );
630
632
631
633
@$pb.TagNumber (9 )
632
- $core. List <DescriptorProto_ReservedRange > get reservedRange => $_getList (8 );
634
+ $pb. PbList <DescriptorProto_ReservedRange > get reservedRange => $_getList (8 );
633
635
634
636
/// Reserved field names, which may not be used by fields in the same message.
635
637
/// A given name may only be reserved once.
636
638
@$pb.TagNumber (10 )
637
- $core. List <$core.String > get reservedName => $_getList (9 );
639
+ $pb. PbList <$core.String > get reservedName => $_getList (9 );
638
640
}
639
641
640
642
class ExtensionRangeOptions extends $pb.GeneratedMessage {
@@ -692,7 +694,7 @@ class ExtensionRangeOptions extends $pb.GeneratedMessage {
692
694
693
695
/// The parser stores options it doesn't recognize here. See above.
694
696
@$pb.TagNumber (999 )
695
- $core. List <UninterpretedOption > get uninterpretedOption => $_getList (0 );
697
+ $pb. PbList <UninterpretedOption > get uninterpretedOption => $_getList (0 );
696
698
}
697
699
698
700
/// Describes a field within a message.
@@ -1241,7 +1243,7 @@ class EnumDescriptorProto extends $pb.GeneratedMessage {
1241
1243
void clearName () => $_clearField (1 );
1242
1244
1243
1245
@$pb.TagNumber (2 )
1244
- $core. List <EnumValueDescriptorProto > get value => $_getList (1 );
1246
+ $pb. PbList <EnumValueDescriptorProto > get value => $_getList (1 );
1245
1247
1246
1248
@$pb.TagNumber (3 )
1247
1249
EnumOptions get options => $_getN (2 );
@@ -1261,13 +1263,13 @@ class EnumDescriptorProto extends $pb.GeneratedMessage {
1261
1263
/// by enum values in the same enum declaration. Reserved ranges may not
1262
1264
/// overlap.
1263
1265
@$pb.TagNumber (4 )
1264
- $core. List <EnumDescriptorProto_EnumReservedRange > get reservedRange =>
1266
+ $pb. PbList <EnumDescriptorProto_EnumReservedRange > get reservedRange =>
1265
1267
$_getList (3 );
1266
1268
1267
1269
/// Reserved enum value names, which may not be reused. A given name may only
1268
1270
/// be reserved once.
1269
1271
@$pb.TagNumber (5 )
1270
- $core. List <$core.String > get reservedName => $_getList (4 );
1272
+ $pb. PbList <$core.String > get reservedName => $_getList (4 );
1271
1273
}
1272
1274
1273
1275
/// Describes a value within an enum.
@@ -1448,7 +1450,7 @@ class ServiceDescriptorProto extends $pb.GeneratedMessage {
1448
1450
void clearName () => $_clearField (1 );
1449
1451
1450
1452
@$pb.TagNumber (2 )
1451
- $core. List <MethodDescriptorProto > get method => $_getList (1 );
1453
+ $pb. PbList <MethodDescriptorProto > get method => $_getList (1 );
1452
1454
1453
1455
@$pb.TagNumber (3 )
1454
1456
ServiceOptions get options => $_getN (2 );
@@ -2087,7 +2089,7 @@ class FileOptions extends $pb.GeneratedMessage {
2087
2089
/// The parser stores options it doesn't recognize here.
2088
2090
/// See the documentation for the "Options" section above.
2089
2091
@$pb.TagNumber (999 )
2090
- $core. List <UninterpretedOption > get uninterpretedOption => $_getList (20 );
2092
+ $pb. PbList <UninterpretedOption > get uninterpretedOption => $_getList (20 );
2091
2093
}
2092
2094
2093
2095
class MessageOptions extends $pb.GeneratedMessage {
@@ -2257,7 +2259,7 @@ class MessageOptions extends $pb.GeneratedMessage {
2257
2259
2258
2260
/// The parser stores options it doesn't recognize here. See above.
2259
2261
@$pb.TagNumber (999 )
2260
- $core. List <UninterpretedOption > get uninterpretedOption => $_getList (4 );
2262
+ $pb. PbList <UninterpretedOption > get uninterpretedOption => $_getList (4 );
2261
2263
}
2262
2264
2263
2265
class FieldOptions extends $pb.GeneratedMessage {
@@ -2476,7 +2478,7 @@ class FieldOptions extends $pb.GeneratedMessage {
2476
2478
2477
2479
/// The parser stores options it doesn't recognize here. See above.
2478
2480
@$pb.TagNumber (999 )
2479
- $core. List <UninterpretedOption > get uninterpretedOption => $_getList (6 );
2481
+ $pb. PbList <UninterpretedOption > get uninterpretedOption => $_getList (6 );
2480
2482
}
2481
2483
2482
2484
class OneofOptions extends $pb.GeneratedMessage {
@@ -2532,7 +2534,7 @@ class OneofOptions extends $pb.GeneratedMessage {
2532
2534
2533
2535
/// The parser stores options it doesn't recognize here. See above.
2534
2536
@$pb.TagNumber (999 )
2535
- $core. List <UninterpretedOption > get uninterpretedOption => $_getList (0 );
2537
+ $pb. PbList <UninterpretedOption > get uninterpretedOption => $_getList (0 );
2536
2538
}
2537
2539
2538
2540
class EnumOptions extends $pb.GeneratedMessage {
@@ -2627,7 +2629,7 @@ class EnumOptions extends $pb.GeneratedMessage {
2627
2629
2628
2630
/// The parser stores options it doesn't recognize here. See above.
2629
2631
@$pb.TagNumber (999 )
2630
- $core. List <UninterpretedOption > get uninterpretedOption => $_getList (2 );
2632
+ $pb. PbList <UninterpretedOption > get uninterpretedOption => $_getList (2 );
2631
2633
}
2632
2634
2633
2635
class EnumValueOptions extends $pb.GeneratedMessage {
@@ -2704,7 +2706,7 @@ class EnumValueOptions extends $pb.GeneratedMessage {
2704
2706
2705
2707
/// The parser stores options it doesn't recognize here. See above.
2706
2708
@$pb.TagNumber (999 )
2707
- $core. List <UninterpretedOption > get uninterpretedOption => $_getList (1 );
2709
+ $pb. PbList <UninterpretedOption > get uninterpretedOption => $_getList (1 );
2708
2710
}
2709
2711
2710
2712
class ServiceOptions extends $pb.GeneratedMessage {
@@ -2781,7 +2783,7 @@ class ServiceOptions extends $pb.GeneratedMessage {
2781
2783
2782
2784
/// The parser stores options it doesn't recognize here. See above.
2783
2785
@$pb.TagNumber (999 )
2784
- $core. List <UninterpretedOption > get uninterpretedOption => $_getList (1 );
2786
+ $pb. PbList <UninterpretedOption > get uninterpretedOption => $_getList (1 );
2785
2787
}
2786
2788
2787
2789
class MethodOptions extends $pb.GeneratedMessage {
@@ -2879,7 +2881,7 @@ class MethodOptions extends $pb.GeneratedMessage {
2879
2881
2880
2882
/// The parser stores options it doesn't recognize here. See above.
2881
2883
@$pb.TagNumber (999 )
2882
- $core. List <UninterpretedOption > get uninterpretedOption => $_getList (2 );
2884
+ $pb. PbList <UninterpretedOption > get uninterpretedOption => $_getList (2 );
2883
2885
}
2884
2886
2885
2887
/// The name of the uninterpreted option. Each string represents a segment in
@@ -3061,7 +3063,7 @@ class UninterpretedOption extends $pb.GeneratedMessage {
3061
3063
static UninterpretedOption ? _defaultInstance;
3062
3064
3063
3065
@$pb.TagNumber (2 )
3064
- $core. List <UninterpretedOption_NamePart > get name => $_getList (0 );
3066
+ $pb. PbList <UninterpretedOption_NamePart > get name => $_getList (0 );
3065
3067
3066
3068
/// The value of the uninterpreted option, in whatever type the tokenizer
3067
3069
/// identified it as during parsing. Exactly one of these should be set.
@@ -3233,15 +3235,15 @@ class SourceCodeInfo_Location extends $pb.GeneratedMessage {
3233
3235
/// this path refers to the whole field declaration (from the beginning
3234
3236
/// of the label to the terminating semicolon).
3235
3237
@$pb.TagNumber (1 )
3236
- $core. List <$core.int > get path => $_getList (0 );
3238
+ $pb. PbList <$core.int > get path => $_getList (0 );
3237
3239
3238
3240
/// Always has exactly three or four elements: start line, start column,
3239
3241
/// end line (optional, otherwise assumed same as start line), end column.
3240
3242
/// These are packed into a single field for efficiency. Note that line
3241
3243
/// and column numbers are zero-based -- typically you will want to add
3242
3244
/// 1 to each before displaying to a user.
3243
3245
@$pb.TagNumber (2 )
3244
- $core. List <$core.int > get span => $_getList (1 );
3246
+ $pb. PbList <$core.int > get span => $_getList (1 );
3245
3247
3246
3248
/// If this SourceCodeInfo represents a complete declaration, these are any
3247
3249
/// comments appearing before and after the declaration which appear to be
@@ -3315,7 +3317,7 @@ class SourceCodeInfo_Location extends $pb.GeneratedMessage {
3315
3317
void clearTrailingComments () => $_clearField (4 );
3316
3318
3317
3319
@$pb.TagNumber (6 )
3318
- $core. List <$core.String > get leadingDetachedComments => $_getList (4 );
3320
+ $pb. PbList <$core.String > get leadingDetachedComments => $_getList (4 );
3319
3321
}
3320
3322
3321
3323
/// Encapsulates information about the original source file from which a
@@ -3415,7 +3417,7 @@ class SourceCodeInfo extends $pb.GeneratedMessage {
3415
3417
/// ignore those that it doesn't understand, as more types of locations could
3416
3418
/// be recorded in the future.
3417
3419
@$pb.TagNumber (1 )
3418
- $core. List <SourceCodeInfo_Location > get location => $_getList (0 );
3420
+ $pb. PbList <SourceCodeInfo_Location > get location => $_getList (0 );
3419
3421
}
3420
3422
3421
3423
class GeneratedCodeInfo_Annotation extends $pb.GeneratedMessage {
@@ -3489,7 +3491,7 @@ class GeneratedCodeInfo_Annotation extends $pb.GeneratedMessage {
3489
3491
/// Identifies the element in the original source .proto file. This field
3490
3492
/// is formatted the same as SourceCodeInfo.Location.path.
3491
3493
@$pb.TagNumber (1 )
3492
- $core. List <$core.int > get path => $_getList (0 );
3494
+ $pb. PbList <$core.int > get path => $_getList (0 );
3493
3495
3494
3496
/// Identifies the filesystem path to the original source .proto.
3495
3497
@$pb.TagNumber (2 )
@@ -3591,7 +3593,7 @@ class GeneratedCodeInfo extends $pb.GeneratedMessage {
3591
3593
/// An Annotation connects some span of text in generated code to an element
3592
3594
/// of its generating .proto file.
3593
3595
@$pb.TagNumber (1 )
3594
- $core. List <GeneratedCodeInfo_Annotation > get annotation => $_getList (0 );
3596
+ $pb. PbList <GeneratedCodeInfo_Annotation > get annotation => $_getList (0 );
3595
3597
}
3596
3598
3597
3599
const _omitFieldNames = $core.bool .fromEnvironment ('protobuf.omit_field_names' );
0 commit comments