@milaboratories/pl-client 3.4.1 → 3.5.0

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 (67) hide show
  1. package/dist/core/final.cjs.map +1 -1
  2. package/dist/core/final.js.map +1 -1
  3. package/dist/core/ll_client.cjs +7 -1
  4. package/dist/core/ll_client.cjs.map +1 -1
  5. package/dist/core/ll_client.d.ts.map +1 -1
  6. package/dist/core/ll_client.js +7 -1
  7. package/dist/core/ll_client.js.map +1 -1
  8. package/dist/core/ll_transaction.cjs +151 -26
  9. package/dist/core/ll_transaction.cjs.map +1 -1
  10. package/dist/core/ll_transaction.d.ts +1 -0
  11. package/dist/core/ll_transaction.d.ts.map +1 -1
  12. package/dist/core/ll_transaction.js +151 -26
  13. package/dist/core/ll_transaction.js.map +1 -1
  14. package/dist/core/transaction.cjs +89 -0
  15. package/dist/core/transaction.cjs.map +1 -1
  16. package/dist/core/transaction.d.ts +47 -1
  17. package/dist/core/transaction.d.ts.map +1 -1
  18. package/dist/core/transaction.js +90 -1
  19. package/dist/core/transaction.js.map +1 -1
  20. package/dist/core/tree_filter.cjs +106 -0
  21. package/dist/core/tree_filter.cjs.map +1 -0
  22. package/dist/core/tree_filter.d.ts +85 -0
  23. package/dist/core/tree_filter.d.ts.map +1 -0
  24. package/dist/core/tree_filter.js +106 -0
  25. package/dist/core/tree_filter.js.map +1 -0
  26. package/dist/core/type_conversion.cjs +1 -0
  27. package/dist/core/type_conversion.cjs.map +1 -1
  28. package/dist/core/type_conversion.js +1 -1
  29. package/dist/core/type_conversion.js.map +1 -1
  30. package/dist/index.cjs +5 -0
  31. package/dist/index.d.ts +4 -2
  32. package/dist/index.js +3 -1
  33. package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.cjs.map +1 -1
  34. package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.js.map +1 -1
  35. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.cjs +450 -4
  36. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.cjs.map +1 -1
  37. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +328 -2
  38. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +1 -1
  39. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.js +449 -5
  40. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.js.map +1 -1
  41. package/dist/proto-grpc/google/protobuf/timestamp.cjs.map +1 -1
  42. package/dist/proto-grpc/google/protobuf/timestamp.d.ts +9 -8
  43. package/dist/proto-grpc/google/protobuf/timestamp.d.ts.map +1 -1
  44. package/dist/proto-grpc/google/protobuf/timestamp.js.map +1 -1
  45. package/dist/proto-grpc/google/rpc/code.cjs.map +1 -1
  46. package/dist/proto-grpc/google/rpc/code.js.map +1 -1
  47. package/package.json +5 -5
  48. package/src/core/final.ts +1 -1
  49. package/src/core/ll_client.ts +11 -1
  50. package/src/core/ll_transaction.test.ts +13 -18
  51. package/src/core/ll_transaction.ts +237 -60
  52. package/src/core/transaction.test.ts +38 -0
  53. package/src/core/transaction.ts +136 -1
  54. package/src/core/tree_filter.test.ts +217 -0
  55. package/src/core/tree_filter.ts +182 -0
  56. package/src/core/type_conversion.ts +1 -1
  57. package/src/index.ts +1 -0
  58. package/src/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.ts +1 -1
  59. package/src/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.ts +604 -6
  60. package/src/proto-grpc/google/api/http.ts +1 -1
  61. package/src/proto-grpc/google/protobuf/descriptor.ts +242 -12
  62. package/src/proto-grpc/google/protobuf/timestamp.ts +9 -8
  63. package/src/proto-grpc/google/protobuf/wrappers.ts +38 -4
  64. package/src/proto-grpc/google/rpc/code.ts +1 -1
  65. package/src/proto-grpc/google/rpc/error_details.ts +5 -5
  66. package/src/proto-grpc/google/rpc/http.ts +1 -1
  67. package/src/proto-grpc/google/rpc/status.ts +1 -1
@@ -2,7 +2,7 @@
2
2
  // @generated from protobuf file "google/api/http.proto" (package "google.api", syntax proto3)
3
3
  // tslint:disable
4
4
  //
5
- // Copyright 2025 Google LLC
5
+ // Copyright 2026 Google LLC
6
6
  //
7
7
  // Licensed under the Apache License, Version 2.0 (the "License");
8
8
  // you may not use this file except in compliance with the License.
