@google-cloud/pubsub 5.1.0 → 5.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/build/protos/protos.d.ts +519 -5
- package/build/protos/protos.js +1695 -22
- package/build/protos/protos.json +201 -23
- package/build/src/exponential-retry.js +3 -3
- package/build/src/exponential-retry.js.map +1 -1
- package/build/src/index.d.ts +1 -1
- package/build/src/index.js +2 -1
- package/build/src/index.js.map +1 -1
- package/build/src/lease-manager.d.ts +18 -0
- package/build/src/lease-manager.js +52 -2
- package/build/src/lease-manager.js.map +1 -1
- package/build/src/logs.d.ts +9 -0
- package/build/src/logs.js +26 -0
- package/build/src/logs.js.map +1 -0
- package/build/src/message-queues.d.ts +25 -1
- package/build/src/message-queues.js +55 -5
- package/build/src/message-queues.js.map +1 -1
- package/build/src/message-stream.d.ts +8 -0
- package/build/src/message-stream.js +37 -14
- package/build/src/message-stream.js.map +1 -1
- package/build/src/publisher/message-batch.d.ts +26 -1
- package/build/src/publisher/message-batch.js +41 -6
- package/build/src/publisher/message-batch.js.map +1 -1
- package/build/src/publisher/message-queues.d.ts +22 -5
- package/build/src/publisher/message-queues.js +52 -19
- package/build/src/publisher/message-queues.js.map +1 -1
- package/build/src/pubsub.d.ts +25 -6
- package/build/src/pubsub.js.map +1 -1
- package/build/src/subscriber.d.ts +70 -4
- package/build/src/subscriber.js +154 -9
- package/build/src/subscriber.js.map +1 -1
- package/build/src/subscription.d.ts +11 -13
- package/build/src/subscription.js +2 -1
- package/build/src/subscription.js.map +1 -1
- package/build/src/telemetry-tracing.js +2 -2
- package/build/src/telemetry-tracing.js.map +1 -1
- package/build/src/temporal.d.ts +66 -4
- package/build/src/temporal.js +104 -4
- package/build/src/temporal.js.map +1 -1
- package/build/src/util.d.ts +22 -0
- package/build/src/util.js +36 -0
- package/build/src/util.js.map +1 -1
- package/package.json +4 -4
package/build/protos/protos.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2026 Google LLC
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -11351,6 +11351,9 @@ export namespace google {
|
|
|
11351
11351
|
|
|
11352
11352
|
/** CommonLanguageSettings destinations */
|
|
11353
11353
|
destinations?: (google.api.ClientLibraryDestination[]|null);
|
|
11354
|
+
|
|
11355
|
+
/** CommonLanguageSettings selectiveGapicGeneration */
|
|
11356
|
+
selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|null);
|
|
11354
11357
|
}
|
|
11355
11358
|
|
|
11356
11359
|
/** Represents a CommonLanguageSettings. */
|
|
@@ -11368,6 +11371,9 @@ export namespace google {
|
|
|
11368
11371
|
/** CommonLanguageSettings destinations. */
|
|
11369
11372
|
public destinations: google.api.ClientLibraryDestination[];
|
|
11370
11373
|
|
|
11374
|
+
/** CommonLanguageSettings selectiveGapicGeneration. */
|
|
11375
|
+
public selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|null);
|
|
11376
|
+
|
|
11371
11377
|
/**
|
|
11372
11378
|
* Creates a new CommonLanguageSettings instance using the specified properties.
|
|
11373
11379
|
* @param [properties] Properties to set
|
|
@@ -12068,6 +12074,9 @@ export namespace google {
|
|
|
12068
12074
|
|
|
12069
12075
|
/** PythonSettings common */
|
|
12070
12076
|
common?: (google.api.ICommonLanguageSettings|null);
|
|
12077
|
+
|
|
12078
|
+
/** PythonSettings experimentalFeatures */
|
|
12079
|
+
experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|null);
|
|
12071
12080
|
}
|
|
12072
12081
|
|
|
12073
12082
|
/** Represents a PythonSettings. */
|
|
@@ -12082,6 +12091,9 @@ export namespace google {
|
|
|
12082
12091
|
/** PythonSettings common. */
|
|
12083
12092
|
public common?: (google.api.ICommonLanguageSettings|null);
|
|
12084
12093
|
|
|
12094
|
+
/** PythonSettings experimentalFeatures. */
|
|
12095
|
+
public experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|null);
|
|
12096
|
+
|
|
12085
12097
|
/**
|
|
12086
12098
|
* Creates a new PythonSettings instance using the specified properties.
|
|
12087
12099
|
* @param [properties] Properties to set
|
|
@@ -12160,6 +12172,118 @@ export namespace google {
|
|
|
12160
12172
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
12161
12173
|
}
|
|
12162
12174
|
|
|
12175
|
+
namespace PythonSettings {
|
|
12176
|
+
|
|
12177
|
+
/** Properties of an ExperimentalFeatures. */
|
|
12178
|
+
interface IExperimentalFeatures {
|
|
12179
|
+
|
|
12180
|
+
/** ExperimentalFeatures restAsyncIoEnabled */
|
|
12181
|
+
restAsyncIoEnabled?: (boolean|null);
|
|
12182
|
+
|
|
12183
|
+
/** ExperimentalFeatures protobufPythonicTypesEnabled */
|
|
12184
|
+
protobufPythonicTypesEnabled?: (boolean|null);
|
|
12185
|
+
|
|
12186
|
+
/** ExperimentalFeatures unversionedPackageDisabled */
|
|
12187
|
+
unversionedPackageDisabled?: (boolean|null);
|
|
12188
|
+
}
|
|
12189
|
+
|
|
12190
|
+
/** Represents an ExperimentalFeatures. */
|
|
12191
|
+
class ExperimentalFeatures implements IExperimentalFeatures {
|
|
12192
|
+
|
|
12193
|
+
/**
|
|
12194
|
+
* Constructs a new ExperimentalFeatures.
|
|
12195
|
+
* @param [properties] Properties to set
|
|
12196
|
+
*/
|
|
12197
|
+
constructor(properties?: google.api.PythonSettings.IExperimentalFeatures);
|
|
12198
|
+
|
|
12199
|
+
/** ExperimentalFeatures restAsyncIoEnabled. */
|
|
12200
|
+
public restAsyncIoEnabled: boolean;
|
|
12201
|
+
|
|
12202
|
+
/** ExperimentalFeatures protobufPythonicTypesEnabled. */
|
|
12203
|
+
public protobufPythonicTypesEnabled: boolean;
|
|
12204
|
+
|
|
12205
|
+
/** ExperimentalFeatures unversionedPackageDisabled. */
|
|
12206
|
+
public unversionedPackageDisabled: boolean;
|
|
12207
|
+
|
|
12208
|
+
/**
|
|
12209
|
+
* Creates a new ExperimentalFeatures instance using the specified properties.
|
|
12210
|
+
* @param [properties] Properties to set
|
|
12211
|
+
* @returns ExperimentalFeatures instance
|
|
12212
|
+
*/
|
|
12213
|
+
public static create(properties?: google.api.PythonSettings.IExperimentalFeatures): google.api.PythonSettings.ExperimentalFeatures;
|
|
12214
|
+
|
|
12215
|
+
/**
|
|
12216
|
+
* Encodes the specified ExperimentalFeatures message. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages.
|
|
12217
|
+
* @param message ExperimentalFeatures message or plain object to encode
|
|
12218
|
+
* @param [writer] Writer to encode to
|
|
12219
|
+
* @returns Writer
|
|
12220
|
+
*/
|
|
12221
|
+
public static encode(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12222
|
+
|
|
12223
|
+
/**
|
|
12224
|
+
* Encodes the specified ExperimentalFeatures message, length delimited. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages.
|
|
12225
|
+
* @param message ExperimentalFeatures message or plain object to encode
|
|
12226
|
+
* @param [writer] Writer to encode to
|
|
12227
|
+
* @returns Writer
|
|
12228
|
+
*/
|
|
12229
|
+
public static encodeDelimited(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12230
|
+
|
|
12231
|
+
/**
|
|
12232
|
+
* Decodes an ExperimentalFeatures message from the specified reader or buffer.
|
|
12233
|
+
* @param reader Reader or buffer to decode from
|
|
12234
|
+
* @param [length] Message length if known beforehand
|
|
12235
|
+
* @returns ExperimentalFeatures
|
|
12236
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12237
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12238
|
+
*/
|
|
12239
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.PythonSettings.ExperimentalFeatures;
|
|
12240
|
+
|
|
12241
|
+
/**
|
|
12242
|
+
* Decodes an ExperimentalFeatures message from the specified reader or buffer, length delimited.
|
|
12243
|
+
* @param reader Reader or buffer to decode from
|
|
12244
|
+
* @returns ExperimentalFeatures
|
|
12245
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12246
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12247
|
+
*/
|
|
12248
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.PythonSettings.ExperimentalFeatures;
|
|
12249
|
+
|
|
12250
|
+
/**
|
|
12251
|
+
* Verifies an ExperimentalFeatures message.
|
|
12252
|
+
* @param message Plain object to verify
|
|
12253
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
12254
|
+
*/
|
|
12255
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
12256
|
+
|
|
12257
|
+
/**
|
|
12258
|
+
* Creates an ExperimentalFeatures message from a plain object. Also converts values to their respective internal types.
|
|
12259
|
+
* @param object Plain object
|
|
12260
|
+
* @returns ExperimentalFeatures
|
|
12261
|
+
*/
|
|
12262
|
+
public static fromObject(object: { [k: string]: any }): google.api.PythonSettings.ExperimentalFeatures;
|
|
12263
|
+
|
|
12264
|
+
/**
|
|
12265
|
+
* Creates a plain object from an ExperimentalFeatures message. Also converts values to other types if specified.
|
|
12266
|
+
* @param message ExperimentalFeatures
|
|
12267
|
+
* @param [options] Conversion options
|
|
12268
|
+
* @returns Plain object
|
|
12269
|
+
*/
|
|
12270
|
+
public static toObject(message: google.api.PythonSettings.ExperimentalFeatures, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
12271
|
+
|
|
12272
|
+
/**
|
|
12273
|
+
* Converts this ExperimentalFeatures to JSON.
|
|
12274
|
+
* @returns JSON object
|
|
12275
|
+
*/
|
|
12276
|
+
public toJSON(): { [k: string]: any };
|
|
12277
|
+
|
|
12278
|
+
/**
|
|
12279
|
+
* Gets the default type url for ExperimentalFeatures
|
|
12280
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
12281
|
+
* @returns The default type url
|
|
12282
|
+
*/
|
|
12283
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
12284
|
+
}
|
|
12285
|
+
}
|
|
12286
|
+
|
|
12163
12287
|
/** Properties of a NodeSettings. */
|
|
12164
12288
|
interface INodeSettings {
|
|
12165
12289
|
|
|
@@ -12486,6 +12610,9 @@ export namespace google {
|
|
|
12486
12610
|
|
|
12487
12611
|
/** GoSettings common */
|
|
12488
12612
|
common?: (google.api.ICommonLanguageSettings|null);
|
|
12613
|
+
|
|
12614
|
+
/** GoSettings renamedServices */
|
|
12615
|
+
renamedServices?: ({ [k: string]: string }|null);
|
|
12489
12616
|
}
|
|
12490
12617
|
|
|
12491
12618
|
/** Represents a GoSettings. */
|
|
@@ -12500,6 +12627,9 @@ export namespace google {
|
|
|
12500
12627
|
/** GoSettings common. */
|
|
12501
12628
|
public common?: (google.api.ICommonLanguageSettings|null);
|
|
12502
12629
|
|
|
12630
|
+
/** GoSettings renamedServices. */
|
|
12631
|
+
public renamedServices: { [k: string]: string };
|
|
12632
|
+
|
|
12503
12633
|
/**
|
|
12504
12634
|
* Creates a new GoSettings instance using the specified properties.
|
|
12505
12635
|
* @param [properties] Properties to set
|
|
@@ -12824,6 +12954,109 @@ export namespace google {
|
|
|
12824
12954
|
PACKAGE_MANAGER = 20
|
|
12825
12955
|
}
|
|
12826
12956
|
|
|
12957
|
+
/** Properties of a SelectiveGapicGeneration. */
|
|
12958
|
+
interface ISelectiveGapicGeneration {
|
|
12959
|
+
|
|
12960
|
+
/** SelectiveGapicGeneration methods */
|
|
12961
|
+
methods?: (string[]|null);
|
|
12962
|
+
|
|
12963
|
+
/** SelectiveGapicGeneration generateOmittedAsInternal */
|
|
12964
|
+
generateOmittedAsInternal?: (boolean|null);
|
|
12965
|
+
}
|
|
12966
|
+
|
|
12967
|
+
/** Represents a SelectiveGapicGeneration. */
|
|
12968
|
+
class SelectiveGapicGeneration implements ISelectiveGapicGeneration {
|
|
12969
|
+
|
|
12970
|
+
/**
|
|
12971
|
+
* Constructs a new SelectiveGapicGeneration.
|
|
12972
|
+
* @param [properties] Properties to set
|
|
12973
|
+
*/
|
|
12974
|
+
constructor(properties?: google.api.ISelectiveGapicGeneration);
|
|
12975
|
+
|
|
12976
|
+
/** SelectiveGapicGeneration methods. */
|
|
12977
|
+
public methods: string[];
|
|
12978
|
+
|
|
12979
|
+
/** SelectiveGapicGeneration generateOmittedAsInternal. */
|
|
12980
|
+
public generateOmittedAsInternal: boolean;
|
|
12981
|
+
|
|
12982
|
+
/**
|
|
12983
|
+
* Creates a new SelectiveGapicGeneration instance using the specified properties.
|
|
12984
|
+
* @param [properties] Properties to set
|
|
12985
|
+
* @returns SelectiveGapicGeneration instance
|
|
12986
|
+
*/
|
|
12987
|
+
public static create(properties?: google.api.ISelectiveGapicGeneration): google.api.SelectiveGapicGeneration;
|
|
12988
|
+
|
|
12989
|
+
/**
|
|
12990
|
+
* Encodes the specified SelectiveGapicGeneration message. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages.
|
|
12991
|
+
* @param message SelectiveGapicGeneration message or plain object to encode
|
|
12992
|
+
* @param [writer] Writer to encode to
|
|
12993
|
+
* @returns Writer
|
|
12994
|
+
*/
|
|
12995
|
+
public static encode(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12996
|
+
|
|
12997
|
+
/**
|
|
12998
|
+
* Encodes the specified SelectiveGapicGeneration message, length delimited. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages.
|
|
12999
|
+
* @param message SelectiveGapicGeneration message or plain object to encode
|
|
13000
|
+
* @param [writer] Writer to encode to
|
|
13001
|
+
* @returns Writer
|
|
13002
|
+
*/
|
|
13003
|
+
public static encodeDelimited(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13004
|
+
|
|
13005
|
+
/**
|
|
13006
|
+
* Decodes a SelectiveGapicGeneration message from the specified reader or buffer.
|
|
13007
|
+
* @param reader Reader or buffer to decode from
|
|
13008
|
+
* @param [length] Message length if known beforehand
|
|
13009
|
+
* @returns SelectiveGapicGeneration
|
|
13010
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13011
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13012
|
+
*/
|
|
13013
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.SelectiveGapicGeneration;
|
|
13014
|
+
|
|
13015
|
+
/**
|
|
13016
|
+
* Decodes a SelectiveGapicGeneration message from the specified reader or buffer, length delimited.
|
|
13017
|
+
* @param reader Reader or buffer to decode from
|
|
13018
|
+
* @returns SelectiveGapicGeneration
|
|
13019
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13020
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13021
|
+
*/
|
|
13022
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.SelectiveGapicGeneration;
|
|
13023
|
+
|
|
13024
|
+
/**
|
|
13025
|
+
* Verifies a SelectiveGapicGeneration message.
|
|
13026
|
+
* @param message Plain object to verify
|
|
13027
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
13028
|
+
*/
|
|
13029
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
13030
|
+
|
|
13031
|
+
/**
|
|
13032
|
+
* Creates a SelectiveGapicGeneration message from a plain object. Also converts values to their respective internal types.
|
|
13033
|
+
* @param object Plain object
|
|
13034
|
+
* @returns SelectiveGapicGeneration
|
|
13035
|
+
*/
|
|
13036
|
+
public static fromObject(object: { [k: string]: any }): google.api.SelectiveGapicGeneration;
|
|
13037
|
+
|
|
13038
|
+
/**
|
|
13039
|
+
* Creates a plain object from a SelectiveGapicGeneration message. Also converts values to other types if specified.
|
|
13040
|
+
* @param message SelectiveGapicGeneration
|
|
13041
|
+
* @param [options] Conversion options
|
|
13042
|
+
* @returns Plain object
|
|
13043
|
+
*/
|
|
13044
|
+
public static toObject(message: google.api.SelectiveGapicGeneration, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
13045
|
+
|
|
13046
|
+
/**
|
|
13047
|
+
* Converts this SelectiveGapicGeneration to JSON.
|
|
13048
|
+
* @returns JSON object
|
|
13049
|
+
*/
|
|
13050
|
+
public toJSON(): { [k: string]: any };
|
|
13051
|
+
|
|
13052
|
+
/**
|
|
13053
|
+
* Gets the default type url for SelectiveGapicGeneration
|
|
13054
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
13055
|
+
* @returns The default type url
|
|
13056
|
+
*/
|
|
13057
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
13058
|
+
}
|
|
13059
|
+
|
|
12827
13060
|
/** LaunchStage enum. */
|
|
12828
13061
|
enum LaunchStage {
|
|
12829
13062
|
LAUNCH_STAGE_UNSPECIFIED = 0,
|
|
@@ -13205,6 +13438,7 @@ export namespace google {
|
|
|
13205
13438
|
/** Edition enum. */
|
|
13206
13439
|
enum Edition {
|
|
13207
13440
|
EDITION_UNKNOWN = 0,
|
|
13441
|
+
EDITION_LEGACY = 900,
|
|
13208
13442
|
EDITION_PROTO2 = 998,
|
|
13209
13443
|
EDITION_PROTO3 = 999,
|
|
13210
13444
|
EDITION_2023 = 1000,
|
|
@@ -13235,6 +13469,9 @@ export namespace google {
|
|
|
13235
13469
|
/** FileDescriptorProto weakDependency */
|
|
13236
13470
|
weakDependency?: (number[]|null);
|
|
13237
13471
|
|
|
13472
|
+
/** FileDescriptorProto optionDependency */
|
|
13473
|
+
optionDependency?: (string[]|null);
|
|
13474
|
+
|
|
13238
13475
|
/** FileDescriptorProto messageType */
|
|
13239
13476
|
messageType?: (google.protobuf.IDescriptorProto[]|null);
|
|
13240
13477
|
|
|
@@ -13284,6 +13521,9 @@ export namespace google {
|
|
|
13284
13521
|
/** FileDescriptorProto weakDependency. */
|
|
13285
13522
|
public weakDependency: number[];
|
|
13286
13523
|
|
|
13524
|
+
/** FileDescriptorProto optionDependency. */
|
|
13525
|
+
public optionDependency: string[];
|
|
13526
|
+
|
|
13287
13527
|
/** FileDescriptorProto messageType. */
|
|
13288
13528
|
public messageType: google.protobuf.IDescriptorProto[];
|
|
13289
13529
|
|
|
@@ -13418,6 +13658,9 @@ export namespace google {
|
|
|
13418
13658
|
|
|
13419
13659
|
/** DescriptorProto reservedName */
|
|
13420
13660
|
reservedName?: (string[]|null);
|
|
13661
|
+
|
|
13662
|
+
/** DescriptorProto visibility */
|
|
13663
|
+
visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|null);
|
|
13421
13664
|
}
|
|
13422
13665
|
|
|
13423
13666
|
/** Represents a DescriptorProto. */
|
|
@@ -13459,6 +13702,9 @@ export namespace google {
|
|
|
13459
13702
|
/** DescriptorProto reservedName. */
|
|
13460
13703
|
public reservedName: string[];
|
|
13461
13704
|
|
|
13705
|
+
/** DescriptorProto visibility. */
|
|
13706
|
+
public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility);
|
|
13707
|
+
|
|
13462
13708
|
/**
|
|
13463
13709
|
* Creates a new DescriptorProto instance using the specified properties.
|
|
13464
13710
|
* @param [properties] Properties to set
|
|
@@ -14306,6 +14552,9 @@ export namespace google {
|
|
|
14306
14552
|
|
|
14307
14553
|
/** EnumDescriptorProto reservedName */
|
|
14308
14554
|
reservedName?: (string[]|null);
|
|
14555
|
+
|
|
14556
|
+
/** EnumDescriptorProto visibility */
|
|
14557
|
+
visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|null);
|
|
14309
14558
|
}
|
|
14310
14559
|
|
|
14311
14560
|
/** Represents an EnumDescriptorProto. */
|
|
@@ -14332,6 +14581,9 @@ export namespace google {
|
|
|
14332
14581
|
/** EnumDescriptorProto reservedName. */
|
|
14333
14582
|
public reservedName: string[];
|
|
14334
14583
|
|
|
14584
|
+
/** EnumDescriptorProto visibility. */
|
|
14585
|
+
public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility);
|
|
14586
|
+
|
|
14335
14587
|
/**
|
|
14336
14588
|
* Creates a new EnumDescriptorProto instance using the specified properties.
|
|
14337
14589
|
* @param [properties] Properties to set
|
|
@@ -15266,6 +15518,9 @@ export namespace google {
|
|
|
15266
15518
|
/** FieldOptions features */
|
|
15267
15519
|
features?: (google.protobuf.IFeatureSet|null);
|
|
15268
15520
|
|
|
15521
|
+
/** FieldOptions featureSupport */
|
|
15522
|
+
featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null);
|
|
15523
|
+
|
|
15269
15524
|
/** FieldOptions uninterpretedOption */
|
|
15270
15525
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
15271
15526
|
|
|
@@ -15321,6 +15576,9 @@ export namespace google {
|
|
|
15321
15576
|
/** FieldOptions features. */
|
|
15322
15577
|
public features?: (google.protobuf.IFeatureSet|null);
|
|
15323
15578
|
|
|
15579
|
+
/** FieldOptions featureSupport. */
|
|
15580
|
+
public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null);
|
|
15581
|
+
|
|
15324
15582
|
/** FieldOptions uninterpretedOption. */
|
|
15325
15583
|
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
15326
15584
|
|
|
@@ -15541,6 +15799,121 @@ export namespace google {
|
|
|
15541
15799
|
*/
|
|
15542
15800
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
15543
15801
|
}
|
|
15802
|
+
|
|
15803
|
+
/** Properties of a FeatureSupport. */
|
|
15804
|
+
interface IFeatureSupport {
|
|
15805
|
+
|
|
15806
|
+
/** FeatureSupport editionIntroduced */
|
|
15807
|
+
editionIntroduced?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
|
|
15808
|
+
|
|
15809
|
+
/** FeatureSupport editionDeprecated */
|
|
15810
|
+
editionDeprecated?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
|
|
15811
|
+
|
|
15812
|
+
/** FeatureSupport deprecationWarning */
|
|
15813
|
+
deprecationWarning?: (string|null);
|
|
15814
|
+
|
|
15815
|
+
/** FeatureSupport editionRemoved */
|
|
15816
|
+
editionRemoved?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
|
|
15817
|
+
}
|
|
15818
|
+
|
|
15819
|
+
/** Represents a FeatureSupport. */
|
|
15820
|
+
class FeatureSupport implements IFeatureSupport {
|
|
15821
|
+
|
|
15822
|
+
/**
|
|
15823
|
+
* Constructs a new FeatureSupport.
|
|
15824
|
+
* @param [properties] Properties to set
|
|
15825
|
+
*/
|
|
15826
|
+
constructor(properties?: google.protobuf.FieldOptions.IFeatureSupport);
|
|
15827
|
+
|
|
15828
|
+
/** FeatureSupport editionIntroduced. */
|
|
15829
|
+
public editionIntroduced: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
|
|
15830
|
+
|
|
15831
|
+
/** FeatureSupport editionDeprecated. */
|
|
15832
|
+
public editionDeprecated: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
|
|
15833
|
+
|
|
15834
|
+
/** FeatureSupport deprecationWarning. */
|
|
15835
|
+
public deprecationWarning: string;
|
|
15836
|
+
|
|
15837
|
+
/** FeatureSupport editionRemoved. */
|
|
15838
|
+
public editionRemoved: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
|
|
15839
|
+
|
|
15840
|
+
/**
|
|
15841
|
+
* Creates a new FeatureSupport instance using the specified properties.
|
|
15842
|
+
* @param [properties] Properties to set
|
|
15843
|
+
* @returns FeatureSupport instance
|
|
15844
|
+
*/
|
|
15845
|
+
public static create(properties?: google.protobuf.FieldOptions.IFeatureSupport): google.protobuf.FieldOptions.FeatureSupport;
|
|
15846
|
+
|
|
15847
|
+
/**
|
|
15848
|
+
* Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages.
|
|
15849
|
+
* @param message FeatureSupport message or plain object to encode
|
|
15850
|
+
* @param [writer] Writer to encode to
|
|
15851
|
+
* @returns Writer
|
|
15852
|
+
*/
|
|
15853
|
+
public static encode(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
15854
|
+
|
|
15855
|
+
/**
|
|
15856
|
+
* Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages.
|
|
15857
|
+
* @param message FeatureSupport message or plain object to encode
|
|
15858
|
+
* @param [writer] Writer to encode to
|
|
15859
|
+
* @returns Writer
|
|
15860
|
+
*/
|
|
15861
|
+
public static encodeDelimited(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
15862
|
+
|
|
15863
|
+
/**
|
|
15864
|
+
* Decodes a FeatureSupport message from the specified reader or buffer.
|
|
15865
|
+
* @param reader Reader or buffer to decode from
|
|
15866
|
+
* @param [length] Message length if known beforehand
|
|
15867
|
+
* @returns FeatureSupport
|
|
15868
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15869
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15870
|
+
*/
|
|
15871
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions.FeatureSupport;
|
|
15872
|
+
|
|
15873
|
+
/**
|
|
15874
|
+
* Decodes a FeatureSupport message from the specified reader or buffer, length delimited.
|
|
15875
|
+
* @param reader Reader or buffer to decode from
|
|
15876
|
+
* @returns FeatureSupport
|
|
15877
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15878
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15879
|
+
*/
|
|
15880
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions.FeatureSupport;
|
|
15881
|
+
|
|
15882
|
+
/**
|
|
15883
|
+
* Verifies a FeatureSupport message.
|
|
15884
|
+
* @param message Plain object to verify
|
|
15885
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
15886
|
+
*/
|
|
15887
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
15888
|
+
|
|
15889
|
+
/**
|
|
15890
|
+
* Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types.
|
|
15891
|
+
* @param object Plain object
|
|
15892
|
+
* @returns FeatureSupport
|
|
15893
|
+
*/
|
|
15894
|
+
public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions.FeatureSupport;
|
|
15895
|
+
|
|
15896
|
+
/**
|
|
15897
|
+
* Creates a plain object from a FeatureSupport message. Also converts values to other types if specified.
|
|
15898
|
+
* @param message FeatureSupport
|
|
15899
|
+
* @param [options] Conversion options
|
|
15900
|
+
* @returns Plain object
|
|
15901
|
+
*/
|
|
15902
|
+
public static toObject(message: google.protobuf.FieldOptions.FeatureSupport, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
15903
|
+
|
|
15904
|
+
/**
|
|
15905
|
+
* Converts this FeatureSupport to JSON.
|
|
15906
|
+
* @returns JSON object
|
|
15907
|
+
*/
|
|
15908
|
+
public toJSON(): { [k: string]: any };
|
|
15909
|
+
|
|
15910
|
+
/**
|
|
15911
|
+
* Gets the default type url for FeatureSupport
|
|
15912
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
15913
|
+
* @returns The default type url
|
|
15914
|
+
*/
|
|
15915
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
15916
|
+
}
|
|
15544
15917
|
}
|
|
15545
15918
|
|
|
15546
15919
|
/** Properties of an OneofOptions. */
|
|
@@ -15779,6 +16152,9 @@ export namespace google {
|
|
|
15779
16152
|
/** EnumValueOptions debugRedact */
|
|
15780
16153
|
debugRedact?: (boolean|null);
|
|
15781
16154
|
|
|
16155
|
+
/** EnumValueOptions featureSupport */
|
|
16156
|
+
featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null);
|
|
16157
|
+
|
|
15782
16158
|
/** EnumValueOptions uninterpretedOption */
|
|
15783
16159
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
15784
16160
|
}
|
|
@@ -15801,6 +16177,9 @@ export namespace google {
|
|
|
15801
16177
|
/** EnumValueOptions debugRedact. */
|
|
15802
16178
|
public debugRedact: boolean;
|
|
15803
16179
|
|
|
16180
|
+
/** EnumValueOptions featureSupport. */
|
|
16181
|
+
public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null);
|
|
16182
|
+
|
|
15804
16183
|
/** EnumValueOptions uninterpretedOption. */
|
|
15805
16184
|
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
15806
16185
|
|
|
@@ -16390,6 +16769,12 @@ export namespace google {
|
|
|
16390
16769
|
|
|
16391
16770
|
/** FeatureSet jsonFormat */
|
|
16392
16771
|
jsonFormat?: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat|null);
|
|
16772
|
+
|
|
16773
|
+
/** FeatureSet enforceNamingStyle */
|
|
16774
|
+
enforceNamingStyle?: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle|null);
|
|
16775
|
+
|
|
16776
|
+
/** FeatureSet defaultSymbolVisibility */
|
|
16777
|
+
defaultSymbolVisibility?: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null);
|
|
16393
16778
|
}
|
|
16394
16779
|
|
|
16395
16780
|
/** Represents a FeatureSet. */
|
|
@@ -16419,6 +16804,12 @@ export namespace google {
|
|
|
16419
16804
|
/** FeatureSet jsonFormat. */
|
|
16420
16805
|
public jsonFormat: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat);
|
|
16421
16806
|
|
|
16807
|
+
/** FeatureSet enforceNamingStyle. */
|
|
16808
|
+
public enforceNamingStyle: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle);
|
|
16809
|
+
|
|
16810
|
+
/** FeatureSet defaultSymbolVisibility. */
|
|
16811
|
+
public defaultSymbolVisibility: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility);
|
|
16812
|
+
|
|
16422
16813
|
/**
|
|
16423
16814
|
* Creates a new FeatureSet instance using the specified properties.
|
|
16424
16815
|
* @param [properties] Properties to set
|
|
@@ -16541,6 +16932,116 @@ export namespace google {
|
|
|
16541
16932
|
ALLOW = 1,
|
|
16542
16933
|
LEGACY_BEST_EFFORT = 2
|
|
16543
16934
|
}
|
|
16935
|
+
|
|
16936
|
+
/** EnforceNamingStyle enum. */
|
|
16937
|
+
enum EnforceNamingStyle {
|
|
16938
|
+
ENFORCE_NAMING_STYLE_UNKNOWN = 0,
|
|
16939
|
+
STYLE2024 = 1,
|
|
16940
|
+
STYLE_LEGACY = 2
|
|
16941
|
+
}
|
|
16942
|
+
|
|
16943
|
+
/** Properties of a VisibilityFeature. */
|
|
16944
|
+
interface IVisibilityFeature {
|
|
16945
|
+
}
|
|
16946
|
+
|
|
16947
|
+
/** Represents a VisibilityFeature. */
|
|
16948
|
+
class VisibilityFeature implements IVisibilityFeature {
|
|
16949
|
+
|
|
16950
|
+
/**
|
|
16951
|
+
* Constructs a new VisibilityFeature.
|
|
16952
|
+
* @param [properties] Properties to set
|
|
16953
|
+
*/
|
|
16954
|
+
constructor(properties?: google.protobuf.FeatureSet.IVisibilityFeature);
|
|
16955
|
+
|
|
16956
|
+
/**
|
|
16957
|
+
* Creates a new VisibilityFeature instance using the specified properties.
|
|
16958
|
+
* @param [properties] Properties to set
|
|
16959
|
+
* @returns VisibilityFeature instance
|
|
16960
|
+
*/
|
|
16961
|
+
public static create(properties?: google.protobuf.FeatureSet.IVisibilityFeature): google.protobuf.FeatureSet.VisibilityFeature;
|
|
16962
|
+
|
|
16963
|
+
/**
|
|
16964
|
+
* Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages.
|
|
16965
|
+
* @param message VisibilityFeature message or plain object to encode
|
|
16966
|
+
* @param [writer] Writer to encode to
|
|
16967
|
+
* @returns Writer
|
|
16968
|
+
*/
|
|
16969
|
+
public static encode(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
16970
|
+
|
|
16971
|
+
/**
|
|
16972
|
+
* Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages.
|
|
16973
|
+
* @param message VisibilityFeature message or plain object to encode
|
|
16974
|
+
* @param [writer] Writer to encode to
|
|
16975
|
+
* @returns Writer
|
|
16976
|
+
*/
|
|
16977
|
+
public static encodeDelimited(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
16978
|
+
|
|
16979
|
+
/**
|
|
16980
|
+
* Decodes a VisibilityFeature message from the specified reader or buffer.
|
|
16981
|
+
* @param reader Reader or buffer to decode from
|
|
16982
|
+
* @param [length] Message length if known beforehand
|
|
16983
|
+
* @returns VisibilityFeature
|
|
16984
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16985
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16986
|
+
*/
|
|
16987
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSet.VisibilityFeature;
|
|
16988
|
+
|
|
16989
|
+
/**
|
|
16990
|
+
* Decodes a VisibilityFeature message from the specified reader or buffer, length delimited.
|
|
16991
|
+
* @param reader Reader or buffer to decode from
|
|
16992
|
+
* @returns VisibilityFeature
|
|
16993
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16994
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16995
|
+
*/
|
|
16996
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSet.VisibilityFeature;
|
|
16997
|
+
|
|
16998
|
+
/**
|
|
16999
|
+
* Verifies a VisibilityFeature message.
|
|
17000
|
+
* @param message Plain object to verify
|
|
17001
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
17002
|
+
*/
|
|
17003
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
17004
|
+
|
|
17005
|
+
/**
|
|
17006
|
+
* Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types.
|
|
17007
|
+
* @param object Plain object
|
|
17008
|
+
* @returns VisibilityFeature
|
|
17009
|
+
*/
|
|
17010
|
+
public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSet.VisibilityFeature;
|
|
17011
|
+
|
|
17012
|
+
/**
|
|
17013
|
+
* Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified.
|
|
17014
|
+
* @param message VisibilityFeature
|
|
17015
|
+
* @param [options] Conversion options
|
|
17016
|
+
* @returns Plain object
|
|
17017
|
+
*/
|
|
17018
|
+
public static toObject(message: google.protobuf.FeatureSet.VisibilityFeature, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
17019
|
+
|
|
17020
|
+
/**
|
|
17021
|
+
* Converts this VisibilityFeature to JSON.
|
|
17022
|
+
* @returns JSON object
|
|
17023
|
+
*/
|
|
17024
|
+
public toJSON(): { [k: string]: any };
|
|
17025
|
+
|
|
17026
|
+
/**
|
|
17027
|
+
* Gets the default type url for VisibilityFeature
|
|
17028
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
17029
|
+
* @returns The default type url
|
|
17030
|
+
*/
|
|
17031
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
17032
|
+
}
|
|
17033
|
+
|
|
17034
|
+
namespace VisibilityFeature {
|
|
17035
|
+
|
|
17036
|
+
/** DefaultSymbolVisibility enum. */
|
|
17037
|
+
enum DefaultSymbolVisibility {
|
|
17038
|
+
DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0,
|
|
17039
|
+
EXPORT_ALL = 1,
|
|
17040
|
+
EXPORT_TOP_LEVEL = 2,
|
|
17041
|
+
LOCAL_ALL = 3,
|
|
17042
|
+
STRICT = 4
|
|
17043
|
+
}
|
|
17044
|
+
}
|
|
16544
17045
|
}
|
|
16545
17046
|
|
|
16546
17047
|
/** Properties of a FeatureSetDefaults. */
|
|
@@ -16660,8 +17161,11 @@ export namespace google {
|
|
|
16660
17161
|
/** FeatureSetEditionDefault edition */
|
|
16661
17162
|
edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
|
|
16662
17163
|
|
|
16663
|
-
/** FeatureSetEditionDefault
|
|
16664
|
-
|
|
17164
|
+
/** FeatureSetEditionDefault overridableFeatures */
|
|
17165
|
+
overridableFeatures?: (google.protobuf.IFeatureSet|null);
|
|
17166
|
+
|
|
17167
|
+
/** FeatureSetEditionDefault fixedFeatures */
|
|
17168
|
+
fixedFeatures?: (google.protobuf.IFeatureSet|null);
|
|
16665
17169
|
}
|
|
16666
17170
|
|
|
16667
17171
|
/** Represents a FeatureSetEditionDefault. */
|
|
@@ -16676,8 +17180,11 @@ export namespace google {
|
|
|
16676
17180
|
/** FeatureSetEditionDefault edition. */
|
|
16677
17181
|
public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
|
|
16678
17182
|
|
|
16679
|
-
/** FeatureSetEditionDefault
|
|
16680
|
-
public
|
|
17183
|
+
/** FeatureSetEditionDefault overridableFeatures. */
|
|
17184
|
+
public overridableFeatures?: (google.protobuf.IFeatureSet|null);
|
|
17185
|
+
|
|
17186
|
+
/** FeatureSetEditionDefault fixedFeatures. */
|
|
17187
|
+
public fixedFeatures?: (google.protobuf.IFeatureSet|null);
|
|
16681
17188
|
|
|
16682
17189
|
/**
|
|
16683
17190
|
* Creates a new FeatureSetEditionDefault instance using the specified properties.
|
|
@@ -17210,6 +17717,13 @@ export namespace google {
|
|
|
17210
17717
|
}
|
|
17211
17718
|
}
|
|
17212
17719
|
|
|
17720
|
+
/** SymbolVisibility enum. */
|
|
17721
|
+
enum SymbolVisibility {
|
|
17722
|
+
VISIBILITY_UNSET = 0,
|
|
17723
|
+
VISIBILITY_LOCAL = 1,
|
|
17724
|
+
VISIBILITY_EXPORT = 2
|
|
17725
|
+
}
|
|
17726
|
+
|
|
17213
17727
|
/** Properties of a Duration. */
|
|
17214
17728
|
interface IDuration {
|
|
17215
17729
|
|