Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(383)

Side by Side Diff: lib/src/descriptor.pb.dart

Issue 2103743002: Rename mixin protos and add a check for undefined mixin name (Closed) Base URL: git@github.com:dart-lang/dart-protoc-plugin.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /// 1 ///
2 // Generated code. Do not modify. 2 // Generated code. Do not modify.
3 /// 3 ///
4 library proto2_descriptor; 4 library proto2_descriptor;
5 5
6 import 'package:fixnum/fixnum.dart'; 6 import 'package:fixnum/fixnum.dart';
7 import 'package:protobuf/protobuf.dart'; 7 import 'package:protobuf/protobuf.dart';
8 8
9 import 'descriptor.pbenum.dart';
10
11 export 'descriptor.pbenum.dart';
12
9 class FileDescriptorSet extends GeneratedMessage { 13 class FileDescriptorSet extends GeneratedMessage {
10 static final BuilderInfo _i = new BuilderInfo('FileDescriptorSet') 14 static final BuilderInfo _i = new BuilderInfo('FileDescriptorSet')
11 ..pp/*<FileDescriptorProto>*/(1, 'file', PbFieldType.PM, FileDescriptorProto .$checkItem, FileDescriptorProto.create) 15 ..pp/*<FileDescriptorProto>*/(1, 'file', PbFieldType.PM, FileDescriptorProto .$checkItem, FileDescriptorProto.create)
12 ; 16 ;
13 17
14 FileDescriptorSet() : super(); 18 FileDescriptorSet() : super();
15 FileDescriptorSet.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegi stry.EMPTY]) : super.fromBuffer(i, r); 19 FileDescriptorSet.fromBuffer(List<int> i, [ExtensionRegistry r = ExtensionRegi stry.EMPTY]) : super.fromBuffer(i, r);
16 FileDescriptorSet.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry. EMPTY]) : super.fromJson(i, r); 20 FileDescriptorSet.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry. EMPTY]) : super.fromJson(i, r);
17 FileDescriptorSet clone() => new FileDescriptorSet()..mergeFromMessage(this); 21 FileDescriptorSet clone() => new FileDescriptorSet()..mergeFromMessage(this);
18 BuilderInfo get info_ => _i; 22 BuilderInfo get info_ => _i;
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 List<FieldDescriptorProto> get extension => $_get(5, 6, null); 183 List<FieldDescriptorProto> get extension => $_get(5, 6, null);
180 184
181 MessageOptions get options => $_get(6, 7, null); 185 MessageOptions get options => $_get(6, 7, null);
182 void set options(MessageOptions v) { setField(7, v); } 186 void set options(MessageOptions v) { setField(7, v); }
183 bool hasOptions() => $_has(6, 7); 187 bool hasOptions() => $_has(6, 7);
184 void clearOptions() => clearField(7); 188 void clearOptions() => clearField(7);
185 } 189 }
186 190
187 class _ReadonlyDescriptorProto extends DescriptorProto with ReadonlyMessageMixin {} 191 class _ReadonlyDescriptorProto extends DescriptorProto with ReadonlyMessageMixin {}
188 192
189 class FieldDescriptorProto_Type extends ProtobufEnum {
190 static const FieldDescriptorProto_Type TYPE_DOUBLE = const FieldDescriptorProt o_Type._(1, 'TYPE_DOUBLE');
191 static const FieldDescriptorProto_Type TYPE_FLOAT = const FieldDescriptorProto _Type._(2, 'TYPE_FLOAT');
192 static const FieldDescriptorProto_Type TYPE_INT64 = const FieldDescriptorProto _Type._(3, 'TYPE_INT64');
193 static const FieldDescriptorProto_Type TYPE_UINT64 = const FieldDescriptorProt o_Type._(4, 'TYPE_UINT64');
194 static const FieldDescriptorProto_Type TYPE_INT32 = const FieldDescriptorProto _Type._(5, 'TYPE_INT32');
195 static const FieldDescriptorProto_Type TYPE_FIXED64 = const FieldDescriptorPro to_Type._(6, 'TYPE_FIXED64');
196 static const FieldDescriptorProto_Type TYPE_FIXED32 = const FieldDescriptorPro to_Type._(7, 'TYPE_FIXED32');
197 static const FieldDescriptorProto_Type TYPE_BOOL = const FieldDescriptorProto_ Type._(8, 'TYPE_BOOL');
198 static const FieldDescriptorProto_Type TYPE_STRING = const FieldDescriptorProt o_Type._(9, 'TYPE_STRING');
199 static const FieldDescriptorProto_Type TYPE_GROUP = const FieldDescriptorProto _Type._(10, 'TYPE_GROUP');
200 static const FieldDescriptorProto_Type TYPE_MESSAGE = const FieldDescriptorPro to_Type._(11, 'TYPE_MESSAGE');
201 static const FieldDescriptorProto_Type TYPE_BYTES = const FieldDescriptorProto _Type._(12, 'TYPE_BYTES');
202 static const FieldDescriptorProto_Type TYPE_UINT32 = const FieldDescriptorProt o_Type._(13, 'TYPE_UINT32');
203 static const FieldDescriptorProto_Type TYPE_ENUM = const FieldDescriptorProto_ Type._(14, 'TYPE_ENUM');
204 static const FieldDescriptorProto_Type TYPE_SFIXED32 = const FieldDescriptorPr oto_Type._(15, 'TYPE_SFIXED32');
205 static const FieldDescriptorProto_Type TYPE_SFIXED64 = const FieldDescriptorPr oto_Type._(16, 'TYPE_SFIXED64');
206 static const FieldDescriptorProto_Type TYPE_SINT32 = const FieldDescriptorProt o_Type._(17, 'TYPE_SINT32');
207 static const FieldDescriptorProto_Type TYPE_SINT64 = const FieldDescriptorProt o_Type._(18, 'TYPE_SINT64');
208
209 static const List<FieldDescriptorProto_Type> values = const <FieldDescriptorPr oto_Type> [
210 TYPE_DOUBLE,
211 TYPE_FLOAT,
212 TYPE_INT64,
213 TYPE_UINT64,
214 TYPE_INT32,
215 TYPE_FIXED64,
216 TYPE_FIXED32,
217 TYPE_BOOL,
218 TYPE_STRING,
219 TYPE_GROUP,
220 TYPE_MESSAGE,
221 TYPE_BYTES,
222 TYPE_UINT32,
223 TYPE_ENUM,
224 TYPE_SFIXED32,
225 TYPE_SFIXED64,
226 TYPE_SINT32,
227 TYPE_SINT64,
228 ];
229
230 static final Map<int, dynamic> _byValue = ProtobufEnum.initByValue(values);
231 static FieldDescriptorProto_Type valueOf(int value) => _byValue[value] as Fiel dDescriptorProto_Type;
232 static void $checkItem(FieldDescriptorProto_Type v) {
233 if (v is !FieldDescriptorProto_Type) checkItemFailed(v, 'FieldDescriptorProt o_Type');
234 }
235
236 const FieldDescriptorProto_Type._(int v, String n) : super(v, n);
237 }
238
239 class FieldDescriptorProto_Label extends ProtobufEnum {
240 static const FieldDescriptorProto_Label LABEL_OPTIONAL = const FieldDescriptor Proto_Label._(1, 'LABEL_OPTIONAL');
241 static const FieldDescriptorProto_Label LABEL_REQUIRED = const FieldDescriptor Proto_Label._(2, 'LABEL_REQUIRED');
242 static const FieldDescriptorProto_Label LABEL_REPEATED = const FieldDescriptor Proto_Label._(3, 'LABEL_REPEATED');
243
244 static const List<FieldDescriptorProto_Label> values = const <FieldDescriptorP roto_Label> [
245 LABEL_OPTIONAL,
246 LABEL_REQUIRED,
247 LABEL_REPEATED,
248 ];
249
250 static final Map<int, dynamic> _byValue = ProtobufEnum.initByValue(values);
251 static FieldDescriptorProto_Label valueOf(int value) => _byValue[value] as Fie ldDescriptorProto_Label;
252 static void $checkItem(FieldDescriptorProto_Label v) {
253 if (v is !FieldDescriptorProto_Label) checkItemFailed(v, 'FieldDescriptorPro to_Label');
254 }
255
256 const FieldDescriptorProto_Label._(int v, String n) : super(v, n);
257 }
258
259 class FieldDescriptorProto extends GeneratedMessage { 193 class FieldDescriptorProto extends GeneratedMessage {
260 static final BuilderInfo _i = new BuilderInfo('FieldDescriptorProto') 194 static final BuilderInfo _i = new BuilderInfo('FieldDescriptorProto')
261 ..a/*<String>*/(1, 'name', PbFieldType.OS) 195 ..a/*<String>*/(1, 'name', PbFieldType.OS)
262 ..a/*<String>*/(2, 'extendee', PbFieldType.OS) 196 ..a/*<String>*/(2, 'extendee', PbFieldType.OS)
263 ..a/*<int>*/(3, 'number', PbFieldType.O3) 197 ..a/*<int>*/(3, 'number', PbFieldType.O3)
264 ..e/*<FieldDescriptorProto_Label>*/(4, 'label', PbFieldType.OE, FieldDescrip torProto_Label.LABEL_OPTIONAL, FieldDescriptorProto_Label.valueOf) 198 ..e/*<FieldDescriptorProto_Label>*/(4, 'label', PbFieldType.OE, FieldDescrip torProto_Label.LABEL_OPTIONAL, FieldDescriptorProto_Label.valueOf)
265 ..e/*<FieldDescriptorProto_Type>*/(5, 'type', PbFieldType.OE, FieldDescripto rProto_Type.TYPE_DOUBLE, FieldDescriptorProto_Type.valueOf) 199 ..e/*<FieldDescriptorProto_Type>*/(5, 'type', PbFieldType.OE, FieldDescripto rProto_Type.TYPE_DOUBLE, FieldDescriptorProto_Type.valueOf)
266 ..a/*<String>*/(6, 'typeName', PbFieldType.OS) 200 ..a/*<String>*/(6, 'typeName', PbFieldType.OS)
267 ..a/*<String>*/(7, 'defaultValue', PbFieldType.OS) 201 ..a/*<String>*/(7, 'defaultValue', PbFieldType.OS)
268 ..a/*<FieldOptions>*/(8, 'options', PbFieldType.OM, FieldOptions.getDefault, FieldOptions.create) 202 ..a/*<FieldOptions>*/(8, 'options', PbFieldType.OM, FieldOptions.getDefault, FieldOptions.create)
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
534 void clearServerMessageType() => clearField(3); 468 void clearServerMessageType() => clearField(3);
535 469
536 StreamOptions get options => $_get(3, 4, null); 470 StreamOptions get options => $_get(3, 4, null);
537 void set options(StreamOptions v) { setField(4, v); } 471 void set options(StreamOptions v) { setField(4, v); }
538 bool hasOptions() => $_has(3, 4); 472 bool hasOptions() => $_has(3, 4);
539 void clearOptions() => clearField(4); 473 void clearOptions() => clearField(4);
540 } 474 }
541 475
542 class _ReadonlyStreamDescriptorProto extends StreamDescriptorProto with Readonly MessageMixin {} 476 class _ReadonlyStreamDescriptorProto extends StreamDescriptorProto with Readonly MessageMixin {}
543 477
544 class FileOptions_OptimizeMode extends ProtobufEnum {
545 static const FileOptions_OptimizeMode SPEED = const FileOptions_OptimizeMode._ (1, 'SPEED');
546 static const FileOptions_OptimizeMode CODE_SIZE = const FileOptions_OptimizeMo de._(2, 'CODE_SIZE');
547 static const FileOptions_OptimizeMode LITE_RUNTIME = const FileOptions_Optimiz eMode._(3, 'LITE_RUNTIME');
548
549 static const List<FileOptions_OptimizeMode> values = const <FileOptions_Optimi zeMode> [
550 SPEED,
551 CODE_SIZE,
552 LITE_RUNTIME,
553 ];
554
555 static final Map<int, dynamic> _byValue = ProtobufEnum.initByValue(values);
556 static FileOptions_OptimizeMode valueOf(int value) => _byValue[value] as FileO ptions_OptimizeMode;
557 static void $checkItem(FileOptions_OptimizeMode v) {
558 if (v is !FileOptions_OptimizeMode) checkItemFailed(v, 'FileOptions_Optimize Mode');
559 }
560
561 const FileOptions_OptimizeMode._(int v, String n) : super(v, n);
562 }
563
564 class FileOptions extends GeneratedMessage { 478 class FileOptions extends GeneratedMessage {
565 static final BuilderInfo _i = new BuilderInfo('FileOptions') 479 static final BuilderInfo _i = new BuilderInfo('FileOptions')
566 ..a/*<String>*/(1, 'javaPackage', PbFieldType.OS) 480 ..a/*<String>*/(1, 'javaPackage', PbFieldType.OS)
567 ..a/*<String>*/(8, 'javaOuterClassname', PbFieldType.OS) 481 ..a/*<String>*/(8, 'javaOuterClassname', PbFieldType.OS)
568 ..e/*<FileOptions_OptimizeMode>*/(9, 'optimizeFor', PbFieldType.OE, FileOpti ons_OptimizeMode.SPEED, FileOptions_OptimizeMode.valueOf) 482 ..e/*<FileOptions_OptimizeMode>*/(9, 'optimizeFor', PbFieldType.OE, FileOpti ons_OptimizeMode.SPEED, FileOptions_OptimizeMode.valueOf)
569 ..a/*<bool>*/(10, 'javaMultipleFiles', PbFieldType.OB) 483 ..a/*<bool>*/(10, 'javaMultipleFiles', PbFieldType.OB)
570 ..a/*<bool>*/(16, 'ccGenericServices', PbFieldType.OB) 484 ..a/*<bool>*/(16, 'ccGenericServices', PbFieldType.OB)
571 ..a/*<bool>*/(17, 'javaGenericServices', PbFieldType.OB) 485 ..a/*<bool>*/(17, 'javaGenericServices', PbFieldType.OB)
572 ..a/*<bool>*/(18, 'pyGenericServices', PbFieldType.OB) 486 ..a/*<bool>*/(18, 'pyGenericServices', PbFieldType.OB)
573 ..a/*<bool>*/(20, 'javaGenerateEqualsAndHash', PbFieldType.OB) 487 ..a/*<bool>*/(20, 'javaGenerateEqualsAndHash', PbFieldType.OB)
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
668 bool get noStandardDescriptorAccessor => $_get(1, 2, false); 582 bool get noStandardDescriptorAccessor => $_get(1, 2, false);
669 void set noStandardDescriptorAccessor(bool v) { $_setBool(1, 2, v); } 583 void set noStandardDescriptorAccessor(bool v) { $_setBool(1, 2, v); }
670 bool hasNoStandardDescriptorAccessor() => $_has(1, 2); 584 bool hasNoStandardDescriptorAccessor() => $_has(1, 2);
671 void clearNoStandardDescriptorAccessor() => clearField(2); 585 void clearNoStandardDescriptorAccessor() => clearField(2);
672 586
673 List<UninterpretedOption> get uninterpretedOption => $_get(2, 999, null); 587 List<UninterpretedOption> get uninterpretedOption => $_get(2, 999, null);
674 } 588 }
675 589
676 class _ReadonlyMessageOptions extends MessageOptions with ReadonlyMessageMixin { } 590 class _ReadonlyMessageOptions extends MessageOptions with ReadonlyMessageMixin { }
677 591
678 class FieldOptions_CType extends ProtobufEnum {
679 static const FieldOptions_CType STRING = const FieldOptions_CType._(0, 'STRING ');
680
681 static const List<FieldOptions_CType> values = const <FieldOptions_CType> [
682 STRING,
683 ];
684
685 static final Map<int, dynamic> _byValue = ProtobufEnum.initByValue(values);
686 static FieldOptions_CType valueOf(int value) => _byValue[value] as FieldOption s_CType;
687 static void $checkItem(FieldOptions_CType v) {
688 if (v is !FieldOptions_CType) checkItemFailed(v, 'FieldOptions_CType');
689 }
690
691 const FieldOptions_CType._(int v, String n) : super(v, n);
692 }
693
694 class FieldOptions extends GeneratedMessage { 592 class FieldOptions extends GeneratedMessage {
695 static final BuilderInfo _i = new BuilderInfo('FieldOptions') 593 static final BuilderInfo _i = new BuilderInfo('FieldOptions')
696 ..e/*<FieldOptions_CType>*/(1, 'ctype', PbFieldType.OE, FieldOptions_CType.S TRING, FieldOptions_CType.valueOf) 594 ..e/*<FieldOptions_CType>*/(1, 'ctype', PbFieldType.OE, FieldOptions_CType.S TRING, FieldOptions_CType.valueOf)
697 ..a/*<bool>*/(2, 'packed', PbFieldType.OB) 595 ..a/*<bool>*/(2, 'packed', PbFieldType.OB)
698 ..a/*<bool>*/(3, 'deprecated', PbFieldType.OB) 596 ..a/*<bool>*/(3, 'deprecated', PbFieldType.OB)
699 ..a/*<bool>*/(5, 'lazy', PbFieldType.OB) 597 ..a/*<bool>*/(5, 'lazy', PbFieldType.OB)
700 ..a/*<String>*/(9, 'experimentalMapKey', PbFieldType.OS) 598 ..a/*<String>*/(9, 'experimentalMapKey', PbFieldType.OS)
701 ..pp/*<UninterpretedOption>*/(999, 'uninterpretedOption', PbFieldType.PM, Un interpretedOption.$checkItem, UninterpretedOption.create) 599 ..pp/*<UninterpretedOption>*/(999, 'uninterpretedOption', PbFieldType.PM, Un interpretedOption.$checkItem, UninterpretedOption.create)
702 ..hasExtensions = true 600 ..hasExtensions = true
703 ; 601 ;
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
1036 static SourceCodeInfo _defaultInstance; 934 static SourceCodeInfo _defaultInstance;
1037 static void $checkItem(SourceCodeInfo v) { 935 static void $checkItem(SourceCodeInfo v) {
1038 if (v is !SourceCodeInfo) checkItemFailed(v, 'SourceCodeInfo'); 936 if (v is !SourceCodeInfo) checkItemFailed(v, 'SourceCodeInfo');
1039 } 937 }
1040 938
1041 List<SourceCodeInfo_Location> get location => $_get(0, 1, null); 939 List<SourceCodeInfo_Location> get location => $_get(0, 1, null);
1042 } 940 }
1043 941
1044 class _ReadonlySourceCodeInfo extends SourceCodeInfo with ReadonlyMessageMixin { } 942 class _ReadonlySourceCodeInfo extends SourceCodeInfo with ReadonlyMessageMixin { }
1045 943
1046 const FileDescriptorSet$json = const {
1047 '1': 'FileDescriptorSet',
1048 '2': const [
1049 const {'1': 'file', '3': 1, '4': 3, '5': 11, '6': '.proto2.FileDescriptorPro to'},
1050 ],
1051 };
1052
1053 const FileDescriptorProto$json = const {
1054 '1': 'FileDescriptorProto',
1055 '2': const [
1056 const {'1': 'name', '3': 1, '4': 1, '5': 9},
1057 const {'1': 'package', '3': 2, '4': 1, '5': 9},
1058 const {'1': 'dependency', '3': 3, '4': 3, '5': 9},
1059 const {'1': 'public_dependency', '3': 10, '4': 3, '5': 5},
1060 const {'1': 'weak_dependency', '3': 11, '4': 3, '5': 5},
1061 const {'1': 'message_type', '3': 4, '4': 3, '5': 11, '6': '.proto2.Descripto rProto'},
1062 const {'1': 'enum_type', '3': 5, '4': 3, '5': 11, '6': '.proto2.EnumDescript orProto'},
1063 const {'1': 'service', '3': 6, '4': 3, '5': 11, '6': '.proto2.ServiceDescrip torProto'},
1064 const {'1': 'extension', '3': 7, '4': 3, '5': 11, '6': '.proto2.FieldDescrip torProto'},
1065 const {'1': 'options', '3': 8, '4': 1, '5': 11, '6': '.proto2.FileOptions'},
1066 const {'1': 'source_code_info', '3': 9, '4': 1, '5': 11, '6': '.proto2.Sourc eCodeInfo'},
1067 ],
1068 };
1069
1070 const DescriptorProto$json = const {
1071 '1': 'DescriptorProto',
1072 '2': const [
1073 const {'1': 'name', '3': 1, '4': 1, '5': 9},
1074 const {'1': 'field', '3': 2, '4': 3, '5': 11, '6': '.proto2.FieldDescriptorP roto'},
1075 const {'1': 'extension', '3': 6, '4': 3, '5': 11, '6': '.proto2.FieldDescrip torProto'},
1076 const {'1': 'nested_type', '3': 3, '4': 3, '5': 11, '6': '.proto2.Descriptor Proto'},
1077 const {'1': 'enum_type', '3': 4, '4': 3, '5': 11, '6': '.proto2.EnumDescript orProto'},
1078 const {'1': 'extension_range', '3': 5, '4': 3, '5': 11, '6': '.proto2.Descri ptorProto.ExtensionRange'},
1079 const {'1': 'options', '3': 7, '4': 1, '5': 11, '6': '.proto2.MessageOptions '},
1080 ],
1081 '3': const [DescriptorProto_ExtensionRange$json],
1082 };
1083
1084 const DescriptorProto_ExtensionRange$json = const {
1085 '1': 'ExtensionRange',
1086 '2': const [
1087 const {'1': 'start', '3': 1, '4': 1, '5': 5},
1088 const {'1': 'end', '3': 2, '4': 1, '5': 5},
1089 ],
1090 };
1091
1092 const FieldDescriptorProto$json = const {
1093 '1': 'FieldDescriptorProto',
1094 '2': const [
1095 const {'1': 'name', '3': 1, '4': 1, '5': 9},
1096 const {'1': 'number', '3': 3, '4': 1, '5': 5},
1097 const {'1': 'label', '3': 4, '4': 1, '5': 14, '6': '.proto2.FieldDescriptorP roto.Label'},
1098 const {'1': 'type', '3': 5, '4': 1, '5': 14, '6': '.proto2.FieldDescriptorPr oto.Type'},
1099 const {'1': 'type_name', '3': 6, '4': 1, '5': 9},
1100 const {'1': 'extendee', '3': 2, '4': 1, '5': 9},
1101 const {'1': 'default_value', '3': 7, '4': 1, '5': 9},
1102 const {'1': 'options', '3': 8, '4': 1, '5': 11, '6': '.proto2.FieldOptions'} ,
1103 ],
1104 '4': const [FieldDescriptorProto_Type$json, FieldDescriptorProto_Label$json],
1105 };
1106
1107 const FieldDescriptorProto_Type$json = const {
1108 '1': 'Type',
1109 '2': const [
1110 const {'1': 'TYPE_DOUBLE', '2': 1},
1111 const {'1': 'TYPE_FLOAT', '2': 2},
1112 const {'1': 'TYPE_INT64', '2': 3},
1113 const {'1': 'TYPE_UINT64', '2': 4},
1114 const {'1': 'TYPE_INT32', '2': 5},
1115 const {'1': 'TYPE_FIXED64', '2': 6},
1116 const {'1': 'TYPE_FIXED32', '2': 7},
1117 const {'1': 'TYPE_BOOL', '2': 8},
1118 const {'1': 'TYPE_STRING', '2': 9},
1119 const {'1': 'TYPE_GROUP', '2': 10},
1120 const {'1': 'TYPE_MESSAGE', '2': 11},
1121 const {'1': 'TYPE_BYTES', '2': 12},
1122 const {'1': 'TYPE_UINT32', '2': 13},
1123 const {'1': 'TYPE_ENUM', '2': 14},
1124 const {'1': 'TYPE_SFIXED32', '2': 15},
1125 const {'1': 'TYPE_SFIXED64', '2': 16},
1126 const {'1': 'TYPE_SINT32', '2': 17},
1127 const {'1': 'TYPE_SINT64', '2': 18},
1128 ],
1129 };
1130
1131 const FieldDescriptorProto_Label$json = const {
1132 '1': 'Label',
1133 '2': const [
1134 const {'1': 'LABEL_OPTIONAL', '2': 1},
1135 const {'1': 'LABEL_REQUIRED', '2': 2},
1136 const {'1': 'LABEL_REPEATED', '2': 3},
1137 ],
1138 };
1139
1140 const EnumDescriptorProto$json = const {
1141 '1': 'EnumDescriptorProto',
1142 '2': const [
1143 const {'1': 'name', '3': 1, '4': 1, '5': 9},
1144 const {'1': 'value', '3': 2, '4': 3, '5': 11, '6': '.proto2.EnumValueDescrip torProto'},
1145 const {'1': 'options', '3': 3, '4': 1, '5': 11, '6': '.proto2.EnumOptions'},
1146 ],
1147 };
1148
1149 const EnumValueDescriptorProto$json = const {
1150 '1': 'EnumValueDescriptorProto',
1151 '2': const [
1152 const {'1': 'name', '3': 1, '4': 1, '5': 9},
1153 const {'1': 'number', '3': 2, '4': 1, '5': 5},
1154 const {'1': 'options', '3': 3, '4': 1, '5': 11, '6': '.proto2.EnumValueOptio ns'},
1155 ],
1156 };
1157
1158 const ServiceDescriptorProto$json = const {
1159 '1': 'ServiceDescriptorProto',
1160 '2': const [
1161 const {'1': 'name', '3': 1, '4': 1, '5': 9},
1162 const {'1': 'method', '3': 2, '4': 3, '5': 11, '6': '.proto2.MethodDescripto rProto'},
1163 const {'1': 'stream', '3': 4, '4': 3, '5': 11, '6': '.proto2.StreamDescripto rProto'},
1164 const {'1': 'options', '3': 3, '4': 1, '5': 11, '6': '.proto2.ServiceOptions '},
1165 ],
1166 };
1167
1168 const MethodDescriptorProto$json = const {
1169 '1': 'MethodDescriptorProto',
1170 '2': const [
1171 const {'1': 'name', '3': 1, '4': 1, '5': 9},
1172 const {'1': 'input_type', '3': 2, '4': 1, '5': 9},
1173 const {'1': 'output_type', '3': 3, '4': 1, '5': 9},
1174 const {'1': 'options', '3': 4, '4': 1, '5': 11, '6': '.proto2.MethodOptions' },
1175 ],
1176 };
1177
1178 const StreamDescriptorProto$json = const {
1179 '1': 'StreamDescriptorProto',
1180 '2': const [
1181 const {'1': 'name', '3': 1, '4': 1, '5': 9},
1182 const {'1': 'client_message_type', '3': 2, '4': 1, '5': 9},
1183 const {'1': 'server_message_type', '3': 3, '4': 1, '5': 9},
1184 const {'1': 'options', '3': 4, '4': 1, '5': 11, '6': '.proto2.StreamOptions' },
1185 ],
1186 };
1187
1188 const FileOptions$json = const {
1189 '1': 'FileOptions',
1190 '2': const [
1191 const {'1': 'java_package', '3': 1, '4': 1, '5': 9},
1192 const {'1': 'java_outer_classname', '3': 8, '4': 1, '5': 9},
1193 const {'1': 'java_multiple_files', '3': 10, '4': 1, '5': 8, '7': 'false'},
1194 const {'1': 'java_generate_equals_and_hash', '3': 20, '4': 1, '5': 8, '7': ' false'},
1195 const {'1': 'optimize_for', '3': 9, '4': 1, '5': 14, '6': '.proto2.FileOptio ns.OptimizeMode', '7': 'SPEED'},
1196 const {'1': 'cc_generic_services', '3': 16, '4': 1, '5': 8, '7': 'false'},
1197 const {'1': 'java_generic_services', '3': 17, '4': 1, '5': 8, '7': 'false'},
1198 const {'1': 'py_generic_services', '3': 18, '4': 1, '5': 8, '7': 'false'},
1199 const {'1': 'uninterpreted_option', '3': 999, '4': 3, '5': 11, '6': '.proto2 .UninterpretedOption'},
1200 ],
1201 '4': const [FileOptions_OptimizeMode$json],
1202 '5': const [
1203 const {'1': 1000, '2': 536870912},
1204 ],
1205 };
1206
1207 const FileOptions_OptimizeMode$json = const {
1208 '1': 'OptimizeMode',
1209 '2': const [
1210 const {'1': 'SPEED', '2': 1},
1211 const {'1': 'CODE_SIZE', '2': 2},
1212 const {'1': 'LITE_RUNTIME', '2': 3},
1213 ],
1214 };
1215
1216 const MessageOptions$json = const {
1217 '1': 'MessageOptions',
1218 '2': const [
1219 const {'1': 'message_set_wire_format', '3': 1, '4': 1, '5': 8, '7': 'false'} ,
1220 const {'1': 'no_standard_descriptor_accessor', '3': 2, '4': 1, '5': 8, '7': 'false'},
1221 const {'1': 'uninterpreted_option', '3': 999, '4': 3, '5': 11, '6': '.proto2 .UninterpretedOption'},
1222 ],
1223 '5': const [
1224 const {'1': 1000, '2': 536870912},
1225 ],
1226 };
1227
1228 const FieldOptions$json = const {
1229 '1': 'FieldOptions',
1230 '2': const [
1231 const {'1': 'ctype', '3': 1, '4': 1, '5': 14, '6': '.proto2.FieldOptions.CTy pe', '7': 'STRING'},
1232 const {'1': 'packed', '3': 2, '4': 1, '5': 8},
1233 const {'1': 'lazy', '3': 5, '4': 1, '5': 8, '7': 'false'},
1234 const {'1': 'deprecated', '3': 3, '4': 1, '5': 8, '7': 'false'},
1235 const {'1': 'experimental_map_key', '3': 9, '4': 1, '5': 9},
1236 const {'1': 'uninterpreted_option', '3': 999, '4': 3, '5': 11, '6': '.proto2 .UninterpretedOption'},
1237 ],
1238 '4': const [FieldOptions_CType$json],
1239 '5': const [
1240 const {'1': 1000, '2': 536870912},
1241 ],
1242 };
1243
1244 const FieldOptions_CType$json = const {
1245 '1': 'CType',
1246 '2': const [
1247 const {'1': 'STRING', '2': 0},
1248 ],
1249 };
1250
1251 const EnumOptions$json = const {
1252 '1': 'EnumOptions',
1253 '2': const [
1254 const {'1': 'allow_alias', '3': 2, '4': 1, '5': 8, '7': 'true'},
1255 const {'1': 'uninterpreted_option', '3': 999, '4': 3, '5': 11, '6': '.proto2 .UninterpretedOption'},
1256 ],
1257 '5': const [
1258 const {'1': 1000, '2': 536870912},
1259 ],
1260 };
1261
1262 const EnumValueOptions$json = const {
1263 '1': 'EnumValueOptions',
1264 '2': const [
1265 const {'1': 'uninterpreted_option', '3': 999, '4': 3, '5': 11, '6': '.proto2 .UninterpretedOption'},
1266 ],
1267 '5': const [
1268 const {'1': 1000, '2': 536870912},
1269 ],
1270 };
1271
1272 const ServiceOptions$json = const {
1273 '1': 'ServiceOptions',
1274 '2': const [
1275 const {'1': 'uninterpreted_option', '3': 999, '4': 3, '5': 11, '6': '.proto2 .UninterpretedOption'},
1276 ],
1277 '5': const [
1278 const {'1': 1000, '2': 536870912},
1279 ],
1280 };
1281
1282 const MethodOptions$json = const {
1283 '1': 'MethodOptions',
1284 '2': const [
1285 const {'1': 'uninterpreted_option', '3': 999, '4': 3, '5': 11, '6': '.proto2 .UninterpretedOption'},
1286 ],
1287 '5': const [
1288 const {'1': 1000, '2': 536870912},
1289 ],
1290 };
1291
1292 const StreamOptions$json = const {
1293 '1': 'StreamOptions',
1294 '2': const [
1295 const {'1': 'uninterpreted_option', '3': 999, '4': 3, '5': 11, '6': '.proto2 .UninterpretedOption'},
1296 ],
1297 '5': const [
1298 const {'1': 1000, '2': 536870912},
1299 ],
1300 };
1301
1302 const UninterpretedOption$json = const {
1303 '1': 'UninterpretedOption',
1304 '2': const [
1305 const {'1': 'name', '3': 2, '4': 3, '5': 11, '6': '.proto2.UninterpretedOpti on.NamePart'},
1306 const {'1': 'identifier_value', '3': 3, '4': 1, '5': 9},
1307 const {'1': 'positive_int_value', '3': 4, '4': 1, '5': 4},
1308 const {'1': 'negative_int_value', '3': 5, '4': 1, '5': 3},
1309 const {'1': 'double_value', '3': 6, '4': 1, '5': 1},
1310 const {'1': 'string_value', '3': 7, '4': 1, '5': 12},
1311 const {'1': 'aggregate_value', '3': 8, '4': 1, '5': 9},
1312 ],
1313 '3': const [UninterpretedOption_NamePart$json],
1314 };
1315
1316 const UninterpretedOption_NamePart$json = const {
1317 '1': 'NamePart',
1318 '2': const [
1319 const {'1': 'name_part', '3': 1, '4': 2, '5': 9},
1320 const {'1': 'is_extension', '3': 2, '4': 2, '5': 8},
1321 ],
1322 };
1323
1324 const SourceCodeInfo$json = const {
1325 '1': 'SourceCodeInfo',
1326 '2': const [
1327 const {'1': 'location', '3': 1, '4': 3, '5': 11, '6': '.proto2.SourceCodeInf o.Location'},
1328 ],
1329 '3': const [SourceCodeInfo_Location$json],
1330 };
1331
1332 const SourceCodeInfo_Location$json = const {
1333 '1': 'Location',
1334 '2': const [
1335 const {
1336 '1': 'path',
1337 '3': 1,
1338 '4': 3,
1339 '5': 5,
1340 '8': const {'2': true},
1341 },
1342 const {
1343 '1': 'span',
1344 '3': 2,
1345 '4': 3,
1346 '5': 5,
1347 '8': const {'2': true},
1348 },
1349 ],
1350 };
1351
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698