@milaboratories/pl-client 2.11.10 → 2.11.12
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/core/client.cjs +3 -0
- package/dist/core/client.cjs.map +1 -1
- package/dist/core/client.d.ts +2 -1
- package/dist/core/client.d.ts.map +1 -1
- package/dist/core/client.js +3 -0
- package/dist/core/client.js.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.cjs +759 -124
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.cjs.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.cjs +7 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.cjs.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts +10 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.js +7 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.js.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +270 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.js +752 -125
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.js.map +1 -1
- package/dist/proto/google/protobuf/any.cjs.map +1 -1
- package/dist/proto/google/protobuf/any.d.ts +5 -9
- package/dist/proto/google/protobuf/any.d.ts.map +1 -1
- package/dist/proto/google/protobuf/any.js.map +1 -1
- package/dist/proto/google/protobuf/descriptor.d.ts +45 -878
- package/dist/proto/google/protobuf/descriptor.d.ts.map +1 -1
- package/dist/proto/google/protobuf/duration.cjs.map +1 -1
- package/dist/proto/google/protobuf/duration.d.ts +1 -0
- package/dist/proto/google/protobuf/duration.d.ts.map +1 -1
- package/dist/proto/google/protobuf/duration.js.map +1 -1
- package/dist/proto/google/protobuf/struct.d.ts +1 -1
- package/dist/proto/google/protobuf/timestamp.cjs.map +1 -1
- package/dist/proto/google/protobuf/timestamp.d.ts +4 -1
- package/dist/proto/google/protobuf/timestamp.d.ts.map +1 -1
- package/dist/proto/google/protobuf/timestamp.js.map +1 -1
- package/dist/proto/google/protobuf/wrappers.d.ts +0 -27
- package/dist/proto/google/protobuf/wrappers.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/core/client.ts +5 -1
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.ts +13 -0
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.ts +859 -82
- package/src/proto/google/protobuf/any.ts +5 -9
- package/src/proto/google/protobuf/descriptor.ts +75 -1465
- package/src/proto/google/protobuf/duration.ts +1 -0
- package/src/proto/google/protobuf/struct.ts +1 -1
- package/src/proto/google/protobuf/timestamp.ts +4 -1
- package/src/proto/google/protobuf/wrappers.ts +4 -37
|
@@ -95,13 +95,6 @@ export interface FileDescriptorProto {
|
|
|
95
95
|
* @generated from protobuf field: repeated int32 weak_dependency = 11
|
|
96
96
|
*/
|
|
97
97
|
weakDependency: number[];
|
|
98
|
-
/**
|
|
99
|
-
* Names of files imported by this file purely for the purpose of providing
|
|
100
|
-
* option extensions. These are excluded from the dependency list above.
|
|
101
|
-
*
|
|
102
|
-
* @generated from protobuf field: repeated string option_dependency = 15
|
|
103
|
-
*/
|
|
104
|
-
optionDependency: string[];
|
|
105
98
|
/**
|
|
106
99
|
* All top-level definitions in this file.
|
|
107
100
|
*
|
|
@@ -135,25 +128,11 @@ export interface FileDescriptorProto {
|
|
|
135
128
|
sourceCodeInfo?: SourceCodeInfo;
|
|
136
129
|
/**
|
|
137
130
|
* The syntax of the proto file.
|
|
138
|
-
* The supported values are "proto2"
|
|
139
|
-
*
|
|
140
|
-
* If `edition` is present, this value must be "editions".
|
|
141
|
-
* WARNING: This field should only be used by protobuf plugins or special
|
|
142
|
-
* cases like the proto compiler. Other uses are discouraged and
|
|
143
|
-
* developers should rely on the protoreflect APIs for their client language.
|
|
131
|
+
* The supported values are "proto2" and "proto3".
|
|
144
132
|
*
|
|
145
133
|
* @generated from protobuf field: optional string syntax = 12
|
|
146
134
|
*/
|
|
147
135
|
syntax?: string;
|
|
148
|
-
/**
|
|
149
|
-
* The edition of the proto file.
|
|
150
|
-
* WARNING: This field should only be used by protobuf plugins or special
|
|
151
|
-
* cases like the proto compiler. Other uses are discouraged and
|
|
152
|
-
* developers should rely on the protoreflect APIs for their client language.
|
|
153
|
-
*
|
|
154
|
-
* @generated from protobuf field: optional google.protobuf.Edition edition = 14
|
|
155
|
-
*/
|
|
156
|
-
edition?: Edition;
|
|
157
136
|
}
|
|
158
137
|
/**
|
|
159
138
|
* Describes a message type.
|
|
@@ -204,12 +183,6 @@ export interface DescriptorProto {
|
|
|
204
183
|
* @generated from protobuf field: repeated string reserved_name = 10
|
|
205
184
|
*/
|
|
206
185
|
reservedName: string[];
|
|
207
|
-
/**
|
|
208
|
-
* Support for `export` and `local` keywords on enums.
|
|
209
|
-
*
|
|
210
|
-
* @generated from protobuf field: optional google.protobuf.SymbolVisibility visibility = 11
|
|
211
|
-
*/
|
|
212
|
-
visibility?: SymbolVisibility;
|
|
213
186
|
}
|
|
214
187
|
/**
|
|
215
188
|
* @generated from protobuf message google.protobuf.DescriptorProto.ExtensionRange
|
|
@@ -255,86 +228,6 @@ export interface ExtensionRangeOptions {
|
|
|
255
228
|
* @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999
|
|
256
229
|
*/
|
|
257
230
|
uninterpretedOption: UninterpretedOption[];
|
|
258
|
-
/**
|
|
259
|
-
* For external users: DO NOT USE. We are in the process of open sourcing
|
|
260
|
-
* extension declaration and executing internal cleanups before it can be
|
|
261
|
-
* used externally.
|
|
262
|
-
*
|
|
263
|
-
* @generated from protobuf field: repeated google.protobuf.ExtensionRangeOptions.Declaration declaration = 2
|
|
264
|
-
*/
|
|
265
|
-
declaration: ExtensionRangeOptions_Declaration[];
|
|
266
|
-
/**
|
|
267
|
-
* Any features defined in the specific edition.
|
|
268
|
-
*
|
|
269
|
-
* @generated from protobuf field: optional google.protobuf.FeatureSet features = 50
|
|
270
|
-
*/
|
|
271
|
-
features?: FeatureSet;
|
|
272
|
-
/**
|
|
273
|
-
* The verification state of the range.
|
|
274
|
-
* TODO: flip the default to DECLARATION once all empty ranges
|
|
275
|
-
* are marked as UNVERIFIED.
|
|
276
|
-
*
|
|
277
|
-
* @generated from protobuf field: optional google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED]
|
|
278
|
-
*/
|
|
279
|
-
verification?: ExtensionRangeOptions_VerificationState;
|
|
280
|
-
}
|
|
281
|
-
/**
|
|
282
|
-
* @generated from protobuf message google.protobuf.ExtensionRangeOptions.Declaration
|
|
283
|
-
*/
|
|
284
|
-
export interface ExtensionRangeOptions_Declaration {
|
|
285
|
-
/**
|
|
286
|
-
* The extension number declared within the extension range.
|
|
287
|
-
*
|
|
288
|
-
* @generated from protobuf field: optional int32 number = 1
|
|
289
|
-
*/
|
|
290
|
-
number?: number;
|
|
291
|
-
/**
|
|
292
|
-
* The fully-qualified name of the extension field. There must be a leading
|
|
293
|
-
* dot in front of the full name.
|
|
294
|
-
*
|
|
295
|
-
* @generated from protobuf field: optional string full_name = 2
|
|
296
|
-
*/
|
|
297
|
-
fullName?: string;
|
|
298
|
-
/**
|
|
299
|
-
* The fully-qualified type name of the extension field. Unlike
|
|
300
|
-
* Metadata.type, Declaration.type must have a leading dot for messages
|
|
301
|
-
* and enums.
|
|
302
|
-
*
|
|
303
|
-
* @generated from protobuf field: optional string type = 3
|
|
304
|
-
*/
|
|
305
|
-
type?: string;
|
|
306
|
-
/**
|
|
307
|
-
* If true, indicates that the number is reserved in the extension range,
|
|
308
|
-
* and any extension field with the number will fail to compile. Set this
|
|
309
|
-
* when a declared extension field is deleted.
|
|
310
|
-
*
|
|
311
|
-
* @generated from protobuf field: optional bool reserved = 5
|
|
312
|
-
*/
|
|
313
|
-
reserved?: boolean;
|
|
314
|
-
/**
|
|
315
|
-
* If true, indicates that the extension must be defined as repeated.
|
|
316
|
-
* Otherwise the extension must be defined as optional.
|
|
317
|
-
*
|
|
318
|
-
* @generated from protobuf field: optional bool repeated = 6
|
|
319
|
-
*/
|
|
320
|
-
repeated?: boolean;
|
|
321
|
-
}
|
|
322
|
-
/**
|
|
323
|
-
* The verification state of the extension range.
|
|
324
|
-
*
|
|
325
|
-
* @generated from protobuf enum google.protobuf.ExtensionRangeOptions.VerificationState
|
|
326
|
-
*/
|
|
327
|
-
export enum ExtensionRangeOptions_VerificationState {
|
|
328
|
-
/**
|
|
329
|
-
* All the extensions of the range must be declared.
|
|
330
|
-
*
|
|
331
|
-
* @generated from protobuf enum value: DECLARATION = 0;
|
|
332
|
-
*/
|
|
333
|
-
DECLARATION = 0,
|
|
334
|
-
/**
|
|
335
|
-
* @generated from protobuf enum value: UNVERIFIED = 1;
|
|
336
|
-
*/
|
|
337
|
-
UNVERIFIED = 1
|
|
338
231
|
}
|
|
339
232
|
/**
|
|
340
233
|
* Describes a field within a message.
|
|
@@ -411,12 +304,12 @@ export interface FieldDescriptorProto {
|
|
|
411
304
|
* If true, this is a proto3 "optional". When a proto3 field is optional, it
|
|
412
305
|
* tracks presence regardless of field type.
|
|
413
306
|
*
|
|
414
|
-
* When proto3_optional is true, this field must belong to a oneof to
|
|
415
|
-
* to old proto3 clients that presence is tracked for this field. This
|
|
416
|
-
* is known as a "synthetic" oneof, and this field must be its sole
|
|
417
|
-
* (each proto3 optional field gets its own synthetic oneof). Synthetic
|
|
418
|
-
* exist in the descriptor only, and do not generate any API. Synthetic
|
|
419
|
-
* must be ordered after all "real" oneofs.
|
|
307
|
+
* When proto3_optional is true, this field must be belong to a oneof to
|
|
308
|
+
* signal to old proto3 clients that presence is tracked for this field. This
|
|
309
|
+
* oneof is known as a "synthetic" oneof, and this field must be its sole
|
|
310
|
+
* member (each proto3 optional field gets its own synthetic oneof). Synthetic
|
|
311
|
+
* oneofs exist in the descriptor only, and do not generate any API. Synthetic
|
|
312
|
+
* oneofs must be ordered after all "real" oneofs.
|
|
420
313
|
*
|
|
421
314
|
* For message fields, proto3_optional doesn't create any semantic change,
|
|
422
315
|
* since non-repeated message fields always track presence. However it still
|
|
@@ -489,10 +382,9 @@ export enum FieldDescriptorProto_Type {
|
|
|
489
382
|
STRING = 9,
|
|
490
383
|
/**
|
|
491
384
|
* Tag-delimited aggregate.
|
|
492
|
-
* Group type is deprecated and not supported
|
|
385
|
+
* Group type is deprecated and not supported in proto3. However, Proto3
|
|
493
386
|
* implementations should still be able to parse the group wire format and
|
|
494
|
-
* treat group fields as unknown fields.
|
|
495
|
-
* can be enabled via the `message_encoding` feature.
|
|
387
|
+
* treat group fields as unknown fields.
|
|
496
388
|
*
|
|
497
389
|
* @generated from protobuf enum value: TYPE_GROUP = 10;
|
|
498
390
|
*/
|
|
@@ -553,17 +445,13 @@ export enum FieldDescriptorProto_Label {
|
|
|
553
445
|
*/
|
|
554
446
|
OPTIONAL = 1,
|
|
555
447
|
/**
|
|
556
|
-
* @generated from protobuf enum value:
|
|
448
|
+
* @generated from protobuf enum value: LABEL_REQUIRED = 2;
|
|
557
449
|
*/
|
|
558
|
-
|
|
450
|
+
REQUIRED = 2,
|
|
559
451
|
/**
|
|
560
|
-
*
|
|
561
|
-
* it's explicitly prohibited. In Editions, the `field_presence` feature
|
|
562
|
-
* can be used to get this behavior.
|
|
563
|
-
*
|
|
564
|
-
* @generated from protobuf enum value: LABEL_REQUIRED = 2;
|
|
452
|
+
* @generated from protobuf enum value: LABEL_REPEATED = 3;
|
|
565
453
|
*/
|
|
566
|
-
|
|
454
|
+
REPEATED = 3
|
|
567
455
|
}
|
|
568
456
|
/**
|
|
569
457
|
* Describes a oneof.
|
|
@@ -613,12 +501,6 @@ export interface EnumDescriptorProto {
|
|
|
613
501
|
* @generated from protobuf field: repeated string reserved_name = 5
|
|
614
502
|
*/
|
|
615
503
|
reservedName: string[];
|
|
616
|
-
/**
|
|
617
|
-
* Support for `export` and `local` keywords on enums.
|
|
618
|
-
*
|
|
619
|
-
* @generated from protobuf field: optional google.protobuf.SymbolVisibility visibility = 6
|
|
620
|
-
*/
|
|
621
|
-
visibility?: SymbolVisibility;
|
|
622
504
|
}
|
|
623
505
|
/**
|
|
624
506
|
* Range of reserved numeric values. Reserved values may not be used by
|
|
@@ -790,16 +672,12 @@ export interface FileOptions {
|
|
|
790
672
|
*/
|
|
791
673
|
javaGenerateEqualsAndHash?: boolean;
|
|
792
674
|
/**
|
|
793
|
-
*
|
|
794
|
-
*
|
|
795
|
-
*
|
|
796
|
-
*
|
|
797
|
-
*
|
|
798
|
-
*
|
|
799
|
-
*
|
|
800
|
-
* Proto3 files already perform these checks. Setting the option explicitly to
|
|
801
|
-
* false has no effect: it cannot be used to opt proto3 files out of UTF-8
|
|
802
|
-
* checks.
|
|
675
|
+
* If set true, then the Java2 code generator will generate code that
|
|
676
|
+
* throws an exception whenever an attempt is made to assign a non-UTF-8
|
|
677
|
+
* byte sequence to a string field.
|
|
678
|
+
* Message reflection will do the same.
|
|
679
|
+
* However, an extension field still accepts non-UTF-8 byte sequences.
|
|
680
|
+
* This option has no effect on when used with the lite runtime.
|
|
803
681
|
*
|
|
804
682
|
* @generated from protobuf field: optional bool java_string_check_utf8 = 27 [default = false]
|
|
805
683
|
*/
|
|
@@ -841,6 +719,10 @@ export interface FileOptions {
|
|
|
841
719
|
* @generated from protobuf field: optional bool py_generic_services = 18 [default = false]
|
|
842
720
|
*/
|
|
843
721
|
pyGenericServices?: boolean;
|
|
722
|
+
/**
|
|
723
|
+
* @generated from protobuf field: optional bool php_generic_services = 42 [default = false]
|
|
724
|
+
*/
|
|
725
|
+
phpGenericServices?: boolean;
|
|
844
726
|
/**
|
|
845
727
|
* Is this file deprecated?
|
|
846
728
|
* Depending on the target platform, this can emit Deprecated annotations
|
|
@@ -910,15 +792,6 @@ export interface FileOptions {
|
|
|
910
792
|
* @generated from protobuf field: optional string ruby_package = 45
|
|
911
793
|
*/
|
|
912
794
|
rubyPackage?: string;
|
|
913
|
-
/**
|
|
914
|
-
* Any features defined in the specific edition.
|
|
915
|
-
* WARNING: This field should only be used by protobuf plugins or special
|
|
916
|
-
* cases like the proto compiler. Other uses are discouraged and
|
|
917
|
-
* developers should rely on the protoreflect APIs for their client language.
|
|
918
|
-
*
|
|
919
|
-
* @generated from protobuf field: optional google.protobuf.FeatureSet features = 50
|
|
920
|
-
*/
|
|
921
|
-
features?: FeatureSet;
|
|
922
795
|
/**
|
|
923
796
|
* The parser stores options it doesn't recognize here.
|
|
924
797
|
* See the documentation for the "Options" section above.
|
|
@@ -1028,31 +901,6 @@ export interface MessageOptions {
|
|
|
1028
901
|
* @generated from protobuf field: optional bool map_entry = 7
|
|
1029
902
|
*/
|
|
1030
903
|
mapEntry?: boolean;
|
|
1031
|
-
/**
|
|
1032
|
-
* Enable the legacy handling of JSON field name conflicts. This lowercases
|
|
1033
|
-
* and strips underscored from the fields before comparison in proto3 only.
|
|
1034
|
-
* The new behavior takes `json_name` into account and applies to proto2 as
|
|
1035
|
-
* well.
|
|
1036
|
-
*
|
|
1037
|
-
* This should only be used as a temporary measure against broken builds due
|
|
1038
|
-
* to the change in behavior for JSON field name conflicts.
|
|
1039
|
-
*
|
|
1040
|
-
* TODO This is legacy behavior we plan to remove once downstream
|
|
1041
|
-
* teams have had time to migrate.
|
|
1042
|
-
*
|
|
1043
|
-
* @deprecated
|
|
1044
|
-
* @generated from protobuf field: optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true]
|
|
1045
|
-
*/
|
|
1046
|
-
deprecatedLegacyJsonFieldConflicts?: boolean;
|
|
1047
|
-
/**
|
|
1048
|
-
* Any features defined in the specific edition.
|
|
1049
|
-
* WARNING: This field should only be used by protobuf plugins or special
|
|
1050
|
-
* cases like the proto compiler. Other uses are discouraged and
|
|
1051
|
-
* developers should rely on the protoreflect APIs for their client language.
|
|
1052
|
-
*
|
|
1053
|
-
* @generated from protobuf field: optional google.protobuf.FeatureSet features = 12
|
|
1054
|
-
*/
|
|
1055
|
-
features?: FeatureSet;
|
|
1056
904
|
/**
|
|
1057
905
|
* The parser stores options it doesn't recognize here. See above.
|
|
1058
906
|
*
|
|
@@ -1065,13 +913,10 @@ export interface MessageOptions {
|
|
|
1065
913
|
*/
|
|
1066
914
|
export interface FieldOptions {
|
|
1067
915
|
/**
|
|
1068
|
-
* NOTE: ctype is deprecated. Use `features.(pb.cpp).string_type` instead.
|
|
1069
916
|
* The ctype option instructs the C++ code generator to use a different
|
|
1070
917
|
* representation of the field than it normally would. See the specific
|
|
1071
|
-
* options below. This option is
|
|
1072
|
-
*
|
|
1073
|
-
* type "bytes" in the open source release.
|
|
1074
|
-
* TODO: make ctype actually deprecated.
|
|
918
|
+
* options below. This option is not yet implemented in the open source
|
|
919
|
+
* release -- sorry, we'll try to include it in a future version!
|
|
1075
920
|
*
|
|
1076
921
|
* @generated from protobuf field: optional google.protobuf.FieldOptions.CType ctype = 1 [default = STRING]
|
|
1077
922
|
*/
|
|
@@ -1081,9 +926,7 @@ export interface FieldOptions {
|
|
|
1081
926
|
* a more efficient representation on the wire. Rather than repeatedly
|
|
1082
927
|
* writing the tag and type for each element, the entire array is encoded as
|
|
1083
928
|
* a single length-delimited blob. In proto3, only explicit setting it to
|
|
1084
|
-
* false will avoid using packed encoding.
|
|
1085
|
-
* Editions, but the `repeated_field_encoding` feature can be used to control
|
|
1086
|
-
* the behavior.
|
|
929
|
+
* false will avoid using packed encoding.
|
|
1087
930
|
*
|
|
1088
931
|
* @generated from protobuf field: optional bool packed = 2
|
|
1089
932
|
*/
|
|
@@ -1122,11 +965,23 @@ export interface FieldOptions {
|
|
|
1122
965
|
* call from multiple threads concurrently, while non-const methods continue
|
|
1123
966
|
* to require exclusive access.
|
|
1124
967
|
*
|
|
1125
|
-
*
|
|
1126
|
-
*
|
|
1127
|
-
*
|
|
1128
|
-
*
|
|
1129
|
-
*
|
|
968
|
+
*
|
|
969
|
+
* Note that implementations may choose not to check required fields within
|
|
970
|
+
* a lazy sub-message. That is, calling IsInitialized() on the outer message
|
|
971
|
+
* may return true even if the inner message has missing required fields.
|
|
972
|
+
* This is necessary because otherwise the inner message would have to be
|
|
973
|
+
* parsed in order to perform the check, defeating the purpose of lazy
|
|
974
|
+
* parsing. An implementation which chooses not to check required fields
|
|
975
|
+
* must be consistent about it. That is, for any particular sub-message, the
|
|
976
|
+
* implementation must either *always* check its required fields, or *never*
|
|
977
|
+
* check its required fields, regardless of whether or not the message has
|
|
978
|
+
* been parsed.
|
|
979
|
+
*
|
|
980
|
+
* As of 2021, lazy does no correctness checks on the byte stream during
|
|
981
|
+
* parsing. This may lead to crashes if and when an invalid byte stream is
|
|
982
|
+
* finally parsed upon access.
|
|
983
|
+
*
|
|
984
|
+
* TODO(b/211906113): Enable validation on lazy fields.
|
|
1130
985
|
*
|
|
1131
986
|
* @generated from protobuf field: optional bool lazy = 5 [default = false]
|
|
1132
987
|
*/
|
|
@@ -1154,38 +1009,6 @@ export interface FieldOptions {
|
|
|
1154
1009
|
* @generated from protobuf field: optional bool weak = 10 [default = false]
|
|
1155
1010
|
*/
|
|
1156
1011
|
weak?: boolean;
|
|
1157
|
-
/**
|
|
1158
|
-
* Indicate that the field value should not be printed out when using debug
|
|
1159
|
-
* formats, e.g. when the field contains sensitive credentials.
|
|
1160
|
-
*
|
|
1161
|
-
* @generated from protobuf field: optional bool debug_redact = 16 [default = false]
|
|
1162
|
-
*/
|
|
1163
|
-
debugRedact?: boolean;
|
|
1164
|
-
/**
|
|
1165
|
-
* @generated from protobuf field: optional google.protobuf.FieldOptions.OptionRetention retention = 17
|
|
1166
|
-
*/
|
|
1167
|
-
retention?: FieldOptions_OptionRetention;
|
|
1168
|
-
/**
|
|
1169
|
-
* @generated from protobuf field: repeated google.protobuf.FieldOptions.OptionTargetType targets = 19
|
|
1170
|
-
*/
|
|
1171
|
-
targets: FieldOptions_OptionTargetType[];
|
|
1172
|
-
/**
|
|
1173
|
-
* @generated from protobuf field: repeated google.protobuf.FieldOptions.EditionDefault edition_defaults = 20
|
|
1174
|
-
*/
|
|
1175
|
-
editionDefaults: FieldOptions_EditionDefault[];
|
|
1176
|
-
/**
|
|
1177
|
-
* Any features defined in the specific edition.
|
|
1178
|
-
* WARNING: This field should only be used by protobuf plugins or special
|
|
1179
|
-
* cases like the proto compiler. Other uses are discouraged and
|
|
1180
|
-
* developers should rely on the protoreflect APIs for their client language.
|
|
1181
|
-
*
|
|
1182
|
-
* @generated from protobuf field: optional google.protobuf.FeatureSet features = 21
|
|
1183
|
-
*/
|
|
1184
|
-
features?: FeatureSet;
|
|
1185
|
-
/**
|
|
1186
|
-
* @generated from protobuf field: optional google.protobuf.FieldOptions.FeatureSupport feature_support = 22
|
|
1187
|
-
*/
|
|
1188
|
-
featureSupport?: FieldOptions_FeatureSupport;
|
|
1189
1012
|
/**
|
|
1190
1013
|
* The parser stores options it doesn't recognize here. See above.
|
|
1191
1014
|
*
|
|
@@ -1193,56 +1016,6 @@ export interface FieldOptions {
|
|
|
1193
1016
|
*/
|
|
1194
1017
|
uninterpretedOption: UninterpretedOption[];
|
|
1195
1018
|
}
|
|
1196
|
-
/**
|
|
1197
|
-
* @generated from protobuf message google.protobuf.FieldOptions.EditionDefault
|
|
1198
|
-
*/
|
|
1199
|
-
export interface FieldOptions_EditionDefault {
|
|
1200
|
-
/**
|
|
1201
|
-
* @generated from protobuf field: optional google.protobuf.Edition edition = 3
|
|
1202
|
-
*/
|
|
1203
|
-
edition?: Edition;
|
|
1204
|
-
/**
|
|
1205
|
-
* @generated from protobuf field: optional string value = 2
|
|
1206
|
-
*/
|
|
1207
|
-
value?: string; // Textproto value.
|
|
1208
|
-
}
|
|
1209
|
-
/**
|
|
1210
|
-
* Information about the support window of a feature.
|
|
1211
|
-
*
|
|
1212
|
-
* @generated from protobuf message google.protobuf.FieldOptions.FeatureSupport
|
|
1213
|
-
*/
|
|
1214
|
-
export interface FieldOptions_FeatureSupport {
|
|
1215
|
-
/**
|
|
1216
|
-
* The edition that this feature was first available in. In editions
|
|
1217
|
-
* earlier than this one, the default assigned to EDITION_LEGACY will be
|
|
1218
|
-
* used, and proto files will not be able to override it.
|
|
1219
|
-
*
|
|
1220
|
-
* @generated from protobuf field: optional google.protobuf.Edition edition_introduced = 1
|
|
1221
|
-
*/
|
|
1222
|
-
editionIntroduced?: Edition;
|
|
1223
|
-
/**
|
|
1224
|
-
* The edition this feature becomes deprecated in. Using this after this
|
|
1225
|
-
* edition may trigger warnings.
|
|
1226
|
-
*
|
|
1227
|
-
* @generated from protobuf field: optional google.protobuf.Edition edition_deprecated = 2
|
|
1228
|
-
*/
|
|
1229
|
-
editionDeprecated?: Edition;
|
|
1230
|
-
/**
|
|
1231
|
-
* The deprecation warning text if this feature is used after the edition it
|
|
1232
|
-
* was marked deprecated in.
|
|
1233
|
-
*
|
|
1234
|
-
* @generated from protobuf field: optional string deprecation_warning = 3
|
|
1235
|
-
*/
|
|
1236
|
-
deprecationWarning?: string;
|
|
1237
|
-
/**
|
|
1238
|
-
* The edition this feature is no longer available in. In editions after
|
|
1239
|
-
* this one, the last default assigned will be used, and proto files will
|
|
1240
|
-
* not be able to override it.
|
|
1241
|
-
*
|
|
1242
|
-
* @generated from protobuf field: optional google.protobuf.Edition edition_removed = 4
|
|
1243
|
-
*/
|
|
1244
|
-
editionRemoved?: Edition;
|
|
1245
|
-
}
|
|
1246
1019
|
/**
|
|
1247
1020
|
* @generated from protobuf enum google.protobuf.FieldOptions.CType
|
|
1248
1021
|
*/
|
|
@@ -1254,13 +1027,6 @@ export enum FieldOptions_CType {
|
|
|
1254
1027
|
*/
|
|
1255
1028
|
STRING = 0,
|
|
1256
1029
|
/**
|
|
1257
|
-
* The option [ctype=CORD] may be applied to a non-repeated field of type
|
|
1258
|
-
* "bytes". It indicates that in C++, the data should be stored in a Cord
|
|
1259
|
-
* instead of a string. For very large strings, this may reduce memory
|
|
1260
|
-
* fragmentation. It may also allow better performance when parsing from a
|
|
1261
|
-
* Cord, or when parsing with aliasing enabled, as the parsed Cord may then
|
|
1262
|
-
* alias the original buffer.
|
|
1263
|
-
*
|
|
1264
1030
|
* @generated from protobuf enum value: CORD = 1;
|
|
1265
1031
|
*/
|
|
1266
1032
|
CORD = 1,
|
|
@@ -1292,87 +1058,10 @@ export enum FieldOptions_JSType {
|
|
|
1292
1058
|
*/
|
|
1293
1059
|
JS_NUMBER = 2
|
|
1294
1060
|
}
|
|
1295
|
-
/**
|
|
1296
|
-
* If set to RETENTION_SOURCE, the option will be omitted from the binary.
|
|
1297
|
-
*
|
|
1298
|
-
* @generated from protobuf enum google.protobuf.FieldOptions.OptionRetention
|
|
1299
|
-
*/
|
|
1300
|
-
export enum FieldOptions_OptionRetention {
|
|
1301
|
-
/**
|
|
1302
|
-
* @generated from protobuf enum value: RETENTION_UNKNOWN = 0;
|
|
1303
|
-
*/
|
|
1304
|
-
RETENTION_UNKNOWN = 0,
|
|
1305
|
-
/**
|
|
1306
|
-
* @generated from protobuf enum value: RETENTION_RUNTIME = 1;
|
|
1307
|
-
*/
|
|
1308
|
-
RETENTION_RUNTIME = 1,
|
|
1309
|
-
/**
|
|
1310
|
-
* @generated from protobuf enum value: RETENTION_SOURCE = 2;
|
|
1311
|
-
*/
|
|
1312
|
-
RETENTION_SOURCE = 2
|
|
1313
|
-
}
|
|
1314
|
-
/**
|
|
1315
|
-
* This indicates the types of entities that the field may apply to when used
|
|
1316
|
-
* as an option. If it is unset, then the field may be freely used as an
|
|
1317
|
-
* option on any kind of entity.
|
|
1318
|
-
*
|
|
1319
|
-
* @generated from protobuf enum google.protobuf.FieldOptions.OptionTargetType
|
|
1320
|
-
*/
|
|
1321
|
-
export enum FieldOptions_OptionTargetType {
|
|
1322
|
-
/**
|
|
1323
|
-
* @generated from protobuf enum value: TARGET_TYPE_UNKNOWN = 0;
|
|
1324
|
-
*/
|
|
1325
|
-
TARGET_TYPE_UNKNOWN = 0,
|
|
1326
|
-
/**
|
|
1327
|
-
* @generated from protobuf enum value: TARGET_TYPE_FILE = 1;
|
|
1328
|
-
*/
|
|
1329
|
-
TARGET_TYPE_FILE = 1,
|
|
1330
|
-
/**
|
|
1331
|
-
* @generated from protobuf enum value: TARGET_TYPE_EXTENSION_RANGE = 2;
|
|
1332
|
-
*/
|
|
1333
|
-
TARGET_TYPE_EXTENSION_RANGE = 2,
|
|
1334
|
-
/**
|
|
1335
|
-
* @generated from protobuf enum value: TARGET_TYPE_MESSAGE = 3;
|
|
1336
|
-
*/
|
|
1337
|
-
TARGET_TYPE_MESSAGE = 3,
|
|
1338
|
-
/**
|
|
1339
|
-
* @generated from protobuf enum value: TARGET_TYPE_FIELD = 4;
|
|
1340
|
-
*/
|
|
1341
|
-
TARGET_TYPE_FIELD = 4,
|
|
1342
|
-
/**
|
|
1343
|
-
* @generated from protobuf enum value: TARGET_TYPE_ONEOF = 5;
|
|
1344
|
-
*/
|
|
1345
|
-
TARGET_TYPE_ONEOF = 5,
|
|
1346
|
-
/**
|
|
1347
|
-
* @generated from protobuf enum value: TARGET_TYPE_ENUM = 6;
|
|
1348
|
-
*/
|
|
1349
|
-
TARGET_TYPE_ENUM = 6,
|
|
1350
|
-
/**
|
|
1351
|
-
* @generated from protobuf enum value: TARGET_TYPE_ENUM_ENTRY = 7;
|
|
1352
|
-
*/
|
|
1353
|
-
TARGET_TYPE_ENUM_ENTRY = 7,
|
|
1354
|
-
/**
|
|
1355
|
-
* @generated from protobuf enum value: TARGET_TYPE_SERVICE = 8;
|
|
1356
|
-
*/
|
|
1357
|
-
TARGET_TYPE_SERVICE = 8,
|
|
1358
|
-
/**
|
|
1359
|
-
* @generated from protobuf enum value: TARGET_TYPE_METHOD = 9;
|
|
1360
|
-
*/
|
|
1361
|
-
TARGET_TYPE_METHOD = 9
|
|
1362
|
-
}
|
|
1363
1061
|
/**
|
|
1364
1062
|
* @generated from protobuf message google.protobuf.OneofOptions
|
|
1365
1063
|
*/
|
|
1366
1064
|
export interface OneofOptions {
|
|
1367
|
-
/**
|
|
1368
|
-
* Any features defined in the specific edition.
|
|
1369
|
-
* WARNING: This field should only be used by protobuf plugins or special
|
|
1370
|
-
* cases like the proto compiler. Other uses are discouraged and
|
|
1371
|
-
* developers should rely on the protoreflect APIs for their client language.
|
|
1372
|
-
*
|
|
1373
|
-
* @generated from protobuf field: optional google.protobuf.FeatureSet features = 1
|
|
1374
|
-
*/
|
|
1375
|
-
features?: FeatureSet;
|
|
1376
1065
|
/**
|
|
1377
1066
|
* The parser stores options it doesn't recognize here. See above.
|
|
1378
1067
|
*
|
|
@@ -1400,27 +1089,6 @@ export interface EnumOptions {
|
|
|
1400
1089
|
* @generated from protobuf field: optional bool deprecated = 3 [default = false]
|
|
1401
1090
|
*/
|
|
1402
1091
|
deprecated?: boolean;
|
|
1403
|
-
/**
|
|
1404
|
-
* Enable the legacy handling of JSON field name conflicts. This lowercases
|
|
1405
|
-
* and strips underscored from the fields before comparison in proto3 only.
|
|
1406
|
-
* The new behavior takes `json_name` into account and applies to proto2 as
|
|
1407
|
-
* well.
|
|
1408
|
-
* TODO Remove this legacy behavior once downstream teams have
|
|
1409
|
-
* had time to migrate.
|
|
1410
|
-
*
|
|
1411
|
-
* @deprecated
|
|
1412
|
-
* @generated from protobuf field: optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true]
|
|
1413
|
-
*/
|
|
1414
|
-
deprecatedLegacyJsonFieldConflicts?: boolean;
|
|
1415
|
-
/**
|
|
1416
|
-
* Any features defined in the specific edition.
|
|
1417
|
-
* WARNING: This field should only be used by protobuf plugins or special
|
|
1418
|
-
* cases like the proto compiler. Other uses are discouraged and
|
|
1419
|
-
* developers should rely on the protoreflect APIs for their client language.
|
|
1420
|
-
*
|
|
1421
|
-
* @generated from protobuf field: optional google.protobuf.FeatureSet features = 7
|
|
1422
|
-
*/
|
|
1423
|
-
features?: FeatureSet;
|
|
1424
1092
|
/**
|
|
1425
1093
|
* The parser stores options it doesn't recognize here. See above.
|
|
1426
1094
|
*
|
|
@@ -1441,29 +1109,6 @@ export interface EnumValueOptions {
|
|
|
1441
1109
|
* @generated from protobuf field: optional bool deprecated = 1 [default = false]
|
|
1442
1110
|
*/
|
|
1443
1111
|
deprecated?: boolean;
|
|
1444
|
-
/**
|
|
1445
|
-
* Any features defined in the specific edition.
|
|
1446
|
-
* WARNING: This field should only be used by protobuf plugins or special
|
|
1447
|
-
* cases like the proto compiler. Other uses are discouraged and
|
|
1448
|
-
* developers should rely on the protoreflect APIs for their client language.
|
|
1449
|
-
*
|
|
1450
|
-
* @generated from protobuf field: optional google.protobuf.FeatureSet features = 2
|
|
1451
|
-
*/
|
|
1452
|
-
features?: FeatureSet;
|
|
1453
|
-
/**
|
|
1454
|
-
* Indicate that fields annotated with this enum value should not be printed
|
|
1455
|
-
* out when using debug formats, e.g. when the field contains sensitive
|
|
1456
|
-
* credentials.
|
|
1457
|
-
*
|
|
1458
|
-
* @generated from protobuf field: optional bool debug_redact = 3 [default = false]
|
|
1459
|
-
*/
|
|
1460
|
-
debugRedact?: boolean;
|
|
1461
|
-
/**
|
|
1462
|
-
* Information about the support window of a feature value.
|
|
1463
|
-
*
|
|
1464
|
-
* @generated from protobuf field: optional google.protobuf.FieldOptions.FeatureSupport feature_support = 4
|
|
1465
|
-
*/
|
|
1466
|
-
featureSupport?: FieldOptions_FeatureSupport;
|
|
1467
1112
|
/**
|
|
1468
1113
|
* The parser stores options it doesn't recognize here. See above.
|
|
1469
1114
|
*
|
|
@@ -1475,15 +1120,6 @@ export interface EnumValueOptions {
|
|
|
1475
1120
|
* @generated from protobuf message google.protobuf.ServiceOptions
|
|
1476
1121
|
*/
|
|
1477
1122
|
export interface ServiceOptions {
|
|
1478
|
-
/**
|
|
1479
|
-
* Any features defined in the specific edition.
|
|
1480
|
-
* WARNING: This field should only be used by protobuf plugins or special
|
|
1481
|
-
* cases like the proto compiler. Other uses are discouraged and
|
|
1482
|
-
* developers should rely on the protoreflect APIs for their client language.
|
|
1483
|
-
*
|
|
1484
|
-
* @generated from protobuf field: optional google.protobuf.FeatureSet features = 34
|
|
1485
|
-
*/
|
|
1486
|
-
features?: FeatureSet;
|
|
1487
1123
|
// Note: Field numbers 1 through 32 are reserved for Google's internal RPC
|
|
1488
1124
|
// framework. We apologize for hoarding these numbers to ourselves, but
|
|
1489
1125
|
// we were already using them long before we decided to release Protocol
|
|
@@ -1527,15 +1163,6 @@ export interface MethodOptions {
|
|
|
1527
1163
|
* @generated from protobuf field: optional google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN]
|
|
1528
1164
|
*/
|
|
1529
1165
|
idempotencyLevel?: MethodOptions_IdempotencyLevel;
|
|
1530
|
-
/**
|
|
1531
|
-
* Any features defined in the specific edition.
|
|
1532
|
-
* WARNING: This field should only be used by protobuf plugins or special
|
|
1533
|
-
* cases like the proto compiler. Other uses are discouraged and
|
|
1534
|
-
* developers should rely on the protoreflect APIs for their client language.
|
|
1535
|
-
*
|
|
1536
|
-
* @generated from protobuf field: optional google.protobuf.FeatureSet features = 35
|
|
1537
|
-
*/
|
|
1538
|
-
features?: FeatureSet;
|
|
1539
1166
|
/**
|
|
1540
1167
|
* The parser stores options it doesn't recognize here. See above.
|
|
1541
1168
|
*
|
|
@@ -1631,270 +1258,6 @@ export interface UninterpretedOption_NamePart {
|
|
|
1631
1258
|
isExtension: boolean;
|
|
1632
1259
|
}
|
|
1633
1260
|
// ===================================================================
|
|
1634
|
-
// Features
|
|
1635
|
-
|
|
1636
|
-
/**
|
|
1637
|
-
* TODO Enums in C++ gencode (and potentially other languages) are
|
|
1638
|
-
* not well scoped. This means that each of the feature enums below can clash
|
|
1639
|
-
* with each other. The short names we've chosen maximize call-site
|
|
1640
|
-
* readability, but leave us very open to this scenario. A future feature will
|
|
1641
|
-
* be designed and implemented to handle this, hopefully before we ever hit a
|
|
1642
|
-
* conflict here.
|
|
1643
|
-
*
|
|
1644
|
-
* @generated from protobuf message google.protobuf.FeatureSet
|
|
1645
|
-
*/
|
|
1646
|
-
export interface FeatureSet {
|
|
1647
|
-
/**
|
|
1648
|
-
* @generated from protobuf field: optional google.protobuf.FeatureSet.FieldPresence field_presence = 1
|
|
1649
|
-
*/
|
|
1650
|
-
fieldPresence?: FeatureSet_FieldPresence;
|
|
1651
|
-
/**
|
|
1652
|
-
* @generated from protobuf field: optional google.protobuf.FeatureSet.EnumType enum_type = 2
|
|
1653
|
-
*/
|
|
1654
|
-
enumType?: FeatureSet_EnumType;
|
|
1655
|
-
/**
|
|
1656
|
-
* @generated from protobuf field: optional google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3
|
|
1657
|
-
*/
|
|
1658
|
-
repeatedFieldEncoding?: FeatureSet_RepeatedFieldEncoding;
|
|
1659
|
-
/**
|
|
1660
|
-
* @generated from protobuf field: optional google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4
|
|
1661
|
-
*/
|
|
1662
|
-
utf8Validation?: FeatureSet_Utf8Validation;
|
|
1663
|
-
/**
|
|
1664
|
-
* @generated from protobuf field: optional google.protobuf.FeatureSet.MessageEncoding message_encoding = 5
|
|
1665
|
-
*/
|
|
1666
|
-
messageEncoding?: FeatureSet_MessageEncoding;
|
|
1667
|
-
/**
|
|
1668
|
-
* @generated from protobuf field: optional google.protobuf.FeatureSet.JsonFormat json_format = 6
|
|
1669
|
-
*/
|
|
1670
|
-
jsonFormat?: FeatureSet_JsonFormat;
|
|
1671
|
-
/**
|
|
1672
|
-
* @generated from protobuf field: optional google.protobuf.FeatureSet.EnforceNamingStyle enforce_naming_style = 7
|
|
1673
|
-
*/
|
|
1674
|
-
enforceNamingStyle?: FeatureSet_EnforceNamingStyle;
|
|
1675
|
-
/**
|
|
1676
|
-
* @generated from protobuf field: optional google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility default_symbol_visibility = 8
|
|
1677
|
-
*/
|
|
1678
|
-
defaultSymbolVisibility?: FeatureSet_VisibilityFeature_DefaultSymbolVisibility;
|
|
1679
|
-
}
|
|
1680
|
-
/**
|
|
1681
|
-
* @generated from protobuf message google.protobuf.FeatureSet.VisibilityFeature
|
|
1682
|
-
*/
|
|
1683
|
-
export interface FeatureSet_VisibilityFeature {
|
|
1684
|
-
}
|
|
1685
|
-
/**
|
|
1686
|
-
* @generated from protobuf enum google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility
|
|
1687
|
-
*/
|
|
1688
|
-
export enum FeatureSet_VisibilityFeature_DefaultSymbolVisibility {
|
|
1689
|
-
/**
|
|
1690
|
-
* @generated from protobuf enum value: DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0;
|
|
1691
|
-
*/
|
|
1692
|
-
DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0,
|
|
1693
|
-
/**
|
|
1694
|
-
* Default pre-EDITION_2024, all UNSET visibility are export.
|
|
1695
|
-
*
|
|
1696
|
-
* @generated from protobuf enum value: EXPORT_ALL = 1;
|
|
1697
|
-
*/
|
|
1698
|
-
EXPORT_ALL = 1,
|
|
1699
|
-
/**
|
|
1700
|
-
* All top-level symbols default to export, nested default to local.
|
|
1701
|
-
*
|
|
1702
|
-
* @generated from protobuf enum value: EXPORT_TOP_LEVEL = 2;
|
|
1703
|
-
*/
|
|
1704
|
-
EXPORT_TOP_LEVEL = 2,
|
|
1705
|
-
/**
|
|
1706
|
-
* All symbols default to local.
|
|
1707
|
-
*
|
|
1708
|
-
* @generated from protobuf enum value: LOCAL_ALL = 3;
|
|
1709
|
-
*/
|
|
1710
|
-
LOCAL_ALL = 3,
|
|
1711
|
-
/**
|
|
1712
|
-
* All symbols local by default. Nested types cannot be exported.
|
|
1713
|
-
* With special case caveat for message { enum {} reserved 1 to max; }
|
|
1714
|
-
* This is the recommended setting for new protos.
|
|
1715
|
-
*
|
|
1716
|
-
* @generated from protobuf enum value: STRICT = 4;
|
|
1717
|
-
*/
|
|
1718
|
-
STRICT = 4
|
|
1719
|
-
}
|
|
1720
|
-
/**
|
|
1721
|
-
* @generated from protobuf enum google.protobuf.FeatureSet.FieldPresence
|
|
1722
|
-
*/
|
|
1723
|
-
export enum FeatureSet_FieldPresence {
|
|
1724
|
-
/**
|
|
1725
|
-
* @generated from protobuf enum value: FIELD_PRESENCE_UNKNOWN = 0;
|
|
1726
|
-
*/
|
|
1727
|
-
FIELD_PRESENCE_UNKNOWN = 0,
|
|
1728
|
-
/**
|
|
1729
|
-
* @generated from protobuf enum value: EXPLICIT = 1;
|
|
1730
|
-
*/
|
|
1731
|
-
EXPLICIT = 1,
|
|
1732
|
-
/**
|
|
1733
|
-
* @generated from protobuf enum value: IMPLICIT = 2;
|
|
1734
|
-
*/
|
|
1735
|
-
IMPLICIT = 2,
|
|
1736
|
-
/**
|
|
1737
|
-
* @generated from protobuf enum value: LEGACY_REQUIRED = 3;
|
|
1738
|
-
*/
|
|
1739
|
-
LEGACY_REQUIRED = 3
|
|
1740
|
-
}
|
|
1741
|
-
/**
|
|
1742
|
-
* @generated from protobuf enum google.protobuf.FeatureSet.EnumType
|
|
1743
|
-
*/
|
|
1744
|
-
export enum FeatureSet_EnumType {
|
|
1745
|
-
/**
|
|
1746
|
-
* @generated from protobuf enum value: ENUM_TYPE_UNKNOWN = 0;
|
|
1747
|
-
*/
|
|
1748
|
-
ENUM_TYPE_UNKNOWN = 0,
|
|
1749
|
-
/**
|
|
1750
|
-
* @generated from protobuf enum value: OPEN = 1;
|
|
1751
|
-
*/
|
|
1752
|
-
OPEN = 1,
|
|
1753
|
-
/**
|
|
1754
|
-
* @generated from protobuf enum value: CLOSED = 2;
|
|
1755
|
-
*/
|
|
1756
|
-
CLOSED = 2
|
|
1757
|
-
}
|
|
1758
|
-
/**
|
|
1759
|
-
* @generated from protobuf enum google.protobuf.FeatureSet.RepeatedFieldEncoding
|
|
1760
|
-
*/
|
|
1761
|
-
export enum FeatureSet_RepeatedFieldEncoding {
|
|
1762
|
-
/**
|
|
1763
|
-
* @generated from protobuf enum value: REPEATED_FIELD_ENCODING_UNKNOWN = 0;
|
|
1764
|
-
*/
|
|
1765
|
-
REPEATED_FIELD_ENCODING_UNKNOWN = 0,
|
|
1766
|
-
/**
|
|
1767
|
-
* @generated from protobuf enum value: PACKED = 1;
|
|
1768
|
-
*/
|
|
1769
|
-
PACKED = 1,
|
|
1770
|
-
/**
|
|
1771
|
-
* @generated from protobuf enum value: EXPANDED = 2;
|
|
1772
|
-
*/
|
|
1773
|
-
EXPANDED = 2
|
|
1774
|
-
}
|
|
1775
|
-
/**
|
|
1776
|
-
* @generated from protobuf enum google.protobuf.FeatureSet.Utf8Validation
|
|
1777
|
-
*/
|
|
1778
|
-
export enum FeatureSet_Utf8Validation {
|
|
1779
|
-
/**
|
|
1780
|
-
* @generated from protobuf enum value: UTF8_VALIDATION_UNKNOWN = 0;
|
|
1781
|
-
*/
|
|
1782
|
-
UTF8_VALIDATION_UNKNOWN = 0,
|
|
1783
|
-
/**
|
|
1784
|
-
* @generated from protobuf enum value: VERIFY = 2;
|
|
1785
|
-
*/
|
|
1786
|
-
VERIFY = 2,
|
|
1787
|
-
/**
|
|
1788
|
-
* @generated from protobuf enum value: NONE = 3;
|
|
1789
|
-
*/
|
|
1790
|
-
NONE = 3
|
|
1791
|
-
}
|
|
1792
|
-
/**
|
|
1793
|
-
* @generated from protobuf enum google.protobuf.FeatureSet.MessageEncoding
|
|
1794
|
-
*/
|
|
1795
|
-
export enum FeatureSet_MessageEncoding {
|
|
1796
|
-
/**
|
|
1797
|
-
* @generated from protobuf enum value: MESSAGE_ENCODING_UNKNOWN = 0;
|
|
1798
|
-
*/
|
|
1799
|
-
MESSAGE_ENCODING_UNKNOWN = 0,
|
|
1800
|
-
/**
|
|
1801
|
-
* @generated from protobuf enum value: LENGTH_PREFIXED = 1;
|
|
1802
|
-
*/
|
|
1803
|
-
LENGTH_PREFIXED = 1,
|
|
1804
|
-
/**
|
|
1805
|
-
* @generated from protobuf enum value: DELIMITED = 2;
|
|
1806
|
-
*/
|
|
1807
|
-
DELIMITED = 2
|
|
1808
|
-
}
|
|
1809
|
-
/**
|
|
1810
|
-
* @generated from protobuf enum google.protobuf.FeatureSet.JsonFormat
|
|
1811
|
-
*/
|
|
1812
|
-
export enum FeatureSet_JsonFormat {
|
|
1813
|
-
/**
|
|
1814
|
-
* @generated from protobuf enum value: JSON_FORMAT_UNKNOWN = 0;
|
|
1815
|
-
*/
|
|
1816
|
-
JSON_FORMAT_UNKNOWN = 0,
|
|
1817
|
-
/**
|
|
1818
|
-
* @generated from protobuf enum value: ALLOW = 1;
|
|
1819
|
-
*/
|
|
1820
|
-
ALLOW = 1,
|
|
1821
|
-
/**
|
|
1822
|
-
* @generated from protobuf enum value: LEGACY_BEST_EFFORT = 2;
|
|
1823
|
-
*/
|
|
1824
|
-
LEGACY_BEST_EFFORT = 2
|
|
1825
|
-
}
|
|
1826
|
-
/**
|
|
1827
|
-
* @generated from protobuf enum google.protobuf.FeatureSet.EnforceNamingStyle
|
|
1828
|
-
*/
|
|
1829
|
-
export enum FeatureSet_EnforceNamingStyle {
|
|
1830
|
-
/**
|
|
1831
|
-
* @generated from protobuf enum value: ENFORCE_NAMING_STYLE_UNKNOWN = 0;
|
|
1832
|
-
*/
|
|
1833
|
-
ENFORCE_NAMING_STYLE_UNKNOWN = 0,
|
|
1834
|
-
/**
|
|
1835
|
-
* @generated from protobuf enum value: STYLE2024 = 1;
|
|
1836
|
-
*/
|
|
1837
|
-
STYLE2024 = 1,
|
|
1838
|
-
/**
|
|
1839
|
-
* @generated from protobuf enum value: STYLE_LEGACY = 2;
|
|
1840
|
-
*/
|
|
1841
|
-
STYLE_LEGACY = 2
|
|
1842
|
-
}
|
|
1843
|
-
/**
|
|
1844
|
-
* A compiled specification for the defaults of a set of features. These
|
|
1845
|
-
* messages are generated from FeatureSet extensions and can be used to seed
|
|
1846
|
-
* feature resolution. The resolution with this object becomes a simple search
|
|
1847
|
-
* for the closest matching edition, followed by proto merges.
|
|
1848
|
-
*
|
|
1849
|
-
* @generated from protobuf message google.protobuf.FeatureSetDefaults
|
|
1850
|
-
*/
|
|
1851
|
-
export interface FeatureSetDefaults {
|
|
1852
|
-
/**
|
|
1853
|
-
* @generated from protobuf field: repeated google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1
|
|
1854
|
-
*/
|
|
1855
|
-
defaults: FeatureSetDefaults_FeatureSetEditionDefault[];
|
|
1856
|
-
/**
|
|
1857
|
-
* The minimum supported edition (inclusive) when this was constructed.
|
|
1858
|
-
* Editions before this will not have defaults.
|
|
1859
|
-
*
|
|
1860
|
-
* @generated from protobuf field: optional google.protobuf.Edition minimum_edition = 4
|
|
1861
|
-
*/
|
|
1862
|
-
minimumEdition?: Edition;
|
|
1863
|
-
/**
|
|
1864
|
-
* The maximum known edition (inclusive) when this was constructed. Editions
|
|
1865
|
-
* after this will not have reliable defaults.
|
|
1866
|
-
*
|
|
1867
|
-
* @generated from protobuf field: optional google.protobuf.Edition maximum_edition = 5
|
|
1868
|
-
*/
|
|
1869
|
-
maximumEdition?: Edition;
|
|
1870
|
-
}
|
|
1871
|
-
/**
|
|
1872
|
-
* A map from every known edition with a unique set of defaults to its
|
|
1873
|
-
* defaults. Not all editions may be contained here. For a given edition,
|
|
1874
|
-
* the defaults at the closest matching edition ordered at or before it should
|
|
1875
|
-
* be used. This field must be in strict ascending order by edition.
|
|
1876
|
-
*
|
|
1877
|
-
* @generated from protobuf message google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
|
|
1878
|
-
*/
|
|
1879
|
-
export interface FeatureSetDefaults_FeatureSetEditionDefault {
|
|
1880
|
-
/**
|
|
1881
|
-
* @generated from protobuf field: optional google.protobuf.Edition edition = 3
|
|
1882
|
-
*/
|
|
1883
|
-
edition?: Edition;
|
|
1884
|
-
/**
|
|
1885
|
-
* Defaults of features that can be overridden in this edition.
|
|
1886
|
-
*
|
|
1887
|
-
* @generated from protobuf field: optional google.protobuf.FeatureSet overridable_features = 4
|
|
1888
|
-
*/
|
|
1889
|
-
overridableFeatures?: FeatureSet;
|
|
1890
|
-
/**
|
|
1891
|
-
* Defaults of features that can't be overridden in this edition.
|
|
1892
|
-
*
|
|
1893
|
-
* @generated from protobuf field: optional google.protobuf.FeatureSet fixed_features = 5
|
|
1894
|
-
*/
|
|
1895
|
-
fixedFeatures?: FeatureSet;
|
|
1896
|
-
}
|
|
1897
|
-
// ===================================================================
|
|
1898
1261
|
// Optional source code info
|
|
1899
1262
|
|
|
1900
1263
|
/**
|
|
@@ -1962,7 +1325,7 @@ export interface SourceCodeInfo_Location {
|
|
|
1962
1325
|
* location.
|
|
1963
1326
|
*
|
|
1964
1327
|
* Each element is a field number or an index. They form a path from
|
|
1965
|
-
* the root FileDescriptorProto to the place where the definition
|
|
1328
|
+
* the root FileDescriptorProto to the place where the definition occurs.
|
|
1966
1329
|
* For example, this path:
|
|
1967
1330
|
* [ 4, 3, 2, 7, 1 ]
|
|
1968
1331
|
* refers to:
|
|
@@ -2098,141 +1461,12 @@ export interface GeneratedCodeInfo_Annotation {
|
|
|
2098
1461
|
begin?: number;
|
|
2099
1462
|
/**
|
|
2100
1463
|
* Identifies the ending offset in bytes in the generated code that
|
|
2101
|
-
* relates to the identified
|
|
1464
|
+
* relates to the identified offset. The end offset should be one past
|
|
2102
1465
|
* the last relevant byte (so the length of the text = end - begin).
|
|
2103
1466
|
*
|
|
2104
1467
|
* @generated from protobuf field: optional int32 end = 4
|
|
2105
1468
|
*/
|
|
2106
1469
|
end?: number;
|
|
2107
|
-
/**
|
|
2108
|
-
* @generated from protobuf field: optional google.protobuf.GeneratedCodeInfo.Annotation.Semantic semantic = 5
|
|
2109
|
-
*/
|
|
2110
|
-
semantic?: GeneratedCodeInfo_Annotation_Semantic;
|
|
2111
|
-
}
|
|
2112
|
-
/**
|
|
2113
|
-
* Represents the identified object's effect on the element in the original
|
|
2114
|
-
* .proto file.
|
|
2115
|
-
*
|
|
2116
|
-
* @generated from protobuf enum google.protobuf.GeneratedCodeInfo.Annotation.Semantic
|
|
2117
|
-
*/
|
|
2118
|
-
export enum GeneratedCodeInfo_Annotation_Semantic {
|
|
2119
|
-
/**
|
|
2120
|
-
* There is no effect or the effect is indescribable.
|
|
2121
|
-
*
|
|
2122
|
-
* @generated from protobuf enum value: NONE = 0;
|
|
2123
|
-
*/
|
|
2124
|
-
NONE = 0,
|
|
2125
|
-
/**
|
|
2126
|
-
* The element is set or otherwise mutated.
|
|
2127
|
-
*
|
|
2128
|
-
* @generated from protobuf enum value: SET = 1;
|
|
2129
|
-
*/
|
|
2130
|
-
SET = 1,
|
|
2131
|
-
/**
|
|
2132
|
-
* An alias to the element is returned.
|
|
2133
|
-
*
|
|
2134
|
-
* @generated from protobuf enum value: ALIAS = 2;
|
|
2135
|
-
*/
|
|
2136
|
-
ALIAS = 2
|
|
2137
|
-
}
|
|
2138
|
-
/**
|
|
2139
|
-
* The full set of known editions.
|
|
2140
|
-
*
|
|
2141
|
-
* @generated from protobuf enum google.protobuf.Edition
|
|
2142
|
-
*/
|
|
2143
|
-
export enum Edition {
|
|
2144
|
-
/**
|
|
2145
|
-
* A placeholder for an unknown edition value.
|
|
2146
|
-
*
|
|
2147
|
-
* @generated from protobuf enum value: EDITION_UNKNOWN = 0;
|
|
2148
|
-
*/
|
|
2149
|
-
EDITION_UNKNOWN = 0,
|
|
2150
|
-
/**
|
|
2151
|
-
* A placeholder edition for specifying default behaviors *before* a feature
|
|
2152
|
-
* was first introduced. This is effectively an "infinite past".
|
|
2153
|
-
*
|
|
2154
|
-
* @generated from protobuf enum value: EDITION_LEGACY = 900;
|
|
2155
|
-
*/
|
|
2156
|
-
EDITION_LEGACY = 900,
|
|
2157
|
-
/**
|
|
2158
|
-
* Legacy syntax "editions". These pre-date editions, but behave much like
|
|
2159
|
-
* distinct editions. These can't be used to specify the edition of proto
|
|
2160
|
-
* files, but feature definitions must supply proto2/proto3 defaults for
|
|
2161
|
-
* backwards compatibility.
|
|
2162
|
-
*
|
|
2163
|
-
* @generated from protobuf enum value: EDITION_PROTO2 = 998;
|
|
2164
|
-
*/
|
|
2165
|
-
EDITION_PROTO2 = 998,
|
|
2166
|
-
/**
|
|
2167
|
-
* @generated from protobuf enum value: EDITION_PROTO3 = 999;
|
|
2168
|
-
*/
|
|
2169
|
-
EDITION_PROTO3 = 999,
|
|
2170
|
-
/**
|
|
2171
|
-
* Editions that have been released. The specific values are arbitrary and
|
|
2172
|
-
* should not be depended on, but they will always be time-ordered for easy
|
|
2173
|
-
* comparison.
|
|
2174
|
-
*
|
|
2175
|
-
* @generated from protobuf enum value: EDITION_2023 = 1000;
|
|
2176
|
-
*/
|
|
2177
|
-
EDITION_2023 = 1000,
|
|
2178
|
-
/**
|
|
2179
|
-
* @generated from protobuf enum value: EDITION_2024 = 1001;
|
|
2180
|
-
*/
|
|
2181
|
-
EDITION_2024 = 1001,
|
|
2182
|
-
/**
|
|
2183
|
-
* Placeholder editions for testing feature resolution. These should not be
|
|
2184
|
-
* used or relied on outside of tests.
|
|
2185
|
-
*
|
|
2186
|
-
* @generated from protobuf enum value: EDITION_1_TEST_ONLY = 1;
|
|
2187
|
-
*/
|
|
2188
|
-
EDITION_1_TEST_ONLY = 1,
|
|
2189
|
-
/**
|
|
2190
|
-
* @generated from protobuf enum value: EDITION_2_TEST_ONLY = 2;
|
|
2191
|
-
*/
|
|
2192
|
-
EDITION_2_TEST_ONLY = 2,
|
|
2193
|
-
/**
|
|
2194
|
-
* @generated from protobuf enum value: EDITION_99997_TEST_ONLY = 99997;
|
|
2195
|
-
*/
|
|
2196
|
-
EDITION_99997_TEST_ONLY = 99997,
|
|
2197
|
-
/**
|
|
2198
|
-
* @generated from protobuf enum value: EDITION_99998_TEST_ONLY = 99998;
|
|
2199
|
-
*/
|
|
2200
|
-
EDITION_99998_TEST_ONLY = 99998,
|
|
2201
|
-
/**
|
|
2202
|
-
* @generated from protobuf enum value: EDITION_99999_TEST_ONLY = 99999;
|
|
2203
|
-
*/
|
|
2204
|
-
EDITION_99999_TEST_ONLY = 99999,
|
|
2205
|
-
/**
|
|
2206
|
-
* Placeholder for specifying unbounded edition support. This should only
|
|
2207
|
-
* ever be used by plugins that can expect to never require any changes to
|
|
2208
|
-
* support a new edition.
|
|
2209
|
-
*
|
|
2210
|
-
* @generated from protobuf enum value: EDITION_MAX = 2147483647;
|
|
2211
|
-
*/
|
|
2212
|
-
EDITION_MAX = 2147483647
|
|
2213
|
-
}
|
|
2214
|
-
/**
|
|
2215
|
-
* Describes the 'visibility' of a symbol with respect to the proto import
|
|
2216
|
-
* system. Symbols can only be imported when the visibility rules do not prevent
|
|
2217
|
-
* it (ex: local symbols cannot be imported). Visibility modifiers can only set
|
|
2218
|
-
* on `message` and `enum` as they are the only types available to be referenced
|
|
2219
|
-
* from other files.
|
|
2220
|
-
*
|
|
2221
|
-
* @generated from protobuf enum google.protobuf.SymbolVisibility
|
|
2222
|
-
*/
|
|
2223
|
-
export enum SymbolVisibility {
|
|
2224
|
-
/**
|
|
2225
|
-
* @generated from protobuf enum value: VISIBILITY_UNSET = 0;
|
|
2226
|
-
*/
|
|
2227
|
-
VISIBILITY_UNSET = 0,
|
|
2228
|
-
/**
|
|
2229
|
-
* @generated from protobuf enum value: VISIBILITY_LOCAL = 1;
|
|
2230
|
-
*/
|
|
2231
|
-
VISIBILITY_LOCAL = 1,
|
|
2232
|
-
/**
|
|
2233
|
-
* @generated from protobuf enum value: VISIBILITY_EXPORT = 2;
|
|
2234
|
-
*/
|
|
2235
|
-
VISIBILITY_EXPORT = 2
|
|
2236
1470
|
}
|
|
2237
1471
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2238
1472
|
class FileDescriptorSet$Type extends MessageType<FileDescriptorSet> {
|
|
@@ -2290,15 +1524,13 @@ class FileDescriptorProto$Type extends MessageType<FileDescriptorProto> {
|
|
|
2290
1524
|
{ no: 3, name: "dependency", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
2291
1525
|
{ no: 10, name: "public_dependency", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 5 /*ScalarType.INT32*/ },
|
|
2292
1526
|
{ no: 11, name: "weak_dependency", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 5 /*ScalarType.INT32*/ },
|
|
2293
|
-
{ no: 15, name: "option_dependency", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
2294
1527
|
{ no: 4, name: "message_type", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DescriptorProto },
|
|
2295
1528
|
{ no: 5, name: "enum_type", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EnumDescriptorProto },
|
|
2296
1529
|
{ no: 6, name: "service", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ServiceDescriptorProto },
|
|
2297
1530
|
{ no: 7, name: "extension", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => FieldDescriptorProto },
|
|
2298
1531
|
{ no: 8, name: "options", kind: "message", T: () => FileOptions },
|
|
2299
1532
|
{ no: 9, name: "source_code_info", kind: "message", T: () => SourceCodeInfo },
|
|
2300
|
-
{ no: 12, name: "syntax", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
|
2301
|
-
{ no: 14, name: "edition", kind: "enum", opt: true, T: () => ["google.protobuf.Edition", Edition] }
|
|
1533
|
+
{ no: 12, name: "syntax", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
|
2302
1534
|
]);
|
|
2303
1535
|
}
|
|
2304
1536
|
create(value?: PartialMessage<FileDescriptorProto>): FileDescriptorProto {
|
|
@@ -2306,7 +1538,6 @@ class FileDescriptorProto$Type extends MessageType<FileDescriptorProto> {
|
|
|
2306
1538
|
message.dependency = [];
|
|
2307
1539
|
message.publicDependency = [];
|
|
2308
1540
|
message.weakDependency = [];
|
|
2309
|
-
message.optionDependency = [];
|
|
2310
1541
|
message.messageType = [];
|
|
2311
1542
|
message.enumType = [];
|
|
2312
1543
|
message.service = [];
|
|
@@ -2343,9 +1574,6 @@ class FileDescriptorProto$Type extends MessageType<FileDescriptorProto> {
|
|
|
2343
1574
|
else
|
|
2344
1575
|
message.weakDependency.push(reader.int32());
|
|
2345
1576
|
break;
|
|
2346
|
-
case /* repeated string option_dependency */ 15:
|
|
2347
|
-
message.optionDependency.push(reader.string());
|
|
2348
|
-
break;
|
|
2349
1577
|
case /* repeated google.protobuf.DescriptorProto message_type */ 4:
|
|
2350
1578
|
message.messageType.push(DescriptorProto.internalBinaryRead(reader, reader.uint32(), options));
|
|
2351
1579
|
break;
|
|
@@ -2367,9 +1595,6 @@ class FileDescriptorProto$Type extends MessageType<FileDescriptorProto> {
|
|
|
2367
1595
|
case /* optional string syntax */ 12:
|
|
2368
1596
|
message.syntax = reader.string();
|
|
2369
1597
|
break;
|
|
2370
|
-
case /* optional google.protobuf.Edition edition */ 14:
|
|
2371
|
-
message.edition = reader.int32();
|
|
2372
|
-
break;
|
|
2373
1598
|
default:
|
|
2374
1599
|
let u = options.readUnknownField;
|
|
2375
1600
|
if (u === "throw")
|
|
@@ -2418,12 +1643,6 @@ class FileDescriptorProto$Type extends MessageType<FileDescriptorProto> {
|
|
|
2418
1643
|
/* optional string syntax = 12; */
|
|
2419
1644
|
if (message.syntax !== undefined)
|
|
2420
1645
|
writer.tag(12, WireType.LengthDelimited).string(message.syntax);
|
|
2421
|
-
/* optional google.protobuf.Edition edition = 14; */
|
|
2422
|
-
if (message.edition !== undefined)
|
|
2423
|
-
writer.tag(14, WireType.Varint).int32(message.edition);
|
|
2424
|
-
/* repeated string option_dependency = 15; */
|
|
2425
|
-
for (let i = 0; i < message.optionDependency.length; i++)
|
|
2426
|
-
writer.tag(15, WireType.LengthDelimited).string(message.optionDependency[i]);
|
|
2427
1646
|
let u = options.writeUnknownFields;
|
|
2428
1647
|
if (u !== false)
|
|
2429
1648
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -2447,8 +1666,7 @@ class DescriptorProto$Type extends MessageType<DescriptorProto> {
|
|
|
2447
1666
|
{ no: 8, name: "oneof_decl", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => OneofDescriptorProto },
|
|
2448
1667
|
{ no: 7, name: "options", kind: "message", T: () => MessageOptions },
|
|
2449
1668
|
{ no: 9, name: "reserved_range", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DescriptorProto_ReservedRange },
|
|
2450
|
-
{ no: 10, name: "reserved_name", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
|
2451
|
-
{ no: 11, name: "visibility", kind: "enum", opt: true, T: () => ["google.protobuf.SymbolVisibility", SymbolVisibility] }
|
|
1669
|
+
{ no: 10, name: "reserved_name", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
|
2452
1670
|
]);
|
|
2453
1671
|
}
|
|
2454
1672
|
create(value?: PartialMessage<DescriptorProto>): DescriptorProto {
|
|
@@ -2500,9 +1718,6 @@ class DescriptorProto$Type extends MessageType<DescriptorProto> {
|
|
|
2500
1718
|
case /* repeated string reserved_name */ 10:
|
|
2501
1719
|
message.reservedName.push(reader.string());
|
|
2502
1720
|
break;
|
|
2503
|
-
case /* optional google.protobuf.SymbolVisibility visibility */ 11:
|
|
2504
|
-
message.visibility = reader.int32();
|
|
2505
|
-
break;
|
|
2506
1721
|
default:
|
|
2507
1722
|
let u = options.readUnknownField;
|
|
2508
1723
|
if (u === "throw")
|
|
@@ -2545,9 +1760,6 @@ class DescriptorProto$Type extends MessageType<DescriptorProto> {
|
|
|
2545
1760
|
/* repeated string reserved_name = 10; */
|
|
2546
1761
|
for (let i = 0; i < message.reservedName.length; i++)
|
|
2547
1762
|
writer.tag(10, WireType.LengthDelimited).string(message.reservedName[i]);
|
|
2548
|
-
/* optional google.protobuf.SymbolVisibility visibility = 11; */
|
|
2549
|
-
if (message.visibility !== undefined)
|
|
2550
|
-
writer.tag(11, WireType.Varint).int32(message.visibility);
|
|
2551
1763
|
let u = options.writeUnknownFields;
|
|
2552
1764
|
if (u !== false)
|
|
2553
1765
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -2659,77 +1871,8 @@ class DescriptorProto_ReservedRange$Type extends MessageType<DescriptorProto_Res
|
|
|
2659
1871
|
if (message.start !== undefined)
|
|
2660
1872
|
writer.tag(1, WireType.Varint).int32(message.start);
|
|
2661
1873
|
/* optional int32 end = 2; */
|
|
2662
|
-
if (message.end !== undefined)
|
|
2663
|
-
writer.tag(2, WireType.Varint).int32(message.end);
|
|
2664
|
-
let u = options.writeUnknownFields;
|
|
2665
|
-
if (u !== false)
|
|
2666
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2667
|
-
return writer;
|
|
2668
|
-
}
|
|
2669
|
-
}
|
|
2670
|
-
/**
|
|
2671
|
-
* @generated MessageType for protobuf message google.protobuf.DescriptorProto.ReservedRange
|
|
2672
|
-
*/
|
|
2673
|
-
export const DescriptorProto_ReservedRange = new DescriptorProto_ReservedRange$Type();
|
|
2674
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
2675
|
-
class ExtensionRangeOptions$Type extends MessageType<ExtensionRangeOptions> {
|
|
2676
|
-
constructor() {
|
|
2677
|
-
super("google.protobuf.ExtensionRangeOptions", [
|
|
2678
|
-
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => UninterpretedOption },
|
|
2679
|
-
{ no: 2, name: "declaration", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ExtensionRangeOptions_Declaration },
|
|
2680
|
-
{ no: 50, name: "features", kind: "message", T: () => FeatureSet },
|
|
2681
|
-
{ no: 3, name: "verification", kind: "enum", opt: true, T: () => ["google.protobuf.ExtensionRangeOptions.VerificationState", ExtensionRangeOptions_VerificationState] }
|
|
2682
|
-
]);
|
|
2683
|
-
}
|
|
2684
|
-
create(value?: PartialMessage<ExtensionRangeOptions>): ExtensionRangeOptions {
|
|
2685
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
2686
|
-
message.uninterpretedOption = [];
|
|
2687
|
-
message.declaration = [];
|
|
2688
|
-
if (value !== undefined)
|
|
2689
|
-
reflectionMergePartial<ExtensionRangeOptions>(this, message, value);
|
|
2690
|
-
return message;
|
|
2691
|
-
}
|
|
2692
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExtensionRangeOptions): ExtensionRangeOptions {
|
|
2693
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
2694
|
-
while (reader.pos < end) {
|
|
2695
|
-
let [fieldNo, wireType] = reader.tag();
|
|
2696
|
-
switch (fieldNo) {
|
|
2697
|
-
case /* repeated google.protobuf.UninterpretedOption uninterpreted_option */ 999:
|
|
2698
|
-
message.uninterpretedOption.push(UninterpretedOption.internalBinaryRead(reader, reader.uint32(), options));
|
|
2699
|
-
break;
|
|
2700
|
-
case /* repeated google.protobuf.ExtensionRangeOptions.Declaration declaration */ 2:
|
|
2701
|
-
message.declaration.push(ExtensionRangeOptions_Declaration.internalBinaryRead(reader, reader.uint32(), options));
|
|
2702
|
-
break;
|
|
2703
|
-
case /* optional google.protobuf.FeatureSet features */ 50:
|
|
2704
|
-
message.features = FeatureSet.internalBinaryRead(reader, reader.uint32(), options, message.features);
|
|
2705
|
-
break;
|
|
2706
|
-
case /* optional google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED] */ 3:
|
|
2707
|
-
message.verification = reader.int32();
|
|
2708
|
-
break;
|
|
2709
|
-
default:
|
|
2710
|
-
let u = options.readUnknownField;
|
|
2711
|
-
if (u === "throw")
|
|
2712
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2713
|
-
let d = reader.skip(wireType);
|
|
2714
|
-
if (u !== false)
|
|
2715
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2716
|
-
}
|
|
2717
|
-
}
|
|
2718
|
-
return message;
|
|
2719
|
-
}
|
|
2720
|
-
internalBinaryWrite(message: ExtensionRangeOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
2721
|
-
/* repeated google.protobuf.ExtensionRangeOptions.Declaration declaration = 2; */
|
|
2722
|
-
for (let i = 0; i < message.declaration.length; i++)
|
|
2723
|
-
ExtensionRangeOptions_Declaration.internalBinaryWrite(message.declaration[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
2724
|
-
/* optional google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED]; */
|
|
2725
|
-
if (message.verification !== undefined)
|
|
2726
|
-
writer.tag(3, WireType.Varint).int32(message.verification);
|
|
2727
|
-
/* optional google.protobuf.FeatureSet features = 50; */
|
|
2728
|
-
if (message.features)
|
|
2729
|
-
FeatureSet.internalBinaryWrite(message.features, writer.tag(50, WireType.LengthDelimited).fork(), options).join();
|
|
2730
|
-
/* repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; */
|
|
2731
|
-
for (let i = 0; i < message.uninterpretedOption.length; i++)
|
|
2732
|
-
UninterpretedOption.internalBinaryWrite(message.uninterpretedOption[i], writer.tag(999, WireType.LengthDelimited).fork(), options).join();
|
|
1874
|
+
if (message.end !== undefined)
|
|
1875
|
+
writer.tag(2, WireType.Varint).int32(message.end);
|
|
2733
1876
|
let u = options.writeUnknownFields;
|
|
2734
1877
|
if (u !== false)
|
|
2735
1878
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -2737,45 +1880,30 @@ class ExtensionRangeOptions$Type extends MessageType<ExtensionRangeOptions> {
|
|
|
2737
1880
|
}
|
|
2738
1881
|
}
|
|
2739
1882
|
/**
|
|
2740
|
-
* @generated MessageType for protobuf message google.protobuf.
|
|
1883
|
+
* @generated MessageType for protobuf message google.protobuf.DescriptorProto.ReservedRange
|
|
2741
1884
|
*/
|
|
2742
|
-
export const
|
|
1885
|
+
export const DescriptorProto_ReservedRange = new DescriptorProto_ReservedRange$Type();
|
|
2743
1886
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2744
|
-
class
|
|
1887
|
+
class ExtensionRangeOptions$Type extends MessageType<ExtensionRangeOptions> {
|
|
2745
1888
|
constructor() {
|
|
2746
|
-
super("google.protobuf.ExtensionRangeOptions
|
|
2747
|
-
{ no:
|
|
2748
|
-
{ no: 2, name: "full_name", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
2749
|
-
{ no: 3, name: "type", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
2750
|
-
{ no: 5, name: "reserved", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
2751
|
-
{ no: 6, name: "repeated", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ }
|
|
1889
|
+
super("google.protobuf.ExtensionRangeOptions", [
|
|
1890
|
+
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => UninterpretedOption }
|
|
2752
1891
|
]);
|
|
2753
1892
|
}
|
|
2754
|
-
create(value?: PartialMessage<
|
|
1893
|
+
create(value?: PartialMessage<ExtensionRangeOptions>): ExtensionRangeOptions {
|
|
2755
1894
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
1895
|
+
message.uninterpretedOption = [];
|
|
2756
1896
|
if (value !== undefined)
|
|
2757
|
-
reflectionMergePartial<
|
|
1897
|
+
reflectionMergePartial<ExtensionRangeOptions>(this, message, value);
|
|
2758
1898
|
return message;
|
|
2759
1899
|
}
|
|
2760
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?:
|
|
1900
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExtensionRangeOptions): ExtensionRangeOptions {
|
|
2761
1901
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
2762
1902
|
while (reader.pos < end) {
|
|
2763
1903
|
let [fieldNo, wireType] = reader.tag();
|
|
2764
1904
|
switch (fieldNo) {
|
|
2765
|
-
case /*
|
|
2766
|
-
message.
|
|
2767
|
-
break;
|
|
2768
|
-
case /* optional string full_name */ 2:
|
|
2769
|
-
message.fullName = reader.string();
|
|
2770
|
-
break;
|
|
2771
|
-
case /* optional string type */ 3:
|
|
2772
|
-
message.type = reader.string();
|
|
2773
|
-
break;
|
|
2774
|
-
case /* optional bool reserved */ 5:
|
|
2775
|
-
message.reserved = reader.bool();
|
|
2776
|
-
break;
|
|
2777
|
-
case /* optional bool repeated */ 6:
|
|
2778
|
-
message.repeated = reader.bool();
|
|
1905
|
+
case /* repeated google.protobuf.UninterpretedOption uninterpreted_option */ 999:
|
|
1906
|
+
message.uninterpretedOption.push(UninterpretedOption.internalBinaryRead(reader, reader.uint32(), options));
|
|
2779
1907
|
break;
|
|
2780
1908
|
default:
|
|
2781
1909
|
let u = options.readUnknownField;
|
|
@@ -2788,22 +1916,10 @@ class ExtensionRangeOptions_Declaration$Type extends MessageType<ExtensionRangeO
|
|
|
2788
1916
|
}
|
|
2789
1917
|
return message;
|
|
2790
1918
|
}
|
|
2791
|
-
internalBinaryWrite(message:
|
|
2792
|
-
/*
|
|
2793
|
-
|
|
2794
|
-
writer.tag(
|
|
2795
|
-
/* optional string full_name = 2; */
|
|
2796
|
-
if (message.fullName !== undefined)
|
|
2797
|
-
writer.tag(2, WireType.LengthDelimited).string(message.fullName);
|
|
2798
|
-
/* optional string type = 3; */
|
|
2799
|
-
if (message.type !== undefined)
|
|
2800
|
-
writer.tag(3, WireType.LengthDelimited).string(message.type);
|
|
2801
|
-
/* optional bool reserved = 5; */
|
|
2802
|
-
if (message.reserved !== undefined)
|
|
2803
|
-
writer.tag(5, WireType.Varint).bool(message.reserved);
|
|
2804
|
-
/* optional bool repeated = 6; */
|
|
2805
|
-
if (message.repeated !== undefined)
|
|
2806
|
-
writer.tag(6, WireType.Varint).bool(message.repeated);
|
|
1919
|
+
internalBinaryWrite(message: ExtensionRangeOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1920
|
+
/* repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; */
|
|
1921
|
+
for (let i = 0; i < message.uninterpretedOption.length; i++)
|
|
1922
|
+
UninterpretedOption.internalBinaryWrite(message.uninterpretedOption[i], writer.tag(999, WireType.LengthDelimited).fork(), options).join();
|
|
2807
1923
|
let u = options.writeUnknownFields;
|
|
2808
1924
|
if (u !== false)
|
|
2809
1925
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -2811,9 +1927,9 @@ class ExtensionRangeOptions_Declaration$Type extends MessageType<ExtensionRangeO
|
|
|
2811
1927
|
}
|
|
2812
1928
|
}
|
|
2813
1929
|
/**
|
|
2814
|
-
* @generated MessageType for protobuf message google.protobuf.ExtensionRangeOptions
|
|
1930
|
+
* @generated MessageType for protobuf message google.protobuf.ExtensionRangeOptions
|
|
2815
1931
|
*/
|
|
2816
|
-
export const
|
|
1932
|
+
export const ExtensionRangeOptions = new ExtensionRangeOptions$Type();
|
|
2817
1933
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2818
1934
|
class FieldDescriptorProto$Type extends MessageType<FieldDescriptorProto> {
|
|
2819
1935
|
constructor() {
|
|
@@ -2991,8 +2107,7 @@ class EnumDescriptorProto$Type extends MessageType<EnumDescriptorProto> {
|
|
|
2991
2107
|
{ no: 2, name: "value", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EnumValueDescriptorProto },
|
|
2992
2108
|
{ no: 3, name: "options", kind: "message", T: () => EnumOptions },
|
|
2993
2109
|
{ no: 4, name: "reserved_range", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EnumDescriptorProto_EnumReservedRange },
|
|
2994
|
-
{ no: 5, name: "reserved_name", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
|
2995
|
-
{ no: 6, name: "visibility", kind: "enum", opt: true, T: () => ["google.protobuf.SymbolVisibility", SymbolVisibility] }
|
|
2110
|
+
{ no: 5, name: "reserved_name", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
|
2996
2111
|
]);
|
|
2997
2112
|
}
|
|
2998
2113
|
create(value?: PartialMessage<EnumDescriptorProto>): EnumDescriptorProto {
|
|
@@ -3024,9 +2139,6 @@ class EnumDescriptorProto$Type extends MessageType<EnumDescriptorProto> {
|
|
|
3024
2139
|
case /* repeated string reserved_name */ 5:
|
|
3025
2140
|
message.reservedName.push(reader.string());
|
|
3026
2141
|
break;
|
|
3027
|
-
case /* optional google.protobuf.SymbolVisibility visibility */ 6:
|
|
3028
|
-
message.visibility = reader.int32();
|
|
3029
|
-
break;
|
|
3030
2142
|
default:
|
|
3031
2143
|
let u = options.readUnknownField;
|
|
3032
2144
|
if (u === "throw")
|
|
@@ -3054,9 +2166,6 @@ class EnumDescriptorProto$Type extends MessageType<EnumDescriptorProto> {
|
|
|
3054
2166
|
/* repeated string reserved_name = 5; */
|
|
3055
2167
|
for (let i = 0; i < message.reservedName.length; i++)
|
|
3056
2168
|
writer.tag(5, WireType.LengthDelimited).string(message.reservedName[i]);
|
|
3057
|
-
/* optional google.protobuf.SymbolVisibility visibility = 6; */
|
|
3058
|
-
if (message.visibility !== undefined)
|
|
3059
|
-
writer.tag(6, WireType.Varint).int32(message.visibility);
|
|
3060
2169
|
let u = options.writeUnknownFields;
|
|
3061
2170
|
if (u !== false)
|
|
3062
2171
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -3336,6 +2445,7 @@ class FileOptions$Type extends MessageType<FileOptions> {
|
|
|
3336
2445
|
{ no: 16, name: "cc_generic_services", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
3337
2446
|
{ no: 17, name: "java_generic_services", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
3338
2447
|
{ no: 18, name: "py_generic_services", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
2448
|
+
{ no: 42, name: "php_generic_services", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
3339
2449
|
{ no: 23, name: "deprecated", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
3340
2450
|
{ no: 31, name: "cc_enable_arenas", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
3341
2451
|
{ no: 36, name: "objc_class_prefix", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
@@ -3345,7 +2455,6 @@ class FileOptions$Type extends MessageType<FileOptions> {
|
|
|
3345
2455
|
{ no: 41, name: "php_namespace", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
3346
2456
|
{ no: 44, name: "php_metadata_namespace", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
3347
2457
|
{ no: 45, name: "ruby_package", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
3348
|
-
{ no: 50, name: "features", kind: "message", T: () => FeatureSet },
|
|
3349
2458
|
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => UninterpretedOption }
|
|
3350
2459
|
]);
|
|
3351
2460
|
}
|
|
@@ -3391,6 +2500,9 @@ class FileOptions$Type extends MessageType<FileOptions> {
|
|
|
3391
2500
|
case /* optional bool py_generic_services = 18 [default = false] */ 18:
|
|
3392
2501
|
message.pyGenericServices = reader.bool();
|
|
3393
2502
|
break;
|
|
2503
|
+
case /* optional bool php_generic_services = 42 [default = false] */ 42:
|
|
2504
|
+
message.phpGenericServices = reader.bool();
|
|
2505
|
+
break;
|
|
3394
2506
|
case /* optional bool deprecated = 23 [default = false] */ 23:
|
|
3395
2507
|
message.deprecated = reader.bool();
|
|
3396
2508
|
break;
|
|
@@ -3418,9 +2530,6 @@ class FileOptions$Type extends MessageType<FileOptions> {
|
|
|
3418
2530
|
case /* optional string ruby_package */ 45:
|
|
3419
2531
|
message.rubyPackage = reader.string();
|
|
3420
2532
|
break;
|
|
3421
|
-
case /* optional google.protobuf.FeatureSet features */ 50:
|
|
3422
|
-
message.features = FeatureSet.internalBinaryRead(reader, reader.uint32(), options, message.features);
|
|
3423
|
-
break;
|
|
3424
2533
|
case /* repeated google.protobuf.UninterpretedOption uninterpreted_option */ 999:
|
|
3425
2534
|
message.uninterpretedOption.push(UninterpretedOption.internalBinaryRead(reader, reader.uint32(), options));
|
|
3426
2535
|
break;
|
|
@@ -3487,15 +2596,15 @@ class FileOptions$Type extends MessageType<FileOptions> {
|
|
|
3487
2596
|
/* optional string php_namespace = 41; */
|
|
3488
2597
|
if (message.phpNamespace !== undefined)
|
|
3489
2598
|
writer.tag(41, WireType.LengthDelimited).string(message.phpNamespace);
|
|
2599
|
+
/* optional bool php_generic_services = 42 [default = false]; */
|
|
2600
|
+
if (message.phpGenericServices !== undefined)
|
|
2601
|
+
writer.tag(42, WireType.Varint).bool(message.phpGenericServices);
|
|
3490
2602
|
/* optional string php_metadata_namespace = 44; */
|
|
3491
2603
|
if (message.phpMetadataNamespace !== undefined)
|
|
3492
2604
|
writer.tag(44, WireType.LengthDelimited).string(message.phpMetadataNamespace);
|
|
3493
2605
|
/* optional string ruby_package = 45; */
|
|
3494
2606
|
if (message.rubyPackage !== undefined)
|
|
3495
2607
|
writer.tag(45, WireType.LengthDelimited).string(message.rubyPackage);
|
|
3496
|
-
/* optional google.protobuf.FeatureSet features = 50; */
|
|
3497
|
-
if (message.features)
|
|
3498
|
-
FeatureSet.internalBinaryWrite(message.features, writer.tag(50, WireType.LengthDelimited).fork(), options).join();
|
|
3499
2608
|
/* repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; */
|
|
3500
2609
|
for (let i = 0; i < message.uninterpretedOption.length; i++)
|
|
3501
2610
|
UninterpretedOption.internalBinaryWrite(message.uninterpretedOption[i], writer.tag(999, WireType.LengthDelimited).fork(), options).join();
|
|
@@ -3517,8 +2626,6 @@ class MessageOptions$Type extends MessageType<MessageOptions> {
|
|
|
3517
2626
|
{ no: 2, name: "no_standard_descriptor_accessor", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
3518
2627
|
{ no: 3, name: "deprecated", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
3519
2628
|
{ no: 7, name: "map_entry", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
3520
|
-
{ no: 11, name: "deprecated_legacy_json_field_conflicts", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
3521
|
-
{ no: 12, name: "features", kind: "message", T: () => FeatureSet },
|
|
3522
2629
|
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => UninterpretedOption }
|
|
3523
2630
|
]);
|
|
3524
2631
|
}
|
|
@@ -3546,12 +2653,6 @@ class MessageOptions$Type extends MessageType<MessageOptions> {
|
|
|
3546
2653
|
case /* optional bool map_entry */ 7:
|
|
3547
2654
|
message.mapEntry = reader.bool();
|
|
3548
2655
|
break;
|
|
3549
|
-
case /* optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true] */ 11:
|
|
3550
|
-
message.deprecatedLegacyJsonFieldConflicts = reader.bool();
|
|
3551
|
-
break;
|
|
3552
|
-
case /* optional google.protobuf.FeatureSet features */ 12:
|
|
3553
|
-
message.features = FeatureSet.internalBinaryRead(reader, reader.uint32(), options, message.features);
|
|
3554
|
-
break;
|
|
3555
2656
|
case /* repeated google.protobuf.UninterpretedOption uninterpreted_option */ 999:
|
|
3556
2657
|
message.uninterpretedOption.push(UninterpretedOption.internalBinaryRead(reader, reader.uint32(), options));
|
|
3557
2658
|
break;
|
|
@@ -3579,12 +2680,6 @@ class MessageOptions$Type extends MessageType<MessageOptions> {
|
|
|
3579
2680
|
/* optional bool map_entry = 7; */
|
|
3580
2681
|
if (message.mapEntry !== undefined)
|
|
3581
2682
|
writer.tag(7, WireType.Varint).bool(message.mapEntry);
|
|
3582
|
-
/* optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true]; */
|
|
3583
|
-
if (message.deprecatedLegacyJsonFieldConflicts !== undefined)
|
|
3584
|
-
writer.tag(11, WireType.Varint).bool(message.deprecatedLegacyJsonFieldConflicts);
|
|
3585
|
-
/* optional google.protobuf.FeatureSet features = 12; */
|
|
3586
|
-
if (message.features)
|
|
3587
|
-
FeatureSet.internalBinaryWrite(message.features, writer.tag(12, WireType.LengthDelimited).fork(), options).join();
|
|
3588
2683
|
/* repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; */
|
|
3589
2684
|
for (let i = 0; i < message.uninterpretedOption.length; i++)
|
|
3590
2685
|
UninterpretedOption.internalBinaryWrite(message.uninterpretedOption[i], writer.tag(999, WireType.LengthDelimited).fork(), options).join();
|
|
@@ -3609,19 +2704,11 @@ class FieldOptions$Type extends MessageType<FieldOptions> {
|
|
|
3609
2704
|
{ no: 15, name: "unverified_lazy", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
3610
2705
|
{ no: 3, name: "deprecated", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
3611
2706
|
{ no: 10, name: "weak", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
3612
|
-
{ no: 16, name: "debug_redact", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
3613
|
-
{ no: 17, name: "retention", kind: "enum", opt: true, T: () => ["google.protobuf.FieldOptions.OptionRetention", FieldOptions_OptionRetention] },
|
|
3614
|
-
{ no: 19, name: "targets", kind: "enum", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ["google.protobuf.FieldOptions.OptionTargetType", FieldOptions_OptionTargetType] },
|
|
3615
|
-
{ no: 20, name: "edition_defaults", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => FieldOptions_EditionDefault },
|
|
3616
|
-
{ no: 21, name: "features", kind: "message", T: () => FeatureSet },
|
|
3617
|
-
{ no: 22, name: "feature_support", kind: "message", T: () => FieldOptions_FeatureSupport },
|
|
3618
2707
|
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => UninterpretedOption }
|
|
3619
2708
|
]);
|
|
3620
2709
|
}
|
|
3621
2710
|
create(value?: PartialMessage<FieldOptions>): FieldOptions {
|
|
3622
2711
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
3623
|
-
message.targets = [];
|
|
3624
|
-
message.editionDefaults = [];
|
|
3625
2712
|
message.uninterpretedOption = [];
|
|
3626
2713
|
if (value !== undefined)
|
|
3627
2714
|
reflectionMergePartial<FieldOptions>(this, message, value);
|
|
@@ -3653,28 +2740,6 @@ class FieldOptions$Type extends MessageType<FieldOptions> {
|
|
|
3653
2740
|
case /* optional bool weak = 10 [default = false] */ 10:
|
|
3654
2741
|
message.weak = reader.bool();
|
|
3655
2742
|
break;
|
|
3656
|
-
case /* optional bool debug_redact = 16 [default = false] */ 16:
|
|
3657
|
-
message.debugRedact = reader.bool();
|
|
3658
|
-
break;
|
|
3659
|
-
case /* optional google.protobuf.FieldOptions.OptionRetention retention */ 17:
|
|
3660
|
-
message.retention = reader.int32();
|
|
3661
|
-
break;
|
|
3662
|
-
case /* repeated google.protobuf.FieldOptions.OptionTargetType targets */ 19:
|
|
3663
|
-
if (wireType === WireType.LengthDelimited)
|
|
3664
|
-
for (let e = reader.int32() + reader.pos; reader.pos < e;)
|
|
3665
|
-
message.targets.push(reader.int32());
|
|
3666
|
-
else
|
|
3667
|
-
message.targets.push(reader.int32());
|
|
3668
|
-
break;
|
|
3669
|
-
case /* repeated google.protobuf.FieldOptions.EditionDefault edition_defaults */ 20:
|
|
3670
|
-
message.editionDefaults.push(FieldOptions_EditionDefault.internalBinaryRead(reader, reader.uint32(), options));
|
|
3671
|
-
break;
|
|
3672
|
-
case /* optional google.protobuf.FeatureSet features */ 21:
|
|
3673
|
-
message.features = FeatureSet.internalBinaryRead(reader, reader.uint32(), options, message.features);
|
|
3674
|
-
break;
|
|
3675
|
-
case /* optional google.protobuf.FieldOptions.FeatureSupport feature_support */ 22:
|
|
3676
|
-
message.featureSupport = FieldOptions_FeatureSupport.internalBinaryRead(reader, reader.uint32(), options, message.featureSupport);
|
|
3677
|
-
break;
|
|
3678
2743
|
case /* repeated google.protobuf.UninterpretedOption uninterpreted_option */ 999:
|
|
3679
2744
|
message.uninterpretedOption.push(UninterpretedOption.internalBinaryRead(reader, reader.uint32(), options));
|
|
3680
2745
|
break;
|
|
@@ -3711,24 +2776,6 @@ class FieldOptions$Type extends MessageType<FieldOptions> {
|
|
|
3711
2776
|
/* optional bool unverified_lazy = 15 [default = false]; */
|
|
3712
2777
|
if (message.unverifiedLazy !== undefined)
|
|
3713
2778
|
writer.tag(15, WireType.Varint).bool(message.unverifiedLazy);
|
|
3714
|
-
/* optional bool debug_redact = 16 [default = false]; */
|
|
3715
|
-
if (message.debugRedact !== undefined)
|
|
3716
|
-
writer.tag(16, WireType.Varint).bool(message.debugRedact);
|
|
3717
|
-
/* optional google.protobuf.FieldOptions.OptionRetention retention = 17; */
|
|
3718
|
-
if (message.retention !== undefined)
|
|
3719
|
-
writer.tag(17, WireType.Varint).int32(message.retention);
|
|
3720
|
-
/* repeated google.protobuf.FieldOptions.OptionTargetType targets = 19; */
|
|
3721
|
-
for (let i = 0; i < message.targets.length; i++)
|
|
3722
|
-
writer.tag(19, WireType.Varint).int32(message.targets[i]);
|
|
3723
|
-
/* repeated google.protobuf.FieldOptions.EditionDefault edition_defaults = 20; */
|
|
3724
|
-
for (let i = 0; i < message.editionDefaults.length; i++)
|
|
3725
|
-
FieldOptions_EditionDefault.internalBinaryWrite(message.editionDefaults[i], writer.tag(20, WireType.LengthDelimited).fork(), options).join();
|
|
3726
|
-
/* optional google.protobuf.FeatureSet features = 21; */
|
|
3727
|
-
if (message.features)
|
|
3728
|
-
FeatureSet.internalBinaryWrite(message.features, writer.tag(21, WireType.LengthDelimited).fork(), options).join();
|
|
3729
|
-
/* optional google.protobuf.FieldOptions.FeatureSupport feature_support = 22; */
|
|
3730
|
-
if (message.featureSupport)
|
|
3731
|
-
FieldOptions_FeatureSupport.internalBinaryWrite(message.featureSupport, writer.tag(22, WireType.LengthDelimited).fork(), options).join();
|
|
3732
2779
|
/* repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; */
|
|
3733
2780
|
for (let i = 0; i < message.uninterpretedOption.length; i++)
|
|
3734
2781
|
UninterpretedOption.internalBinaryWrite(message.uninterpretedOption[i], writer.tag(999, WireType.LengthDelimited).fork(), options).join();
|
|
@@ -3743,130 +2790,9 @@ class FieldOptions$Type extends MessageType<FieldOptions> {
|
|
|
3743
2790
|
*/
|
|
3744
2791
|
export const FieldOptions = new FieldOptions$Type();
|
|
3745
2792
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
3746
|
-
class FieldOptions_EditionDefault$Type extends MessageType<FieldOptions_EditionDefault> {
|
|
3747
|
-
constructor() {
|
|
3748
|
-
super("google.protobuf.FieldOptions.EditionDefault", [
|
|
3749
|
-
{ no: 3, name: "edition", kind: "enum", opt: true, T: () => ["google.protobuf.Edition", Edition] },
|
|
3750
|
-
{ no: 2, name: "value", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
|
3751
|
-
]);
|
|
3752
|
-
}
|
|
3753
|
-
create(value?: PartialMessage<FieldOptions_EditionDefault>): FieldOptions_EditionDefault {
|
|
3754
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
3755
|
-
if (value !== undefined)
|
|
3756
|
-
reflectionMergePartial<FieldOptions_EditionDefault>(this, message, value);
|
|
3757
|
-
return message;
|
|
3758
|
-
}
|
|
3759
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FieldOptions_EditionDefault): FieldOptions_EditionDefault {
|
|
3760
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
3761
|
-
while (reader.pos < end) {
|
|
3762
|
-
let [fieldNo, wireType] = reader.tag();
|
|
3763
|
-
switch (fieldNo) {
|
|
3764
|
-
case /* optional google.protobuf.Edition edition */ 3:
|
|
3765
|
-
message.edition = reader.int32();
|
|
3766
|
-
break;
|
|
3767
|
-
case /* optional string value */ 2:
|
|
3768
|
-
message.value = reader.string();
|
|
3769
|
-
break;
|
|
3770
|
-
default:
|
|
3771
|
-
let u = options.readUnknownField;
|
|
3772
|
-
if (u === "throw")
|
|
3773
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
3774
|
-
let d = reader.skip(wireType);
|
|
3775
|
-
if (u !== false)
|
|
3776
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
3777
|
-
}
|
|
3778
|
-
}
|
|
3779
|
-
return message;
|
|
3780
|
-
}
|
|
3781
|
-
internalBinaryWrite(message: FieldOptions_EditionDefault, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
3782
|
-
/* optional string value = 2; */
|
|
3783
|
-
if (message.value !== undefined)
|
|
3784
|
-
writer.tag(2, WireType.LengthDelimited).string(message.value);
|
|
3785
|
-
/* optional google.protobuf.Edition edition = 3; */
|
|
3786
|
-
if (message.edition !== undefined)
|
|
3787
|
-
writer.tag(3, WireType.Varint).int32(message.edition);
|
|
3788
|
-
let u = options.writeUnknownFields;
|
|
3789
|
-
if (u !== false)
|
|
3790
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3791
|
-
return writer;
|
|
3792
|
-
}
|
|
3793
|
-
}
|
|
3794
|
-
/**
|
|
3795
|
-
* @generated MessageType for protobuf message google.protobuf.FieldOptions.EditionDefault
|
|
3796
|
-
*/
|
|
3797
|
-
export const FieldOptions_EditionDefault = new FieldOptions_EditionDefault$Type();
|
|
3798
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
3799
|
-
class FieldOptions_FeatureSupport$Type extends MessageType<FieldOptions_FeatureSupport> {
|
|
3800
|
-
constructor() {
|
|
3801
|
-
super("google.protobuf.FieldOptions.FeatureSupport", [
|
|
3802
|
-
{ no: 1, name: "edition_introduced", kind: "enum", opt: true, T: () => ["google.protobuf.Edition", Edition] },
|
|
3803
|
-
{ no: 2, name: "edition_deprecated", kind: "enum", opt: true, T: () => ["google.protobuf.Edition", Edition] },
|
|
3804
|
-
{ no: 3, name: "deprecation_warning", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
3805
|
-
{ no: 4, name: "edition_removed", kind: "enum", opt: true, T: () => ["google.protobuf.Edition", Edition] }
|
|
3806
|
-
]);
|
|
3807
|
-
}
|
|
3808
|
-
create(value?: PartialMessage<FieldOptions_FeatureSupport>): FieldOptions_FeatureSupport {
|
|
3809
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
3810
|
-
if (value !== undefined)
|
|
3811
|
-
reflectionMergePartial<FieldOptions_FeatureSupport>(this, message, value);
|
|
3812
|
-
return message;
|
|
3813
|
-
}
|
|
3814
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FieldOptions_FeatureSupport): FieldOptions_FeatureSupport {
|
|
3815
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
3816
|
-
while (reader.pos < end) {
|
|
3817
|
-
let [fieldNo, wireType] = reader.tag();
|
|
3818
|
-
switch (fieldNo) {
|
|
3819
|
-
case /* optional google.protobuf.Edition edition_introduced */ 1:
|
|
3820
|
-
message.editionIntroduced = reader.int32();
|
|
3821
|
-
break;
|
|
3822
|
-
case /* optional google.protobuf.Edition edition_deprecated */ 2:
|
|
3823
|
-
message.editionDeprecated = reader.int32();
|
|
3824
|
-
break;
|
|
3825
|
-
case /* optional string deprecation_warning */ 3:
|
|
3826
|
-
message.deprecationWarning = reader.string();
|
|
3827
|
-
break;
|
|
3828
|
-
case /* optional google.protobuf.Edition edition_removed */ 4:
|
|
3829
|
-
message.editionRemoved = reader.int32();
|
|
3830
|
-
break;
|
|
3831
|
-
default:
|
|
3832
|
-
let u = options.readUnknownField;
|
|
3833
|
-
if (u === "throw")
|
|
3834
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
3835
|
-
let d = reader.skip(wireType);
|
|
3836
|
-
if (u !== false)
|
|
3837
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
3838
|
-
}
|
|
3839
|
-
}
|
|
3840
|
-
return message;
|
|
3841
|
-
}
|
|
3842
|
-
internalBinaryWrite(message: FieldOptions_FeatureSupport, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
3843
|
-
/* optional google.protobuf.Edition edition_introduced = 1; */
|
|
3844
|
-
if (message.editionIntroduced !== undefined)
|
|
3845
|
-
writer.tag(1, WireType.Varint).int32(message.editionIntroduced);
|
|
3846
|
-
/* optional google.protobuf.Edition edition_deprecated = 2; */
|
|
3847
|
-
if (message.editionDeprecated !== undefined)
|
|
3848
|
-
writer.tag(2, WireType.Varint).int32(message.editionDeprecated);
|
|
3849
|
-
/* optional string deprecation_warning = 3; */
|
|
3850
|
-
if (message.deprecationWarning !== undefined)
|
|
3851
|
-
writer.tag(3, WireType.LengthDelimited).string(message.deprecationWarning);
|
|
3852
|
-
/* optional google.protobuf.Edition edition_removed = 4; */
|
|
3853
|
-
if (message.editionRemoved !== undefined)
|
|
3854
|
-
writer.tag(4, WireType.Varint).int32(message.editionRemoved);
|
|
3855
|
-
let u = options.writeUnknownFields;
|
|
3856
|
-
if (u !== false)
|
|
3857
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3858
|
-
return writer;
|
|
3859
|
-
}
|
|
3860
|
-
}
|
|
3861
|
-
/**
|
|
3862
|
-
* @generated MessageType for protobuf message google.protobuf.FieldOptions.FeatureSupport
|
|
3863
|
-
*/
|
|
3864
|
-
export const FieldOptions_FeatureSupport = new FieldOptions_FeatureSupport$Type();
|
|
3865
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
3866
2793
|
class OneofOptions$Type extends MessageType<OneofOptions> {
|
|
3867
2794
|
constructor() {
|
|
3868
2795
|
super("google.protobuf.OneofOptions", [
|
|
3869
|
-
{ no: 1, name: "features", kind: "message", T: () => FeatureSet },
|
|
3870
2796
|
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => UninterpretedOption }
|
|
3871
2797
|
]);
|
|
3872
2798
|
}
|
|
@@ -3882,9 +2808,6 @@ class OneofOptions$Type extends MessageType<OneofOptions> {
|
|
|
3882
2808
|
while (reader.pos < end) {
|
|
3883
2809
|
let [fieldNo, wireType] = reader.tag();
|
|
3884
2810
|
switch (fieldNo) {
|
|
3885
|
-
case /* optional google.protobuf.FeatureSet features */ 1:
|
|
3886
|
-
message.features = FeatureSet.internalBinaryRead(reader, reader.uint32(), options, message.features);
|
|
3887
|
-
break;
|
|
3888
2811
|
case /* repeated google.protobuf.UninterpretedOption uninterpreted_option */ 999:
|
|
3889
2812
|
message.uninterpretedOption.push(UninterpretedOption.internalBinaryRead(reader, reader.uint32(), options));
|
|
3890
2813
|
break;
|
|
@@ -3900,9 +2823,6 @@ class OneofOptions$Type extends MessageType<OneofOptions> {
|
|
|
3900
2823
|
return message;
|
|
3901
2824
|
}
|
|
3902
2825
|
internalBinaryWrite(message: OneofOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
3903
|
-
/* optional google.protobuf.FeatureSet features = 1; */
|
|
3904
|
-
if (message.features)
|
|
3905
|
-
FeatureSet.internalBinaryWrite(message.features, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
3906
2826
|
/* repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; */
|
|
3907
2827
|
for (let i = 0; i < message.uninterpretedOption.length; i++)
|
|
3908
2828
|
UninterpretedOption.internalBinaryWrite(message.uninterpretedOption[i], writer.tag(999, WireType.LengthDelimited).fork(), options).join();
|
|
@@ -3922,8 +2842,6 @@ class EnumOptions$Type extends MessageType<EnumOptions> {
|
|
|
3922
2842
|
super("google.protobuf.EnumOptions", [
|
|
3923
2843
|
{ no: 2, name: "allow_alias", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
3924
2844
|
{ no: 3, name: "deprecated", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
3925
|
-
{ no: 6, name: "deprecated_legacy_json_field_conflicts", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
3926
|
-
{ no: 7, name: "features", kind: "message", T: () => FeatureSet },
|
|
3927
2845
|
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => UninterpretedOption }
|
|
3928
2846
|
]);
|
|
3929
2847
|
}
|
|
@@ -3945,12 +2863,6 @@ class EnumOptions$Type extends MessageType<EnumOptions> {
|
|
|
3945
2863
|
case /* optional bool deprecated = 3 [default = false] */ 3:
|
|
3946
2864
|
message.deprecated = reader.bool();
|
|
3947
2865
|
break;
|
|
3948
|
-
case /* optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true] */ 6:
|
|
3949
|
-
message.deprecatedLegacyJsonFieldConflicts = reader.bool();
|
|
3950
|
-
break;
|
|
3951
|
-
case /* optional google.protobuf.FeatureSet features */ 7:
|
|
3952
|
-
message.features = FeatureSet.internalBinaryRead(reader, reader.uint32(), options, message.features);
|
|
3953
|
-
break;
|
|
3954
2866
|
case /* repeated google.protobuf.UninterpretedOption uninterpreted_option */ 999:
|
|
3955
2867
|
message.uninterpretedOption.push(UninterpretedOption.internalBinaryRead(reader, reader.uint32(), options));
|
|
3956
2868
|
break;
|
|
@@ -3972,12 +2884,6 @@ class EnumOptions$Type extends MessageType<EnumOptions> {
|
|
|
3972
2884
|
/* optional bool deprecated = 3 [default = false]; */
|
|
3973
2885
|
if (message.deprecated !== undefined)
|
|
3974
2886
|
writer.tag(3, WireType.Varint).bool(message.deprecated);
|
|
3975
|
-
/* optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true]; */
|
|
3976
|
-
if (message.deprecatedLegacyJsonFieldConflicts !== undefined)
|
|
3977
|
-
writer.tag(6, WireType.Varint).bool(message.deprecatedLegacyJsonFieldConflicts);
|
|
3978
|
-
/* optional google.protobuf.FeatureSet features = 7; */
|
|
3979
|
-
if (message.features)
|
|
3980
|
-
FeatureSet.internalBinaryWrite(message.features, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
|
3981
2887
|
/* repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; */
|
|
3982
2888
|
for (let i = 0; i < message.uninterpretedOption.length; i++)
|
|
3983
2889
|
UninterpretedOption.internalBinaryWrite(message.uninterpretedOption[i], writer.tag(999, WireType.LengthDelimited).fork(), options).join();
|
|
@@ -3996,9 +2902,6 @@ class EnumValueOptions$Type extends MessageType<EnumValueOptions> {
|
|
|
3996
2902
|
constructor() {
|
|
3997
2903
|
super("google.protobuf.EnumValueOptions", [
|
|
3998
2904
|
{ no: 1, name: "deprecated", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
3999
|
-
{ no: 2, name: "features", kind: "message", T: () => FeatureSet },
|
|
4000
|
-
{ no: 3, name: "debug_redact", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
4001
|
-
{ no: 4, name: "feature_support", kind: "message", T: () => FieldOptions_FeatureSupport },
|
|
4002
2905
|
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => UninterpretedOption }
|
|
4003
2906
|
]);
|
|
4004
2907
|
}
|
|
@@ -4017,15 +2920,6 @@ class EnumValueOptions$Type extends MessageType<EnumValueOptions> {
|
|
|
4017
2920
|
case /* optional bool deprecated = 1 [default = false] */ 1:
|
|
4018
2921
|
message.deprecated = reader.bool();
|
|
4019
2922
|
break;
|
|
4020
|
-
case /* optional google.protobuf.FeatureSet features */ 2:
|
|
4021
|
-
message.features = FeatureSet.internalBinaryRead(reader, reader.uint32(), options, message.features);
|
|
4022
|
-
break;
|
|
4023
|
-
case /* optional bool debug_redact = 3 [default = false] */ 3:
|
|
4024
|
-
message.debugRedact = reader.bool();
|
|
4025
|
-
break;
|
|
4026
|
-
case /* optional google.protobuf.FieldOptions.FeatureSupport feature_support */ 4:
|
|
4027
|
-
message.featureSupport = FieldOptions_FeatureSupport.internalBinaryRead(reader, reader.uint32(), options, message.featureSupport);
|
|
4028
|
-
break;
|
|
4029
2923
|
case /* repeated google.protobuf.UninterpretedOption uninterpreted_option */ 999:
|
|
4030
2924
|
message.uninterpretedOption.push(UninterpretedOption.internalBinaryRead(reader, reader.uint32(), options));
|
|
4031
2925
|
break;
|
|
@@ -4044,15 +2938,6 @@ class EnumValueOptions$Type extends MessageType<EnumValueOptions> {
|
|
|
4044
2938
|
/* optional bool deprecated = 1 [default = false]; */
|
|
4045
2939
|
if (message.deprecated !== undefined)
|
|
4046
2940
|
writer.tag(1, WireType.Varint).bool(message.deprecated);
|
|
4047
|
-
/* optional google.protobuf.FeatureSet features = 2; */
|
|
4048
|
-
if (message.features)
|
|
4049
|
-
FeatureSet.internalBinaryWrite(message.features, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
4050
|
-
/* optional bool debug_redact = 3 [default = false]; */
|
|
4051
|
-
if (message.debugRedact !== undefined)
|
|
4052
|
-
writer.tag(3, WireType.Varint).bool(message.debugRedact);
|
|
4053
|
-
/* optional google.protobuf.FieldOptions.FeatureSupport feature_support = 4; */
|
|
4054
|
-
if (message.featureSupport)
|
|
4055
|
-
FieldOptions_FeatureSupport.internalBinaryWrite(message.featureSupport, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
4056
2941
|
/* repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; */
|
|
4057
2942
|
for (let i = 0; i < message.uninterpretedOption.length; i++)
|
|
4058
2943
|
UninterpretedOption.internalBinaryWrite(message.uninterpretedOption[i], writer.tag(999, WireType.LengthDelimited).fork(), options).join();
|
|
@@ -4070,7 +2955,6 @@ export const EnumValueOptions = new EnumValueOptions$Type();
|
|
|
4070
2955
|
class ServiceOptions$Type extends MessageType<ServiceOptions> {
|
|
4071
2956
|
constructor() {
|
|
4072
2957
|
super("google.protobuf.ServiceOptions", [
|
|
4073
|
-
{ no: 34, name: "features", kind: "message", T: () => FeatureSet },
|
|
4074
2958
|
{ no: 33, name: "deprecated", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
4075
2959
|
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => UninterpretedOption }
|
|
4076
2960
|
]);
|
|
@@ -4087,9 +2971,6 @@ class ServiceOptions$Type extends MessageType<ServiceOptions> {
|
|
|
4087
2971
|
while (reader.pos < end) {
|
|
4088
2972
|
let [fieldNo, wireType] = reader.tag();
|
|
4089
2973
|
switch (fieldNo) {
|
|
4090
|
-
case /* optional google.protobuf.FeatureSet features */ 34:
|
|
4091
|
-
message.features = FeatureSet.internalBinaryRead(reader, reader.uint32(), options, message.features);
|
|
4092
|
-
break;
|
|
4093
2974
|
case /* optional bool deprecated = 33 [default = false] */ 33:
|
|
4094
2975
|
message.deprecated = reader.bool();
|
|
4095
2976
|
break;
|
|
@@ -4111,9 +2992,6 @@ class ServiceOptions$Type extends MessageType<ServiceOptions> {
|
|
|
4111
2992
|
/* optional bool deprecated = 33 [default = false]; */
|
|
4112
2993
|
if (message.deprecated !== undefined)
|
|
4113
2994
|
writer.tag(33, WireType.Varint).bool(message.deprecated);
|
|
4114
|
-
/* optional google.protobuf.FeatureSet features = 34; */
|
|
4115
|
-
if (message.features)
|
|
4116
|
-
FeatureSet.internalBinaryWrite(message.features, writer.tag(34, WireType.LengthDelimited).fork(), options).join();
|
|
4117
2995
|
/* repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; */
|
|
4118
2996
|
for (let i = 0; i < message.uninterpretedOption.length; i++)
|
|
4119
2997
|
UninterpretedOption.internalBinaryWrite(message.uninterpretedOption[i], writer.tag(999, WireType.LengthDelimited).fork(), options).join();
|
|
@@ -4133,7 +3011,6 @@ class MethodOptions$Type extends MessageType<MethodOptions> {
|
|
|
4133
3011
|
super("google.protobuf.MethodOptions", [
|
|
4134
3012
|
{ no: 33, name: "deprecated", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
4135
3013
|
{ no: 34, name: "idempotency_level", kind: "enum", opt: true, T: () => ["google.protobuf.MethodOptions.IdempotencyLevel", MethodOptions_IdempotencyLevel] },
|
|
4136
|
-
{ no: 35, name: "features", kind: "message", T: () => FeatureSet },
|
|
4137
3014
|
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => UninterpretedOption }
|
|
4138
3015
|
]);
|
|
4139
3016
|
}
|
|
@@ -4155,9 +3032,6 @@ class MethodOptions$Type extends MessageType<MethodOptions> {
|
|
|
4155
3032
|
case /* optional google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN] */ 34:
|
|
4156
3033
|
message.idempotencyLevel = reader.int32();
|
|
4157
3034
|
break;
|
|
4158
|
-
case /* optional google.protobuf.FeatureSet features */ 35:
|
|
4159
|
-
message.features = FeatureSet.internalBinaryRead(reader, reader.uint32(), options, message.features);
|
|
4160
|
-
break;
|
|
4161
3035
|
case /* repeated google.protobuf.UninterpretedOption uninterpreted_option */ 999:
|
|
4162
3036
|
message.uninterpretedOption.push(UninterpretedOption.internalBinaryRead(reader, reader.uint32(), options));
|
|
4163
3037
|
break;
|
|
@@ -4179,9 +3053,6 @@ class MethodOptions$Type extends MessageType<MethodOptions> {
|
|
|
4179
3053
|
/* optional google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN]; */
|
|
4180
3054
|
if (message.idempotencyLevel !== undefined)
|
|
4181
3055
|
writer.tag(34, WireType.Varint).int32(message.idempotencyLevel);
|
|
4182
|
-
/* optional google.protobuf.FeatureSet features = 35; */
|
|
4183
|
-
if (message.features)
|
|
4184
|
-
FeatureSet.internalBinaryWrite(message.features, writer.tag(35, WireType.LengthDelimited).fork(), options).join();
|
|
4185
3056
|
/* repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; */
|
|
4186
3057
|
for (let i = 0; i < message.uninterpretedOption.length; i++)
|
|
4187
3058
|
UninterpretedOption.internalBinaryWrite(message.uninterpretedOption[i], writer.tag(999, WireType.LengthDelimited).fork(), options).join();
|
|
@@ -4340,260 +3211,6 @@ class UninterpretedOption_NamePart$Type extends MessageType<UninterpretedOption_
|
|
|
4340
3211
|
*/
|
|
4341
3212
|
export const UninterpretedOption_NamePart = new UninterpretedOption_NamePart$Type();
|
|
4342
3213
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
4343
|
-
class FeatureSet$Type extends MessageType<FeatureSet> {
|
|
4344
|
-
constructor() {
|
|
4345
|
-
super("google.protobuf.FeatureSet", [
|
|
4346
|
-
{ no: 1, name: "field_presence", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.FieldPresence", FeatureSet_FieldPresence] },
|
|
4347
|
-
{ no: 2, name: "enum_type", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.EnumType", FeatureSet_EnumType] },
|
|
4348
|
-
{ no: 3, name: "repeated_field_encoding", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.RepeatedFieldEncoding", FeatureSet_RepeatedFieldEncoding] },
|
|
4349
|
-
{ no: 4, name: "utf8_validation", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.Utf8Validation", FeatureSet_Utf8Validation] },
|
|
4350
|
-
{ no: 5, name: "message_encoding", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.MessageEncoding", FeatureSet_MessageEncoding] },
|
|
4351
|
-
{ no: 6, name: "json_format", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.JsonFormat", FeatureSet_JsonFormat] },
|
|
4352
|
-
{ no: 7, name: "enforce_naming_style", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.EnforceNamingStyle", FeatureSet_EnforceNamingStyle] },
|
|
4353
|
-
{ no: 8, name: "default_symbol_visibility", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility", FeatureSet_VisibilityFeature_DefaultSymbolVisibility] }
|
|
4354
|
-
]);
|
|
4355
|
-
}
|
|
4356
|
-
create(value?: PartialMessage<FeatureSet>): FeatureSet {
|
|
4357
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
4358
|
-
if (value !== undefined)
|
|
4359
|
-
reflectionMergePartial<FeatureSet>(this, message, value);
|
|
4360
|
-
return message;
|
|
4361
|
-
}
|
|
4362
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FeatureSet): FeatureSet {
|
|
4363
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
4364
|
-
while (reader.pos < end) {
|
|
4365
|
-
let [fieldNo, wireType] = reader.tag();
|
|
4366
|
-
switch (fieldNo) {
|
|
4367
|
-
case /* optional google.protobuf.FeatureSet.FieldPresence field_presence */ 1:
|
|
4368
|
-
message.fieldPresence = reader.int32();
|
|
4369
|
-
break;
|
|
4370
|
-
case /* optional google.protobuf.FeatureSet.EnumType enum_type */ 2:
|
|
4371
|
-
message.enumType = reader.int32();
|
|
4372
|
-
break;
|
|
4373
|
-
case /* optional google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding */ 3:
|
|
4374
|
-
message.repeatedFieldEncoding = reader.int32();
|
|
4375
|
-
break;
|
|
4376
|
-
case /* optional google.protobuf.FeatureSet.Utf8Validation utf8_validation */ 4:
|
|
4377
|
-
message.utf8Validation = reader.int32();
|
|
4378
|
-
break;
|
|
4379
|
-
case /* optional google.protobuf.FeatureSet.MessageEncoding message_encoding */ 5:
|
|
4380
|
-
message.messageEncoding = reader.int32();
|
|
4381
|
-
break;
|
|
4382
|
-
case /* optional google.protobuf.FeatureSet.JsonFormat json_format */ 6:
|
|
4383
|
-
message.jsonFormat = reader.int32();
|
|
4384
|
-
break;
|
|
4385
|
-
case /* optional google.protobuf.FeatureSet.EnforceNamingStyle enforce_naming_style */ 7:
|
|
4386
|
-
message.enforceNamingStyle = reader.int32();
|
|
4387
|
-
break;
|
|
4388
|
-
case /* optional google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility default_symbol_visibility */ 8:
|
|
4389
|
-
message.defaultSymbolVisibility = reader.int32();
|
|
4390
|
-
break;
|
|
4391
|
-
default:
|
|
4392
|
-
let u = options.readUnknownField;
|
|
4393
|
-
if (u === "throw")
|
|
4394
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4395
|
-
let d = reader.skip(wireType);
|
|
4396
|
-
if (u !== false)
|
|
4397
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4398
|
-
}
|
|
4399
|
-
}
|
|
4400
|
-
return message;
|
|
4401
|
-
}
|
|
4402
|
-
internalBinaryWrite(message: FeatureSet, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
4403
|
-
/* optional google.protobuf.FeatureSet.FieldPresence field_presence = 1; */
|
|
4404
|
-
if (message.fieldPresence !== undefined)
|
|
4405
|
-
writer.tag(1, WireType.Varint).int32(message.fieldPresence);
|
|
4406
|
-
/* optional google.protobuf.FeatureSet.EnumType enum_type = 2; */
|
|
4407
|
-
if (message.enumType !== undefined)
|
|
4408
|
-
writer.tag(2, WireType.Varint).int32(message.enumType);
|
|
4409
|
-
/* optional google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3; */
|
|
4410
|
-
if (message.repeatedFieldEncoding !== undefined)
|
|
4411
|
-
writer.tag(3, WireType.Varint).int32(message.repeatedFieldEncoding);
|
|
4412
|
-
/* optional google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4; */
|
|
4413
|
-
if (message.utf8Validation !== undefined)
|
|
4414
|
-
writer.tag(4, WireType.Varint).int32(message.utf8Validation);
|
|
4415
|
-
/* optional google.protobuf.FeatureSet.MessageEncoding message_encoding = 5; */
|
|
4416
|
-
if (message.messageEncoding !== undefined)
|
|
4417
|
-
writer.tag(5, WireType.Varint).int32(message.messageEncoding);
|
|
4418
|
-
/* optional google.protobuf.FeatureSet.JsonFormat json_format = 6; */
|
|
4419
|
-
if (message.jsonFormat !== undefined)
|
|
4420
|
-
writer.tag(6, WireType.Varint).int32(message.jsonFormat);
|
|
4421
|
-
/* optional google.protobuf.FeatureSet.EnforceNamingStyle enforce_naming_style = 7; */
|
|
4422
|
-
if (message.enforceNamingStyle !== undefined)
|
|
4423
|
-
writer.tag(7, WireType.Varint).int32(message.enforceNamingStyle);
|
|
4424
|
-
/* optional google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility default_symbol_visibility = 8; */
|
|
4425
|
-
if (message.defaultSymbolVisibility !== undefined)
|
|
4426
|
-
writer.tag(8, WireType.Varint).int32(message.defaultSymbolVisibility);
|
|
4427
|
-
let u = options.writeUnknownFields;
|
|
4428
|
-
if (u !== false)
|
|
4429
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4430
|
-
return writer;
|
|
4431
|
-
}
|
|
4432
|
-
}
|
|
4433
|
-
/**
|
|
4434
|
-
* @generated MessageType for protobuf message google.protobuf.FeatureSet
|
|
4435
|
-
*/
|
|
4436
|
-
export const FeatureSet = new FeatureSet$Type();
|
|
4437
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
4438
|
-
class FeatureSet_VisibilityFeature$Type extends MessageType<FeatureSet_VisibilityFeature> {
|
|
4439
|
-
constructor() {
|
|
4440
|
-
super("google.protobuf.FeatureSet.VisibilityFeature", []);
|
|
4441
|
-
}
|
|
4442
|
-
create(value?: PartialMessage<FeatureSet_VisibilityFeature>): FeatureSet_VisibilityFeature {
|
|
4443
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
4444
|
-
if (value !== undefined)
|
|
4445
|
-
reflectionMergePartial<FeatureSet_VisibilityFeature>(this, message, value);
|
|
4446
|
-
return message;
|
|
4447
|
-
}
|
|
4448
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FeatureSet_VisibilityFeature): FeatureSet_VisibilityFeature {
|
|
4449
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
4450
|
-
while (reader.pos < end) {
|
|
4451
|
-
let [fieldNo, wireType] = reader.tag();
|
|
4452
|
-
switch (fieldNo) {
|
|
4453
|
-
default:
|
|
4454
|
-
let u = options.readUnknownField;
|
|
4455
|
-
if (u === "throw")
|
|
4456
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4457
|
-
let d = reader.skip(wireType);
|
|
4458
|
-
if (u !== false)
|
|
4459
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4460
|
-
}
|
|
4461
|
-
}
|
|
4462
|
-
return message;
|
|
4463
|
-
}
|
|
4464
|
-
internalBinaryWrite(message: FeatureSet_VisibilityFeature, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
4465
|
-
let u = options.writeUnknownFields;
|
|
4466
|
-
if (u !== false)
|
|
4467
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4468
|
-
return writer;
|
|
4469
|
-
}
|
|
4470
|
-
}
|
|
4471
|
-
/**
|
|
4472
|
-
* @generated MessageType for protobuf message google.protobuf.FeatureSet.VisibilityFeature
|
|
4473
|
-
*/
|
|
4474
|
-
export const FeatureSet_VisibilityFeature = new FeatureSet_VisibilityFeature$Type();
|
|
4475
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
4476
|
-
class FeatureSetDefaults$Type extends MessageType<FeatureSetDefaults> {
|
|
4477
|
-
constructor() {
|
|
4478
|
-
super("google.protobuf.FeatureSetDefaults", [
|
|
4479
|
-
{ no: 1, name: "defaults", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => FeatureSetDefaults_FeatureSetEditionDefault },
|
|
4480
|
-
{ no: 4, name: "minimum_edition", kind: "enum", opt: true, T: () => ["google.protobuf.Edition", Edition] },
|
|
4481
|
-
{ no: 5, name: "maximum_edition", kind: "enum", opt: true, T: () => ["google.protobuf.Edition", Edition] }
|
|
4482
|
-
]);
|
|
4483
|
-
}
|
|
4484
|
-
create(value?: PartialMessage<FeatureSetDefaults>): FeatureSetDefaults {
|
|
4485
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
4486
|
-
message.defaults = [];
|
|
4487
|
-
if (value !== undefined)
|
|
4488
|
-
reflectionMergePartial<FeatureSetDefaults>(this, message, value);
|
|
4489
|
-
return message;
|
|
4490
|
-
}
|
|
4491
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FeatureSetDefaults): FeatureSetDefaults {
|
|
4492
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
4493
|
-
while (reader.pos < end) {
|
|
4494
|
-
let [fieldNo, wireType] = reader.tag();
|
|
4495
|
-
switch (fieldNo) {
|
|
4496
|
-
case /* repeated google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults */ 1:
|
|
4497
|
-
message.defaults.push(FeatureSetDefaults_FeatureSetEditionDefault.internalBinaryRead(reader, reader.uint32(), options));
|
|
4498
|
-
break;
|
|
4499
|
-
case /* optional google.protobuf.Edition minimum_edition */ 4:
|
|
4500
|
-
message.minimumEdition = reader.int32();
|
|
4501
|
-
break;
|
|
4502
|
-
case /* optional google.protobuf.Edition maximum_edition */ 5:
|
|
4503
|
-
message.maximumEdition = reader.int32();
|
|
4504
|
-
break;
|
|
4505
|
-
default:
|
|
4506
|
-
let u = options.readUnknownField;
|
|
4507
|
-
if (u === "throw")
|
|
4508
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4509
|
-
let d = reader.skip(wireType);
|
|
4510
|
-
if (u !== false)
|
|
4511
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4512
|
-
}
|
|
4513
|
-
}
|
|
4514
|
-
return message;
|
|
4515
|
-
}
|
|
4516
|
-
internalBinaryWrite(message: FeatureSetDefaults, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
4517
|
-
/* repeated google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1; */
|
|
4518
|
-
for (let i = 0; i < message.defaults.length; i++)
|
|
4519
|
-
FeatureSetDefaults_FeatureSetEditionDefault.internalBinaryWrite(message.defaults[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
4520
|
-
/* optional google.protobuf.Edition minimum_edition = 4; */
|
|
4521
|
-
if (message.minimumEdition !== undefined)
|
|
4522
|
-
writer.tag(4, WireType.Varint).int32(message.minimumEdition);
|
|
4523
|
-
/* optional google.protobuf.Edition maximum_edition = 5; */
|
|
4524
|
-
if (message.maximumEdition !== undefined)
|
|
4525
|
-
writer.tag(5, WireType.Varint).int32(message.maximumEdition);
|
|
4526
|
-
let u = options.writeUnknownFields;
|
|
4527
|
-
if (u !== false)
|
|
4528
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4529
|
-
return writer;
|
|
4530
|
-
}
|
|
4531
|
-
}
|
|
4532
|
-
/**
|
|
4533
|
-
* @generated MessageType for protobuf message google.protobuf.FeatureSetDefaults
|
|
4534
|
-
*/
|
|
4535
|
-
export const FeatureSetDefaults = new FeatureSetDefaults$Type();
|
|
4536
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
4537
|
-
class FeatureSetDefaults_FeatureSetEditionDefault$Type extends MessageType<FeatureSetDefaults_FeatureSetEditionDefault> {
|
|
4538
|
-
constructor() {
|
|
4539
|
-
super("google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault", [
|
|
4540
|
-
{ no: 3, name: "edition", kind: "enum", opt: true, T: () => ["google.protobuf.Edition", Edition] },
|
|
4541
|
-
{ no: 4, name: "overridable_features", kind: "message", T: () => FeatureSet },
|
|
4542
|
-
{ no: 5, name: "fixed_features", kind: "message", T: () => FeatureSet }
|
|
4543
|
-
]);
|
|
4544
|
-
}
|
|
4545
|
-
create(value?: PartialMessage<FeatureSetDefaults_FeatureSetEditionDefault>): FeatureSetDefaults_FeatureSetEditionDefault {
|
|
4546
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
4547
|
-
if (value !== undefined)
|
|
4548
|
-
reflectionMergePartial<FeatureSetDefaults_FeatureSetEditionDefault>(this, message, value);
|
|
4549
|
-
return message;
|
|
4550
|
-
}
|
|
4551
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FeatureSetDefaults_FeatureSetEditionDefault): FeatureSetDefaults_FeatureSetEditionDefault {
|
|
4552
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
4553
|
-
while (reader.pos < end) {
|
|
4554
|
-
let [fieldNo, wireType] = reader.tag();
|
|
4555
|
-
switch (fieldNo) {
|
|
4556
|
-
case /* optional google.protobuf.Edition edition */ 3:
|
|
4557
|
-
message.edition = reader.int32();
|
|
4558
|
-
break;
|
|
4559
|
-
case /* optional google.protobuf.FeatureSet overridable_features */ 4:
|
|
4560
|
-
message.overridableFeatures = FeatureSet.internalBinaryRead(reader, reader.uint32(), options, message.overridableFeatures);
|
|
4561
|
-
break;
|
|
4562
|
-
case /* optional google.protobuf.FeatureSet fixed_features */ 5:
|
|
4563
|
-
message.fixedFeatures = FeatureSet.internalBinaryRead(reader, reader.uint32(), options, message.fixedFeatures);
|
|
4564
|
-
break;
|
|
4565
|
-
default:
|
|
4566
|
-
let u = options.readUnknownField;
|
|
4567
|
-
if (u === "throw")
|
|
4568
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4569
|
-
let d = reader.skip(wireType);
|
|
4570
|
-
if (u !== false)
|
|
4571
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4572
|
-
}
|
|
4573
|
-
}
|
|
4574
|
-
return message;
|
|
4575
|
-
}
|
|
4576
|
-
internalBinaryWrite(message: FeatureSetDefaults_FeatureSetEditionDefault, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
4577
|
-
/* optional google.protobuf.Edition edition = 3; */
|
|
4578
|
-
if (message.edition !== undefined)
|
|
4579
|
-
writer.tag(3, WireType.Varint).int32(message.edition);
|
|
4580
|
-
/* optional google.protobuf.FeatureSet overridable_features = 4; */
|
|
4581
|
-
if (message.overridableFeatures)
|
|
4582
|
-
FeatureSet.internalBinaryWrite(message.overridableFeatures, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
4583
|
-
/* optional google.protobuf.FeatureSet fixed_features = 5; */
|
|
4584
|
-
if (message.fixedFeatures)
|
|
4585
|
-
FeatureSet.internalBinaryWrite(message.fixedFeatures, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
|
4586
|
-
let u = options.writeUnknownFields;
|
|
4587
|
-
if (u !== false)
|
|
4588
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4589
|
-
return writer;
|
|
4590
|
-
}
|
|
4591
|
-
}
|
|
4592
|
-
/**
|
|
4593
|
-
* @generated MessageType for protobuf message google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
|
|
4594
|
-
*/
|
|
4595
|
-
export const FeatureSetDefaults_FeatureSetEditionDefault = new FeatureSetDefaults_FeatureSetEditionDefault$Type();
|
|
4596
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
4597
3214
|
class SourceCodeInfo$Type extends MessageType<SourceCodeInfo> {
|
|
4598
3215
|
constructor() {
|
|
4599
3216
|
super("google.protobuf.SourceCodeInfo", [
|
|
@@ -4787,8 +3404,7 @@ class GeneratedCodeInfo_Annotation$Type extends MessageType<GeneratedCodeInfo_An
|
|
|
4787
3404
|
{ no: 1, name: "path", kind: "scalar", repeat: 1 /*RepeatType.PACKED*/, T: 5 /*ScalarType.INT32*/ },
|
|
4788
3405
|
{ no: 2, name: "source_file", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
4789
3406
|
{ no: 3, name: "begin", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/ },
|
|
4790
|
-
{ no: 4, name: "end", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/ }
|
|
4791
|
-
{ no: 5, name: "semantic", kind: "enum", opt: true, T: () => ["google.protobuf.GeneratedCodeInfo.Annotation.Semantic", GeneratedCodeInfo_Annotation_Semantic] }
|
|
3407
|
+
{ no: 4, name: "end", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/ }
|
|
4792
3408
|
]);
|
|
4793
3409
|
}
|
|
4794
3410
|
create(value?: PartialMessage<GeneratedCodeInfo_Annotation>): GeneratedCodeInfo_Annotation {
|
|
@@ -4819,9 +3435,6 @@ class GeneratedCodeInfo_Annotation$Type extends MessageType<GeneratedCodeInfo_An
|
|
|
4819
3435
|
case /* optional int32 end */ 4:
|
|
4820
3436
|
message.end = reader.int32();
|
|
4821
3437
|
break;
|
|
4822
|
-
case /* optional google.protobuf.GeneratedCodeInfo.Annotation.Semantic semantic */ 5:
|
|
4823
|
-
message.semantic = reader.int32();
|
|
4824
|
-
break;
|
|
4825
3438
|
default:
|
|
4826
3439
|
let u = options.readUnknownField;
|
|
4827
3440
|
if (u === "throw")
|
|
@@ -4850,9 +3463,6 @@ class GeneratedCodeInfo_Annotation$Type extends MessageType<GeneratedCodeInfo_An
|
|
|
4850
3463
|
/* optional int32 end = 4; */
|
|
4851
3464
|
if (message.end !== undefined)
|
|
4852
3465
|
writer.tag(4, WireType.Varint).int32(message.end);
|
|
4853
|
-
/* optional google.protobuf.GeneratedCodeInfo.Annotation.Semantic semantic = 5; */
|
|
4854
|
-
if (message.semantic !== undefined)
|
|
4855
|
-
writer.tag(5, WireType.Varint).int32(message.semantic);
|
|
4856
3466
|
let u = options.writeUnknownFields;
|
|
4857
3467
|
if (u !== false)
|
|
4858
3468
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|