@milaboratories/pl-client 3.7.0 → 3.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/dist/core/capabilities.cjs +9 -0
  2. package/dist/core/capabilities.cjs.map +1 -0
  3. package/dist/core/capabilities.d.ts +24 -0
  4. package/dist/core/capabilities.d.ts.map +1 -0
  5. package/dist/core/capabilities.js +9 -0
  6. package/dist/core/capabilities.js.map +1 -0
  7. package/dist/core/client.cjs +7 -25
  8. package/dist/core/client.cjs.map +1 -1
  9. package/dist/core/client.d.ts +2 -3
  10. package/dist/core/client.d.ts.map +1 -1
  11. package/dist/core/client.js +7 -25
  12. package/dist/core/client.js.map +1 -1
  13. package/dist/core/ll_client.cjs +153 -7
  14. package/dist/core/ll_client.cjs.map +1 -1
  15. package/dist/core/ll_client.d.ts +26 -0
  16. package/dist/core/ll_client.d.ts.map +1 -1
  17. package/dist/core/ll_client.js +153 -7
  18. package/dist/core/ll_client.js.map +1 -1
  19. package/dist/core/transaction.cjs +4 -2
  20. package/dist/core/transaction.cjs.map +1 -1
  21. package/dist/core/transaction.d.ts.map +1 -1
  22. package/dist/core/transaction.js +4 -2
  23. package/dist/core/transaction.js.map +1 -1
  24. package/dist/core/unauth_client.cjs +33 -1
  25. package/dist/core/unauth_client.cjs.map +1 -1
  26. package/dist/core/unauth_client.d.ts +19 -0
  27. package/dist/core/unauth_client.d.ts.map +1 -1
  28. package/dist/core/unauth_client.js +33 -1
  29. package/dist/core/unauth_client.js.map +1 -1
  30. package/dist/index.cjs +2 -0
  31. package/dist/index.d.ts +2 -1
  32. package/dist/index.js +2 -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 +1101 -135
  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.client.cjs +49 -10
  38. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.cjs.map +1 -1
  39. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts +61 -1
  40. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts.map +1 -1
  41. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.js +49 -10
  42. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.js.map +1 -1
  43. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +414 -12
  44. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +1 -1
  45. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.js +1101 -135
  46. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.js.map +1 -1
  47. package/dist/proto-grpc/google/protobuf/timestamp.cjs.map +1 -1
  48. package/dist/proto-grpc/google/protobuf/timestamp.d.ts +8 -9
  49. package/dist/proto-grpc/google/protobuf/timestamp.d.ts.map +1 -1
  50. package/dist/proto-grpc/google/protobuf/timestamp.js.map +1 -1
  51. package/dist/proto-grpc/google/rpc/code.cjs.map +1 -1
  52. package/dist/proto-grpc/google/rpc/code.js.map +1 -1
  53. package/dist/proto-rest/plapi.d.ts +247 -12
  54. package/dist/proto-rest/plapi.d.ts.map +1 -1
  55. package/dist/util/pl.cjs.map +1 -1
  56. package/dist/util/pl.js.map +1 -1
  57. package/package.json +4 -4
  58. package/src/core/capabilities.ts +26 -0
  59. package/src/core/client.ts +11 -29
  60. package/src/core/ll_client.test.ts +16 -3
  61. package/src/core/ll_client.ts +187 -8
  62. package/src/core/ll_transaction.test.ts +15 -9
  63. package/src/core/transaction.ts +2 -0
  64. package/src/core/unauth_client.ts +42 -3
  65. package/src/core/unauth_client_branch.test.ts +69 -0
  66. package/src/index.ts +1 -0
  67. package/src/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.ts +1 -1
  68. package/src/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.client.ts +85 -10
  69. package/src/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.ts +1313 -101
  70. package/src/proto-grpc/google/api/http.ts +1 -1
  71. package/src/proto-grpc/google/protobuf/descriptor.ts +7 -240
  72. package/src/proto-grpc/google/protobuf/timestamp.ts +8 -9
  73. package/src/proto-grpc/google/protobuf/wrappers.ts +4 -38
  74. package/src/proto-grpc/google/rpc/code.ts +1 -1
  75. package/src/proto-grpc/google/rpc/error_details.ts +5 -5
  76. package/src/proto-grpc/google/rpc/http.ts +1 -1
  77. package/src/proto-grpc/google/rpc/status.ts +1 -1
  78. package/src/proto-rest/plapi.ts +263 -12
  79. package/src/util/pl.ts +5 -0
