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