@@ -95,6 +95,13 @@ export interface FileDescriptorProto {
95
95
  * @generated from protobuf field: repeated int32 weak_dependency = 11
96
96
  */
97
97
  weakDependency: number[];
98
+ /**
99
+ * Names of files imported by this file purely for the purpose of providing
100
+ * option extensions. These are excluded from the dependency list above.
101
+ *
102
+ * @generated from protobuf field: repeated string option_dependency = 15
103
+ */
104
+ optionDependency: string[];
98
105
  /**
99
106
  * All top-level definitions in this file.
100
107
  *
@@ -131,12 +138,18 @@ export interface FileDescriptorProto {
131
138
  * The supported values are "proto2", "proto3", and "editions".
132
139
  *
133
140
  * If `edition` is present, this value must be "editions".
141
+ * WARNING: This field should only be used by protobuf plugins or special
142
+ * cases like the proto compiler. Other uses are discouraged and
143
+ * developers should rely on the protoreflect APIs for their client language.
134
144
  *
135
145
  * @generated from protobuf field: optional string syntax = 12
136
146
  */
137
147
  syntax?: string;
138
148
  /**
139
149
  * The edition of the proto file.
150
+ * WARNING: This field should only be used by protobuf plugins or special
151
+ * cases like the proto compiler. Other uses are discouraged and
152
+ * developers should rely on the protoreflect APIs for their client language.
140
153
  *
141
154
  * @generated from protobuf field: optional google.protobuf.Edition edition = 14
142
155
  */
@@ -191,6 +204,12 @@ export interface DescriptorProto {
191
204
  * @generated from protobuf field: repeated string reserved_name = 10
192
205
  */
193
206
  reservedName: string[];
207
+ /**
208
+ * Support for `export` and `local` keywords on enums.
209
+ *
210
+ * @generated from protobuf field: optional google.protobuf.SymbolVisibility visibility = 11
211
+ */
212
+ visibility?: SymbolVisibility;
194
213
  }
195
214
  /**
196
215
  * @generated from protobuf message google.protobuf.DescriptorProto.ExtensionRange
@@ -594,6 +613,12 @@ export interface EnumDescriptorProto {
594
613
  * @generated from protobuf field: repeated string reserved_name = 5
595
614
  */
596
615
  reservedName: string[];
616
+ /**
617
+ * Support for `export` and `local` keywords on enums.
618
+ *
619
+ * @generated from protobuf field: optional google.protobuf.SymbolVisibility visibility = 6
620
+ */
621
+ visibility?: SymbolVisibility;
597
622
  }
598
623
  /**
599
624
  * Range of reserved numeric values. Reserved values may not be used by
@@ -887,6 +912,9 @@ export interface FileOptions {
887
912
  rubyPackage?: string;
888
913
  /**
889
914
  * Any features defined in the specific edition.
915
+ * WARNING: This field should only be used by protobuf plugins or special
916
+ * cases like the proto compiler. Other uses are discouraged and
917
+ * developers should rely on the protoreflect APIs for their client language.
890
918
  *
891
919
  * @generated from protobuf field: optional google.protobuf.FeatureSet features = 50
892
920
  */
