protobufjs 8.6.6 → 8.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +53 -54
- package/dist/light/protobuf.js +745 -341
- package/dist/light/protobuf.js.map +1 -1
- package/dist/light/protobuf.min.js +3 -3
- package/dist/light/protobuf.min.js.map +1 -1
- package/dist/minimal/protobuf.js +729 -327
- package/dist/minimal/protobuf.js.map +1 -1
- package/dist/minimal/protobuf.min.js +3 -3
- package/dist/minimal/protobuf.min.js.map +1 -1
- package/dist/protobuf.js +824 -376
- package/dist/protobuf.js.map +1 -1
- package/dist/protobuf.min.js +3 -3
- package/dist/protobuf.min.js.map +1 -1
- package/ext/protojson.js +5 -1
- package/google/api/annotations.json +3 -1
- package/google/api/http.json +2 -1
- package/google/protobuf/api.json +12 -6
- package/google/protobuf/descriptor.json +170 -87
- package/google/protobuf/descriptor.proto +0 -8
- package/google/protobuf/source_context.json +2 -1
- package/google/protobuf/type.json +14 -7
- package/index.d.ts +211 -23
- package/package.json +5 -5
- package/src/common.js +12 -6
- package/src/converter.js +1 -1
- package/src/decoder.js +5 -8
- package/src/encoder.js +1 -4
- package/src/index-minimal.js +1 -1
- package/src/parse.js +67 -29
- package/src/reader.js +251 -21
- package/src/reader_buffer.js +1 -3
- package/src/type.js +9 -1
- package/src/util/longbits.js +10 -6
- package/src/util/minimal.js +12 -40
- package/src/util/utf8.js +19 -17
- package/src/writer.js +399 -194
- package/src/writer_buffer.js +33 -42
|
@@ -3,15 +3,6 @@
|
|
|
3
3
|
"google": {
|
|
4
4
|
"nested": {
|
|
5
5
|
"protobuf": {
|
|
6
|
-
"options": {
|
|
7
|
-
"go_package": "google.golang.org/protobuf/types/descriptorpb",
|
|
8
|
-
"java_package": "com.google.protobuf",
|
|
9
|
-
"java_outer_classname": "DescriptorProtos",
|
|
10
|
-
"csharp_namespace": "Google.Protobuf.Reflection",
|
|
11
|
-
"objc_class_prefix": "GPB",
|
|
12
|
-
"cc_enable_arenas": true,
|
|
13
|
-
"optimize_for": "SPEED"
|
|
14
|
-
},
|
|
15
6
|
"nested": {
|
|
16
7
|
"FileDescriptorSet": {
|
|
17
8
|
"edition": "proto2",
|
|
@@ -65,27 +56,32 @@
|
|
|
65
56
|
"publicDependency": {
|
|
66
57
|
"rule": "repeated",
|
|
67
58
|
"type": "int32",
|
|
68
|
-
"id": 10
|
|
59
|
+
"id": 10,
|
|
60
|
+
"protoName": "public_dependency"
|
|
69
61
|
},
|
|
70
62
|
"weakDependency": {
|
|
71
63
|
"rule": "repeated",
|
|
72
64
|
"type": "int32",
|
|
73
|
-
"id": 11
|
|
65
|
+
"id": 11,
|
|
66
|
+
"protoName": "weak_dependency"
|
|
74
67
|
},
|
|
75
68
|
"optionDependency": {
|
|
76
69
|
"rule": "repeated",
|
|
77
70
|
"type": "string",
|
|
78
|
-
"id": 15
|
|
71
|
+
"id": 15,
|
|
72
|
+
"protoName": "option_dependency"
|
|
79
73
|
},
|
|
80
74
|
"messageType": {
|
|
81
75
|
"rule": "repeated",
|
|
82
76
|
"type": "DescriptorProto",
|
|
83
|
-
"id": 4
|
|
77
|
+
"id": 4,
|
|
78
|
+
"protoName": "message_type"
|
|
84
79
|
},
|
|
85
80
|
"enumType": {
|
|
86
81
|
"rule": "repeated",
|
|
87
82
|
"type": "EnumDescriptorProto",
|
|
88
|
-
"id": 5
|
|
83
|
+
"id": 5,
|
|
84
|
+
"protoName": "enum_type"
|
|
89
85
|
},
|
|
90
86
|
"service": {
|
|
91
87
|
"rule": "repeated",
|
|
@@ -103,7 +99,8 @@
|
|
|
103
99
|
},
|
|
104
100
|
"sourceCodeInfo": {
|
|
105
101
|
"type": "SourceCodeInfo",
|
|
106
|
-
"id": 9
|
|
102
|
+
"id": 9,
|
|
103
|
+
"protoName": "source_code_info"
|
|
107
104
|
},
|
|
108
105
|
"syntax": {
|
|
109
106
|
"type": "string",
|
|
@@ -135,22 +132,26 @@
|
|
|
135
132
|
"nestedType": {
|
|
136
133
|
"rule": "repeated",
|
|
137
134
|
"type": "DescriptorProto",
|
|
138
|
-
"id": 3
|
|
135
|
+
"id": 3,
|
|
136
|
+
"protoName": "nested_type"
|
|
139
137
|
},
|
|
140
138
|
"enumType": {
|
|
141
139
|
"rule": "repeated",
|
|
142
140
|
"type": "EnumDescriptorProto",
|
|
143
|
-
"id": 4
|
|
141
|
+
"id": 4,
|
|
142
|
+
"protoName": "enum_type"
|
|
144
143
|
},
|
|
145
144
|
"extensionRange": {
|
|
146
145
|
"rule": "repeated",
|
|
147
146
|
"type": "ExtensionRange",
|
|
148
|
-
"id": 5
|
|
147
|
+
"id": 5,
|
|
148
|
+
"protoName": "extension_range"
|
|
149
149
|
},
|
|
150
150
|
"oneofDecl": {
|
|
151
151
|
"rule": "repeated",
|
|
152
152
|
"type": "OneofDescriptorProto",
|
|
153
|
-
"id": 8
|
|
153
|
+
"id": 8,
|
|
154
|
+
"protoName": "oneof_decl"
|
|
154
155
|
},
|
|
155
156
|
"options": {
|
|
156
157
|
"type": "MessageOptions",
|
|
@@ -159,12 +160,14 @@
|
|
|
159
160
|
"reservedRange": {
|
|
160
161
|
"rule": "repeated",
|
|
161
162
|
"type": "ReservedRange",
|
|
162
|
-
"id": 9
|
|
163
|
+
"id": 9,
|
|
164
|
+
"protoName": "reserved_range"
|
|
163
165
|
},
|
|
164
166
|
"reservedName": {
|
|
165
167
|
"rule": "repeated",
|
|
166
168
|
"type": "string",
|
|
167
|
-
"id": 10
|
|
169
|
+
"id": 10,
|
|
170
|
+
"protoName": "reserved_name"
|
|
168
171
|
},
|
|
169
172
|
"visibility": {
|
|
170
173
|
"type": "SymbolVisibility",
|
|
@@ -208,7 +211,8 @@
|
|
|
208
211
|
"uninterpretedOption": {
|
|
209
212
|
"rule": "repeated",
|
|
210
213
|
"type": "UninterpretedOption",
|
|
211
|
-
"id": 999
|
|
214
|
+
"id": 999,
|
|
215
|
+
"protoName": "uninterpreted_option"
|
|
212
216
|
},
|
|
213
217
|
"declaration": {
|
|
214
218
|
"rule": "repeated",
|
|
@@ -246,7 +250,8 @@
|
|
|
246
250
|
},
|
|
247
251
|
"fullName": {
|
|
248
252
|
"type": "string",
|
|
249
|
-
"id": 2
|
|
253
|
+
"id": 2,
|
|
254
|
+
"protoName": "full_name"
|
|
250
255
|
},
|
|
251
256
|
"type": {
|
|
252
257
|
"type": "string",
|
|
@@ -297,7 +302,8 @@
|
|
|
297
302
|
},
|
|
298
303
|
"typeName": {
|
|
299
304
|
"type": "string",
|
|
300
|
-
"id": 6
|
|
305
|
+
"id": 6,
|
|
306
|
+
"protoName": "type_name"
|
|
301
307
|
},
|
|
302
308
|
"extendee": {
|
|
303
309
|
"type": "string",
|
|
@@ -305,15 +311,18 @@
|
|
|
305
311
|
},
|
|
306
312
|
"defaultValue": {
|
|
307
313
|
"type": "string",
|
|
308
|
-
"id": 7
|
|
314
|
+
"id": 7,
|
|
315
|
+
"protoName": "default_value"
|
|
309
316
|
},
|
|
310
317
|
"oneofIndex": {
|
|
311
318
|
"type": "int32",
|
|
312
|
-
"id": 9
|
|
319
|
+
"id": 9,
|
|
320
|
+
"protoName": "oneof_index"
|
|
313
321
|
},
|
|
314
322
|
"jsonName": {
|
|
315
323
|
"type": "string",
|
|
316
|
-
"id": 10
|
|
324
|
+
"id": 10,
|
|
325
|
+
"protoName": "json_name"
|
|
317
326
|
},
|
|
318
327
|
"options": {
|
|
319
328
|
"type": "FieldOptions",
|
|
@@ -321,7 +330,8 @@
|
|
|
321
330
|
},
|
|
322
331
|
"proto3Optional": {
|
|
323
332
|
"type": "bool",
|
|
324
|
-
"id": 17
|
|
333
|
+
"id": 17,
|
|
334
|
+
"protoName": "proto3_optional"
|
|
325
335
|
}
|
|
326
336
|
},
|
|
327
337
|
"nested": {
|
|
@@ -388,12 +398,14 @@
|
|
|
388
398
|
"reservedRange": {
|
|
389
399
|
"rule": "repeated",
|
|
390
400
|
"type": "EnumReservedRange",
|
|
391
|
-
"id": 4
|
|
401
|
+
"id": 4,
|
|
402
|
+
"protoName": "reserved_range"
|
|
392
403
|
},
|
|
393
404
|
"reservedName": {
|
|
394
405
|
"rule": "repeated",
|
|
395
406
|
"type": "string",
|
|
396
|
-
"id": 5
|
|
407
|
+
"id": 5,
|
|
408
|
+
"protoName": "reserved_name"
|
|
397
409
|
},
|
|
398
410
|
"visibility": {
|
|
399
411
|
"type": "SymbolVisibility",
|
|
@@ -459,11 +471,13 @@
|
|
|
459
471
|
},
|
|
460
472
|
"inputType": {
|
|
461
473
|
"type": "string",
|
|
462
|
-
"id": 2
|
|
474
|
+
"id": 2,
|
|
475
|
+
"protoName": "input_type"
|
|
463
476
|
},
|
|
464
477
|
"outputType": {
|
|
465
478
|
"type": "string",
|
|
466
|
-
"id": 3
|
|
479
|
+
"id": 3,
|
|
480
|
+
"protoName": "output_type"
|
|
467
481
|
},
|
|
468
482
|
"options": {
|
|
469
483
|
"type": "MethodOptions",
|
|
@@ -471,11 +485,13 @@
|
|
|
471
485
|
},
|
|
472
486
|
"clientStreaming": {
|
|
473
487
|
"type": "bool",
|
|
474
|
-
"id": 5
|
|
488
|
+
"id": 5,
|
|
489
|
+
"protoName": "client_streaming"
|
|
475
490
|
},
|
|
476
491
|
"serverStreaming": {
|
|
477
492
|
"type": "bool",
|
|
478
|
-
"id": 6
|
|
493
|
+
"id": 6,
|
|
494
|
+
"protoName": "server_streaming"
|
|
479
495
|
}
|
|
480
496
|
}
|
|
481
497
|
},
|
|
@@ -484,49 +500,59 @@
|
|
|
484
500
|
"fields": {
|
|
485
501
|
"javaPackage": {
|
|
486
502
|
"type": "string",
|
|
487
|
-
"id": 1
|
|
503
|
+
"id": 1,
|
|
504
|
+
"protoName": "java_package"
|
|
488
505
|
},
|
|
489
506
|
"javaOuterClassname": {
|
|
490
507
|
"type": "string",
|
|
491
|
-
"id": 8
|
|
508
|
+
"id": 8,
|
|
509
|
+
"protoName": "java_outer_classname"
|
|
492
510
|
},
|
|
493
511
|
"javaMultipleFiles": {
|
|
494
512
|
"type": "bool",
|
|
495
|
-
"id": 10
|
|
513
|
+
"id": 10,
|
|
514
|
+
"protoName": "java_multiple_files"
|
|
496
515
|
},
|
|
497
516
|
"javaGenerateEqualsAndHash": {
|
|
498
517
|
"type": "bool",
|
|
499
518
|
"id": 20,
|
|
519
|
+
"protoName": "java_generate_equals_and_hash",
|
|
500
520
|
"options": {
|
|
501
521
|
"deprecated": true
|
|
502
522
|
}
|
|
503
523
|
},
|
|
504
524
|
"javaStringCheckUtf8": {
|
|
505
525
|
"type": "bool",
|
|
506
|
-
"id": 27
|
|
526
|
+
"id": 27,
|
|
527
|
+
"protoName": "java_string_check_utf8"
|
|
507
528
|
},
|
|
508
529
|
"optimizeFor": {
|
|
509
530
|
"type": "OptimizeMode",
|
|
510
531
|
"id": 9,
|
|
532
|
+
"protoName": "optimize_for",
|
|
511
533
|
"options": {
|
|
512
534
|
"default": "SPEED"
|
|
513
535
|
}
|
|
514
536
|
},
|
|
515
537
|
"goPackage": {
|
|
516
538
|
"type": "string",
|
|
517
|
-
"id": 11
|
|
539
|
+
"id": 11,
|
|
540
|
+
"protoName": "go_package"
|
|
518
541
|
},
|
|
519
542
|
"ccGenericServices": {
|
|
520
543
|
"type": "bool",
|
|
521
|
-
"id": 16
|
|
544
|
+
"id": 16,
|
|
545
|
+
"protoName": "cc_generic_services"
|
|
522
546
|
},
|
|
523
547
|
"javaGenericServices": {
|
|
524
548
|
"type": "bool",
|
|
525
|
-
"id": 17
|
|
549
|
+
"id": 17,
|
|
550
|
+
"protoName": "java_generic_services"
|
|
526
551
|
},
|
|
527
552
|
"pyGenericServices": {
|
|
528
553
|
"type": "bool",
|
|
529
|
-
"id": 18
|
|
554
|
+
"id": 18,
|
|
555
|
+
"protoName": "py_generic_services"
|
|
530
556
|
},
|
|
531
557
|
"deprecated": {
|
|
532
558
|
"type": "bool",
|
|
@@ -535,37 +561,45 @@
|
|
|
535
561
|
"ccEnableArenas": {
|
|
536
562
|
"type": "bool",
|
|
537
563
|
"id": 31,
|
|
564
|
+
"protoName": "cc_enable_arenas",
|
|
538
565
|
"options": {
|
|
539
566
|
"default": true
|
|
540
567
|
}
|
|
541
568
|
},
|
|
542
569
|
"objcClassPrefix": {
|
|
543
570
|
"type": "string",
|
|
544
|
-
"id": 36
|
|
571
|
+
"id": 36,
|
|
572
|
+
"protoName": "objc_class_prefix"
|
|
545
573
|
},
|
|
546
574
|
"csharpNamespace": {
|
|
547
575
|
"type": "string",
|
|
548
|
-
"id": 37
|
|
576
|
+
"id": 37,
|
|
577
|
+
"protoName": "csharp_namespace"
|
|
549
578
|
},
|
|
550
579
|
"swiftPrefix": {
|
|
551
580
|
"type": "string",
|
|
552
|
-
"id": 39
|
|
581
|
+
"id": 39,
|
|
582
|
+
"protoName": "swift_prefix"
|
|
553
583
|
},
|
|
554
584
|
"phpClassPrefix": {
|
|
555
585
|
"type": "string",
|
|
556
|
-
"id": 40
|
|
586
|
+
"id": 40,
|
|
587
|
+
"protoName": "php_class_prefix"
|
|
557
588
|
},
|
|
558
589
|
"phpNamespace": {
|
|
559
590
|
"type": "string",
|
|
560
|
-
"id": 41
|
|
591
|
+
"id": 41,
|
|
592
|
+
"protoName": "php_namespace"
|
|
561
593
|
},
|
|
562
594
|
"phpMetadataNamespace": {
|
|
563
595
|
"type": "string",
|
|
564
|
-
"id": 44
|
|
596
|
+
"id": 44,
|
|
597
|
+
"protoName": "php_metadata_namespace"
|
|
565
598
|
},
|
|
566
599
|
"rubyPackage": {
|
|
567
600
|
"type": "string",
|
|
568
|
-
"id": 45
|
|
601
|
+
"id": 45,
|
|
602
|
+
"protoName": "ruby_package"
|
|
569
603
|
},
|
|
570
604
|
"features": {
|
|
571
605
|
"type": "FeatureSet",
|
|
@@ -574,7 +608,8 @@
|
|
|
574
608
|
"uninterpretedOption": {
|
|
575
609
|
"rule": "repeated",
|
|
576
610
|
"type": "UninterpretedOption",
|
|
577
|
-
"id": 999
|
|
611
|
+
"id": 999,
|
|
612
|
+
"protoName": "uninterpreted_option"
|
|
578
613
|
}
|
|
579
614
|
},
|
|
580
615
|
"extensions": [
|
|
@@ -609,11 +644,13 @@
|
|
|
609
644
|
"fields": {
|
|
610
645
|
"messageSetWireFormat": {
|
|
611
646
|
"type": "bool",
|
|
612
|
-
"id": 1
|
|
647
|
+
"id": 1,
|
|
648
|
+
"protoName": "message_set_wire_format"
|
|
613
649
|
},
|
|
614
650
|
"noStandardDescriptorAccessor": {
|
|
615
651
|
"type": "bool",
|
|
616
|
-
"id": 2
|
|
652
|
+
"id": 2,
|
|
653
|
+
"protoName": "no_standard_descriptor_accessor"
|
|
617
654
|
},
|
|
618
655
|
"deprecated": {
|
|
619
656
|
"type": "bool",
|
|
@@ -621,11 +658,13 @@
|
|
|
621
658
|
},
|
|
622
659
|
"mapEntry": {
|
|
623
660
|
"type": "bool",
|
|
624
|
-
"id": 7
|
|
661
|
+
"id": 7,
|
|
662
|
+
"protoName": "map_entry"
|
|
625
663
|
},
|
|
626
664
|
"deprecatedLegacyJsonFieldConflicts": {
|
|
627
665
|
"type": "bool",
|
|
628
666
|
"id": 11,
|
|
667
|
+
"protoName": "deprecated_legacy_json_field_conflicts",
|
|
629
668
|
"options": {
|
|
630
669
|
"deprecated": true
|
|
631
670
|
}
|
|
@@ -637,7 +676,8 @@
|
|
|
637
676
|
"uninterpretedOption": {
|
|
638
677
|
"rule": "repeated",
|
|
639
678
|
"type": "UninterpretedOption",
|
|
640
|
-
"id": 999
|
|
679
|
+
"id": 999,
|
|
680
|
+
"protoName": "uninterpreted_option"
|
|
641
681
|
}
|
|
642
682
|
},
|
|
643
683
|
"extensions": [
|
|
@@ -696,7 +736,8 @@
|
|
|
696
736
|
},
|
|
697
737
|
"unverifiedLazy": {
|
|
698
738
|
"type": "bool",
|
|
699
|
-
"id": 15
|
|
739
|
+
"id": 15,
|
|
740
|
+
"protoName": "unverified_lazy"
|
|
700
741
|
},
|
|
701
742
|
"deprecated": {
|
|
702
743
|
"type": "bool",
|
|
@@ -711,7 +752,8 @@
|
|
|
711
752
|
},
|
|
712
753
|
"debugRedact": {
|
|
713
754
|
"type": "bool",
|
|
714
|
-
"id": 16
|
|
755
|
+
"id": 16,
|
|
756
|
+
"protoName": "debug_redact"
|
|
715
757
|
},
|
|
716
758
|
"retention": {
|
|
717
759
|
"type": "OptionRetention",
|
|
@@ -725,7 +767,8 @@
|
|
|
725
767
|
"editionDefaults": {
|
|
726
768
|
"rule": "repeated",
|
|
727
769
|
"type": "EditionDefault",
|
|
728
|
-
"id": 20
|
|
770
|
+
"id": 20,
|
|
771
|
+
"protoName": "edition_defaults"
|
|
729
772
|
},
|
|
730
773
|
"features": {
|
|
731
774
|
"type": "FeatureSet",
|
|
@@ -733,12 +776,14 @@
|
|
|
733
776
|
},
|
|
734
777
|
"featureSupport": {
|
|
735
778
|
"type": "FeatureSupport",
|
|
736
|
-
"id": 22
|
|
779
|
+
"id": 22,
|
|
780
|
+
"protoName": "feature_support"
|
|
737
781
|
},
|
|
738
782
|
"uninterpretedOption": {
|
|
739
783
|
"rule": "repeated",
|
|
740
784
|
"type": "UninterpretedOption",
|
|
741
|
-
"id": 999
|
|
785
|
+
"id": 999,
|
|
786
|
+
"protoName": "uninterpreted_option"
|
|
742
787
|
}
|
|
743
788
|
},
|
|
744
789
|
"extensions": [
|
|
@@ -809,19 +854,23 @@
|
|
|
809
854
|
"fields": {
|
|
810
855
|
"editionIntroduced": {
|
|
811
856
|
"type": "Edition",
|
|
812
|
-
"id": 1
|
|
857
|
+
"id": 1,
|
|
858
|
+
"protoName": "edition_introduced"
|
|
813
859
|
},
|
|
814
860
|
"editionDeprecated": {
|
|
815
861
|
"type": "Edition",
|
|
816
|
-
"id": 2
|
|
862
|
+
"id": 2,
|
|
863
|
+
"protoName": "edition_deprecated"
|
|
817
864
|
},
|
|
818
865
|
"deprecationWarning": {
|
|
819
866
|
"type": "string",
|
|
820
|
-
"id": 3
|
|
867
|
+
"id": 3,
|
|
868
|
+
"protoName": "deprecation_warning"
|
|
821
869
|
},
|
|
822
870
|
"editionRemoved": {
|
|
823
871
|
"type": "Edition",
|
|
824
|
-
"id": 4
|
|
872
|
+
"id": 4,
|
|
873
|
+
"protoName": "edition_removed"
|
|
825
874
|
}
|
|
826
875
|
}
|
|
827
876
|
}
|
|
@@ -837,7 +886,8 @@
|
|
|
837
886
|
"uninterpretedOption": {
|
|
838
887
|
"rule": "repeated",
|
|
839
888
|
"type": "UninterpretedOption",
|
|
840
|
-
"id": 999
|
|
889
|
+
"id": 999,
|
|
890
|
+
"protoName": "uninterpreted_option"
|
|
841
891
|
}
|
|
842
892
|
},
|
|
843
893
|
"extensions": [
|
|
@@ -852,7 +902,8 @@
|
|
|
852
902
|
"fields": {
|
|
853
903
|
"allowAlias": {
|
|
854
904
|
"type": "bool",
|
|
855
|
-
"id": 2
|
|
905
|
+
"id": 2,
|
|
906
|
+
"protoName": "allow_alias"
|
|
856
907
|
},
|
|
857
908
|
"deprecated": {
|
|
858
909
|
"type": "bool",
|
|
@@ -861,6 +912,7 @@
|
|
|
861
912
|
"deprecatedLegacyJsonFieldConflicts": {
|
|
862
913
|
"type": "bool",
|
|
863
914
|
"id": 6,
|
|
915
|
+
"protoName": "deprecated_legacy_json_field_conflicts",
|
|
864
916
|
"options": {
|
|
865
917
|
"deprecated": true
|
|
866
918
|
}
|
|
@@ -872,7 +924,8 @@
|
|
|
872
924
|
"uninterpretedOption": {
|
|
873
925
|
"rule": "repeated",
|
|
874
926
|
"type": "UninterpretedOption",
|
|
875
|
-
"id": 999
|
|
927
|
+
"id": 999,
|
|
928
|
+
"protoName": "uninterpreted_option"
|
|
876
929
|
}
|
|
877
930
|
},
|
|
878
931
|
"extensions": [
|
|
@@ -901,16 +954,19 @@
|
|
|
901
954
|
},
|
|
902
955
|
"debugRedact": {
|
|
903
956
|
"type": "bool",
|
|
904
|
-
"id": 3
|
|
957
|
+
"id": 3,
|
|
958
|
+
"protoName": "debug_redact"
|
|
905
959
|
},
|
|
906
960
|
"featureSupport": {
|
|
907
961
|
"type": "FieldOptions.FeatureSupport",
|
|
908
|
-
"id": 4
|
|
962
|
+
"id": 4,
|
|
963
|
+
"protoName": "feature_support"
|
|
909
964
|
},
|
|
910
965
|
"uninterpretedOption": {
|
|
911
966
|
"rule": "repeated",
|
|
912
967
|
"type": "UninterpretedOption",
|
|
913
|
-
"id": 999
|
|
968
|
+
"id": 999,
|
|
969
|
+
"protoName": "uninterpreted_option"
|
|
914
970
|
}
|
|
915
971
|
},
|
|
916
972
|
"extensions": [
|
|
@@ -934,7 +990,8 @@
|
|
|
934
990
|
"uninterpretedOption": {
|
|
935
991
|
"rule": "repeated",
|
|
936
992
|
"type": "UninterpretedOption",
|
|
937
|
-
"id": 999
|
|
993
|
+
"id": 999,
|
|
994
|
+
"protoName": "uninterpreted_option"
|
|
938
995
|
}
|
|
939
996
|
},
|
|
940
997
|
"extensions": [
|
|
@@ -954,6 +1011,7 @@
|
|
|
954
1011
|
"idempotencyLevel": {
|
|
955
1012
|
"type": "IdempotencyLevel",
|
|
956
1013
|
"id": 34,
|
|
1014
|
+
"protoName": "idempotency_level",
|
|
957
1015
|
"options": {
|
|
958
1016
|
"default": "IDEMPOTENCY_UNKNOWN"
|
|
959
1017
|
}
|
|
@@ -965,7 +1023,8 @@
|
|
|
965
1023
|
"uninterpretedOption": {
|
|
966
1024
|
"rule": "repeated",
|
|
967
1025
|
"type": "UninterpretedOption",
|
|
968
|
-
"id": 999
|
|
1026
|
+
"id": 999,
|
|
1027
|
+
"protoName": "uninterpreted_option"
|
|
969
1028
|
}
|
|
970
1029
|
},
|
|
971
1030
|
"extensions": [
|
|
@@ -994,27 +1053,33 @@
|
|
|
994
1053
|
},
|
|
995
1054
|
"identifierValue": {
|
|
996
1055
|
"type": "string",
|
|
997
|
-
"id": 3
|
|
1056
|
+
"id": 3,
|
|
1057
|
+
"protoName": "identifier_value"
|
|
998
1058
|
},
|
|
999
1059
|
"positiveIntValue": {
|
|
1000
1060
|
"type": "uint64",
|
|
1001
|
-
"id": 4
|
|
1061
|
+
"id": 4,
|
|
1062
|
+
"protoName": "positive_int_value"
|
|
1002
1063
|
},
|
|
1003
1064
|
"negativeIntValue": {
|
|
1004
1065
|
"type": "int64",
|
|
1005
|
-
"id": 5
|
|
1066
|
+
"id": 5,
|
|
1067
|
+
"protoName": "negative_int_value"
|
|
1006
1068
|
},
|
|
1007
1069
|
"doubleValue": {
|
|
1008
1070
|
"type": "double",
|
|
1009
|
-
"id": 6
|
|
1071
|
+
"id": 6,
|
|
1072
|
+
"protoName": "double_value"
|
|
1010
1073
|
},
|
|
1011
1074
|
"stringValue": {
|
|
1012
1075
|
"type": "bytes",
|
|
1013
|
-
"id": 7
|
|
1076
|
+
"id": 7,
|
|
1077
|
+
"protoName": "string_value"
|
|
1014
1078
|
},
|
|
1015
1079
|
"aggregateValue": {
|
|
1016
1080
|
"type": "string",
|
|
1017
|
-
"id": 8
|
|
1081
|
+
"id": 8,
|
|
1082
|
+
"protoName": "aggregate_value"
|
|
1018
1083
|
}
|
|
1019
1084
|
},
|
|
1020
1085
|
"nested": {
|
|
@@ -1023,12 +1088,14 @@
|
|
|
1023
1088
|
"namePart": {
|
|
1024
1089
|
"rule": "required",
|
|
1025
1090
|
"type": "string",
|
|
1026
|
-
"id": 1
|
|
1091
|
+
"id": 1,
|
|
1092
|
+
"protoName": "name_part"
|
|
1027
1093
|
},
|
|
1028
1094
|
"isExtension": {
|
|
1029
1095
|
"rule": "required",
|
|
1030
1096
|
"type": "bool",
|
|
1031
|
-
"id": 2
|
|
1097
|
+
"id": 2,
|
|
1098
|
+
"protoName": "is_extension"
|
|
1032
1099
|
}
|
|
1033
1100
|
}
|
|
1034
1101
|
}
|
|
@@ -1040,6 +1107,7 @@
|
|
|
1040
1107
|
"fieldPresence": {
|
|
1041
1108
|
"type": "FieldPresence",
|
|
1042
1109
|
"id": 1,
|
|
1110
|
+
"protoName": "field_presence",
|
|
1043
1111
|
"options": {
|
|
1044
1112
|
"retention": "RETENTION_RUNTIME",
|
|
1045
1113
|
"targets": "TARGET_TYPE_FILE",
|
|
@@ -1051,6 +1119,7 @@
|
|
|
1051
1119
|
"enumType": {
|
|
1052
1120
|
"type": "EnumType",
|
|
1053
1121
|
"id": 2,
|
|
1122
|
+
"protoName": "enum_type",
|
|
1054
1123
|
"options": {
|
|
1055
1124
|
"retention": "RETENTION_RUNTIME",
|
|
1056
1125
|
"targets": "TARGET_TYPE_FILE",
|
|
@@ -1062,6 +1131,7 @@
|
|
|
1062
1131
|
"repeatedFieldEncoding": {
|
|
1063
1132
|
"type": "RepeatedFieldEncoding",
|
|
1064
1133
|
"id": 3,
|
|
1134
|
+
"protoName": "repeated_field_encoding",
|
|
1065
1135
|
"options": {
|
|
1066
1136
|
"retention": "RETENTION_RUNTIME",
|
|
1067
1137
|
"targets": "TARGET_TYPE_FILE",
|
|
@@ -1073,6 +1143,7 @@
|
|
|
1073
1143
|
"utf8Validation": {
|
|
1074
1144
|
"type": "Utf8Validation",
|
|
1075
1145
|
"id": 4,
|
|
1146
|
+
"protoName": "utf8_validation",
|
|
1076
1147
|
"options": {
|
|
1077
1148
|
"retention": "RETENTION_RUNTIME",
|
|
1078
1149
|
"targets": "TARGET_TYPE_FILE",
|
|
@@ -1084,6 +1155,7 @@
|
|
|
1084
1155
|
"messageEncoding": {
|
|
1085
1156
|
"type": "MessageEncoding",
|
|
1086
1157
|
"id": 5,
|
|
1158
|
+
"protoName": "message_encoding",
|
|
1087
1159
|
"options": {
|
|
1088
1160
|
"retention": "RETENTION_RUNTIME",
|
|
1089
1161
|
"targets": "TARGET_TYPE_FILE",
|
|
@@ -1095,6 +1167,7 @@
|
|
|
1095
1167
|
"jsonFormat": {
|
|
1096
1168
|
"type": "JsonFormat",
|
|
1097
1169
|
"id": 6,
|
|
1170
|
+
"protoName": "json_format",
|
|
1098
1171
|
"options": {
|
|
1099
1172
|
"retention": "RETENTION_RUNTIME",
|
|
1100
1173
|
"targets": "TARGET_TYPE_FILE",
|
|
@@ -1106,6 +1179,7 @@
|
|
|
1106
1179
|
"enforceNamingStyle": {
|
|
1107
1180
|
"type": "EnforceNamingStyle",
|
|
1108
1181
|
"id": 7,
|
|
1182
|
+
"protoName": "enforce_naming_style",
|
|
1109
1183
|
"options": {
|
|
1110
1184
|
"retention": "RETENTION_SOURCE",
|
|
1111
1185
|
"targets": "TARGET_TYPE_METHOD",
|
|
@@ -1117,6 +1191,7 @@
|
|
|
1117
1191
|
"defaultSymbolVisibility": {
|
|
1118
1192
|
"type": "VisibilityFeature.DefaultSymbolVisibility",
|
|
1119
1193
|
"id": 8,
|
|
1194
|
+
"protoName": "default_symbol_visibility",
|
|
1120
1195
|
"options": {
|
|
1121
1196
|
"retention": "RETENTION_SOURCE",
|
|
1122
1197
|
"targets": "TARGET_TYPE_FILE",
|
|
@@ -1229,11 +1304,13 @@
|
|
|
1229
1304
|
},
|
|
1230
1305
|
"minimumEdition": {
|
|
1231
1306
|
"type": "Edition",
|
|
1232
|
-
"id": 4
|
|
1307
|
+
"id": 4,
|
|
1308
|
+
"protoName": "minimum_edition"
|
|
1233
1309
|
},
|
|
1234
1310
|
"maximumEdition": {
|
|
1235
1311
|
"type": "Edition",
|
|
1236
|
-
"id": 5
|
|
1312
|
+
"id": 5,
|
|
1313
|
+
"protoName": "maximum_edition"
|
|
1237
1314
|
}
|
|
1238
1315
|
},
|
|
1239
1316
|
"nested": {
|
|
@@ -1245,11 +1322,13 @@
|
|
|
1245
1322
|
},
|
|
1246
1323
|
"overridableFeatures": {
|
|
1247
1324
|
"type": "FeatureSet",
|
|
1248
|
-
"id": 4
|
|
1325
|
+
"id": 4,
|
|
1326
|
+
"protoName": "overridable_features"
|
|
1249
1327
|
},
|
|
1250
1328
|
"fixedFeatures": {
|
|
1251
1329
|
"type": "FeatureSet",
|
|
1252
|
-
"id": 5
|
|
1330
|
+
"id": 5,
|
|
1331
|
+
"protoName": "fixed_features"
|
|
1253
1332
|
}
|
|
1254
1333
|
},
|
|
1255
1334
|
"reserved": [
|
|
@@ -1302,16 +1381,19 @@
|
|
|
1302
1381
|
},
|
|
1303
1382
|
"leadingComments": {
|
|
1304
1383
|
"type": "string",
|
|
1305
|
-
"id": 3
|
|
1384
|
+
"id": 3,
|
|
1385
|
+
"protoName": "leading_comments"
|
|
1306
1386
|
},
|
|
1307
1387
|
"trailingComments": {
|
|
1308
1388
|
"type": "string",
|
|
1309
|
-
"id": 4
|
|
1389
|
+
"id": 4,
|
|
1390
|
+
"protoName": "trailing_comments"
|
|
1310
1391
|
},
|
|
1311
1392
|
"leadingDetachedComments": {
|
|
1312
1393
|
"rule": "repeated",
|
|
1313
1394
|
"type": "string",
|
|
1314
|
-
"id": 6
|
|
1395
|
+
"id": 6,
|
|
1396
|
+
"protoName": "leading_detached_comments"
|
|
1315
1397
|
}
|
|
1316
1398
|
}
|
|
1317
1399
|
}
|
|
@@ -1339,7 +1421,8 @@
|
|
|
1339
1421
|
},
|
|
1340
1422
|
"sourceFile": {
|
|
1341
1423
|
"type": "string",
|
|
1342
|
-
"id": 2
|
|
1424
|
+
"id": 2,
|
|
1425
|
+
"protoName": "source_file"
|
|
1343
1426
|
},
|
|
1344
1427
|
"begin": {
|
|
1345
1428
|
"type": "int32",
|