@aptre/protobuf-es-lite 0.2.12 → 0.2.13

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.
@@ -32,7 +32,6 @@ export const protobufPackage = "google.protobuf";
32
32
  /**
33
33
  * The full set of known editions.
34
34
  *
35
- *
36
35
  * @generated from enum google.protobuf.Edition
37
36
  */
38
37
  export var Edition;
@@ -40,7 +39,6 @@ export var Edition;
40
39
  /**
41
40
  * A placeholder for an unknown edition value.
42
41
  *
43
- *
44
42
  * @generated from enum value: EDITION_UNKNOWN = 0;
45
43
  */
46
44
  Edition[Edition["EDITION_UNKNOWN"] = 0] = "EDITION_UNKNOWN";
@@ -50,7 +48,6 @@ export var Edition;
50
48
  * files, but feature definitions must supply proto2/proto3 defaults for
51
49
  * backwards compatibility.
52
50
  *
53
- *
54
51
  * @generated from enum value: EDITION_PROTO2 = 998;
55
52
  */
56
53
  Edition[Edition["EDITION_PROTO2"] = 998] = "EDITION_PROTO2";
@@ -63,7 +60,6 @@ export var Edition;
63
60
  * should not be depended on, but they will always be time-ordered for easy
64
61
  * comparison.
65
62
  *
66
- *
67
63
  * @generated from enum value: EDITION_2023 = 1000;
68
64
  */
69
65
  Edition[Edition["EDITION_2023"] = 1000] = "EDITION_2023";
@@ -75,7 +71,6 @@ export var Edition;
75
71
  * Placeholder editions for testing feature resolution. These should not be
76
72
  * used or relyed on outside of tests.
77
73
  *
78
- *
79
74
  * @generated from enum value: EDITION_1_TEST_ONLY = 1;
80
75
  */
81
76
  Edition[Edition["EDITION_1_TEST_ONLY"] = 1] = "EDITION_1_TEST_ONLY";
@@ -100,7 +95,6 @@ export var Edition;
100
95
  * ever be used by plugins that can expect to never require any changes to
101
96
  * support a new edition.
102
97
  *
103
- *
104
98
  * @generated from enum value: EDITION_MAX = 2147483647;
105
99
  */
106
100
  Edition[Edition["EDITION_MAX"] = 2147483647] = "EDITION_MAX";