@@ -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 2026 Google LLC
5
+ // Copyright 2025 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,13 +95,6 @@ export interface FileDescriptorProto {
95
95
  * @generated from protobuf field: repeated int32 weak_dependency = 11
96
96
  */
97
97
  weakDependency: number[];
98
- /**
99
- * Names of files imported by this file purely for the purpose of providing
100
- * option extensions. These are excluded from the dependency list above.
101
- *
102
- * @generated from protobuf field: repeated string option_dependency = 15
103
- */
104
- optionDependency: string[];
105
98
  /**
106
99
  * All top-level definitions in this file.
107
100
  *
@@ -138,18 +131,12 @@ export interface FileDescriptorProto {
138
131
  * The supported values are "proto2", "proto3", and "editions".
139
132
  *
140
133
  * 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.
144
134
  *
145
135
  * @generated from protobuf field: optional string syntax = 12
146
136
  */
147
137
  syntax?: string;
148
138
  /**
149
139
  * The edition of the proto file.
150
- * WARNING: This field should only be used by protobuf plugins or special
151
- * cases like the proto compiler. Other uses are discouraged and
152
- * developers should rely on the protoreflect APIs for their client language.
153
140
  *
154
141
  * @generated from protobuf field: optional google.protobuf.Edition edition = 14
155
142
  */
@@ -204,12 +191,6 @@ export interface DescriptorProto {
204
191
  * @generated from protobuf field: repeated string reserved_name = 10
205
192
  */
206
193
  reservedName: string[];
207
- /**
208
- * Support for `export` and `local` keywords on enums.
209
- *
210
- * @generated from protobuf field: optional google.protobuf.SymbolVisibility visibility = 11
211
- */
212
- visibility?: SymbolVisibility;
213
194
  }
214
195
  /**
215
196
  * @generated from protobuf message google.protobuf.DescriptorProto.ExtensionRange
@@ -613,12 +594,6 @@ export interface EnumDescriptorProto {
613
594
  * @generated from protobuf field: repeated string reserved_name = 5
614
595
  */
615
596
  reservedName: string[];
616
- /**
617
- * Support for `export` and `local` keywords on enums.
618
- *
619
- * @generated from protobuf field: optional google.protobuf.SymbolVisibility visibility = 6
620
- */
621
- visibility?: SymbolVisibility;
622
597
  }
623
598
  /**
624
599
  * Range of reserved numeric values. Reserved values may not be used by
@@ -912,9 +887,6 @@ export interface FileOptions {
912
887
  rubyPackage?: string;
913
888
  /**
914
889
  * Any features defined in the specific edition.
915
- * WARNING: This field should only be used by protobuf plugins or special
916
- * cases like the proto compiler. Other uses are discouraged and
917
- * developers should rely on the protoreflect APIs for their client language.
918
890
  *
919
891
  * @generated from protobuf field: optional google.protobuf.FeatureSet features = 50
920
892
  */
