@milaboratories/pl-client 2.12.0 → 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.
Files changed (57) hide show
  1. package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.cjs.map +1 -1
  2. package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.js.map +1 -1
  3. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.cjs +26 -2
  4. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.cjs.map +1 -1
  5. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.cjs.map +1 -1
  6. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.js.map +1 -1
  7. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +12 -0
  8. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +1 -1
  9. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.js +26 -2
  10. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.js.map +1 -1
  11. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.cjs.map +1 -1
  12. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.js.map +1 -1
  13. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.cjs.map +1 -1
  14. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.js.map +1 -1
  15. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.cjs.map +1 -1
  16. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.js.map +1 -1
  17. package/dist/proto/google/protobuf/any.cjs.map +1 -1
  18. package/dist/proto/google/protobuf/any.d.ts +9 -5
  19. package/dist/proto/google/protobuf/any.d.ts.map +1 -1
  20. package/dist/proto/google/protobuf/any.js.map +1 -1
  21. package/dist/proto/google/protobuf/descriptor.d.ts +881 -46
  22. package/dist/proto/google/protobuf/descriptor.d.ts.map +1 -1
  23. package/dist/proto/google/protobuf/duration.cjs.map +1 -1
  24. package/dist/proto/google/protobuf/duration.d.ts +0 -1
  25. package/dist/proto/google/protobuf/duration.d.ts.map +1 -1
  26. package/dist/proto/google/protobuf/duration.js.map +1 -1
  27. package/dist/proto/google/protobuf/struct.d.ts +1 -1
  28. package/dist/proto/google/protobuf/timestamp.cjs.map +1 -1
  29. package/dist/proto/google/protobuf/timestamp.d.ts +1 -4
  30. package/dist/proto/google/protobuf/timestamp.d.ts.map +1 -1
  31. package/dist/proto/google/protobuf/timestamp.js.map +1 -1
  32. package/dist/proto/google/protobuf/wrappers.d.ts +27 -0
  33. package/dist/proto/google/protobuf/wrappers.d.ts.map +1 -1
  34. package/package.json +1 -1
  35. package/src/proto/github.com/googleapis/googleapis/google/rpc/status.ts +1 -1
  36. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.ts +1 -1
  37. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.ts +1 -1
  38. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.ts +1 -1
  39. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.ts +1 -1
  40. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.ts +1 -1
  41. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.ts +1 -1
  42. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.ts +1 -1
  43. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.ts +1 -1
  44. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.ts +1 -1
  45. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.ts +38 -2
  46. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.ts +1 -1
  47. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.ts +1 -1
  48. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/import.ts +1 -1
  49. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.ts +1 -1
  50. package/src/proto/google/api/http.ts +1 -1
  51. package/src/proto/google/protobuf/any.ts +10 -6
  52. package/src/proto/google/protobuf/descriptor.ts +1469 -77
  53. package/src/proto/google/protobuf/duration.ts +1 -2
  54. package/src/proto/google/protobuf/empty.ts +1 -1
  55. package/src/proto/google/protobuf/struct.ts +2 -2
  56. package/src/proto/google/protobuf/timestamp.ts +2 -5
  57. package/src/proto/google/protobuf/wrappers.ts +38 -5
@@ -49,6 +49,13 @@ export interface FileDescriptorProto {
49
49
  * @generated from protobuf field: repeated int32 weak_dependency = 11
50
50
  */
51
51
  weakDependency: number[];
52
+ /**
53
+ * Names of files imported by this file purely for the purpose of providing
54
+ * option extensions. These are excluded from the dependency list above.
55
+ *
56
+ * @generated from protobuf field: repeated string option_dependency = 15
57
+ */
58
+ optionDependency: string[];
52
59
  /**
53
60
  * All top-level definitions in this file.
54
61
  *
@@ -82,11 +89,25 @@ export interface FileDescriptorProto {
82
89
  sourceCodeInfo?: SourceCodeInfo;
83
90
  /**
84
91
  * The syntax of the proto file.
85
- * The supported values are "proto2" and "proto3".
92
+ * The supported values are "proto2", "proto3", and "editions".
93
+ *
94
+ * If `edition` is present, this value must be "editions".
95
+ * WARNING: This field should only be used by protobuf plugins or special
96
+ * cases like the proto compiler. Other uses are discouraged and
97
+ * developers should rely on the protoreflect APIs for their client language.
86
98
  *
87
99
  * @generated from protobuf field: optional string syntax = 12
88
100
  */
89
101
  syntax?: string;
102
+ /**
103
+ * The edition of the proto file.
104
+ * WARNING: This field should only be used by protobuf plugins or special
105
+ * cases like the proto compiler. Other uses are discouraged and
106
+ * developers should rely on the protoreflect APIs for their client language.
107
+ *
108
+ * @generated from protobuf field: optional google.protobuf.Edition edition = 14
109
+ */
110
+ edition?: Edition;
90
111
  }
91
112
  /**
92
113
  * Describes a message type.
@@ -137,6 +158,12 @@ export interface DescriptorProto {
137
158
  * @generated from protobuf field: repeated string reserved_name = 10
138
159
  */
139
160
  reservedName: string[];
161
+ /**
162
+ * Support for `export` and `local` keywords on enums.
163
+ *
164
+ * @generated from protobuf field: optional google.protobuf.SymbolVisibility visibility = 11
165
+ */
166
+ visibility?: SymbolVisibility;
140
167
  }
141
168
  /**
142
169
  * @generated from protobuf message google.protobuf.DescriptorProto.ExtensionRange
@@ -182,6 +209,86 @@ export interface ExtensionRangeOptions {
182
209
  * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999
183
210
  */
184
211
  uninterpretedOption: UninterpretedOption[];
212
+ /**
213
+ * For external users: DO NOT USE. We are in the process of open sourcing
214
+ * extension declaration and executing internal cleanups before it can be
215
+ * used externally.
216
+ *
217
+ * @generated from protobuf field: repeated google.protobuf.ExtensionRangeOptions.Declaration declaration = 2
218
+ */
219
+ declaration: ExtensionRangeOptions_Declaration[];
220
+ /**
221
+ * Any features defined in the specific edition.
222
+ *
223
+ * @generated from protobuf field: optional google.protobuf.FeatureSet features = 50
224
+ */
225
+ features?: FeatureSet;
226
+ /**
227
+ * The verification state of the range.
228
+ * TODO: flip the default to DECLARATION once all empty ranges
229
+ * are marked as UNVERIFIED.
230
+ *
231
+ * @generated from protobuf field: optional google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED]
232
+ */
233
+ verification?: ExtensionRangeOptions_VerificationState;
234
+ }
235
+ /**
236
+ * @generated from protobuf message google.protobuf.ExtensionRangeOptions.Declaration
237
+ */
238
+ export interface ExtensionRangeOptions_Declaration {
239
+ /**
240
+ * The extension number declared within the extension range.
241
+ *
242
+ * @generated from protobuf field: optional int32 number = 1
243
+ */
244
+ number?: number;
245
+ /**
246
+ * The fully-qualified name of the extension field. There must be a leading
247
+ * dot in front of the full name.
248
+ *
249
+ * @generated from protobuf field: optional string full_name = 2
250
+ */
251
+ fullName?: string;
252
+ /**
253
+ * The fully-qualified type name of the extension field. Unlike
254
+ * Metadata.type, Declaration.type must have a leading dot for messages
255
+ * and enums.
256
+ *
257
+ * @generated from protobuf field: optional string type = 3
258
+ */
259
+ type?: string;
260
+ /**
261
+ * If true, indicates that the number is reserved in the extension range,
262
+ * and any extension field with the number will fail to compile. Set this
263
+ * when a declared extension field is deleted.
264
+ *
265
+ * @generated from protobuf field: optional bool reserved = 5
266
+ */
267
+ reserved?: boolean;
268
+ /**
269
+ * If true, indicates that the extension must be defined as repeated.
270
+ * Otherwise the extension must be defined as optional.
271
+ *
272
+ * @generated from protobuf field: optional bool repeated = 6
273
+ */
274
+ repeated?: boolean;
275
+ }
276
+ /**
277
+ * The verification state of the extension range.
278
+ *
279
+ * @generated from protobuf enum google.protobuf.ExtensionRangeOptions.VerificationState
280
+ */
281
+ export declare enum ExtensionRangeOptions_VerificationState {
282
+ /**
283
+ * All the extensions of the range must be declared.
284
+ *
285
+ * @generated from protobuf enum value: DECLARATION = 0;
286
+ */
287
+ DECLARATION = 0,
288
+ /**
289
+ * @generated from protobuf enum value: UNVERIFIED = 1;
290
+ */
291
+ UNVERIFIED = 1
185
292
  }
