@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.
- package/dist/google/protobuf/any.pb.d.ts +2 -5
- package/dist/google/protobuf/api.pb.d.ts +16 -35
- package/dist/google/protobuf/api.pb.js +7 -45
- package/dist/google/protobuf/descriptor.pb.d.ts +163 -302
- package/dist/google/protobuf/descriptor.pb.js +163 -803
- package/dist/google/protobuf/duration.pb.d.ts +2 -5
- package/dist/google/protobuf/empty.pb.d.ts +0 -1
- package/dist/google/protobuf/source_context.pb.d.ts +1 -3
- package/dist/google/protobuf/struct.pb.d.ts +56 -48
- package/dist/google/protobuf/struct.pb.js +7 -25
- package/dist/google/protobuf/timestamp.pb.d.ts +2 -5
- package/dist/google/protobuf/type.pb.d.ts +28 -90
- package/dist/google/protobuf/type.pb.js +7 -77
- package/dist/google/protobuf/wrappers.pb.d.ts +9 -27
- package/dist/message.d.ts +9 -9
- package/package.json +1 -1
|
@@ -4,14 +4,12 @@ export declare const protobufPackage = "google.protobuf";
|
|
|
4
4
|
/**
|
|
5
5
|
* The full set of known editions.
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
7
|
* @generated from enum google.protobuf.Edition
|
|
9
8
|
*/
|
|
10
9
|
export declare enum Edition {
|
|
11
10
|
/**
|
|
12
11
|
* A placeholder for an unknown edition value.
|
|
13
12
|
*
|
|
14
|
-
*
|
|
15
13
|
* @generated from enum value: EDITION_UNKNOWN = 0;
|
|
16
14
|
*/
|
|
17
15
|
EDITION_UNKNOWN = 0,
|
|
@@ -21,7 +19,6 @@ export declare enum Edition {
|
|
|
21
19
|
* files, but feature definitions must supply proto2/proto3 defaults for
|
|
22
20
|
* backwards compatibility.
|
|
23
21
|
*
|
|
24
|
-
*
|
|
25
22
|
* @generated from enum value: EDITION_PROTO2 = 998;
|
|
26
23
|
*/
|
|
27
24
|
EDITION_PROTO2 = 998,
|
|
@@ -34,7 +31,6 @@ export declare enum Edition {
|
|
|
34
31
|
* should not be depended on, but they will always be time-ordered for easy
|
|
35
32
|
* comparison.
|
|
36
33
|
*
|
|
37
|
-
*
|
|
38
34
|
* @generated from enum value: EDITION_2023 = 1000;
|
|
39
35
|
*/
|
|
40
36
|
EDITION_2023 = 1000,
|
|
@@ -46,7 +42,6 @@ export declare enum Edition {
|
|
|
46
42
|
* Placeholder editions for testing feature resolution. These should not be
|
|
47
43
|
* used or relyed on outside of tests.
|
|
48
44
|
*
|
|
49
|
-
*
|
|
50
45
|
* @generated from enum value: EDITION_1_TEST_ONLY = 1;
|
|
51
46
|
*/
|
|
52
47
|
EDITION_1_TEST_ONLY = 1,
|
|
@@ -71,7 +66,6 @@ export declare enum Edition {
|
|
|
71
66
|
* ever be used by plugins that can expect to never require any changes to
|
|
72
67
|
* support a new edition.
|
|
73
68
|
*
|
|
74
|
-
*
|
|
75
69
|
* @generated from enum value: EDITION_MAX = 2147483647;
|
|
76
70
|
*/
|
|
77
71
|
EDITION_MAX = 2147483647
|
|
@@ -80,14 +74,12 @@ export declare const Edition_Enum: import("../../enum.js").EnumType;
|
|
|
80
74
|
/**
|
|
81
75
|
* The verification state of the extension range.
|
|
82
76
|
*
|
|
83
|
-
*
|
|
84
77
|
* @generated from enum google.protobuf.ExtensionRangeOptions.VerificationState
|
|
85
78
|
*/
|
|
86
79
|
export declare enum ExtensionRangeOptions_VerificationState {
|
|
87
80
|
/**
|
|
88
81
|
* All the extensions of the range must be declared.
|
|
89
82
|
*
|
|
90
|
-
*
|
|
91
83
|
* @generated from enum value: DECLARATION = 0;
|
|
92
84
|
*/
|
|
93
85
|
DECLARATION = 0,
|
|
@@ -105,7 +97,6 @@ export declare enum FieldDescriptorProto_Type {
|
|
|
105
97
|
* 0 is reserved for errors.
|
|
106
98
|
* Order is weird for historical reasons.
|
|
107
99
|
*
|
|
108
|
-
*
|
|
109
100
|
* @generated from enum value: TYPE_DOUBLE = 1;
|
|
110
101
|
*/
|
|
111
102
|
DOUBLE = 1,
|
|
@@ -117,7 +108,6 @@ export declare enum FieldDescriptorProto_Type {
|
|
|
117
108
|
* Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if
|
|
118
109
|
* negative values are likely.
|
|
119
110
|
*
|
|
120
|
-
*
|
|
121
111
|
* @generated from enum value: TYPE_INT64 = 3;
|
|
122
112
|
*/
|
|
123
113
|
INT64 = 3,
|
|
@@ -129,7 +119,6 @@ export declare enum FieldDescriptorProto_Type {
|
|
|
129
119
|
* Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if
|
|
130
120
|
* negative values are likely.
|
|
131
121
|
*
|
|
132
|
-
*
|
|
133
122
|
* @generated from enum value: TYPE_INT32 = 5;
|
|
134
123
|
*/
|
|
135
124
|
INT32 = 5,
|
|
@@ -156,7 +145,6 @@ export declare enum FieldDescriptorProto_Type {
|
|
|
156
145
|
* treat group fields as unknown fields. In Editions, the group wire format
|
|
157
146
|
* can be enabled via the `message_encoding` feature.
|
|
158
147
|
*
|
|
159
|
-
*
|
|
160
148
|
* @generated from enum value: TYPE_GROUP = 10;
|
|
161
149
|
*/
|
|
162
150
|
GROUP = 10,
|
|
@@ -169,7 +157,6 @@ export declare enum FieldDescriptorProto_Type {
|
|
|
169
157
|
/**
|
|
170
158
|
* New in version 2.
|
|
171
159
|
*
|
|
172
|
-
*
|
|
173
160
|
* @generated from enum value: TYPE_BYTES = 12;
|
|
174
161
|
*/
|
|
175
162
|
BYTES = 12,
|
|
@@ -210,7 +197,6 @@ export declare enum FieldDescriptorProto_Label {
|
|
|
210
197
|
/**
|
|
211
198
|
* 0 is reserved for errors
|
|
212
199
|
*
|
|
213
|
-
*
|
|
214
200
|
* @generated from enum value: LABEL_OPTIONAL = 1;
|
|
215
201
|
*/
|
|
216
202
|
OPTIONAL = 1,
|
|
@@ -223,7 +209,6 @@ export declare enum FieldDescriptorProto_Label {
|
|
|
223
209
|
* it's explicitly prohibited. In Editions, the `field_presence` feature
|
|
224
210
|
* can be used to get this behavior.
|
|
225
211
|
*
|
|
226
|
-
*
|
|
227
212
|
* @generated from enum value: LABEL_REQUIRED = 2;
|
|
228
213
|
*/
|
|
229
214
|
REQUIRED = 2
|
|
@@ -232,7 +217,6 @@ export declare const FieldDescriptorProto_Label_Enum: import("../../enum.js").En
|
|
|
232
217
|
/**
|
|
233
218
|
* Generated classes can be optimized for speed or code size.
|
|
234
219
|
*
|
|
235
|
-
*
|
|
236
220
|
* @generated from enum google.protobuf.FileOptions.OptimizeMode
|
|
237
221
|
*/
|
|
238
222
|
export declare enum FileOptions_OptimizeMode {
|
|
@@ -265,7 +249,6 @@ export declare enum FieldOptions_CType {
|
|
|
265
249
|
/**
|
|
266
250
|
* Default mode.
|
|
267
251
|
*
|
|
268
|
-
*
|
|
269
252
|
* @generated from enum value: STRING = 0;
|
|
270
253
|
*/
|
|
271
254
|
STRING = 0,
|
|
@@ -277,7 +260,6 @@ export declare enum FieldOptions_CType {
|
|
|
277
260
|
* Cord, or when parsing with aliasing enabled, as the parsed Cord may then
|
|
278
261
|
* alias the original buffer.
|
|
279
262
|
*
|
|
280
|
-
*
|
|
281
263
|
* @generated from enum value: CORD = 1;
|
|
282
264
|
*/
|
|
283
265
|
CORD = 1,
|
|
@@ -294,21 +276,18 @@ export declare enum FieldOptions_JSType {
|
|
|
294
276
|
/**
|
|
295
277
|
* Use the default type.
|
|
296
278
|
*
|
|
297
|
-
*
|
|
298
279
|
* @generated from enum value: JS_NORMAL = 0;
|
|
299
280
|
*/
|
|
300
281
|
JS_NORMAL = 0,
|
|
301
282
|
/**
|
|
302
283
|
* Use JavaScript strings.
|
|
303
284
|
*
|
|
304
|
-
*
|
|
305
285
|
* @generated from enum value: JS_STRING = 1;
|
|
306
286
|
*/
|
|
307
287
|
JS_STRING = 1,
|
|
308
288
|
/**
|
|
309
289
|
* Use JavaScript numbers.
|
|
310
290
|
*
|
|
311
|
-
*
|
|
312
291
|
* @generated from enum value: JS_NUMBER = 2;
|
|
313
292
|
*/
|
|
314
293
|
JS_NUMBER = 2
|
|
@@ -319,7 +298,6 @@ export declare const FieldOptions_JSType_Enum: import("../../enum.js").EnumType;
|
|
|
319
298
|
* Note: as of January 2023, support for this is in progress and does not yet
|
|
320
299
|
* have an effect (b/264593489).
|
|
321
300
|
*
|
|
322
|
-
*
|
|
323
301
|
* @generated from enum google.protobuf.FieldOptions.OptionRetention
|
|
324
302
|
*/
|
|
325
303
|
export declare enum FieldOptions_OptionRetention {
|
|
@@ -343,7 +321,6 @@ export declare const FieldOptions_OptionRetention_Enum: import("../../enum.js").
|
|
|
343
321
|
* option on any kind of entity. Note: as of January 2023, support for this is
|
|
344
322
|
* in progress and does not yet have an effect (b/264593489).
|
|
345
323
|
*
|
|
346
|
-
*
|
|
347
324
|
* @generated from enum google.protobuf.FieldOptions.OptionTargetType
|
|
348
325
|
*/
|
|
349
326
|
export declare enum FieldOptions_OptionTargetType {
|
|
@@ -394,7 +371,6 @@ export declare const FieldOptions_OptionTargetType_Enum: import("../../enum.js")
|
|
|
394
371
|
* or neither? HTTP based RPC implementation may choose GET verb for safe
|
|
395
372
|
* methods, and PUT verb for idempotent methods instead of the default POST.
|
|
396
373
|
*
|
|
397
|
-
*
|
|
398
374
|
* @generated from enum google.protobuf.MethodOptions.IdempotencyLevel
|
|
399
375
|
*/
|
|
400
376
|
export declare enum MethodOptions_IdempotencyLevel {
|
|
@@ -532,28 +508,24 @@ export declare const FeatureSet_JsonFormat_Enum: import("../../enum.js").EnumTyp
|
|
|
532
508
|
* Represents the identified object's effect on the element in the original
|
|
533
509
|
* .proto file.
|
|
534
510
|
*
|
|
535
|
-
*
|
|
536
511
|
* @generated from enum google.protobuf.GeneratedCodeInfo.Annotation.Semantic
|
|
537
512
|
*/
|
|
538
513
|
export declare enum GeneratedCodeInfo_Annotation_Semantic {
|
|
539
514
|
/**
|
|
540
515
|
* There is no effect or the effect is indescribable.
|
|
541
516
|
*
|
|
542
|
-
*
|
|
543
517
|
* @generated from enum value: NONE = 0;
|
|
544
518
|
*/
|
|
545
519
|
NONE = 0,
|
|
546
520
|
/**
|
|
547
521
|
* The element is set or otherwise mutated.
|
|
548
522
|
*
|
|
549
|
-
*
|
|
550
523
|
* @generated from enum value: SET = 1;
|
|
551
524
|
*/
|
|
552
525
|
SET = 1,
|
|
553
526
|
/**
|
|
554
527
|
* An alias to the element is returned.
|
|
555
528
|
*
|
|
556
|
-
*
|
|
557
529
|
* @generated from enum value: ALIAS = 2;
|
|
558
530
|
*/
|
|
559
531
|
ALIAS = 2
|
|
@@ -564,13 +536,13 @@ export declare const GeneratedCodeInfo_Annotation_Semantic_Enum: import("../../e
|
|
|
564
536
|
*/
|
|
565
537
|
export type FieldOptions_EditionDefault = Message<{
|
|
566
538
|
/**
|
|
567
|
-
* @generated from field: google.protobuf.Edition edition = 3
|
|
539
|
+
* @generated from field: optional google.protobuf.Edition edition = 3;
|
|
568
540
|
*/
|
|
569
541
|
edition?: Edition;
|
|
570
542
|
/**
|
|
571
543
|
* Textproto value.
|
|
572
544
|
*
|
|
573
|
-
* @generated from field: string value = 2
|
|
545
|
+
* @generated from field: optional string value = 2;
|
|
574
546
|
*/
|
|
575
547
|
value?: string;
|
|
576
548
|
}>;
|
|
@@ -583,32 +555,31 @@ export declare const FieldOptions_EditionDefault: MessageType<FieldOptions_Editi
|
|
|
583
555
|
* be designed and implemented to handle this, hopefully before we ever hit a
|
|
584
556
|
* conflict here.
|
|
585
557
|
*
|
|
586
|
-
*
|
|
587
558
|
* @generated from message google.protobuf.FeatureSet
|
|
588
559
|
*/
|
|
589
560
|
export type FeatureSet = Message<{
|
|
590
561
|
/**
|
|
591
|
-
* @generated from field: google.protobuf.FeatureSet.FieldPresence field_presence = 1
|
|
562
|
+
* @generated from field: optional google.protobuf.FeatureSet.FieldPresence field_presence = 1;
|
|
592
563
|
*/
|
|
593
564
|
fieldPresence?: FeatureSet_FieldPresence;
|
|
594
565
|
/**
|
|
595
|
-
* @generated from field: google.protobuf.FeatureSet.EnumType enum_type = 2
|
|
566
|
+
* @generated from field: optional google.protobuf.FeatureSet.EnumType enum_type = 2;
|
|
596
567
|
*/
|
|
597
568
|
enumType?: FeatureSet_EnumType;
|
|
598
569
|
/**
|
|
599
|
-
* @generated from field: google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3
|
|
570
|
+
* @generated from field: optional google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3;
|
|
600
571
|
*/
|
|
601
572
|
repeatedFieldEncoding?: FeatureSet_RepeatedFieldEncoding;
|
|
602
573
|
/**
|
|
603
|
-
* @generated from field: google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4
|
|
574
|
+
* @generated from field: optional google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4;
|
|
604
575
|
*/
|
|
605
576
|
utf8Validation?: FeatureSet_Utf8Validation;
|
|
606
577
|
/**
|
|
607
|
-
* @generated from field: google.protobuf.FeatureSet.MessageEncoding message_encoding = 5
|
|
578
|
+
* @generated from field: optional google.protobuf.FeatureSet.MessageEncoding message_encoding = 5;
|
|
608
579
|
*/
|
|
609
580
|
messageEncoding?: FeatureSet_MessageEncoding;
|
|
610
581
|
/**
|
|
611
|
-
* @generated from field: google.protobuf.FeatureSet.JsonFormat json_format = 6
|
|
582
|
+
* @generated from field: optional google.protobuf.FeatureSet.JsonFormat json_format = 6;
|
|
612
583
|
*/
|
|
613
584
|
jsonFormat?: FeatureSet_JsonFormat;
|
|
614
585
|
}>;
|
|
@@ -620,16 +591,15 @@ export declare const FeatureSet: MessageType<FeatureSet>;
|
|
|
620
591
|
* E.g.,{ ["foo", false], ["bar.baz", true], ["moo", false] } represents
|
|
621
592
|
* "foo.(bar.baz).moo".
|
|
622
593
|
*
|
|
623
|
-
*
|
|
624
594
|
* @generated from message google.protobuf.UninterpretedOption.NamePart
|
|
625
595
|
*/
|
|
626
596
|
export type UninterpretedOption_NamePart = Message<{
|
|
627
597
|
/**
|
|
628
|
-
* @generated from field: required string name_part = 1
|
|
598
|
+
* @generated from field: required string name_part = 1;
|
|
629
599
|
*/
|
|
630
600
|
namePart?: string;
|
|
631
601
|
/**
|
|
632
|
-
* @generated from field: required bool is_extension = 2
|
|
602
|
+
* @generated from field: required bool is_extension = 2;
|
|
633
603
|
*/
|
|
634
604
|
isExtension?: boolean;
|
|
635
605
|
}>;
|
|
@@ -642,40 +612,38 @@ export declare const UninterpretedOption_NamePart: MessageType<UninterpretedOpti
|
|
|
642
612
|
* or produced by Descriptor::CopyTo()) will never have UninterpretedOptions
|
|
643
613
|
* in them.
|
|
644
614
|
*
|
|
645
|
-
*
|
|
646
615
|
* @generated from message google.protobuf.UninterpretedOption
|
|
647
616
|
*/
|
|
648
617
|
export type UninterpretedOption = Message<{
|
|
649
618
|
/**
|
|
650
|
-
* @generated from field: repeated google.protobuf.UninterpretedOption.NamePart name = 2
|
|
619
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption.NamePart name = 2;
|
|
651
620
|
*/
|
|
652
621
|
name?: UninterpretedOption_NamePart[];
|
|
653
622
|
/**
|
|
654
623
|
* The value of the uninterpreted option, in whatever type the tokenizer
|
|
655
624
|
* identified it as during parsing. Exactly one of these should be set.
|
|
656
625
|
*
|
|
657
|
-
*
|
|
658
|
-
* @generated from field: string identifier_value = 3 [packed = false, default = "", jstype = JS_NORMAL];
|
|
626
|
+
* @generated from field: optional string identifier_value = 3;
|
|
659
627
|
*/
|
|
660
628
|
identifierValue?: string;
|
|
661
629
|
/**
|
|
662
|
-
* @generated from field: uint64 positive_int_value = 4
|
|
630
|
+
* @generated from field: optional uint64 positive_int_value = 4;
|
|
663
631
|
*/
|
|
664
632
|
positiveIntValue?: bigint;
|
|
665
633
|
/**
|
|
666
|
-
* @generated from field: int64 negative_int_value = 5
|
|
634
|
+
* @generated from field: optional int64 negative_int_value = 5;
|
|
667
635
|
*/
|
|
668
636
|
negativeIntValue?: bigint;
|
|
669
637
|
/**
|
|
670
|
-
* @generated from field: double double_value = 6
|
|
638
|
+
* @generated from field: optional double double_value = 6;
|
|
671
639
|
*/
|
|
672
640
|
doubleValue?: number;
|
|
673
641
|
/**
|
|
674
|
-
* @generated from field: bytes string_value = 7
|
|
642
|
+
* @generated from field: optional bytes string_value = 7;
|
|
675
643
|
*/
|
|
676
644
|
stringValue?: Uint8Array;
|
|
677
645
|
/**
|
|
678
|
-
* @generated from field: string aggregate_value = 8
|
|
646
|
+
* @generated from field: optional string aggregate_value = 8;
|
|
679
647
|
*/
|
|
680
648
|
aggregateValue?: string;
|
|
681
649
|
}>;
|
|
@@ -692,8 +660,7 @@ export type FieldOptions = Message<{
|
|
|
692
660
|
* type "bytes" in the open source release -- sorry, we'll try to include
|
|
693
661
|
* other types in a future version!
|
|
694
662
|
*
|
|
695
|
-
*
|
|
696
|
-
* @generated from field: google.protobuf.FieldOptions.CType ctype = 1 [packed = false, default = STRING, jstype = JS_NORMAL];
|
|
663
|
+
* @generated from field: optional google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];
|
|
697
664
|
*/
|
|
698
665
|
ctype?: FieldOptions_CType;
|
|
699
666
|
/**
|
|
@@ -705,8 +672,7 @@ export type FieldOptions = Message<{
|
|
|
705
672
|
* Editions, but the `repeated_field_encoding` feature can be used to control
|
|
706
673
|
* the behavior.
|
|
707
674
|
*
|
|
708
|
-
*
|
|
709
|
-
* @generated from field: bool packed = 2 [packed = false, default = , jstype = JS_NORMAL];
|
|
675
|
+
* @generated from field: optional bool packed = 2;
|
|
710
676
|
*/
|
|
711
677
|
packed?: boolean;
|
|
712
678
|
/**
|
|
@@ -722,8 +688,7 @@ export type FieldOptions = Message<{
|
|
|
722
688
|
* This option is an enum to permit additional types to be added, e.g.
|
|
723
689
|
* goog.math.Integer.
|
|
724
690
|
*
|
|
725
|
-
*
|
|
726
|
-
* @generated from field: google.protobuf.FieldOptions.JSType jstype = 6 [packed = false, default = JS_NORMAL, jstype = JS_NORMAL];
|
|
691
|
+
* @generated from field: optional google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];
|
|
727
692
|
*/
|
|
728
693
|
jstype?: FieldOptions_JSType;
|
|
729
694
|
/**
|
|
@@ -750,8 +715,7 @@ export type FieldOptions = Message<{
|
|
|
750
715
|
* fields. Failed verification would result in parsing failure (except when
|
|
751
716
|
* uninitialized messages are acceptable).
|
|
752
717
|
*
|
|
753
|
-
*
|
|
754
|
-
* @generated from field: bool lazy = 5 [packed = false, default = false, jstype = JS_NORMAL];
|
|
718
|
+
* @generated from field: optional bool lazy = 5 [default = false];
|
|
755
719
|
*/
|
|
756
720
|
lazy?: boolean;
|
|
757
721
|
/**
|
|
@@ -759,8 +723,7 @@ export type FieldOptions = Message<{
|
|
|
759
723
|
* only be used where lazy with verification is prohibitive for performance
|
|
760
724
|
* reasons.
|
|
761
725
|
*
|
|
762
|
-
*
|
|
763
|
-
* @generated from field: bool unverified_lazy = 15 [packed = false, default = false, jstype = JS_NORMAL];
|
|
726
|
+
* @generated from field: optional bool unverified_lazy = 15 [default = false];
|
|
764
727
|
*/
|
|
765
728
|
unverifiedLazy?: boolean;
|
|
766
729
|
/**
|
|
@@ -769,49 +732,44 @@ export type FieldOptions = Message<{
|
|
|
769
732
|
* for accessors, or it will be completely ignored; in the very least, this
|
|
770
733
|
* is a formalization for deprecating fields.
|
|
771
734
|
*
|
|
772
|
-
*
|
|
773
|
-
* @generated from field: bool deprecated = 3 [packed = false, default = false, jstype = JS_NORMAL];
|
|
735
|
+
* @generated from field: optional bool deprecated = 3 [default = false];
|
|
774
736
|
*/
|
|
775
737
|
deprecated?: boolean;
|
|
776
738
|
/**
|
|
777
739
|
* For Google-internal migration only. Do not use.
|
|
778
740
|
*
|
|
779
|
-
*
|
|
780
|
-
* @generated from field: bool weak = 10 [packed = false, default = false, jstype = JS_NORMAL];
|
|
741
|
+
* @generated from field: optional bool weak = 10 [default = false];
|
|
781
742
|
*/
|
|
782
743
|
weak?: boolean;
|
|
783
744
|
/**
|
|
784
745
|
* Indicate that the field value should not be printed out when using debug
|
|
785
746
|
* formats, e.g. when the field contains sensitive credentials.
|
|
786
747
|
*
|
|
787
|
-
*
|
|
788
|
-
* @generated from field: bool debug_redact = 16 [packed = false, default = false, jstype = JS_NORMAL];
|
|
748
|
+
* @generated from field: optional bool debug_redact = 16 [default = false];
|
|
789
749
|
*/
|
|
790
750
|
debugRedact?: boolean;
|
|
791
751
|
/**
|
|
792
|
-
* @generated from field: google.protobuf.FieldOptions.OptionRetention retention = 17
|
|
752
|
+
* @generated from field: optional google.protobuf.FieldOptions.OptionRetention retention = 17;
|
|
793
753
|
*/
|
|
794
754
|
retention?: FieldOptions_OptionRetention;
|
|
795
755
|
/**
|
|
796
|
-
* @generated from field: repeated google.protobuf.FieldOptions.OptionTargetType targets = 19
|
|
756
|
+
* @generated from field: repeated google.protobuf.FieldOptions.OptionTargetType targets = 19;
|
|
797
757
|
*/
|
|
798
758
|
targets?: FieldOptions_OptionTargetType[];
|
|
799
759
|
/**
|
|
800
|
-
* @generated from field: repeated google.protobuf.FieldOptions.EditionDefault edition_defaults = 20
|
|
760
|
+
* @generated from field: repeated google.protobuf.FieldOptions.EditionDefault edition_defaults = 20;
|
|
801
761
|
*/
|
|
802
762
|
editionDefaults?: FieldOptions_EditionDefault[];
|
|
803
763
|
/**
|
|
804
764
|
* Any features defined in the specific edition.
|
|
805
765
|
*
|
|
806
|
-
*
|
|
807
|
-
* @generated from field: google.protobuf.FeatureSet features = 21 [packed = false, default = , jstype = JS_NORMAL];
|
|
766
|
+
* @generated from field: optional google.protobuf.FeatureSet features = 21;
|
|
808
767
|
*/
|
|
809
768
|
features?: FeatureSet;
|
|
810
769
|
/**
|
|
811
770
|
* The parser stores options it doesn't recognize here. See above.
|
|
812
771
|
*
|
|
813
|
-
*
|
|
814
|
-
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999 [packed = false, default = , jstype = JS_NORMAL];
|
|
772
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
815
773
|
*/
|
|
816
774
|
uninterpretedOption?: UninterpretedOption[];
|
|
817
775
|
}>;
|
|
@@ -819,28 +777,26 @@ export declare const FieldOptions: MessageType<FieldOptions>;
|
|
|
819
777
|
/**
|
|
820
778
|
* Describes a field within a message.
|
|
821
779
|
*
|
|
822
|
-
*
|
|
823
780
|
* @generated from message google.protobuf.FieldDescriptorProto
|
|
824
781
|
*/
|
|
825
782
|
export type FieldDescriptorProto = Message<{
|
|
826
783
|
/**
|
|
827
|
-
* @generated from field: string name = 1
|
|
784
|
+
* @generated from field: optional string name = 1;
|
|
828
785
|
*/
|
|
829
786
|
name?: string;
|
|
830
787
|
/**
|
|
831
|
-
* @generated from field: int32 number = 3
|
|
788
|
+
* @generated from field: optional int32 number = 3;
|
|
832
789
|
*/
|
|
833
790
|
number?: number;
|
|
834
791
|
/**
|
|
835
|
-
* @generated from field: google.protobuf.FieldDescriptorProto.Label label = 4
|
|
792
|
+
* @generated from field: optional google.protobuf.FieldDescriptorProto.Label label = 4;
|
|
836
793
|
*/
|
|
837
794
|
label?: FieldDescriptorProto_Label;
|
|
838
795
|
/**
|
|
839
796
|
* If type_name is set, this need not be set. If both this and type_name
|
|
840
797
|
* are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
|
|
841
798
|
*
|
|
842
|
-
*
|
|
843
|
-
* @generated from field: google.protobuf.FieldDescriptorProto.Type type = 5 [packed = false, default = , jstype = JS_NORMAL];
|
|
799
|
+
* @generated from field: optional google.protobuf.FieldDescriptorProto.Type type = 5;
|
|
844
800
|
*/
|
|
845
801
|
type?: FieldDescriptorProto_Type;
|
|
846
802
|
/**
|
|
@@ -850,16 +806,14 @@ export type FieldDescriptorProto = Message<{
|
|
|
850
806
|
* message are searched, then within the parent, on up to the root
|
|
851
807
|
* namespace).
|
|
852
808
|
*
|
|
853
|
-
*
|
|
854
|
-
* @generated from field: string type_name = 6 [packed = false, default = "", jstype = JS_NORMAL];
|
|
809
|
+
* @generated from field: optional string type_name = 6;
|
|
855
810
|
*/
|
|
856
811
|
typeName?: string;
|
|
857
812
|
/**
|
|
858
813
|
* For extensions, this is the name of the type being extended. It is
|
|
859
814
|
* resolved in the same manner as type_name.
|
|
860
815
|
*
|
|
861
|
-
*
|
|
862
|
-
* @generated from field: string extendee = 2 [packed = false, default = "", jstype = JS_NORMAL];
|
|
816
|
+
* @generated from field: optional string extendee = 2;
|
|
863
817
|
*/
|
|
864
818
|
extendee?: string;
|
|
865
819
|
/**
|
|
@@ -868,16 +822,14 @@ export type FieldDescriptorProto = Message<{
|
|
|
868
822
|
* For strings, contains the default text contents (not escaped in any way).
|
|
869
823
|
* For bytes, contains the C escaped value. All bytes >= 128 are escaped.
|
|
870
824
|
*
|
|
871
|
-
*
|
|
872
|
-
* @generated from field: string default_value = 7 [packed = false, default = "", jstype = JS_NORMAL];
|
|
825
|
+
* @generated from field: optional string default_value = 7;
|
|
873
826
|
*/
|
|
874
827
|
defaultValue?: string;
|
|
875
828
|
/**
|
|
876
829
|
* If set, gives the index of a oneof in the containing type's oneof_decl
|
|
877
830
|
* list. This field is a member of that oneof.
|
|
878
831
|
*
|
|
879
|
-
*
|
|
880
|
-
* @generated from field: int32 oneof_index = 9 [packed = false, default = , jstype = JS_NORMAL];
|
|
832
|
+
* @generated from field: optional int32 oneof_index = 9;
|
|
881
833
|
*/
|
|
882
834
|
oneofIndex?: number;
|
|
883
835
|
/**
|
|
@@ -886,12 +838,11 @@ export type FieldDescriptorProto = Message<{
|
|
|
886
838
|
* will be used. Otherwise, it's deduced from the field's name by converting
|
|
887
839
|
* it to camelCase.
|
|
888
840
|
*
|
|
889
|
-
*
|
|
890
|
-
* @generated from field: string json_name = 10 [packed = false, default = "", jstype = JS_NORMAL];
|
|
841
|
+
* @generated from field: optional string json_name = 10;
|
|
891
842
|
*/
|
|
892
843
|
jsonName?: string;
|
|
893
844
|
/**
|
|
894
|
-
* @generated from field: google.protobuf.FieldOptions options = 8
|
|
845
|
+
* @generated from field: optional google.protobuf.FieldOptions options = 8;
|
|
895
846
|
*/
|
|
896
847
|
options?: FieldOptions;
|
|
897
848
|
/**
|
|
@@ -917,8 +868,7 @@ export type FieldDescriptorProto = Message<{
|
|
|
917
868
|
* Proto2 optional fields do not set this flag, because they already indicate
|
|
918
869
|
* optional with `LABEL_OPTIONAL`.
|
|
919
870
|
*
|
|
920
|
-
*
|
|
921
|
-
* @generated from field: bool proto3_optional = 17 [packed = false, default = , jstype = JS_NORMAL];
|
|
871
|
+
* @generated from field: optional bool proto3_optional = 17;
|
|
922
872
|
*/
|
|
923
873
|
proto3Optional?: boolean;
|
|
924
874
|
}>;
|
|
@@ -933,15 +883,13 @@ export type EnumValueOptions = Message<{
|
|
|
933
883
|
* for the enum value, or it will be completely ignored; in the very least,
|
|
934
884
|
* this is a formalization for deprecating enum values.
|
|
935
885
|
*
|
|
936
|
-
*
|
|
937
|
-
* @generated from field: bool deprecated = 1 [packed = false, default = false, jstype = JS_NORMAL];
|
|
886
|
+
* @generated from field: optional bool deprecated = 1 [default = false];
|
|
938
887
|
*/
|
|
939
888
|
deprecated?: boolean;
|
|
940
889
|
/**
|
|
941
890
|
* Any features defined in the specific edition.
|
|
942
891
|
*
|
|
943
|
-
*
|
|
944
|
-
* @generated from field: google.protobuf.FeatureSet features = 2 [packed = false, default = , jstype = JS_NORMAL];
|
|
892
|
+
* @generated from field: optional google.protobuf.FeatureSet features = 2;
|
|
945
893
|
*/
|
|
946
894
|
features?: FeatureSet;
|
|
947
895
|
/**
|
|
@@ -949,15 +897,13 @@ export type EnumValueOptions = Message<{
|
|
|
949
897
|
* out when using debug formats, e.g. when the field contains sensitive
|
|
950
898
|
* credentials.
|
|
951
899
|
*
|
|
952
|
-
*
|
|
953
|
-
* @generated from field: bool debug_redact = 3 [packed = false, default = false, jstype = JS_NORMAL];
|
|
900
|
+
* @generated from field: optional bool debug_redact = 3 [default = false];
|
|
954
901
|
*/
|
|
955
902
|
debugRedact?: boolean;
|
|
956
903
|
/**
|
|
957
904
|
* The parser stores options it doesn't recognize here. See above.
|
|
958
905
|
*
|
|
959
|
-
*
|
|
960
|
-
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999 [packed = false, default = , jstype = JS_NORMAL];
|
|
906
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
961
907
|
*/
|
|
962
908
|
uninterpretedOption?: UninterpretedOption[];
|
|
963
909
|
}>;
|
|
@@ -965,20 +911,19 @@ export declare const EnumValueOptions: MessageType<EnumValueOptions>;
|
|
|
965
911
|
/**
|
|
966
912
|
* Describes a value within an enum.
|
|
967
913
|
*
|
|
968
|
-
*
|
|
969
914
|
* @generated from message google.protobuf.EnumValueDescriptorProto
|
|
970
915
|
*/
|
|
971
916
|
export type EnumValueDescriptorProto = Message<{
|
|
972
917
|
/**
|
|
973
|
-
* @generated from field: string name = 1
|
|
918
|
+
* @generated from field: optional string name = 1;
|
|
974
919
|
*/
|
|
975
920
|
name?: string;
|
|
976
921
|
/**
|
|
977
|
-
* @generated from field: int32 number = 2
|
|
922
|
+
* @generated from field: optional int32 number = 2;
|
|
978
923
|
*/
|
|
979
924
|
number?: number;
|
|
980
925
|
/**
|
|
981
|
-
* @generated from field: google.protobuf.EnumValueOptions options = 3
|
|
926
|
+
* @generated from field: optional google.protobuf.EnumValueOptions options = 3;
|
|
982
927
|
*/
|
|
983
928
|
options?: EnumValueOptions;
|
|
984
929
|
}>;
|
|
@@ -991,8 +936,7 @@ export type EnumOptions = Message<{
|
|
|
991
936
|
* Set this option to true to allow mapping different tag names to the same
|
|
992
937
|
* value.
|
|
993
938
|
*
|
|
994
|
-
*
|
|
995
|
-
* @generated from field: bool allow_alias = 2 [packed = false, default = , jstype = JS_NORMAL];
|
|
939
|
+
* @generated from field: optional bool allow_alias = 2;
|
|
996
940
|
*/
|
|
997
941
|
allowAlias?: boolean;
|
|
998
942
|
/**
|
|
@@ -1001,8 +945,7 @@ export type EnumOptions = Message<{
|
|
|
1001
945
|
* for the enum, or it will be completely ignored; in the very least, this
|
|
1002
946
|
* is a formalization for deprecating enums.
|
|
1003
947
|
*
|
|
1004
|
-
*
|
|
1005
|
-
* @generated from field: bool deprecated = 3 [packed = false, default = false, jstype = JS_NORMAL];
|
|
948
|
+
* @generated from field: optional bool deprecated = 3 [default = false];
|
|
1006
949
|
*/
|
|
1007
950
|
deprecated?: boolean;
|
|
1008
951
|
/**
|
|
@@ -1013,23 +956,20 @@ export type EnumOptions = Message<{
|
|
|
1013
956
|
* TODO Remove this legacy behavior once downstream teams have
|
|
1014
957
|
* had time to migrate.
|
|
1015
958
|
*
|
|
1016
|
-
*
|
|
1017
|
-
* @generated from field: bool deprecated_legacy_json_field_conflicts = 6 [packed = false, default = , jstype = JS_NORMAL, deprecated = true];
|
|
959
|
+
* @generated from field: optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true];
|
|
1018
960
|
* @deprecated
|
|
1019
961
|
*/
|
|
1020
962
|
deprecatedLegacyJsonFieldConflicts?: boolean;
|
|
1021
963
|
/**
|
|
1022
964
|
* Any features defined in the specific edition.
|
|
1023
965
|
*
|
|
1024
|
-
*
|
|
1025
|
-
* @generated from field: google.protobuf.FeatureSet features = 7 [packed = false, default = , jstype = JS_NORMAL];
|
|
966
|
+
* @generated from field: optional google.protobuf.FeatureSet features = 7;
|
|
1026
967
|
*/
|
|
1027
968
|
features?: FeatureSet;
|
|
1028
969
|
/**
|
|
1029
970
|
* The parser stores options it doesn't recognize here. See above.
|
|
1030
971
|
*
|
|
1031
|
-
*
|
|
1032
|
-
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999 [packed = false, default = , jstype = JS_NORMAL];
|
|
972
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
1033
973
|
*/
|
|
1034
974
|
uninterpretedOption?: UninterpretedOption[];
|
|
1035
975
|
}>;
|
|
@@ -1042,20 +982,19 @@ export declare const EnumOptions: MessageType<EnumOptions>;
|
|
|
1042
982
|
* is inclusive such that it can appropriately represent the entire int32
|
|
1043
983
|
* domain.
|
|
1044
984
|
*
|
|
1045
|
-
*
|
|
1046
985
|
* @generated from message google.protobuf.EnumDescriptorProto.EnumReservedRange
|
|
1047
986
|
*/
|
|
1048
987
|
export type EnumDescriptorProto_EnumReservedRange = Message<{
|
|
1049
988
|
/**
|
|
1050
989
|
* Inclusive.
|
|
1051
990
|
*
|
|
1052
|
-
* @generated from field: int32 start = 1
|
|
991
|
+
* @generated from field: optional int32 start = 1;
|
|
1053
992
|
*/
|
|
1054
993
|
start?: number;
|
|
1055
994
|
/**
|
|
1056
995
|
* Inclusive.
|
|
1057
996
|
*
|
|
1058
|
-
* @generated from field: int32 end = 2
|
|
997
|
+
* @generated from field: optional int32 end = 2;
|
|
1059
998
|
*/
|
|
1060
999
|
end?: number;
|
|
1061
1000
|
}>;
|
|
@@ -1063,20 +1002,19 @@ export declare const EnumDescriptorProto_EnumReservedRange: MessageType<EnumDesc
|
|
|
1063
1002
|
/**
|
|
1064
1003
|
* Describes an enum type.
|
|
1065
1004
|
*
|
|
1066
|
-
*
|
|
1067
1005
|
* @generated from message google.protobuf.EnumDescriptorProto
|
|
1068
1006
|
*/
|
|
1069
1007
|
export type EnumDescriptorProto = Message<{
|
|
1070
1008
|
/**
|
|
1071
|
-
* @generated from field: string name = 1
|
|
1009
|
+
* @generated from field: optional string name = 1;
|
|
1072
1010
|
*/
|
|
1073
1011
|
name?: string;
|
|
1074
1012
|
/**
|
|
1075
|
-
* @generated from field: repeated google.protobuf.EnumValueDescriptorProto value = 2
|
|
1013
|
+
* @generated from field: repeated google.protobuf.EnumValueDescriptorProto value = 2;
|
|
1076
1014
|
*/
|
|
1077
1015
|
value?: EnumValueDescriptorProto[];
|
|
1078
1016
|
/**
|
|
1079
|
-
* @generated from field: google.protobuf.EnumOptions options = 3
|
|
1017
|
+
* @generated from field: optional google.protobuf.EnumOptions options = 3;
|
|
1080
1018
|
*/
|
|
1081
1019
|
options?: EnumOptions;
|
|
1082
1020
|
/**
|
|
@@ -1084,16 +1022,14 @@ export type EnumDescriptorProto = Message<{
|
|
|
1084
1022
|
* by enum values in the same enum declaration. Reserved ranges may not
|
|
1085
1023
|
* overlap.
|
|
1086
1024
|
*
|
|
1087
|
-
*
|
|
1088
|
-
* @generated from field: repeated google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4 [packed = false, default = , jstype = JS_NORMAL];
|
|
1025
|
+
* @generated from field: repeated google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4;
|
|
1089
1026
|
*/
|
|
1090
1027
|
reservedRange?: EnumDescriptorProto_EnumReservedRange[];
|
|
1091
1028
|
/**
|
|
1092
1029
|
* Reserved enum value names, which may not be reused. A given name may only
|
|
1093
1030
|
* be reserved once.
|
|
1094
1031
|
*
|
|
1095
|
-
*
|
|
1096
|
-
* @generated from field: repeated string reserved_name = 5 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1032
|
+
* @generated from field: repeated string reserved_name = 5;
|
|
1097
1033
|
*/
|
|
1098
1034
|
reservedName?: string[];
|
|
1099
1035
|
}>;
|
|
@@ -1105,16 +1041,14 @@ export type ExtensionRangeOptions_Declaration = Message<{
|
|
|
1105
1041
|
/**
|
|
1106
1042
|
* The extension number declared within the extension range.
|
|
1107
1043
|
*
|
|
1108
|
-
*
|
|
1109
|
-
* @generated from field: int32 number = 1 [packed = false, default = , jstype = JS_NORMAL];
|
|
1044
|
+
* @generated from field: optional int32 number = 1;
|
|
1110
1045
|
*/
|
|
1111
1046
|
number?: number;
|
|
1112
1047
|
/**
|
|
1113
1048
|
* The fully-qualified name of the extension field. There must be a leading
|
|
1114
1049
|
* dot in front of the full name.
|
|
1115
1050
|
*
|
|
1116
|
-
*
|
|
1117
|
-
* @generated from field: string full_name = 2 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1051
|
+
* @generated from field: optional string full_name = 2;
|
|
1118
1052
|
*/
|
|
1119
1053
|
fullName?: string;
|
|
1120
1054
|
/**
|
|
@@ -1122,8 +1056,7 @@ export type ExtensionRangeOptions_Declaration = Message<{
|
|
|
1122
1056
|
* Metadata.type, Declaration.type must have a leading dot for messages
|
|
1123
1057
|
* and enums.
|
|
1124
1058
|
*
|
|
1125
|
-
*
|
|
1126
|
-
* @generated from field: string type = 3 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1059
|
+
* @generated from field: optional string type = 3;
|
|
1127
1060
|
*/
|
|
1128
1061
|
type?: string;
|
|
1129
1062
|
/**
|
|
@@ -1131,16 +1064,14 @@ export type ExtensionRangeOptions_Declaration = Message<{
|
|
|
1131
1064
|
* and any extension field with the number will fail to compile. Set this
|
|
1132
1065
|
* when a declared extension field is deleted.
|
|
1133
1066
|
*
|
|
1134
|
-
*
|
|
1135
|
-
* @generated from field: bool reserved = 5 [packed = false, default = , jstype = JS_NORMAL];
|
|
1067
|
+
* @generated from field: optional bool reserved = 5;
|
|
1136
1068
|
*/
|
|
1137
1069
|
reserved?: boolean;
|
|
1138
1070
|
/**
|
|
1139
1071
|
* If true, indicates that the extension must be defined as repeated.
|
|
1140
1072
|
* Otherwise the extension must be defined as optional.
|
|
1141
1073
|
*
|
|
1142
|
-
*
|
|
1143
|
-
* @generated from field: bool repeated = 6 [packed = false, default = , jstype = JS_NORMAL];
|
|
1074
|
+
* @generated from field: optional bool repeated = 6;
|
|
1144
1075
|
*/
|
|
1145
1076
|
repeated?: boolean;
|
|
1146
1077
|
}>;
|
|
@@ -1152,8 +1083,7 @@ export type ExtensionRangeOptions = Message<{
|
|
|
1152
1083
|
/**
|
|
1153
1084
|
* The parser stores options it doesn't recognize here. See above.
|
|
1154
1085
|
*
|
|
1155
|
-
*
|
|
1156
|
-
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999 [packed = false, default = , jstype = JS_NORMAL];
|
|
1086
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
1157
1087
|
*/
|
|
1158
1088
|
uninterpretedOption?: UninterpretedOption[];
|
|
1159
1089
|
/**
|
|
@@ -1161,15 +1091,13 @@ export type ExtensionRangeOptions = Message<{
|
|
|
1161
1091
|
* extension declaration and executing internal cleanups before it can be
|
|
1162
1092
|
* used externally.
|
|
1163
1093
|
*
|
|
1164
|
-
*
|
|
1165
|
-
* @generated from field: repeated google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [packed = false, default = , jstype = JS_NORMAL];
|
|
1094
|
+
* @generated from field: repeated google.protobuf.ExtensionRangeOptions.Declaration declaration = 2;
|
|
1166
1095
|
*/
|
|
1167
1096
|
declaration?: ExtensionRangeOptions_Declaration[];
|
|
1168
1097
|
/**
|
|
1169
1098
|
* Any features defined in the specific edition.
|
|
1170
1099
|
*
|
|
1171
|
-
*
|
|
1172
|
-
* @generated from field: google.protobuf.FeatureSet features = 50 [packed = false, default = , jstype = JS_NORMAL];
|
|
1100
|
+
* @generated from field: optional google.protobuf.FeatureSet features = 50;
|
|
1173
1101
|
*/
|
|
1174
1102
|
features?: FeatureSet;
|
|
1175
1103
|
/**
|
|
@@ -1177,8 +1105,7 @@ export type ExtensionRangeOptions = Message<{
|
|
|
1177
1105
|
* TODO: flip the default to DECLARATION once all empty ranges
|
|
1178
1106
|
* are marked as UNVERIFIED.
|
|
1179
1107
|
*
|
|
1180
|
-
*
|
|
1181
|
-
* @generated from field: google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [packed = false, default = UNVERIFIED, jstype = JS_NORMAL];
|
|
1108
|
+
* @generated from field: optional google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED];
|
|
1182
1109
|
*/
|
|
1183
1110
|
verification?: ExtensionRangeOptions_VerificationState;
|
|
1184
1111
|
}>;
|
|
@@ -1190,17 +1117,17 @@ export type DescriptorProto_ExtensionRange = Message<{
|
|
|
1190
1117
|
/**
|
|
1191
1118
|
* Inclusive.
|
|
1192
1119
|
*
|
|
1193
|
-
* @generated from field: int32 start = 1
|
|
1120
|
+
* @generated from field: optional int32 start = 1;
|
|
1194
1121
|
*/
|
|
1195
1122
|
start?: number;
|
|
1196
1123
|
/**
|
|
1197
1124
|
* Exclusive.
|
|
1198
1125
|
*
|
|
1199
|
-
* @generated from field: int32 end = 2
|
|
1126
|
+
* @generated from field: optional int32 end = 2;
|
|
1200
1127
|
*/
|
|
1201
1128
|
end?: number;
|
|
1202
1129
|
/**
|
|
1203
|
-
* @generated from field: google.protobuf.ExtensionRangeOptions options = 3
|
|
1130
|
+
* @generated from field: optional google.protobuf.ExtensionRangeOptions options = 3;
|
|
1204
1131
|
*/
|
|
1205
1132
|
options?: ExtensionRangeOptions;
|
|
1206
1133
|
}>;
|
|
@@ -1212,15 +1139,13 @@ export type OneofOptions = Message<{
|
|
|
1212
1139
|
/**
|
|
1213
1140
|
* Any features defined in the specific edition.
|
|
1214
1141
|
*
|
|
1215
|
-
*
|
|
1216
|
-
* @generated from field: google.protobuf.FeatureSet features = 1 [packed = false, default = , jstype = JS_NORMAL];
|
|
1142
|
+
* @generated from field: optional google.protobuf.FeatureSet features = 1;
|
|
1217
1143
|
*/
|
|
1218
1144
|
features?: FeatureSet;
|
|
1219
1145
|
/**
|
|
1220
1146
|
* The parser stores options it doesn't recognize here. See above.
|
|
1221
1147
|
*
|
|
1222
|
-
*
|
|
1223
|
-
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999 [packed = false, default = , jstype = JS_NORMAL];
|
|
1148
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
1224
1149
|
*/
|
|
1225
1150
|
uninterpretedOption?: UninterpretedOption[];
|
|
1226
1151
|
}>;
|
|
@@ -1228,16 +1153,15 @@ export declare const OneofOptions: MessageType<OneofOptions>;
|
|
|
1228
1153
|
/**
|
|
1229
1154
|
* Describes a oneof.
|
|
1230
1155
|
*
|
|
1231
|
-
*
|
|
1232
1156
|
* @generated from message google.protobuf.OneofDescriptorProto
|
|
1233
1157
|
*/
|
|
1234
1158
|
export type OneofDescriptorProto = Message<{
|
|
1235
1159
|
/**
|
|
1236
|
-
* @generated from field: string name = 1
|
|
1160
|
+
* @generated from field: optional string name = 1;
|
|
1237
1161
|
*/
|
|
1238
1162
|
name?: string;
|
|
1239
1163
|
/**
|
|
1240
|
-
* @generated from field: google.protobuf.OneofOptions options = 2
|
|
1164
|
+
* @generated from field: optional google.protobuf.OneofOptions options = 2;
|
|
1241
1165
|
*/
|
|
1242
1166
|
options?: OneofOptions;
|
|
1243
1167
|
}>;
|
|
@@ -1266,8 +1190,7 @@ export type MessageOptions = Message<{
|
|
|
1266
1190
|
* Because this is an option, the above two restrictions are not enforced by
|
|
1267
1191
|
* the protocol compiler.
|
|
1268
1192
|
*
|
|
1269
|
-
*
|
|
1270
|
-
* @generated from field: bool message_set_wire_format = 1 [packed = false, default = false, jstype = JS_NORMAL];
|
|
1193
|
+
* @generated from field: optional bool message_set_wire_format = 1 [default = false];
|
|
1271
1194
|
*/
|
|
1272
1195
|
messageSetWireFormat?: boolean;
|
|
1273
1196
|
/**
|
|
@@ -1275,8 +1198,7 @@ export type MessageOptions = Message<{
|
|
|
1275
1198
|
* conflict with a field of the same name. This is meant to make migration
|
|
1276
1199
|
* from proto1 easier; new code should avoid fields named "descriptor".
|
|
1277
1200
|
*
|
|
1278
|
-
*
|
|
1279
|
-
* @generated from field: bool no_standard_descriptor_accessor = 2 [packed = false, default = false, jstype = JS_NORMAL];
|
|
1201
|
+
* @generated from field: optional bool no_standard_descriptor_accessor = 2 [default = false];
|
|
1280
1202
|
*/
|
|
1281
1203
|
noStandardDescriptorAccessor?: boolean;
|
|
1282
1204
|
/**
|
|
@@ -1285,8 +1207,7 @@ export type MessageOptions = Message<{
|
|
|
1285
1207
|
* for the message, or it will be completely ignored; in the very least,
|
|
1286
1208
|
* this is a formalization for deprecating messages.
|
|
1287
1209
|
*
|
|
1288
|
-
*
|
|
1289
|
-
* @generated from field: bool deprecated = 3 [packed = false, default = false, jstype = JS_NORMAL];
|
|
1210
|
+
* @generated from field: optional bool deprecated = 3 [default = false];
|
|
1290
1211
|
*/
|
|
1291
1212
|
deprecated?: boolean;
|
|
1292
1213
|
/**
|
|
@@ -1312,8 +1233,7 @@ export type MessageOptions = Message<{
|
|
|
1312
1233
|
* instead. The option should only be implicitly set by the proto compiler
|
|
1313
1234
|
* parser.
|
|
1314
1235
|
*
|
|
1315
|
-
*
|
|
1316
|
-
* @generated from field: bool map_entry = 7 [packed = false, default = , jstype = JS_NORMAL];
|
|
1236
|
+
* @generated from field: optional bool map_entry = 7;
|
|
1317
1237
|
*/
|
|
1318
1238
|
mapEntry?: boolean;
|
|
1319
1239
|
/**
|
|
@@ -1328,23 +1248,20 @@ export type MessageOptions = Message<{
|
|
|
1328
1248
|
* TODO This is legacy behavior we plan to remove once downstream
|
|
1329
1249
|
* teams have had time to migrate.
|
|
1330
1250
|
*
|
|
1331
|
-
*
|
|
1332
|
-
* @generated from field: bool deprecated_legacy_json_field_conflicts = 11 [packed = false, default = , jstype = JS_NORMAL, deprecated = true];
|
|
1251
|
+
* @generated from field: optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true];
|
|
1333
1252
|
* @deprecated
|
|
1334
1253
|
*/
|
|
1335
1254
|
deprecatedLegacyJsonFieldConflicts?: boolean;
|
|
1336
1255
|
/**
|
|
1337
1256
|
* Any features defined in the specific edition.
|
|
1338
1257
|
*
|
|
1339
|
-
*
|
|
1340
|
-
* @generated from field: google.protobuf.FeatureSet features = 12 [packed = false, default = , jstype = JS_NORMAL];
|
|
1258
|
+
* @generated from field: optional google.protobuf.FeatureSet features = 12;
|
|
1341
1259
|
*/
|
|
1342
1260
|
features?: FeatureSet;
|
|
1343
1261
|
/**
|
|
1344
1262
|
* The parser stores options it doesn't recognize here. See above.
|
|
1345
1263
|
*
|
|
1346
|
-
*
|
|
1347
|
-
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999 [packed = false, default = , jstype = JS_NORMAL];
|
|
1264
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
1348
1265
|
*/
|
|
1349
1266
|
uninterpretedOption?: UninterpretedOption[];
|
|
1350
1267
|
}>;
|
|
@@ -1354,20 +1271,19 @@ export declare const MessageOptions: MessageType<MessageOptions>;
|
|
|
1354
1271
|
* fields or extension ranges in the same message. Reserved ranges may
|
|
1355
1272
|
* not overlap.
|
|
1356
1273
|
*
|
|
1357
|
-
*
|
|
1358
1274
|
* @generated from message google.protobuf.DescriptorProto.ReservedRange
|
|
1359
1275
|
*/
|
|
1360
1276
|
export type DescriptorProto_ReservedRange = Message<{
|
|
1361
1277
|
/**
|
|
1362
1278
|
* Inclusive.
|
|
1363
1279
|
*
|
|
1364
|
-
* @generated from field: int32 start = 1
|
|
1280
|
+
* @generated from field: optional int32 start = 1;
|
|
1365
1281
|
*/
|
|
1366
1282
|
start?: number;
|
|
1367
1283
|
/**
|
|
1368
1284
|
* Exclusive.
|
|
1369
1285
|
*
|
|
1370
|
-
* @generated from field: int32 end = 2
|
|
1286
|
+
* @generated from field: optional int32 end = 2;
|
|
1371
1287
|
*/
|
|
1372
1288
|
end?: number;
|
|
1373
1289
|
}>;
|
|
@@ -1375,52 +1291,50 @@ export declare const DescriptorProto_ReservedRange: MessageType<DescriptorProto_
|
|
|
1375
1291
|
/**
|
|
1376
1292
|
* Describes a message type.
|
|
1377
1293
|
*
|
|
1378
|
-
*
|
|
1379
1294
|
* @generated from message google.protobuf.DescriptorProto
|
|
1380
1295
|
*/
|
|
1381
1296
|
export type DescriptorProto = Message<{
|
|
1382
1297
|
/**
|
|
1383
|
-
* @generated from field: string name = 1
|
|
1298
|
+
* @generated from field: optional string name = 1;
|
|
1384
1299
|
*/
|
|
1385
1300
|
name?: string;
|
|
1386
1301
|
/**
|
|
1387
|
-
* @generated from field: repeated google.protobuf.FieldDescriptorProto field = 2
|
|
1302
|
+
* @generated from field: repeated google.protobuf.FieldDescriptorProto field = 2;
|
|
1388
1303
|
*/
|
|
1389
1304
|
field?: FieldDescriptorProto[];
|
|
1390
1305
|
/**
|
|
1391
|
-
* @generated from field: repeated google.protobuf.FieldDescriptorProto extension = 6
|
|
1306
|
+
* @generated from field: repeated google.protobuf.FieldDescriptorProto extension = 6;
|
|
1392
1307
|
*/
|
|
1393
1308
|
extension?: FieldDescriptorProto[];
|
|
1394
1309
|
/**
|
|
1395
|
-
* @generated from field: repeated google.protobuf.DescriptorProto nested_type = 3
|
|
1310
|
+
* @generated from field: repeated google.protobuf.DescriptorProto nested_type = 3;
|
|
1396
1311
|
*/
|
|
1397
1312
|
nestedType?: DescriptorProto[];
|
|
1398
1313
|
/**
|
|
1399
|
-
* @generated from field: repeated google.protobuf.EnumDescriptorProto enum_type = 4
|
|
1314
|
+
* @generated from field: repeated google.protobuf.EnumDescriptorProto enum_type = 4;
|
|
1400
1315
|
*/
|
|
1401
1316
|
enumType?: EnumDescriptorProto[];
|
|
1402
1317
|
/**
|
|
1403
|
-
* @generated from field: repeated google.protobuf.DescriptorProto.ExtensionRange extension_range = 5
|
|
1318
|
+
* @generated from field: repeated google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
|
|
1404
1319
|
*/
|
|
1405
1320
|
extensionRange?: DescriptorProto_ExtensionRange[];
|
|
1406
1321
|
/**
|
|
1407
|
-
* @generated from field: repeated google.protobuf.OneofDescriptorProto oneof_decl = 8
|
|
1322
|
+
* @generated from field: repeated google.protobuf.OneofDescriptorProto oneof_decl = 8;
|
|
1408
1323
|
*/
|
|
1409
1324
|
oneofDecl?: OneofDescriptorProto[];
|
|
1410
1325
|
/**
|
|
1411
|
-
* @generated from field: google.protobuf.MessageOptions options = 7
|
|
1326
|
+
* @generated from field: optional google.protobuf.MessageOptions options = 7;
|
|
1412
1327
|
*/
|
|
1413
1328
|
options?: MessageOptions;
|
|
1414
1329
|
/**
|
|
1415
|
-
* @generated from field: repeated google.protobuf.DescriptorProto.ReservedRange reserved_range = 9
|
|
1330
|
+
* @generated from field: repeated google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
|
|
1416
1331
|
*/
|
|
1417
1332
|
reservedRange?: DescriptorProto_ReservedRange[];
|
|
1418
1333
|
/**
|
|
1419
1334
|
* Reserved field names, which may not be used by fields in the same message.
|
|
1420
1335
|
* A given name may only be reserved once.
|
|
1421
1336
|
*
|
|
1422
|
-
*
|
|
1423
|
-
* @generated from field: repeated string reserved_name = 10 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1337
|
+
* @generated from field: repeated string reserved_name = 10;
|
|
1424
1338
|
*/
|
|
1425
1339
|
reservedName?: string[];
|
|
1426
1340
|
}>;
|
|
@@ -1435,26 +1349,23 @@ export type MethodOptions = Message<{
|
|
|
1435
1349
|
* for the method, or it will be completely ignored; in the very least,
|
|
1436
1350
|
* this is a formalization for deprecating methods.
|
|
1437
1351
|
*
|
|
1438
|
-
*
|
|
1439
|
-
* @generated from field: bool deprecated = 33 [packed = false, default = false, jstype = JS_NORMAL];
|
|
1352
|
+
* @generated from field: optional bool deprecated = 33 [default = false];
|
|
1440
1353
|
*/
|
|
1441
1354
|
deprecated?: boolean;
|
|
1442
1355
|
/**
|
|
1443
|
-
* @generated from field: google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [
|
|
1356
|
+
* @generated from field: optional google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
|
|
1444
1357
|
*/
|
|
1445
1358
|
idempotencyLevel?: MethodOptions_IdempotencyLevel;
|
|
1446
1359
|
/**
|
|
1447
1360
|
* Any features defined in the specific edition.
|
|
1448
1361
|
*
|
|
1449
|
-
*
|
|
1450
|
-
* @generated from field: google.protobuf.FeatureSet features = 35 [packed = false, default = , jstype = JS_NORMAL];
|
|
1362
|
+
* @generated from field: optional google.protobuf.FeatureSet features = 35;
|
|
1451
1363
|
*/
|
|
1452
1364
|
features?: FeatureSet;
|
|
1453
1365
|
/**
|
|
1454
1366
|
* The parser stores options it doesn't recognize here. See above.
|
|
1455
1367
|
*
|
|
1456
|
-
*
|
|
1457
|
-
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999 [packed = false, default = , jstype = JS_NORMAL];
|
|
1368
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
1458
1369
|
*/
|
|
1459
1370
|
uninterpretedOption?: UninterpretedOption[];
|
|
1460
1371
|
}>;
|
|
@@ -1462,42 +1373,38 @@ export declare const MethodOptions: MessageType<MethodOptions>;
|
|
|
1462
1373
|
/**
|
|
1463
1374
|
* Describes a method of a service.
|
|
1464
1375
|
*
|
|
1465
|
-
*
|
|
1466
1376
|
* @generated from message google.protobuf.MethodDescriptorProto
|
|
1467
1377
|
*/
|
|
1468
1378
|
export type MethodDescriptorProto = Message<{
|
|
1469
1379
|
/**
|
|
1470
|
-
* @generated from field: string name = 1
|
|
1380
|
+
* @generated from field: optional string name = 1;
|
|
1471
1381
|
*/
|
|
1472
1382
|
name?: string;
|
|
1473
1383
|
/**
|
|
1474
1384
|
* Input and output type names. These are resolved in the same way as
|
|
1475
1385
|
* FieldDescriptorProto.type_name, but must refer to a message type.
|
|
1476
1386
|
*
|
|
1477
|
-
*
|
|
1478
|
-
* @generated from field: string input_type = 2 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1387
|
+
* @generated from field: optional string input_type = 2;
|
|
1479
1388
|
*/
|
|
1480
1389
|
inputType?: string;
|
|
1481
1390
|
/**
|
|
1482
|
-
* @generated from field: string output_type = 3
|
|
1391
|
+
* @generated from field: optional string output_type = 3;
|
|
1483
1392
|
*/
|
|
1484
1393
|
outputType?: string;
|
|
1485
1394
|
/**
|
|
1486
|
-
* @generated from field: google.protobuf.MethodOptions options = 4
|
|
1395
|
+
* @generated from field: optional google.protobuf.MethodOptions options = 4;
|
|
1487
1396
|
*/
|
|
1488
1397
|
options?: MethodOptions;
|
|
1489
1398
|
/**
|
|
1490
1399
|
* Identifies if client streams multiple client messages
|
|
1491
1400
|
*
|
|
1492
|
-
*
|
|
1493
|
-
* @generated from field: bool client_streaming = 5 [packed = false, default = false, jstype = JS_NORMAL];
|
|
1401
|
+
* @generated from field: optional bool client_streaming = 5 [default = false];
|
|
1494
1402
|
*/
|
|
1495
1403
|
clientStreaming?: boolean;
|
|
1496
1404
|
/**
|
|
1497
1405
|
* Identifies if server streams multiple server messages
|
|
1498
1406
|
*
|
|
1499
|
-
*
|
|
1500
|
-
* @generated from field: bool server_streaming = 6 [packed = false, default = false, jstype = JS_NORMAL];
|
|
1407
|
+
* @generated from field: optional bool server_streaming = 6 [default = false];
|
|
1501
1408
|
*/
|
|
1502
1409
|
serverStreaming?: boolean;
|
|
1503
1410
|
}>;
|
|
@@ -1509,8 +1416,7 @@ export type ServiceOptions = Message<{
|
|
|
1509
1416
|
/**
|
|
1510
1417
|
* Any features defined in the specific edition.
|
|
1511
1418
|
*
|
|
1512
|
-
*
|
|
1513
|
-
* @generated from field: google.protobuf.FeatureSet features = 34 [packed = false, default = , jstype = JS_NORMAL];
|
|
1419
|
+
* @generated from field: optional google.protobuf.FeatureSet features = 34;
|
|
1514
1420
|
*/
|
|
1515
1421
|
features?: FeatureSet;
|
|
1516
1422
|
/**
|
|
@@ -1519,15 +1425,13 @@ export type ServiceOptions = Message<{
|
|
|
1519
1425
|
* for the service, or it will be completely ignored; in the very least,
|
|
1520
1426
|
* this is a formalization for deprecating services.
|
|
1521
1427
|
*
|
|
1522
|
-
*
|
|
1523
|
-
* @generated from field: bool deprecated = 33 [packed = false, default = false, jstype = JS_NORMAL];
|
|
1428
|
+
* @generated from field: optional bool deprecated = 33 [default = false];
|
|
1524
1429
|
*/
|
|
1525
1430
|
deprecated?: boolean;
|
|
1526
1431
|
/**
|
|
1527
1432
|
* The parser stores options it doesn't recognize here. See above.
|
|
1528
1433
|
*
|
|
1529
|
-
*
|
|
1530
|
-
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999 [packed = false, default = , jstype = JS_NORMAL];
|
|
1434
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
1531
1435
|
*/
|
|
1532
1436
|
uninterpretedOption?: UninterpretedOption[];
|
|
1533
1437
|
}>;
|
|
@@ -1535,20 +1439,19 @@ export declare const ServiceOptions: MessageType<ServiceOptions>;
|
|
|
1535
1439
|
/**
|
|
1536
1440
|
* Describes a service.
|
|
1537
1441
|
*
|
|
1538
|
-
*
|
|
1539
1442
|
* @generated from message google.protobuf.ServiceDescriptorProto
|
|
1540
1443
|
*/
|
|
1541
1444
|
export type ServiceDescriptorProto = Message<{
|
|
1542
1445
|
/**
|
|
1543
|
-
* @generated from field: string name = 1
|
|
1446
|
+
* @generated from field: optional string name = 1;
|
|
1544
1447
|
*/
|
|
1545
1448
|
name?: string;
|
|
1546
1449
|
/**
|
|
1547
|
-
* @generated from field: repeated google.protobuf.MethodDescriptorProto method = 2
|
|
1450
|
+
* @generated from field: repeated google.protobuf.MethodDescriptorProto method = 2;
|
|
1548
1451
|
*/
|
|
1549
1452
|
method?: MethodDescriptorProto[];
|
|
1550
1453
|
/**
|
|
1551
|
-
* @generated from field: google.protobuf.ServiceOptions options = 3
|
|
1454
|
+
* @generated from field: optional google.protobuf.ServiceOptions options = 3;
|
|
1552
1455
|
*/
|
|
1553
1456
|
options?: ServiceOptions;
|
|
1554
1457
|
}>;
|
|
@@ -1563,8 +1466,7 @@ export type FileOptions = Message<{
|
|
|
1563
1466
|
* inappropriate because proto packages do not normally start with backwards
|
|
1564
1467
|
* domain names.
|
|
1565
1468
|
*
|
|
1566
|
-
*
|
|
1567
|
-
* @generated from field: string java_package = 1 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1469
|
+
* @generated from field: optional string java_package = 1;
|
|
1568
1470
|
*/
|
|
1569
1471
|
javaPackage?: string;
|
|
1570
1472
|
/**
|
|
@@ -1574,8 +1476,7 @@ export type FileOptions = Message<{
|
|
|
1574
1476
|
* If java_multiple_files is disabled, then all the other classes from the
|
|
1575
1477
|
* .proto file will be nested inside the single wrapper outer class.
|
|
1576
1478
|
*
|
|
1577
|
-
*
|
|
1578
|
-
* @generated from field: string java_outer_classname = 8 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1479
|
+
* @generated from field: optional string java_outer_classname = 8;
|
|
1579
1480
|
*/
|
|
1580
1481
|
javaOuterClassname?: string;
|
|
1581
1482
|
/**
|
|
@@ -1586,15 +1487,13 @@ export type FileOptions = Message<{
|
|
|
1586
1487
|
* generated to contain the file's getDescriptor() method as well as any
|
|
1587
1488
|
* top-level extensions defined in the file.
|
|
1588
1489
|
*
|
|
1589
|
-
*
|
|
1590
|
-
* @generated from field: bool java_multiple_files = 10 [packed = false, default = false, jstype = JS_NORMAL];
|
|
1490
|
+
* @generated from field: optional bool java_multiple_files = 10 [default = false];
|
|
1591
1491
|
*/
|
|
1592
1492
|
javaMultipleFiles?: boolean;
|
|
1593
1493
|
/**
|
|
1594
1494
|
* This option does nothing.
|
|
1595
1495
|
*
|
|
1596
|
-
*
|
|
1597
|
-
* @generated from field: bool java_generate_equals_and_hash = 20 [packed = false, default = , jstype = JS_NORMAL, deprecated = true];
|
|
1496
|
+
* @generated from field: optional bool java_generate_equals_and_hash = 20 [deprecated = true];
|
|
1598
1497
|
* @deprecated
|
|
1599
1498
|
*/
|
|
1600
1499
|
javaGenerateEqualsAndHash?: boolean;
|
|
@@ -1606,12 +1505,11 @@ export type FileOptions = Message<{
|
|
|
1606
1505
|
* However, an extension field still accepts non-UTF-8 byte sequences.
|
|
1607
1506
|
* This option has no effect on when used with the lite runtime.
|
|
1608
1507
|
*
|
|
1609
|
-
*
|
|
1610
|
-
* @generated from field: bool java_string_check_utf8 = 27 [packed = false, default = false, jstype = JS_NORMAL];
|
|
1508
|
+
* @generated from field: optional bool java_string_check_utf8 = 27 [default = false];
|
|
1611
1509
|
*/
|
|
1612
1510
|
javaStringCheckUtf8?: boolean;
|
|
1613
1511
|
/**
|
|
1614
|
-
* @generated from field: google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [
|
|
1512
|
+
* @generated from field: optional google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
|
|
1615
1513
|
*/
|
|
1616
1514
|
optimizeFor?: FileOptions_OptimizeMode;
|
|
1617
1515
|
/**
|
|
@@ -1621,8 +1519,7 @@ export type FileOptions = Message<{
|
|
|
1621
1519
|
* - Otherwise, the package statement in the .proto file, if present.
|
|
1622
1520
|
* - Otherwise, the basename of the .proto file, without extension.
|
|
1623
1521
|
*
|
|
1624
|
-
*
|
|
1625
|
-
* @generated from field: string go_package = 11 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1522
|
+
* @generated from field: optional string go_package = 11;
|
|
1626
1523
|
*/
|
|
1627
1524
|
goPackage?: string;
|
|
1628
1525
|
/**
|
|
@@ -1637,16 +1534,15 @@ export type FileOptions = Message<{
|
|
|
1637
1534
|
* these default to false. Old code which depends on generic services should
|
|
1638
1535
|
* explicitly set them to true.
|
|
1639
1536
|
*
|
|
1640
|
-
*
|
|
1641
|
-
* @generated from field: bool cc_generic_services = 16 [packed = false, default = false, jstype = JS_NORMAL];
|
|
1537
|
+
* @generated from field: optional bool cc_generic_services = 16 [default = false];
|
|
1642
1538
|
*/
|
|
1643
1539
|
ccGenericServices?: boolean;
|
|
1644
1540
|
/**
|
|
1645
|
-
* @generated from field: bool java_generic_services = 17 [
|
|
1541
|
+
* @generated from field: optional bool java_generic_services = 17 [default = false];
|
|
1646
1542
|
*/
|
|
1647
1543
|
javaGenericServices?: boolean;
|
|
1648
1544
|
/**
|
|
1649
|
-
* @generated from field: bool py_generic_services = 18 [
|
|
1545
|
+
* @generated from field: optional bool py_generic_services = 18 [default = false];
|
|
1650
1546
|
*/
|
|
1651
1547
|
pyGenericServices?: boolean;
|
|
1652
1548
|
/**
|
|
@@ -1655,31 +1551,27 @@ export type FileOptions = Message<{
|
|
|
1655
1551
|
* for everything in the file, or it will be completely ignored; in the very
|
|
1656
1552
|
* least, this is a formalization for deprecating files.
|
|
1657
1553
|
*
|
|
1658
|
-
*
|
|
1659
|
-
* @generated from field: bool deprecated = 23 [packed = false, default = false, jstype = JS_NORMAL];
|
|
1554
|
+
* @generated from field: optional bool deprecated = 23 [default = false];
|
|
1660
1555
|
*/
|
|
1661
1556
|
deprecated?: boolean;
|
|
1662
1557
|
/**
|
|
1663
1558
|
* Enables the use of arenas for the proto messages in this file. This applies
|
|
1664
1559
|
* only to generated classes for C++.
|
|
1665
1560
|
*
|
|
1666
|
-
*
|
|
1667
|
-
* @generated from field: bool cc_enable_arenas = 31 [packed = false, default = true, jstype = JS_NORMAL];
|
|
1561
|
+
* @generated from field: optional bool cc_enable_arenas = 31 [default = true];
|
|
1668
1562
|
*/
|
|
1669
1563
|
ccEnableArenas?: boolean;
|
|
1670
1564
|
/**
|
|
1671
1565
|
* Sets the objective c class prefix which is prepended to all objective c
|
|
1672
1566
|
* generated classes from this .proto. There is no default.
|
|
1673
1567
|
*
|
|
1674
|
-
*
|
|
1675
|
-
* @generated from field: string objc_class_prefix = 36 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1568
|
+
* @generated from field: optional string objc_class_prefix = 36;
|
|
1676
1569
|
*/
|
|
1677
1570
|
objcClassPrefix?: string;
|
|
1678
1571
|
/**
|
|
1679
1572
|
* Namespace for generated classes; defaults to the package.
|
|
1680
1573
|
*
|
|
1681
|
-
*
|
|
1682
|
-
* @generated from field: string csharp_namespace = 37 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1574
|
+
* @generated from field: optional string csharp_namespace = 37;
|
|
1683
1575
|
*/
|
|
1684
1576
|
csharpNamespace?: string;
|
|
1685
1577
|
/**
|
|
@@ -1688,16 +1580,14 @@ export type FileOptions = Message<{
|
|
|
1688
1580
|
* defined. When this options is provided, they will use this value instead
|
|
1689
1581
|
* to prefix the types/symbols defined.
|
|
1690
1582
|
*
|
|
1691
|
-
*
|
|
1692
|
-
* @generated from field: string swift_prefix = 39 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1583
|
+
* @generated from field: optional string swift_prefix = 39;
|
|
1693
1584
|
*/
|
|
1694
1585
|
swiftPrefix?: string;
|
|
1695
1586
|
/**
|
|
1696
1587
|
* Sets the php class prefix which is prepended to all php generated classes
|
|
1697
1588
|
* from this .proto. Default is empty.
|
|
1698
1589
|
*
|
|
1699
|
-
*
|
|
1700
|
-
* @generated from field: string php_class_prefix = 40 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1590
|
+
* @generated from field: optional string php_class_prefix = 40;
|
|
1701
1591
|
*/
|
|
1702
1592
|
phpClassPrefix?: string;
|
|
1703
1593
|
/**
|
|
@@ -1705,8 +1595,7 @@ export type FileOptions = Message<{
|
|
|
1705
1595
|
* is empty. When this option is empty, the package name will be used for
|
|
1706
1596
|
* determining the namespace.
|
|
1707
1597
|
*
|
|
1708
|
-
*
|
|
1709
|
-
* @generated from field: string php_namespace = 41 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1598
|
+
* @generated from field: optional string php_namespace = 41;
|
|
1710
1599
|
*/
|
|
1711
1600
|
phpNamespace?: string;
|
|
1712
1601
|
/**
|
|
@@ -1714,8 +1603,7 @@ export type FileOptions = Message<{
|
|
|
1714
1603
|
* Default is empty. When this option is empty, the proto file name will be
|
|
1715
1604
|
* used for determining the namespace.
|
|
1716
1605
|
*
|
|
1717
|
-
*
|
|
1718
|
-
* @generated from field: string php_metadata_namespace = 44 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1606
|
+
* @generated from field: optional string php_metadata_namespace = 44;
|
|
1719
1607
|
*/
|
|
1720
1608
|
phpMetadataNamespace?: string;
|
|
1721
1609
|
/**
|
|
@@ -1723,23 +1611,20 @@ export type FileOptions = Message<{
|
|
|
1723
1611
|
* is empty. When this option is not set, the package name will be used for
|
|
1724
1612
|
* determining the ruby package.
|
|
1725
1613
|
*
|
|
1726
|
-
*
|
|
1727
|
-
* @generated from field: string ruby_package = 45 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1614
|
+
* @generated from field: optional string ruby_package = 45;
|
|
1728
1615
|
*/
|
|
1729
1616
|
rubyPackage?: string;
|
|
1730
1617
|
/**
|
|
1731
1618
|
* Any features defined in the specific edition.
|
|
1732
1619
|
*
|
|
1733
|
-
*
|
|
1734
|
-
* @generated from field: google.protobuf.FeatureSet features = 50 [packed = false, default = , jstype = JS_NORMAL];
|
|
1620
|
+
* @generated from field: optional google.protobuf.FeatureSet features = 50;
|
|
1735
1621
|
*/
|
|
1736
1622
|
features?: FeatureSet;
|
|
1737
1623
|
/**
|
|
1738
1624
|
* The parser stores options it doesn't recognize here.
|
|
1739
1625
|
* See the documentation for the "Options" section above.
|
|
1740
1626
|
*
|
|
1741
|
-
*
|
|
1742
|
-
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999 [packed = false, default = , jstype = JS_NORMAL];
|
|
1627
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
1743
1628
|
*/
|
|
1744
1629
|
uninterpretedOption?: UninterpretedOption[];
|
|
1745
1630
|
}>;
|
|
@@ -1773,8 +1658,7 @@ export type SourceCodeInfo_Location = Message<{
|
|
|
1773
1658
|
* this path refers to the whole field declaration (from the beginning
|
|
1774
1659
|
* of the label to the terminating semicolon).
|
|
1775
1660
|
*
|
|
1776
|
-
*
|
|
1777
|
-
* @generated from field: repeated int32 path = 1 [packed = true, default = , jstype = JS_NORMAL];
|
|
1661
|
+
* @generated from field: repeated int32 path = 1 [packed = true];
|
|
1778
1662
|
*/
|
|
1779
1663
|
path?: number[];
|
|
1780
1664
|
/**
|
|
@@ -1784,8 +1668,7 @@ export type SourceCodeInfo_Location = Message<{
|
|
|
1784
1668
|
* and column numbers are zero-based -- typically you will want to add
|
|
1785
1669
|
* 1 to each before displaying to a user.
|
|
1786
1670
|
*
|
|
1787
|
-
*
|
|
1788
|
-
* @generated from field: repeated int32 span = 2 [packed = true, default = , jstype = JS_NORMAL];
|
|
1671
|
+
* @generated from field: repeated int32 span = 2 [packed = true];
|
|
1789
1672
|
*/
|
|
1790
1673
|
span?: number[];
|
|
1791
1674
|
/**
|
|
@@ -1837,16 +1720,15 @@ export type SourceCodeInfo_Location = Message<{
|
|
|
1837
1720
|
*
|
|
1838
1721
|
* // ignored detached comments.
|
|
1839
1722
|
*
|
|
1840
|
-
*
|
|
1841
|
-
* @generated from field: string leading_comments = 3 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1723
|
+
* @generated from field: optional string leading_comments = 3;
|
|
1842
1724
|
*/
|
|
1843
1725
|
leadingComments?: string;
|
|
1844
1726
|
/**
|
|
1845
|
-
* @generated from field: string trailing_comments = 4
|
|
1727
|
+
* @generated from field: optional string trailing_comments = 4;
|
|
1846
1728
|
*/
|
|
1847
1729
|
trailingComments?: string;
|
|
1848
1730
|
/**
|
|
1849
|
-
* @generated from field: repeated string leading_detached_comments = 6
|
|
1731
|
+
* @generated from field: repeated string leading_detached_comments = 6;
|
|
1850
1732
|
*/
|
|
1851
1733
|
leadingDetachedComments?: string[];
|
|
1852
1734
|
}>;
|
|
@@ -1855,7 +1737,6 @@ export declare const SourceCodeInfo_Location: MessageType<SourceCodeInfo_Locatio
|
|
|
1855
1737
|
* Encapsulates information about the original source file from which a
|
|
1856
1738
|
* FileDescriptorProto was generated.
|
|
1857
1739
|
*
|
|
1858
|
-
*
|
|
1859
1740
|
* @generated from message google.protobuf.SourceCodeInfo
|
|
1860
1741
|
*/
|
|
1861
1742
|
export type SourceCodeInfo = Message<{
|
|
@@ -1904,8 +1785,7 @@ export type SourceCodeInfo = Message<{
|
|
|
1904
1785
|
* ignore those that it doesn't understand, as more types of locations could
|
|
1905
1786
|
* be recorded in the future.
|
|
1906
1787
|
*
|
|
1907
|
-
*
|
|
1908
|
-
* @generated from field: repeated google.protobuf.SourceCodeInfo.Location location = 1 [packed = false, default = , jstype = JS_NORMAL];
|
|
1788
|
+
* @generated from field: repeated google.protobuf.SourceCodeInfo.Location location = 1;
|
|
1909
1789
|
*/
|
|
1910
1790
|
location?: SourceCodeInfo_Location[];
|
|
1911
1791
|
}>;
|
|
@@ -1913,65 +1793,60 @@ export declare const SourceCodeInfo: MessageType<SourceCodeInfo>;
|
|
|
1913
1793
|
/**
|
|
1914
1794
|
* Describes a complete .proto file.
|
|
1915
1795
|
*
|
|
1916
|
-
*
|
|
1917
1796
|
* @generated from message google.protobuf.FileDescriptorProto
|
|
1918
1797
|
*/
|
|
1919
1798
|
export type FileDescriptorProto = Message<{
|
|
1920
1799
|
/**
|
|
1921
1800
|
* file name, relative to root of source tree
|
|
1922
1801
|
*
|
|
1923
|
-
* @generated from field: string name = 1
|
|
1802
|
+
* @generated from field: optional string name = 1;
|
|
1924
1803
|
*/
|
|
1925
1804
|
name?: string;
|
|
1926
1805
|
/**
|
|
1927
1806
|
* e.g. "foo", "foo.bar", etc.
|
|
1928
1807
|
*
|
|
1929
|
-
* @generated from field: string package = 2
|
|
1808
|
+
* @generated from field: optional string package = 2;
|
|
1930
1809
|
*/
|
|
1931
1810
|
package?: string;
|
|
1932
1811
|
/**
|
|
1933
1812
|
* Names of files imported by this file.
|
|
1934
1813
|
*
|
|
1935
|
-
*
|
|
1936
|
-
* @generated from field: repeated string dependency = 3 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1814
|
+
* @generated from field: repeated string dependency = 3;
|
|
1937
1815
|
*/
|
|
1938
1816
|
dependency?: string[];
|
|
1939
1817
|
/**
|
|
1940
1818
|
* Indexes of the public imported files in the dependency list above.
|
|
1941
1819
|
*
|
|
1942
|
-
*
|
|
1943
|
-
* @generated from field: repeated int32 public_dependency = 10 [packed = false, default = , jstype = JS_NORMAL];
|
|
1820
|
+
* @generated from field: repeated int32 public_dependency = 10;
|
|
1944
1821
|
*/
|
|
1945
1822
|
publicDependency?: number[];
|
|
1946
1823
|
/**
|
|
1947
1824
|
* Indexes of the weak imported files in the dependency list.
|
|
1948
1825
|
* For Google-internal migration only. Do not use.
|
|
1949
1826
|
*
|
|
1950
|
-
*
|
|
1951
|
-
* @generated from field: repeated int32 weak_dependency = 11 [packed = false, default = , jstype = JS_NORMAL];
|
|
1827
|
+
* @generated from field: repeated int32 weak_dependency = 11;
|
|
1952
1828
|
*/
|
|
1953
1829
|
weakDependency?: number[];
|
|
1954
1830
|
/**
|
|
1955
1831
|
* All top-level definitions in this file.
|
|
1956
1832
|
*
|
|
1957
|
-
*
|
|
1958
|
-
* @generated from field: repeated google.protobuf.DescriptorProto message_type = 4 [packed = false, default = , jstype = JS_NORMAL];
|
|
1833
|
+
* @generated from field: repeated google.protobuf.DescriptorProto message_type = 4;
|
|
1959
1834
|
*/
|
|
1960
1835
|
messageType?: DescriptorProto[];
|
|
1961
1836
|
/**
|
|
1962
|
-
* @generated from field: repeated google.protobuf.EnumDescriptorProto enum_type = 5
|
|
1837
|
+
* @generated from field: repeated google.protobuf.EnumDescriptorProto enum_type = 5;
|
|
1963
1838
|
*/
|
|
1964
1839
|
enumType?: EnumDescriptorProto[];
|
|
1965
1840
|
/**
|
|
1966
|
-
* @generated from field: repeated google.protobuf.ServiceDescriptorProto service = 6
|
|
1841
|
+
* @generated from field: repeated google.protobuf.ServiceDescriptorProto service = 6;
|
|
1967
1842
|
*/
|
|
1968
1843
|
service?: ServiceDescriptorProto[];
|
|
1969
1844
|
/**
|
|
1970
|
-
* @generated from field: repeated google.protobuf.FieldDescriptorProto extension = 7
|
|
1845
|
+
* @generated from field: repeated google.protobuf.FieldDescriptorProto extension = 7;
|
|
1971
1846
|
*/
|
|
1972
1847
|
extension?: FieldDescriptorProto[];
|
|
1973
1848
|
/**
|
|
1974
|
-
* @generated from field: google.protobuf.FileOptions options = 8
|
|
1849
|
+
* @generated from field: optional google.protobuf.FileOptions options = 8;
|
|
1975
1850
|
*/
|
|
1976
1851
|
options?: FileOptions;
|
|
1977
1852
|
/**
|
|
@@ -1980,8 +1855,7 @@ export type FileDescriptorProto = Message<{
|
|
|
1980
1855
|
* functionality of the descriptors -- the information is needed only by
|
|
1981
1856
|
* development tools.
|
|
1982
1857
|
*
|
|
1983
|
-
*
|
|
1984
|
-
* @generated from field: google.protobuf.SourceCodeInfo source_code_info = 9 [packed = false, default = , jstype = JS_NORMAL];
|
|
1858
|
+
* @generated from field: optional google.protobuf.SourceCodeInfo source_code_info = 9;
|
|
1985
1859
|
*/
|
|
1986
1860
|
sourceCodeInfo?: SourceCodeInfo;
|
|
1987
1861
|
/**
|
|
@@ -1990,15 +1864,13 @@ export type FileDescriptorProto = Message<{
|
|
|
1990
1864
|
*
|
|
1991
1865
|
* If `edition` is present, this value must be "editions".
|
|
1992
1866
|
*
|
|
1993
|
-
*
|
|
1994
|
-
* @generated from field: string syntax = 12 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1867
|
+
* @generated from field: optional string syntax = 12;
|
|
1995
1868
|
*/
|
|
1996
1869
|
syntax?: string;
|
|
1997
1870
|
/**
|
|
1998
1871
|
* The edition of the proto file.
|
|
1999
1872
|
*
|
|
2000
|
-
*
|
|
2001
|
-
* @generated from field: google.protobuf.Edition edition = 14 [packed = false, default = , jstype = JS_NORMAL];
|
|
1873
|
+
* @generated from field: optional google.protobuf.Edition edition = 14;
|
|
2002
1874
|
*/
|
|
2003
1875
|
edition?: Edition;
|
|
2004
1876
|
}>;
|
|
@@ -2007,12 +1879,11 @@ export declare const FileDescriptorProto: MessageType<FileDescriptorProto>;
|
|
|
2007
1879
|
* The protocol compiler can output a FileDescriptorSet containing the .proto
|
|
2008
1880
|
* files it parses.
|
|
2009
1881
|
*
|
|
2010
|
-
*
|
|
2011
1882
|
* @generated from message google.protobuf.FileDescriptorSet
|
|
2012
1883
|
*/
|
|
2013
1884
|
export type FileDescriptorSet = Message<{
|
|
2014
1885
|
/**
|
|
2015
|
-
* @generated from field: repeated google.protobuf.FileDescriptorProto file = 1
|
|
1886
|
+
* @generated from field: repeated google.protobuf.FileDescriptorProto file = 1;
|
|
2016
1887
|
*/
|
|
2017
1888
|
file?: FileDescriptorProto[];
|
|
2018
1889
|
}>;
|
|
@@ -2023,16 +1894,15 @@ export declare const FileDescriptorSet: MessageType<FileDescriptorSet>;
|
|
|
2023
1894
|
* the defaults at the closest matching edition ordered at or before it should
|
|
2024
1895
|
* be used. This field must be in strict ascending order by edition.
|
|
2025
1896
|
*
|
|
2026
|
-
*
|
|
2027
1897
|
* @generated from message google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
|
|
2028
1898
|
*/
|
|
2029
1899
|
export type FeatureSetDefaults_FeatureSetEditionDefault = Message<{
|
|
2030
1900
|
/**
|
|
2031
|
-
* @generated from field: google.protobuf.Edition edition = 3
|
|
1901
|
+
* @generated from field: optional google.protobuf.Edition edition = 3;
|
|
2032
1902
|
*/
|
|
2033
1903
|
edition?: Edition;
|
|
2034
1904
|
/**
|
|
2035
|
-
* @generated from field: google.protobuf.FeatureSet features = 2
|
|
1905
|
+
* @generated from field: optional google.protobuf.FeatureSet features = 2;
|
|
2036
1906
|
*/
|
|
2037
1907
|
features?: FeatureSet;
|
|
2038
1908
|
}>;
|
|
@@ -2043,28 +1913,25 @@ export declare const FeatureSetDefaults_FeatureSetEditionDefault: MessageType<Fe
|
|
|
2043
1913
|
* feature resolution. The resolution with this object becomes a simple search
|
|
2044
1914
|
* for the closest matching edition, followed by proto merges.
|
|
2045
1915
|
*
|
|
2046
|
-
*
|
|
2047
1916
|
* @generated from message google.protobuf.FeatureSetDefaults
|
|
2048
1917
|
*/
|
|
2049
1918
|
export type FeatureSetDefaults = Message<{
|
|
2050
1919
|
/**
|
|
2051
|
-
* @generated from field: repeated google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1
|
|
1920
|
+
* @generated from field: repeated google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;
|
|
2052
1921
|
*/
|
|
2053
1922
|
defaults?: FeatureSetDefaults_FeatureSetEditionDefault[];
|
|
2054
1923
|
/**
|
|
2055
1924
|
* The minimum supported edition (inclusive) when this was constructed.
|
|
2056
1925
|
* Editions before this will not have defaults.
|
|
2057
1926
|
*
|
|
2058
|
-
*
|
|
2059
|
-
* @generated from field: google.protobuf.Edition minimum_edition = 4 [packed = false, default = , jstype = JS_NORMAL];
|
|
1927
|
+
* @generated from field: optional google.protobuf.Edition minimum_edition = 4;
|
|
2060
1928
|
*/
|
|
2061
1929
|
minimumEdition?: Edition;
|
|
2062
1930
|
/**
|
|
2063
1931
|
* The maximum known edition (inclusive) when this was constructed. Editions
|
|
2064
1932
|
* after this will not have reliable defaults.
|
|
2065
1933
|
*
|
|
2066
|
-
*
|
|
2067
|
-
* @generated from field: google.protobuf.Edition maximum_edition = 5 [packed = false, default = , jstype = JS_NORMAL];
|
|
1934
|
+
* @generated from field: optional google.protobuf.Edition maximum_edition = 5;
|
|
2068
1935
|
*/
|
|
2069
1936
|
maximumEdition?: Edition;
|
|
2070
1937
|
}>;
|
|
@@ -2077,23 +1944,20 @@ export type GeneratedCodeInfo_Annotation = Message<{
|
|
|
2077
1944
|
* Identifies the element in the original source .proto file. This field
|
|
2078
1945
|
* is formatted the same as SourceCodeInfo.Location.path.
|
|
2079
1946
|
*
|
|
2080
|
-
*
|
|
2081
|
-
* @generated from field: repeated int32 path = 1 [packed = true, default = , jstype = JS_NORMAL];
|
|
1947
|
+
* @generated from field: repeated int32 path = 1 [packed = true];
|
|
2082
1948
|
*/
|
|
2083
1949
|
path?: number[];
|
|
2084
1950
|
/**
|
|
2085
1951
|
* Identifies the filesystem path to the original source .proto.
|
|
2086
1952
|
*
|
|
2087
|
-
*
|
|
2088
|
-
* @generated from field: string source_file = 2 [packed = false, default = "", jstype = JS_NORMAL];
|
|
1953
|
+
* @generated from field: optional string source_file = 2;
|
|
2089
1954
|
*/
|
|
2090
1955
|
sourceFile?: string;
|
|
2091
1956
|
/**
|
|
2092
1957
|
* Identifies the starting offset in bytes in the generated code
|
|
2093
1958
|
* that relates to the identified object.
|
|
2094
1959
|
*
|
|
2095
|
-
*
|
|
2096
|
-
* @generated from field: int32 begin = 3 [packed = false, default = , jstype = JS_NORMAL];
|
|
1960
|
+
* @generated from field: optional int32 begin = 3;
|
|
2097
1961
|
*/
|
|
2098
1962
|
begin?: number;
|
|
2099
1963
|
/**
|
|
@@ -2101,12 +1965,11 @@ export type GeneratedCodeInfo_Annotation = Message<{
|
|
|
2101
1965
|
* relates to the identified object. The end offset should be one past
|
|
2102
1966
|
* the last relevant byte (so the length of the text = end - begin).
|
|
2103
1967
|
*
|
|
2104
|
-
*
|
|
2105
|
-
* @generated from field: int32 end = 4 [packed = false, default = , jstype = JS_NORMAL];
|
|
1968
|
+
* @generated from field: optional int32 end = 4;
|
|
2106
1969
|
*/
|
|
2107
1970
|
end?: number;
|
|
2108
1971
|
/**
|
|
2109
|
-
* @generated from field: google.protobuf.GeneratedCodeInfo.Annotation.Semantic semantic = 5
|
|
1972
|
+
* @generated from field: optional google.protobuf.GeneratedCodeInfo.Annotation.Semantic semantic = 5;
|
|
2110
1973
|
*/
|
|
2111
1974
|
semantic?: GeneratedCodeInfo_Annotation_Semantic;
|
|
2112
1975
|
}>;
|
|
@@ -2116,7 +1979,6 @@ export declare const GeneratedCodeInfo_Annotation: MessageType<GeneratedCodeInfo
|
|
|
2116
1979
|
* file. A GeneratedCodeInfo message is associated with only one generated
|
|
2117
1980
|
* source file, but may contain references to different source .proto files.
|
|
2118
1981
|
*
|
|
2119
|
-
*
|
|
2120
1982
|
* @generated from message google.protobuf.GeneratedCodeInfo
|
|
2121
1983
|
*/
|
|
2122
1984
|
export type GeneratedCodeInfo = Message<{
|
|
@@ -2124,8 +1986,7 @@ export type GeneratedCodeInfo = Message<{
|
|
|
2124
1986
|
* An Annotation connects some span of text in generated code to an element
|
|
2125
1987
|
* of its generating .proto file.
|
|
2126
1988
|
*
|
|
2127
|
-
*
|
|
2128
|
-
* @generated from field: repeated google.protobuf.GeneratedCodeInfo.Annotation annotation = 1 [packed = false, default = , jstype = JS_NORMAL];
|
|
1989
|
+
* @generated from field: repeated google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;
|
|
2129
1990
|
*/
|
|
2130
1991
|
annotation?: GeneratedCodeInfo_Annotation[];
|
|
2131
1992
|
}>;
|