@@ -1018,6 +1046,9 @@ export interface MessageOptions {
1018
1046
  deprecatedLegacyJsonFieldConflicts?: boolean;
1019
1047
  /**
1020
1048
  * Any features defined in the specific edition.
1049
+ * WARNING: This field should only be used by protobuf plugins or special
1050
+ * cases like the proto compiler. Other uses are discouraged and
1051
+ * developers should rely on the protoreflect APIs for their client language.
1021
1052
  *
1022
1053
  * @generated from protobuf field: optional google.protobuf.FeatureSet features = 12
1023
1054
  */
@@ -1118,9 +1149,11 @@ export interface FieldOptions {
1118
1149
  */
1119
1150
  deprecated?: boolean;
1120
1151
  /**
1152
+ * DEPRECATED. DO NOT USE!
1121
1153
  * For Google-internal migration only. Do not use.
1122
1154
  *
1123
- * @generated from protobuf field: optional bool weak = 10 [default = false]
1155
+ * @deprecated
1156
+ * @generated from protobuf field: optional bool weak = 10 [default = false, deprecated = true]
1124
1157
  */
1125
1158
  weak?: boolean;
1126
1159
  /**
@@ -1144,6 +1177,9 @@ export interface FieldOptions {
1144
1177
  editionDefaults: FieldOptions_EditionDefault[];
1145
1178
  /**
1146
1179
  * Any features defined in the specific edition.
1180
+ * WARNING: This field should only be used by protobuf plugins or special
1181
+ * cases like the proto compiler. Other uses are discouraged and
1182
+ * developers should rely on the protoreflect APIs for their client language.
1147
1183
  *
1148
1184
  * @generated from protobuf field: optional google.protobuf.FeatureSet features = 21
1149
1185
  */
@@ -1208,6 +1244,13 @@ export interface FieldOptions_FeatureSupport {
1208
1244
  * @generated from protobuf field: optional google.protobuf.Edition edition_removed = 4
1209
1245
  */
1210
1246
  editionRemoved?: Edition;
1247
+ /**
1248
+ * The removal error text if this feature is used after the edition it was
1249
+ * removed in.
1250
+ *
1251
+ * @generated from protobuf field: optional string removal_error = 5
1252
+ */
1253
+ removalError?: string;
1211
1254
  }
1212
1255
  /**
1213
1256
  * @generated from protobuf enum google.protobuf.FieldOptions.CType
@@ -1260,8 +1303,6 @@ export enum FieldOptions_JSType {
1260
1303
  }
1261
1304
  /**
1262
1305
  * If set to RETENTION_SOURCE, the option will be omitted from the binary.
1263
- * Note: as of January 2023, support for this is in progress and does not yet
1264
- * have an effect (b/264593489).
1265
1306
  *
1266
1307
  * @generated from protobuf enum google.protobuf.FieldOptions.OptionRetention
1267
1308
  */
@@ -1282,8 +1323,7 @@ export enum FieldOptions_OptionRetention {
1282
1323
  /**
1283
1324
  * This indicates the types of entities that the field may apply to when used
1284
1325
  * as an option. If it is unset, then the field may be freely used as an
1285
- * option on any kind of entity. Note: as of January 2023, support for this is
1286
- * in progress and does not yet have an effect (b/264593489).
1326
+ * option on any kind of entity.
1287
1327
  *
1288
1328
  * @generated from protobuf enum google.protobuf.FieldOptions.OptionTargetType
1289
1329
  */
@@ -1335,6 +1375,9 @@ export enum FieldOptions_OptionTargetType {
1335
1375
  export interface OneofOptions {
1336
1376
  /**
1337
1377
  * Any features defined in the specific edition.
1378
+ * WARNING: This field should only be used by protobuf plugins or special
1379
+ * cases like the proto compiler. Other uses are discouraged and
1380
+ * developers should rely on the protoreflect APIs for their client language.
1338
1381
  *
1339
1382
  * @generated from protobuf field: optional google.protobuf.FeatureSet features = 1
1340
1383
  */
@@ -1380,6 +1423,9 @@ export interface EnumOptions {
1380
1423
  deprecatedLegacyJsonFieldConflicts?: boolean;
1381
1424
  /**
1382
1425
  * Any features defined in the specific edition.
1426
+ * WARNING: This field should only be used by protobuf plugins or special
1427
+ * cases like the proto compiler. Other uses are discouraged and
1428
+ * developers should rely on the protoreflect APIs for their client language.
1383
1429
  *
1384
1430
  * @generated from protobuf field: optional google.protobuf.FeatureSet features = 7
1385
1431
  */
@@ -1406,6 +1452,9 @@ export interface EnumValueOptions {
1406
1452
  deprecated?: boolean;
1407
1453
  /**
1408
1454
  * Any features defined in the specific edition.
1455
+ * WARNING: This field should only be used by protobuf plugins or special
1456
+ * cases like the proto compiler. Other uses are discouraged and
1457
+ * developers should rely on the protoreflect APIs for their client language.
1409
1458
  *
1410
1459
  * @generated from protobuf field: optional google.protobuf.FeatureSet features = 2
1411
1460
  */
@@ -1437,6 +1486,9 @@ export interface EnumValueOptions {
1437
1486
  export interface ServiceOptions {
1438
1487
  /**
1439
1488
  * Any features defined in the specific edition.
1489
+ * WARNING: This field should only be used by protobuf plugins or special
1490
+ * cases like the proto compiler. Other uses are discouraged and
1491
+ * developers should rely on the protoreflect APIs for their client language.
1440
1492
  *
1441
1493
  * @generated from protobuf field: optional google.protobuf.FeatureSet features = 34
1442
1494
  */
@@ -1486,6 +1538,9 @@ export interface MethodOptions {
1486
1538
  idempotencyLevel?: MethodOptions_IdempotencyLevel;
1487
1539
  /**
1488
1540
  * Any features defined in the specific edition.
1541
+ * WARNING: This field should only be used by protobuf plugins or special
1542
+ * cases like the proto compiler. Other uses are discouraged and
1543
+ * developers should rely on the protoreflect APIs for their client language.
1489
1544
  *
1490
1545
  * @generated from protobuf field: optional google.protobuf.FeatureSet features = 35
1491
1546
  */
@@ -1622,6 +1677,54 @@ export interface FeatureSet {
1622
1677
  * @generated from protobuf field: optional google.protobuf.FeatureSet.JsonFormat json_format = 6
1623
1678
  */
1624
1679
  jsonFormat?: FeatureSet_JsonFormat;
1680
+ /**
1681
+ * @generated from protobuf field: optional google.protobuf.FeatureSet.EnforceNamingStyle enforce_naming_style = 7
1682
+ */
1683
+ enforceNamingStyle?: FeatureSet_EnforceNamingStyle;
1684
+ /**
1685
+ * @generated from protobuf field: optional google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility default_symbol_visibility = 8
1686
+ */
1687
+ defaultSymbolVisibility?: FeatureSet_VisibilityFeature_DefaultSymbolVisibility;
1688
+ }
1689
+ /**
1690
+ * @generated from protobuf message google.protobuf.FeatureSet.VisibilityFeature
1691
+ */
1692
+ export interface FeatureSet_VisibilityFeature {
1693
+ }
1694
+ /**
1695
+ * @generated from protobuf enum google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility
1696
+ */
1697
+ export enum FeatureSet_VisibilityFeature_DefaultSymbolVisibility {
1698
+ /**
1699
+ * @generated from protobuf enum value: DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0;
1700
+ */
1701
+ DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0,
1702
+ /**
1703
+ * Default pre-EDITION_2024, all UNSET visibility are export.
1704
+ *
1705
+ * @generated from protobuf enum value: EXPORT_ALL = 1;
1706
+ */
1707
+ EXPORT_ALL = 1,
1708
+ /**
1709
+ * All top-level symbols default to export, nested default to local.
1710
+ *
1711
+ * @generated from protobuf enum value: EXPORT_TOP_LEVEL = 2;
1712
+ */
1713
+ EXPORT_TOP_LEVEL = 2,
1714
+ /**
1715
+ * All symbols default to local.
1716
+ *
1717
+ * @generated from protobuf enum value: LOCAL_ALL = 3;
1718
+ */
1719
+ LOCAL_ALL = 3,
1720
+ /**
1721
+ * All symbols local by default. Nested types cannot be exported.
1722
+ * With special case caveat for message { enum {} reserved 1 to max; }
1723
+ * This is the recommended setting for new protos.
1724
+ *
1725
+ * @generated from protobuf enum value: STRICT = 4;
1726
+ */
1727
+ STRICT = 4
1625
1728
  }
1626
1729
  /**
1627
1730
  * @generated from protobuf enum google.protobuf.FeatureSet.FieldPresence
@@ -1729,6 +1832,23 @@ export enum FeatureSet_JsonFormat {
1729
1832
  */
1730
1833
  LEGACY_BEST_EFFORT = 2
1731
1834
  }
1835
+ /**
1836
+ * @generated from protobuf enum google.protobuf.FeatureSet.EnforceNamingStyle
1837
+ */
1838
+ export enum FeatureSet_EnforceNamingStyle {
1839
+ /**
1840
+ * @generated from protobuf enum value: ENFORCE_NAMING_STYLE_UNKNOWN = 0;
1841
+ */
1842
+ ENFORCE_NAMING_STYLE_UNKNOWN = 0,
1843
+ /**
1844
+ * @generated from protobuf enum value: STYLE2024 = 1;
1845
+ */
1846
+ STYLE2024 = 1,
1847
+ /**
1848
+ * @generated from protobuf enum value: STYLE_LEGACY = 2;
1849
+ */
1850
+ STYLE_LEGACY = 2
1851
+ }
1732
1852
  /**
1733
1853
  * A compiled specification for the defaults of a set of features. These
1734
1854
  * messages are generated from FeatureSet extensions and can be used to seed
@@ -2068,9 +2188,15 @@ export enum Edition {
2068
2188
  * @generated from protobuf enum value: EDITION_2024 = 1001;
2069
2189
  */
2070
2190
  EDITION_2024 = 1001,
2191
+ /**
2192
+ * A placeholder edition for developing and testing unscheduled features.
2193
+ *
2194
+ * @generated from protobuf enum value: EDITION_UNSTABLE = 9999;
2195
+ */
2196
+ EDITION_UNSTABLE = 9999,
2071
2197
  /**
2072
2198
  * Placeholder editions for testing feature resolution. These should not be
2073
- * used or relyed on outside of tests.
2199
+ * used or relied on outside of tests.
2074
2200
  *
2075
2201
  * @generated from protobuf enum value: EDITION_1_TEST_ONLY = 1;
2076
2202
  */
@@ -2100,6 +2226,29 @@ export enum Edition {
2100
2226
  */
2101
2227
  EDITION_MAX = 2147483647
2102
2228
  }
2229
+ /**
2230
+ * Describes the 'visibility' of a symbol with respect to the proto import
2231
+ * system. Symbols can only be imported when the visibility rules do not prevent
2232
+ * it (ex: local symbols cannot be imported). Visibility modifiers can only set
2233
+ * on `message` and `enum` as they are the only types available to be referenced
2234
+ * from other files.
2235
+ *
2236
+ * @generated from protobuf enum google.protobuf.SymbolVisibility
2237
+ */
2238
+ export enum SymbolVisibility {
2239
+ /**
2240
+ * @generated from protobuf enum value: VISIBILITY_UNSET = 0;
2241
+ */
2242
+ VISIBILITY_UNSET = 0,
2243
+ /**
2244
+ * @generated from protobuf enum value: VISIBILITY_LOCAL = 1;
2245
+ */
2246
+ VISIBILITY_LOCAL = 1,
2247
+ /**
2248
+ * @generated from protobuf enum value: VISIBILITY_EXPORT = 2;
2249
+ */
2250
+ VISIBILITY_EXPORT = 2
2251
+ }
2103
2252
  // @generated message type with reflection information, may provide speed optimized methods
2104
2253
  class FileDescriptorSet$Type extends MessageType<FileDescriptorSet> {
2105
2254
  constructor() {
@@ -2156,6 +2305,7 @@ class FileDescriptorProto$Type extends MessageType<FileDescriptorProto> {
2156
2305
  { no: 3, name: "dependency", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
2157
2306
  { no: 10, name: "public_dependency", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 5 /*ScalarType.INT32*/ },
2158
2307
  { no: 11, name: "weak_dependency", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 5 /*ScalarType.INT32*/ },
2308
+ { no: 15, name: "option_dependency", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
2159
2309
  { no: 4, name: "message_type", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DescriptorProto },
2160
2310
  { no: 5, name: "enum_type", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EnumDescriptorProto },
2161
2311
  { no: 6, name: "service", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ServiceDescriptorProto },
@@ -2171,6 +2321,7 @@ class FileDescriptorProto$Type extends MessageType<FileDescriptorProto> {
2171
2321
  message.dependency = [];
2172
2322
  message.publicDependency = [];
2173
2323
  message.weakDependency = [];
2324
+ message.optionDependency = [];
2174
2325
  message.messageType = [];
2175
2326
  message.enumType = [];
2176
2327
  message.service = [];
@@ -2207,6 +2358,9 @@ class FileDescriptorProto$Type extends MessageType<FileDescriptorProto> {
2207
2358
  else
2208
2359
  message.weakDependency.push(reader.int32());
2209
2360
  break;
2361
+ case /* repeated string option_dependency */ 15:
2362
+ message.optionDependency.push(reader.string());
2363
+ break;
2210
2364
  case /* repeated google.protobuf.DescriptorProto message_type */ 4:
2211
2365
  message.messageType.push(DescriptorProto.internalBinaryRead(reader, reader.uint32(), options));
2212
2366
  break;
@@ -2282,6 +2436,9 @@ class FileDescriptorProto$Type extends MessageType<FileDescriptorProto> {
2282
2436
  /* optional google.protobuf.Edition edition = 14; */
2283
2437
  if (message.edition !== undefined)
2284
2438
  writer.tag(14, WireType.Varint).int32(message.edition);
2439
+ /* repeated string option_dependency = 15; */
2440
+ for (let i = 0; i < message.optionDependency.length; i++)
2441
+ writer.tag(15, WireType.LengthDelimited).string(message.optionDependency[i]);
2285
2442
  let u = options.writeUnknownFields;
2286
2443
  if (u !== false)
2287
2444
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -2305,7 +2462,8 @@ class DescriptorProto$Type extends MessageType<DescriptorProto> {
2305
2462
  { no: 8, name: "oneof_decl", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => OneofDescriptorProto },
2306
2463
  { no: 7, name: "options", kind: "message", T: () => MessageOptions },
2307
2464
  { no: 9, name: "reserved_range", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DescriptorProto_ReservedRange },
2308
- { no: 10, name: "reserved_name", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
2465
+ { no: 10, name: "reserved_name", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
2466
+ { no: 11, name: "visibility", kind: "enum", opt: true, T: () => ["google.protobuf.SymbolVisibility", SymbolVisibility] }
2309
2467
  ]);
2310
2468
  }
2311
2469
  create(value?: PartialMessage<DescriptorProto>): DescriptorProto {
@@ -2357,6 +2515,9 @@ class DescriptorProto$Type extends MessageType<DescriptorProto> {
2357
2515
  case /* repeated string reserved_name */ 10:
2358
2516
  message.reservedName.push(reader.string());
2359
2517
  break;
2518
+ case /* optional google.protobuf.SymbolVisibility visibility */ 11:
2519
+ message.visibility = reader.int32();
2520
+ break;
2360
2521
  default:
2361
2522
  let u = options.readUnknownField;
2362
2523
  if (u === "throw")
@@ -2399,6 +2560,9 @@ class DescriptorProto$Type extends MessageType<DescriptorProto> {
2399
2560
  /* repeated string reserved_name = 10; */
2400
2561
  for (let i = 0; i < message.reservedName.length; i++)
2401
2562
  writer.tag(10, WireType.LengthDelimited).string(message.reservedName[i]);
2563
+ /* optional google.protobuf.SymbolVisibility visibility = 11; */
2564
+ if (message.visibility !== undefined)
2565
+ writer.tag(11, WireType.Varint).int32(message.visibility);
2402
2566
  let u = options.writeUnknownFields;
2403
2567
  if (u !== false)
2404
2568
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -2842,7 +3006,8 @@ class EnumDescriptorProto$Type extends MessageType<EnumDescriptorProto> {
2842
3006
  { no: 2, name: "value", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EnumValueDescriptorProto },
2843
3007
  { no: 3, name: "options", kind: "message", T: () => EnumOptions },
2844
3008
  { no: 4, name: "reserved_range", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EnumDescriptorProto_EnumReservedRange },
2845
- { no: 5, name: "reserved_name", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
3009
+ { no: 5, name: "reserved_name", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
3010
+ { no: 6, name: "visibility", kind: "enum", opt: true, T: () => ["google.protobuf.SymbolVisibility", SymbolVisibility] }
2846
3011
  ]);
2847
3012
  }
2848
3013
  create(value?: PartialMessage<EnumDescriptorProto>): EnumDescriptorProto {
@@ -2874,6 +3039,9 @@ class EnumDescriptorProto$Type extends MessageType<EnumDescriptorProto> {
2874
3039
  case /* repeated string reserved_name */ 5:
2875
3040
  message.reservedName.push(reader.string());
2876
3041
  break;
3042
+ case /* optional google.protobuf.SymbolVisibility visibility */ 6:
3043
+ message.visibility = reader.int32();
3044
+ break;
2877
3045
  default:
2878
3046
  let u = options.readUnknownField;
2879
3047
  if (u === "throw")
@@ -2901,6 +3069,9 @@ class EnumDescriptorProto$Type extends MessageType<EnumDescriptorProto> {
2901
3069
  /* repeated string reserved_name = 5; */
2902
3070
  for (let i = 0; i < message.reservedName.length; i++)
2903
3071
  writer.tag(5, WireType.LengthDelimited).string(message.reservedName[i]);
3072
+ /* optional google.protobuf.SymbolVisibility visibility = 6; */
3073
+ if (message.visibility !== undefined)
3074
+ writer.tag(6, WireType.Varint).int32(message.visibility);
2904
3075
  let u = options.writeUnknownFields;
2905
3076
  if (u !== false)
2906
3077
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -3494,7 +3665,7 @@ class FieldOptions$Type extends MessageType<FieldOptions> {
3494
3665
  case /* optional bool deprecated = 3 [default = false] */ 3:
3495
3666
  message.deprecated = reader.bool();
3496
3667
  break;
3497
- case /* optional bool weak = 10 [default = false] */ 10:
3668
+ case /* optional bool weak = 10 [default = false, deprecated = true] */ 10:
3498
3669
  message.weak = reader.bool();
3499
3670
  break;
3500
3671
  case /* optional bool debug_redact = 16 [default = false] */ 16:
@@ -3549,7 +3720,7 @@ class FieldOptions$Type extends MessageType<FieldOptions> {
3549
3720
  /* optional google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL]; */
3550
3721
  if (message.jstype !== undefined)
3551
3722
  writer.tag(6, WireType.Varint).int32(message.jstype);
3552
- /* optional bool weak = 10 [default = false]; */
3723
+ /* optional bool weak = 10 [default = false, deprecated = true]; */
3553
3724
  if (message.weak !== undefined)
3554
3725
  writer.tag(10, WireType.Varint).bool(message.weak);
3555
3726
  /* optional bool unverified_lazy = 15 [default = false]; */
@@ -3646,7 +3817,8 @@ class FieldOptions_FeatureSupport$Type extends MessageType<FieldOptions_FeatureS
3646
3817
  { no: 1, name: "edition_introduced", kind: "enum", opt: true, T: () => ["google.protobuf.Edition", Edition] },
3647
3818
  { no: 2, name: "edition_deprecated", kind: "enum", opt: true, T: () => ["google.protobuf.Edition", Edition] },
3648
3819
  { no: 3, name: "deprecation_warning", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
3649
- { no: 4, name: "edition_removed", kind: "enum", opt: true, T: () => ["google.protobuf.Edition", Edition] }
3820
+ { no: 4, name: "edition_removed", kind: "enum", opt: true, T: () => ["google.protobuf.Edition", Edition] },
3821
+ { no: 5, name: "removal_error", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
3650
3822
  ]);
3651
3823
  }
3652
3824
  create(value?: PartialMessage<FieldOptions_FeatureSupport>): FieldOptions_FeatureSupport {
@@ -3672,6 +3844,9 @@ class FieldOptions_FeatureSupport$Type extends MessageType<FieldOptions_FeatureS
3672
3844
  case /* optional google.protobuf.Edition edition_removed */ 4:
3673
3845
  message.editionRemoved = reader.int32();
3674
3846
  break;
3847
+ case /* optional string removal_error */ 5:
3848
+ message.removalError = reader.string();
3849
+ break;
3675
3850
  default:
3676
3851
  let u = options.readUnknownField;
3677
3852
  if (u === "throw")
@@ -3696,6 +3871,9 @@ class FieldOptions_FeatureSupport$Type extends MessageType<FieldOptions_FeatureS
3696
3871
  /* optional google.protobuf.Edition edition_removed = 4; */
3697
3872
  if (message.editionRemoved !== undefined)
3698
3873
  writer.tag(4, WireType.Varint).int32(message.editionRemoved);
3874
+ /* optional string removal_error = 5; */
3875
+ if (message.removalError !== undefined)
3876
+ writer.tag(5, WireType.LengthDelimited).string(message.removalError);
3699
3877
  let u = options.writeUnknownFields;
3700
3878
  if (u !== false)
3701
3879
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -4192,7 +4370,9 @@ class FeatureSet$Type extends MessageType<FeatureSet> {
4192
4370
  { no: 3, name: "repeated_field_encoding", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.RepeatedFieldEncoding", FeatureSet_RepeatedFieldEncoding] },
4193
4371
  { no: 4, name: "utf8_validation", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.Utf8Validation", FeatureSet_Utf8Validation] },
4194
4372
  { no: 5, name: "message_encoding", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.MessageEncoding", FeatureSet_MessageEncoding] },
4195
- { no: 6, name: "json_format", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.JsonFormat", FeatureSet_JsonFormat] }
4373
+ { no: 6, name: "json_format", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.JsonFormat", FeatureSet_JsonFormat] },
4374
+ { no: 7, name: "enforce_naming_style", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.EnforceNamingStyle", FeatureSet_EnforceNamingStyle] },
4375
+ { no: 8, name: "default_symbol_visibility", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility", FeatureSet_VisibilityFeature_DefaultSymbolVisibility] }
4196
4376
  ]);
4197
4377
  }
4198
4378
  create(value?: PartialMessage<FeatureSet>): FeatureSet {
@@ -4224,6 +4404,12 @@ class FeatureSet$Type extends MessageType<FeatureSet> {
4224
4404
  case /* optional google.protobuf.FeatureSet.JsonFormat json_format */ 6:
4225
4405
  message.jsonFormat = reader.int32();
4226
4406
  break;
4407
+ case /* optional google.protobuf.FeatureSet.EnforceNamingStyle enforce_naming_style */ 7:
4408
+ message.enforceNamingStyle = reader.int32();
4409
+ break;
4410
+ case /* optional google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility default_symbol_visibility */ 8:
4411
+ message.defaultSymbolVisibility = reader.int32();
4412
+ break;
4227
4413
  default:
4228
4414
  let u = options.readUnknownField;
4229
4415
  if (u === "throw")
@@ -4254,6 +4440,12 @@ class FeatureSet$Type extends MessageType<FeatureSet> {
4254
4440
  /* optional google.protobuf.FeatureSet.JsonFormat json_format = 6; */
4255
4441
  if (message.jsonFormat !== undefined)
4256
4442
  writer.tag(6, WireType.Varint).int32(message.jsonFormat);
4443
+ /* optional google.protobuf.FeatureSet.EnforceNamingStyle enforce_naming_style = 7; */
4444
+ if (message.enforceNamingStyle !== undefined)
4445
+ writer.tag(7, WireType.Varint).int32(message.enforceNamingStyle);
4446
+ /* optional google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility default_symbol_visibility = 8; */
4447
+ if (message.defaultSymbolVisibility !== undefined)
4448
+ writer.tag(8, WireType.Varint).int32(message.defaultSymbolVisibility);
4257
4449
  let u = options.writeUnknownFields;
4258
4450
  if (u !== false)
4259
4451
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -4265,6 +4457,44 @@ class FeatureSet$Type extends MessageType<FeatureSet> {
4265
4457
  */
4266
4458
  export const FeatureSet = new FeatureSet$Type();
4267
4459
  // @generated message type with reflection information, may provide speed optimized methods
4460
+ class FeatureSet_VisibilityFeature$Type extends MessageType<FeatureSet_VisibilityFeature> {
4461
+ constructor() {
4462
+ super("google.protobuf.FeatureSet.VisibilityFeature", []);
4463
+ }
4464
+ create(value?: PartialMessage<FeatureSet_VisibilityFeature>): FeatureSet_VisibilityFeature {
4465
+ const message = globalThis.Object.create((this.messagePrototype!));
4466
+ if (value !== undefined)
4467
+ reflectionMergePartial<FeatureSet_VisibilityFeature>(this, message, value);
4468
+ return message;
4469
+ }
4470
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FeatureSet_VisibilityFeature): FeatureSet_VisibilityFeature {
4471
+ let message = target ?? this.create(), end = reader.pos + length;
4472
+ while (reader.pos < end) {
4473
+ let [fieldNo, wireType] = reader.tag();
4474
+ switch (fieldNo) {
4475
+ default:
4476
+ let u = options.readUnknownField;
4477
+ if (u === "throw")
4478
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
4479
+ let d = reader.skip(wireType);
4480
+ if (u !== false)
4481
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
4482
+ }
4483
+ }
4484
+ return message;
4485
+ }
4486
+ internalBinaryWrite(message: FeatureSet_VisibilityFeature, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
4487
+ let u = options.writeUnknownFields;
4488
+ if (u !== false)
4489
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
4490
+ return writer;
4491
+ }
4492
+ }
4493
+ /**
4494
+ * @generated MessageType for protobuf message google.protobuf.FeatureSet.VisibilityFeature
4495
+ */
4496
+ export const FeatureSet_VisibilityFeature = new FeatureSet_VisibilityFeature$Type();
4497
+ // @generated message type with reflection information, may provide speed optimized methods
4268
4498
  class FeatureSetDefaults$Type extends MessageType<FeatureSetDefaults> {
4269
4499
  constructor() {
4270
4500
  super("google.protobuf.FeatureSetDefaults", [
@@ -119,8 +119,8 @@ import { MessageType } from "@protobuf-ts/runtime";
119
119
  * {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
120
120
  * seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
121
121
  * are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
122
- * is required. A proto3 JSON serializer should always use UTC (as indicated by
123
- * "Z") when printing the Timestamp type and a proto3 JSON parser should be
122
+ * is required. A ProtoJSON serializer should always use UTC (as indicated by
123
+ * "Z") when printing the Timestamp type and a ProtoJSON parser should be
124
124
  * able to accept both UTC and other timezones (as indicated by an offset).
125
125
  *
126
126
  * For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
@@ -142,17 +142,18 @@ import { MessageType } from "@protobuf-ts/runtime";
142
142
  */
143
143
  export interface Timestamp {
144
144
  /**
145
- * Represents seconds of UTC time since Unix epoch
146
- * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
147
- * 9999-12-31T23:59:59Z inclusive.
145
+ * Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must
146
+ * be between -62135596800 and 253402300799 inclusive (which corresponds to
147
+ * 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z).
148
148
  *
149
149
  * @generated from protobuf field: int64 seconds = 1
150
150
  */
151
151
  seconds: bigint;
152
152
  /**
153
- * Non-negative fractions of a second at nanosecond resolution. Negative
154
- * second values with fractions must still have non-negative nanos values
155
- * that count forward in time. Must be from 0 to 999,999,999
153
+ * Non-negative fractions of a second at nanosecond resolution. This field is
154
+ * the nanosecond portion of the duration, not an alternative to seconds.
155
+ * Negative second values with fractions must still have non-negative nanos
156
+ * values that count forward in time. Must be between 0 and 999,999,999
156
157
  * inclusive.
157
158
  *
158
159
  * @generated from protobuf field: int32 nanos = 2