@@ -122,7 +116,6 @@ export const Edition_Enum = createEnumType("google.protobuf.Edition", [
122
116
  /**
123
117
  * The verification state of the extension range.
124
118
  *
125
- *
126
119
  * @generated from enum google.protobuf.ExtensionRangeOptions.VerificationState
127
120
  */
128
121
  export var ExtensionRangeOptions_VerificationState;
@@ -130,7 +123,6 @@ export var ExtensionRangeOptions_VerificationState;
130
123
  /**
131
124
  * All the extensions of the range must be declared.
132
125
  *
133
- *
134
126
  * @generated from enum value: DECLARATION = 0;
135
127
  */
136
128
  ExtensionRangeOptions_VerificationState[ExtensionRangeOptions_VerificationState["DECLARATION"] = 0] = "DECLARATION";
@@ -153,7 +145,6 @@ export var FieldDescriptorProto_Type;
153
145
  * 0 is reserved for errors.
154
146
  * Order is weird for historical reasons.
155
147
  *
156
- *
157
148
  * @generated from enum value: TYPE_DOUBLE = 1;
158
149
  */
159
150
  FieldDescriptorProto_Type[FieldDescriptorProto_Type["DOUBLE"] = 1] = "DOUBLE";
@@ -165,7 +156,6 @@ export var FieldDescriptorProto_Type;
165
156
  * Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if
166
157
  * negative values are likely.
167
158
  *
168
- *
169
159
  * @generated from enum value: TYPE_INT64 = 3;
170
160
  */
171
161
  FieldDescriptorProto_Type[FieldDescriptorProto_Type["INT64"] = 3] = "INT64";
@@ -177,7 +167,6 @@ export var FieldDescriptorProto_Type;
177
167
  * Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if
178
168
  * negative values are likely.
179
169
  *
180
- *
181
170
  * @generated from enum value: TYPE_INT32 = 5;
182
171
  */
183
172
  FieldDescriptorProto_Type[FieldDescriptorProto_Type["INT32"] = 5] = "INT32";
@@ -204,7 +193,6 @@ export var FieldDescriptorProto_Type;
204
193
  * treat group fields as unknown fields. In Editions, the group wire format
205
194
  * can be enabled via the `message_encoding` feature.
206
195
  *
207
- *
208
196
  * @generated from enum value: TYPE_GROUP = 10;
209
197
  */
210
198
  FieldDescriptorProto_Type[FieldDescriptorProto_Type["GROUP"] = 10] = "GROUP";
@@ -217,7 +205,6 @@ export var FieldDescriptorProto_Type;
217
205
  /**
218
206
  * New in version 2.
219
207
  *
220
- *
221
208
  * @generated from enum value: TYPE_BYTES = 12;
222
209
  */
223
210
  FieldDescriptorProto_Type[FieldDescriptorProto_Type["BYTES"] = 12] = "BYTES";
@@ -279,7 +266,6 @@ export var FieldDescriptorProto_Label;
279
266
  /**
280
267
  * 0 is reserved for errors
281
268
  *
282
- *
283
269
  * @generated from enum value: LABEL_OPTIONAL = 1;
284
270
  */
285
271
  FieldDescriptorProto_Label[FieldDescriptorProto_Label["OPTIONAL"] = 1] = "OPTIONAL";
@@ -292,7 +278,6 @@ export var FieldDescriptorProto_Label;
292
278
  * it's explicitly prohibited. In Editions, the `field_presence` feature
293
279
  * can be used to get this behavior.
294
280
  *
295
- *
296
281
  * @generated from enum value: LABEL_REQUIRED = 2;
297
282
  */
298
283
  FieldDescriptorProto_Label[FieldDescriptorProto_Label["REQUIRED"] = 2] = "REQUIRED";
@@ -306,7 +291,6 @@ export const FieldDescriptorProto_Label_Enum = createEnumType("google.protobuf.F
306
291
  /**
307
292
  * Generated classes can be optimized for speed or code size.
308
293
  *
309
- *
310
294
  * @generated from enum google.protobuf.FileOptions.OptimizeMode
311
295
  */
312
296
  export var FileOptions_OptimizeMode;
@@ -346,7 +330,6 @@ export var FieldOptions_CType;
346
330
  /**
347
331
  * Default mode.
348
332
  *
349
- *
350
333
  * @generated from enum value: STRING = 0;
351
334
  */
352
335
  FieldOptions_CType[FieldOptions_CType["STRING"] = 0] = "STRING";
@@ -358,7 +341,6 @@ export var FieldOptions_CType;
358
341
  * Cord, or when parsing with aliasing enabled, as the parsed Cord may then
359
342
  * alias the original buffer.
360
343
  *
361
- *
362
344
  * @generated from enum value: CORD = 1;
363
345
  */
364
346
  FieldOptions_CType[FieldOptions_CType["CORD"] = 1] = "CORD";
@@ -381,21 +363,18 @@ export var FieldOptions_JSType;
381
363
  /**
382
364
  * Use the default type.
383
365
  *
384
- *
385
366
  * @generated from enum value: JS_NORMAL = 0;
386
367
  */
387
368
  FieldOptions_JSType[FieldOptions_JSType["JS_NORMAL"] = 0] = "JS_NORMAL";
388
369
  /**
389
370
  * Use JavaScript strings.
390
371
  *
391
- *
392
372
  * @generated from enum value: JS_STRING = 1;
393
373
  */
394
374
  FieldOptions_JSType[FieldOptions_JSType["JS_STRING"] = 1] = "JS_STRING";
395
375
  /**
396
376
  * Use JavaScript numbers.
397
377
  *
398
- *
399
378
  * @generated from enum value: JS_NUMBER = 2;
400
379
  */
401
380
  FieldOptions_JSType[FieldOptions_JSType["JS_NUMBER"] = 2] = "JS_NUMBER";
@@ -411,7 +390,6 @@ export const FieldOptions_JSType_Enum = createEnumType("google.protobuf.FieldOpt
411
390
  * Note: as of January 2023, support for this is in progress and does not yet
412
391
  * have an effect (b/264593489).
413
392
  *
414
- *
415
393
  * @generated from enum google.protobuf.FieldOptions.OptionRetention
416
394
  */
417
395
  export var FieldOptions_OptionRetention;
@@ -441,7 +419,6 @@ export const FieldOptions_OptionRetention_Enum = createEnumType("google.protobuf
441
419
  * option on any kind of entity. Note: as of January 2023, support for this is
442
420
  * in progress and does not yet have an effect (b/264593489).
443
421
  *
444
- *
445
422
  * @generated from enum google.protobuf.FieldOptions.OptionTargetType
446
423
  */
447
424
  export var FieldOptions_OptionTargetType;
@@ -505,7 +482,6 @@ export const FieldOptions_OptionTargetType_Enum = createEnumType("google.protobu
505
482
  * or neither? HTTP based RPC implementation may choose GET verb for safe
506
483
  * methods, and PUT verb for idempotent methods instead of the default POST.
507
484
  *
508
- *
509
485
  * @generated from enum google.protobuf.MethodOptions.IdempotencyLevel
510
486
  */
511
487
  export var MethodOptions_IdempotencyLevel;
@@ -686,7 +662,6 @@ export const FeatureSet_JsonFormat_Enum = createEnumType("google.protobuf.Featur
686
662
  * Represents the identified object's effect on the element in the original
687
663
  * .proto file.
688
664
  *
689
- *
690
665
  * @generated from enum google.protobuf.GeneratedCodeInfo.Annotation.Semantic
691
666
  */
692
667
  export var GeneratedCodeInfo_Annotation_Semantic;
@@ -694,21 +669,18 @@ export var GeneratedCodeInfo_Annotation_Semantic;
694
669
  /**
695
670
  * There is no effect or the effect is indescribable.
696
671
  *
697
- *
698
672
  * @generated from enum value: NONE = 0;
699
673
  */
700
674
  GeneratedCodeInfo_Annotation_Semantic[GeneratedCodeInfo_Annotation_Semantic["NONE"] = 0] = "NONE";
701
675
  /**
702
676
  * The element is set or otherwise mutated.
703
677
  *
704
- *
705
678
  * @generated from enum value: SET = 1;
706
679
  */
707
680
  GeneratedCodeInfo_Annotation_Semantic[GeneratedCodeInfo_Annotation_Semantic["SET"] = 1] = "SET";
708
681
  /**
709
682
  * An alias to the element is returned.
710
683
  *
711
- *
712
684
  * @generated from enum value: ALIAS = 2;
713
685
  */
714
686
  GeneratedCodeInfo_Annotation_Semantic[GeneratedCodeInfo_Annotation_Semantic["ALIAS"] = 2] = "ALIAS";
@@ -722,967 +694,355 @@ export const GeneratedCodeInfo_Annotation_Semantic_Enum = createEnumType("google
722
694
  export const FieldOptions_EditionDefault = createMessageType({
723
695
  typeName: "google.protobuf.FieldOptions.EditionDefault",
724
696
  fields: [
725
- { no: 3, name: "edition", kind: "enum", T: Edition_Enum },
726
- { no: 2, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
697
+ { no: 3, name: "edition", kind: "enum", T: Edition_Enum, opt: true },
698
+ { no: 2, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
727
699
  ],
728
700
  packedByDefault: false,
729
701
  });
730
702
  export const FeatureSet = createMessageType({
731
703
  typeName: "google.protobuf.FeatureSet",
732
704
  fields: [
733
- {
734
- no: 1,
735
- name: "field_presence",
736
- kind: "enum",
737
- T: FeatureSet_FieldPresence_Enum,
738
- },
739
- { no: 2, name: "enum_type", kind: "enum", T: FeatureSet_EnumType_Enum },
740
- {
741
- no: 3,
742
- name: "repeated_field_encoding",
743
- kind: "enum",
744
- T: FeatureSet_RepeatedFieldEncoding_Enum,
745
- },
746
- {
747
- no: 4,
748
- name: "utf8_validation",
749
- kind: "enum",
750
- T: FeatureSet_Utf8Validation_Enum,
751
- },
752
- {
753
- no: 5,
754
- name: "message_encoding",
755
- kind: "enum",
756
- T: FeatureSet_MessageEncoding_Enum,
757
- },
758
- { no: 6, name: "json_format", kind: "enum", T: FeatureSet_JsonFormat_Enum },
705
+ { no: 1, name: "field_presence", kind: "enum", T: FeatureSet_FieldPresence_Enum, opt: true },
706
+ { no: 2, name: "enum_type", kind: "enum", T: FeatureSet_EnumType_Enum, opt: true },
707
+ { no: 3, name: "repeated_field_encoding", kind: "enum", T: FeatureSet_RepeatedFieldEncoding_Enum, opt: true },
708
+ { no: 4, name: "utf8_validation", kind: "enum", T: FeatureSet_Utf8Validation_Enum, opt: true },
709
+ { no: 5, name: "message_encoding", kind: "enum", T: FeatureSet_MessageEncoding_Enum, opt: true },
710
+ { no: 6, name: "json_format", kind: "enum", T: FeatureSet_JsonFormat_Enum, opt: true },
759
711
  ],
760
712
  packedByDefault: false,
761
713
  });
762
714
  export const UninterpretedOption_NamePart = createMessageType({
763
715
  typeName: "google.protobuf.UninterpretedOption.NamePart",
764
716
  fields: [
765
- {
766
- no: 1,
767
- name: "name_part",
768
- kind: "scalar",
769
- T: 9 /* ScalarType.STRING */,
770
- req: true,
771
- },
772
- {
773
- no: 2,
774
- name: "is_extension",
775
- kind: "scalar",
776
- T: 8 /* ScalarType.BOOL */,
777
- req: true,
778
- },
717
+ { no: 1, name: "name_part", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
718
+ { no: 2, name: "is_extension", kind: "scalar", T: 8 /* ScalarType.BOOL */, req: true },
779
719
  ],
780
720
  packedByDefault: false,
781
721
  });
782
722
  export const UninterpretedOption = createMessageType({
783
723
  typeName: "google.protobuf.UninterpretedOption",
784
724
  fields: [
785
- {
786
- no: 2,
787
- name: "name",
788
- kind: "message",
789
- T: () => UninterpretedOption_NamePart,
790
- repeated: true,
791
- },
792
- {
793
- no: 3,
794
- name: "identifier_value",
795
- kind: "scalar",
796
- T: 9 /* ScalarType.STRING */,
797
- },
798
- {
799
- no: 4,
800
- name: "positive_int_value",
801
- kind: "scalar",
802
- T: 4 /* ScalarType.UINT64 */,
803
- },
804
- {
805
- no: 5,
806
- name: "negative_int_value",
807
- kind: "scalar",
808
- T: 3 /* ScalarType.INT64 */,
809
- },
810
- {
811
- no: 6,
812
- name: "double_value",
813
- kind: "scalar",
814
- T: 1 /* ScalarType.DOUBLE */,
815
- },
816
- {
817
- no: 7,
818
- name: "string_value",
819
- kind: "scalar",
820
- T: 12 /* ScalarType.BYTES */,
821
- },
822
- {
823
- no: 8,
824
- name: "aggregate_value",
825
- kind: "scalar",
826
- T: 9 /* ScalarType.STRING */,
827
- },
725
+ { no: 2, name: "name", kind: "message", T: () => UninterpretedOption_NamePart, repeated: true },
726
+ { no: 3, name: "identifier_value", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
727
+ { no: 4, name: "positive_int_value", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
728
+ { no: 5, name: "negative_int_value", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
729
+ { no: 6, name: "double_value", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
730
+ { no: 7, name: "string_value", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
731
+ { no: 8, name: "aggregate_value", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
828
732
  ],
829
733
  packedByDefault: false,
830
734
  });
831
735
  export const FieldOptions = createMessageType({
832
736
  typeName: "google.protobuf.FieldOptions",
833
737
  fields: [
834
- {
835
- no: 1,
836
- name: "ctype",
837
- kind: "enum",
838
- T: FieldOptions_CType_Enum,
839
- default: FieldOptions_CType.STRING,
840
- },
841
- { no: 2, name: "packed", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
842
- {
843
- no: 6,
844
- name: "jstype",
845
- kind: "enum",
846
- T: FieldOptions_JSType_Enum,
847
- default: FieldOptions_JSType.JS_NORMAL,
848
- },
849
- {
850
- no: 5,
851
- name: "lazy",
852
- kind: "scalar",
853
- T: 8 /* ScalarType.BOOL */,
854
- default: false,
855
- },
856
- {
857
- no: 15,
858
- name: "unverified_lazy",
859
- kind: "scalar",
860
- T: 8 /* ScalarType.BOOL */,
861
- default: false,
862
- },
863
- {
864
- no: 3,
865
- name: "deprecated",
866
- kind: "scalar",
867
- T: 8 /* ScalarType.BOOL */,
868
- default: false,
869
- },
870
- {
871
- no: 10,
872
- name: "weak",
873
- kind: "scalar",
874
- T: 8 /* ScalarType.BOOL */,
875
- default: false,
876
- },
877
- {
878
- no: 16,
879
- name: "debug_redact",
880
- kind: "scalar",
881
- T: 8 /* ScalarType.BOOL */,
882
- default: false,
883
- },
884
- {
885
- no: 17,
886
- name: "retention",
887
- kind: "enum",
888
- T: FieldOptions_OptionRetention_Enum,
889
- },
890
- {
891
- no: 19,
892
- name: "targets",
893
- kind: "enum",
894
- T: FieldOptions_OptionTargetType_Enum,
895
- repeated: true,
896
- },
897
- {
898
- no: 20,
899
- name: "edition_defaults",
900
- kind: "message",
901
- T: () => FieldOptions_EditionDefault,
902
- repeated: true,
903
- },
904
- { no: 21, name: "features", kind: "message", T: () => FeatureSet },
905
- {
906
- no: 999,
907
- name: "uninterpreted_option",
908
- kind: "message",
909
- T: () => UninterpretedOption,
910
- repeated: true,
911
- },
738
+ { no: 1, name: "ctype", kind: "enum", T: FieldOptions_CType_Enum, opt: true, default: FieldOptions_CType.STRING },
739
+ { no: 2, name: "packed", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
740
+ { no: 6, name: "jstype", kind: "enum", T: FieldOptions_JSType_Enum, opt: true, default: FieldOptions_JSType.JS_NORMAL },
741
+ { no: 5, name: "lazy", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true, default: false },
742
+ { no: 15, name: "unverified_lazy", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true, default: false },
743
+ { no: 3, name: "deprecated", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true, default: false },
744
+ { no: 10, name: "weak", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true, default: false },
745
+ { no: 16, name: "debug_redact", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true, default: false },
746
+ { no: 17, name: "retention", kind: "enum", T: FieldOptions_OptionRetention_Enum, opt: true },
747
+ { no: 19, name: "targets", kind: "enum", T: FieldOptions_OptionTargetType_Enum, repeated: true },
748
+ { no: 20, name: "edition_defaults", kind: "message", T: () => FieldOptions_EditionDefault, repeated: true },
749
+ { no: 21, name: "features", kind: "message", T: () => FeatureSet, opt: true },
750
+ { no: 999, name: "uninterpreted_option", kind: "message", T: () => UninterpretedOption, repeated: true },
912
751
  ],
913
752
  packedByDefault: false,
914
753
  });
915
754
  export const FieldDescriptorProto = createMessageType({
916
755
  typeName: "google.protobuf.FieldDescriptorProto",
917
756
  fields: [
918
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
919
- { no: 3, name: "number", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
920
- {
921
- no: 4,
922
- name: "label",
923
- kind: "enum",
924
- T: FieldDescriptorProto_Label_Enum,
925
- },
926
- { no: 5, name: "type", kind: "enum", T: FieldDescriptorProto_Type_Enum },
927
- {
928
- no: 6,
929
- name: "type_name",
930
- kind: "scalar",
931
- T: 9 /* ScalarType.STRING */,
932
- },
933
- { no: 2, name: "extendee", kind: "scalar", T: 9 /* ScalarType.STRING */ },
934
- {
935
- no: 7,
936
- name: "default_value",
937
- kind: "scalar",
938
- T: 9 /* ScalarType.STRING */,
939
- },
940
- {
941
- no: 9,
942
- name: "oneof_index",
943
- kind: "scalar",
944
- T: 5 /* ScalarType.INT32 */,
945
- },
946
- {
947
- no: 10,
948
- name: "json_name",
949
- kind: "scalar",
950
- T: 9 /* ScalarType.STRING */,
951
- },
952
- { no: 8, name: "options", kind: "message", T: () => FieldOptions },
953
- {
954
- no: 17,
955
- name: "proto3_optional",
956
- kind: "scalar",
957
- T: 8 /* ScalarType.BOOL */,
958
- },
757
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
758
+ { no: 3, name: "number", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
759
+ { no: 4, name: "label", kind: "enum", T: FieldDescriptorProto_Label_Enum, opt: true },
760
+ { no: 5, name: "type", kind: "enum", T: FieldDescriptorProto_Type_Enum, opt: true },
761
+ { no: 6, name: "type_name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
762
+ { no: 2, name: "extendee", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
763
+ { no: 7, name: "default_value", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
764
+ { no: 9, name: "oneof_index", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
765
+ { no: 10, name: "json_name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
766
+ { no: 8, name: "options", kind: "message", T: () => FieldOptions, opt: true },
767
+ { no: 17, name: "proto3_optional", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
959
768
  ],
960
769
  packedByDefault: false,
961
770
  });
962
771
  export const EnumValueOptions = createMessageType({
963
772
  typeName: "google.protobuf.EnumValueOptions",
964
773
  fields: [
965
- {
966
- no: 1,
967
- name: "deprecated",
968
- kind: "scalar",
969
- T: 8 /* ScalarType.BOOL */,
970
- default: false,
971
- },
972
- { no: 2, name: "features", kind: "message", T: () => FeatureSet },
973
- {
974
- no: 3,
975
- name: "debug_redact",
976
- kind: "scalar",
977
- T: 8 /* ScalarType.BOOL */,
978
- default: false,
979
- },
980
- {
981
- no: 999,
982
- name: "uninterpreted_option",
983
- kind: "message",
984
- T: () => UninterpretedOption,
985
- repeated: true,
986
- },
774
+ { no: 1, name: "deprecated", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true, default: false },
775
+ { no: 2, name: "features", kind: "message", T: () => FeatureSet, opt: true },
776
+ { no: 3, name: "debug_redact", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true, default: false },
777
+ { no: 999, name: "uninterpreted_option", kind: "message", T: () => UninterpretedOption, repeated: true },
987
778
  ],
988
779
  packedByDefault: false,
989
780
  });
990
781
  export const EnumValueDescriptorProto = createMessageType({
991
782
  typeName: "google.protobuf.EnumValueDescriptorProto",
992
783
  fields: [
993
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
994
- { no: 2, name: "number", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
995
- { no: 3, name: "options", kind: "message", T: () => EnumValueOptions },
784
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
785
+ { no: 2, name: "number", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
786
+ { no: 3, name: "options", kind: "message", T: () => EnumValueOptions, opt: true },
996
787
  ],
997
788
  packedByDefault: false,
998
789
  });
999
790
  export const EnumOptions = createMessageType({
1000
791
  typeName: "google.protobuf.EnumOptions",
1001
792
  fields: [
1002
- { no: 2, name: "allow_alias", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1003
- {
1004
- no: 3,
1005
- name: "deprecated",
1006
- kind: "scalar",
1007
- T: 8 /* ScalarType.BOOL */,
1008
- default: false,
1009
- },
1010
- {
1011
- no: 6,
1012
- name: "deprecated_legacy_json_field_conflicts",
1013
- kind: "scalar",
1014
- T: 8 /* ScalarType.BOOL */,
1015
- },
1016
- { no: 7, name: "features", kind: "message", T: () => FeatureSet },
1017
- {
1018
- no: 999,
1019
- name: "uninterpreted_option",
1020
- kind: "message",
1021
- T: () => UninterpretedOption,
1022
- repeated: true,
1023
- },
793
+ { no: 2, name: "allow_alias", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
794
+ { no: 3, name: "deprecated", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true, default: false },
795
+ { no: 6, name: "deprecated_legacy_json_field_conflicts", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
796
+ { no: 7, name: "features", kind: "message", T: () => FeatureSet, opt: true },
797
+ { no: 999, name: "uninterpreted_option", kind: "message", T: () => UninterpretedOption, repeated: true },
1024
798
  ],
1025
799
  packedByDefault: false,
1026
800
  });
1027
801
  export const EnumDescriptorProto_EnumReservedRange = createMessageType({
1028
802
  typeName: "google.protobuf.EnumDescriptorProto.EnumReservedRange",
1029
803
  fields: [
1030
- { no: 1, name: "start", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1031
- { no: 2, name: "end", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
804
+ { no: 1, name: "start", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
805
+ { no: 2, name: "end", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
1032
806
  ],
1033
807
  packedByDefault: false,
1034
808
  });
1035
809
  export const EnumDescriptorProto = createMessageType({
1036
810
  typeName: "google.protobuf.EnumDescriptorProto",
1037
811
  fields: [
1038
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1039
- {
1040
- no: 2,
1041
- name: "value",
1042
- kind: "message",
1043
- T: () => EnumValueDescriptorProto,
1044
- repeated: true,
1045
- },
1046
- { no: 3, name: "options", kind: "message", T: () => EnumOptions },
1047
- {
1048
- no: 4,
1049
- name: "reserved_range",
1050
- kind: "message",
1051
- T: () => EnumDescriptorProto_EnumReservedRange,
1052
- repeated: true,
1053
- },
1054
- {
1055
- no: 5,
1056
- name: "reserved_name",
1057
- kind: "scalar",
1058
- T: 9 /* ScalarType.STRING */,
1059
- repeated: true,
1060
- },
812
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
813
+ { no: 2, name: "value", kind: "message", T: () => EnumValueDescriptorProto, repeated: true },
814
+ { no: 3, name: "options", kind: "message", T: () => EnumOptions, opt: true },
815
+ { no: 4, name: "reserved_range", kind: "message", T: () => EnumDescriptorProto_EnumReservedRange, repeated: true },
816
+ { no: 5, name: "reserved_name", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1061
817
  ],
1062
818
  packedByDefault: false,
1063
819
  });
1064
820
  export const ExtensionRangeOptions_Declaration = createMessageType({
1065
821
  typeName: "google.protobuf.ExtensionRangeOptions.Declaration",
1066
822
  fields: [
1067
- { no: 1, name: "number", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1068
- {
1069
- no: 2,
1070
- name: "full_name",
1071
- kind: "scalar",
1072
- T: 9 /* ScalarType.STRING */,
1073
- },
1074
- { no: 3, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1075
- { no: 5, name: "reserved", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1076
- { no: 6, name: "repeated", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
823
+ { no: 1, name: "number", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
824
+ { no: 2, name: "full_name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
825
+ { no: 3, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
826
+ { no: 5, name: "reserved", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
827
+ { no: 6, name: "repeated", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1077
828
  ],
1078
829
  packedByDefault: false,
1079
830
  });
1080
831
  export const ExtensionRangeOptions = createMessageType({
1081
832
  typeName: "google.protobuf.ExtensionRangeOptions",
1082
833
  fields: [
1083
- {
1084
- no: 999,
1085
- name: "uninterpreted_option",
1086
- kind: "message",
1087
- T: () => UninterpretedOption,
1088
- repeated: true,
1089
- },
1090
- {
1091
- no: 2,
1092
- name: "declaration",
1093
- kind: "message",
1094
- T: () => ExtensionRangeOptions_Declaration,
1095
- repeated: true,
1096
- },
1097
- { no: 50, name: "features", kind: "message", T: () => FeatureSet },
1098
- {
1099
- no: 3,
1100
- name: "verification",
1101
- kind: "enum",
1102
- T: ExtensionRangeOptions_VerificationState_Enum,
1103
- default: ExtensionRangeOptions_VerificationState.UNVERIFIED,
1104
- },
834
+ { no: 999, name: "uninterpreted_option", kind: "message", T: () => UninterpretedOption, repeated: true },
835
+ { no: 2, name: "declaration", kind: "message", T: () => ExtensionRangeOptions_Declaration, repeated: true },
836
+ { no: 50, name: "features", kind: "message", T: () => FeatureSet, opt: true },
837
+ { no: 3, name: "verification", kind: "enum", T: ExtensionRangeOptions_VerificationState_Enum, opt: true, default: ExtensionRangeOptions_VerificationState.UNVERIFIED },
1105
838
  ],
1106
839
  packedByDefault: false,
1107
840
  });
1108
841
  export const DescriptorProto_ExtensionRange = createMessageType({
1109
842
  typeName: "google.protobuf.DescriptorProto.ExtensionRange",
1110
843
  fields: [
1111
- { no: 1, name: "start", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1112
- { no: 2, name: "end", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1113
- {
1114
- no: 3,
1115
- name: "options",
1116
- kind: "message",
1117
- T: () => ExtensionRangeOptions,
1118
- },
844
+ { no: 1, name: "start", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
845
+ { no: 2, name: "end", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
846
+ { no: 3, name: "options", kind: "message", T: () => ExtensionRangeOptions, opt: true },
1119
847
  ],
1120
848
  packedByDefault: false,
1121
849
  });
1122
850
  export const OneofOptions = createMessageType({
1123
851
  typeName: "google.protobuf.OneofOptions",
1124
852
  fields: [
1125
- { no: 1, name: "features", kind: "message", T: () => FeatureSet },
1126
- {
1127
- no: 999,
1128
- name: "uninterpreted_option",
1129
- kind: "message",
1130
- T: () => UninterpretedOption,
1131
- repeated: true,
1132
- },
853
+ { no: 1, name: "features", kind: "message", T: () => FeatureSet, opt: true },
854
+ { no: 999, name: "uninterpreted_option", kind: "message", T: () => UninterpretedOption, repeated: true },
1133
855
  ],
1134
856
  packedByDefault: false,
1135
857
  });
1136
858
  export const OneofDescriptorProto = createMessageType({
1137
859
  typeName: "google.protobuf.OneofDescriptorProto",
1138
860
  fields: [
1139
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1140
- { no: 2, name: "options", kind: "message", T: () => OneofOptions },
861
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
862
+ { no: 2, name: "options", kind: "message", T: () => OneofOptions, opt: true },
1141
863
  ],
1142
864
  packedByDefault: false,
1143
865
  });
1144
866
  export const MessageOptions = createMessageType({
1145
867
  typeName: "google.protobuf.MessageOptions",
1146
868
  fields: [
1147
- {
1148
- no: 1,
1149
- name: "message_set_wire_format",
1150
- kind: "scalar",
1151
- T: 8 /* ScalarType.BOOL */,
1152
- default: false,
1153
- },
1154
- {
1155
- no: 2,
1156
- name: "no_standard_descriptor_accessor",
1157
- kind: "scalar",
1158
- T: 8 /* ScalarType.BOOL */,
1159
- default: false,
1160
- },
1161
- {
1162
- no: 3,
1163
- name: "deprecated",
1164
- kind: "scalar",
1165
- T: 8 /* ScalarType.BOOL */,
1166
- default: false,
1167
- },
1168
- { no: 7, name: "map_entry", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1169
- {
1170
- no: 11,
1171
- name: "deprecated_legacy_json_field_conflicts",
1172
- kind: "scalar",
1173
- T: 8 /* ScalarType.BOOL */,
1174
- },
1175
- { no: 12, name: "features", kind: "message", T: () => FeatureSet },
1176
- {
1177
- no: 999,
1178
- name: "uninterpreted_option",
1179
- kind: "message",
1180
- T: () => UninterpretedOption,
1181
- repeated: true,
1182
- },
869
+ { no: 1, name: "message_set_wire_format", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true, default: false },
870
+ { no: 2, name: "no_standard_descriptor_accessor", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true, default: false },
871
+ { no: 3, name: "deprecated", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true, default: false },
872
+ { no: 7, name: "map_entry", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
873
+ { no: 11, name: "deprecated_legacy_json_field_conflicts", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
874
+ { no: 12, name: "features", kind: "message", T: () => FeatureSet, opt: true },
875
+ { no: 999, name: "uninterpreted_option", kind: "message", T: () => UninterpretedOption, repeated: true },
1183
876
  ],
1184
877
  packedByDefault: false,
1185
878
  });
1186
879
  export const DescriptorProto_ReservedRange = createMessageType({
1187
880
  typeName: "google.protobuf.DescriptorProto.ReservedRange",
1188
881
  fields: [
1189
- { no: 1, name: "start", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1190
- { no: 2, name: "end", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
882
+ { no: 1, name: "start", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
883
+ { no: 2, name: "end", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
1191
884
  ],
1192
885
  packedByDefault: false,
1193
886
  });
1194
887
  export const DescriptorProto = createMessageType({
1195
888
  typeName: "google.protobuf.DescriptorProto",
1196
889
  fields: [
1197
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1198
- {
1199
- no: 2,
1200
- name: "field",
1201
- kind: "message",
1202
- T: () => FieldDescriptorProto,
1203
- repeated: true,
1204
- },
1205
- {
1206
- no: 6,
1207
- name: "extension",
1208
- kind: "message",
1209
- T: () => FieldDescriptorProto,
1210
- repeated: true,
1211
- },
1212
- {
1213
- no: 3,
1214
- name: "nested_type",
1215
- kind: "message",
1216
- T: () => DescriptorProto,
1217
- repeated: true,
1218
- },
1219
- {
1220
- no: 4,
1221
- name: "enum_type",
1222
- kind: "message",
1223
- T: () => EnumDescriptorProto,
1224
- repeated: true,
1225
- },
1226
- {
1227
- no: 5,
1228
- name: "extension_range",
1229
- kind: "message",
1230
- T: () => DescriptorProto_ExtensionRange,
1231
- repeated: true,
1232
- },
1233
- {
1234
- no: 8,
1235
- name: "oneof_decl",
1236
- kind: "message",
1237
- T: () => OneofDescriptorProto,
1238
- repeated: true,
1239
- },
1240
- { no: 7, name: "options", kind: "message", T: () => MessageOptions },
1241
- {
1242
- no: 9,
1243
- name: "reserved_range",
1244
- kind: "message",
1245
- T: () => DescriptorProto_ReservedRange,
1246
- repeated: true,
1247
- },
1248
- {
1249
- no: 10,
1250
- name: "reserved_name",
1251
- kind: "scalar",
1252
- T: 9 /* ScalarType.STRING */,
1253
- repeated: true,
1254
- },
890
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
891
+ { no: 2, name: "field", kind: "message", T: () => FieldDescriptorProto, repeated: true },
892
+ { no: 6, name: "extension", kind: "message", T: () => FieldDescriptorProto, repeated: true },
893
+ { no: 3, name: "nested_type", kind: "message", T: () => DescriptorProto, repeated: true },
894
+ { no: 4, name: "enum_type", kind: "message", T: () => EnumDescriptorProto, repeated: true },
895
+ { no: 5, name: "extension_range", kind: "message", T: () => DescriptorProto_ExtensionRange, repeated: true },
896
+ { no: 8, name: "oneof_decl", kind: "message", T: () => OneofDescriptorProto, repeated: true },
897
+ { no: 7, name: "options", kind: "message", T: () => MessageOptions, opt: true },
898
+ { no: 9, name: "reserved_range", kind: "message", T: () => DescriptorProto_ReservedRange, repeated: true },
899
+ { no: 10, name: "reserved_name", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1255
900
  ],
1256
901
  packedByDefault: false,
1257
902
  });
1258
903
  export const MethodOptions = createMessageType({
1259
904
  typeName: "google.protobuf.MethodOptions",
1260
905
  fields: [
1261
- {
1262
- no: 33,
1263
- name: "deprecated",
1264
- kind: "scalar",
1265
- T: 8 /* ScalarType.BOOL */,
1266
- default: false,
1267
- },
1268
- {
1269
- no: 34,
1270
- name: "idempotency_level",
1271
- kind: "enum",
1272
- T: MethodOptions_IdempotencyLevel_Enum,
1273
- default: MethodOptions_IdempotencyLevel.IDEMPOTENCY_UNKNOWN,
1274
- },
1275
- { no: 35, name: "features", kind: "message", T: () => FeatureSet },
1276
- {
1277
- no: 999,
1278
- name: "uninterpreted_option",
1279
- kind: "message",
1280
- T: () => UninterpretedOption,
1281
- repeated: true,
1282
- },
906
+ { no: 33, name: "deprecated", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true, default: false },
907
+ { no: 34, name: "idempotency_level", kind: "enum", T: MethodOptions_IdempotencyLevel_Enum, opt: true, default: MethodOptions_IdempotencyLevel.IDEMPOTENCY_UNKNOWN },
908
+ { no: 35, name: "features", kind: "message", T: () => FeatureSet, opt: true },
909
+ { no: 999, name: "uninterpreted_option", kind: "message", T: () => UninterpretedOption, repeated: true },
1283
910
  ],
1284
911
  packedByDefault: false,
1285
912
  });
1286
913
  export const MethodDescriptorProto = createMessageType({
1287
914
  typeName: "google.protobuf.MethodDescriptorProto",
1288
915
  fields: [
1289
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1290
- {
1291
- no: 2,
1292
- name: "input_type",
1293
- kind: "scalar",
1294
- T: 9 /* ScalarType.STRING */,
1295
- },
1296
- {
1297
- no: 3,
1298
- name: "output_type",
1299
- kind: "scalar",
1300
- T: 9 /* ScalarType.STRING */,
1301
- },
1302
- { no: 4, name: "options", kind: "message", T: () => MethodOptions },
1303
- {
1304
- no: 5,
1305
- name: "client_streaming",
1306
- kind: "scalar",
1307
- T: 8 /* ScalarType.BOOL */,
1308
- default: false,
1309
- },
1310
- {
1311
- no: 6,
1312
- name: "server_streaming",
1313
- kind: "scalar",
1314
- T: 8 /* ScalarType.BOOL */,
1315
- default: false,
1316
- },
916
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
917
+ { no: 2, name: "input_type", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
918
+ { no: 3, name: "output_type", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
919
+ { no: 4, name: "options", kind: "message", T: () => MethodOptions, opt: true },
920
+ { no: 5, name: "client_streaming", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true, default: false },
921
+ { no: 6, name: "server_streaming", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true, default: false },
1317
922
  ],
1318
923
  packedByDefault: false,
1319
924
  });
1320
925
  export const ServiceOptions = createMessageType({
1321
926
  typeName: "google.protobuf.ServiceOptions",
1322
927
  fields: [
1323
- { no: 34, name: "features", kind: "message", T: () => FeatureSet },
1324
- {
1325
- no: 33,
1326
- name: "deprecated",
1327
- kind: "scalar",
1328
- T: 8 /* ScalarType.BOOL */,
1329
- default: false,
1330
- },
1331
- {
1332
- no: 999,
1333
- name: "uninterpreted_option",
1334
- kind: "message",
1335
- T: () => UninterpretedOption,
1336
- repeated: true,
1337
- },
928
+ { no: 34, name: "features", kind: "message", T: () => FeatureSet, opt: true },
929
+ { no: 33, name: "deprecated", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true, default: false },
930
+ { no: 999, name: "uninterpreted_option", kind: "message", T: () => UninterpretedOption, repeated: true },
1338
931
  ],
1339
932
  packedByDefault: false,
1340
933
  });
1341
934
  export const ServiceDescriptorProto = createMessageType({
1342
935
  typeName: "google.protobuf.ServiceDescriptorProto",
1343
936
  fields: [
1344
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1345
- {
1346
- no: 2,
1347
- name: "method",
1348
- kind: "message",
1349
- T: () => MethodDescriptorProto,
1350
- repeated: true,
1351
- },
1352
- { no: 3, name: "options", kind: "message", T: () => ServiceOptions },
937
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
938
+ { no: 2, name: "method", kind: "message", T: () => MethodDescriptorProto, repeated: true },
939
+ { no: 3, name: "options", kind: "message", T: () => ServiceOptions, opt: true },
1353
940
  ],
1354
941
  packedByDefault: false,
1355
942
  });
1356
943
  export const FileOptions = createMessageType({
1357
944
  typeName: "google.protobuf.FileOptions",
1358
945
  fields: [
1359
- {
1360
- no: 1,
1361
- name: "java_package",
1362
- kind: "scalar",
1363
- T: 9 /* ScalarType.STRING */,
1364
- },
1365
- {
1366
- no: 8,
1367
- name: "java_outer_classname",
1368
- kind: "scalar",
1369
- T: 9 /* ScalarType.STRING */,
1370
- },
1371
- {
1372
- no: 10,
1373
- name: "java_multiple_files",
1374
- kind: "scalar",
1375
- T: 8 /* ScalarType.BOOL */,
1376
- default: false,
1377
- },
1378
- {
1379
- no: 20,
1380
- name: "java_generate_equals_and_hash",
1381
- kind: "scalar",
1382
- T: 8 /* ScalarType.BOOL */,
1383
- },
1384
- {
1385
- no: 27,
1386
- name: "java_string_check_utf8",
1387
- kind: "scalar",
1388
- T: 8 /* ScalarType.BOOL */,
1389
- default: false,
1390
- },
1391
- {
1392
- no: 9,
1393
- name: "optimize_for",
1394
- kind: "enum",
1395
- T: FileOptions_OptimizeMode_Enum,
1396
- default: FileOptions_OptimizeMode.SPEED,
1397
- },
1398
- {
1399
- no: 11,
1400
- name: "go_package",
1401
- kind: "scalar",
1402
- T: 9 /* ScalarType.STRING */,
1403
- },
1404
- {
1405
- no: 16,
1406
- name: "cc_generic_services",
1407
- kind: "scalar",
1408
- T: 8 /* ScalarType.BOOL */,
1409
- default: false,
1410
- },
1411
- {
1412
- no: 17,
1413
- name: "java_generic_services",
1414
- kind: "scalar",
1415
- T: 8 /* ScalarType.BOOL */,
1416
- default: false,
1417
- },
1418
- {
1419
- no: 18,
1420
- name: "py_generic_services",
1421
- kind: "scalar",
1422
- T: 8 /* ScalarType.BOOL */,
1423
- default: false,
1424
- },
1425
- {
1426
- no: 23,
1427
- name: "deprecated",
1428
- kind: "scalar",
1429
- T: 8 /* ScalarType.BOOL */,
1430
- default: false,
1431
- },
1432
- {
1433
- no: 31,
1434
- name: "cc_enable_arenas",
1435
- kind: "scalar",
1436
- T: 8 /* ScalarType.BOOL */,
1437
- default: true,
1438
- },
1439
- {
1440
- no: 36,
1441
- name: "objc_class_prefix",
1442
- kind: "scalar",
1443
- T: 9 /* ScalarType.STRING */,
1444
- },
1445
- {
1446
- no: 37,
1447
- name: "csharp_namespace",
1448
- kind: "scalar",
1449
- T: 9 /* ScalarType.STRING */,
1450
- },
1451
- {
1452
- no: 39,
1453
- name: "swift_prefix",
1454
- kind: "scalar",
1455
- T: 9 /* ScalarType.STRING */,
1456
- },
1457
- {
1458
- no: 40,
1459
- name: "php_class_prefix",
1460
- kind: "scalar",
1461
- T: 9 /* ScalarType.STRING */,
1462
- },
1463
- {
1464
- no: 41,
1465
- name: "php_namespace",
1466
- kind: "scalar",
1467
- T: 9 /* ScalarType.STRING */,
1468
- },
1469
- {
1470
- no: 44,
1471
- name: "php_metadata_namespace",
1472
- kind: "scalar",
1473
- T: 9 /* ScalarType.STRING */,
1474
- },
1475
- {
1476
- no: 45,
1477
- name: "ruby_package",
1478
- kind: "scalar",
1479
- T: 9 /* ScalarType.STRING */,
1480
- },
1481
- { no: 50, name: "features", kind: "message", T: () => FeatureSet },
1482
- {
1483
- no: 999,
1484
- name: "uninterpreted_option",
1485
- kind: "message",
1486
- T: () => UninterpretedOption,
1487
- repeated: true,
1488
- },
946
+ { no: 1, name: "java_package", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
947
+ { no: 8, name: "java_outer_classname", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
948
+ { no: 10, name: "java_multiple_files", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true, default: false },
949
+ { no: 20, name: "java_generate_equals_and_hash", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
950
+ { no: 27, name: "java_string_check_utf8", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true, default: false },
951
+ { no: 9, name: "optimize_for", kind: "enum", T: FileOptions_OptimizeMode_Enum, opt: true, default: FileOptions_OptimizeMode.SPEED },
952
+ { no: 11, name: "go_package", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
953
+ { no: 16, name: "cc_generic_services", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true, default: false },
954
+ { no: 17, name: "java_generic_services", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true, default: false },
955
+ { no: 18, name: "py_generic_services", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true, default: false },
956
+ { no: 23, name: "deprecated", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true, default: false },
957
+ { no: 31, name: "cc_enable_arenas", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true, default: true },
958
+ { no: 36, name: "objc_class_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
959
+ { no: 37, name: "csharp_namespace", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
960
+ { no: 39, name: "swift_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
961
+ { no: 40, name: "php_class_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
962
+ { no: 41, name: "php_namespace", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
963
+ { no: 44, name: "php_metadata_namespace", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
964
+ { no: 45, name: "ruby_package", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
965
+ { no: 50, name: "features", kind: "message", T: () => FeatureSet, opt: true },
966
+ { no: 999, name: "uninterpreted_option", kind: "message", T: () => UninterpretedOption, repeated: true },
1489
967
  ],
1490
968
  packedByDefault: false,
1491
969
  });
1492
970
  export const SourceCodeInfo_Location = createMessageType({
1493
971
  typeName: "google.protobuf.SourceCodeInfo.Location",
1494
972
  fields: [
1495
- {
1496
- no: 1,
1497
- name: "path",
1498
- kind: "scalar",
1499
- T: 5 /* ScalarType.INT32 */,
1500
- repeated: true,
1501
- packed: true,
1502
- },
1503
- {
1504
- no: 2,
1505
- name: "span",
1506
- kind: "scalar",
1507
- T: 5 /* ScalarType.INT32 */,
1508
- repeated: true,
1509
- packed: true,
1510
- },
1511
- {
1512
- no: 3,
1513
- name: "leading_comments",
1514
- kind: "scalar",
1515
- T: 9 /* ScalarType.STRING */,
1516
- },
1517
- {
1518
- no: 4,
1519
- name: "trailing_comments",
1520
- kind: "scalar",
1521
- T: 9 /* ScalarType.STRING */,
1522
- },
1523
- {
1524
- no: 6,
1525
- name: "leading_detached_comments",
1526
- kind: "scalar",
1527
- T: 9 /* ScalarType.STRING */,
1528
- repeated: true,
1529
- },
973
+ { no: 1, name: "path", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true, packed: true },
974
+ { no: 2, name: "span", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true, packed: true },
975
+ { no: 3, name: "leading_comments", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
976
+ { no: 4, name: "trailing_comments", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
977
+ { no: 6, name: "leading_detached_comments", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1530
978
  ],
1531
979
  packedByDefault: false,
1532
980
  });
1533
981
  export const SourceCodeInfo = createMessageType({
1534
982
  typeName: "google.protobuf.SourceCodeInfo",
1535
983
  fields: [
1536
- {
1537
- no: 1,
1538
- name: "location",
1539
- kind: "message",
1540
- T: () => SourceCodeInfo_Location,
1541
- repeated: true,
1542
- },
984
+ { no: 1, name: "location", kind: "message", T: () => SourceCodeInfo_Location, repeated: true },
1543
985
  ],
1544
986
  packedByDefault: false,
1545
987
  });
1546
988
  export const FileDescriptorProto = createMessageType({
1547
989
  typeName: "google.protobuf.FileDescriptorProto",
1548
990
  fields: [
1549
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1550
- { no: 2, name: "package", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1551
- {
1552
- no: 3,
1553
- name: "dependency",
1554
- kind: "scalar",
1555
- T: 9 /* ScalarType.STRING */,
1556
- repeated: true,
1557
- },
1558
- {
1559
- no: 10,
1560
- name: "public_dependency",
1561
- kind: "scalar",
1562
- T: 5 /* ScalarType.INT32 */,
1563
- repeated: true,
1564
- },
1565
- {
1566
- no: 11,
1567
- name: "weak_dependency",
1568
- kind: "scalar",
1569
- T: 5 /* ScalarType.INT32 */,
1570
- repeated: true,
1571
- },
1572
- {
1573
- no: 4,
1574
- name: "message_type",
1575
- kind: "message",
1576
- T: () => DescriptorProto,
1577
- repeated: true,
1578
- },
1579
- {
1580
- no: 5,
1581
- name: "enum_type",
1582
- kind: "message",
1583
- T: () => EnumDescriptorProto,
1584
- repeated: true,
1585
- },
1586
- {
1587
- no: 6,
1588
- name: "service",
1589
- kind: "message",
1590
- T: () => ServiceDescriptorProto,
1591
- repeated: true,
1592
- },
1593
- {
1594
- no: 7,
1595
- name: "extension",
1596
- kind: "message",
1597
- T: () => FieldDescriptorProto,
1598
- repeated: true,
1599
- },
1600
- { no: 8, name: "options", kind: "message", T: () => FileOptions },
1601
- {
1602
- no: 9,
1603
- name: "source_code_info",
1604
- kind: "message",
1605
- T: () => SourceCodeInfo,
1606
- },
1607
- { no: 12, name: "syntax", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1608
- { no: 14, name: "edition", kind: "enum", T: Edition_Enum },
991
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
992
+ { no: 2, name: "package", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
993
+ { no: 3, name: "dependency", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
994
+ { no: 10, name: "public_dependency", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true },
995
+ { no: 11, name: "weak_dependency", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true },
996
+ { no: 4, name: "message_type", kind: "message", T: () => DescriptorProto, repeated: true },
997
+ { no: 5, name: "enum_type", kind: "message", T: () => EnumDescriptorProto, repeated: true },
998
+ { no: 6, name: "service", kind: "message", T: () => ServiceDescriptorProto, repeated: true },
999
+ { no: 7, name: "extension", kind: "message", T: () => FieldDescriptorProto, repeated: true },
1000
+ { no: 8, name: "options", kind: "message", T: () => FileOptions, opt: true },
1001
+ { no: 9, name: "source_code_info", kind: "message", T: () => SourceCodeInfo, opt: true },
1002
+ { no: 12, name: "syntax", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1003
+ { no: 14, name: "edition", kind: "enum", T: Edition_Enum, opt: true },
1609
1004
  ],
1610
1005
  packedByDefault: false,
1611
1006
  });
1612
1007
  export const FileDescriptorSet = createMessageType({
1613
1008
  typeName: "google.protobuf.FileDescriptorSet",
1614
1009
  fields: [
1615
- {
1616
- no: 1,
1617
- name: "file",
1618
- kind: "message",
1619
- T: () => FileDescriptorProto,
1620
- repeated: true,
1621
- },
1010
+ { no: 1, name: "file", kind: "message", T: () => FileDescriptorProto, repeated: true },
1622
1011
  ],
1623
1012
  packedByDefault: false,
1624
1013
  });
1625
1014
  export const FeatureSetDefaults_FeatureSetEditionDefault = createMessageType({
1626
1015
  typeName: "google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault",
1627
1016
  fields: [
1628
- { no: 3, name: "edition", kind: "enum", T: Edition_Enum },
1629
- { no: 2, name: "features", kind: "message", T: () => FeatureSet },
1017
+ { no: 3, name: "edition", kind: "enum", T: Edition_Enum, opt: true },
1018
+ { no: 2, name: "features", kind: "message", T: () => FeatureSet, opt: true },
1630
1019
  ],
1631
1020
  packedByDefault: false,
1632
1021
  });
1633
1022
  export const FeatureSetDefaults = createMessageType({
1634
1023
  typeName: "google.protobuf.FeatureSetDefaults",
1635
1024
  fields: [
1636
- {
1637
- no: 1,
1638
- name: "defaults",
1639
- kind: "message",
1640
- T: () => FeatureSetDefaults_FeatureSetEditionDefault,
1641
- repeated: true,
1642
- },
1643
- { no: 4, name: "minimum_edition", kind: "enum", T: Edition_Enum },
1644
- { no: 5, name: "maximum_edition", kind: "enum", T: Edition_Enum },
1025
+ { no: 1, name: "defaults", kind: "message", T: () => FeatureSetDefaults_FeatureSetEditionDefault, repeated: true },
1026
+ { no: 4, name: "minimum_edition", kind: "enum", T: Edition_Enum, opt: true },
1027
+ { no: 5, name: "maximum_edition", kind: "enum", T: Edition_Enum, opt: true },
1645
1028
  ],
1646
1029
  packedByDefault: false,
1647
1030
  });
1648
1031
  export const GeneratedCodeInfo_Annotation = createMessageType({
1649
1032
  typeName: "google.protobuf.GeneratedCodeInfo.Annotation",
1650
1033
  fields: [
1651
- {
1652
- no: 1,
1653
- name: "path",
1654
- kind: "scalar",
1655
- T: 5 /* ScalarType.INT32 */,
1656
- repeated: true,
1657
- packed: true,
1658
- },
1659
- {
1660
- no: 2,
1661
- name: "source_file",
1662
- kind: "scalar",
1663
- T: 9 /* ScalarType.STRING */,
1664
- },
1665
- { no: 3, name: "begin", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1666
- { no: 4, name: "end", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1667
- {
1668
- no: 5,
1669
- name: "semantic",
1670
- kind: "enum",
1671
- T: GeneratedCodeInfo_Annotation_Semantic_Enum,
1672
- },
1034
+ { no: 1, name: "path", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true, packed: true },
1035
+ { no: 2, name: "source_file", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1036
+ { no: 3, name: "begin", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
1037
+ { no: 4, name: "end", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
1038
+ { no: 5, name: "semantic", kind: "enum", T: GeneratedCodeInfo_Annotation_Semantic_Enum, opt: true },
1673
1039
  ],
1674
1040
  packedByDefault: false,
1675
1041
  });
1676
1042
  export const GeneratedCodeInfo = createMessageType({
1677
1043
  typeName: "google.protobuf.GeneratedCodeInfo",
1678
1044
  fields: [
1679
- {
1680
- no: 1,
1681
- name: "annotation",
1682
- kind: "message",
1683
- T: () => GeneratedCodeInfo_Annotation,
1684
- repeated: true,
1685
- },
1045
+ { no: 1, name: "annotation", kind: "message", T: () => GeneratedCodeInfo_Annotation, repeated: true },
1686
1046
  ],
1687
1047
  packedByDefault: false,
1688
1048
  });