@google-cloud/pubsub 4.0.5 → 4.0.7
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/CHANGELOG.md +16 -0
- package/build/protos/google/pubsub/v1/pubsub.proto +14 -13
- package/build/protos/protos.d.ts +535 -5
- package/build/protos/protos.js +1995 -146
- package/build/protos/protos.json +288 -4
- package/build/src/message-queues.d.ts +1 -1
- package/build/src/message-stream.js +6 -1
- package/build/src/message-stream.js.map +1 -1
- package/build/src/publisher/message-queues.d.ts +1 -1
- package/build/src/v1/publisher_client.d.ts +1 -1
- package/build/src/v1/subscriber_client.d.ts +7 -7
- package/package.json +8 -8
package/build/protos/protos.d.ts
CHANGED
|
@@ -8945,6 +8945,9 @@ export namespace google {
|
|
|
8945
8945
|
|
|
8946
8946
|
/** Publishing librarySettings */
|
|
8947
8947
|
librarySettings?: (google.api.IClientLibrarySettings[]|null);
|
|
8948
|
+
|
|
8949
|
+
/** Publishing protoReferenceDocumentationUri */
|
|
8950
|
+
protoReferenceDocumentationUri?: (string|null);
|
|
8948
8951
|
}
|
|
8949
8952
|
|
|
8950
8953
|
/** Represents a Publishing. */
|
|
@@ -8983,6 +8986,9 @@ export namespace google {
|
|
|
8983
8986
|
/** Publishing librarySettings. */
|
|
8984
8987
|
public librarySettings: google.api.IClientLibrarySettings[];
|
|
8985
8988
|
|
|
8989
|
+
/** Publishing protoReferenceDocumentationUri. */
|
|
8990
|
+
public protoReferenceDocumentationUri: string;
|
|
8991
|
+
|
|
8986
8992
|
/**
|
|
8987
8993
|
* Creates a new Publishing instance using the specified properties.
|
|
8988
8994
|
* @param [properties] Properties to set
|
|
@@ -9563,6 +9569,21 @@ export namespace google {
|
|
|
9563
9569
|
|
|
9564
9570
|
/** DotnetSettings common */
|
|
9565
9571
|
common?: (google.api.ICommonLanguageSettings|null);
|
|
9572
|
+
|
|
9573
|
+
/** DotnetSettings renamedServices */
|
|
9574
|
+
renamedServices?: ({ [k: string]: string }|null);
|
|
9575
|
+
|
|
9576
|
+
/** DotnetSettings renamedResources */
|
|
9577
|
+
renamedResources?: ({ [k: string]: string }|null);
|
|
9578
|
+
|
|
9579
|
+
/** DotnetSettings ignoredResources */
|
|
9580
|
+
ignoredResources?: (string[]|null);
|
|
9581
|
+
|
|
9582
|
+
/** DotnetSettings forcedNamespaceAliases */
|
|
9583
|
+
forcedNamespaceAliases?: (string[]|null);
|
|
9584
|
+
|
|
9585
|
+
/** DotnetSettings handwrittenSignatures */
|
|
9586
|
+
handwrittenSignatures?: (string[]|null);
|
|
9566
9587
|
}
|
|
9567
9588
|
|
|
9568
9589
|
/** Represents a DotnetSettings. */
|
|
@@ -9577,6 +9598,21 @@ export namespace google {
|
|
|
9577
9598
|
/** DotnetSettings common. */
|
|
9578
9599
|
public common?: (google.api.ICommonLanguageSettings|null);
|
|
9579
9600
|
|
|
9601
|
+
/** DotnetSettings renamedServices. */
|
|
9602
|
+
public renamedServices: { [k: string]: string };
|
|
9603
|
+
|
|
9604
|
+
/** DotnetSettings renamedResources. */
|
|
9605
|
+
public renamedResources: { [k: string]: string };
|
|
9606
|
+
|
|
9607
|
+
/** DotnetSettings ignoredResources. */
|
|
9608
|
+
public ignoredResources: string[];
|
|
9609
|
+
|
|
9610
|
+
/** DotnetSettings forcedNamespaceAliases. */
|
|
9611
|
+
public forcedNamespaceAliases: string[];
|
|
9612
|
+
|
|
9613
|
+
/** DotnetSettings handwrittenSignatures. */
|
|
9614
|
+
public handwrittenSignatures: string[];
|
|
9615
|
+
|
|
9580
9616
|
/**
|
|
9581
9617
|
* Creates a new DotnetSettings instance using the specified properties.
|
|
9582
9618
|
* @param [properties] Properties to set
|
|
@@ -10076,7 +10112,10 @@ export namespace google {
|
|
|
10076
10112
|
CLOUD = 1,
|
|
10077
10113
|
ADS = 2,
|
|
10078
10114
|
PHOTOS = 3,
|
|
10079
|
-
STREET_VIEW = 4
|
|
10115
|
+
STREET_VIEW = 4,
|
|
10116
|
+
SHOPPING = 5,
|
|
10117
|
+
GEO = 6,
|
|
10118
|
+
GENERATIVE_AI = 7
|
|
10080
10119
|
}
|
|
10081
10120
|
|
|
10082
10121
|
/** ClientLibraryDestination enum. */
|
|
@@ -11003,6 +11042,15 @@ export namespace google {
|
|
|
11003
11042
|
|
|
11004
11043
|
/** ExtensionRangeOptions uninterpretedOption */
|
|
11005
11044
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
11045
|
+
|
|
11046
|
+
/** ExtensionRangeOptions declaration */
|
|
11047
|
+
declaration?: (google.protobuf.ExtensionRangeOptions.IDeclaration[]|null);
|
|
11048
|
+
|
|
11049
|
+
/** ExtensionRangeOptions features */
|
|
11050
|
+
features?: (google.protobuf.IFeatureSet|null);
|
|
11051
|
+
|
|
11052
|
+
/** ExtensionRangeOptions verification */
|
|
11053
|
+
verification?: (google.protobuf.ExtensionRangeOptions.VerificationState|keyof typeof google.protobuf.ExtensionRangeOptions.VerificationState|null);
|
|
11006
11054
|
}
|
|
11007
11055
|
|
|
11008
11056
|
/** Represents an ExtensionRangeOptions. */
|
|
@@ -11017,6 +11065,15 @@ export namespace google {
|
|
|
11017
11065
|
/** ExtensionRangeOptions uninterpretedOption. */
|
|
11018
11066
|
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
11019
11067
|
|
|
11068
|
+
/** ExtensionRangeOptions declaration. */
|
|
11069
|
+
public declaration: google.protobuf.ExtensionRangeOptions.IDeclaration[];
|
|
11070
|
+
|
|
11071
|
+
/** ExtensionRangeOptions features. */
|
|
11072
|
+
public features?: (google.protobuf.IFeatureSet|null);
|
|
11073
|
+
|
|
11074
|
+
/** ExtensionRangeOptions verification. */
|
|
11075
|
+
public verification: (google.protobuf.ExtensionRangeOptions.VerificationState|keyof typeof google.protobuf.ExtensionRangeOptions.VerificationState);
|
|
11076
|
+
|
|
11020
11077
|
/**
|
|
11021
11078
|
* Creates a new ExtensionRangeOptions instance using the specified properties.
|
|
11022
11079
|
* @param [properties] Properties to set
|
|
@@ -11095,6 +11152,136 @@ export namespace google {
|
|
|
11095
11152
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
11096
11153
|
}
|
|
11097
11154
|
|
|
11155
|
+
namespace ExtensionRangeOptions {
|
|
11156
|
+
|
|
11157
|
+
/** Properties of a Declaration. */
|
|
11158
|
+
interface IDeclaration {
|
|
11159
|
+
|
|
11160
|
+
/** Declaration number */
|
|
11161
|
+
number?: (number|null);
|
|
11162
|
+
|
|
11163
|
+
/** Declaration fullName */
|
|
11164
|
+
fullName?: (string|null);
|
|
11165
|
+
|
|
11166
|
+
/** Declaration type */
|
|
11167
|
+
type?: (string|null);
|
|
11168
|
+
|
|
11169
|
+
/** Declaration reserved */
|
|
11170
|
+
reserved?: (boolean|null);
|
|
11171
|
+
|
|
11172
|
+
/** Declaration repeated */
|
|
11173
|
+
repeated?: (boolean|null);
|
|
11174
|
+
}
|
|
11175
|
+
|
|
11176
|
+
/** Represents a Declaration. */
|
|
11177
|
+
class Declaration implements IDeclaration {
|
|
11178
|
+
|
|
11179
|
+
/**
|
|
11180
|
+
* Constructs a new Declaration.
|
|
11181
|
+
* @param [properties] Properties to set
|
|
11182
|
+
*/
|
|
11183
|
+
constructor(properties?: google.protobuf.ExtensionRangeOptions.IDeclaration);
|
|
11184
|
+
|
|
11185
|
+
/** Declaration number. */
|
|
11186
|
+
public number: number;
|
|
11187
|
+
|
|
11188
|
+
/** Declaration fullName. */
|
|
11189
|
+
public fullName: string;
|
|
11190
|
+
|
|
11191
|
+
/** Declaration type. */
|
|
11192
|
+
public type: string;
|
|
11193
|
+
|
|
11194
|
+
/** Declaration reserved. */
|
|
11195
|
+
public reserved: boolean;
|
|
11196
|
+
|
|
11197
|
+
/** Declaration repeated. */
|
|
11198
|
+
public repeated: boolean;
|
|
11199
|
+
|
|
11200
|
+
/**
|
|
11201
|
+
* Creates a new Declaration instance using the specified properties.
|
|
11202
|
+
* @param [properties] Properties to set
|
|
11203
|
+
* @returns Declaration instance
|
|
11204
|
+
*/
|
|
11205
|
+
public static create(properties?: google.protobuf.ExtensionRangeOptions.IDeclaration): google.protobuf.ExtensionRangeOptions.Declaration;
|
|
11206
|
+
|
|
11207
|
+
/**
|
|
11208
|
+
* Encodes the specified Declaration message. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.Declaration.verify|verify} messages.
|
|
11209
|
+
* @param message Declaration message or plain object to encode
|
|
11210
|
+
* @param [writer] Writer to encode to
|
|
11211
|
+
* @returns Writer
|
|
11212
|
+
*/
|
|
11213
|
+
public static encode(message: google.protobuf.ExtensionRangeOptions.IDeclaration, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
11214
|
+
|
|
11215
|
+
/**
|
|
11216
|
+
* Encodes the specified Declaration message, length delimited. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.Declaration.verify|verify} messages.
|
|
11217
|
+
* @param message Declaration message or plain object to encode
|
|
11218
|
+
* @param [writer] Writer to encode to
|
|
11219
|
+
* @returns Writer
|
|
11220
|
+
*/
|
|
11221
|
+
public static encodeDelimited(message: google.protobuf.ExtensionRangeOptions.IDeclaration, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
11222
|
+
|
|
11223
|
+
/**
|
|
11224
|
+
* Decodes a Declaration message from the specified reader or buffer.
|
|
11225
|
+
* @param reader Reader or buffer to decode from
|
|
11226
|
+
* @param [length] Message length if known beforehand
|
|
11227
|
+
* @returns Declaration
|
|
11228
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11229
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11230
|
+
*/
|
|
11231
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ExtensionRangeOptions.Declaration;
|
|
11232
|
+
|
|
11233
|
+
/**
|
|
11234
|
+
* Decodes a Declaration message from the specified reader or buffer, length delimited.
|
|
11235
|
+
* @param reader Reader or buffer to decode from
|
|
11236
|
+
* @returns Declaration
|
|
11237
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11238
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11239
|
+
*/
|
|
11240
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ExtensionRangeOptions.Declaration;
|
|
11241
|
+
|
|
11242
|
+
/**
|
|
11243
|
+
* Verifies a Declaration message.
|
|
11244
|
+
* @param message Plain object to verify
|
|
11245
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
11246
|
+
*/
|
|
11247
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
11248
|
+
|
|
11249
|
+
/**
|
|
11250
|
+
* Creates a Declaration message from a plain object. Also converts values to their respective internal types.
|
|
11251
|
+
* @param object Plain object
|
|
11252
|
+
* @returns Declaration
|
|
11253
|
+
*/
|
|
11254
|
+
public static fromObject(object: { [k: string]: any }): google.protobuf.ExtensionRangeOptions.Declaration;
|
|
11255
|
+
|
|
11256
|
+
/**
|
|
11257
|
+
* Creates a plain object from a Declaration message. Also converts values to other types if specified.
|
|
11258
|
+
* @param message Declaration
|
|
11259
|
+
* @param [options] Conversion options
|
|
11260
|
+
* @returns Plain object
|
|
11261
|
+
*/
|
|
11262
|
+
public static toObject(message: google.protobuf.ExtensionRangeOptions.Declaration, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
11263
|
+
|
|
11264
|
+
/**
|
|
11265
|
+
* Converts this Declaration to JSON.
|
|
11266
|
+
* @returns JSON object
|
|
11267
|
+
*/
|
|
11268
|
+
public toJSON(): { [k: string]: any };
|
|
11269
|
+
|
|
11270
|
+
/**
|
|
11271
|
+
* Gets the default type url for Declaration
|
|
11272
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
11273
|
+
* @returns The default type url
|
|
11274
|
+
*/
|
|
11275
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
11276
|
+
}
|
|
11277
|
+
|
|
11278
|
+
/** VerificationState enum. */
|
|
11279
|
+
enum VerificationState {
|
|
11280
|
+
DECLARATION = 0,
|
|
11281
|
+
UNVERIFIED = 1
|
|
11282
|
+
}
|
|
11283
|
+
}
|
|
11284
|
+
|
|
11098
11285
|
/** Properties of a FieldDescriptorProto. */
|
|
11099
11286
|
interface IFieldDescriptorProto {
|
|
11100
11287
|
|
|
@@ -12022,6 +12209,9 @@ export namespace google {
|
|
|
12022
12209
|
/** FileOptions rubyPackage */
|
|
12023
12210
|
rubyPackage?: (string|null);
|
|
12024
12211
|
|
|
12212
|
+
/** FileOptions features */
|
|
12213
|
+
features?: (google.protobuf.IFeatureSet|null);
|
|
12214
|
+
|
|
12025
12215
|
/** FileOptions uninterpretedOption */
|
|
12026
12216
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
12027
12217
|
|
|
@@ -12098,6 +12288,9 @@ export namespace google {
|
|
|
12098
12288
|
/** FileOptions rubyPackage. */
|
|
12099
12289
|
public rubyPackage: string;
|
|
12100
12290
|
|
|
12291
|
+
/** FileOptions features. */
|
|
12292
|
+
public features?: (google.protobuf.IFeatureSet|null);
|
|
12293
|
+
|
|
12101
12294
|
/** FileOptions uninterpretedOption. */
|
|
12102
12295
|
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
12103
12296
|
|
|
@@ -12207,6 +12400,9 @@ export namespace google {
|
|
|
12207
12400
|
/** MessageOptions deprecatedLegacyJsonFieldConflicts */
|
|
12208
12401
|
deprecatedLegacyJsonFieldConflicts?: (boolean|null);
|
|
12209
12402
|
|
|
12403
|
+
/** MessageOptions features */
|
|
12404
|
+
features?: (google.protobuf.IFeatureSet|null);
|
|
12405
|
+
|
|
12210
12406
|
/** MessageOptions uninterpretedOption */
|
|
12211
12407
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
12212
12408
|
|
|
@@ -12238,6 +12434,9 @@ export namespace google {
|
|
|
12238
12434
|
/** MessageOptions deprecatedLegacyJsonFieldConflicts. */
|
|
12239
12435
|
public deprecatedLegacyJsonFieldConflicts: boolean;
|
|
12240
12436
|
|
|
12437
|
+
/** MessageOptions features. */
|
|
12438
|
+
public features?: (google.protobuf.IFeatureSet|null);
|
|
12439
|
+
|
|
12241
12440
|
/** MessageOptions uninterpretedOption. */
|
|
12242
12441
|
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
12243
12442
|
|
|
@@ -12349,8 +12548,14 @@ export namespace google {
|
|
|
12349
12548
|
/** FieldOptions retention */
|
|
12350
12549
|
retention?: (google.protobuf.FieldOptions.OptionRetention|keyof typeof google.protobuf.FieldOptions.OptionRetention|null);
|
|
12351
12550
|
|
|
12352
|
-
/** FieldOptions
|
|
12353
|
-
|
|
12551
|
+
/** FieldOptions targets */
|
|
12552
|
+
targets?: (google.protobuf.FieldOptions.OptionTargetType[]|null);
|
|
12553
|
+
|
|
12554
|
+
/** FieldOptions editionDefaults */
|
|
12555
|
+
editionDefaults?: (google.protobuf.FieldOptions.IEditionDefault[]|null);
|
|
12556
|
+
|
|
12557
|
+
/** FieldOptions features */
|
|
12558
|
+
features?: (google.protobuf.IFeatureSet|null);
|
|
12354
12559
|
|
|
12355
12560
|
/** FieldOptions uninterpretedOption */
|
|
12356
12561
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
@@ -12398,8 +12603,14 @@ export namespace google {
|
|
|
12398
12603
|
/** FieldOptions retention. */
|
|
12399
12604
|
public retention: (google.protobuf.FieldOptions.OptionRetention|keyof typeof google.protobuf.FieldOptions.OptionRetention);
|
|
12400
12605
|
|
|
12401
|
-
/** FieldOptions
|
|
12402
|
-
public
|
|
12606
|
+
/** FieldOptions targets. */
|
|
12607
|
+
public targets: google.protobuf.FieldOptions.OptionTargetType[];
|
|
12608
|
+
|
|
12609
|
+
/** FieldOptions editionDefaults. */
|
|
12610
|
+
public editionDefaults: google.protobuf.FieldOptions.IEditionDefault[];
|
|
12611
|
+
|
|
12612
|
+
/** FieldOptions features. */
|
|
12613
|
+
public features?: (google.protobuf.IFeatureSet|null);
|
|
12403
12614
|
|
|
12404
12615
|
/** FieldOptions uninterpretedOption. */
|
|
12405
12616
|
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
@@ -12518,11 +12729,117 @@ export namespace google {
|
|
|
12518
12729
|
TARGET_TYPE_SERVICE = 8,
|
|
12519
12730
|
TARGET_TYPE_METHOD = 9
|
|
12520
12731
|
}
|
|
12732
|
+
|
|
12733
|
+
/** Properties of an EditionDefault. */
|
|
12734
|
+
interface IEditionDefault {
|
|
12735
|
+
|
|
12736
|
+
/** EditionDefault edition */
|
|
12737
|
+
edition?: (string|null);
|
|
12738
|
+
|
|
12739
|
+
/** EditionDefault value */
|
|
12740
|
+
value?: (string|null);
|
|
12741
|
+
}
|
|
12742
|
+
|
|
12743
|
+
/** Represents an EditionDefault. */
|
|
12744
|
+
class EditionDefault implements IEditionDefault {
|
|
12745
|
+
|
|
12746
|
+
/**
|
|
12747
|
+
* Constructs a new EditionDefault.
|
|
12748
|
+
* @param [properties] Properties to set
|
|
12749
|
+
*/
|
|
12750
|
+
constructor(properties?: google.protobuf.FieldOptions.IEditionDefault);
|
|
12751
|
+
|
|
12752
|
+
/** EditionDefault edition. */
|
|
12753
|
+
public edition: string;
|
|
12754
|
+
|
|
12755
|
+
/** EditionDefault value. */
|
|
12756
|
+
public value: string;
|
|
12757
|
+
|
|
12758
|
+
/**
|
|
12759
|
+
* Creates a new EditionDefault instance using the specified properties.
|
|
12760
|
+
* @param [properties] Properties to set
|
|
12761
|
+
* @returns EditionDefault instance
|
|
12762
|
+
*/
|
|
12763
|
+
public static create(properties?: google.protobuf.FieldOptions.IEditionDefault): google.protobuf.FieldOptions.EditionDefault;
|
|
12764
|
+
|
|
12765
|
+
/**
|
|
12766
|
+
* Encodes the specified EditionDefault message. Does not implicitly {@link google.protobuf.FieldOptions.EditionDefault.verify|verify} messages.
|
|
12767
|
+
* @param message EditionDefault message or plain object to encode
|
|
12768
|
+
* @param [writer] Writer to encode to
|
|
12769
|
+
* @returns Writer
|
|
12770
|
+
*/
|
|
12771
|
+
public static encode(message: google.protobuf.FieldOptions.IEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12772
|
+
|
|
12773
|
+
/**
|
|
12774
|
+
* Encodes the specified EditionDefault message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.EditionDefault.verify|verify} messages.
|
|
12775
|
+
* @param message EditionDefault message or plain object to encode
|
|
12776
|
+
* @param [writer] Writer to encode to
|
|
12777
|
+
* @returns Writer
|
|
12778
|
+
*/
|
|
12779
|
+
public static encodeDelimited(message: google.protobuf.FieldOptions.IEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12780
|
+
|
|
12781
|
+
/**
|
|
12782
|
+
* Decodes an EditionDefault message from the specified reader or buffer.
|
|
12783
|
+
* @param reader Reader or buffer to decode from
|
|
12784
|
+
* @param [length] Message length if known beforehand
|
|
12785
|
+
* @returns EditionDefault
|
|
12786
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12787
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12788
|
+
*/
|
|
12789
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions.EditionDefault;
|
|
12790
|
+
|
|
12791
|
+
/**
|
|
12792
|
+
* Decodes an EditionDefault message from the specified reader or buffer, length delimited.
|
|
12793
|
+
* @param reader Reader or buffer to decode from
|
|
12794
|
+
* @returns EditionDefault
|
|
12795
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12796
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12797
|
+
*/
|
|
12798
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions.EditionDefault;
|
|
12799
|
+
|
|
12800
|
+
/**
|
|
12801
|
+
* Verifies an EditionDefault message.
|
|
12802
|
+
* @param message Plain object to verify
|
|
12803
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
12804
|
+
*/
|
|
12805
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
12806
|
+
|
|
12807
|
+
/**
|
|
12808
|
+
* Creates an EditionDefault message from a plain object. Also converts values to their respective internal types.
|
|
12809
|
+
* @param object Plain object
|
|
12810
|
+
* @returns EditionDefault
|
|
12811
|
+
*/
|
|
12812
|
+
public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions.EditionDefault;
|
|
12813
|
+
|
|
12814
|
+
/**
|
|
12815
|
+
* Creates a plain object from an EditionDefault message. Also converts values to other types if specified.
|
|
12816
|
+
* @param message EditionDefault
|
|
12817
|
+
* @param [options] Conversion options
|
|
12818
|
+
* @returns Plain object
|
|
12819
|
+
*/
|
|
12820
|
+
public static toObject(message: google.protobuf.FieldOptions.EditionDefault, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
12821
|
+
|
|
12822
|
+
/**
|
|
12823
|
+
* Converts this EditionDefault to JSON.
|
|
12824
|
+
* @returns JSON object
|
|
12825
|
+
*/
|
|
12826
|
+
public toJSON(): { [k: string]: any };
|
|
12827
|
+
|
|
12828
|
+
/**
|
|
12829
|
+
* Gets the default type url for EditionDefault
|
|
12830
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
12831
|
+
* @returns The default type url
|
|
12832
|
+
*/
|
|
12833
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
12834
|
+
}
|
|
12521
12835
|
}
|
|
12522
12836
|
|
|
12523
12837
|
/** Properties of an OneofOptions. */
|
|
12524
12838
|
interface IOneofOptions {
|
|
12525
12839
|
|
|
12840
|
+
/** OneofOptions features */
|
|
12841
|
+
features?: (google.protobuf.IFeatureSet|null);
|
|
12842
|
+
|
|
12526
12843
|
/** OneofOptions uninterpretedOption */
|
|
12527
12844
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
12528
12845
|
}
|
|
@@ -12536,6 +12853,9 @@ export namespace google {
|
|
|
12536
12853
|
*/
|
|
12537
12854
|
constructor(properties?: google.protobuf.IOneofOptions);
|
|
12538
12855
|
|
|
12856
|
+
/** OneofOptions features. */
|
|
12857
|
+
public features?: (google.protobuf.IFeatureSet|null);
|
|
12858
|
+
|
|
12539
12859
|
/** OneofOptions uninterpretedOption. */
|
|
12540
12860
|
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
12541
12861
|
|
|
@@ -12629,6 +12949,9 @@ export namespace google {
|
|
|
12629
12949
|
/** EnumOptions deprecatedLegacyJsonFieldConflicts */
|
|
12630
12950
|
deprecatedLegacyJsonFieldConflicts?: (boolean|null);
|
|
12631
12951
|
|
|
12952
|
+
/** EnumOptions features */
|
|
12953
|
+
features?: (google.protobuf.IFeatureSet|null);
|
|
12954
|
+
|
|
12632
12955
|
/** EnumOptions uninterpretedOption */
|
|
12633
12956
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
12634
12957
|
}
|
|
@@ -12651,6 +12974,9 @@ export namespace google {
|
|
|
12651
12974
|
/** EnumOptions deprecatedLegacyJsonFieldConflicts. */
|
|
12652
12975
|
public deprecatedLegacyJsonFieldConflicts: boolean;
|
|
12653
12976
|
|
|
12977
|
+
/** EnumOptions features. */
|
|
12978
|
+
public features?: (google.protobuf.IFeatureSet|null);
|
|
12979
|
+
|
|
12654
12980
|
/** EnumOptions uninterpretedOption. */
|
|
12655
12981
|
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
12656
12982
|
|
|
@@ -12738,6 +13064,12 @@ export namespace google {
|
|
|
12738
13064
|
/** EnumValueOptions deprecated */
|
|
12739
13065
|
deprecated?: (boolean|null);
|
|
12740
13066
|
|
|
13067
|
+
/** EnumValueOptions features */
|
|
13068
|
+
features?: (google.protobuf.IFeatureSet|null);
|
|
13069
|
+
|
|
13070
|
+
/** EnumValueOptions debugRedact */
|
|
13071
|
+
debugRedact?: (boolean|null);
|
|
13072
|
+
|
|
12741
13073
|
/** EnumValueOptions uninterpretedOption */
|
|
12742
13074
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
12743
13075
|
}
|
|
@@ -12754,6 +13086,12 @@ export namespace google {
|
|
|
12754
13086
|
/** EnumValueOptions deprecated. */
|
|
12755
13087
|
public deprecated: boolean;
|
|
12756
13088
|
|
|
13089
|
+
/** EnumValueOptions features. */
|
|
13090
|
+
public features?: (google.protobuf.IFeatureSet|null);
|
|
13091
|
+
|
|
13092
|
+
/** EnumValueOptions debugRedact. */
|
|
13093
|
+
public debugRedact: boolean;
|
|
13094
|
+
|
|
12757
13095
|
/** EnumValueOptions uninterpretedOption. */
|
|
12758
13096
|
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
12759
13097
|
|
|
@@ -12838,6 +13176,9 @@ export namespace google {
|
|
|
12838
13176
|
/** Properties of a ServiceOptions. */
|
|
12839
13177
|
interface IServiceOptions {
|
|
12840
13178
|
|
|
13179
|
+
/** ServiceOptions features */
|
|
13180
|
+
features?: (google.protobuf.IFeatureSet|null);
|
|
13181
|
+
|
|
12841
13182
|
/** ServiceOptions deprecated */
|
|
12842
13183
|
deprecated?: (boolean|null);
|
|
12843
13184
|
|
|
@@ -12860,6 +13201,9 @@ export namespace google {
|
|
|
12860
13201
|
*/
|
|
12861
13202
|
constructor(properties?: google.protobuf.IServiceOptions);
|
|
12862
13203
|
|
|
13204
|
+
/** ServiceOptions features. */
|
|
13205
|
+
public features?: (google.protobuf.IFeatureSet|null);
|
|
13206
|
+
|
|
12863
13207
|
/** ServiceOptions deprecated. */
|
|
12864
13208
|
public deprecated: boolean;
|
|
12865
13209
|
|
|
@@ -12953,6 +13297,9 @@ export namespace google {
|
|
|
12953
13297
|
/** MethodOptions idempotencyLevel */
|
|
12954
13298
|
idempotencyLevel?: (google.protobuf.MethodOptions.IdempotencyLevel|keyof typeof google.protobuf.MethodOptions.IdempotencyLevel|null);
|
|
12955
13299
|
|
|
13300
|
+
/** MethodOptions features */
|
|
13301
|
+
features?: (google.protobuf.IFeatureSet|null);
|
|
13302
|
+
|
|
12956
13303
|
/** MethodOptions uninterpretedOption */
|
|
12957
13304
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
12958
13305
|
|
|
@@ -12978,6 +13325,9 @@ export namespace google {
|
|
|
12978
13325
|
/** MethodOptions idempotencyLevel. */
|
|
12979
13326
|
public idempotencyLevel: (google.protobuf.MethodOptions.IdempotencyLevel|keyof typeof google.protobuf.MethodOptions.IdempotencyLevel);
|
|
12980
13327
|
|
|
13328
|
+
/** MethodOptions features. */
|
|
13329
|
+
public features?: (google.protobuf.IFeatureSet|null);
|
|
13330
|
+
|
|
12981
13331
|
/** MethodOptions uninterpretedOption. */
|
|
12982
13332
|
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
12983
13333
|
|
|
@@ -13308,6 +13658,186 @@ export namespace google {
|
|
|
13308
13658
|
}
|
|
13309
13659
|
}
|
|
13310
13660
|
|
|
13661
|
+
/** Properties of a FeatureSet. */
|
|
13662
|
+
interface IFeatureSet {
|
|
13663
|
+
|
|
13664
|
+
/** FeatureSet fieldPresence */
|
|
13665
|
+
fieldPresence?: (google.protobuf.FeatureSet.FieldPresence|keyof typeof google.protobuf.FeatureSet.FieldPresence|null);
|
|
13666
|
+
|
|
13667
|
+
/** FeatureSet enumType */
|
|
13668
|
+
enumType?: (google.protobuf.FeatureSet.EnumType|keyof typeof google.protobuf.FeatureSet.EnumType|null);
|
|
13669
|
+
|
|
13670
|
+
/** FeatureSet repeatedFieldEncoding */
|
|
13671
|
+
repeatedFieldEncoding?: (google.protobuf.FeatureSet.RepeatedFieldEncoding|keyof typeof google.protobuf.FeatureSet.RepeatedFieldEncoding|null);
|
|
13672
|
+
|
|
13673
|
+
/** FeatureSet stringFieldValidation */
|
|
13674
|
+
stringFieldValidation?: (google.protobuf.FeatureSet.StringFieldValidation|keyof typeof google.protobuf.FeatureSet.StringFieldValidation|null);
|
|
13675
|
+
|
|
13676
|
+
/** FeatureSet messageEncoding */
|
|
13677
|
+
messageEncoding?: (google.protobuf.FeatureSet.MessageEncoding|keyof typeof google.protobuf.FeatureSet.MessageEncoding|null);
|
|
13678
|
+
|
|
13679
|
+
/** FeatureSet jsonFormat */
|
|
13680
|
+
jsonFormat?: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat|null);
|
|
13681
|
+
|
|
13682
|
+
/** FeatureSet rawFeatures */
|
|
13683
|
+
rawFeatures?: (google.protobuf.IFeatureSet|null);
|
|
13684
|
+
}
|
|
13685
|
+
|
|
13686
|
+
/** Represents a FeatureSet. */
|
|
13687
|
+
class FeatureSet implements IFeatureSet {
|
|
13688
|
+
|
|
13689
|
+
/**
|
|
13690
|
+
* Constructs a new FeatureSet.
|
|
13691
|
+
* @param [properties] Properties to set
|
|
13692
|
+
*/
|
|
13693
|
+
constructor(properties?: google.protobuf.IFeatureSet);
|
|
13694
|
+
|
|
13695
|
+
/** FeatureSet fieldPresence. */
|
|
13696
|
+
public fieldPresence: (google.protobuf.FeatureSet.FieldPresence|keyof typeof google.protobuf.FeatureSet.FieldPresence);
|
|
13697
|
+
|
|
13698
|
+
/** FeatureSet enumType. */
|
|
13699
|
+
public enumType: (google.protobuf.FeatureSet.EnumType|keyof typeof google.protobuf.FeatureSet.EnumType);
|
|
13700
|
+
|
|
13701
|
+
/** FeatureSet repeatedFieldEncoding. */
|
|
13702
|
+
public repeatedFieldEncoding: (google.protobuf.FeatureSet.RepeatedFieldEncoding|keyof typeof google.protobuf.FeatureSet.RepeatedFieldEncoding);
|
|
13703
|
+
|
|
13704
|
+
/** FeatureSet stringFieldValidation. */
|
|
13705
|
+
public stringFieldValidation: (google.protobuf.FeatureSet.StringFieldValidation|keyof typeof google.protobuf.FeatureSet.StringFieldValidation);
|
|
13706
|
+
|
|
13707
|
+
/** FeatureSet messageEncoding. */
|
|
13708
|
+
public messageEncoding: (google.protobuf.FeatureSet.MessageEncoding|keyof typeof google.protobuf.FeatureSet.MessageEncoding);
|
|
13709
|
+
|
|
13710
|
+
/** FeatureSet jsonFormat. */
|
|
13711
|
+
public jsonFormat: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat);
|
|
13712
|
+
|
|
13713
|
+
/** FeatureSet rawFeatures. */
|
|
13714
|
+
public rawFeatures?: (google.protobuf.IFeatureSet|null);
|
|
13715
|
+
|
|
13716
|
+
/**
|
|
13717
|
+
* Creates a new FeatureSet instance using the specified properties.
|
|
13718
|
+
* @param [properties] Properties to set
|
|
13719
|
+
* @returns FeatureSet instance
|
|
13720
|
+
*/
|
|
13721
|
+
public static create(properties?: google.protobuf.IFeatureSet): google.protobuf.FeatureSet;
|
|
13722
|
+
|
|
13723
|
+
/**
|
|
13724
|
+
* Encodes the specified FeatureSet message. Does not implicitly {@link google.protobuf.FeatureSet.verify|verify} messages.
|
|
13725
|
+
* @param message FeatureSet message or plain object to encode
|
|
13726
|
+
* @param [writer] Writer to encode to
|
|
13727
|
+
* @returns Writer
|
|
13728
|
+
*/
|
|
13729
|
+
public static encode(message: google.protobuf.IFeatureSet, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13730
|
+
|
|
13731
|
+
/**
|
|
13732
|
+
* Encodes the specified FeatureSet message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.verify|verify} messages.
|
|
13733
|
+
* @param message FeatureSet message or plain object to encode
|
|
13734
|
+
* @param [writer] Writer to encode to
|
|
13735
|
+
* @returns Writer
|
|
13736
|
+
*/
|
|
13737
|
+
public static encodeDelimited(message: google.protobuf.IFeatureSet, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13738
|
+
|
|
13739
|
+
/**
|
|
13740
|
+
* Decodes a FeatureSet message from the specified reader or buffer.
|
|
13741
|
+
* @param reader Reader or buffer to decode from
|
|
13742
|
+
* @param [length] Message length if known beforehand
|
|
13743
|
+
* @returns FeatureSet
|
|
13744
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13745
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13746
|
+
*/
|
|
13747
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSet;
|
|
13748
|
+
|
|
13749
|
+
/**
|
|
13750
|
+
* Decodes a FeatureSet message from the specified reader or buffer, length delimited.
|
|
13751
|
+
* @param reader Reader or buffer to decode from
|
|
13752
|
+
* @returns FeatureSet
|
|
13753
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13754
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13755
|
+
*/
|
|
13756
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSet;
|
|
13757
|
+
|
|
13758
|
+
/**
|
|
13759
|
+
* Verifies a FeatureSet message.
|
|
13760
|
+
* @param message Plain object to verify
|
|
13761
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
13762
|
+
*/
|
|
13763
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
13764
|
+
|
|
13765
|
+
/**
|
|
13766
|
+
* Creates a FeatureSet message from a plain object. Also converts values to their respective internal types.
|
|
13767
|
+
* @param object Plain object
|
|
13768
|
+
* @returns FeatureSet
|
|
13769
|
+
*/
|
|
13770
|
+
public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSet;
|
|
13771
|
+
|
|
13772
|
+
/**
|
|
13773
|
+
* Creates a plain object from a FeatureSet message. Also converts values to other types if specified.
|
|
13774
|
+
* @param message FeatureSet
|
|
13775
|
+
* @param [options] Conversion options
|
|
13776
|
+
* @returns Plain object
|
|
13777
|
+
*/
|
|
13778
|
+
public static toObject(message: google.protobuf.FeatureSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
13779
|
+
|
|
13780
|
+
/**
|
|
13781
|
+
* Converts this FeatureSet to JSON.
|
|
13782
|
+
* @returns JSON object
|
|
13783
|
+
*/
|
|
13784
|
+
public toJSON(): { [k: string]: any };
|
|
13785
|
+
|
|
13786
|
+
/**
|
|
13787
|
+
* Gets the default type url for FeatureSet
|
|
13788
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
13789
|
+
* @returns The default type url
|
|
13790
|
+
*/
|
|
13791
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
13792
|
+
}
|
|
13793
|
+
|
|
13794
|
+
namespace FeatureSet {
|
|
13795
|
+
|
|
13796
|
+
/** FieldPresence enum. */
|
|
13797
|
+
enum FieldPresence {
|
|
13798
|
+
FIELD_PRESENCE_UNKNOWN = 0,
|
|
13799
|
+
EXPLICIT = 1,
|
|
13800
|
+
IMPLICIT = 2,
|
|
13801
|
+
LEGACY_REQUIRED = 3
|
|
13802
|
+
}
|
|
13803
|
+
|
|
13804
|
+
/** EnumType enum. */
|
|
13805
|
+
enum EnumType {
|
|
13806
|
+
ENUM_TYPE_UNKNOWN = 0,
|
|
13807
|
+
OPEN = 1,
|
|
13808
|
+
CLOSED = 2
|
|
13809
|
+
}
|
|
13810
|
+
|
|
13811
|
+
/** RepeatedFieldEncoding enum. */
|
|
13812
|
+
enum RepeatedFieldEncoding {
|
|
13813
|
+
REPEATED_FIELD_ENCODING_UNKNOWN = 0,
|
|
13814
|
+
PACKED = 1,
|
|
13815
|
+
EXPANDED = 2
|
|
13816
|
+
}
|
|
13817
|
+
|
|
13818
|
+
/** StringFieldValidation enum. */
|
|
13819
|
+
enum StringFieldValidation {
|
|
13820
|
+
STRING_FIELD_VALIDATION_UNKNOWN = 0,
|
|
13821
|
+
MANDATORY = 1,
|
|
13822
|
+
HINT = 2,
|
|
13823
|
+
NONE = 3
|
|
13824
|
+
}
|
|
13825
|
+
|
|
13826
|
+
/** MessageEncoding enum. */
|
|
13827
|
+
enum MessageEncoding {
|
|
13828
|
+
MESSAGE_ENCODING_UNKNOWN = 0,
|
|
13829
|
+
LENGTH_PREFIXED = 1,
|
|
13830
|
+
DELIMITED = 2
|
|
13831
|
+
}
|
|
13832
|
+
|
|
13833
|
+
/** JsonFormat enum. */
|
|
13834
|
+
enum JsonFormat {
|
|
13835
|
+
JSON_FORMAT_UNKNOWN = 0,
|
|
13836
|
+
ALLOW = 1,
|
|
13837
|
+
LEGACY_BEST_EFFORT = 2
|
|
13838
|
+
}
|
|
13839
|
+
}
|
|
13840
|
+
|
|
13311
13841
|
/** Properties of a SourceCodeInfo. */
|
|
13312
13842
|
interface ISourceCodeInfo {
|
|
13313
13843
|
|