@@ -42,7 +42,7 @@ class FileDescriptorSet extends GeneratedMessage {
42
42
if (v is ! FileDescriptorSet ) checkItemFailed (v, 'FileDescriptorSet' );
43
43
}
44
44
45
- List <FileDescriptorProto > get file => $_getN (0 );
45
+ List <FileDescriptorProto > get file => $_getList (0 );
46
46
}
47
47
48
48
class _ReadonlyFileDescriptorSet extends FileDescriptorSet
@@ -109,15 +109,15 @@ class FileDescriptorProto extends GeneratedMessage {
109
109
bool hasPackage () => $_has (1 );
110
110
void clearPackage () => clearField (2 );
111
111
112
- List <String > get dependency => $_getN (2 );
112
+ List <String > get dependency => $_getList (2 );
113
113
114
- List <DescriptorProto > get messageType => $_getN (3 );
114
+ List <DescriptorProto > get messageType => $_getList (3 );
115
115
116
- List <EnumDescriptorProto > get enumType => $_getN (4 );
116
+ List <EnumDescriptorProto > get enumType => $_getList (4 );
117
117
118
- List <ServiceDescriptorProto > get service => $_getN (5 );
118
+ List <ServiceDescriptorProto > get service => $_getList (5 );
119
119
120
- List <FieldDescriptorProto > get extension => $_getN (6 );
120
+ List <FieldDescriptorProto > get extension => $_getList (6 );
121
121
122
122
FileOptions get options => $_getN (7 );
123
123
set options (FileOptions v) {
@@ -135,9 +135,9 @@ class FileDescriptorProto extends GeneratedMessage {
135
135
bool hasSourceCodeInfo () => $_has (8 );
136
136
void clearSourceCodeInfo () => clearField (9 );
137
137
138
- List <int > get publicDependency => $_getN (9 );
138
+ List <int > get publicDependency => $_getList (9 );
139
139
140
- List <int > get weakDependency => $_getN (10 );
140
+ List <int > get weakDependency => $_getList (10 );
141
141
142
142
String get syntax => $_getS (11 , '' );
143
143
set syntax (String v) {
@@ -316,15 +316,15 @@ class DescriptorProto extends GeneratedMessage {
316
316
bool hasName () => $_has (0 );
317
317
void clearName () => clearField (1 );
318
318
319
- List <FieldDescriptorProto > get field => $_getN (1 );
319
+ List <FieldDescriptorProto > get field => $_getList (1 );
320
320
321
- List <DescriptorProto > get nestedType => $_getN (2 );
321
+ List <DescriptorProto > get nestedType => $_getList (2 );
322
322
323
- List <EnumDescriptorProto > get enumType => $_getN (3 );
323
+ List <EnumDescriptorProto > get enumType => $_getList (3 );
324
324
325
- List <DescriptorProto_ExtensionRange > get extensionRange => $_getN (4 );
325
+ List <DescriptorProto_ExtensionRange > get extensionRange => $_getList (4 );
326
326
327
- List <FieldDescriptorProto > get extension => $_getN (5 );
327
+ List <FieldDescriptorProto > get extension => $_getList (5 );
328
328
329
329
MessageOptions get options => $_getN (6 );
330
330
set options (MessageOptions v) {
@@ -334,11 +334,11 @@ class DescriptorProto extends GeneratedMessage {
334
334
bool hasOptions () => $_has (6 );
335
335
void clearOptions () => clearField (7 );
336
336
337
- List <OneofDescriptorProto > get oneofDecl => $_getN (7 );
337
+ List <OneofDescriptorProto > get oneofDecl => $_getList (7 );
338
338
339
- List <DescriptorProto_ReservedRange > get reservedRange => $_getN (8 );
339
+ List <DescriptorProto_ReservedRange > get reservedRange => $_getList (8 );
340
340
341
- List <String > get reservedName => $_getN (9 );
341
+ List <String > get reservedName => $_getList (9 );
342
342
}
343
343
344
344
class _ReadonlyDescriptorProto extends DescriptorProto
@@ -568,7 +568,7 @@ class EnumDescriptorProto extends GeneratedMessage {
568
568
bool hasName () => $_has (0 );
569
569
void clearName () => clearField (1 );
570
570
571
- List <EnumValueDescriptorProto > get value => $_getN (1 );
571
+ List <EnumValueDescriptorProto > get value => $_getList (1 );
572
572
573
573
EnumOptions get options => $_getN (2 );
574
574
set options (EnumOptions v) {
@@ -683,7 +683,7 @@ class ServiceDescriptorProto extends GeneratedMessage {
683
683
bool hasName () => $_has (0 );
684
684
void clearName () => clearField (1 );
685
685
686
- List <MethodDescriptorProto > get method => $_getN (1 );
686
+ List <MethodDescriptorProto > get method => $_getList (1 );
687
687
688
688
ServiceOptions get options => $_getN (2 );
689
689
set options (ServiceOptions v) {
@@ -970,7 +970,7 @@ class FileOptions extends GeneratedMessage {
970
970
bool hasPhpNamespace () => $_has (16 );
971
971
void clearPhpNamespace () => clearField (41 );
972
972
973
- List <UninterpretedOption > get uninterpretedOption => $_getN (17 );
973
+ List <UninterpretedOption > get uninterpretedOption => $_getList (17 );
974
974
}
975
975
976
976
class _ReadonlyFileOptions extends FileOptions with ReadonlyMessageMixin {}
@@ -1040,7 +1040,7 @@ class MessageOptions extends GeneratedMessage {
1040
1040
bool hasMapEntry () => $_has (3 );
1041
1041
void clearMapEntry () => clearField (7 );
1042
1042
1043
- List <UninterpretedOption > get uninterpretedOption => $_getN (4 );
1043
+ List <UninterpretedOption > get uninterpretedOption => $_getList (4 );
1044
1044
}
1045
1045
1046
1046
class _ReadonlyMessageOptions extends MessageOptions with ReadonlyMessageMixin {
@@ -1140,7 +1140,7 @@ class FieldOptions extends GeneratedMessage {
1140
1140
bool hasWeak () => $_has (5 );
1141
1141
void clearWeak () => clearField (10 );
1142
1142
1143
- List <UninterpretedOption > get uninterpretedOption => $_getN (6 );
1143
+ List <UninterpretedOption > get uninterpretedOption => $_getList (6 );
1144
1144
}
1145
1145
1146
1146
class _ReadonlyFieldOptions extends FieldOptions with ReadonlyMessageMixin {}
@@ -1173,7 +1173,7 @@ class OneofOptions extends GeneratedMessage {
1173
1173
if (v is ! OneofOptions ) checkItemFailed (v, 'OneofOptions' );
1174
1174
}
1175
1175
1176
- List <UninterpretedOption > get uninterpretedOption => $_getN (0 );
1176
+ List <UninterpretedOption > get uninterpretedOption => $_getList (0 );
1177
1177
}
1178
1178
1179
1179
class _ReadonlyOneofOptions extends OneofOptions with ReadonlyMessageMixin {}
@@ -1223,7 +1223,7 @@ class EnumOptions extends GeneratedMessage {
1223
1223
bool hasDeprecated () => $_has (1 );
1224
1224
void clearDeprecated () => clearField (3 );
1225
1225
1226
- List <UninterpretedOption > get uninterpretedOption => $_getN (2 );
1226
+ List <UninterpretedOption > get uninterpretedOption => $_getList (2 );
1227
1227
}
1228
1228
1229
1229
class _ReadonlyEnumOptions extends EnumOptions with ReadonlyMessageMixin {}
@@ -1266,7 +1266,7 @@ class EnumValueOptions extends GeneratedMessage {
1266
1266
bool hasDeprecated () => $_has (0 );
1267
1267
void clearDeprecated () => clearField (1 );
1268
1268
1269
- List <UninterpretedOption > get uninterpretedOption => $_getN (1 );
1269
+ List <UninterpretedOption > get uninterpretedOption => $_getList (1 );
1270
1270
}
1271
1271
1272
1272
class _ReadonlyEnumValueOptions extends EnumValueOptions
@@ -1310,7 +1310,7 @@ class ServiceOptions extends GeneratedMessage {
1310
1310
bool hasDeprecated () => $_has (0 );
1311
1311
void clearDeprecated () => clearField (33 );
1312
1312
1313
- List <UninterpretedOption > get uninterpretedOption => $_getN (1 );
1313
+ List <UninterpretedOption > get uninterpretedOption => $_getList (1 );
1314
1314
}
1315
1315
1316
1316
class _ReadonlyServiceOptions extends ServiceOptions with ReadonlyMessageMixin {
@@ -1368,7 +1368,7 @@ class MethodOptions extends GeneratedMessage {
1368
1368
bool hasIdempotencyLevel () => $_has (1 );
1369
1369
void clearIdempotencyLevel () => clearField (34 );
1370
1370
1371
- List <UninterpretedOption > get uninterpretedOption => $_getN (2 );
1371
+ List <UninterpretedOption > get uninterpretedOption => $_getList (2 );
1372
1372
}
1373
1373
1374
1374
class _ReadonlyMethodOptions extends MethodOptions with ReadonlyMessageMixin {}
@@ -1463,7 +1463,7 @@ class UninterpretedOption extends GeneratedMessage {
1463
1463
if (v is ! UninterpretedOption ) checkItemFailed (v, 'UninterpretedOption' );
1464
1464
}
1465
1465
1466
- List <UninterpretedOption_NamePart > get name => $_getN (0 );
1466
+ List <UninterpretedOption_NamePart > get name => $_getList (0 );
1467
1467
1468
1468
String get identifierValue => $_getS (1 , '' );
1469
1469
set identifierValue (String v) {
@@ -1551,9 +1551,9 @@ class SourceCodeInfo_Location extends GeneratedMessage {
1551
1551
checkItemFailed (v, 'SourceCodeInfo_Location' );
1552
1552
}
1553
1553
1554
- List <int > get path => $_getN (0 );
1554
+ List <int > get path => $_getList (0 );
1555
1555
1556
- List <int > get span => $_getN (1 );
1556
+ List <int > get span => $_getList (1 );
1557
1557
1558
1558
String get leadingComments => $_getS (2 , '' );
1559
1559
set leadingComments (String v) {
@@ -1571,7 +1571,7 @@ class SourceCodeInfo_Location extends GeneratedMessage {
1571
1571
bool hasTrailingComments () => $_has (3 );
1572
1572
void clearTrailingComments () => clearField (4 );
1573
1573
1574
- List <String > get leadingDetachedComments => $_getN (4 );
1574
+ List <String > get leadingDetachedComments => $_getList (4 );
1575
1575
}
1576
1576
1577
1577
class _ReadonlySourceCodeInfo_Location extends SourceCodeInfo_Location
@@ -1606,7 +1606,7 @@ class SourceCodeInfo extends GeneratedMessage {
1606
1606
if (v is ! SourceCodeInfo ) checkItemFailed (v, 'SourceCodeInfo' );
1607
1607
}
1608
1608
1609
- List <SourceCodeInfo_Location > get location => $_getN (0 );
1609
+ List <SourceCodeInfo_Location > get location => $_getList (0 );
1610
1610
}
1611
1611
1612
1612
class _ReadonlySourceCodeInfo extends SourceCodeInfo with ReadonlyMessageMixin {
@@ -1646,7 +1646,7 @@ class GeneratedCodeInfo_Annotation extends GeneratedMessage {
1646
1646
checkItemFailed (v, 'GeneratedCodeInfo_Annotation' );
1647
1647
}
1648
1648
1649
- List <int > get path => $_getN (0 );
1649
+ List <int > get path => $_getList (0 );
1650
1650
1651
1651
String get sourceFile => $_getS (1 , '' );
1652
1652
set sourceFile (String v) {
@@ -1709,7 +1709,7 @@ class GeneratedCodeInfo extends GeneratedMessage {
1709
1709
if (v is ! GeneratedCodeInfo ) checkItemFailed (v, 'GeneratedCodeInfo' );
1710
1710
}
1711
1711
1712
- List <GeneratedCodeInfo_Annotation > get annotation => $_getN (0 );
1712
+ List <GeneratedCodeInfo_Annotation > get annotation => $_getList (0 );
1713
1713
}
1714
1714
1715
1715
class _ReadonlyGeneratedCodeInfo extends GeneratedCodeInfo
0 commit comments