@@ -1046,9 +1018,6 @@ export interface MessageOptions {
1046
1018
  deprecatedLegacyJsonFieldConflicts?: boolean;
1047
1019
  /**
1048
1020
  * Any features defined in the specific edition.
1049
- * WARNING: This field should only be used by protobuf plugins or special
1050
- * cases like the proto compiler. Other uses are discouraged and
1051
- * developers should rely on the protoreflect APIs for their client language.
1052
1021
  *
1053
1022
  * @generated from protobuf field: optional google.protobuf.FeatureSet features = 12
1054
1023
  */
@@ -1149,11 +1118,9 @@ export interface FieldOptions {
1149
1118
  */
1150
1119
  deprecated?: boolean;
1151
1120
  /**
1152
- * DEPRECATED. DO NOT USE!
1153
1121
  * For Google-internal migration only. Do not use.
1154
1122
  *
1155
- * @deprecated
1156
- * @generated from protobuf field: optional bool weak = 10 [default = false, deprecated = true]
1123
+ * @generated from protobuf field: optional bool weak = 10 [default = false]
1157
1124
  */
1158
1125
  weak?: boolean;
1159
1126
  /**
@@ -1177,9 +1144,6 @@ export interface FieldOptions {
1177
1144
  editionDefaults: FieldOptions_EditionDefault[];
1178
1145
  /**
1179
1146
  * Any features defined in the specific edition.
1180
- * WARNING: This field should only be used by protobuf plugins or special
1181
- * cases like the proto compiler. Other uses are discouraged and
1182
- * developers should rely on the protoreflect APIs for their client language.
1183
1147
  *
1184
1148
  * @generated from protobuf field: optional google.protobuf.FeatureSet features = 21
1185
1149
  */
@@ -1244,13 +1208,6 @@ export interface FieldOptions_FeatureSupport {
1244
1208
  * @generated from protobuf field: optional google.protobuf.Edition edition_removed = 4
1245
1209
  */
1246
1210
  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;
1254
1211
  }
1255
1212
  /**
1256
1213
  * @generated from protobuf enum google.protobuf.FieldOptions.CType
@@ -1375,9 +1332,6 @@ export enum FieldOptions_OptionTargetType {
1375
1332
  export interface OneofOptions {
1376
1333
  /**
1377
1334
  * 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.
1381
1335
  *
1382
1336
  * @generated from protobuf field: optional google.protobuf.FeatureSet features = 1
1383
1337
  */
@@ -1423,9 +1377,6 @@ export interface EnumOptions {
1423
1377
  deprecatedLegacyJsonFieldConflicts?: boolean;
1424
1378
  /**
1425
1379
  * 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.
1429
1380
  *
1430
1381
  * @generated from protobuf field: optional google.protobuf.FeatureSet features = 7
1431
1382
  */
@@ -1452,9 +1403,6 @@ export interface EnumValueOptions {
1452
1403
  deprecated?: boolean;
1453
1404
  /**
1454
1405
  * 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.
1458
1406
  *
1459
1407
  * @generated from protobuf field: optional google.protobuf.FeatureSet features = 2
1460
1408
  */
@@ -1486,9 +1434,6 @@ export interface EnumValueOptions {
1486
1434
  export interface ServiceOptions {
1487
1435
  /**
1488
1436
  * 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.
1492
1437
  *
1493
1438
  * @generated from protobuf field: optional google.protobuf.FeatureSet features = 34
1494
1439
  */
@@ -1538,9 +1483,6 @@ export interface MethodOptions {
1538
1483
  idempotencyLevel?: MethodOptions_IdempotencyLevel;
1539
1484
  /**
1540
1485
  * 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.
1544
1486
  *
1545
1487
  * @generated from protobuf field: optional google.protobuf.FeatureSet features = 35
1546
1488
  */
@@ -1677,54 +1619,6 @@ export interface FeatureSet {
1677
1619
  * @generated from protobuf field: optional google.protobuf.FeatureSet.JsonFormat json_format = 6
1678
1620
  */
1679
1621
  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
1728
1622
  }
1729
1623
  /**
1730
1624
  * @generated from protobuf enum google.protobuf.FeatureSet.FieldPresence
@@ -1832,23 +1726,6 @@ export enum FeatureSet_JsonFormat {
1832
1726
  */
1833
1727
  LEGACY_BEST_EFFORT = 2
1834
1728
  }
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
- }
1852
1729
  /**
1853
1730
  * A compiled specification for the defaults of a set of features. These
1854
1731
  * messages are generated from FeatureSet extensions and can be used to seed
@@ -2188,12 +2065,6 @@ export enum Edition {
2188
2065
  * @generated from protobuf enum value: EDITION_2024 = 1001;
2189
2066
  */
2190
2067
  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,
2197
2068
  /**
2198
2069
  * Placeholder editions for testing feature resolution. These should not be
2199
2070
  * used or relied on outside of tests.
@@ -2226,29 +2097,6 @@ export enum Edition {
2226
2097
  */
2227
2098
  EDITION_MAX = 2147483647
2228
2099
  }
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
- }
2252
2100
  // @generated message type with reflection information, may provide speed optimized methods
2253
2101
  class FileDescriptorSet$Type extends MessageType<FileDescriptorSet> {
2254
2102
  constructor() {
@@ -2305,7 +2153,6 @@ class FileDescriptorProto$Type extends MessageType<FileDescriptorProto> {
2305
2153
  { no: 3, name: "dependency", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
2306
2154
  { no: 10, name: "public_dependency", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 5 /*ScalarType.INT32*/ },
2307
2155
  { 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*/ },
2309
2156
  { no: 4, name: "message_type", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DescriptorProto },
2310
2157
  { no: 5, name: "enum_type", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EnumDescriptorProto },
2311
2158
  { no: 6, name: "service", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ServiceDescriptorProto },
@@ -2321,7 +2168,6 @@ class FileDescriptorProto$Type extends MessageType<FileDescriptorProto> {
2321
2168
  message.dependency = [];
2322
2169
  message.publicDependency = [];
2323
2170
  message.weakDependency = [];
2324
- message.optionDependency = [];
2325
2171
  message.messageType = [];
2326
2172
  message.enumType = [];
2327
2173
  message.service = [];
@@ -2358,9 +2204,6 @@ class FileDescriptorProto$Type extends MessageType<FileDescriptorProto> {
2358
2204
  else
2359
2205
  message.weakDependency.push(reader.int32());
2360
2206
  break;
2361
- case /* repeated string option_dependency */ 15:
2362
- message.optionDependency.push(reader.string());
2363
- break;
2364
2207
  case /* repeated google.protobuf.DescriptorProto message_type */ 4:
2365
2208
  message.messageType.push(DescriptorProto.internalBinaryRead(reader, reader.uint32(), options));
2366
2209
  break;
@@ -2436,9 +2279,6 @@ class FileDescriptorProto$Type extends MessageType<FileDescriptorProto> {
2436
2279
  /* optional google.protobuf.Edition edition = 14; */
2437
2280
  if (message.edition !== undefined)
2438
2281
  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]);
2442
2282
  let u = options.writeUnknownFields;
2443
2283
  if (u !== false)
2444
2284
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -2462,8 +2302,7 @@ class DescriptorProto$Type extends MessageType<DescriptorProto> {
2462
2302
  { no: 8, name: "oneof_decl", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => OneofDescriptorProto },
2463
2303
  { no: 7, name: "options", kind: "message", T: () => MessageOptions },
2464
2304
  { no: 9, name: "reserved_range", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DescriptorProto_ReservedRange },
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] }
2305
+ { no: 10, name: "reserved_name", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
2467
2306
  ]);
2468
2307
  }
2469
2308
  create(value?: PartialMessage<DescriptorProto>): DescriptorProto {
@@ -2515,9 +2354,6 @@ class DescriptorProto$Type extends MessageType<DescriptorProto> {
2515
2354
  case /* repeated string reserved_name */ 10:
2516
2355
  message.reservedName.push(reader.string());
2517
2356
  break;
2518
- case /* optional google.protobuf.SymbolVisibility visibility */ 11:
2519
- message.visibility = reader.int32();
2520
- break;
2521
2357
  default:
2522
2358
  let u = options.readUnknownField;
2523
2359
  if (u === "throw")
@@ -2560,9 +2396,6 @@ class DescriptorProto$Type extends MessageType<DescriptorProto> {
2560
2396
  /* repeated string reserved_name = 10; */
2561
2397
  for (let i = 0; i < message.reservedName.length; i++)
2562
2398
  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);
2566
2399
  let u = options.writeUnknownFields;
2567
2400
  if (u !== false)
2568
2401
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -3006,8 +2839,7 @@ class EnumDescriptorProto$Type extends MessageType<EnumDescriptorProto> {
3006
2839
  { no: 2, name: "value", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EnumValueDescriptorProto },
3007
2840
  { no: 3, name: "options", kind: "message", T: () => EnumOptions },
3008
2841
  { no: 4, name: "reserved_range", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EnumDescriptorProto_EnumReservedRange },
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] }
2842
+ { no: 5, name: "reserved_name", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
3011
2843
  ]);
3012
2844
  }
3013
2845
  create(value?: PartialMessage<EnumDescriptorProto>): EnumDescriptorProto {
@@ -3039,9 +2871,6 @@ class EnumDescriptorProto$Type extends MessageType<EnumDescriptorProto> {
3039
2871
  case /* repeated string reserved_name */ 5:
3040
2872
  message.reservedName.push(reader.string());
3041
2873
  break;
3042
- case /* optional google.protobuf.SymbolVisibility visibility */ 6:
3043
- message.visibility = reader.int32();
3044
- break;
3045
2874
  default:
3046
2875
  let u = options.readUnknownField;
3047
2876
  if (u === "throw")
@@ -3069,9 +2898,6 @@ class EnumDescriptorProto$Type extends MessageType<EnumDescriptorProto> {
3069
2898
  /* repeated string reserved_name = 5; */
3070
2899
  for (let i = 0; i < message.reservedName.length; i++)
3071
2900
  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);
3075
2901
  let u = options.writeUnknownFields;
3076
2902
  if (u !== false)
3077
2903
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -3665,7 +3491,7 @@ class FieldOptions$Type extends MessageType<FieldOptions> {
3665
3491
  case /* optional bool deprecated = 3 [default = false] */ 3:
3666
3492
  message.deprecated = reader.bool();
3667
3493
  break;
3668
- case /* optional bool weak = 10 [default = false, deprecated = true] */ 10:
3494
+ case /* optional bool weak = 10 [default = false] */ 10:
3669
3495
  message.weak = reader.bool();
3670
3496
  break;
3671
3497
  case /* optional bool debug_redact = 16 [default = false] */ 16:
@@ -3720,7 +3546,7 @@ class FieldOptions$Type extends MessageType<FieldOptions> {
3720
3546
  /* optional google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL]; */
3721
3547
  if (message.jstype !== undefined)
3722
3548
  writer.tag(6, WireType.Varint).int32(message.jstype);
3723
- /* optional bool weak = 10 [default = false, deprecated = true]; */
3549
+ /* optional bool weak = 10 [default = false]; */
3724
3550
  if (message.weak !== undefined)
3725
3551
  writer.tag(10, WireType.Varint).bool(message.weak);
3726
3552
  /* optional bool unverified_lazy = 15 [default = false]; */
@@ -3817,8 +3643,7 @@ class FieldOptions_FeatureSupport$Type extends MessageType<FieldOptions_FeatureS
3817
3643
  { no: 1, name: "edition_introduced", kind: "enum", opt: true, T: () => ["google.protobuf.Edition", Edition] },
3818
3644
  { no: 2, name: "edition_deprecated", kind: "enum", opt: true, T: () => ["google.protobuf.Edition", Edition] },
3819
3645
  { no: 3, name: "deprecation_warning", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
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*/ }
3646
+ { no: 4, name: "edition_removed", kind: "enum", opt: true, T: () => ["google.protobuf.Edition", Edition] }
3822
3647
  ]);
3823
3648
  }
3824
3649
  create(value?: PartialMessage<FieldOptions_FeatureSupport>): FieldOptions_FeatureSupport {
@@ -3844,9 +3669,6 @@ class FieldOptions_FeatureSupport$Type extends MessageType<FieldOptions_FeatureS
3844
3669
  case /* optional google.protobuf.Edition edition_removed */ 4:
3845
3670
  message.editionRemoved = reader.int32();
3846
3671
  break;
3847
- case /* optional string removal_error */ 5:
3848
- message.removalError = reader.string();
3849
- break;
3850
3672
  default:
3851
3673
  let u = options.readUnknownField;
3852
3674
  if (u === "throw")
@@ -3871,9 +3693,6 @@ class FieldOptions_FeatureSupport$Type extends MessageType<FieldOptions_FeatureS
3871
3693
  /* optional google.protobuf.Edition edition_removed = 4; */
3872
3694
  if (message.editionRemoved !== undefined)
3873
3695
  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);
3877
3696
  let u = options.writeUnknownFields;
3878
3697
  if (u !== false)
3879
3698
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -4370,9 +4189,7 @@ class FeatureSet$Type extends MessageType<FeatureSet> {
4370
4189
  { no: 3, name: "repeated_field_encoding", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.RepeatedFieldEncoding", FeatureSet_RepeatedFieldEncoding] },
4371
4190
  { no: 4, name: "utf8_validation", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.Utf8Validation", FeatureSet_Utf8Validation] },
4372
4191
  { no: 5, name: "message_encoding", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.MessageEncoding", FeatureSet_MessageEncoding] },
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] }
4192
+ { no: 6, name: "json_format", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.JsonFormat", FeatureSet_JsonFormat] }
4376
4193
  ]);
4377
4194
  }
4378
4195
  create(value?: PartialMessage<FeatureSet>): FeatureSet {
@@ -4404,12 +4221,6 @@ class FeatureSet$Type extends MessageType<FeatureSet> {
4404
4221
  case /* optional google.protobuf.FeatureSet.JsonFormat json_format */ 6:
4405
4222
  message.jsonFormat = reader.int32();
4406
4223
  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;
4413
4224
  default:
4414
4225
  let u = options.readUnknownField;
4415
4226
  if (u === "throw")
@@ -4440,12 +4251,6 @@ class FeatureSet$Type extends MessageType<FeatureSet> {
4440
4251
  /* optional google.protobuf.FeatureSet.JsonFormat json_format = 6; */
4441
4252
  if (message.jsonFormat !== undefined)
4442
4253
  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);
4449
4254
  let u = options.writeUnknownFields;
4450
4255
  if (u !== false)
4451
4256
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -4457,44 +4262,6 @@ class FeatureSet$Type extends MessageType<FeatureSet> {
4457
4262
  */
4458
4263
  export const FeatureSet = new FeatureSet$Type();
4459
4264
  // @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
4498
4265
  class FeatureSetDefaults$Type extends MessageType<FeatureSetDefaults> {
4499
4266
  constructor() {
4500
4267
  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 ProtoJSON serializer should always use UTC (as indicated by
123
- * "Z") when printing the Timestamp type and a ProtoJSON parser should be
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
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,18 +142,17 @@ import { MessageType } from "@protobuf-ts/runtime";
142
142
  */
143
143
  export interface Timestamp {
144
144
  /**
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).
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.
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. 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
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
157
156
  * inclusive.
158
157
  *
159
158
  * @generated from protobuf field: int32 nanos = 2
@@ -32,17 +32,10 @@
32
32
  // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
33
33
  // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34
34
  //
35
- // Wrappers for primitive (non-message) types. These types were needed
36
- // for legacy reasons and are not recommended for use in new APIs.
37
- //
38
- // Historically these wrappers were useful to have presence on proto3 primitive
39
- // fields, but proto3 syntax has been updated to support the `optional` keyword.
40
- // Using that keyword is now the strongly preferred way to add presence to
41
- // proto3 primitive fields.
42
- //
43
- // A secondary usecase was to embed primitives in the `google.protobuf.Any`
44
- // type: it is now recommended that you embed your value in your own wrapper
45
- // message which can be specifically documented.
35
+ // Wrappers for primitive (non-message) types. These types are useful
36
+ // for embedding primitives in the `google.protobuf.Any` type and for places
37
+ // where we need to distinguish between the absence of a primitive
38
+ // typed field and its default value.
46
39
  //
47
40
  // These wrappers have no meaningful use within repeated fields as they lack
48
41
  // the ability to detect presence on individual elements.
@@ -68,9 +61,6 @@ import { MessageType } from "@protobuf-ts/runtime";
68
61
  *
69
62
  * The JSON representation for `DoubleValue` is JSON number.
70
63
  *
71
- * Not recommended for use in new APIs, but still useful for legacy APIs and
72
- * has no plan to be removed.
73
- *
74
64
  * @generated from protobuf message google.protobuf.DoubleValue
75
65
  */
76
66
  export interface DoubleValue {
@@ -86,9 +76,6 @@ export interface DoubleValue {
86
76
  *
87
77
  * The JSON representation for `FloatValue` is JSON number.
88
78
  *
89
- * Not recommended for use in new APIs, but still useful for legacy APIs and
90
- * has no plan to be removed.
91
- *
92
79
  * @generated from protobuf message google.protobuf.FloatValue
93
80
  */
94
81
  export interface FloatValue {
@@ -104,9 +91,6 @@ export interface FloatValue {
104
91
  *
105
92
  * The JSON representation for `Int64Value` is JSON string.
106
93
  *
107
- * Not recommended for use in new APIs, but still useful for legacy APIs and
108
- * has no plan to be removed.
109
- *
110
94
  * @generated from protobuf message google.protobuf.Int64Value
111
95
  */
112
96
  export interface Int64Value {
@@ -122,9 +106,6 @@ export interface Int64Value {
122
106
  *
123
107
  * The JSON representation for `UInt64Value` is JSON string.
124
108
  *
125
- * Not recommended for use in new APIs, but still useful for legacy APIs and
126
- * has no plan to be removed.
127
- *
128
109
  * @generated from protobuf message google.protobuf.UInt64Value
129
110
  */
130
111
  export interface UInt64Value {
@@ -140,9 +121,6 @@ export interface UInt64Value {
140
121
  *
141
122
  * The JSON representation for `Int32Value` is JSON number.
142
123
  *
143
- * Not recommended for use in new APIs, but still useful for legacy APIs and
144
- * has no plan to be removed.
145
- *
146
124
  * @generated from protobuf message google.protobuf.Int32Value
147
125
  */
148
126
  export interface Int32Value {
@@ -158,9 +136,6 @@ export interface Int32Value {
158
136
  *
159
137
  * The JSON representation for `UInt32Value` is JSON number.
160
138
  *
161
- * Not recommended for use in new APIs, but still useful for legacy APIs and
162
- * has no plan to be removed.
163
- *
164
139
  * @generated from protobuf message google.protobuf.UInt32Value
165
140
  */
166
141
  export interface UInt32Value {
@@ -176,9 +151,6 @@ export interface UInt32Value {
176
151
  *
177
152
  * The JSON representation for `BoolValue` is JSON `true` and `false`.
178
153
  *
179
- * Not recommended for use in new APIs, but still useful for legacy APIs and
180
- * has no plan to be removed.
181
- *
182
154
  * @generated from protobuf message google.protobuf.BoolValue
183
155
  */
184
156
  export interface BoolValue {
@@ -194,9 +166,6 @@ export interface BoolValue {
194
166
  *
195
167
  * The JSON representation for `StringValue` is JSON string.
196
168
  *
197
- * Not recommended for use in new APIs, but still useful for legacy APIs and
198
- * has no plan to be removed.
199
- *
200
169
  * @generated from protobuf message google.protobuf.StringValue
201
170
  */
202
171
  export interface StringValue {
@@ -212,9 +181,6 @@ export interface StringValue {
212
181
  *
213
182
  * The JSON representation for `BytesValue` is JSON string.
214
183
  *
215
- * Not recommended for use in new APIs, but still useful for legacy APIs and
216
- * has no plan to be removed.
217
- *
218
184
  * @generated from protobuf message google.protobuf.BytesValue
219
185
  */
220
186
  export interface BytesValue {
@@ -2,7 +2,7 @@
2
2
  // @generated from protobuf file "google/rpc/code.proto" (package "google.rpc", syntax proto3)
3
3
  // tslint:disable
4
4
  //
5
- // Copyright 2026 Google LLC
5
+ // Copyright 2025 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.