186
293
  /**
187
294
  * Describes a field within a message.
@@ -258,12 +365,12 @@ export interface FieldDescriptorProto {
258
365
  * If true, this is a proto3 "optional". When a proto3 field is optional, it
259
366
  * tracks presence regardless of field type.
260
367
  *
261
- * When proto3_optional is true, this field must be belong to a oneof to
262
- * signal to old proto3 clients that presence is tracked for this field. This
263
- * oneof is known as a "synthetic" oneof, and this field must be its sole
264
- * member (each proto3 optional field gets its own synthetic oneof). Synthetic
265
- * oneofs exist in the descriptor only, and do not generate any API. Synthetic
266
- * oneofs must be ordered after all "real" oneofs.
368
+ * When proto3_optional is true, this field must belong to a oneof to signal
369
+ * to old proto3 clients that presence is tracked for this field. This oneof
370
+ * is known as a "synthetic" oneof, and this field must be its sole member
371
+ * (each proto3 optional field gets its own synthetic oneof). Synthetic oneofs
372
+ * exist in the descriptor only, and do not generate any API. Synthetic oneofs
373
+ * must be ordered after all "real" oneofs.
267
374
  *
268
375
  * For message fields, proto3_optional doesn't create any semantic change,
269
376
  * since non-repeated message fields always track presence. However it still
@@ -336,9 +443,10 @@ export declare enum FieldDescriptorProto_Type {
336
443
  STRING = 9,
337
444
  /**
338
445
  * Tag-delimited aggregate.
339
- * Group type is deprecated and not supported in proto3. However, Proto3
446
+ * Group type is deprecated and not supported after google.protobuf. However, Proto3
340
447
  * implementations should still be able to parse the group wire format and
341
- * treat group fields as unknown fields.
448
+ * treat group fields as unknown fields. In Editions, the group wire format
449
+ * can be enabled via the `message_encoding` feature.
342
450
  *
343
451
  * @generated from protobuf enum value: TYPE_GROUP = 10;
344
452
  */
@@ -399,13 +507,17 @@ export declare enum FieldDescriptorProto_Label {
399
507
  */
400
508
  OPTIONAL = 1,
401
509
  /**
402
- * @generated from protobuf enum value: LABEL_REQUIRED = 2;
510
+ * @generated from protobuf enum value: LABEL_REPEATED = 3;
403
511
  */
404
- REQUIRED = 2,
512
+ REPEATED = 3,
405
513
  /**
406
- * @generated from protobuf enum value: LABEL_REPEATED = 3;
514
+ * The required label is only allowed in google.protobuf. In proto3 and Editions
515
+ * it's explicitly prohibited. In Editions, the `field_presence` feature
516
+ * can be used to get this behavior.
517
+ *
518
+ * @generated from protobuf enum value: LABEL_REQUIRED = 2;
407
519
  */
408
- REPEATED = 3
520
+ REQUIRED = 2
409
521
  }
410
522
  /**
411
523
  * Describes a oneof.
@@ -455,6 +567,12 @@ export interface EnumDescriptorProto {
455
567
  * @generated from protobuf field: repeated string reserved_name = 5
456
568
  */
457
569
  reservedName: string[];
570
+ /**
571
+ * Support for `export` and `local` keywords on enums.
572
+ *
573
+ * @generated from protobuf field: optional google.protobuf.SymbolVisibility visibility = 6
574
+ */
575
+ visibility?: SymbolVisibility;
458
576
  }
459
577
  /**
460
578
  * Range of reserved numeric values. Reserved values may not be used by
@@ -594,12 +712,16 @@ export interface FileOptions {
594
712
  */
595
713
  javaGenerateEqualsAndHash?: boolean;
596
714
  /**
597
- * If set true, then the Java2 code generator will generate code that
598
- * throws an exception whenever an attempt is made to assign a non-UTF-8
599
- * byte sequence to a string field.
600
- * Message reflection will do the same.
601
- * However, an extension field still accepts non-UTF-8 byte sequences.
602
- * This option has no effect on when used with the lite runtime.
715
+ * A proto2 file can set this to true to opt in to UTF-8 checking for Java,
716
+ * which will throw an exception if invalid UTF-8 is parsed from the wire or
717
+ * assigned to a string field.
718
+ *
719
+ * TODO: clarify exactly what kinds of field types this option
720
+ * applies to, and update these docs accordingly.
721
+ *
722
+ * Proto3 files already perform these checks. Setting the option explicitly to
723
+ * false has no effect: it cannot be used to opt proto3 files out of UTF-8
724
+ * checks.
603
725
  *
604
726
  * @generated from protobuf field: optional bool java_string_check_utf8 = 27 [default = false]
605
727
  */
