@google-cloud/spanner 7.0.0 → 7.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -0
- package/README.md +1 -0
- package/build/protos/google/spanner/admin/instance/v1/spanner_instance_admin.proto +80 -4
- package/build/protos/google/spanner/v1/spanner.proto +318 -142
- package/build/protos/google/spanner/v1/type.proto +6 -1
- package/build/protos/protos.d.ts +1722 -82
- package/build/protos/protos.js +7233 -2692
- package/build/protos/protos.json +520 -7
- package/build/src/common-grpc/service.js +2 -2
- package/build/src/index.d.ts +5 -0
- package/build/src/index.js +5 -0
- package/build/src/session-pool.js +2 -0
- package/build/src/transaction.d.ts +12 -0
- package/build/src/transaction.js +24 -1
- package/build/src/v1/database_admin_client.d.ts +184 -221
- package/build/src/v1/database_admin_client.js +77 -94
- package/build/src/v1/instance_admin_client.d.ts +118 -143
- package/build/src/v1/instance_admin_client.js +41 -52
- package/build/src/v1/spanner_client.d.ts +245 -180
- package/build/src/v1/spanner_client.js +118 -59
- package/build/src/v1/spanner_client_config.json +5 -0
- package/package.json +9 -9
package/build/protos/protos.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2024 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.
|
|
@@ -760,6 +760,15 @@ export namespace google {
|
|
|
760
760
|
|
|
761
761
|
/** ExtensionRangeOptions uninterpretedOption */
|
|
762
762
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
763
|
+
|
|
764
|
+
/** ExtensionRangeOptions declaration */
|
|
765
|
+
declaration?: (google.protobuf.ExtensionRangeOptions.IDeclaration[]|null);
|
|
766
|
+
|
|
767
|
+
/** ExtensionRangeOptions features */
|
|
768
|
+
features?: (google.protobuf.IFeatureSet|null);
|
|
769
|
+
|
|
770
|
+
/** ExtensionRangeOptions verification */
|
|
771
|
+
verification?: (google.protobuf.ExtensionRangeOptions.VerificationState|keyof typeof google.protobuf.ExtensionRangeOptions.VerificationState|null);
|
|
763
772
|
}
|
|
764
773
|
|
|
765
774
|
/** Represents an ExtensionRangeOptions. */
|
|
@@ -774,6 +783,15 @@ export namespace google {
|
|
|
774
783
|
/** ExtensionRangeOptions uninterpretedOption. */
|
|
775
784
|
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
776
785
|
|
|
786
|
+
/** ExtensionRangeOptions declaration. */
|
|
787
|
+
public declaration: google.protobuf.ExtensionRangeOptions.IDeclaration[];
|
|
788
|
+
|
|
789
|
+
/** ExtensionRangeOptions features. */
|
|
790
|
+
public features?: (google.protobuf.IFeatureSet|null);
|
|
791
|
+
|
|
792
|
+
/** ExtensionRangeOptions verification. */
|
|
793
|
+
public verification: (google.protobuf.ExtensionRangeOptions.VerificationState|keyof typeof google.protobuf.ExtensionRangeOptions.VerificationState);
|
|
794
|
+
|
|
777
795
|
/**
|
|
778
796
|
* Creates a new ExtensionRangeOptions instance using the specified properties.
|
|
779
797
|
* @param [properties] Properties to set
|
|
@@ -852,6 +870,136 @@ export namespace google {
|
|
|
852
870
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
853
871
|
}
|
|
854
872
|
|
|
873
|
+
namespace ExtensionRangeOptions {
|
|
874
|
+
|
|
875
|
+
/** Properties of a Declaration. */
|
|
876
|
+
interface IDeclaration {
|
|
877
|
+
|
|
878
|
+
/** Declaration number */
|
|
879
|
+
number?: (number|null);
|
|
880
|
+
|
|
881
|
+
/** Declaration fullName */
|
|
882
|
+
fullName?: (string|null);
|
|
883
|
+
|
|
884
|
+
/** Declaration type */
|
|
885
|
+
type?: (string|null);
|
|
886
|
+
|
|
887
|
+
/** Declaration reserved */
|
|
888
|
+
reserved?: (boolean|null);
|
|
889
|
+
|
|
890
|
+
/** Declaration repeated */
|
|
891
|
+
repeated?: (boolean|null);
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
/** Represents a Declaration. */
|
|
895
|
+
class Declaration implements IDeclaration {
|
|
896
|
+
|
|
897
|
+
/**
|
|
898
|
+
* Constructs a new Declaration.
|
|
899
|
+
* @param [properties] Properties to set
|
|
900
|
+
*/
|
|
901
|
+
constructor(properties?: google.protobuf.ExtensionRangeOptions.IDeclaration);
|
|
902
|
+
|
|
903
|
+
/** Declaration number. */
|
|
904
|
+
public number: number;
|
|
905
|
+
|
|
906
|
+
/** Declaration fullName. */
|
|
907
|
+
public fullName: string;
|
|
908
|
+
|
|
909
|
+
/** Declaration type. */
|
|
910
|
+
public type: string;
|
|
911
|
+
|
|
912
|
+
/** Declaration reserved. */
|
|
913
|
+
public reserved: boolean;
|
|
914
|
+
|
|
915
|
+
/** Declaration repeated. */
|
|
916
|
+
public repeated: boolean;
|
|
917
|
+
|
|
918
|
+
/**
|
|
919
|
+
* Creates a new Declaration instance using the specified properties.
|
|
920
|
+
* @param [properties] Properties to set
|
|
921
|
+
* @returns Declaration instance
|
|
922
|
+
*/
|
|
923
|
+
public static create(properties?: google.protobuf.ExtensionRangeOptions.IDeclaration): google.protobuf.ExtensionRangeOptions.Declaration;
|
|
924
|
+
|
|
925
|
+
/**
|
|
926
|
+
* Encodes the specified Declaration message. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.Declaration.verify|verify} messages.
|
|
927
|
+
* @param message Declaration message or plain object to encode
|
|
928
|
+
* @param [writer] Writer to encode to
|
|
929
|
+
* @returns Writer
|
|
930
|
+
*/
|
|
931
|
+
public static encode(message: google.protobuf.ExtensionRangeOptions.IDeclaration, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
932
|
+
|
|
933
|
+
/**
|
|
934
|
+
* Encodes the specified Declaration message, length delimited. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.Declaration.verify|verify} messages.
|
|
935
|
+
* @param message Declaration message or plain object to encode
|
|
936
|
+
* @param [writer] Writer to encode to
|
|
937
|
+
* @returns Writer
|
|
938
|
+
*/
|
|
939
|
+
public static encodeDelimited(message: google.protobuf.ExtensionRangeOptions.IDeclaration, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
940
|
+
|
|
941
|
+
/**
|
|
942
|
+
* Decodes a Declaration message from the specified reader or buffer.
|
|
943
|
+
* @param reader Reader or buffer to decode from
|
|
944
|
+
* @param [length] Message length if known beforehand
|
|
945
|
+
* @returns Declaration
|
|
946
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
947
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
948
|
+
*/
|
|
949
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ExtensionRangeOptions.Declaration;
|
|
950
|
+
|
|
951
|
+
/**
|
|
952
|
+
* Decodes a Declaration message from the specified reader or buffer, length delimited.
|
|
953
|
+
* @param reader Reader or buffer to decode from
|
|
954
|
+
* @returns Declaration
|
|
955
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
956
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
957
|
+
*/
|
|
958
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ExtensionRangeOptions.Declaration;
|
|
959
|
+
|
|
960
|
+
/**
|
|
961
|
+
* Verifies a Declaration message.
|
|
962
|
+
* @param message Plain object to verify
|
|
963
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
964
|
+
*/
|
|
965
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
966
|
+
|
|
967
|
+
/**
|
|
968
|
+
* Creates a Declaration message from a plain object. Also converts values to their respective internal types.
|
|
969
|
+
* @param object Plain object
|
|
970
|
+
* @returns Declaration
|
|
971
|
+
*/
|
|
972
|
+
public static fromObject(object: { [k: string]: any }): google.protobuf.ExtensionRangeOptions.Declaration;
|
|
973
|
+
|
|
974
|
+
/**
|
|
975
|
+
* Creates a plain object from a Declaration message. Also converts values to other types if specified.
|
|
976
|
+
* @param message Declaration
|
|
977
|
+
* @param [options] Conversion options
|
|
978
|
+
* @returns Plain object
|
|
979
|
+
*/
|
|
980
|
+
public static toObject(message: google.protobuf.ExtensionRangeOptions.Declaration, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
981
|
+
|
|
982
|
+
/**
|
|
983
|
+
* Converts this Declaration to JSON.
|
|
984
|
+
* @returns JSON object
|
|
985
|
+
*/
|
|
986
|
+
public toJSON(): { [k: string]: any };
|
|
987
|
+
|
|
988
|
+
/**
|
|
989
|
+
* Gets the default type url for Declaration
|
|
990
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
991
|
+
* @returns The default type url
|
|
992
|
+
*/
|
|
993
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
/** VerificationState enum. */
|
|
997
|
+
enum VerificationState {
|
|
998
|
+
DECLARATION = 0,
|
|
999
|
+
UNVERIFIED = 1
|
|
1000
|
+
}
|
|
1001
|
+
}
|
|
1002
|
+
|
|
855
1003
|
/** Properties of a FieldDescriptorProto. */
|
|
856
1004
|
interface IFieldDescriptorProto {
|
|
857
1005
|
|
|
@@ -1779,6 +1927,9 @@ export namespace google {
|
|
|
1779
1927
|
/** FileOptions rubyPackage */
|
|
1780
1928
|
rubyPackage?: (string|null);
|
|
1781
1929
|
|
|
1930
|
+
/** FileOptions features */
|
|
1931
|
+
features?: (google.protobuf.IFeatureSet|null);
|
|
1932
|
+
|
|
1782
1933
|
/** FileOptions uninterpretedOption */
|
|
1783
1934
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
1784
1935
|
|
|
@@ -1855,6 +2006,9 @@ export namespace google {
|
|
|
1855
2006
|
/** FileOptions rubyPackage. */
|
|
1856
2007
|
public rubyPackage: string;
|
|
1857
2008
|
|
|
2009
|
+
/** FileOptions features. */
|
|
2010
|
+
public features?: (google.protobuf.IFeatureSet|null);
|
|
2011
|
+
|
|
1858
2012
|
/** FileOptions uninterpretedOption. */
|
|
1859
2013
|
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
1860
2014
|
|
|
@@ -1964,6 +2118,9 @@ export namespace google {
|
|
|
1964
2118
|
/** MessageOptions deprecatedLegacyJsonFieldConflicts */
|
|
1965
2119
|
deprecatedLegacyJsonFieldConflicts?: (boolean|null);
|
|
1966
2120
|
|
|
2121
|
+
/** MessageOptions features */
|
|
2122
|
+
features?: (google.protobuf.IFeatureSet|null);
|
|
2123
|
+
|
|
1967
2124
|
/** MessageOptions uninterpretedOption */
|
|
1968
2125
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
1969
2126
|
|
|
@@ -1995,6 +2152,9 @@ export namespace google {
|
|
|
1995
2152
|
/** MessageOptions deprecatedLegacyJsonFieldConflicts. */
|
|
1996
2153
|
public deprecatedLegacyJsonFieldConflicts: boolean;
|
|
1997
2154
|
|
|
2155
|
+
/** MessageOptions features. */
|
|
2156
|
+
public features?: (google.protobuf.IFeatureSet|null);
|
|
2157
|
+
|
|
1998
2158
|
/** MessageOptions uninterpretedOption. */
|
|
1999
2159
|
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
2000
2160
|
|
|
@@ -2106,8 +2266,14 @@ export namespace google {
|
|
|
2106
2266
|
/** FieldOptions retention */
|
|
2107
2267
|
retention?: (google.protobuf.FieldOptions.OptionRetention|keyof typeof google.protobuf.FieldOptions.OptionRetention|null);
|
|
2108
2268
|
|
|
2109
|
-
/** FieldOptions
|
|
2110
|
-
|
|
2269
|
+
/** FieldOptions targets */
|
|
2270
|
+
targets?: (google.protobuf.FieldOptions.OptionTargetType[]|null);
|
|
2271
|
+
|
|
2272
|
+
/** FieldOptions editionDefaults */
|
|
2273
|
+
editionDefaults?: (google.protobuf.FieldOptions.IEditionDefault[]|null);
|
|
2274
|
+
|
|
2275
|
+
/** FieldOptions features */
|
|
2276
|
+
features?: (google.protobuf.IFeatureSet|null);
|
|
2111
2277
|
|
|
2112
2278
|
/** FieldOptions uninterpretedOption */
|
|
2113
2279
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
@@ -2155,8 +2321,14 @@ export namespace google {
|
|
|
2155
2321
|
/** FieldOptions retention. */
|
|
2156
2322
|
public retention: (google.protobuf.FieldOptions.OptionRetention|keyof typeof google.protobuf.FieldOptions.OptionRetention);
|
|
2157
2323
|
|
|
2158
|
-
/** FieldOptions
|
|
2159
|
-
public
|
|
2324
|
+
/** FieldOptions targets. */
|
|
2325
|
+
public targets: google.protobuf.FieldOptions.OptionTargetType[];
|
|
2326
|
+
|
|
2327
|
+
/** FieldOptions editionDefaults. */
|
|
2328
|
+
public editionDefaults: google.protobuf.FieldOptions.IEditionDefault[];
|
|
2329
|
+
|
|
2330
|
+
/** FieldOptions features. */
|
|
2331
|
+
public features?: (google.protobuf.IFeatureSet|null);
|
|
2160
2332
|
|
|
2161
2333
|
/** FieldOptions uninterpretedOption. */
|
|
2162
2334
|
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
@@ -2275,11 +2447,117 @@ export namespace google {
|
|
|
2275
2447
|
TARGET_TYPE_SERVICE = 8,
|
|
2276
2448
|
TARGET_TYPE_METHOD = 9
|
|
2277
2449
|
}
|
|
2450
|
+
|
|
2451
|
+
/** Properties of an EditionDefault. */
|
|
2452
|
+
interface IEditionDefault {
|
|
2453
|
+
|
|
2454
|
+
/** EditionDefault edition */
|
|
2455
|
+
edition?: (string|null);
|
|
2456
|
+
|
|
2457
|
+
/** EditionDefault value */
|
|
2458
|
+
value?: (string|null);
|
|
2459
|
+
}
|
|
2460
|
+
|
|
2461
|
+
/** Represents an EditionDefault. */
|
|
2462
|
+
class EditionDefault implements IEditionDefault {
|
|
2463
|
+
|
|
2464
|
+
/**
|
|
2465
|
+
* Constructs a new EditionDefault.
|
|
2466
|
+
* @param [properties] Properties to set
|
|
2467
|
+
*/
|
|
2468
|
+
constructor(properties?: google.protobuf.FieldOptions.IEditionDefault);
|
|
2469
|
+
|
|
2470
|
+
/** EditionDefault edition. */
|
|
2471
|
+
public edition: string;
|
|
2472
|
+
|
|
2473
|
+
/** EditionDefault value. */
|
|
2474
|
+
public value: string;
|
|
2475
|
+
|
|
2476
|
+
/**
|
|
2477
|
+
* Creates a new EditionDefault instance using the specified properties.
|
|
2478
|
+
* @param [properties] Properties to set
|
|
2479
|
+
* @returns EditionDefault instance
|
|
2480
|
+
*/
|
|
2481
|
+
public static create(properties?: google.protobuf.FieldOptions.IEditionDefault): google.protobuf.FieldOptions.EditionDefault;
|
|
2482
|
+
|
|
2483
|
+
/**
|
|
2484
|
+
* Encodes the specified EditionDefault message. Does not implicitly {@link google.protobuf.FieldOptions.EditionDefault.verify|verify} messages.
|
|
2485
|
+
* @param message EditionDefault message or plain object to encode
|
|
2486
|
+
* @param [writer] Writer to encode to
|
|
2487
|
+
* @returns Writer
|
|
2488
|
+
*/
|
|
2489
|
+
public static encode(message: google.protobuf.FieldOptions.IEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2490
|
+
|
|
2491
|
+
/**
|
|
2492
|
+
* Encodes the specified EditionDefault message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.EditionDefault.verify|verify} messages.
|
|
2493
|
+
* @param message EditionDefault message or plain object to encode
|
|
2494
|
+
* @param [writer] Writer to encode to
|
|
2495
|
+
* @returns Writer
|
|
2496
|
+
*/
|
|
2497
|
+
public static encodeDelimited(message: google.protobuf.FieldOptions.IEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2498
|
+
|
|
2499
|
+
/**
|
|
2500
|
+
* Decodes an EditionDefault message from the specified reader or buffer.
|
|
2501
|
+
* @param reader Reader or buffer to decode from
|
|
2502
|
+
* @param [length] Message length if known beforehand
|
|
2503
|
+
* @returns EditionDefault
|
|
2504
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2505
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2506
|
+
*/
|
|
2507
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions.EditionDefault;
|
|
2508
|
+
|
|
2509
|
+
/**
|
|
2510
|
+
* Decodes an EditionDefault message from the specified reader or buffer, length delimited.
|
|
2511
|
+
* @param reader Reader or buffer to decode from
|
|
2512
|
+
* @returns EditionDefault
|
|
2513
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2514
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2515
|
+
*/
|
|
2516
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions.EditionDefault;
|
|
2517
|
+
|
|
2518
|
+
/**
|
|
2519
|
+
* Verifies an EditionDefault message.
|
|
2520
|
+
* @param message Plain object to verify
|
|
2521
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2522
|
+
*/
|
|
2523
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2524
|
+
|
|
2525
|
+
/**
|
|
2526
|
+
* Creates an EditionDefault message from a plain object. Also converts values to their respective internal types.
|
|
2527
|
+
* @param object Plain object
|
|
2528
|
+
* @returns EditionDefault
|
|
2529
|
+
*/
|
|
2530
|
+
public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions.EditionDefault;
|
|
2531
|
+
|
|
2532
|
+
/**
|
|
2533
|
+
* Creates a plain object from an EditionDefault message. Also converts values to other types if specified.
|
|
2534
|
+
* @param message EditionDefault
|
|
2535
|
+
* @param [options] Conversion options
|
|
2536
|
+
* @returns Plain object
|
|
2537
|
+
*/
|
|
2538
|
+
public static toObject(message: google.protobuf.FieldOptions.EditionDefault, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2539
|
+
|
|
2540
|
+
/**
|
|
2541
|
+
* Converts this EditionDefault to JSON.
|
|
2542
|
+
* @returns JSON object
|
|
2543
|
+
*/
|
|
2544
|
+
public toJSON(): { [k: string]: any };
|
|
2545
|
+
|
|
2546
|
+
/**
|
|
2547
|
+
* Gets the default type url for EditionDefault
|
|
2548
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2549
|
+
* @returns The default type url
|
|
2550
|
+
*/
|
|
2551
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2552
|
+
}
|
|
2278
2553
|
}
|
|
2279
2554
|
|
|
2280
2555
|
/** Properties of an OneofOptions. */
|
|
2281
2556
|
interface IOneofOptions {
|
|
2282
2557
|
|
|
2558
|
+
/** OneofOptions features */
|
|
2559
|
+
features?: (google.protobuf.IFeatureSet|null);
|
|
2560
|
+
|
|
2283
2561
|
/** OneofOptions uninterpretedOption */
|
|
2284
2562
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
2285
2563
|
}
|
|
@@ -2293,6 +2571,9 @@ export namespace google {
|
|
|
2293
2571
|
*/
|
|
2294
2572
|
constructor(properties?: google.protobuf.IOneofOptions);
|
|
2295
2573
|
|
|
2574
|
+
/** OneofOptions features. */
|
|
2575
|
+
public features?: (google.protobuf.IFeatureSet|null);
|
|
2576
|
+
|
|
2296
2577
|
/** OneofOptions uninterpretedOption. */
|
|
2297
2578
|
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
2298
2579
|
|
|
@@ -2386,6 +2667,9 @@ export namespace google {
|
|
|
2386
2667
|
/** EnumOptions deprecatedLegacyJsonFieldConflicts */
|
|
2387
2668
|
deprecatedLegacyJsonFieldConflicts?: (boolean|null);
|
|
2388
2669
|
|
|
2670
|
+
/** EnumOptions features */
|
|
2671
|
+
features?: (google.protobuf.IFeatureSet|null);
|
|
2672
|
+
|
|
2389
2673
|
/** EnumOptions uninterpretedOption */
|
|
2390
2674
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
2391
2675
|
}
|
|
@@ -2408,6 +2692,9 @@ export namespace google {
|
|
|
2408
2692
|
/** EnumOptions deprecatedLegacyJsonFieldConflicts. */
|
|
2409
2693
|
public deprecatedLegacyJsonFieldConflicts: boolean;
|
|
2410
2694
|
|
|
2695
|
+
/** EnumOptions features. */
|
|
2696
|
+
public features?: (google.protobuf.IFeatureSet|null);
|
|
2697
|
+
|
|
2411
2698
|
/** EnumOptions uninterpretedOption. */
|
|
2412
2699
|
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
2413
2700
|
|
|
@@ -2495,6 +2782,12 @@ export namespace google {
|
|
|
2495
2782
|
/** EnumValueOptions deprecated */
|
|
2496
2783
|
deprecated?: (boolean|null);
|
|
2497
2784
|
|
|
2785
|
+
/** EnumValueOptions features */
|
|
2786
|
+
features?: (google.protobuf.IFeatureSet|null);
|
|
2787
|
+
|
|
2788
|
+
/** EnumValueOptions debugRedact */
|
|
2789
|
+
debugRedact?: (boolean|null);
|
|
2790
|
+
|
|
2498
2791
|
/** EnumValueOptions uninterpretedOption */
|
|
2499
2792
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
2500
2793
|
}
|
|
@@ -2511,6 +2804,12 @@ export namespace google {
|
|
|
2511
2804
|
/** EnumValueOptions deprecated. */
|
|
2512
2805
|
public deprecated: boolean;
|
|
2513
2806
|
|
|
2807
|
+
/** EnumValueOptions features. */
|
|
2808
|
+
public features?: (google.protobuf.IFeatureSet|null);
|
|
2809
|
+
|
|
2810
|
+
/** EnumValueOptions debugRedact. */
|
|
2811
|
+
public debugRedact: boolean;
|
|
2812
|
+
|
|
2514
2813
|
/** EnumValueOptions uninterpretedOption. */
|
|
2515
2814
|
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
2516
2815
|
|
|
@@ -2595,6 +2894,9 @@ export namespace google {
|
|
|
2595
2894
|
/** Properties of a ServiceOptions. */
|
|
2596
2895
|
interface IServiceOptions {
|
|
2597
2896
|
|
|
2897
|
+
/** ServiceOptions features */
|
|
2898
|
+
features?: (google.protobuf.IFeatureSet|null);
|
|
2899
|
+
|
|
2598
2900
|
/** ServiceOptions deprecated */
|
|
2599
2901
|
deprecated?: (boolean|null);
|
|
2600
2902
|
|
|
@@ -2617,6 +2919,9 @@ export namespace google {
|
|
|
2617
2919
|
*/
|
|
2618
2920
|
constructor(properties?: google.protobuf.IServiceOptions);
|
|
2619
2921
|
|
|
2922
|
+
/** ServiceOptions features. */
|
|
2923
|
+
public features?: (google.protobuf.IFeatureSet|null);
|
|
2924
|
+
|
|
2620
2925
|
/** ServiceOptions deprecated. */
|
|
2621
2926
|
public deprecated: boolean;
|
|
2622
2927
|
|
|
@@ -2710,6 +3015,9 @@ export namespace google {
|
|
|
2710
3015
|
/** MethodOptions idempotencyLevel */
|
|
2711
3016
|
idempotencyLevel?: (google.protobuf.MethodOptions.IdempotencyLevel|keyof typeof google.protobuf.MethodOptions.IdempotencyLevel|null);
|
|
2712
3017
|
|
|
3018
|
+
/** MethodOptions features */
|
|
3019
|
+
features?: (google.protobuf.IFeatureSet|null);
|
|
3020
|
+
|
|
2713
3021
|
/** MethodOptions uninterpretedOption */
|
|
2714
3022
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
2715
3023
|
|
|
@@ -2738,6 +3046,9 @@ export namespace google {
|
|
|
2738
3046
|
/** MethodOptions idempotencyLevel. */
|
|
2739
3047
|
public idempotencyLevel: (google.protobuf.MethodOptions.IdempotencyLevel|keyof typeof google.protobuf.MethodOptions.IdempotencyLevel);
|
|
2740
3048
|
|
|
3049
|
+
/** MethodOptions features. */
|
|
3050
|
+
public features?: (google.protobuf.IFeatureSet|null);
|
|
3051
|
+
|
|
2741
3052
|
/** MethodOptions uninterpretedOption. */
|
|
2742
3053
|
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
2743
3054
|
|
|
@@ -3068,141 +3379,321 @@ export namespace google {
|
|
|
3068
3379
|
}
|
|
3069
3380
|
}
|
|
3070
3381
|
|
|
3071
|
-
/** Properties of a
|
|
3072
|
-
interface
|
|
3382
|
+
/** Properties of a FeatureSet. */
|
|
3383
|
+
interface IFeatureSet {
|
|
3073
3384
|
|
|
3074
|
-
/**
|
|
3075
|
-
|
|
3385
|
+
/** FeatureSet fieldPresence */
|
|
3386
|
+
fieldPresence?: (google.protobuf.FeatureSet.FieldPresence|keyof typeof google.protobuf.FeatureSet.FieldPresence|null);
|
|
3387
|
+
|
|
3388
|
+
/** FeatureSet enumType */
|
|
3389
|
+
enumType?: (google.protobuf.FeatureSet.EnumType|keyof typeof google.protobuf.FeatureSet.EnumType|null);
|
|
3390
|
+
|
|
3391
|
+
/** FeatureSet repeatedFieldEncoding */
|
|
3392
|
+
repeatedFieldEncoding?: (google.protobuf.FeatureSet.RepeatedFieldEncoding|keyof typeof google.protobuf.FeatureSet.RepeatedFieldEncoding|null);
|
|
3393
|
+
|
|
3394
|
+
/** FeatureSet stringFieldValidation */
|
|
3395
|
+
stringFieldValidation?: (google.protobuf.FeatureSet.StringFieldValidation|keyof typeof google.protobuf.FeatureSet.StringFieldValidation|null);
|
|
3396
|
+
|
|
3397
|
+
/** FeatureSet messageEncoding */
|
|
3398
|
+
messageEncoding?: (google.protobuf.FeatureSet.MessageEncoding|keyof typeof google.protobuf.FeatureSet.MessageEncoding|null);
|
|
3399
|
+
|
|
3400
|
+
/** FeatureSet jsonFormat */
|
|
3401
|
+
jsonFormat?: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat|null);
|
|
3402
|
+
|
|
3403
|
+
/** FeatureSet rawFeatures */
|
|
3404
|
+
rawFeatures?: (google.protobuf.IFeatureSet|null);
|
|
3076
3405
|
}
|
|
3077
3406
|
|
|
3078
|
-
/** Represents a
|
|
3079
|
-
class
|
|
3407
|
+
/** Represents a FeatureSet. */
|
|
3408
|
+
class FeatureSet implements IFeatureSet {
|
|
3080
3409
|
|
|
3081
3410
|
/**
|
|
3082
|
-
* Constructs a new
|
|
3411
|
+
* Constructs a new FeatureSet.
|
|
3083
3412
|
* @param [properties] Properties to set
|
|
3084
3413
|
*/
|
|
3085
|
-
constructor(properties?: google.protobuf.
|
|
3414
|
+
constructor(properties?: google.protobuf.IFeatureSet);
|
|
3086
3415
|
|
|
3087
|
-
/**
|
|
3088
|
-
public
|
|
3416
|
+
/** FeatureSet fieldPresence. */
|
|
3417
|
+
public fieldPresence: (google.protobuf.FeatureSet.FieldPresence|keyof typeof google.protobuf.FeatureSet.FieldPresence);
|
|
3418
|
+
|
|
3419
|
+
/** FeatureSet enumType. */
|
|
3420
|
+
public enumType: (google.protobuf.FeatureSet.EnumType|keyof typeof google.protobuf.FeatureSet.EnumType);
|
|
3421
|
+
|
|
3422
|
+
/** FeatureSet repeatedFieldEncoding. */
|
|
3423
|
+
public repeatedFieldEncoding: (google.protobuf.FeatureSet.RepeatedFieldEncoding|keyof typeof google.protobuf.FeatureSet.RepeatedFieldEncoding);
|
|
3424
|
+
|
|
3425
|
+
/** FeatureSet stringFieldValidation. */
|
|
3426
|
+
public stringFieldValidation: (google.protobuf.FeatureSet.StringFieldValidation|keyof typeof google.protobuf.FeatureSet.StringFieldValidation);
|
|
3427
|
+
|
|
3428
|
+
/** FeatureSet messageEncoding. */
|
|
3429
|
+
public messageEncoding: (google.protobuf.FeatureSet.MessageEncoding|keyof typeof google.protobuf.FeatureSet.MessageEncoding);
|
|
3430
|
+
|
|
3431
|
+
/** FeatureSet jsonFormat. */
|
|
3432
|
+
public jsonFormat: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat);
|
|
3433
|
+
|
|
3434
|
+
/** FeatureSet rawFeatures. */
|
|
3435
|
+
public rawFeatures?: (google.protobuf.IFeatureSet|null);
|
|
3089
3436
|
|
|
3090
3437
|
/**
|
|
3091
|
-
* Creates a new
|
|
3438
|
+
* Creates a new FeatureSet instance using the specified properties.
|
|
3092
3439
|
* @param [properties] Properties to set
|
|
3093
|
-
* @returns
|
|
3440
|
+
* @returns FeatureSet instance
|
|
3094
3441
|
*/
|
|
3095
|
-
public static create(properties?: google.protobuf.
|
|
3442
|
+
public static create(properties?: google.protobuf.IFeatureSet): google.protobuf.FeatureSet;
|
|
3096
3443
|
|
|
3097
3444
|
/**
|
|
3098
|
-
* Encodes the specified
|
|
3099
|
-
* @param message
|
|
3445
|
+
* Encodes the specified FeatureSet message. Does not implicitly {@link google.protobuf.FeatureSet.verify|verify} messages.
|
|
3446
|
+
* @param message FeatureSet message or plain object to encode
|
|
3100
3447
|
* @param [writer] Writer to encode to
|
|
3101
3448
|
* @returns Writer
|
|
3102
3449
|
*/
|
|
3103
|
-
public static encode(message: google.protobuf.
|
|
3450
|
+
public static encode(message: google.protobuf.IFeatureSet, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3104
3451
|
|
|
3105
3452
|
/**
|
|
3106
|
-
* Encodes the specified
|
|
3107
|
-
* @param message
|
|
3453
|
+
* Encodes the specified FeatureSet message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.verify|verify} messages.
|
|
3454
|
+
* @param message FeatureSet message or plain object to encode
|
|
3108
3455
|
* @param [writer] Writer to encode to
|
|
3109
3456
|
* @returns Writer
|
|
3110
3457
|
*/
|
|
3111
|
-
public static encodeDelimited(message: google.protobuf.
|
|
3458
|
+
public static encodeDelimited(message: google.protobuf.IFeatureSet, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3112
3459
|
|
|
3113
3460
|
/**
|
|
3114
|
-
* Decodes a
|
|
3461
|
+
* Decodes a FeatureSet message from the specified reader or buffer.
|
|
3115
3462
|
* @param reader Reader or buffer to decode from
|
|
3116
3463
|
* @param [length] Message length if known beforehand
|
|
3117
|
-
* @returns
|
|
3464
|
+
* @returns FeatureSet
|
|
3118
3465
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3119
3466
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3120
3467
|
*/
|
|
3121
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.
|
|
3468
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSet;
|
|
3122
3469
|
|
|
3123
3470
|
/**
|
|
3124
|
-
* Decodes a
|
|
3471
|
+
* Decodes a FeatureSet message from the specified reader or buffer, length delimited.
|
|
3125
3472
|
* @param reader Reader or buffer to decode from
|
|
3126
|
-
* @returns
|
|
3473
|
+
* @returns FeatureSet
|
|
3127
3474
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3128
3475
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3129
3476
|
*/
|
|
3130
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.
|
|
3477
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSet;
|
|
3131
3478
|
|
|
3132
3479
|
/**
|
|
3133
|
-
* Verifies a
|
|
3480
|
+
* Verifies a FeatureSet message.
|
|
3134
3481
|
* @param message Plain object to verify
|
|
3135
3482
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
3136
3483
|
*/
|
|
3137
3484
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
3138
3485
|
|
|
3139
3486
|
/**
|
|
3140
|
-
* Creates a
|
|
3487
|
+
* Creates a FeatureSet message from a plain object. Also converts values to their respective internal types.
|
|
3141
3488
|
* @param object Plain object
|
|
3142
|
-
* @returns
|
|
3489
|
+
* @returns FeatureSet
|
|
3143
3490
|
*/
|
|
3144
|
-
public static fromObject(object: { [k: string]: any }): google.protobuf.
|
|
3491
|
+
public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSet;
|
|
3145
3492
|
|
|
3146
3493
|
/**
|
|
3147
|
-
* Creates a plain object from a
|
|
3148
|
-
* @param message
|
|
3494
|
+
* Creates a plain object from a FeatureSet message. Also converts values to other types if specified.
|
|
3495
|
+
* @param message FeatureSet
|
|
3149
3496
|
* @param [options] Conversion options
|
|
3150
3497
|
* @returns Plain object
|
|
3151
3498
|
*/
|
|
3152
|
-
public static toObject(message: google.protobuf.
|
|
3499
|
+
public static toObject(message: google.protobuf.FeatureSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3153
3500
|
|
|
3154
3501
|
/**
|
|
3155
|
-
* Converts this
|
|
3502
|
+
* Converts this FeatureSet to JSON.
|
|
3156
3503
|
* @returns JSON object
|
|
3157
3504
|
*/
|
|
3158
3505
|
public toJSON(): { [k: string]: any };
|
|
3159
3506
|
|
|
3160
3507
|
/**
|
|
3161
|
-
* Gets the default type url for
|
|
3508
|
+
* Gets the default type url for FeatureSet
|
|
3162
3509
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3163
3510
|
* @returns The default type url
|
|
3164
3511
|
*/
|
|
3165
3512
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3166
3513
|
}
|
|
3167
3514
|
|
|
3168
|
-
namespace
|
|
3169
|
-
|
|
3170
|
-
/** Properties of a Location. */
|
|
3171
|
-
interface ILocation {
|
|
3515
|
+
namespace FeatureSet {
|
|
3172
3516
|
|
|
3173
|
-
|
|
3174
|
-
|
|
3517
|
+
/** FieldPresence enum. */
|
|
3518
|
+
enum FieldPresence {
|
|
3519
|
+
FIELD_PRESENCE_UNKNOWN = 0,
|
|
3520
|
+
EXPLICIT = 1,
|
|
3521
|
+
IMPLICIT = 2,
|
|
3522
|
+
LEGACY_REQUIRED = 3
|
|
3523
|
+
}
|
|
3175
3524
|
|
|
3176
|
-
|
|
3177
|
-
|
|
3525
|
+
/** EnumType enum. */
|
|
3526
|
+
enum EnumType {
|
|
3527
|
+
ENUM_TYPE_UNKNOWN = 0,
|
|
3528
|
+
OPEN = 1,
|
|
3529
|
+
CLOSED = 2
|
|
3530
|
+
}
|
|
3178
3531
|
|
|
3179
|
-
|
|
3180
|
-
|
|
3532
|
+
/** RepeatedFieldEncoding enum. */
|
|
3533
|
+
enum RepeatedFieldEncoding {
|
|
3534
|
+
REPEATED_FIELD_ENCODING_UNKNOWN = 0,
|
|
3535
|
+
PACKED = 1,
|
|
3536
|
+
EXPANDED = 2
|
|
3537
|
+
}
|
|
3181
3538
|
|
|
3182
|
-
|
|
3183
|
-
|
|
3539
|
+
/** StringFieldValidation enum. */
|
|
3540
|
+
enum StringFieldValidation {
|
|
3541
|
+
STRING_FIELD_VALIDATION_UNKNOWN = 0,
|
|
3542
|
+
MANDATORY = 1,
|
|
3543
|
+
HINT = 2,
|
|
3544
|
+
NONE = 3
|
|
3545
|
+
}
|
|
3184
3546
|
|
|
3185
|
-
|
|
3186
|
-
|
|
3547
|
+
/** MessageEncoding enum. */
|
|
3548
|
+
enum MessageEncoding {
|
|
3549
|
+
MESSAGE_ENCODING_UNKNOWN = 0,
|
|
3550
|
+
LENGTH_PREFIXED = 1,
|
|
3551
|
+
DELIMITED = 2
|
|
3187
3552
|
}
|
|
3188
3553
|
|
|
3189
|
-
/**
|
|
3190
|
-
|
|
3554
|
+
/** JsonFormat enum. */
|
|
3555
|
+
enum JsonFormat {
|
|
3556
|
+
JSON_FORMAT_UNKNOWN = 0,
|
|
3557
|
+
ALLOW = 1,
|
|
3558
|
+
LEGACY_BEST_EFFORT = 2
|
|
3559
|
+
}
|
|
3560
|
+
}
|
|
3191
3561
|
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
* @param [properties] Properties to set
|
|
3195
|
-
*/
|
|
3196
|
-
constructor(properties?: google.protobuf.SourceCodeInfo.ILocation);
|
|
3562
|
+
/** Properties of a SourceCodeInfo. */
|
|
3563
|
+
interface ISourceCodeInfo {
|
|
3197
3564
|
|
|
3198
|
-
|
|
3199
|
-
|
|
3565
|
+
/** SourceCodeInfo location */
|
|
3566
|
+
location?: (google.protobuf.SourceCodeInfo.ILocation[]|null);
|
|
3567
|
+
}
|
|
3200
3568
|
|
|
3201
|
-
|
|
3202
|
-
|
|
3569
|
+
/** Represents a SourceCodeInfo. */
|
|
3570
|
+
class SourceCodeInfo implements ISourceCodeInfo {
|
|
3203
3571
|
|
|
3204
|
-
|
|
3205
|
-
|
|
3572
|
+
/**
|
|
3573
|
+
* Constructs a new SourceCodeInfo.
|
|
3574
|
+
* @param [properties] Properties to set
|
|
3575
|
+
*/
|
|
3576
|
+
constructor(properties?: google.protobuf.ISourceCodeInfo);
|
|
3577
|
+
|
|
3578
|
+
/** SourceCodeInfo location. */
|
|
3579
|
+
public location: google.protobuf.SourceCodeInfo.ILocation[];
|
|
3580
|
+
|
|
3581
|
+
/**
|
|
3582
|
+
* Creates a new SourceCodeInfo instance using the specified properties.
|
|
3583
|
+
* @param [properties] Properties to set
|
|
3584
|
+
* @returns SourceCodeInfo instance
|
|
3585
|
+
*/
|
|
3586
|
+
public static create(properties?: google.protobuf.ISourceCodeInfo): google.protobuf.SourceCodeInfo;
|
|
3587
|
+
|
|
3588
|
+
/**
|
|
3589
|
+
* Encodes the specified SourceCodeInfo message. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages.
|
|
3590
|
+
* @param message SourceCodeInfo message or plain object to encode
|
|
3591
|
+
* @param [writer] Writer to encode to
|
|
3592
|
+
* @returns Writer
|
|
3593
|
+
*/
|
|
3594
|
+
public static encode(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3595
|
+
|
|
3596
|
+
/**
|
|
3597
|
+
* Encodes the specified SourceCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages.
|
|
3598
|
+
* @param message SourceCodeInfo message or plain object to encode
|
|
3599
|
+
* @param [writer] Writer to encode to
|
|
3600
|
+
* @returns Writer
|
|
3601
|
+
*/
|
|
3602
|
+
public static encodeDelimited(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3603
|
+
|
|
3604
|
+
/**
|
|
3605
|
+
* Decodes a SourceCodeInfo message from the specified reader or buffer.
|
|
3606
|
+
* @param reader Reader or buffer to decode from
|
|
3607
|
+
* @param [length] Message length if known beforehand
|
|
3608
|
+
* @returns SourceCodeInfo
|
|
3609
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3610
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3611
|
+
*/
|
|
3612
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo;
|
|
3613
|
+
|
|
3614
|
+
/**
|
|
3615
|
+
* Decodes a SourceCodeInfo message from the specified reader or buffer, length delimited.
|
|
3616
|
+
* @param reader Reader or buffer to decode from
|
|
3617
|
+
* @returns SourceCodeInfo
|
|
3618
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3619
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3620
|
+
*/
|
|
3621
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo;
|
|
3622
|
+
|
|
3623
|
+
/**
|
|
3624
|
+
* Verifies a SourceCodeInfo message.
|
|
3625
|
+
* @param message Plain object to verify
|
|
3626
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3627
|
+
*/
|
|
3628
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3629
|
+
|
|
3630
|
+
/**
|
|
3631
|
+
* Creates a SourceCodeInfo message from a plain object. Also converts values to their respective internal types.
|
|
3632
|
+
* @param object Plain object
|
|
3633
|
+
* @returns SourceCodeInfo
|
|
3634
|
+
*/
|
|
3635
|
+
public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo;
|
|
3636
|
+
|
|
3637
|
+
/**
|
|
3638
|
+
* Creates a plain object from a SourceCodeInfo message. Also converts values to other types if specified.
|
|
3639
|
+
* @param message SourceCodeInfo
|
|
3640
|
+
* @param [options] Conversion options
|
|
3641
|
+
* @returns Plain object
|
|
3642
|
+
*/
|
|
3643
|
+
public static toObject(message: google.protobuf.SourceCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3644
|
+
|
|
3645
|
+
/**
|
|
3646
|
+
* Converts this SourceCodeInfo to JSON.
|
|
3647
|
+
* @returns JSON object
|
|
3648
|
+
*/
|
|
3649
|
+
public toJSON(): { [k: string]: any };
|
|
3650
|
+
|
|
3651
|
+
/**
|
|
3652
|
+
* Gets the default type url for SourceCodeInfo
|
|
3653
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3654
|
+
* @returns The default type url
|
|
3655
|
+
*/
|
|
3656
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3657
|
+
}
|
|
3658
|
+
|
|
3659
|
+
namespace SourceCodeInfo {
|
|
3660
|
+
|
|
3661
|
+
/** Properties of a Location. */
|
|
3662
|
+
interface ILocation {
|
|
3663
|
+
|
|
3664
|
+
/** Location path */
|
|
3665
|
+
path?: (number[]|null);
|
|
3666
|
+
|
|
3667
|
+
/** Location span */
|
|
3668
|
+
span?: (number[]|null);
|
|
3669
|
+
|
|
3670
|
+
/** Location leadingComments */
|
|
3671
|
+
leadingComments?: (string|null);
|
|
3672
|
+
|
|
3673
|
+
/** Location trailingComments */
|
|
3674
|
+
trailingComments?: (string|null);
|
|
3675
|
+
|
|
3676
|
+
/** Location leadingDetachedComments */
|
|
3677
|
+
leadingDetachedComments?: (string[]|null);
|
|
3678
|
+
}
|
|
3679
|
+
|
|
3680
|
+
/** Represents a Location. */
|
|
3681
|
+
class Location implements ILocation {
|
|
3682
|
+
|
|
3683
|
+
/**
|
|
3684
|
+
* Constructs a new Location.
|
|
3685
|
+
* @param [properties] Properties to set
|
|
3686
|
+
*/
|
|
3687
|
+
constructor(properties?: google.protobuf.SourceCodeInfo.ILocation);
|
|
3688
|
+
|
|
3689
|
+
/** Location path. */
|
|
3690
|
+
public path: number[];
|
|
3691
|
+
|
|
3692
|
+
/** Location span. */
|
|
3693
|
+
public span: number[];
|
|
3694
|
+
|
|
3695
|
+
/** Location leadingComments. */
|
|
3696
|
+
public leadingComments: string;
|
|
3206
3697
|
|
|
3207
3698
|
/** Location trailingComments. */
|
|
3208
3699
|
public trailingComments: string;
|
|
@@ -11690,6 +12181,336 @@ export namespace google {
|
|
|
11690
12181
|
}
|
|
11691
12182
|
}
|
|
11692
12183
|
|
|
12184
|
+
/** Properties of an AutoscalingConfig. */
|
|
12185
|
+
interface IAutoscalingConfig {
|
|
12186
|
+
|
|
12187
|
+
/** AutoscalingConfig autoscalingLimits */
|
|
12188
|
+
autoscalingLimits?: (google.spanner.admin.instance.v1.AutoscalingConfig.IAutoscalingLimits|null);
|
|
12189
|
+
|
|
12190
|
+
/** AutoscalingConfig autoscalingTargets */
|
|
12191
|
+
autoscalingTargets?: (google.spanner.admin.instance.v1.AutoscalingConfig.IAutoscalingTargets|null);
|
|
12192
|
+
}
|
|
12193
|
+
|
|
12194
|
+
/** Represents an AutoscalingConfig. */
|
|
12195
|
+
class AutoscalingConfig implements IAutoscalingConfig {
|
|
12196
|
+
|
|
12197
|
+
/**
|
|
12198
|
+
* Constructs a new AutoscalingConfig.
|
|
12199
|
+
* @param [properties] Properties to set
|
|
12200
|
+
*/
|
|
12201
|
+
constructor(properties?: google.spanner.admin.instance.v1.IAutoscalingConfig);
|
|
12202
|
+
|
|
12203
|
+
/** AutoscalingConfig autoscalingLimits. */
|
|
12204
|
+
public autoscalingLimits?: (google.spanner.admin.instance.v1.AutoscalingConfig.IAutoscalingLimits|null);
|
|
12205
|
+
|
|
12206
|
+
/** AutoscalingConfig autoscalingTargets. */
|
|
12207
|
+
public autoscalingTargets?: (google.spanner.admin.instance.v1.AutoscalingConfig.IAutoscalingTargets|null);
|
|
12208
|
+
|
|
12209
|
+
/**
|
|
12210
|
+
* Creates a new AutoscalingConfig instance using the specified properties.
|
|
12211
|
+
* @param [properties] Properties to set
|
|
12212
|
+
* @returns AutoscalingConfig instance
|
|
12213
|
+
*/
|
|
12214
|
+
public static create(properties?: google.spanner.admin.instance.v1.IAutoscalingConfig): google.spanner.admin.instance.v1.AutoscalingConfig;
|
|
12215
|
+
|
|
12216
|
+
/**
|
|
12217
|
+
* Encodes the specified AutoscalingConfig message. Does not implicitly {@link google.spanner.admin.instance.v1.AutoscalingConfig.verify|verify} messages.
|
|
12218
|
+
* @param message AutoscalingConfig message or plain object to encode
|
|
12219
|
+
* @param [writer] Writer to encode to
|
|
12220
|
+
* @returns Writer
|
|
12221
|
+
*/
|
|
12222
|
+
public static encode(message: google.spanner.admin.instance.v1.IAutoscalingConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12223
|
+
|
|
12224
|
+
/**
|
|
12225
|
+
* Encodes the specified AutoscalingConfig message, length delimited. Does not implicitly {@link google.spanner.admin.instance.v1.AutoscalingConfig.verify|verify} messages.
|
|
12226
|
+
* @param message AutoscalingConfig message or plain object to encode
|
|
12227
|
+
* @param [writer] Writer to encode to
|
|
12228
|
+
* @returns Writer
|
|
12229
|
+
*/
|
|
12230
|
+
public static encodeDelimited(message: google.spanner.admin.instance.v1.IAutoscalingConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12231
|
+
|
|
12232
|
+
/**
|
|
12233
|
+
* Decodes an AutoscalingConfig message from the specified reader or buffer.
|
|
12234
|
+
* @param reader Reader or buffer to decode from
|
|
12235
|
+
* @param [length] Message length if known beforehand
|
|
12236
|
+
* @returns AutoscalingConfig
|
|
12237
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12238
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12239
|
+
*/
|
|
12240
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.instance.v1.AutoscalingConfig;
|
|
12241
|
+
|
|
12242
|
+
/**
|
|
12243
|
+
* Decodes an AutoscalingConfig message from the specified reader or buffer, length delimited.
|
|
12244
|
+
* @param reader Reader or buffer to decode from
|
|
12245
|
+
* @returns AutoscalingConfig
|
|
12246
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12247
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12248
|
+
*/
|
|
12249
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.instance.v1.AutoscalingConfig;
|
|
12250
|
+
|
|
12251
|
+
/**
|
|
12252
|
+
* Verifies an AutoscalingConfig message.
|
|
12253
|
+
* @param message Plain object to verify
|
|
12254
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
12255
|
+
*/
|
|
12256
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
12257
|
+
|
|
12258
|
+
/**
|
|
12259
|
+
* Creates an AutoscalingConfig message from a plain object. Also converts values to their respective internal types.
|
|
12260
|
+
* @param object Plain object
|
|
12261
|
+
* @returns AutoscalingConfig
|
|
12262
|
+
*/
|
|
12263
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.admin.instance.v1.AutoscalingConfig;
|
|
12264
|
+
|
|
12265
|
+
/**
|
|
12266
|
+
* Creates a plain object from an AutoscalingConfig message. Also converts values to other types if specified.
|
|
12267
|
+
* @param message AutoscalingConfig
|
|
12268
|
+
* @param [options] Conversion options
|
|
12269
|
+
* @returns Plain object
|
|
12270
|
+
*/
|
|
12271
|
+
public static toObject(message: google.spanner.admin.instance.v1.AutoscalingConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
12272
|
+
|
|
12273
|
+
/**
|
|
12274
|
+
* Converts this AutoscalingConfig to JSON.
|
|
12275
|
+
* @returns JSON object
|
|
12276
|
+
*/
|
|
12277
|
+
public toJSON(): { [k: string]: any };
|
|
12278
|
+
|
|
12279
|
+
/**
|
|
12280
|
+
* Gets the default type url for AutoscalingConfig
|
|
12281
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
12282
|
+
* @returns The default type url
|
|
12283
|
+
*/
|
|
12284
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
12285
|
+
}
|
|
12286
|
+
|
|
12287
|
+
namespace AutoscalingConfig {
|
|
12288
|
+
|
|
12289
|
+
/** Properties of an AutoscalingLimits. */
|
|
12290
|
+
interface IAutoscalingLimits {
|
|
12291
|
+
|
|
12292
|
+
/** AutoscalingLimits minNodes */
|
|
12293
|
+
minNodes?: (number|null);
|
|
12294
|
+
|
|
12295
|
+
/** AutoscalingLimits minProcessingUnits */
|
|
12296
|
+
minProcessingUnits?: (number|null);
|
|
12297
|
+
|
|
12298
|
+
/** AutoscalingLimits maxNodes */
|
|
12299
|
+
maxNodes?: (number|null);
|
|
12300
|
+
|
|
12301
|
+
/** AutoscalingLimits maxProcessingUnits */
|
|
12302
|
+
maxProcessingUnits?: (number|null);
|
|
12303
|
+
}
|
|
12304
|
+
|
|
12305
|
+
/** Represents an AutoscalingLimits. */
|
|
12306
|
+
class AutoscalingLimits implements IAutoscalingLimits {
|
|
12307
|
+
|
|
12308
|
+
/**
|
|
12309
|
+
* Constructs a new AutoscalingLimits.
|
|
12310
|
+
* @param [properties] Properties to set
|
|
12311
|
+
*/
|
|
12312
|
+
constructor(properties?: google.spanner.admin.instance.v1.AutoscalingConfig.IAutoscalingLimits);
|
|
12313
|
+
|
|
12314
|
+
/** AutoscalingLimits minNodes. */
|
|
12315
|
+
public minNodes?: (number|null);
|
|
12316
|
+
|
|
12317
|
+
/** AutoscalingLimits minProcessingUnits. */
|
|
12318
|
+
public minProcessingUnits?: (number|null);
|
|
12319
|
+
|
|
12320
|
+
/** AutoscalingLimits maxNodes. */
|
|
12321
|
+
public maxNodes?: (number|null);
|
|
12322
|
+
|
|
12323
|
+
/** AutoscalingLimits maxProcessingUnits. */
|
|
12324
|
+
public maxProcessingUnits?: (number|null);
|
|
12325
|
+
|
|
12326
|
+
/** AutoscalingLimits minLimit. */
|
|
12327
|
+
public minLimit?: ("minNodes"|"minProcessingUnits");
|
|
12328
|
+
|
|
12329
|
+
/** AutoscalingLimits maxLimit. */
|
|
12330
|
+
public maxLimit?: ("maxNodes"|"maxProcessingUnits");
|
|
12331
|
+
|
|
12332
|
+
/**
|
|
12333
|
+
* Creates a new AutoscalingLimits instance using the specified properties.
|
|
12334
|
+
* @param [properties] Properties to set
|
|
12335
|
+
* @returns AutoscalingLimits instance
|
|
12336
|
+
*/
|
|
12337
|
+
public static create(properties?: google.spanner.admin.instance.v1.AutoscalingConfig.IAutoscalingLimits): google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits;
|
|
12338
|
+
|
|
12339
|
+
/**
|
|
12340
|
+
* Encodes the specified AutoscalingLimits message. Does not implicitly {@link google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits.verify|verify} messages.
|
|
12341
|
+
* @param message AutoscalingLimits message or plain object to encode
|
|
12342
|
+
* @param [writer] Writer to encode to
|
|
12343
|
+
* @returns Writer
|
|
12344
|
+
*/
|
|
12345
|
+
public static encode(message: google.spanner.admin.instance.v1.AutoscalingConfig.IAutoscalingLimits, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12346
|
+
|
|
12347
|
+
/**
|
|
12348
|
+
* Encodes the specified AutoscalingLimits message, length delimited. Does not implicitly {@link google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits.verify|verify} messages.
|
|
12349
|
+
* @param message AutoscalingLimits message or plain object to encode
|
|
12350
|
+
* @param [writer] Writer to encode to
|
|
12351
|
+
* @returns Writer
|
|
12352
|
+
*/
|
|
12353
|
+
public static encodeDelimited(message: google.spanner.admin.instance.v1.AutoscalingConfig.IAutoscalingLimits, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12354
|
+
|
|
12355
|
+
/**
|
|
12356
|
+
* Decodes an AutoscalingLimits message from the specified reader or buffer.
|
|
12357
|
+
* @param reader Reader or buffer to decode from
|
|
12358
|
+
* @param [length] Message length if known beforehand
|
|
12359
|
+
* @returns AutoscalingLimits
|
|
12360
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12361
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12362
|
+
*/
|
|
12363
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits;
|
|
12364
|
+
|
|
12365
|
+
/**
|
|
12366
|
+
* Decodes an AutoscalingLimits message from the specified reader or buffer, length delimited.
|
|
12367
|
+
* @param reader Reader or buffer to decode from
|
|
12368
|
+
* @returns AutoscalingLimits
|
|
12369
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12370
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12371
|
+
*/
|
|
12372
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits;
|
|
12373
|
+
|
|
12374
|
+
/**
|
|
12375
|
+
* Verifies an AutoscalingLimits message.
|
|
12376
|
+
* @param message Plain object to verify
|
|
12377
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
12378
|
+
*/
|
|
12379
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
12380
|
+
|
|
12381
|
+
/**
|
|
12382
|
+
* Creates an AutoscalingLimits message from a plain object. Also converts values to their respective internal types.
|
|
12383
|
+
* @param object Plain object
|
|
12384
|
+
* @returns AutoscalingLimits
|
|
12385
|
+
*/
|
|
12386
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits;
|
|
12387
|
+
|
|
12388
|
+
/**
|
|
12389
|
+
* Creates a plain object from an AutoscalingLimits message. Also converts values to other types if specified.
|
|
12390
|
+
* @param message AutoscalingLimits
|
|
12391
|
+
* @param [options] Conversion options
|
|
12392
|
+
* @returns Plain object
|
|
12393
|
+
*/
|
|
12394
|
+
public static toObject(message: google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
12395
|
+
|
|
12396
|
+
/**
|
|
12397
|
+
* Converts this AutoscalingLimits to JSON.
|
|
12398
|
+
* @returns JSON object
|
|
12399
|
+
*/
|
|
12400
|
+
public toJSON(): { [k: string]: any };
|
|
12401
|
+
|
|
12402
|
+
/**
|
|
12403
|
+
* Gets the default type url for AutoscalingLimits
|
|
12404
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
12405
|
+
* @returns The default type url
|
|
12406
|
+
*/
|
|
12407
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
12408
|
+
}
|
|
12409
|
+
|
|
12410
|
+
/** Properties of an AutoscalingTargets. */
|
|
12411
|
+
interface IAutoscalingTargets {
|
|
12412
|
+
|
|
12413
|
+
/** AutoscalingTargets highPriorityCpuUtilizationPercent */
|
|
12414
|
+
highPriorityCpuUtilizationPercent?: (number|null);
|
|
12415
|
+
|
|
12416
|
+
/** AutoscalingTargets storageUtilizationPercent */
|
|
12417
|
+
storageUtilizationPercent?: (number|null);
|
|
12418
|
+
}
|
|
12419
|
+
|
|
12420
|
+
/** Represents an AutoscalingTargets. */
|
|
12421
|
+
class AutoscalingTargets implements IAutoscalingTargets {
|
|
12422
|
+
|
|
12423
|
+
/**
|
|
12424
|
+
* Constructs a new AutoscalingTargets.
|
|
12425
|
+
* @param [properties] Properties to set
|
|
12426
|
+
*/
|
|
12427
|
+
constructor(properties?: google.spanner.admin.instance.v1.AutoscalingConfig.IAutoscalingTargets);
|
|
12428
|
+
|
|
12429
|
+
/** AutoscalingTargets highPriorityCpuUtilizationPercent. */
|
|
12430
|
+
public highPriorityCpuUtilizationPercent: number;
|
|
12431
|
+
|
|
12432
|
+
/** AutoscalingTargets storageUtilizationPercent. */
|
|
12433
|
+
public storageUtilizationPercent: number;
|
|
12434
|
+
|
|
12435
|
+
/**
|
|
12436
|
+
* Creates a new AutoscalingTargets instance using the specified properties.
|
|
12437
|
+
* @param [properties] Properties to set
|
|
12438
|
+
* @returns AutoscalingTargets instance
|
|
12439
|
+
*/
|
|
12440
|
+
public static create(properties?: google.spanner.admin.instance.v1.AutoscalingConfig.IAutoscalingTargets): google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets;
|
|
12441
|
+
|
|
12442
|
+
/**
|
|
12443
|
+
* Encodes the specified AutoscalingTargets message. Does not implicitly {@link google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets.verify|verify} messages.
|
|
12444
|
+
* @param message AutoscalingTargets message or plain object to encode
|
|
12445
|
+
* @param [writer] Writer to encode to
|
|
12446
|
+
* @returns Writer
|
|
12447
|
+
*/
|
|
12448
|
+
public static encode(message: google.spanner.admin.instance.v1.AutoscalingConfig.IAutoscalingTargets, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12449
|
+
|
|
12450
|
+
/**
|
|
12451
|
+
* Encodes the specified AutoscalingTargets message, length delimited. Does not implicitly {@link google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets.verify|verify} messages.
|
|
12452
|
+
* @param message AutoscalingTargets message or plain object to encode
|
|
12453
|
+
* @param [writer] Writer to encode to
|
|
12454
|
+
* @returns Writer
|
|
12455
|
+
*/
|
|
12456
|
+
public static encodeDelimited(message: google.spanner.admin.instance.v1.AutoscalingConfig.IAutoscalingTargets, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12457
|
+
|
|
12458
|
+
/**
|
|
12459
|
+
* Decodes an AutoscalingTargets message from the specified reader or buffer.
|
|
12460
|
+
* @param reader Reader or buffer to decode from
|
|
12461
|
+
* @param [length] Message length if known beforehand
|
|
12462
|
+
* @returns AutoscalingTargets
|
|
12463
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12464
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12465
|
+
*/
|
|
12466
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets;
|
|
12467
|
+
|
|
12468
|
+
/**
|
|
12469
|
+
* Decodes an AutoscalingTargets message from the specified reader or buffer, length delimited.
|
|
12470
|
+
* @param reader Reader or buffer to decode from
|
|
12471
|
+
* @returns AutoscalingTargets
|
|
12472
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12473
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12474
|
+
*/
|
|
12475
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets;
|
|
12476
|
+
|
|
12477
|
+
/**
|
|
12478
|
+
* Verifies an AutoscalingTargets message.
|
|
12479
|
+
* @param message Plain object to verify
|
|
12480
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
12481
|
+
*/
|
|
12482
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
12483
|
+
|
|
12484
|
+
/**
|
|
12485
|
+
* Creates an AutoscalingTargets message from a plain object. Also converts values to their respective internal types.
|
|
12486
|
+
* @param object Plain object
|
|
12487
|
+
* @returns AutoscalingTargets
|
|
12488
|
+
*/
|
|
12489
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets;
|
|
12490
|
+
|
|
12491
|
+
/**
|
|
12492
|
+
* Creates a plain object from an AutoscalingTargets message. Also converts values to other types if specified.
|
|
12493
|
+
* @param message AutoscalingTargets
|
|
12494
|
+
* @param [options] Conversion options
|
|
12495
|
+
* @returns Plain object
|
|
12496
|
+
*/
|
|
12497
|
+
public static toObject(message: google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
12498
|
+
|
|
12499
|
+
/**
|
|
12500
|
+
* Converts this AutoscalingTargets to JSON.
|
|
12501
|
+
* @returns JSON object
|
|
12502
|
+
*/
|
|
12503
|
+
public toJSON(): { [k: string]: any };
|
|
12504
|
+
|
|
12505
|
+
/**
|
|
12506
|
+
* Gets the default type url for AutoscalingTargets
|
|
12507
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
12508
|
+
* @returns The default type url
|
|
12509
|
+
*/
|
|
12510
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
12511
|
+
}
|
|
12512
|
+
}
|
|
12513
|
+
|
|
11693
12514
|
/** Properties of an Instance. */
|
|
11694
12515
|
interface IInstance {
|
|
11695
12516
|
|
|
@@ -11708,6 +12529,9 @@ export namespace google {
|
|
|
11708
12529
|
/** Instance processingUnits */
|
|
11709
12530
|
processingUnits?: (number|null);
|
|
11710
12531
|
|
|
12532
|
+
/** Instance autoscalingConfig */
|
|
12533
|
+
autoscalingConfig?: (google.spanner.admin.instance.v1.IAutoscalingConfig|null);
|
|
12534
|
+
|
|
11711
12535
|
/** Instance state */
|
|
11712
12536
|
state?: (google.spanner.admin.instance.v1.Instance.State|keyof typeof google.spanner.admin.instance.v1.Instance.State|null);
|
|
11713
12537
|
|
|
@@ -11748,6 +12572,9 @@ export namespace google {
|
|
|
11748
12572
|
/** Instance processingUnits. */
|
|
11749
12573
|
public processingUnits: number;
|
|
11750
12574
|
|
|
12575
|
+
/** Instance autoscalingConfig. */
|
|
12576
|
+
public autoscalingConfig?: (google.spanner.admin.instance.v1.IAutoscalingConfig|null);
|
|
12577
|
+
|
|
11751
12578
|
/** Instance state. */
|
|
11752
12579
|
public state: (google.spanner.admin.instance.v1.Instance.State|keyof typeof google.spanner.admin.instance.v1.Instance.State);
|
|
11753
12580
|
|
|
@@ -16472,7 +17299,8 @@ export namespace google {
|
|
|
16472
17299
|
enum TypeAnnotationCode {
|
|
16473
17300
|
TYPE_ANNOTATION_CODE_UNSPECIFIED = 0,
|
|
16474
17301
|
PG_NUMERIC = 2,
|
|
16475
|
-
PG_JSONB = 3
|
|
17302
|
+
PG_JSONB = 3,
|
|
17303
|
+
PG_OID = 4
|
|
16476
17304
|
}
|
|
16477
17305
|
|
|
16478
17306
|
/** Represents a Spanner */
|
|
@@ -16704,6 +17532,20 @@ export namespace google {
|
|
|
16704
17532
|
* @returns Promise
|
|
16705
17533
|
*/
|
|
16706
17534
|
public partitionRead(request: google.spanner.v1.IPartitionReadRequest): Promise<google.spanner.v1.PartitionResponse>;
|
|
17535
|
+
|
|
17536
|
+
/**
|
|
17537
|
+
* Calls BatchWrite.
|
|
17538
|
+
* @param request BatchWriteRequest message or plain object
|
|
17539
|
+
* @param callback Node-style callback called with the error, if any, and BatchWriteResponse
|
|
17540
|
+
*/
|
|
17541
|
+
public batchWrite(request: google.spanner.v1.IBatchWriteRequest, callback: google.spanner.v1.Spanner.BatchWriteCallback): void;
|
|
17542
|
+
|
|
17543
|
+
/**
|
|
17544
|
+
* Calls BatchWrite.
|
|
17545
|
+
* @param request BatchWriteRequest message or plain object
|
|
17546
|
+
* @returns Promise
|
|
17547
|
+
*/
|
|
17548
|
+
public batchWrite(request: google.spanner.v1.IBatchWriteRequest): Promise<google.spanner.v1.BatchWriteResponse>;
|
|
16707
17549
|
}
|
|
16708
17550
|
|
|
16709
17551
|
namespace Spanner {
|
|
@@ -16812,6 +17654,13 @@ export namespace google {
|
|
|
16812
17654
|
* @param [response] PartitionResponse
|
|
16813
17655
|
*/
|
|
16814
17656
|
type PartitionReadCallback = (error: (Error|null), response?: google.spanner.v1.PartitionResponse) => void;
|
|
17657
|
+
|
|
17658
|
+
/**
|
|
17659
|
+
* Callback as used by {@link google.spanner.v1.Spanner|batchWrite}.
|
|
17660
|
+
* @param error Error, if any
|
|
17661
|
+
* @param [response] BatchWriteResponse
|
|
17662
|
+
*/
|
|
17663
|
+
type BatchWriteCallback = (error: (Error|null), response?: google.spanner.v1.BatchWriteResponse) => void;
|
|
16815
17664
|
}
|
|
16816
17665
|
|
|
16817
17666
|
/** Properties of a CreateSessionRequest. */
|
|
@@ -17757,22 +18606,444 @@ export namespace google {
|
|
|
17757
18606
|
*/
|
|
17758
18607
|
public toJSON(): { [k: string]: any };
|
|
17759
18608
|
|
|
17760
|
-
/**
|
|
17761
|
-
* Gets the default type url for RequestOptions
|
|
17762
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
17763
|
-
* @returns The default type url
|
|
17764
|
-
*/
|
|
17765
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
17766
|
-
}
|
|
18609
|
+
/**
|
|
18610
|
+
* Gets the default type url for RequestOptions
|
|
18611
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
18612
|
+
* @returns The default type url
|
|
18613
|
+
*/
|
|
18614
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
18615
|
+
}
|
|
18616
|
+
|
|
18617
|
+
namespace RequestOptions {
|
|
18618
|
+
|
|
18619
|
+
/** Priority enum. */
|
|
18620
|
+
enum Priority {
|
|
18621
|
+
PRIORITY_UNSPECIFIED = 0,
|
|
18622
|
+
PRIORITY_LOW = 1,
|
|
18623
|
+
PRIORITY_MEDIUM = 2,
|
|
18624
|
+
PRIORITY_HIGH = 3
|
|
18625
|
+
}
|
|
18626
|
+
}
|
|
18627
|
+
|
|
18628
|
+
/** Properties of a DirectedReadOptions. */
|
|
18629
|
+
interface IDirectedReadOptions {
|
|
18630
|
+
|
|
18631
|
+
/** DirectedReadOptions includeReplicas */
|
|
18632
|
+
includeReplicas?: (google.spanner.v1.DirectedReadOptions.IIncludeReplicas|null);
|
|
18633
|
+
|
|
18634
|
+
/** DirectedReadOptions excludeReplicas */
|
|
18635
|
+
excludeReplicas?: (google.spanner.v1.DirectedReadOptions.IExcludeReplicas|null);
|
|
18636
|
+
}
|
|
18637
|
+
|
|
18638
|
+
/** Represents a DirectedReadOptions. */
|
|
18639
|
+
class DirectedReadOptions implements IDirectedReadOptions {
|
|
18640
|
+
|
|
18641
|
+
/**
|
|
18642
|
+
* Constructs a new DirectedReadOptions.
|
|
18643
|
+
* @param [properties] Properties to set
|
|
18644
|
+
*/
|
|
18645
|
+
constructor(properties?: google.spanner.v1.IDirectedReadOptions);
|
|
18646
|
+
|
|
18647
|
+
/** DirectedReadOptions includeReplicas. */
|
|
18648
|
+
public includeReplicas?: (google.spanner.v1.DirectedReadOptions.IIncludeReplicas|null);
|
|
18649
|
+
|
|
18650
|
+
/** DirectedReadOptions excludeReplicas. */
|
|
18651
|
+
public excludeReplicas?: (google.spanner.v1.DirectedReadOptions.IExcludeReplicas|null);
|
|
18652
|
+
|
|
18653
|
+
/** DirectedReadOptions replicas. */
|
|
18654
|
+
public replicas?: ("includeReplicas"|"excludeReplicas");
|
|
18655
|
+
|
|
18656
|
+
/**
|
|
18657
|
+
* Creates a new DirectedReadOptions instance using the specified properties.
|
|
18658
|
+
* @param [properties] Properties to set
|
|
18659
|
+
* @returns DirectedReadOptions instance
|
|
18660
|
+
*/
|
|
18661
|
+
public static create(properties?: google.spanner.v1.IDirectedReadOptions): google.spanner.v1.DirectedReadOptions;
|
|
18662
|
+
|
|
18663
|
+
/**
|
|
18664
|
+
* Encodes the specified DirectedReadOptions message. Does not implicitly {@link google.spanner.v1.DirectedReadOptions.verify|verify} messages.
|
|
18665
|
+
* @param message DirectedReadOptions message or plain object to encode
|
|
18666
|
+
* @param [writer] Writer to encode to
|
|
18667
|
+
* @returns Writer
|
|
18668
|
+
*/
|
|
18669
|
+
public static encode(message: google.spanner.v1.IDirectedReadOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
18670
|
+
|
|
18671
|
+
/**
|
|
18672
|
+
* Encodes the specified DirectedReadOptions message, length delimited. Does not implicitly {@link google.spanner.v1.DirectedReadOptions.verify|verify} messages.
|
|
18673
|
+
* @param message DirectedReadOptions message or plain object to encode
|
|
18674
|
+
* @param [writer] Writer to encode to
|
|
18675
|
+
* @returns Writer
|
|
18676
|
+
*/
|
|
18677
|
+
public static encodeDelimited(message: google.spanner.v1.IDirectedReadOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
18678
|
+
|
|
18679
|
+
/**
|
|
18680
|
+
* Decodes a DirectedReadOptions message from the specified reader or buffer.
|
|
18681
|
+
* @param reader Reader or buffer to decode from
|
|
18682
|
+
* @param [length] Message length if known beforehand
|
|
18683
|
+
* @returns DirectedReadOptions
|
|
18684
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
18685
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
18686
|
+
*/
|
|
18687
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.DirectedReadOptions;
|
|
18688
|
+
|
|
18689
|
+
/**
|
|
18690
|
+
* Decodes a DirectedReadOptions message from the specified reader or buffer, length delimited.
|
|
18691
|
+
* @param reader Reader or buffer to decode from
|
|
18692
|
+
* @returns DirectedReadOptions
|
|
18693
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
18694
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
18695
|
+
*/
|
|
18696
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.DirectedReadOptions;
|
|
18697
|
+
|
|
18698
|
+
/**
|
|
18699
|
+
* Verifies a DirectedReadOptions message.
|
|
18700
|
+
* @param message Plain object to verify
|
|
18701
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
18702
|
+
*/
|
|
18703
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
18704
|
+
|
|
18705
|
+
/**
|
|
18706
|
+
* Creates a DirectedReadOptions message from a plain object. Also converts values to their respective internal types.
|
|
18707
|
+
* @param object Plain object
|
|
18708
|
+
* @returns DirectedReadOptions
|
|
18709
|
+
*/
|
|
18710
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.DirectedReadOptions;
|
|
18711
|
+
|
|
18712
|
+
/**
|
|
18713
|
+
* Creates a plain object from a DirectedReadOptions message. Also converts values to other types if specified.
|
|
18714
|
+
* @param message DirectedReadOptions
|
|
18715
|
+
* @param [options] Conversion options
|
|
18716
|
+
* @returns Plain object
|
|
18717
|
+
*/
|
|
18718
|
+
public static toObject(message: google.spanner.v1.DirectedReadOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
18719
|
+
|
|
18720
|
+
/**
|
|
18721
|
+
* Converts this DirectedReadOptions to JSON.
|
|
18722
|
+
* @returns JSON object
|
|
18723
|
+
*/
|
|
18724
|
+
public toJSON(): { [k: string]: any };
|
|
18725
|
+
|
|
18726
|
+
/**
|
|
18727
|
+
* Gets the default type url for DirectedReadOptions
|
|
18728
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
18729
|
+
* @returns The default type url
|
|
18730
|
+
*/
|
|
18731
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
18732
|
+
}
|
|
18733
|
+
|
|
18734
|
+
namespace DirectedReadOptions {
|
|
18735
|
+
|
|
18736
|
+
/** Properties of a ReplicaSelection. */
|
|
18737
|
+
interface IReplicaSelection {
|
|
18738
|
+
|
|
18739
|
+
/** ReplicaSelection location */
|
|
18740
|
+
location?: (string|null);
|
|
18741
|
+
|
|
18742
|
+
/** ReplicaSelection type */
|
|
18743
|
+
type?: (google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type|keyof typeof google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type|null);
|
|
18744
|
+
}
|
|
18745
|
+
|
|
18746
|
+
/** Represents a ReplicaSelection. */
|
|
18747
|
+
class ReplicaSelection implements IReplicaSelection {
|
|
18748
|
+
|
|
18749
|
+
/**
|
|
18750
|
+
* Constructs a new ReplicaSelection.
|
|
18751
|
+
* @param [properties] Properties to set
|
|
18752
|
+
*/
|
|
18753
|
+
constructor(properties?: google.spanner.v1.DirectedReadOptions.IReplicaSelection);
|
|
18754
|
+
|
|
18755
|
+
/** ReplicaSelection location. */
|
|
18756
|
+
public location: string;
|
|
18757
|
+
|
|
18758
|
+
/** ReplicaSelection type. */
|
|
18759
|
+
public type: (google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type|keyof typeof google.spanner.v1.DirectedReadOptions.ReplicaSelection.Type);
|
|
18760
|
+
|
|
18761
|
+
/**
|
|
18762
|
+
* Creates a new ReplicaSelection instance using the specified properties.
|
|
18763
|
+
* @param [properties] Properties to set
|
|
18764
|
+
* @returns ReplicaSelection instance
|
|
18765
|
+
*/
|
|
18766
|
+
public static create(properties?: google.spanner.v1.DirectedReadOptions.IReplicaSelection): google.spanner.v1.DirectedReadOptions.ReplicaSelection;
|
|
18767
|
+
|
|
18768
|
+
/**
|
|
18769
|
+
* Encodes the specified ReplicaSelection message. Does not implicitly {@link google.spanner.v1.DirectedReadOptions.ReplicaSelection.verify|verify} messages.
|
|
18770
|
+
* @param message ReplicaSelection message or plain object to encode
|
|
18771
|
+
* @param [writer] Writer to encode to
|
|
18772
|
+
* @returns Writer
|
|
18773
|
+
*/
|
|
18774
|
+
public static encode(message: google.spanner.v1.DirectedReadOptions.IReplicaSelection, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
18775
|
+
|
|
18776
|
+
/**
|
|
18777
|
+
* Encodes the specified ReplicaSelection message, length delimited. Does not implicitly {@link google.spanner.v1.DirectedReadOptions.ReplicaSelection.verify|verify} messages.
|
|
18778
|
+
* @param message ReplicaSelection message or plain object to encode
|
|
18779
|
+
* @param [writer] Writer to encode to
|
|
18780
|
+
* @returns Writer
|
|
18781
|
+
*/
|
|
18782
|
+
public static encodeDelimited(message: google.spanner.v1.DirectedReadOptions.IReplicaSelection, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
18783
|
+
|
|
18784
|
+
/**
|
|
18785
|
+
* Decodes a ReplicaSelection message from the specified reader or buffer.
|
|
18786
|
+
* @param reader Reader or buffer to decode from
|
|
18787
|
+
* @param [length] Message length if known beforehand
|
|
18788
|
+
* @returns ReplicaSelection
|
|
18789
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
18790
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
18791
|
+
*/
|
|
18792
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.DirectedReadOptions.ReplicaSelection;
|
|
18793
|
+
|
|
18794
|
+
/**
|
|
18795
|
+
* Decodes a ReplicaSelection message from the specified reader or buffer, length delimited.
|
|
18796
|
+
* @param reader Reader or buffer to decode from
|
|
18797
|
+
* @returns ReplicaSelection
|
|
18798
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
18799
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
18800
|
+
*/
|
|
18801
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.DirectedReadOptions.ReplicaSelection;
|
|
18802
|
+
|
|
18803
|
+
/**
|
|
18804
|
+
* Verifies a ReplicaSelection message.
|
|
18805
|
+
* @param message Plain object to verify
|
|
18806
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
18807
|
+
*/
|
|
18808
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
18809
|
+
|
|
18810
|
+
/**
|
|
18811
|
+
* Creates a ReplicaSelection message from a plain object. Also converts values to their respective internal types.
|
|
18812
|
+
* @param object Plain object
|
|
18813
|
+
* @returns ReplicaSelection
|
|
18814
|
+
*/
|
|
18815
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.DirectedReadOptions.ReplicaSelection;
|
|
18816
|
+
|
|
18817
|
+
/**
|
|
18818
|
+
* Creates a plain object from a ReplicaSelection message. Also converts values to other types if specified.
|
|
18819
|
+
* @param message ReplicaSelection
|
|
18820
|
+
* @param [options] Conversion options
|
|
18821
|
+
* @returns Plain object
|
|
18822
|
+
*/
|
|
18823
|
+
public static toObject(message: google.spanner.v1.DirectedReadOptions.ReplicaSelection, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
18824
|
+
|
|
18825
|
+
/**
|
|
18826
|
+
* Converts this ReplicaSelection to JSON.
|
|
18827
|
+
* @returns JSON object
|
|
18828
|
+
*/
|
|
18829
|
+
public toJSON(): { [k: string]: any };
|
|
18830
|
+
|
|
18831
|
+
/**
|
|
18832
|
+
* Gets the default type url for ReplicaSelection
|
|
18833
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
18834
|
+
* @returns The default type url
|
|
18835
|
+
*/
|
|
18836
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
18837
|
+
}
|
|
18838
|
+
|
|
18839
|
+
namespace ReplicaSelection {
|
|
18840
|
+
|
|
18841
|
+
/** Type enum. */
|
|
18842
|
+
enum Type {
|
|
18843
|
+
TYPE_UNSPECIFIED = 0,
|
|
18844
|
+
READ_WRITE = 1,
|
|
18845
|
+
READ_ONLY = 2
|
|
18846
|
+
}
|
|
18847
|
+
}
|
|
18848
|
+
|
|
18849
|
+
/** Properties of an IncludeReplicas. */
|
|
18850
|
+
interface IIncludeReplicas {
|
|
18851
|
+
|
|
18852
|
+
/** IncludeReplicas replicaSelections */
|
|
18853
|
+
replicaSelections?: (google.spanner.v1.DirectedReadOptions.IReplicaSelection[]|null);
|
|
18854
|
+
|
|
18855
|
+
/** IncludeReplicas autoFailoverDisabled */
|
|
18856
|
+
autoFailoverDisabled?: (boolean|null);
|
|
18857
|
+
}
|
|
18858
|
+
|
|
18859
|
+
/** Represents an IncludeReplicas. */
|
|
18860
|
+
class IncludeReplicas implements IIncludeReplicas {
|
|
18861
|
+
|
|
18862
|
+
/**
|
|
18863
|
+
* Constructs a new IncludeReplicas.
|
|
18864
|
+
* @param [properties] Properties to set
|
|
18865
|
+
*/
|
|
18866
|
+
constructor(properties?: google.spanner.v1.DirectedReadOptions.IIncludeReplicas);
|
|
18867
|
+
|
|
18868
|
+
/** IncludeReplicas replicaSelections. */
|
|
18869
|
+
public replicaSelections: google.spanner.v1.DirectedReadOptions.IReplicaSelection[];
|
|
18870
|
+
|
|
18871
|
+
/** IncludeReplicas autoFailoverDisabled. */
|
|
18872
|
+
public autoFailoverDisabled: boolean;
|
|
18873
|
+
|
|
18874
|
+
/**
|
|
18875
|
+
* Creates a new IncludeReplicas instance using the specified properties.
|
|
18876
|
+
* @param [properties] Properties to set
|
|
18877
|
+
* @returns IncludeReplicas instance
|
|
18878
|
+
*/
|
|
18879
|
+
public static create(properties?: google.spanner.v1.DirectedReadOptions.IIncludeReplicas): google.spanner.v1.DirectedReadOptions.IncludeReplicas;
|
|
18880
|
+
|
|
18881
|
+
/**
|
|
18882
|
+
* Encodes the specified IncludeReplicas message. Does not implicitly {@link google.spanner.v1.DirectedReadOptions.IncludeReplicas.verify|verify} messages.
|
|
18883
|
+
* @param message IncludeReplicas message or plain object to encode
|
|
18884
|
+
* @param [writer] Writer to encode to
|
|
18885
|
+
* @returns Writer
|
|
18886
|
+
*/
|
|
18887
|
+
public static encode(message: google.spanner.v1.DirectedReadOptions.IIncludeReplicas, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
18888
|
+
|
|
18889
|
+
/**
|
|
18890
|
+
* Encodes the specified IncludeReplicas message, length delimited. Does not implicitly {@link google.spanner.v1.DirectedReadOptions.IncludeReplicas.verify|verify} messages.
|
|
18891
|
+
* @param message IncludeReplicas message or plain object to encode
|
|
18892
|
+
* @param [writer] Writer to encode to
|
|
18893
|
+
* @returns Writer
|
|
18894
|
+
*/
|
|
18895
|
+
public static encodeDelimited(message: google.spanner.v1.DirectedReadOptions.IIncludeReplicas, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
18896
|
+
|
|
18897
|
+
/**
|
|
18898
|
+
* Decodes an IncludeReplicas message from the specified reader or buffer.
|
|
18899
|
+
* @param reader Reader or buffer to decode from
|
|
18900
|
+
* @param [length] Message length if known beforehand
|
|
18901
|
+
* @returns IncludeReplicas
|
|
18902
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
18903
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
18904
|
+
*/
|
|
18905
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.DirectedReadOptions.IncludeReplicas;
|
|
18906
|
+
|
|
18907
|
+
/**
|
|
18908
|
+
* Decodes an IncludeReplicas message from the specified reader or buffer, length delimited.
|
|
18909
|
+
* @param reader Reader or buffer to decode from
|
|
18910
|
+
* @returns IncludeReplicas
|
|
18911
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
18912
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
18913
|
+
*/
|
|
18914
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.DirectedReadOptions.IncludeReplicas;
|
|
18915
|
+
|
|
18916
|
+
/**
|
|
18917
|
+
* Verifies an IncludeReplicas message.
|
|
18918
|
+
* @param message Plain object to verify
|
|
18919
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
18920
|
+
*/
|
|
18921
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
18922
|
+
|
|
18923
|
+
/**
|
|
18924
|
+
* Creates an IncludeReplicas message from a plain object. Also converts values to their respective internal types.
|
|
18925
|
+
* @param object Plain object
|
|
18926
|
+
* @returns IncludeReplicas
|
|
18927
|
+
*/
|
|
18928
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.DirectedReadOptions.IncludeReplicas;
|
|
18929
|
+
|
|
18930
|
+
/**
|
|
18931
|
+
* Creates a plain object from an IncludeReplicas message. Also converts values to other types if specified.
|
|
18932
|
+
* @param message IncludeReplicas
|
|
18933
|
+
* @param [options] Conversion options
|
|
18934
|
+
* @returns Plain object
|
|
18935
|
+
*/
|
|
18936
|
+
public static toObject(message: google.spanner.v1.DirectedReadOptions.IncludeReplicas, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
18937
|
+
|
|
18938
|
+
/**
|
|
18939
|
+
* Converts this IncludeReplicas to JSON.
|
|
18940
|
+
* @returns JSON object
|
|
18941
|
+
*/
|
|
18942
|
+
public toJSON(): { [k: string]: any };
|
|
18943
|
+
|
|
18944
|
+
/**
|
|
18945
|
+
* Gets the default type url for IncludeReplicas
|
|
18946
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
18947
|
+
* @returns The default type url
|
|
18948
|
+
*/
|
|
18949
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
18950
|
+
}
|
|
18951
|
+
|
|
18952
|
+
/** Properties of an ExcludeReplicas. */
|
|
18953
|
+
interface IExcludeReplicas {
|
|
18954
|
+
|
|
18955
|
+
/** ExcludeReplicas replicaSelections */
|
|
18956
|
+
replicaSelections?: (google.spanner.v1.DirectedReadOptions.IReplicaSelection[]|null);
|
|
18957
|
+
}
|
|
18958
|
+
|
|
18959
|
+
/** Represents an ExcludeReplicas. */
|
|
18960
|
+
class ExcludeReplicas implements IExcludeReplicas {
|
|
18961
|
+
|
|
18962
|
+
/**
|
|
18963
|
+
* Constructs a new ExcludeReplicas.
|
|
18964
|
+
* @param [properties] Properties to set
|
|
18965
|
+
*/
|
|
18966
|
+
constructor(properties?: google.spanner.v1.DirectedReadOptions.IExcludeReplicas);
|
|
18967
|
+
|
|
18968
|
+
/** ExcludeReplicas replicaSelections. */
|
|
18969
|
+
public replicaSelections: google.spanner.v1.DirectedReadOptions.IReplicaSelection[];
|
|
18970
|
+
|
|
18971
|
+
/**
|
|
18972
|
+
* Creates a new ExcludeReplicas instance using the specified properties.
|
|
18973
|
+
* @param [properties] Properties to set
|
|
18974
|
+
* @returns ExcludeReplicas instance
|
|
18975
|
+
*/
|
|
18976
|
+
public static create(properties?: google.spanner.v1.DirectedReadOptions.IExcludeReplicas): google.spanner.v1.DirectedReadOptions.ExcludeReplicas;
|
|
18977
|
+
|
|
18978
|
+
/**
|
|
18979
|
+
* Encodes the specified ExcludeReplicas message. Does not implicitly {@link google.spanner.v1.DirectedReadOptions.ExcludeReplicas.verify|verify} messages.
|
|
18980
|
+
* @param message ExcludeReplicas message or plain object to encode
|
|
18981
|
+
* @param [writer] Writer to encode to
|
|
18982
|
+
* @returns Writer
|
|
18983
|
+
*/
|
|
18984
|
+
public static encode(message: google.spanner.v1.DirectedReadOptions.IExcludeReplicas, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
18985
|
+
|
|
18986
|
+
/**
|
|
18987
|
+
* Encodes the specified ExcludeReplicas message, length delimited. Does not implicitly {@link google.spanner.v1.DirectedReadOptions.ExcludeReplicas.verify|verify} messages.
|
|
18988
|
+
* @param message ExcludeReplicas message or plain object to encode
|
|
18989
|
+
* @param [writer] Writer to encode to
|
|
18990
|
+
* @returns Writer
|
|
18991
|
+
*/
|
|
18992
|
+
public static encodeDelimited(message: google.spanner.v1.DirectedReadOptions.IExcludeReplicas, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
18993
|
+
|
|
18994
|
+
/**
|
|
18995
|
+
* Decodes an ExcludeReplicas message from the specified reader or buffer.
|
|
18996
|
+
* @param reader Reader or buffer to decode from
|
|
18997
|
+
* @param [length] Message length if known beforehand
|
|
18998
|
+
* @returns ExcludeReplicas
|
|
18999
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19000
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19001
|
+
*/
|
|
19002
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.DirectedReadOptions.ExcludeReplicas;
|
|
19003
|
+
|
|
19004
|
+
/**
|
|
19005
|
+
* Decodes an ExcludeReplicas message from the specified reader or buffer, length delimited.
|
|
19006
|
+
* @param reader Reader or buffer to decode from
|
|
19007
|
+
* @returns ExcludeReplicas
|
|
19008
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19009
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19010
|
+
*/
|
|
19011
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.DirectedReadOptions.ExcludeReplicas;
|
|
19012
|
+
|
|
19013
|
+
/**
|
|
19014
|
+
* Verifies an ExcludeReplicas message.
|
|
19015
|
+
* @param message Plain object to verify
|
|
19016
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
19017
|
+
*/
|
|
19018
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
19019
|
+
|
|
19020
|
+
/**
|
|
19021
|
+
* Creates an ExcludeReplicas message from a plain object. Also converts values to their respective internal types.
|
|
19022
|
+
* @param object Plain object
|
|
19023
|
+
* @returns ExcludeReplicas
|
|
19024
|
+
*/
|
|
19025
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.DirectedReadOptions.ExcludeReplicas;
|
|
17767
19026
|
|
|
17768
|
-
|
|
19027
|
+
/**
|
|
19028
|
+
* Creates a plain object from an ExcludeReplicas message. Also converts values to other types if specified.
|
|
19029
|
+
* @param message ExcludeReplicas
|
|
19030
|
+
* @param [options] Conversion options
|
|
19031
|
+
* @returns Plain object
|
|
19032
|
+
*/
|
|
19033
|
+
public static toObject(message: google.spanner.v1.DirectedReadOptions.ExcludeReplicas, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
17769
19034
|
|
|
17770
|
-
|
|
17771
|
-
|
|
17772
|
-
|
|
17773
|
-
|
|
17774
|
-
|
|
17775
|
-
|
|
19035
|
+
/**
|
|
19036
|
+
* Converts this ExcludeReplicas to JSON.
|
|
19037
|
+
* @returns JSON object
|
|
19038
|
+
*/
|
|
19039
|
+
public toJSON(): { [k: string]: any };
|
|
19040
|
+
|
|
19041
|
+
/**
|
|
19042
|
+
* Gets the default type url for ExcludeReplicas
|
|
19043
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
19044
|
+
* @returns The default type url
|
|
19045
|
+
*/
|
|
19046
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
17776
19047
|
}
|
|
17777
19048
|
}
|
|
17778
19049
|
|
|
@@ -17812,6 +19083,9 @@ export namespace google {
|
|
|
17812
19083
|
/** ExecuteSqlRequest requestOptions */
|
|
17813
19084
|
requestOptions?: (google.spanner.v1.IRequestOptions|null);
|
|
17814
19085
|
|
|
19086
|
+
/** ExecuteSqlRequest directedReadOptions */
|
|
19087
|
+
directedReadOptions?: (google.spanner.v1.IDirectedReadOptions|null);
|
|
19088
|
+
|
|
17815
19089
|
/** ExecuteSqlRequest dataBoostEnabled */
|
|
17816
19090
|
dataBoostEnabled?: (boolean|null);
|
|
17817
19091
|
}
|
|
@@ -17858,6 +19132,9 @@ export namespace google {
|
|
|
17858
19132
|
/** ExecuteSqlRequest requestOptions. */
|
|
17859
19133
|
public requestOptions?: (google.spanner.v1.IRequestOptions|null);
|
|
17860
19134
|
|
|
19135
|
+
/** ExecuteSqlRequest directedReadOptions. */
|
|
19136
|
+
public directedReadOptions?: (google.spanner.v1.IDirectedReadOptions|null);
|
|
19137
|
+
|
|
17861
19138
|
/** ExecuteSqlRequest dataBoostEnabled. */
|
|
17862
19139
|
public dataBoostEnabled: boolean;
|
|
17863
19140
|
|
|
@@ -18984,6 +20261,9 @@ export namespace google {
|
|
|
18984
20261
|
/** ReadRequest requestOptions */
|
|
18985
20262
|
requestOptions?: (google.spanner.v1.IRequestOptions|null);
|
|
18986
20263
|
|
|
20264
|
+
/** ReadRequest directedReadOptions */
|
|
20265
|
+
directedReadOptions?: (google.spanner.v1.IDirectedReadOptions|null);
|
|
20266
|
+
|
|
18987
20267
|
/** ReadRequest dataBoostEnabled */
|
|
18988
20268
|
dataBoostEnabled?: (boolean|null);
|
|
18989
20269
|
}
|
|
@@ -19027,6 +20307,9 @@ export namespace google {
|
|
|
19027
20307
|
/** ReadRequest requestOptions. */
|
|
19028
20308
|
public requestOptions?: (google.spanner.v1.IRequestOptions|null);
|
|
19029
20309
|
|
|
20310
|
+
/** ReadRequest directedReadOptions. */
|
|
20311
|
+
public directedReadOptions?: (google.spanner.v1.IDirectedReadOptions|null);
|
|
20312
|
+
|
|
19030
20313
|
/** ReadRequest dataBoostEnabled. */
|
|
19031
20314
|
public dataBoostEnabled: boolean;
|
|
19032
20315
|
|
|
@@ -19449,6 +20732,324 @@ export namespace google {
|
|
|
19449
20732
|
*/
|
|
19450
20733
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
19451
20734
|
}
|
|
20735
|
+
|
|
20736
|
+
/** Properties of a BatchWriteRequest. */
|
|
20737
|
+
interface IBatchWriteRequest {
|
|
20738
|
+
|
|
20739
|
+
/** BatchWriteRequest session */
|
|
20740
|
+
session?: (string|null);
|
|
20741
|
+
|
|
20742
|
+
/** BatchWriteRequest requestOptions */
|
|
20743
|
+
requestOptions?: (google.spanner.v1.IRequestOptions|null);
|
|
20744
|
+
|
|
20745
|
+
/** BatchWriteRequest mutationGroups */
|
|
20746
|
+
mutationGroups?: (google.spanner.v1.BatchWriteRequest.IMutationGroup[]|null);
|
|
20747
|
+
}
|
|
20748
|
+
|
|
20749
|
+
/** Represents a BatchWriteRequest. */
|
|
20750
|
+
class BatchWriteRequest implements IBatchWriteRequest {
|
|
20751
|
+
|
|
20752
|
+
/**
|
|
20753
|
+
* Constructs a new BatchWriteRequest.
|
|
20754
|
+
* @param [properties] Properties to set
|
|
20755
|
+
*/
|
|
20756
|
+
constructor(properties?: google.spanner.v1.IBatchWriteRequest);
|
|
20757
|
+
|
|
20758
|
+
/** BatchWriteRequest session. */
|
|
20759
|
+
public session: string;
|
|
20760
|
+
|
|
20761
|
+
/** BatchWriteRequest requestOptions. */
|
|
20762
|
+
public requestOptions?: (google.spanner.v1.IRequestOptions|null);
|
|
20763
|
+
|
|
20764
|
+
/** BatchWriteRequest mutationGroups. */
|
|
20765
|
+
public mutationGroups: google.spanner.v1.BatchWriteRequest.IMutationGroup[];
|
|
20766
|
+
|
|
20767
|
+
/**
|
|
20768
|
+
* Creates a new BatchWriteRequest instance using the specified properties.
|
|
20769
|
+
* @param [properties] Properties to set
|
|
20770
|
+
* @returns BatchWriteRequest instance
|
|
20771
|
+
*/
|
|
20772
|
+
public static create(properties?: google.spanner.v1.IBatchWriteRequest): google.spanner.v1.BatchWriteRequest;
|
|
20773
|
+
|
|
20774
|
+
/**
|
|
20775
|
+
* Encodes the specified BatchWriteRequest message. Does not implicitly {@link google.spanner.v1.BatchWriteRequest.verify|verify} messages.
|
|
20776
|
+
* @param message BatchWriteRequest message or plain object to encode
|
|
20777
|
+
* @param [writer] Writer to encode to
|
|
20778
|
+
* @returns Writer
|
|
20779
|
+
*/
|
|
20780
|
+
public static encode(message: google.spanner.v1.IBatchWriteRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20781
|
+
|
|
20782
|
+
/**
|
|
20783
|
+
* Encodes the specified BatchWriteRequest message, length delimited. Does not implicitly {@link google.spanner.v1.BatchWriteRequest.verify|verify} messages.
|
|
20784
|
+
* @param message BatchWriteRequest message or plain object to encode
|
|
20785
|
+
* @param [writer] Writer to encode to
|
|
20786
|
+
* @returns Writer
|
|
20787
|
+
*/
|
|
20788
|
+
public static encodeDelimited(message: google.spanner.v1.IBatchWriteRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20789
|
+
|
|
20790
|
+
/**
|
|
20791
|
+
* Decodes a BatchWriteRequest message from the specified reader or buffer.
|
|
20792
|
+
* @param reader Reader or buffer to decode from
|
|
20793
|
+
* @param [length] Message length if known beforehand
|
|
20794
|
+
* @returns BatchWriteRequest
|
|
20795
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20796
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20797
|
+
*/
|
|
20798
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.BatchWriteRequest;
|
|
20799
|
+
|
|
20800
|
+
/**
|
|
20801
|
+
* Decodes a BatchWriteRequest message from the specified reader or buffer, length delimited.
|
|
20802
|
+
* @param reader Reader or buffer to decode from
|
|
20803
|
+
* @returns BatchWriteRequest
|
|
20804
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20805
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20806
|
+
*/
|
|
20807
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.BatchWriteRequest;
|
|
20808
|
+
|
|
20809
|
+
/**
|
|
20810
|
+
* Verifies a BatchWriteRequest message.
|
|
20811
|
+
* @param message Plain object to verify
|
|
20812
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
20813
|
+
*/
|
|
20814
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
20815
|
+
|
|
20816
|
+
/**
|
|
20817
|
+
* Creates a BatchWriteRequest message from a plain object. Also converts values to their respective internal types.
|
|
20818
|
+
* @param object Plain object
|
|
20819
|
+
* @returns BatchWriteRequest
|
|
20820
|
+
*/
|
|
20821
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.BatchWriteRequest;
|
|
20822
|
+
|
|
20823
|
+
/**
|
|
20824
|
+
* Creates a plain object from a BatchWriteRequest message. Also converts values to other types if specified.
|
|
20825
|
+
* @param message BatchWriteRequest
|
|
20826
|
+
* @param [options] Conversion options
|
|
20827
|
+
* @returns Plain object
|
|
20828
|
+
*/
|
|
20829
|
+
public static toObject(message: google.spanner.v1.BatchWriteRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20830
|
+
|
|
20831
|
+
/**
|
|
20832
|
+
* Converts this BatchWriteRequest to JSON.
|
|
20833
|
+
* @returns JSON object
|
|
20834
|
+
*/
|
|
20835
|
+
public toJSON(): { [k: string]: any };
|
|
20836
|
+
|
|
20837
|
+
/**
|
|
20838
|
+
* Gets the default type url for BatchWriteRequest
|
|
20839
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
20840
|
+
* @returns The default type url
|
|
20841
|
+
*/
|
|
20842
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
20843
|
+
}
|
|
20844
|
+
|
|
20845
|
+
namespace BatchWriteRequest {
|
|
20846
|
+
|
|
20847
|
+
/** Properties of a MutationGroup. */
|
|
20848
|
+
interface IMutationGroup {
|
|
20849
|
+
|
|
20850
|
+
/** MutationGroup mutations */
|
|
20851
|
+
mutations?: (google.spanner.v1.IMutation[]|null);
|
|
20852
|
+
}
|
|
20853
|
+
|
|
20854
|
+
/** Represents a MutationGroup. */
|
|
20855
|
+
class MutationGroup implements IMutationGroup {
|
|
20856
|
+
|
|
20857
|
+
/**
|
|
20858
|
+
* Constructs a new MutationGroup.
|
|
20859
|
+
* @param [properties] Properties to set
|
|
20860
|
+
*/
|
|
20861
|
+
constructor(properties?: google.spanner.v1.BatchWriteRequest.IMutationGroup);
|
|
20862
|
+
|
|
20863
|
+
/** MutationGroup mutations. */
|
|
20864
|
+
public mutations: google.spanner.v1.IMutation[];
|
|
20865
|
+
|
|
20866
|
+
/**
|
|
20867
|
+
* Creates a new MutationGroup instance using the specified properties.
|
|
20868
|
+
* @param [properties] Properties to set
|
|
20869
|
+
* @returns MutationGroup instance
|
|
20870
|
+
*/
|
|
20871
|
+
public static create(properties?: google.spanner.v1.BatchWriteRequest.IMutationGroup): google.spanner.v1.BatchWriteRequest.MutationGroup;
|
|
20872
|
+
|
|
20873
|
+
/**
|
|
20874
|
+
* Encodes the specified MutationGroup message. Does not implicitly {@link google.spanner.v1.BatchWriteRequest.MutationGroup.verify|verify} messages.
|
|
20875
|
+
* @param message MutationGroup message or plain object to encode
|
|
20876
|
+
* @param [writer] Writer to encode to
|
|
20877
|
+
* @returns Writer
|
|
20878
|
+
*/
|
|
20879
|
+
public static encode(message: google.spanner.v1.BatchWriteRequest.IMutationGroup, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20880
|
+
|
|
20881
|
+
/**
|
|
20882
|
+
* Encodes the specified MutationGroup message, length delimited. Does not implicitly {@link google.spanner.v1.BatchWriteRequest.MutationGroup.verify|verify} messages.
|
|
20883
|
+
* @param message MutationGroup message or plain object to encode
|
|
20884
|
+
* @param [writer] Writer to encode to
|
|
20885
|
+
* @returns Writer
|
|
20886
|
+
*/
|
|
20887
|
+
public static encodeDelimited(message: google.spanner.v1.BatchWriteRequest.IMutationGroup, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20888
|
+
|
|
20889
|
+
/**
|
|
20890
|
+
* Decodes a MutationGroup message from the specified reader or buffer.
|
|
20891
|
+
* @param reader Reader or buffer to decode from
|
|
20892
|
+
* @param [length] Message length if known beforehand
|
|
20893
|
+
* @returns MutationGroup
|
|
20894
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20895
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20896
|
+
*/
|
|
20897
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.BatchWriteRequest.MutationGroup;
|
|
20898
|
+
|
|
20899
|
+
/**
|
|
20900
|
+
* Decodes a MutationGroup message from the specified reader or buffer, length delimited.
|
|
20901
|
+
* @param reader Reader or buffer to decode from
|
|
20902
|
+
* @returns MutationGroup
|
|
20903
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20904
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20905
|
+
*/
|
|
20906
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.BatchWriteRequest.MutationGroup;
|
|
20907
|
+
|
|
20908
|
+
/**
|
|
20909
|
+
* Verifies a MutationGroup message.
|
|
20910
|
+
* @param message Plain object to verify
|
|
20911
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
20912
|
+
*/
|
|
20913
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
20914
|
+
|
|
20915
|
+
/**
|
|
20916
|
+
* Creates a MutationGroup message from a plain object. Also converts values to their respective internal types.
|
|
20917
|
+
* @param object Plain object
|
|
20918
|
+
* @returns MutationGroup
|
|
20919
|
+
*/
|
|
20920
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.BatchWriteRequest.MutationGroup;
|
|
20921
|
+
|
|
20922
|
+
/**
|
|
20923
|
+
* Creates a plain object from a MutationGroup message. Also converts values to other types if specified.
|
|
20924
|
+
* @param message MutationGroup
|
|
20925
|
+
* @param [options] Conversion options
|
|
20926
|
+
* @returns Plain object
|
|
20927
|
+
*/
|
|
20928
|
+
public static toObject(message: google.spanner.v1.BatchWriteRequest.MutationGroup, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20929
|
+
|
|
20930
|
+
/**
|
|
20931
|
+
* Converts this MutationGroup to JSON.
|
|
20932
|
+
* @returns JSON object
|
|
20933
|
+
*/
|
|
20934
|
+
public toJSON(): { [k: string]: any };
|
|
20935
|
+
|
|
20936
|
+
/**
|
|
20937
|
+
* Gets the default type url for MutationGroup
|
|
20938
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
20939
|
+
* @returns The default type url
|
|
20940
|
+
*/
|
|
20941
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
20942
|
+
}
|
|
20943
|
+
}
|
|
20944
|
+
|
|
20945
|
+
/** Properties of a BatchWriteResponse. */
|
|
20946
|
+
interface IBatchWriteResponse {
|
|
20947
|
+
|
|
20948
|
+
/** BatchWriteResponse indexes */
|
|
20949
|
+
indexes?: (number[]|null);
|
|
20950
|
+
|
|
20951
|
+
/** BatchWriteResponse status */
|
|
20952
|
+
status?: (google.rpc.IStatus|null);
|
|
20953
|
+
|
|
20954
|
+
/** BatchWriteResponse commitTimestamp */
|
|
20955
|
+
commitTimestamp?: (google.protobuf.ITimestamp|null);
|
|
20956
|
+
}
|
|
20957
|
+
|
|
20958
|
+
/** Represents a BatchWriteResponse. */
|
|
20959
|
+
class BatchWriteResponse implements IBatchWriteResponse {
|
|
20960
|
+
|
|
20961
|
+
/**
|
|
20962
|
+
* Constructs a new BatchWriteResponse.
|
|
20963
|
+
* @param [properties] Properties to set
|
|
20964
|
+
*/
|
|
20965
|
+
constructor(properties?: google.spanner.v1.IBatchWriteResponse);
|
|
20966
|
+
|
|
20967
|
+
/** BatchWriteResponse indexes. */
|
|
20968
|
+
public indexes: number[];
|
|
20969
|
+
|
|
20970
|
+
/** BatchWriteResponse status. */
|
|
20971
|
+
public status?: (google.rpc.IStatus|null);
|
|
20972
|
+
|
|
20973
|
+
/** BatchWriteResponse commitTimestamp. */
|
|
20974
|
+
public commitTimestamp?: (google.protobuf.ITimestamp|null);
|
|
20975
|
+
|
|
20976
|
+
/**
|
|
20977
|
+
* Creates a new BatchWriteResponse instance using the specified properties.
|
|
20978
|
+
* @param [properties] Properties to set
|
|
20979
|
+
* @returns BatchWriteResponse instance
|
|
20980
|
+
*/
|
|
20981
|
+
public static create(properties?: google.spanner.v1.IBatchWriteResponse): google.spanner.v1.BatchWriteResponse;
|
|
20982
|
+
|
|
20983
|
+
/**
|
|
20984
|
+
* Encodes the specified BatchWriteResponse message. Does not implicitly {@link google.spanner.v1.BatchWriteResponse.verify|verify} messages.
|
|
20985
|
+
* @param message BatchWriteResponse message or plain object to encode
|
|
20986
|
+
* @param [writer] Writer to encode to
|
|
20987
|
+
* @returns Writer
|
|
20988
|
+
*/
|
|
20989
|
+
public static encode(message: google.spanner.v1.IBatchWriteResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20990
|
+
|
|
20991
|
+
/**
|
|
20992
|
+
* Encodes the specified BatchWriteResponse message, length delimited. Does not implicitly {@link google.spanner.v1.BatchWriteResponse.verify|verify} messages.
|
|
20993
|
+
* @param message BatchWriteResponse message or plain object to encode
|
|
20994
|
+
* @param [writer] Writer to encode to
|
|
20995
|
+
* @returns Writer
|
|
20996
|
+
*/
|
|
20997
|
+
public static encodeDelimited(message: google.spanner.v1.IBatchWriteResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20998
|
+
|
|
20999
|
+
/**
|
|
21000
|
+
* Decodes a BatchWriteResponse message from the specified reader or buffer.
|
|
21001
|
+
* @param reader Reader or buffer to decode from
|
|
21002
|
+
* @param [length] Message length if known beforehand
|
|
21003
|
+
* @returns BatchWriteResponse
|
|
21004
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
21005
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
21006
|
+
*/
|
|
21007
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.BatchWriteResponse;
|
|
21008
|
+
|
|
21009
|
+
/**
|
|
21010
|
+
* Decodes a BatchWriteResponse message from the specified reader or buffer, length delimited.
|
|
21011
|
+
* @param reader Reader or buffer to decode from
|
|
21012
|
+
* @returns BatchWriteResponse
|
|
21013
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
21014
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
21015
|
+
*/
|
|
21016
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.BatchWriteResponse;
|
|
21017
|
+
|
|
21018
|
+
/**
|
|
21019
|
+
* Verifies a BatchWriteResponse message.
|
|
21020
|
+
* @param message Plain object to verify
|
|
21021
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
21022
|
+
*/
|
|
21023
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
21024
|
+
|
|
21025
|
+
/**
|
|
21026
|
+
* Creates a BatchWriteResponse message from a plain object. Also converts values to their respective internal types.
|
|
21027
|
+
* @param object Plain object
|
|
21028
|
+
* @returns BatchWriteResponse
|
|
21029
|
+
*/
|
|
21030
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.BatchWriteResponse;
|
|
21031
|
+
|
|
21032
|
+
/**
|
|
21033
|
+
* Creates a plain object from a BatchWriteResponse message. Also converts values to other types if specified.
|
|
21034
|
+
* @param message BatchWriteResponse
|
|
21035
|
+
* @param [options] Conversion options
|
|
21036
|
+
* @returns Plain object
|
|
21037
|
+
*/
|
|
21038
|
+
public static toObject(message: google.spanner.v1.BatchWriteResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
21039
|
+
|
|
21040
|
+
/**
|
|
21041
|
+
* Converts this BatchWriteResponse to JSON.
|
|
21042
|
+
* @returns JSON object
|
|
21043
|
+
*/
|
|
21044
|
+
public toJSON(): { [k: string]: any };
|
|
21045
|
+
|
|
21046
|
+
/**
|
|
21047
|
+
* Gets the default type url for BatchWriteResponse
|
|
21048
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
21049
|
+
* @returns The default type url
|
|
21050
|
+
*/
|
|
21051
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
21052
|
+
}
|
|
19452
21053
|
}
|
|
19453
21054
|
}
|
|
19454
21055
|
|
|
@@ -20368,6 +21969,9 @@ export namespace google {
|
|
|
20368
21969
|
|
|
20369
21970
|
/** Publishing librarySettings */
|
|
20370
21971
|
librarySettings?: (google.api.IClientLibrarySettings[]|null);
|
|
21972
|
+
|
|
21973
|
+
/** Publishing protoReferenceDocumentationUri */
|
|
21974
|
+
protoReferenceDocumentationUri?: (string|null);
|
|
20371
21975
|
}
|
|
20372
21976
|
|
|
20373
21977
|
/** Represents a Publishing. */
|
|
@@ -20406,6 +22010,9 @@ export namespace google {
|
|
|
20406
22010
|
/** Publishing librarySettings. */
|
|
20407
22011
|
public librarySettings: google.api.IClientLibrarySettings[];
|
|
20408
22012
|
|
|
22013
|
+
/** Publishing protoReferenceDocumentationUri. */
|
|
22014
|
+
public protoReferenceDocumentationUri: string;
|
|
22015
|
+
|
|
20409
22016
|
/**
|
|
20410
22017
|
* Creates a new Publishing instance using the specified properties.
|
|
20411
22018
|
* @param [properties] Properties to set
|
|
@@ -20986,6 +22593,21 @@ export namespace google {
|
|
|
20986
22593
|
|
|
20987
22594
|
/** DotnetSettings common */
|
|
20988
22595
|
common?: (google.api.ICommonLanguageSettings|null);
|
|
22596
|
+
|
|
22597
|
+
/** DotnetSettings renamedServices */
|
|
22598
|
+
renamedServices?: ({ [k: string]: string }|null);
|
|
22599
|
+
|
|
22600
|
+
/** DotnetSettings renamedResources */
|
|
22601
|
+
renamedResources?: ({ [k: string]: string }|null);
|
|
22602
|
+
|
|
22603
|
+
/** DotnetSettings ignoredResources */
|
|
22604
|
+
ignoredResources?: (string[]|null);
|
|
22605
|
+
|
|
22606
|
+
/** DotnetSettings forcedNamespaceAliases */
|
|
22607
|
+
forcedNamespaceAliases?: (string[]|null);
|
|
22608
|
+
|
|
22609
|
+
/** DotnetSettings handwrittenSignatures */
|
|
22610
|
+
handwrittenSignatures?: (string[]|null);
|
|
20989
22611
|
}
|
|
20990
22612
|
|
|
20991
22613
|
/** Represents a DotnetSettings. */
|
|
@@ -21000,6 +22622,21 @@ export namespace google {
|
|
|
21000
22622
|
/** DotnetSettings common. */
|
|
21001
22623
|
public common?: (google.api.ICommonLanguageSettings|null);
|
|
21002
22624
|
|
|
22625
|
+
/** DotnetSettings renamedServices. */
|
|
22626
|
+
public renamedServices: { [k: string]: string };
|
|
22627
|
+
|
|
22628
|
+
/** DotnetSettings renamedResources. */
|
|
22629
|
+
public renamedResources: { [k: string]: string };
|
|
22630
|
+
|
|
22631
|
+
/** DotnetSettings ignoredResources. */
|
|
22632
|
+
public ignoredResources: string[];
|
|
22633
|
+
|
|
22634
|
+
/** DotnetSettings forcedNamespaceAliases. */
|
|
22635
|
+
public forcedNamespaceAliases: string[];
|
|
22636
|
+
|
|
22637
|
+
/** DotnetSettings handwrittenSignatures. */
|
|
22638
|
+
public handwrittenSignatures: string[];
|
|
22639
|
+
|
|
21003
22640
|
/**
|
|
21004
22641
|
* Creates a new DotnetSettings instance using the specified properties.
|
|
21005
22642
|
* @param [properties] Properties to set
|
|
@@ -21499,7 +23136,10 @@ export namespace google {
|
|
|
21499
23136
|
CLOUD = 1,
|
|
21500
23137
|
ADS = 2,
|
|
21501
23138
|
PHOTOS = 3,
|
|
21502
|
-
STREET_VIEW = 4
|
|
23139
|
+
STREET_VIEW = 4,
|
|
23140
|
+
SHOPPING = 5,
|
|
23141
|
+
GEO = 6,
|
|
23142
|
+
GENERATIVE_AI = 7
|
|
21503
23143
|
}
|
|
21504
23144
|
|
|
21505
23145
|
/** ClientLibraryDestination enum. */
|