@aptre/protobuf-es-lite 0.2.11 → 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,20 +694,20 @@ 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
- { no: 1, name: "field_presence", kind: "enum", T: FeatureSet_FieldPresence_Enum },
734
- { no: 2, name: "enum_type", kind: "enum", T: FeatureSet_EnumType_Enum },
735
- { no: 3, name: "repeated_field_encoding", kind: "enum", T: FeatureSet_RepeatedFieldEncoding_Enum },
736
- { no: 4, name: "utf8_validation", kind: "enum", T: FeatureSet_Utf8Validation_Enum },
737
- { no: 5, name: "message_encoding", kind: "enum", T: FeatureSet_MessageEncoding_Enum },
738
- { 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 },
739
711
  ],
740
712
  packedByDefault: false,
741
713
  });
@@ -751,30 +723,30 @@ export const UninterpretedOption = createMessageType({
751
723
  typeName: "google.protobuf.UninterpretedOption",
752
724
  fields: [
753
725
  { no: 2, name: "name", kind: "message", T: () => UninterpretedOption_NamePart, repeated: true },
754
- { no: 3, name: "identifier_value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
755
- { no: 4, name: "positive_int_value", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
756
- { no: 5, name: "negative_int_value", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
757
- { no: 6, name: "double_value", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
758
- { no: 7, name: "string_value", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
759
- { no: 8, name: "aggregate_value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
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 },
760
732
  ],
761
733
  packedByDefault: false,
762
734
  });
763
735
  export const FieldOptions = createMessageType({
764
736
  typeName: "google.protobuf.FieldOptions",
765
737
  fields: [
766
- { no: 1, name: "ctype", kind: "enum", T: FieldOptions_CType_Enum, default: FieldOptions_CType.STRING },
767
- { no: 2, name: "packed", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
768
- { no: 6, name: "jstype", kind: "enum", T: FieldOptions_JSType_Enum, default: FieldOptions_JSType.JS_NORMAL },
769
- { no: 5, name: "lazy", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
770
- { no: 15, name: "unverified_lazy", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
771
- { no: 3, name: "deprecated", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
772
- { no: 10, name: "weak", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
773
- { no: 16, name: "debug_redact", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
774
- { no: 17, name: "retention", kind: "enum", T: FieldOptions_OptionRetention_Enum },
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 },
775
747
  { no: 19, name: "targets", kind: "enum", T: FieldOptions_OptionTargetType_Enum, repeated: true },
776
748
  { no: 20, name: "edition_defaults", kind: "message", T: () => FieldOptions_EditionDefault, repeated: true },
777
- { no: 21, name: "features", kind: "message", T: () => FeatureSet },
749
+ { no: 21, name: "features", kind: "message", T: () => FeatureSet, opt: true },
778
750
  { no: 999, name: "uninterpreted_option", kind: "message", T: () => UninterpretedOption, repeated: true },
779
751
  ],
780
752
  packedByDefault: false,
@@ -782,26 +754,26 @@ export const FieldOptions = createMessageType({
782
754
  export const FieldDescriptorProto = createMessageType({
783
755
  typeName: "google.protobuf.FieldDescriptorProto",
784
756
  fields: [
785
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
786
- { no: 3, name: "number", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
787
- { no: 4, name: "label", kind: "enum", T: FieldDescriptorProto_Label_Enum },
788
- { no: 5, name: "type", kind: "enum", T: FieldDescriptorProto_Type_Enum },
789
- { no: 6, name: "type_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
790
- { no: 2, name: "extendee", kind: "scalar", T: 9 /* ScalarType.STRING */ },
791
- { no: 7, name: "default_value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
792
- { no: 9, name: "oneof_index", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
793
- { no: 10, name: "json_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
794
- { no: 8, name: "options", kind: "message", T: () => FieldOptions },
795
- { no: 17, name: "proto3_optional", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
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 },
796
768
  ],
797
769
  packedByDefault: false,
798
770
  });
799
771
  export const EnumValueOptions = createMessageType({
800
772
  typeName: "google.protobuf.EnumValueOptions",
801
773
  fields: [
802
- { no: 1, name: "deprecated", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
803
- { no: 2, name: "features", kind: "message", T: () => FeatureSet },
804
- { no: 3, name: "debug_redact", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
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 },
805
777
  { no: 999, name: "uninterpreted_option", kind: "message", T: () => UninterpretedOption, repeated: true },
806
778
  ],
807
779
  packedByDefault: false,
@@ -809,19 +781,19 @@ export const EnumValueOptions = createMessageType({
809
781
  export const EnumValueDescriptorProto = createMessageType({
810
782
  typeName: "google.protobuf.EnumValueDescriptorProto",
811
783
  fields: [
812
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
813
- { no: 2, name: "number", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
814
- { 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 },
815
787
  ],
816
788
  packedByDefault: false,
817
789
  });
818
790
  export const EnumOptions = createMessageType({
819
791
  typeName: "google.protobuf.EnumOptions",
820
792
  fields: [
821
- { no: 2, name: "allow_alias", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
822
- { no: 3, name: "deprecated", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
823
- { no: 6, name: "deprecated_legacy_json_field_conflicts", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
824
- { no: 7, name: "features", kind: "message", T: () => FeatureSet },
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 },
825
797
  { no: 999, name: "uninterpreted_option", kind: "message", T: () => UninterpretedOption, repeated: true },
826
798
  ],
827
799
  packedByDefault: false,
@@ -829,17 +801,17 @@ export const EnumOptions = createMessageType({
829
801
  export const EnumDescriptorProto_EnumReservedRange = createMessageType({
830
802
  typeName: "google.protobuf.EnumDescriptorProto.EnumReservedRange",
831
803
  fields: [
832
- { no: 1, name: "start", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
833
- { 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 },
834
806
  ],
835
807
  packedByDefault: false,
836
808
  });
837
809
  export const EnumDescriptorProto = createMessageType({
838
810
  typeName: "google.protobuf.EnumDescriptorProto",
839
811
  fields: [
840
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
812
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
841
813
  { no: 2, name: "value", kind: "message", T: () => EnumValueDescriptorProto, repeated: true },
842
- { no: 3, name: "options", kind: "message", T: () => EnumOptions },
814
+ { no: 3, name: "options", kind: "message", T: () => EnumOptions, opt: true },
843
815
  { no: 4, name: "reserved_range", kind: "message", T: () => EnumDescriptorProto_EnumReservedRange, repeated: true },
844
816
  { no: 5, name: "reserved_name", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
845
817
  ],
@@ -848,11 +820,11 @@ export const EnumDescriptorProto = createMessageType({
848
820
  export const ExtensionRangeOptions_Declaration = createMessageType({
849
821
  typeName: "google.protobuf.ExtensionRangeOptions.Declaration",
850
822
  fields: [
851
- { no: 1, name: "number", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
852
- { no: 2, name: "full_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
853
- { no: 3, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
854
- { no: 5, name: "reserved", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
855
- { 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 },
856
828
  ],
857
829
  packedByDefault: false,
858
830
  });
@@ -861,24 +833,24 @@ export const ExtensionRangeOptions = createMessageType({
861
833
  fields: [
862
834
  { no: 999, name: "uninterpreted_option", kind: "message", T: () => UninterpretedOption, repeated: true },
863
835
  { no: 2, name: "declaration", kind: "message", T: () => ExtensionRangeOptions_Declaration, repeated: true },
864
- { no: 50, name: "features", kind: "message", T: () => FeatureSet },
865
- { no: 3, name: "verification", kind: "enum", T: ExtensionRangeOptions_VerificationState_Enum, default: ExtensionRangeOptions_VerificationState.UNVERIFIED },
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 },
866
838
  ],
867
839
  packedByDefault: false,
868
840
  });
869
841
  export const DescriptorProto_ExtensionRange = createMessageType({
870
842
  typeName: "google.protobuf.DescriptorProto.ExtensionRange",
871
843
  fields: [
872
- { no: 1, name: "start", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
873
- { no: 2, name: "end", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
874
- { no: 3, name: "options", kind: "message", T: () => ExtensionRangeOptions },
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 },
875
847
  ],
876
848
  packedByDefault: false,
877
849
  });
878
850
  export const OneofOptions = createMessageType({
879
851
  typeName: "google.protobuf.OneofOptions",
880
852
  fields: [
881
- { no: 1, name: "features", kind: "message", T: () => FeatureSet },
853
+ { no: 1, name: "features", kind: "message", T: () => FeatureSet, opt: true },
882
854
  { no: 999, name: "uninterpreted_option", kind: "message", T: () => UninterpretedOption, repeated: true },
883
855
  ],
884
856
  packedByDefault: false,
@@ -886,20 +858,20 @@ export const OneofOptions = createMessageType({
886
858
  export const OneofDescriptorProto = createMessageType({
887
859
  typeName: "google.protobuf.OneofDescriptorProto",
888
860
  fields: [
889
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
890
- { 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 },
891
863
  ],
892
864
  packedByDefault: false,
893
865
  });
894
866
  export const MessageOptions = createMessageType({
895
867
  typeName: "google.protobuf.MessageOptions",
896
868
  fields: [
897
- { no: 1, name: "message_set_wire_format", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
898
- { no: 2, name: "no_standard_descriptor_accessor", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
899
- { no: 3, name: "deprecated", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
900
- { no: 7, name: "map_entry", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
901
- { no: 11, name: "deprecated_legacy_json_field_conflicts", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
902
- { no: 12, name: "features", kind: "message", T: () => FeatureSet },
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 },
903
875
  { no: 999, name: "uninterpreted_option", kind: "message", T: () => UninterpretedOption, repeated: true },
904
876
  ],
905
877
  packedByDefault: false,
@@ -907,22 +879,22 @@ export const MessageOptions = createMessageType({
907
879
  export const DescriptorProto_ReservedRange = createMessageType({
908
880
  typeName: "google.protobuf.DescriptorProto.ReservedRange",
909
881
  fields: [
910
- { no: 1, name: "start", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
911
- { 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 },
912
884
  ],
913
885
  packedByDefault: false,
914
886
  });
915
887
  export const DescriptorProto = createMessageType({
916
888
  typeName: "google.protobuf.DescriptorProto",
917
889
  fields: [
918
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
890
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
919
891
  { no: 2, name: "field", kind: "message", T: () => FieldDescriptorProto, repeated: true },
920
892
  { no: 6, name: "extension", kind: "message", T: () => FieldDescriptorProto, repeated: true },
921
893
  { no: 3, name: "nested_type", kind: "message", T: () => DescriptorProto, repeated: true },
922
894
  { no: 4, name: "enum_type", kind: "message", T: () => EnumDescriptorProto, repeated: true },
923
895
  { no: 5, name: "extension_range", kind: "message", T: () => DescriptorProto_ExtensionRange, repeated: true },
924
896
  { no: 8, name: "oneof_decl", kind: "message", T: () => OneofDescriptorProto, repeated: true },
925
- { no: 7, name: "options", kind: "message", T: () => MessageOptions },
897
+ { no: 7, name: "options", kind: "message", T: () => MessageOptions, opt: true },
926
898
  { no: 9, name: "reserved_range", kind: "message", T: () => DescriptorProto_ReservedRange, repeated: true },
927
899
  { no: 10, name: "reserved_name", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
928
900
  ],
@@ -931,9 +903,9 @@ export const DescriptorProto = createMessageType({
931
903
  export const MethodOptions = createMessageType({
932
904
  typeName: "google.protobuf.MethodOptions",
933
905
  fields: [
934
- { no: 33, name: "deprecated", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
935
- { no: 34, name: "idempotency_level", kind: "enum", T: MethodOptions_IdempotencyLevel_Enum, default: MethodOptions_IdempotencyLevel.IDEMPOTENCY_UNKNOWN },
936
- { no: 35, name: "features", kind: "message", T: () => FeatureSet },
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 },
937
909
  { no: 999, name: "uninterpreted_option", kind: "message", T: () => UninterpretedOption, repeated: true },
938
910
  ],
939
911
  packedByDefault: false,
@@ -941,20 +913,20 @@ export const MethodOptions = createMessageType({
941
913
  export const MethodDescriptorProto = createMessageType({
942
914
  typeName: "google.protobuf.MethodDescriptorProto",
943
915
  fields: [
944
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
945
- { no: 2, name: "input_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
946
- { no: 3, name: "output_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
947
- { no: 4, name: "options", kind: "message", T: () => MethodOptions },
948
- { no: 5, name: "client_streaming", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
949
- { no: 6, name: "server_streaming", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
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 },
950
922
  ],
951
923
  packedByDefault: false,
952
924
  });
953
925
  export const ServiceOptions = createMessageType({
954
926
  typeName: "google.protobuf.ServiceOptions",
955
927
  fields: [
956
- { no: 34, name: "features", kind: "message", T: () => FeatureSet },
957
- { no: 33, name: "deprecated", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
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 },
958
930
  { no: 999, name: "uninterpreted_option", kind: "message", T: () => UninterpretedOption, repeated: true },
959
931
  ],
960
932
  packedByDefault: false,
@@ -962,35 +934,35 @@ export const ServiceOptions = createMessageType({
962
934
  export const ServiceDescriptorProto = createMessageType({
963
935
  typeName: "google.protobuf.ServiceDescriptorProto",
964
936
  fields: [
965
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
937
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
966
938
  { no: 2, name: "method", kind: "message", T: () => MethodDescriptorProto, repeated: true },
967
- { no: 3, name: "options", kind: "message", T: () => ServiceOptions },
939
+ { no: 3, name: "options", kind: "message", T: () => ServiceOptions, opt: true },
968
940
  ],
969
941
  packedByDefault: false,
970
942
  });
971
943
  export const FileOptions = createMessageType({
972
944
  typeName: "google.protobuf.FileOptions",
973
945
  fields: [
974
- { no: 1, name: "java_package", kind: "scalar", T: 9 /* ScalarType.STRING */ },
975
- { no: 8, name: "java_outer_classname", kind: "scalar", T: 9 /* ScalarType.STRING */ },
976
- { no: 10, name: "java_multiple_files", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
977
- { no: 20, name: "java_generate_equals_and_hash", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
978
- { no: 27, name: "java_string_check_utf8", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
979
- { no: 9, name: "optimize_for", kind: "enum", T: FileOptions_OptimizeMode_Enum, default: FileOptions_OptimizeMode.SPEED },
980
- { no: 11, name: "go_package", kind: "scalar", T: 9 /* ScalarType.STRING */ },
981
- { no: 16, name: "cc_generic_services", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
982
- { no: 17, name: "java_generic_services", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
983
- { no: 18, name: "py_generic_services", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
984
- { no: 23, name: "deprecated", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
985
- { no: 31, name: "cc_enable_arenas", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: true },
986
- { no: 36, name: "objc_class_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */ },
987
- { no: 37, name: "csharp_namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
988
- { no: 39, name: "swift_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */ },
989
- { no: 40, name: "php_class_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */ },
990
- { no: 41, name: "php_namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
991
- { no: 44, name: "php_metadata_namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
992
- { no: 45, name: "ruby_package", kind: "scalar", T: 9 /* ScalarType.STRING */ },
993
- { no: 50, name: "features", kind: "message", T: () => FeatureSet },
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 },
994
966
  { no: 999, name: "uninterpreted_option", kind: "message", T: () => UninterpretedOption, repeated: true },
995
967
  ],
996
968
  packedByDefault: false,
@@ -1000,8 +972,8 @@ export const SourceCodeInfo_Location = createMessageType({
1000
972
  fields: [
1001
973
  { no: 1, name: "path", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true, packed: true },
1002
974
  { no: 2, name: "span", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true, packed: true },
1003
- { no: 3, name: "leading_comments", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1004
- { no: 4, name: "trailing_comments", kind: "scalar", T: 9 /* ScalarType.STRING */ },
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 },
1005
977
  { no: 6, name: "leading_detached_comments", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1006
978
  ],
1007
979
  packedByDefault: false,
@@ -1016,8 +988,8 @@ export const SourceCodeInfo = createMessageType({
1016
988
  export const FileDescriptorProto = createMessageType({
1017
989
  typeName: "google.protobuf.FileDescriptorProto",
1018
990
  fields: [
1019
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1020
- { no: 2, name: "package", kind: "scalar", T: 9 /* ScalarType.STRING */ },
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 },
1021
993
  { no: 3, name: "dependency", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1022
994
  { no: 10, name: "public_dependency", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true },
1023
995
  { no: 11, name: "weak_dependency", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true },
@@ -1025,10 +997,10 @@ export const FileDescriptorProto = createMessageType({
1025
997
  { no: 5, name: "enum_type", kind: "message", T: () => EnumDescriptorProto, repeated: true },
1026
998
  { no: 6, name: "service", kind: "message", T: () => ServiceDescriptorProto, repeated: true },
1027
999
  { no: 7, name: "extension", kind: "message", T: () => FieldDescriptorProto, repeated: true },
1028
- { no: 8, name: "options", kind: "message", T: () => FileOptions },
1029
- { no: 9, name: "source_code_info", kind: "message", T: () => SourceCodeInfo },
1030
- { no: 12, name: "syntax", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1031
- { no: 14, name: "edition", kind: "enum", T: Edition_Enum },
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 },
1032
1004
  ],
1033
1005
  packedByDefault: false,
1034
1006
  });
@@ -1042,8 +1014,8 @@ export const FileDescriptorSet = createMessageType({
1042
1014
  export const FeatureSetDefaults_FeatureSetEditionDefault = createMessageType({
1043
1015
  typeName: "google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault",
1044
1016
  fields: [
1045
- { no: 3, name: "edition", kind: "enum", T: Edition_Enum },
1046
- { 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 },
1047
1019
  ],
1048
1020
  packedByDefault: false,
1049
1021
  });
@@ -1051,8 +1023,8 @@ export const FeatureSetDefaults = createMessageType({
1051
1023
  typeName: "google.protobuf.FeatureSetDefaults",
1052
1024
  fields: [
1053
1025
  { no: 1, name: "defaults", kind: "message", T: () => FeatureSetDefaults_FeatureSetEditionDefault, repeated: true },
1054
- { no: 4, name: "minimum_edition", kind: "enum", T: Edition_Enum },
1055
- { no: 5, name: "maximum_edition", kind: "enum", T: Edition_Enum },
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 },
1056
1028
  ],
1057
1029
  packedByDefault: false,
1058
1030
  });
@@ -1060,10 +1032,10 @@ export const GeneratedCodeInfo_Annotation = createMessageType({
1060
1032
  typeName: "google.protobuf.GeneratedCodeInfo.Annotation",
1061
1033
  fields: [
1062
1034
  { no: 1, name: "path", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true, packed: true },
1063
- { no: 2, name: "source_file", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1064
- { no: 3, name: "begin", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1065
- { no: 4, name: "end", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1066
- { no: 5, name: "semantic", kind: "enum", T: GeneratedCodeInfo_Annotation_Semantic_Enum },
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 },
1067
1039
  ],
1068
1040
  packedByDefault: false,
1069
1041
  });