@@ -641,10 +763,6 @@ export interface FileOptions {
641
763
  * @generated from protobuf field: optional bool py_generic_services = 18 [default = false]
642
764
  */
643
765
  pyGenericServices?: boolean;
644
- /**
645
- * @generated from protobuf field: optional bool php_generic_services = 42 [default = false]
646
- */
647
- phpGenericServices?: boolean;
648
766
  /**
649
767
  * Is this file deprecated?
650
768
  * Depending on the target platform, this can emit Deprecated annotations
@@ -714,6 +832,15 @@ export interface FileOptions {
714
832
  * @generated from protobuf field: optional string ruby_package = 45
715
833
  */
716
834
  rubyPackage?: string;
835
+ /**
836
+ * Any features defined in the specific edition.
837
+ * WARNING: This field should only be used by protobuf plugins or special
838
+ * cases like the proto compiler. Other uses are discouraged and
839
+ * developers should rely on the protoreflect APIs for their client language.
840
+ *
841
+ * @generated from protobuf field: optional google.protobuf.FeatureSet features = 50
842
+ */
843
+ features?: FeatureSet;
717
844
  /**
718
845
  * The parser stores options it doesn't recognize here.
719
846
  * See the documentation for the "Options" section above.
@@ -823,6 +950,31 @@ export interface MessageOptions {
823
950
  * @generated from protobuf field: optional bool map_entry = 7
824
951
  */
825
952
  mapEntry?: boolean;
953
+ /**
954
+ * Enable the legacy handling of JSON field name conflicts. This lowercases
955
+ * and strips underscored from the fields before comparison in proto3 only.
956
+ * The new behavior takes `json_name` into account and applies to proto2 as
957
+ * well.
958
+ *
959
+ * This should only be used as a temporary measure against broken builds due
960
+ * to the change in behavior for JSON field name conflicts.
961
+ *
962
+ * TODO This is legacy behavior we plan to remove once downstream
963
+ * teams have had time to migrate.
964
+ *
965
+ * @deprecated
966
+ * @generated from protobuf field: optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true]
967
+ */
968
+ deprecatedLegacyJsonFieldConflicts?: boolean;
969
+ /**
970
+ * Any features defined in the specific edition.
971
+ * WARNING: This field should only be used by protobuf plugins or special
972
+ * cases like the proto compiler. Other uses are discouraged and
973
+ * developers should rely on the protoreflect APIs for their client language.
974
+ *
975
+ * @generated from protobuf field: optional google.protobuf.FeatureSet features = 12
976
+ */
977
+ features?: FeatureSet;
826
978
  /**
827
979
  * The parser stores options it doesn't recognize here. See above.
828
980
  *
@@ -835,10 +987,13 @@ export interface MessageOptions {
835
987
  */
836
988
  export interface FieldOptions {
837
989
  /**
990
+ * NOTE: ctype is deprecated. Use `features.(pb.cpp).string_type` instead.
838
991
  * The ctype option instructs the C++ code generator to use a different
839
992
  * representation of the field than it normally would. See the specific
840
- * options below. This option is not yet implemented in the open source
841
- * release -- sorry, we'll try to include it in a future version!
993
+ * options below. This option is only implemented to support use of
994
+ * [ctype=CORD] and [ctype=STRING] (the default) on non-repeated fields of
995
+ * type "bytes" in the open source release.
996
+ * TODO: make ctype actually deprecated.
842
997
  *
843
998
  * @generated from protobuf field: optional google.protobuf.FieldOptions.CType ctype = 1 [default = STRING]
844
999
  */
@@ -848,7 +1003,9 @@ export interface FieldOptions {
848
1003
  * a more efficient representation on the wire. Rather than repeatedly
849
1004
  * writing the tag and type for each element, the entire array is encoded as
850
1005
  * a single length-delimited blob. In proto3, only explicit setting it to
851
- * false will avoid using packed encoding.
1006
+ * false will avoid using packed encoding. This option is prohibited in
1007
+ * Editions, but the `repeated_field_encoding` feature can be used to control
1008
+ * the behavior.
852
1009
  *
853
1010
  * @generated from protobuf field: optional bool packed = 2
854
1011
  */
@@ -887,23 +1044,11 @@ export interface FieldOptions {
887
1044
  * call from multiple threads concurrently, while non-const methods continue
888
1045
  * to require exclusive access.
889
1046
  *
890
- *
891
- * Note that implementations may choose not to check required fields within
892
- * a lazy sub-message. That is, calling IsInitialized() on the outer message
893
- * may return true even if the inner message has missing required fields.
894
- * This is necessary because otherwise the inner message would have to be
895
- * parsed in order to perform the check, defeating the purpose of lazy
896
- * parsing. An implementation which chooses not to check required fields
897
- * must be consistent about it. That is, for any particular sub-message, the
898
- * implementation must either *always* check its required fields, or *never*
899
- * check its required fields, regardless of whether or not the message has
900
- * been parsed.
901
- *
902
- * As of 2021, lazy does no correctness checks on the byte stream during
903
- * parsing. This may lead to crashes if and when an invalid byte stream is
904
- * finally parsed upon access.
905
- *
906
- * TODO(b/211906113): Enable validation on lazy fields.
1047
+ * Note that lazy message fields are still eagerly verified to check
1048
+ * ill-formed wireformat or missing required fields. Calling IsInitialized()
1049
+ * on the outer message would fail if the inner message has missing required
1050
+ * fields. Failed verification would result in parsing failure (except when
1051
+ * uninitialized messages are acceptable).
907
1052
  *
908
1053
  * @generated from protobuf field: optional bool lazy = 5 [default = false]
909
1054
  */
@@ -926,11 +1071,45 @@ export interface FieldOptions {
926
1071
  */
927
1072
  deprecated?: boolean;
928
1073
  /**
1074
+ * DEPRECATED. DO NOT USE!
929
1075
  * For Google-internal migration only. Do not use.
930
1076
  *
931
- * @generated from protobuf field: optional bool weak = 10 [default = false]
1077
+ * @deprecated
1078
+ * @generated from protobuf field: optional bool weak = 10 [default = false, deprecated = true]
932
1079
  */
933
1080
  weak?: boolean;
1081
+ /**
1082
+ * Indicate that the field value should not be printed out when using debug
1083
+ * formats, e.g. when the field contains sensitive credentials.
1084
+ *
1085
+ * @generated from protobuf field: optional bool debug_redact = 16 [default = false]
1086
+ */
1087
+ debugRedact?: boolean;
1088
+ /**
1089
+ * @generated from protobuf field: optional google.protobuf.FieldOptions.OptionRetention retention = 17
1090
+ */
1091
+ retention?: FieldOptions_OptionRetention;
1092
+ /**
1093
+ * @generated from protobuf field: repeated google.protobuf.FieldOptions.OptionTargetType targets = 19
1094
+ */
1095
+ targets: FieldOptions_OptionTargetType[];
1096
+ /**
1097
+ * @generated from protobuf field: repeated google.protobuf.FieldOptions.EditionDefault edition_defaults = 20
1098
+ */
1099
+ editionDefaults: FieldOptions_EditionDefault[];
1100
+ /**
1101
+ * Any features defined in the specific edition.
1102
+ * WARNING: This field should only be used by protobuf plugins or special
1103
+ * cases like the proto compiler. Other uses are discouraged and
1104
+ * developers should rely on the protoreflect APIs for their client language.
1105
+ *
1106
+ * @generated from protobuf field: optional google.protobuf.FeatureSet features = 21
1107
+ */
1108
+ features?: FeatureSet;
1109
+ /**
1110
+ * @generated from protobuf field: optional google.protobuf.FieldOptions.FeatureSupport feature_support = 22
1111
+ */
1112
+ featureSupport?: FieldOptions_FeatureSupport;
934
1113
  /**
935
1114
  * The parser stores options it doesn't recognize here. See above.
936
1115
  *
@@ -938,6 +1117,56 @@ export interface FieldOptions {
938
1117
  */
939
1118
  uninterpretedOption: UninterpretedOption[];
940
1119
  }
1120
+ /**
1121
+ * @generated from protobuf message google.protobuf.FieldOptions.EditionDefault
1122
+ */
1123
+ export interface FieldOptions_EditionDefault {
1124
+ /**
1125
+ * @generated from protobuf field: optional google.protobuf.Edition edition = 3
1126
+ */
1127
+ edition?: Edition;
1128
+ /**
1129
+ * @generated from protobuf field: optional string value = 2
1130
+ */
1131
+ value?: string;
1132
+ }
1133
+ /**
1134
+ * Information about the support window of a feature.
1135
+ *
1136
+ * @generated from protobuf message google.protobuf.FieldOptions.FeatureSupport
1137
+ */
1138
+ export interface FieldOptions_FeatureSupport {
1139
+ /**
1140
+ * The edition that this feature was first available in. In editions
1141
+ * earlier than this one, the default assigned to EDITION_LEGACY will be
1142
+ * used, and proto files will not be able to override it.
1143
+ *
1144
+ * @generated from protobuf field: optional google.protobuf.Edition edition_introduced = 1
1145
+ */
1146
+ editionIntroduced?: Edition;
1147
+ /**
1148
+ * The edition this feature becomes deprecated in. Using this after this
1149
+ * edition may trigger warnings.
1150
+ *
1151
+ * @generated from protobuf field: optional google.protobuf.Edition edition_deprecated = 2
1152
+ */
1153
+ editionDeprecated?: Edition;
1154
+ /**
1155
+ * The deprecation warning text if this feature is used after the edition it
1156
+ * was marked deprecated in.
1157
+ *
1158
+ * @generated from protobuf field: optional string deprecation_warning = 3
1159
+ */
1160
+ deprecationWarning?: string;
1161
+ /**
1162
+ * The edition this feature is no longer available in. In editions after
1163
+ * this one, the last default assigned will be used, and proto files will
1164
+ * not be able to override it.
1165
+ *
1166
+ * @generated from protobuf field: optional google.protobuf.Edition edition_removed = 4
1167
+ */
1168
+ editionRemoved?: Edition;
1169
+ }
941
1170
  /**
942
1171
  * @generated from protobuf enum google.protobuf.FieldOptions.CType
943
1172
  */
@@ -949,6 +1178,13 @@ export declare enum FieldOptions_CType {
949
1178
  */
950
1179
  STRING = 0,
951
1180
  /**
1181
+ * The option [ctype=CORD] may be applied to a non-repeated field of type
1182
+ * "bytes". It indicates that in C++, the data should be stored in a Cord
1183
+ * instead of a string. For very large strings, this may reduce memory
1184
+ * fragmentation. It may also allow better performance when parsing from a
1185
+ * Cord, or when parsing with aliasing enabled, as the parsed Cord may then
1186
+ * alias the original buffer.
1187
+ *
952
1188
  * @generated from protobuf enum value: CORD = 1;
953
1189
  */
954
1190
  CORD = 1,
@@ -980,10 +1216,87 @@ export declare enum FieldOptions_JSType {
980
1216
  */
981
1217
  JS_NUMBER = 2
982
1218
  }
1219
+ /**
1220
+ * If set to RETENTION_SOURCE, the option will be omitted from the binary.
1221
+ *
1222
+ * @generated from protobuf enum google.protobuf.FieldOptions.OptionRetention
1223
+ */
1224
+ export declare enum FieldOptions_OptionRetention {
1225
+ /**
1226
+ * @generated from protobuf enum value: RETENTION_UNKNOWN = 0;
1227
+ */
1228
+ RETENTION_UNKNOWN = 0,
1229
+ /**
1230
+ * @generated from protobuf enum value: RETENTION_RUNTIME = 1;
1231
+ */
1232
+ RETENTION_RUNTIME = 1,
1233
+ /**
1234
+ * @generated from protobuf enum value: RETENTION_SOURCE = 2;
1235
+ */
1236
+ RETENTION_SOURCE = 2
1237
+ }
1238
+ /**
1239
+ * This indicates the types of entities that the field may apply to when used
1240
+ * as an option. If it is unset, then the field may be freely used as an
1241
+ * option on any kind of entity.
1242
+ *
1243
+ * @generated from protobuf enum google.protobuf.FieldOptions.OptionTargetType
1244
+ */
1245
+ export declare enum FieldOptions_OptionTargetType {
1246
+ /**
1247
+ * @generated from protobuf enum value: TARGET_TYPE_UNKNOWN = 0;
1248
+ */
1249
+ TARGET_TYPE_UNKNOWN = 0,
1250
+ /**
1251
+ * @generated from protobuf enum value: TARGET_TYPE_FILE = 1;
1252
+ */
1253
+ TARGET_TYPE_FILE = 1,
1254
+ /**
1255
+ * @generated from protobuf enum value: TARGET_TYPE_EXTENSION_RANGE = 2;
1256
+ */
1257
+ TARGET_TYPE_EXTENSION_RANGE = 2,
1258
+ /**
1259
+ * @generated from protobuf enum value: TARGET_TYPE_MESSAGE = 3;
1260
+ */
1261
+ TARGET_TYPE_MESSAGE = 3,
1262
+ /**
1263
+ * @generated from protobuf enum value: TARGET_TYPE_FIELD = 4;
1264
+ */
1265
+ TARGET_TYPE_FIELD = 4,
1266
+ /**
1267
+ * @generated from protobuf enum value: TARGET_TYPE_ONEOF = 5;
1268
+ */
1269
+ TARGET_TYPE_ONEOF = 5,
1270
+ /**
1271
+ * @generated from protobuf enum value: TARGET_TYPE_ENUM = 6;
1272
+ */
1273
+ TARGET_TYPE_ENUM = 6,
1274
+ /**
1275
+ * @generated from protobuf enum value: TARGET_TYPE_ENUM_ENTRY = 7;
1276
+ */
1277
+ TARGET_TYPE_ENUM_ENTRY = 7,
1278
+ /**
1279
+ * @generated from protobuf enum value: TARGET_TYPE_SERVICE = 8;
1280
+ */
1281
+ TARGET_TYPE_SERVICE = 8,
1282
+ /**
1283
+ * @generated from protobuf enum value: TARGET_TYPE_METHOD = 9;
1284
+ */
1285
+ TARGET_TYPE_METHOD = 9
1286
+ }
983
1287
  /**
984
1288
  * @generated from protobuf message google.protobuf.OneofOptions
985
1289
  */
986
1290
  export interface OneofOptions {
1291
+ /**
1292
+ * Any features defined in the specific edition.
1293
+ * WARNING: This field should only be used by protobuf plugins or special
1294
+ * cases like the proto compiler. Other uses are discouraged and
1295
+ * developers should rely on the protoreflect APIs for their client language.
1296
+ *
1297
+ * @generated from protobuf field: optional google.protobuf.FeatureSet features = 1
1298
+ */
1299
+ features?: FeatureSet;
987
1300
  /**
988
1301
  * The parser stores options it doesn't recognize here. See above.
989
1302
  *
@@ -1011,6 +1324,27 @@ export interface EnumOptions {
1011
1324
  * @generated from protobuf field: optional bool deprecated = 3 [default = false]
1012
1325
  */
1013
1326
  deprecated?: boolean;
1327
+ /**
1328
+ * Enable the legacy handling of JSON field name conflicts. This lowercases
1329
+ * and strips underscored from the fields before comparison in proto3 only.
1330
+ * The new behavior takes `json_name` into account and applies to proto2 as
1331
+ * well.
1332
+ * TODO Remove this legacy behavior once downstream teams have
1333
+ * had time to migrate.
1334
+ *
1335
+ * @deprecated
1336
+ * @generated from protobuf field: optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true]
1337
+ */
1338
+ deprecatedLegacyJsonFieldConflicts?: boolean;
1339
+ /**
1340
+ * Any features defined in the specific edition.
1341
+ * WARNING: This field should only be used by protobuf plugins or special
1342
+ * cases like the proto compiler. Other uses are discouraged and
1343
+ * developers should rely on the protoreflect APIs for their client language.
1344
+ *
1345
+ * @generated from protobuf field: optional google.protobuf.FeatureSet features = 7
1346
+ */
1347
+ features?: FeatureSet;
1014
1348
  /**
1015
1349
  * The parser stores options it doesn't recognize here. See above.
1016
1350
  *
@@ -1031,6 +1365,29 @@ export interface EnumValueOptions {
1031
1365
  * @generated from protobuf field: optional bool deprecated = 1 [default = false]
1032
1366
  */
1033
1367
  deprecated?: boolean;
1368
+ /**
1369
+ * Any features defined in the specific edition.
1370
+ * WARNING: This field should only be used by protobuf plugins or special
1371
+ * cases like the proto compiler. Other uses are discouraged and
1372
+ * developers should rely on the protoreflect APIs for their client language.
1373
+ *
1374
+ * @generated from protobuf field: optional google.protobuf.FeatureSet features = 2
1375
+ */
1376
+ features?: FeatureSet;
1377
+ /**
1378
+ * Indicate that fields annotated with this enum value should not be printed
1379
+ * out when using debug formats, e.g. when the field contains sensitive
1380
+ * credentials.
1381
+ *
1382
+ * @generated from protobuf field: optional bool debug_redact = 3 [default = false]
1383
+ */
1384
+ debugRedact?: boolean;
1385
+ /**
1386
+ * Information about the support window of a feature value.
1387
+ *
1388
+ * @generated from protobuf field: optional google.protobuf.FieldOptions.FeatureSupport feature_support = 4
1389
+ */
1390
+ featureSupport?: FieldOptions_FeatureSupport;
1034
1391
  /**
1035
1392
  * The parser stores options it doesn't recognize here. See above.
1036
1393
  *
@@ -1042,6 +1399,15 @@ export interface EnumValueOptions {
1042
1399
  * @generated from protobuf message google.protobuf.ServiceOptions
1043
1400
  */
1044
1401
  export interface ServiceOptions {
1402
+ /**
1403
+ * Any features defined in the specific edition.
1404
+ * WARNING: This field should only be used by protobuf plugins or special
1405
+ * cases like the proto compiler. Other uses are discouraged and
1406
+ * developers should rely on the protoreflect APIs for their client language.
1407
+ *
1408
+ * @generated from protobuf field: optional google.protobuf.FeatureSet features = 34
1409
+ */
1410
+ features?: FeatureSet;
1045
1411
  /**
1046
1412
  * Is this service deprecated?
1047
1413
  * Depending on the target platform, this can emit Deprecated annotations
@@ -1075,6 +1441,15 @@ export interface MethodOptions {
1075
1441
  * @generated from protobuf field: optional google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN]
1076
1442
  */
1077
1443
  idempotencyLevel?: MethodOptions_IdempotencyLevel;
1444
+ /**
1445
+ * Any features defined in the specific edition.
1446
+ * WARNING: This field should only be used by protobuf plugins or special
1447
+ * cases like the proto compiler. Other uses are discouraged and
1448
+ * developers should rely on the protoreflect APIs for their client language.
1449
+ *
1450
+ * @generated from protobuf field: optional google.protobuf.FeatureSet features = 35
1451
+ */
1452
+ features?: FeatureSet;
1078
1453
  /**
1079
1454
  * The parser stores options it doesn't recognize here. See above.
1080
1455
  *
@@ -1169,6 +1544,267 @@ export interface UninterpretedOption_NamePart {
1169
1544
  */
1170
1545
  isExtension: boolean;
1171
1546
  }
1547
+ /**
1548
+ * TODO Enums in C++ gencode (and potentially other languages) are
1549
+ * not well scoped. This means that each of the feature enums below can clash
1550
+ * with each other. The short names we've chosen maximize call-site
1551
+ * readability, but leave us very open to this scenario. A future feature will
1552
+ * be designed and implemented to handle this, hopefully before we ever hit a
1553
+ * conflict here.
1554
+ *
1555
+ * @generated from protobuf message google.protobuf.FeatureSet
1556
+ */
1557
+ export interface FeatureSet {
1558
+ /**
1559
+ * @generated from protobuf field: optional google.protobuf.FeatureSet.FieldPresence field_presence = 1
1560
+ */
1561
+ fieldPresence?: FeatureSet_FieldPresence;
1562
+ /**
1563
+ * @generated from protobuf field: optional google.protobuf.FeatureSet.EnumType enum_type = 2
1564
+ */
1565
+ enumType?: FeatureSet_EnumType;
1566
+ /**
1567
+ * @generated from protobuf field: optional google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3
1568
+ */
1569
+ repeatedFieldEncoding?: FeatureSet_RepeatedFieldEncoding;
1570
+ /**
1571
+ * @generated from protobuf field: optional google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4
1572
+ */
1573
+ utf8Validation?: FeatureSet_Utf8Validation;
1574
+ /**
1575
+ * @generated from protobuf field: optional google.protobuf.FeatureSet.MessageEncoding message_encoding = 5
1576
+ */
1577
+ messageEncoding?: FeatureSet_MessageEncoding;
1578
+ /**
1579
+ * @generated from protobuf field: optional google.protobuf.FeatureSet.JsonFormat json_format = 6
1580
+ */
1581
+ jsonFormat?: FeatureSet_JsonFormat;
1582
+ /**
1583
+ * @generated from protobuf field: optional google.protobuf.FeatureSet.EnforceNamingStyle enforce_naming_style = 7
1584
+ */
1585
+ enforceNamingStyle?: FeatureSet_EnforceNamingStyle;
1586
+ /**
1587
+ * @generated from protobuf field: optional google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility default_symbol_visibility = 8
1588
+ */
1589
+ defaultSymbolVisibility?: FeatureSet_VisibilityFeature_DefaultSymbolVisibility;
1590
+ }
1591
+ /**
1592
+ * @generated from protobuf message google.protobuf.FeatureSet.VisibilityFeature
1593
+ */
1594
+ export interface FeatureSet_VisibilityFeature {
1595
+ }
1596
+ /**
1597
+ * @generated from protobuf enum google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility
1598
+ */
1599
+ export declare enum FeatureSet_VisibilityFeature_DefaultSymbolVisibility {
1600
+ /**
1601
+ * @generated from protobuf enum value: DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0;
1602
+ */
1603
+ DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0,
1604
+ /**
1605
+ * Default pre-EDITION_2024, all UNSET visibility are export.
1606
+ *
1607
+ * @generated from protobuf enum value: EXPORT_ALL = 1;
1608
+ */
1609
+ EXPORT_ALL = 1,
1610
+ /**
1611
+ * All top-level symbols default to export, nested default to local.
1612
+ *
1613
+ * @generated from protobuf enum value: EXPORT_TOP_LEVEL = 2;
1614
+ */
1615
+ EXPORT_TOP_LEVEL = 2,
1616
+ /**
1617
+ * All symbols default to local.
1618
+ *
1619
+ * @generated from protobuf enum value: LOCAL_ALL = 3;
1620
+ */
1621
+ LOCAL_ALL = 3,
1622
+ /**
1623
+ * All symbols local by default. Nested types cannot be exported.
1624
+ * With special case caveat for message { enum {} reserved 1 to max; }
1625
+ * This is the recommended setting for new protos.
1626
+ *
1627
+ * @generated from protobuf enum value: STRICT = 4;
1628
+ */
1629
+ STRICT = 4
1630
+ }
1631
+ /**
1632
+ * @generated from protobuf enum google.protobuf.FeatureSet.FieldPresence
1633
+ */
1634
+ export declare enum FeatureSet_FieldPresence {
1635
+ /**
1636
+ * @generated from protobuf enum value: FIELD_PRESENCE_UNKNOWN = 0;
1637
+ */
1638
+ FIELD_PRESENCE_UNKNOWN = 0,
1639
+ /**
1640
+ * @generated from protobuf enum value: EXPLICIT = 1;
1641
+ */
1642
+ EXPLICIT = 1,
1643
+ /**
1644
+ * @generated from protobuf enum value: IMPLICIT = 2;
1645
+ */
1646
+ IMPLICIT = 2,
1647
+ /**
1648
+ * @generated from protobuf enum value: LEGACY_REQUIRED = 3;
1649
+ */
1650
+ LEGACY_REQUIRED = 3
1651
+ }
1652
+ /**
1653
+ * @generated from protobuf enum google.protobuf.FeatureSet.EnumType
1654
+ */
1655
+ export declare enum FeatureSet_EnumType {
1656
+ /**
1657
+ * @generated from protobuf enum value: ENUM_TYPE_UNKNOWN = 0;
1658
+ */
1659
+ ENUM_TYPE_UNKNOWN = 0,
1660
+ /**
1661
+ * @generated from protobuf enum value: OPEN = 1;
1662
+ */
1663
+ OPEN = 1,
1664
+ /**
1665
+ * @generated from protobuf enum value: CLOSED = 2;
1666
+ */
1667
+ CLOSED = 2
1668
+ }
1669
+ /**
1670
+ * @generated from protobuf enum google.protobuf.FeatureSet.RepeatedFieldEncoding
1671
+ */
1672
+ export declare enum FeatureSet_RepeatedFieldEncoding {
1673
+ /**
1674
+ * @generated from protobuf enum value: REPEATED_FIELD_ENCODING_UNKNOWN = 0;
1675
+ */
1676
+ REPEATED_FIELD_ENCODING_UNKNOWN = 0,
1677
+ /**
1678
+ * @generated from protobuf enum value: PACKED = 1;
1679
+ */
1680
+ PACKED = 1,
1681
+ /**
1682
+ * @generated from protobuf enum value: EXPANDED = 2;
1683
+ */
1684
+ EXPANDED = 2
1685
+ }
1686
+ /**
1687
+ * @generated from protobuf enum google.protobuf.FeatureSet.Utf8Validation
1688
+ */
1689
+ export declare enum FeatureSet_Utf8Validation {
1690
+ /**
1691
+ * @generated from protobuf enum value: UTF8_VALIDATION_UNKNOWN = 0;
1692
+ */
1693
+ UTF8_VALIDATION_UNKNOWN = 0,
1694
+ /**
1695
+ * @generated from protobuf enum value: VERIFY = 2;
1696
+ */
1697
+ VERIFY = 2,
1698
+ /**
1699
+ * @generated from protobuf enum value: NONE = 3;
1700
+ */
1701
+ NONE = 3
1702
+ }
1703
+ /**
1704
+ * @generated from protobuf enum google.protobuf.FeatureSet.MessageEncoding
1705
+ */
1706
+ export declare enum FeatureSet_MessageEncoding {
1707
+ /**
1708
+ * @generated from protobuf enum value: MESSAGE_ENCODING_UNKNOWN = 0;
1709
+ */
1710
+ MESSAGE_ENCODING_UNKNOWN = 0,
1711
+ /**
1712
+ * @generated from protobuf enum value: LENGTH_PREFIXED = 1;
1713
+ */
1714
+ LENGTH_PREFIXED = 1,
1715
+ /**
1716
+ * @generated from protobuf enum value: DELIMITED = 2;
1717
+ */
1718
+ DELIMITED = 2
1719
+ }
1720
+ /**
1721
+ * @generated from protobuf enum google.protobuf.FeatureSet.JsonFormat
1722
+ */
1723
+ export declare enum FeatureSet_JsonFormat {
1724
+ /**
1725
+ * @generated from protobuf enum value: JSON_FORMAT_UNKNOWN = 0;
1726
+ */
1727
+ JSON_FORMAT_UNKNOWN = 0,
1728
+ /**
1729
+ * @generated from protobuf enum value: ALLOW = 1;
1730
+ */
1731
+ ALLOW = 1,
1732
+ /**
1733
+ * @generated from protobuf enum value: LEGACY_BEST_EFFORT = 2;
1734
+ */
1735
+ LEGACY_BEST_EFFORT = 2
1736
+ }
1737
+ /**
1738
+ * @generated from protobuf enum google.protobuf.FeatureSet.EnforceNamingStyle
1739
+ */
1740
+ export declare enum FeatureSet_EnforceNamingStyle {
1741
+ /**
1742
+ * @generated from protobuf enum value: ENFORCE_NAMING_STYLE_UNKNOWN = 0;
1743
+ */
1744
+ ENFORCE_NAMING_STYLE_UNKNOWN = 0,
1745
+ /**
1746
+ * @generated from protobuf enum value: STYLE2024 = 1;
1747
+ */
1748
+ STYLE2024 = 1,
1749
+ /**
1750
+ * @generated from protobuf enum value: STYLE_LEGACY = 2;
1751
+ */
1752
+ STYLE_LEGACY = 2
1753
+ }
1754
+ /**
1755
+ * A compiled specification for the defaults of a set of features. These
1756
+ * messages are generated from FeatureSet extensions and can be used to seed
1757
+ * feature resolution. The resolution with this object becomes a simple search
1758
+ * for the closest matching edition, followed by proto merges.
1759
+ *
1760
+ * @generated from protobuf message google.protobuf.FeatureSetDefaults
1761
+ */
1762
+ export interface FeatureSetDefaults {
1763
+ /**
1764
+ * @generated from protobuf field: repeated google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1
1765
+ */
1766
+ defaults: FeatureSetDefaults_FeatureSetEditionDefault[];
1767
+ /**
1768
+ * The minimum supported edition (inclusive) when this was constructed.
1769
+ * Editions before this will not have defaults.
1770
+ *
1771
+ * @generated from protobuf field: optional google.protobuf.Edition minimum_edition = 4
1772
+ */
1773
+ minimumEdition?: Edition;
1774
+ /**
1775
+ * The maximum known edition (inclusive) when this was constructed. Editions
1776
+ * after this will not have reliable defaults.
1777
+ *
1778
+ * @generated from protobuf field: optional google.protobuf.Edition maximum_edition = 5
1779
+ */
1780
+ maximumEdition?: Edition;
1781
+ }
1782
+ /**
1783
+ * A map from every known edition with a unique set of defaults to its
1784
+ * defaults. Not all editions may be contained here. For a given edition,
1785
+ * the defaults at the closest matching edition ordered at or before it should
1786
+ * be used. This field must be in strict ascending order by edition.
1787
+ *
1788
+ * @generated from protobuf message google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
1789
+ */
1790
+ export interface FeatureSetDefaults_FeatureSetEditionDefault {
1791
+ /**
1792
+ * @generated from protobuf field: optional google.protobuf.Edition edition = 3
1793
+ */
1794
+ edition?: Edition;
1795
+ /**
1796
+ * Defaults of features that can be overridden in this edition.
1797
+ *
1798
+ * @generated from protobuf field: optional google.protobuf.FeatureSet overridable_features = 4
1799
+ */
1800
+ overridableFeatures?: FeatureSet;
1801
+ /**
1802
+ * Defaults of features that can't be overridden in this edition.
1803
+ *
1804
+ * @generated from protobuf field: optional google.protobuf.FeatureSet fixed_features = 5
1805
+ */
1806
+ fixedFeatures?: FeatureSet;
1807
+ }
1172
1808
  /**
1173
1809
  * Encapsulates information about the original source file from which a
1174
1810
  * FileDescriptorProto was generated.
@@ -1234,7 +1870,7 @@ export interface SourceCodeInfo_Location {
1234
1870
  * location.
1235
1871
  *
1236
1872
  * Each element is a field number or an index. They form a path from
1237
- * the root FileDescriptorProto to the place where the definition occurs.
1873
+ * the root FileDescriptorProto to the place where the definition appears.
1238
1874
  * For example, this path:
1239
1875
  * [ 4, 3, 2, 7, 1 ]
1240
1876
  * refers to:
@@ -1370,12 +2006,141 @@ export interface GeneratedCodeInfo_Annotation {
1370
2006
  begin?: number;
1371
2007
  /**
1372
2008
  * Identifies the ending offset in bytes in the generated code that
1373
- * relates to the identified offset. The end offset should be one past
2009
+ * relates to the identified object. The end offset should be one past
1374
2010
  * the last relevant byte (so the length of the text = end - begin).
1375
2011
  *
1376
2012
  * @generated from protobuf field: optional int32 end = 4
1377
2013
  */
1378
2014
  end?: number;
2015
+ /**
2016
+ * @generated from protobuf field: optional google.protobuf.GeneratedCodeInfo.Annotation.Semantic semantic = 5
2017
+ */
2018
+ semantic?: GeneratedCodeInfo_Annotation_Semantic;
2019
+ }
2020
+ /**
2021
+ * Represents the identified object's effect on the element in the original
2022
+ * .proto file.
2023
+ *
2024
+ * @generated from protobuf enum google.protobuf.GeneratedCodeInfo.Annotation.Semantic
2025
+ */
2026
+ export declare enum GeneratedCodeInfo_Annotation_Semantic {
2027
+ /**
2028
+ * There is no effect or the effect is indescribable.
2029
+ *
2030
+ * @generated from protobuf enum value: NONE = 0;
2031
+ */
2032
+ NONE = 0,
2033
+ /**
2034
+ * The element is set or otherwise mutated.
2035
+ *
2036
+ * @generated from protobuf enum value: SET = 1;
2037
+ */
2038
+ SET = 1,
2039
+ /**
2040
+ * An alias to the element is returned.
2041
+ *
2042
+ * @generated from protobuf enum value: ALIAS = 2;
2043
+ */
2044
+ ALIAS = 2
2045
+ }
2046
+ /**
2047
+ * The full set of known editions.
2048
+ *
2049
+ * @generated from protobuf enum google.protobuf.Edition
2050
+ */
2051
+ export declare enum Edition {
2052
+ /**
2053
+ * A placeholder for an unknown edition value.
2054
+ *
2055
+ * @generated from protobuf enum value: EDITION_UNKNOWN = 0;
2056
+ */
2057
+ EDITION_UNKNOWN = 0,
2058
+ /**
2059
+ * A placeholder edition for specifying default behaviors *before* a feature
2060
+ * was first introduced. This is effectively an "infinite past".
2061
+ *
2062
+ * @generated from protobuf enum value: EDITION_LEGACY = 900;
2063
+ */
2064
+ EDITION_LEGACY = 900,
2065
+ /**
2066
+ * Legacy syntax "editions". These pre-date editions, but behave much like
2067
+ * distinct editions. These can't be used to specify the edition of proto
2068
+ * files, but feature definitions must supply proto2/proto3 defaults for
2069
+ * backwards compatibility.
2070
+ *
2071
+ * @generated from protobuf enum value: EDITION_PROTO2 = 998;
2072
+ */
2073
+ EDITION_PROTO2 = 998,
2074
+ /**
2075
+ * @generated from protobuf enum value: EDITION_PROTO3 = 999;
2076
+ */
2077
+ EDITION_PROTO3 = 999,
2078
+ /**
2079
+ * Editions that have been released. The specific values are arbitrary and
2080
+ * should not be depended on, but they will always be time-ordered for easy
2081
+ * comparison.
2082
+ *
2083
+ * @generated from protobuf enum value: EDITION_2023 = 1000;
2084
+ */
2085
+ EDITION_2023 = 1000,
2086
+ /**
2087
+ * @generated from protobuf enum value: EDITION_2024 = 1001;
2088
+ */
2089
+ EDITION_2024 = 1001,
2090
+ /**
2091
+ * Placeholder editions for testing feature resolution. These should not be
2092
+ * used or relied on outside of tests.
2093
+ *
2094
+ * @generated from protobuf enum value: EDITION_1_TEST_ONLY = 1;
2095
+ */
2096
+ EDITION_1_TEST_ONLY = 1,
2097
+ /**
2098
+ * @generated from protobuf enum value: EDITION_2_TEST_ONLY = 2;
2099
+ */
2100
+ EDITION_2_TEST_ONLY = 2,
2101
+ /**
2102
+ * @generated from protobuf enum value: EDITION_99997_TEST_ONLY = 99997;
2103
+ */
2104
+ EDITION_99997_TEST_ONLY = 99997,
2105
+ /**
2106
+ * @generated from protobuf enum value: EDITION_99998_TEST_ONLY = 99998;
2107
+ */
2108
+ EDITION_99998_TEST_ONLY = 99998,
2109
+ /**
2110
+ * @generated from protobuf enum value: EDITION_99999_TEST_ONLY = 99999;
2111
+ */
2112
+ EDITION_99999_TEST_ONLY = 99999,
2113
+ /**
2114
+ * Placeholder for specifying unbounded edition support. This should only
2115
+ * ever be used by plugins that can expect to never require any changes to
2116
+ * support a new edition.
2117
+ *
2118
+ * @generated from protobuf enum value: EDITION_MAX = 2147483647;
2119
+ */
2120
+ EDITION_MAX = 2147483647
2121
+ }
2122
+ /**
2123
+ * Describes the 'visibility' of a symbol with respect to the proto import
2124
+ * system. Symbols can only be imported when the visibility rules do not prevent
2125
+ * it (ex: local symbols cannot be imported). Visibility modifiers can only set
2126
+ * on `message` and `enum` as they are the only types available to be referenced
2127
+ * from other files.
2128
+ *
2129
+ * @generated from protobuf enum google.protobuf.SymbolVisibility
2130
+ */
2131
+ export declare enum SymbolVisibility {
2132
+ /**
2133
+ * @generated from protobuf enum value: VISIBILITY_UNSET = 0;
2134
+ */
2135
+ VISIBILITY_UNSET = 0,
2136
+ /**
2137
+ * @generated from protobuf enum value: VISIBILITY_LOCAL = 1;
2138
+ */
2139
+ VISIBILITY_LOCAL = 1,
2140
+ /**
2141
+ * @generated from protobuf enum value: VISIBILITY_EXPORT = 2;
2142
+ */
2143
+ VISIBILITY_EXPORT = 2
1379
2144
  }
1380
2145
  declare class FileDescriptorSet$Type extends MessageType<FileDescriptorSet> {
1381
2146
  constructor();
@@ -1437,6 +2202,16 @@ declare class ExtensionRangeOptions$Type extends MessageType<ExtensionRangeOptio
1437
2202
  * @generated MessageType for protobuf message google.protobuf.ExtensionRangeOptions
1438
2203
  */
1439
2204
  export declare const ExtensionRangeOptions: ExtensionRangeOptions$Type;
2205
+ declare class ExtensionRangeOptions_Declaration$Type extends MessageType<ExtensionRangeOptions_Declaration> {
2206
+ constructor();
2207
+ create(value?: PartialMessage<ExtensionRangeOptions_Declaration>): ExtensionRangeOptions_Declaration;
2208
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExtensionRangeOptions_Declaration): ExtensionRangeOptions_Declaration;
2209
+ internalBinaryWrite(message: ExtensionRangeOptions_Declaration, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2210
+ }
2211
+ /**
2212
+ * @generated MessageType for protobuf message google.protobuf.ExtensionRangeOptions.Declaration
2213
+ */
2214
+ export declare const ExtensionRangeOptions_Declaration: ExtensionRangeOptions_Declaration$Type;
1440
2215
  declare class FieldDescriptorProto$Type extends MessageType<FieldDescriptorProto> {
1441
2216
  constructor();
1442
2217
  create(value?: PartialMessage<FieldDescriptorProto>): FieldDescriptorProto;
@@ -1537,6 +2312,26 @@ declare class FieldOptions$Type extends MessageType<FieldOptions> {
1537
2312
  * @generated MessageType for protobuf message google.protobuf.FieldOptions
1538
2313
  */
1539
2314
  export declare const FieldOptions: FieldOptions$Type;
2315
+ declare class FieldOptions_EditionDefault$Type extends MessageType<FieldOptions_EditionDefault> {
2316
+ constructor();
2317
+ create(value?: PartialMessage<FieldOptions_EditionDefault>): FieldOptions_EditionDefault;
2318
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FieldOptions_EditionDefault): FieldOptions_EditionDefault;
2319
+ internalBinaryWrite(message: FieldOptions_EditionDefault, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2320
+ }
2321
+ /**
2322
+ * @generated MessageType for protobuf message google.protobuf.FieldOptions.EditionDefault
2323
+ */
2324
+ export declare const FieldOptions_EditionDefault: FieldOptions_EditionDefault$Type;
2325
+ declare class FieldOptions_FeatureSupport$Type extends MessageType<FieldOptions_FeatureSupport> {
2326
+ constructor();
2327
+ create(value?: PartialMessage<FieldOptions_FeatureSupport>): FieldOptions_FeatureSupport;
2328
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FieldOptions_FeatureSupport): FieldOptions_FeatureSupport;
2329
+ internalBinaryWrite(message: FieldOptions_FeatureSupport, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2330
+ }
2331
+ /**
2332
+ * @generated MessageType for protobuf message google.protobuf.FieldOptions.FeatureSupport
2333
+ */
2334
+ export declare const FieldOptions_FeatureSupport: FieldOptions_FeatureSupport$Type;
1540
2335
  declare class OneofOptions$Type extends MessageType<OneofOptions> {
1541
2336
  constructor();
1542
2337
  create(value?: PartialMessage<OneofOptions>): OneofOptions;
@@ -1607,6 +2402,46 @@ declare class UninterpretedOption_NamePart$Type extends MessageType<Uninterprete
1607
2402
  * @generated MessageType for protobuf message google.protobuf.UninterpretedOption.NamePart
1608
2403
  */
1609
2404
  export declare const UninterpretedOption_NamePart: UninterpretedOption_NamePart$Type;
2405
+ declare class FeatureSet$Type extends MessageType<FeatureSet> {
2406
+ constructor();
2407
+ create(value?: PartialMessage<FeatureSet>): FeatureSet;
2408
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FeatureSet): FeatureSet;
2409
+ internalBinaryWrite(message: FeatureSet, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2410
+ }
2411
+ /**
2412
+ * @generated MessageType for protobuf message google.protobuf.FeatureSet
2413
+ */
2414
+ export declare const FeatureSet: FeatureSet$Type;
2415
+ declare class FeatureSet_VisibilityFeature$Type extends MessageType<FeatureSet_VisibilityFeature> {
2416
+ constructor();
2417
+ create(value?: PartialMessage<FeatureSet_VisibilityFeature>): FeatureSet_VisibilityFeature;
2418
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FeatureSet_VisibilityFeature): FeatureSet_VisibilityFeature;
2419
+ internalBinaryWrite(message: FeatureSet_VisibilityFeature, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2420
+ }
2421
+ /**
2422
+ * @generated MessageType for protobuf message google.protobuf.FeatureSet.VisibilityFeature
2423
+ */
2424
+ export declare const FeatureSet_VisibilityFeature: FeatureSet_VisibilityFeature$Type;
2425
+ declare class FeatureSetDefaults$Type extends MessageType<FeatureSetDefaults> {
2426
+ constructor();
2427
+ create(value?: PartialMessage<FeatureSetDefaults>): FeatureSetDefaults;
2428
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FeatureSetDefaults): FeatureSetDefaults;
2429
+ internalBinaryWrite(message: FeatureSetDefaults, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2430
+ }
2431
+ /**
2432
+ * @generated MessageType for protobuf message google.protobuf.FeatureSetDefaults
2433
+ */
2434
+ export declare const FeatureSetDefaults: FeatureSetDefaults$Type;
2435
+ declare class FeatureSetDefaults_FeatureSetEditionDefault$Type extends MessageType<FeatureSetDefaults_FeatureSetEditionDefault> {
2436
+ constructor();
2437
+ create(value?: PartialMessage<FeatureSetDefaults_FeatureSetEditionDefault>): FeatureSetDefaults_FeatureSetEditionDefault;
2438
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FeatureSetDefaults_FeatureSetEditionDefault): FeatureSetDefaults_FeatureSetEditionDefault;
2439
+ internalBinaryWrite(message: FeatureSetDefaults_FeatureSetEditionDefault, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2440
+ }
2441
+ /**
2442
+ * @generated MessageType for protobuf message google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
2443
+ */
2444
+ export declare const FeatureSetDefaults_FeatureSetEditionDefault: FeatureSetDefaults_FeatureSetEditionDefault$Type;
1610
2445
  declare class SourceCodeInfo$Type extends MessageType<SourceCodeInfo> {
1611
2446
  constructor();
1612
2447
  create(value?: PartialMessage<SourceCodeInfo>): SourceCodeInfo;