@milaboratories/pl-client 2.11.9 → 2.11.11

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