@google-cloud/spanner 7.15.0 → 7.17.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 +25 -0
- package/README.md +2 -0
- package/build/protos/google/spanner/admin/instance/v1/common.proto +7 -0
- package/build/protos/google/spanner/admin/instance/v1/spanner_instance_admin.proto +139 -16
- package/build/protos/google/spanner/v1/commit_response.proto +9 -0
- package/build/protos/google/spanner/v1/result_set.proto +21 -0
- package/build/protos/google/spanner/v1/spanner.proto +61 -2
- package/build/protos/google/spanner/v1/transaction.proto +34 -0
- package/build/protos/google/spanner/v1/type.proto +43 -30
- package/build/protos/protos.d.ts +1724 -1112
- package/build/protos/protos.js +5185 -3528
- package/build/protos/protos.json +321 -129
- package/build/src/common.d.ts +8 -0
- package/build/src/common.js +19 -1
- package/build/src/database.d.ts +8 -1
- package/build/src/database.js +63 -56
- package/build/src/helper.d.ts +45 -0
- package/build/src/helper.js +71 -0
- package/build/src/index.d.ts +1 -1
- package/build/src/index.js +18 -11
- package/build/src/instance-config.d.ts +1 -0
- package/build/src/instance.d.ts +2 -1
- package/build/src/instance.js +12 -13
- package/build/src/instrument.d.ts +3 -0
- package/build/src/instrument.js +5 -1
- package/build/src/multiplexed-session.d.ts +136 -0
- package/build/src/multiplexed-session.js +197 -0
- package/build/src/session-factory.d.ts +101 -0
- package/build/src/session-factory.js +93 -0
- package/build/src/session-pool.d.ts +1 -39
- package/build/src/session-pool.js +6 -58
- package/build/src/session.d.ts +2 -1
- package/build/src/session.js +5 -6
- package/build/src/transaction.d.ts +1 -1
- package/build/src/transaction.js +8 -9
- package/build/src/v1/spanner_client.d.ts +44 -0
- package/build/src/v1/spanner_client.js +10 -0
- package/package.json +3 -2
package/build/protos/protos.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2025 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.
|
|
@@ -13124,6 +13124,103 @@ export namespace google {
|
|
|
13124
13124
|
FULFILLMENT_PERIOD_EXTENDED = 2
|
|
13125
13125
|
}
|
|
13126
13126
|
|
|
13127
|
+
/** Properties of a ReplicaSelection. */
|
|
13128
|
+
interface IReplicaSelection {
|
|
13129
|
+
|
|
13130
|
+
/** ReplicaSelection location */
|
|
13131
|
+
location?: (string|null);
|
|
13132
|
+
}
|
|
13133
|
+
|
|
13134
|
+
/** Represents a ReplicaSelection. */
|
|
13135
|
+
class ReplicaSelection implements IReplicaSelection {
|
|
13136
|
+
|
|
13137
|
+
/**
|
|
13138
|
+
* Constructs a new ReplicaSelection.
|
|
13139
|
+
* @param [properties] Properties to set
|
|
13140
|
+
*/
|
|
13141
|
+
constructor(properties?: google.spanner.admin.instance.v1.IReplicaSelection);
|
|
13142
|
+
|
|
13143
|
+
/** ReplicaSelection location. */
|
|
13144
|
+
public location: string;
|
|
13145
|
+
|
|
13146
|
+
/**
|
|
13147
|
+
* Creates a new ReplicaSelection instance using the specified properties.
|
|
13148
|
+
* @param [properties] Properties to set
|
|
13149
|
+
* @returns ReplicaSelection instance
|
|
13150
|
+
*/
|
|
13151
|
+
public static create(properties?: google.spanner.admin.instance.v1.IReplicaSelection): google.spanner.admin.instance.v1.ReplicaSelection;
|
|
13152
|
+
|
|
13153
|
+
/**
|
|
13154
|
+
* Encodes the specified ReplicaSelection message. Does not implicitly {@link google.spanner.admin.instance.v1.ReplicaSelection.verify|verify} messages.
|
|
13155
|
+
* @param message ReplicaSelection message or plain object to encode
|
|
13156
|
+
* @param [writer] Writer to encode to
|
|
13157
|
+
* @returns Writer
|
|
13158
|
+
*/
|
|
13159
|
+
public static encode(message: google.spanner.admin.instance.v1.IReplicaSelection, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13160
|
+
|
|
13161
|
+
/**
|
|
13162
|
+
* Encodes the specified ReplicaSelection message, length delimited. Does not implicitly {@link google.spanner.admin.instance.v1.ReplicaSelection.verify|verify} messages.
|
|
13163
|
+
* @param message ReplicaSelection message or plain object to encode
|
|
13164
|
+
* @param [writer] Writer to encode to
|
|
13165
|
+
* @returns Writer
|
|
13166
|
+
*/
|
|
13167
|
+
public static encodeDelimited(message: google.spanner.admin.instance.v1.IReplicaSelection, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13168
|
+
|
|
13169
|
+
/**
|
|
13170
|
+
* Decodes a ReplicaSelection message from the specified reader or buffer.
|
|
13171
|
+
* @param reader Reader or buffer to decode from
|
|
13172
|
+
* @param [length] Message length if known beforehand
|
|
13173
|
+
* @returns ReplicaSelection
|
|
13174
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13175
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13176
|
+
*/
|
|
13177
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.instance.v1.ReplicaSelection;
|
|
13178
|
+
|
|
13179
|
+
/**
|
|
13180
|
+
* Decodes a ReplicaSelection message from the specified reader or buffer, length delimited.
|
|
13181
|
+
* @param reader Reader or buffer to decode from
|
|
13182
|
+
* @returns ReplicaSelection
|
|
13183
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13184
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13185
|
+
*/
|
|
13186
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.instance.v1.ReplicaSelection;
|
|
13187
|
+
|
|
13188
|
+
/**
|
|
13189
|
+
* Verifies a ReplicaSelection message.
|
|
13190
|
+
* @param message Plain object to verify
|
|
13191
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
13192
|
+
*/
|
|
13193
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
13194
|
+
|
|
13195
|
+
/**
|
|
13196
|
+
* Creates a ReplicaSelection message from a plain object. Also converts values to their respective internal types.
|
|
13197
|
+
* @param object Plain object
|
|
13198
|
+
* @returns ReplicaSelection
|
|
13199
|
+
*/
|
|
13200
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.admin.instance.v1.ReplicaSelection;
|
|
13201
|
+
|
|
13202
|
+
/**
|
|
13203
|
+
* Creates a plain object from a ReplicaSelection message. Also converts values to other types if specified.
|
|
13204
|
+
* @param message ReplicaSelection
|
|
13205
|
+
* @param [options] Conversion options
|
|
13206
|
+
* @returns Plain object
|
|
13207
|
+
*/
|
|
13208
|
+
public static toObject(message: google.spanner.admin.instance.v1.ReplicaSelection, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
13209
|
+
|
|
13210
|
+
/**
|
|
13211
|
+
* Converts this ReplicaSelection to JSON.
|
|
13212
|
+
* @returns JSON object
|
|
13213
|
+
*/
|
|
13214
|
+
public toJSON(): { [k: string]: any };
|
|
13215
|
+
|
|
13216
|
+
/**
|
|
13217
|
+
* Gets the default type url for ReplicaSelection
|
|
13218
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
13219
|
+
* @returns The default type url
|
|
13220
|
+
*/
|
|
13221
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
13222
|
+
}
|
|
13223
|
+
|
|
13127
13224
|
/** Represents an InstanceAdmin */
|
|
13128
13225
|
class InstanceAdmin extends $protobuf.rpc.Service {
|
|
13129
13226
|
|
|
@@ -13883,6 +13980,118 @@ export namespace google {
|
|
|
13883
13980
|
}
|
|
13884
13981
|
}
|
|
13885
13982
|
|
|
13983
|
+
/** Properties of a ReplicaComputeCapacity. */
|
|
13984
|
+
interface IReplicaComputeCapacity {
|
|
13985
|
+
|
|
13986
|
+
/** ReplicaComputeCapacity replicaSelection */
|
|
13987
|
+
replicaSelection?: (google.spanner.admin.instance.v1.IReplicaSelection|null);
|
|
13988
|
+
|
|
13989
|
+
/** ReplicaComputeCapacity nodeCount */
|
|
13990
|
+
nodeCount?: (number|null);
|
|
13991
|
+
|
|
13992
|
+
/** ReplicaComputeCapacity processingUnits */
|
|
13993
|
+
processingUnits?: (number|null);
|
|
13994
|
+
}
|
|
13995
|
+
|
|
13996
|
+
/** Represents a ReplicaComputeCapacity. */
|
|
13997
|
+
class ReplicaComputeCapacity implements IReplicaComputeCapacity {
|
|
13998
|
+
|
|
13999
|
+
/**
|
|
14000
|
+
* Constructs a new ReplicaComputeCapacity.
|
|
14001
|
+
* @param [properties] Properties to set
|
|
14002
|
+
*/
|
|
14003
|
+
constructor(properties?: google.spanner.admin.instance.v1.IReplicaComputeCapacity);
|
|
14004
|
+
|
|
14005
|
+
/** ReplicaComputeCapacity replicaSelection. */
|
|
14006
|
+
public replicaSelection?: (google.spanner.admin.instance.v1.IReplicaSelection|null);
|
|
14007
|
+
|
|
14008
|
+
/** ReplicaComputeCapacity nodeCount. */
|
|
14009
|
+
public nodeCount?: (number|null);
|
|
14010
|
+
|
|
14011
|
+
/** ReplicaComputeCapacity processingUnits. */
|
|
14012
|
+
public processingUnits?: (number|null);
|
|
14013
|
+
|
|
14014
|
+
/** ReplicaComputeCapacity computeCapacity. */
|
|
14015
|
+
public computeCapacity?: ("nodeCount"|"processingUnits");
|
|
14016
|
+
|
|
14017
|
+
/**
|
|
14018
|
+
* Creates a new ReplicaComputeCapacity instance using the specified properties.
|
|
14019
|
+
* @param [properties] Properties to set
|
|
14020
|
+
* @returns ReplicaComputeCapacity instance
|
|
14021
|
+
*/
|
|
14022
|
+
public static create(properties?: google.spanner.admin.instance.v1.IReplicaComputeCapacity): google.spanner.admin.instance.v1.ReplicaComputeCapacity;
|
|
14023
|
+
|
|
14024
|
+
/**
|
|
14025
|
+
* Encodes the specified ReplicaComputeCapacity message. Does not implicitly {@link google.spanner.admin.instance.v1.ReplicaComputeCapacity.verify|verify} messages.
|
|
14026
|
+
* @param message ReplicaComputeCapacity message or plain object to encode
|
|
14027
|
+
* @param [writer] Writer to encode to
|
|
14028
|
+
* @returns Writer
|
|
14029
|
+
*/
|
|
14030
|
+
public static encode(message: google.spanner.admin.instance.v1.IReplicaComputeCapacity, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14031
|
+
|
|
14032
|
+
/**
|
|
14033
|
+
* Encodes the specified ReplicaComputeCapacity message, length delimited. Does not implicitly {@link google.spanner.admin.instance.v1.ReplicaComputeCapacity.verify|verify} messages.
|
|
14034
|
+
* @param message ReplicaComputeCapacity message or plain object to encode
|
|
14035
|
+
* @param [writer] Writer to encode to
|
|
14036
|
+
* @returns Writer
|
|
14037
|
+
*/
|
|
14038
|
+
public static encodeDelimited(message: google.spanner.admin.instance.v1.IReplicaComputeCapacity, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14039
|
+
|
|
14040
|
+
/**
|
|
14041
|
+
* Decodes a ReplicaComputeCapacity message from the specified reader or buffer.
|
|
14042
|
+
* @param reader Reader or buffer to decode from
|
|
14043
|
+
* @param [length] Message length if known beforehand
|
|
14044
|
+
* @returns ReplicaComputeCapacity
|
|
14045
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14046
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14047
|
+
*/
|
|
14048
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.instance.v1.ReplicaComputeCapacity;
|
|
14049
|
+
|
|
14050
|
+
/**
|
|
14051
|
+
* Decodes a ReplicaComputeCapacity message from the specified reader or buffer, length delimited.
|
|
14052
|
+
* @param reader Reader or buffer to decode from
|
|
14053
|
+
* @returns ReplicaComputeCapacity
|
|
14054
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14055
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14056
|
+
*/
|
|
14057
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.instance.v1.ReplicaComputeCapacity;
|
|
14058
|
+
|
|
14059
|
+
/**
|
|
14060
|
+
* Verifies a ReplicaComputeCapacity message.
|
|
14061
|
+
* @param message Plain object to verify
|
|
14062
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
14063
|
+
*/
|
|
14064
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
14065
|
+
|
|
14066
|
+
/**
|
|
14067
|
+
* Creates a ReplicaComputeCapacity message from a plain object. Also converts values to their respective internal types.
|
|
14068
|
+
* @param object Plain object
|
|
14069
|
+
* @returns ReplicaComputeCapacity
|
|
14070
|
+
*/
|
|
14071
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.admin.instance.v1.ReplicaComputeCapacity;
|
|
14072
|
+
|
|
14073
|
+
/**
|
|
14074
|
+
* Creates a plain object from a ReplicaComputeCapacity message. Also converts values to other types if specified.
|
|
14075
|
+
* @param message ReplicaComputeCapacity
|
|
14076
|
+
* @param [options] Conversion options
|
|
14077
|
+
* @returns Plain object
|
|
14078
|
+
*/
|
|
14079
|
+
public static toObject(message: google.spanner.admin.instance.v1.ReplicaComputeCapacity, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
14080
|
+
|
|
14081
|
+
/**
|
|
14082
|
+
* Converts this ReplicaComputeCapacity to JSON.
|
|
14083
|
+
* @returns JSON object
|
|
14084
|
+
*/
|
|
14085
|
+
public toJSON(): { [k: string]: any };
|
|
14086
|
+
|
|
14087
|
+
/**
|
|
14088
|
+
* Gets the default type url for ReplicaComputeCapacity
|
|
14089
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
14090
|
+
* @returns The default type url
|
|
14091
|
+
*/
|
|
14092
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
14093
|
+
}
|
|
14094
|
+
|
|
13886
14095
|
/** Properties of an AutoscalingConfig. */
|
|
13887
14096
|
interface IAutoscalingConfig {
|
|
13888
14097
|
|
|
@@ -13891,6 +14100,9 @@ export namespace google {
|
|
|
13891
14100
|
|
|
13892
14101
|
/** AutoscalingConfig autoscalingTargets */
|
|
13893
14102
|
autoscalingTargets?: (google.spanner.admin.instance.v1.AutoscalingConfig.IAutoscalingTargets|null);
|
|
14103
|
+
|
|
14104
|
+
/** AutoscalingConfig asymmetricAutoscalingOptions */
|
|
14105
|
+
asymmetricAutoscalingOptions?: (google.spanner.admin.instance.v1.AutoscalingConfig.IAsymmetricAutoscalingOption[]|null);
|
|
13894
14106
|
}
|
|
13895
14107
|
|
|
13896
14108
|
/** Represents an AutoscalingConfig. */
|
|
@@ -13908,6 +14120,9 @@ export namespace google {
|
|
|
13908
14120
|
/** AutoscalingConfig autoscalingTargets. */
|
|
13909
14121
|
public autoscalingTargets?: (google.spanner.admin.instance.v1.AutoscalingConfig.IAutoscalingTargets|null);
|
|
13910
14122
|
|
|
14123
|
+
/** AutoscalingConfig asymmetricAutoscalingOptions. */
|
|
14124
|
+
public asymmetricAutoscalingOptions: google.spanner.admin.instance.v1.AutoscalingConfig.IAsymmetricAutoscalingOption[];
|
|
14125
|
+
|
|
13911
14126
|
/**
|
|
13912
14127
|
* Creates a new AutoscalingConfig instance using the specified properties.
|
|
13913
14128
|
* @param [properties] Properties to set
|
|
@@ -14211,6 +14426,215 @@ export namespace google {
|
|
|
14211
14426
|
*/
|
|
14212
14427
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
14213
14428
|
}
|
|
14429
|
+
|
|
14430
|
+
/** Properties of an AsymmetricAutoscalingOption. */
|
|
14431
|
+
interface IAsymmetricAutoscalingOption {
|
|
14432
|
+
|
|
14433
|
+
/** AsymmetricAutoscalingOption replicaSelection */
|
|
14434
|
+
replicaSelection?: (google.spanner.admin.instance.v1.IReplicaSelection|null);
|
|
14435
|
+
|
|
14436
|
+
/** AsymmetricAutoscalingOption overrides */
|
|
14437
|
+
overrides?: (google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption.IAutoscalingConfigOverrides|null);
|
|
14438
|
+
}
|
|
14439
|
+
|
|
14440
|
+
/** Represents an AsymmetricAutoscalingOption. */
|
|
14441
|
+
class AsymmetricAutoscalingOption implements IAsymmetricAutoscalingOption {
|
|
14442
|
+
|
|
14443
|
+
/**
|
|
14444
|
+
* Constructs a new AsymmetricAutoscalingOption.
|
|
14445
|
+
* @param [properties] Properties to set
|
|
14446
|
+
*/
|
|
14447
|
+
constructor(properties?: google.spanner.admin.instance.v1.AutoscalingConfig.IAsymmetricAutoscalingOption);
|
|
14448
|
+
|
|
14449
|
+
/** AsymmetricAutoscalingOption replicaSelection. */
|
|
14450
|
+
public replicaSelection?: (google.spanner.admin.instance.v1.IReplicaSelection|null);
|
|
14451
|
+
|
|
14452
|
+
/** AsymmetricAutoscalingOption overrides. */
|
|
14453
|
+
public overrides?: (google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption.IAutoscalingConfigOverrides|null);
|
|
14454
|
+
|
|
14455
|
+
/**
|
|
14456
|
+
* Creates a new AsymmetricAutoscalingOption instance using the specified properties.
|
|
14457
|
+
* @param [properties] Properties to set
|
|
14458
|
+
* @returns AsymmetricAutoscalingOption instance
|
|
14459
|
+
*/
|
|
14460
|
+
public static create(properties?: google.spanner.admin.instance.v1.AutoscalingConfig.IAsymmetricAutoscalingOption): google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption;
|
|
14461
|
+
|
|
14462
|
+
/**
|
|
14463
|
+
* Encodes the specified AsymmetricAutoscalingOption message. Does not implicitly {@link google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption.verify|verify} messages.
|
|
14464
|
+
* @param message AsymmetricAutoscalingOption message or plain object to encode
|
|
14465
|
+
* @param [writer] Writer to encode to
|
|
14466
|
+
* @returns Writer
|
|
14467
|
+
*/
|
|
14468
|
+
public static encode(message: google.spanner.admin.instance.v1.AutoscalingConfig.IAsymmetricAutoscalingOption, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14469
|
+
|
|
14470
|
+
/**
|
|
14471
|
+
* Encodes the specified AsymmetricAutoscalingOption message, length delimited. Does not implicitly {@link google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption.verify|verify} messages.
|
|
14472
|
+
* @param message AsymmetricAutoscalingOption message or plain object to encode
|
|
14473
|
+
* @param [writer] Writer to encode to
|
|
14474
|
+
* @returns Writer
|
|
14475
|
+
*/
|
|
14476
|
+
public static encodeDelimited(message: google.spanner.admin.instance.v1.AutoscalingConfig.IAsymmetricAutoscalingOption, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14477
|
+
|
|
14478
|
+
/**
|
|
14479
|
+
* Decodes an AsymmetricAutoscalingOption message from the specified reader or buffer.
|
|
14480
|
+
* @param reader Reader or buffer to decode from
|
|
14481
|
+
* @param [length] Message length if known beforehand
|
|
14482
|
+
* @returns AsymmetricAutoscalingOption
|
|
14483
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14484
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14485
|
+
*/
|
|
14486
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption;
|
|
14487
|
+
|
|
14488
|
+
/**
|
|
14489
|
+
* Decodes an AsymmetricAutoscalingOption message from the specified reader or buffer, length delimited.
|
|
14490
|
+
* @param reader Reader or buffer to decode from
|
|
14491
|
+
* @returns AsymmetricAutoscalingOption
|
|
14492
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14493
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14494
|
+
*/
|
|
14495
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption;
|
|
14496
|
+
|
|
14497
|
+
/**
|
|
14498
|
+
* Verifies an AsymmetricAutoscalingOption message.
|
|
14499
|
+
* @param message Plain object to verify
|
|
14500
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
14501
|
+
*/
|
|
14502
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
14503
|
+
|
|
14504
|
+
/**
|
|
14505
|
+
* Creates an AsymmetricAutoscalingOption message from a plain object. Also converts values to their respective internal types.
|
|
14506
|
+
* @param object Plain object
|
|
14507
|
+
* @returns AsymmetricAutoscalingOption
|
|
14508
|
+
*/
|
|
14509
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption;
|
|
14510
|
+
|
|
14511
|
+
/**
|
|
14512
|
+
* Creates a plain object from an AsymmetricAutoscalingOption message. Also converts values to other types if specified.
|
|
14513
|
+
* @param message AsymmetricAutoscalingOption
|
|
14514
|
+
* @param [options] Conversion options
|
|
14515
|
+
* @returns Plain object
|
|
14516
|
+
*/
|
|
14517
|
+
public static toObject(message: google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
14518
|
+
|
|
14519
|
+
/**
|
|
14520
|
+
* Converts this AsymmetricAutoscalingOption to JSON.
|
|
14521
|
+
* @returns JSON object
|
|
14522
|
+
*/
|
|
14523
|
+
public toJSON(): { [k: string]: any };
|
|
14524
|
+
|
|
14525
|
+
/**
|
|
14526
|
+
* Gets the default type url for AsymmetricAutoscalingOption
|
|
14527
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
14528
|
+
* @returns The default type url
|
|
14529
|
+
*/
|
|
14530
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
14531
|
+
}
|
|
14532
|
+
|
|
14533
|
+
namespace AsymmetricAutoscalingOption {
|
|
14534
|
+
|
|
14535
|
+
/** Properties of an AutoscalingConfigOverrides. */
|
|
14536
|
+
interface IAutoscalingConfigOverrides {
|
|
14537
|
+
|
|
14538
|
+
/** AutoscalingConfigOverrides autoscalingLimits */
|
|
14539
|
+
autoscalingLimits?: (google.spanner.admin.instance.v1.AutoscalingConfig.IAutoscalingLimits|null);
|
|
14540
|
+
|
|
14541
|
+
/** AutoscalingConfigOverrides autoscalingTargetHighPriorityCpuUtilizationPercent */
|
|
14542
|
+
autoscalingTargetHighPriorityCpuUtilizationPercent?: (number|null);
|
|
14543
|
+
}
|
|
14544
|
+
|
|
14545
|
+
/** Represents an AutoscalingConfigOverrides. */
|
|
14546
|
+
class AutoscalingConfigOverrides implements IAutoscalingConfigOverrides {
|
|
14547
|
+
|
|
14548
|
+
/**
|
|
14549
|
+
* Constructs a new AutoscalingConfigOverrides.
|
|
14550
|
+
* @param [properties] Properties to set
|
|
14551
|
+
*/
|
|
14552
|
+
constructor(properties?: google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption.IAutoscalingConfigOverrides);
|
|
14553
|
+
|
|
14554
|
+
/** AutoscalingConfigOverrides autoscalingLimits. */
|
|
14555
|
+
public autoscalingLimits?: (google.spanner.admin.instance.v1.AutoscalingConfig.IAutoscalingLimits|null);
|
|
14556
|
+
|
|
14557
|
+
/** AutoscalingConfigOverrides autoscalingTargetHighPriorityCpuUtilizationPercent. */
|
|
14558
|
+
public autoscalingTargetHighPriorityCpuUtilizationPercent: number;
|
|
14559
|
+
|
|
14560
|
+
/**
|
|
14561
|
+
* Creates a new AutoscalingConfigOverrides instance using the specified properties.
|
|
14562
|
+
* @param [properties] Properties to set
|
|
14563
|
+
* @returns AutoscalingConfigOverrides instance
|
|
14564
|
+
*/
|
|
14565
|
+
public static create(properties?: google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption.IAutoscalingConfigOverrides): google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides;
|
|
14566
|
+
|
|
14567
|
+
/**
|
|
14568
|
+
* Encodes the specified AutoscalingConfigOverrides message. Does not implicitly {@link google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.verify|verify} messages.
|
|
14569
|
+
* @param message AutoscalingConfigOverrides message or plain object to encode
|
|
14570
|
+
* @param [writer] Writer to encode to
|
|
14571
|
+
* @returns Writer
|
|
14572
|
+
*/
|
|
14573
|
+
public static encode(message: google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption.IAutoscalingConfigOverrides, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14574
|
+
|
|
14575
|
+
/**
|
|
14576
|
+
* Encodes the specified AutoscalingConfigOverrides message, length delimited. Does not implicitly {@link google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.verify|verify} messages.
|
|
14577
|
+
* @param message AutoscalingConfigOverrides message or plain object to encode
|
|
14578
|
+
* @param [writer] Writer to encode to
|
|
14579
|
+
* @returns Writer
|
|
14580
|
+
*/
|
|
14581
|
+
public static encodeDelimited(message: google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption.IAutoscalingConfigOverrides, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14582
|
+
|
|
14583
|
+
/**
|
|
14584
|
+
* Decodes an AutoscalingConfigOverrides message from the specified reader or buffer.
|
|
14585
|
+
* @param reader Reader or buffer to decode from
|
|
14586
|
+
* @param [length] Message length if known beforehand
|
|
14587
|
+
* @returns AutoscalingConfigOverrides
|
|
14588
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14589
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14590
|
+
*/
|
|
14591
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides;
|
|
14592
|
+
|
|
14593
|
+
/**
|
|
14594
|
+
* Decodes an AutoscalingConfigOverrides message from the specified reader or buffer, length delimited.
|
|
14595
|
+
* @param reader Reader or buffer to decode from
|
|
14596
|
+
* @returns AutoscalingConfigOverrides
|
|
14597
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14598
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14599
|
+
*/
|
|
14600
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides;
|
|
14601
|
+
|
|
14602
|
+
/**
|
|
14603
|
+
* Verifies an AutoscalingConfigOverrides message.
|
|
14604
|
+
* @param message Plain object to verify
|
|
14605
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
14606
|
+
*/
|
|
14607
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
14608
|
+
|
|
14609
|
+
/**
|
|
14610
|
+
* Creates an AutoscalingConfigOverrides message from a plain object. Also converts values to their respective internal types.
|
|
14611
|
+
* @param object Plain object
|
|
14612
|
+
* @returns AutoscalingConfigOverrides
|
|
14613
|
+
*/
|
|
14614
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides;
|
|
14615
|
+
|
|
14616
|
+
/**
|
|
14617
|
+
* Creates a plain object from an AutoscalingConfigOverrides message. Also converts values to other types if specified.
|
|
14618
|
+
* @param message AutoscalingConfigOverrides
|
|
14619
|
+
* @param [options] Conversion options
|
|
14620
|
+
* @returns Plain object
|
|
14621
|
+
*/
|
|
14622
|
+
public static toObject(message: google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
14623
|
+
|
|
14624
|
+
/**
|
|
14625
|
+
* Converts this AutoscalingConfigOverrides to JSON.
|
|
14626
|
+
* @returns JSON object
|
|
14627
|
+
*/
|
|
14628
|
+
public toJSON(): { [k: string]: any };
|
|
14629
|
+
|
|
14630
|
+
/**
|
|
14631
|
+
* Gets the default type url for AutoscalingConfigOverrides
|
|
14632
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
14633
|
+
* @returns The default type url
|
|
14634
|
+
*/
|
|
14635
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
14636
|
+
}
|
|
14637
|
+
}
|
|
14214
14638
|
}
|
|
14215
14639
|
|
|
14216
14640
|
/** Properties of an Instance. */
|
|
@@ -14231,6 +14655,9 @@ export namespace google {
|
|
|
14231
14655
|
/** Instance processingUnits */
|
|
14232
14656
|
processingUnits?: (number|null);
|
|
14233
14657
|
|
|
14658
|
+
/** Instance replicaComputeCapacity */
|
|
14659
|
+
replicaComputeCapacity?: (google.spanner.admin.instance.v1.IReplicaComputeCapacity[]|null);
|
|
14660
|
+
|
|
14234
14661
|
/** Instance autoscalingConfig */
|
|
14235
14662
|
autoscalingConfig?: (google.spanner.admin.instance.v1.IAutoscalingConfig|null);
|
|
14236
14663
|
|
|
@@ -14251,6 +14678,9 @@ export namespace google {
|
|
|
14251
14678
|
|
|
14252
14679
|
/** Instance edition */
|
|
14253
14680
|
edition?: (google.spanner.admin.instance.v1.Instance.Edition|keyof typeof google.spanner.admin.instance.v1.Instance.Edition|null);
|
|
14681
|
+
|
|
14682
|
+
/** Instance defaultBackupScheduleType */
|
|
14683
|
+
defaultBackupScheduleType?: (google.spanner.admin.instance.v1.Instance.DefaultBackupScheduleType|keyof typeof google.spanner.admin.instance.v1.Instance.DefaultBackupScheduleType|null);
|
|
14254
14684
|
}
|
|
14255
14685
|
|
|
14256
14686
|
/** Represents an Instance. */
|
|
@@ -14277,6 +14707,9 @@ export namespace google {
|
|
|
14277
14707
|
/** Instance processingUnits. */
|
|
14278
14708
|
public processingUnits: number;
|
|
14279
14709
|
|
|
14710
|
+
/** Instance replicaComputeCapacity. */
|
|
14711
|
+
public replicaComputeCapacity: google.spanner.admin.instance.v1.IReplicaComputeCapacity[];
|
|
14712
|
+
|
|
14280
14713
|
/** Instance autoscalingConfig. */
|
|
14281
14714
|
public autoscalingConfig?: (google.spanner.admin.instance.v1.IAutoscalingConfig|null);
|
|
14282
14715
|
|
|
@@ -14298,6 +14731,9 @@ export namespace google {
|
|
|
14298
14731
|
/** Instance edition. */
|
|
14299
14732
|
public edition: (google.spanner.admin.instance.v1.Instance.Edition|keyof typeof google.spanner.admin.instance.v1.Instance.Edition);
|
|
14300
14733
|
|
|
14734
|
+
/** Instance defaultBackupScheduleType. */
|
|
14735
|
+
public defaultBackupScheduleType: (google.spanner.admin.instance.v1.Instance.DefaultBackupScheduleType|keyof typeof google.spanner.admin.instance.v1.Instance.DefaultBackupScheduleType);
|
|
14736
|
+
|
|
14301
14737
|
/**
|
|
14302
14738
|
* Creates a new Instance instance using the specified properties.
|
|
14303
14739
|
* @param [properties] Properties to set
|
|
@@ -14392,6 +14828,13 @@ export namespace google {
|
|
|
14392
14828
|
ENTERPRISE = 2,
|
|
14393
14829
|
ENTERPRISE_PLUS = 3
|
|
14394
14830
|
}
|
|
14831
|
+
|
|
14832
|
+
/** DefaultBackupScheduleType enum. */
|
|
14833
|
+
enum DefaultBackupScheduleType {
|
|
14834
|
+
DEFAULT_BACKUP_SCHEDULE_TYPE_UNSPECIFIED = 0,
|
|
14835
|
+
NONE = 1,
|
|
14836
|
+
AUTOMATIC = 2
|
|
14837
|
+
}
|
|
14395
14838
|
}
|
|
14396
14839
|
|
|
14397
14840
|
/** Properties of a ListInstanceConfigsRequest. */
|
|
@@ -29072,6 +29515,9 @@ export namespace google {
|
|
|
29072
29515
|
|
|
29073
29516
|
/** ExecuteSqlRequest dataBoostEnabled */
|
|
29074
29517
|
dataBoostEnabled?: (boolean|null);
|
|
29518
|
+
|
|
29519
|
+
/** ExecuteSqlRequest lastStatement */
|
|
29520
|
+
lastStatement?: (boolean|null);
|
|
29075
29521
|
}
|
|
29076
29522
|
|
|
29077
29523
|
/** Represents an ExecuteSqlRequest. */
|
|
@@ -29122,6 +29568,9 @@ export namespace google {
|
|
|
29122
29568
|
/** ExecuteSqlRequest dataBoostEnabled. */
|
|
29123
29569
|
public dataBoostEnabled: boolean;
|
|
29124
29570
|
|
|
29571
|
+
/** ExecuteSqlRequest lastStatement. */
|
|
29572
|
+
public lastStatement: boolean;
|
|
29573
|
+
|
|
29125
29574
|
/**
|
|
29126
29575
|
* Creates a new ExecuteSqlRequest instance using the specified properties.
|
|
29127
29576
|
* @param [properties] Properties to set
|
|
@@ -29206,7 +29655,9 @@ export namespace google {
|
|
|
29206
29655
|
enum QueryMode {
|
|
29207
29656
|
NORMAL = 0,
|
|
29208
29657
|
PLAN = 1,
|
|
29209
|
-
PROFILE = 2
|
|
29658
|
+
PROFILE = 2,
|
|
29659
|
+
WITH_STATS = 3,
|
|
29660
|
+
WITH_PLAN_AND_STATS = 4
|
|
29210
29661
|
}
|
|
29211
29662
|
|
|
29212
29663
|
/** Properties of a QueryOptions. */
|
|
@@ -29330,6 +29781,9 @@ export namespace google {
|
|
|
29330
29781
|
|
|
29331
29782
|
/** ExecuteBatchDmlRequest requestOptions */
|
|
29332
29783
|
requestOptions?: (google.spanner.v1.IRequestOptions|null);
|
|
29784
|
+
|
|
29785
|
+
/** ExecuteBatchDmlRequest lastStatements */
|
|
29786
|
+
lastStatements?: (boolean|null);
|
|
29333
29787
|
}
|
|
29334
29788
|
|
|
29335
29789
|
/** Represents an ExecuteBatchDmlRequest. */
|
|
@@ -29356,6 +29810,9 @@ export namespace google {
|
|
|
29356
29810
|
/** ExecuteBatchDmlRequest requestOptions. */
|
|
29357
29811
|
public requestOptions?: (google.spanner.v1.IRequestOptions|null);
|
|
29358
29812
|
|
|
29813
|
+
/** ExecuteBatchDmlRequest lastStatements. */
|
|
29814
|
+
public lastStatements: boolean;
|
|
29815
|
+
|
|
29359
29816
|
/**
|
|
29360
29817
|
* Creates a new ExecuteBatchDmlRequest instance using the specified properties.
|
|
29361
29818
|
* @param [properties] Properties to set
|
|
@@ -29554,6 +30011,9 @@ export namespace google {
|
|
|
29554
30011
|
|
|
29555
30012
|
/** ExecuteBatchDmlResponse status */
|
|
29556
30013
|
status?: (google.rpc.IStatus|null);
|
|
30014
|
+
|
|
30015
|
+
/** ExecuteBatchDmlResponse precommitToken */
|
|
30016
|
+
precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
|
|
29557
30017
|
}
|
|
29558
30018
|
|
|
29559
30019
|
/** Represents an ExecuteBatchDmlResponse. */
|
|
@@ -29571,6 +30031,9 @@ export namespace google {
|
|
|
29571
30031
|
/** ExecuteBatchDmlResponse status. */
|
|
29572
30032
|
public status?: (google.rpc.IStatus|null);
|
|
29573
30033
|
|
|
30034
|
+
/** ExecuteBatchDmlResponse precommitToken. */
|
|
30035
|
+
public precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
|
|
30036
|
+
|
|
29574
30037
|
/**
|
|
29575
30038
|
* Creates a new ExecuteBatchDmlResponse instance using the specified properties.
|
|
29576
30039
|
* @param [properties] Properties to set
|
|
@@ -30415,6 +30878,9 @@ export namespace google {
|
|
|
30415
30878
|
|
|
30416
30879
|
/** BeginTransactionRequest requestOptions */
|
|
30417
30880
|
requestOptions?: (google.spanner.v1.IRequestOptions|null);
|
|
30881
|
+
|
|
30882
|
+
/** BeginTransactionRequest mutationKey */
|
|
30883
|
+
mutationKey?: (google.spanner.v1.IMutation|null);
|
|
30418
30884
|
}
|
|
30419
30885
|
|
|
30420
30886
|
/** Represents a BeginTransactionRequest. */
|
|
@@ -30435,6 +30901,9 @@ export namespace google {
|
|
|
30435
30901
|
/** BeginTransactionRequest requestOptions. */
|
|
30436
30902
|
public requestOptions?: (google.spanner.v1.IRequestOptions|null);
|
|
30437
30903
|
|
|
30904
|
+
/** BeginTransactionRequest mutationKey. */
|
|
30905
|
+
public mutationKey?: (google.spanner.v1.IMutation|null);
|
|
30906
|
+
|
|
30438
30907
|
/**
|
|
30439
30908
|
* Creates a new BeginTransactionRequest instance using the specified properties.
|
|
30440
30909
|
* @param [properties] Properties to set
|
|
@@ -30536,6 +31005,9 @@ export namespace google {
|
|
|
30536
31005
|
|
|
30537
31006
|
/** CommitRequest requestOptions */
|
|
30538
31007
|
requestOptions?: (google.spanner.v1.IRequestOptions|null);
|
|
31008
|
+
|
|
31009
|
+
/** CommitRequest precommitToken */
|
|
31010
|
+
precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
|
|
30539
31011
|
}
|
|
30540
31012
|
|
|
30541
31013
|
/** Represents a CommitRequest. */
|
|
@@ -30568,6 +31040,9 @@ export namespace google {
|
|
|
30568
31040
|
/** CommitRequest requestOptions. */
|
|
30569
31041
|
public requestOptions?: (google.spanner.v1.IRequestOptions|null);
|
|
30570
31042
|
|
|
31043
|
+
/** CommitRequest precommitToken. */
|
|
31044
|
+
public precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
|
|
31045
|
+
|
|
30571
31046
|
/** CommitRequest transaction. */
|
|
30572
31047
|
public transaction?: ("transactionId"|"singleUseTransaction");
|
|
30573
31048
|
|
|
@@ -31084,6 +31559,9 @@ export namespace google {
|
|
|
31084
31559
|
|
|
31085
31560
|
/** CommitResponse commitStats */
|
|
31086
31561
|
commitStats?: (google.spanner.v1.CommitResponse.ICommitStats|null);
|
|
31562
|
+
|
|
31563
|
+
/** CommitResponse precommitToken */
|
|
31564
|
+
precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
|
|
31087
31565
|
}
|
|
31088
31566
|
|
|
31089
31567
|
/** Represents a CommitResponse. */
|
|
@@ -31101,6 +31579,12 @@ export namespace google {
|
|
|
31101
31579
|
/** CommitResponse commitStats. */
|
|
31102
31580
|
public commitStats?: (google.spanner.v1.CommitResponse.ICommitStats|null);
|
|
31103
31581
|
|
|
31582
|
+
/** CommitResponse precommitToken. */
|
|
31583
|
+
public precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
|
|
31584
|
+
|
|
31585
|
+
/** CommitResponse MultiplexedSessionRetry. */
|
|
31586
|
+
public MultiplexedSessionRetry?: "precommitToken";
|
|
31587
|
+
|
|
31104
31588
|
/**
|
|
31105
31589
|
* Creates a new CommitResponse instance using the specified properties.
|
|
31106
31590
|
* @param [properties] Properties to set
|
|
@@ -31279,568 +31763,454 @@ export namespace google {
|
|
|
31279
31763
|
}
|
|
31280
31764
|
}
|
|
31281
31765
|
|
|
31282
|
-
/** Properties of a
|
|
31283
|
-
interface
|
|
31766
|
+
/** Properties of a TransactionOptions. */
|
|
31767
|
+
interface ITransactionOptions {
|
|
31284
31768
|
|
|
31285
|
-
/**
|
|
31286
|
-
|
|
31769
|
+
/** TransactionOptions readWrite */
|
|
31770
|
+
readWrite?: (google.spanner.v1.TransactionOptions.IReadWrite|null);
|
|
31287
31771
|
|
|
31288
|
-
/**
|
|
31289
|
-
|
|
31772
|
+
/** TransactionOptions partitionedDml */
|
|
31773
|
+
partitionedDml?: (google.spanner.v1.TransactionOptions.IPartitionedDml|null);
|
|
31290
31774
|
|
|
31291
|
-
/**
|
|
31292
|
-
|
|
31775
|
+
/** TransactionOptions readOnly */
|
|
31776
|
+
readOnly?: (google.spanner.v1.TransactionOptions.IReadOnly|null);
|
|
31293
31777
|
|
|
31294
|
-
/**
|
|
31295
|
-
|
|
31778
|
+
/** TransactionOptions excludeTxnFromChangeStreams */
|
|
31779
|
+
excludeTxnFromChangeStreams?: (boolean|null);
|
|
31296
31780
|
}
|
|
31297
31781
|
|
|
31298
|
-
/** Represents a
|
|
31299
|
-
class
|
|
31782
|
+
/** Represents a TransactionOptions. */
|
|
31783
|
+
class TransactionOptions implements ITransactionOptions {
|
|
31300
31784
|
|
|
31301
31785
|
/**
|
|
31302
|
-
* Constructs a new
|
|
31786
|
+
* Constructs a new TransactionOptions.
|
|
31303
31787
|
* @param [properties] Properties to set
|
|
31304
31788
|
*/
|
|
31305
|
-
constructor(properties?: google.spanner.v1.
|
|
31306
|
-
|
|
31307
|
-
/** KeyRange startClosed. */
|
|
31308
|
-
public startClosed?: (google.protobuf.IListValue|null);
|
|
31789
|
+
constructor(properties?: google.spanner.v1.ITransactionOptions);
|
|
31309
31790
|
|
|
31310
|
-
/**
|
|
31311
|
-
public
|
|
31791
|
+
/** TransactionOptions readWrite. */
|
|
31792
|
+
public readWrite?: (google.spanner.v1.TransactionOptions.IReadWrite|null);
|
|
31312
31793
|
|
|
31313
|
-
/**
|
|
31314
|
-
public
|
|
31794
|
+
/** TransactionOptions partitionedDml. */
|
|
31795
|
+
public partitionedDml?: (google.spanner.v1.TransactionOptions.IPartitionedDml|null);
|
|
31315
31796
|
|
|
31316
|
-
/**
|
|
31317
|
-
public
|
|
31797
|
+
/** TransactionOptions readOnly. */
|
|
31798
|
+
public readOnly?: (google.spanner.v1.TransactionOptions.IReadOnly|null);
|
|
31318
31799
|
|
|
31319
|
-
/**
|
|
31320
|
-
public
|
|
31800
|
+
/** TransactionOptions excludeTxnFromChangeStreams. */
|
|
31801
|
+
public excludeTxnFromChangeStreams: boolean;
|
|
31321
31802
|
|
|
31322
|
-
/**
|
|
31323
|
-
public
|
|
31803
|
+
/** TransactionOptions mode. */
|
|
31804
|
+
public mode?: ("readWrite"|"partitionedDml"|"readOnly");
|
|
31324
31805
|
|
|
31325
31806
|
/**
|
|
31326
|
-
* Creates a new
|
|
31807
|
+
* Creates a new TransactionOptions instance using the specified properties.
|
|
31327
31808
|
* @param [properties] Properties to set
|
|
31328
|
-
* @returns
|
|
31809
|
+
* @returns TransactionOptions instance
|
|
31329
31810
|
*/
|
|
31330
|
-
public static create(properties?: google.spanner.v1.
|
|
31811
|
+
public static create(properties?: google.spanner.v1.ITransactionOptions): google.spanner.v1.TransactionOptions;
|
|
31331
31812
|
|
|
31332
31813
|
/**
|
|
31333
|
-
* Encodes the specified
|
|
31334
|
-
* @param message
|
|
31814
|
+
* Encodes the specified TransactionOptions message. Does not implicitly {@link google.spanner.v1.TransactionOptions.verify|verify} messages.
|
|
31815
|
+
* @param message TransactionOptions message or plain object to encode
|
|
31335
31816
|
* @param [writer] Writer to encode to
|
|
31336
31817
|
* @returns Writer
|
|
31337
31818
|
*/
|
|
31338
|
-
public static encode(message: google.spanner.v1.
|
|
31819
|
+
public static encode(message: google.spanner.v1.ITransactionOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
31339
31820
|
|
|
31340
31821
|
/**
|
|
31341
|
-
* Encodes the specified
|
|
31342
|
-
* @param message
|
|
31822
|
+
* Encodes the specified TransactionOptions message, length delimited. Does not implicitly {@link google.spanner.v1.TransactionOptions.verify|verify} messages.
|
|
31823
|
+
* @param message TransactionOptions message or plain object to encode
|
|
31343
31824
|
* @param [writer] Writer to encode to
|
|
31344
31825
|
* @returns Writer
|
|
31345
31826
|
*/
|
|
31346
|
-
public static encodeDelimited(message: google.spanner.v1.
|
|
31827
|
+
public static encodeDelimited(message: google.spanner.v1.ITransactionOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
31347
31828
|
|
|
31348
31829
|
/**
|
|
31349
|
-
* Decodes a
|
|
31830
|
+
* Decodes a TransactionOptions message from the specified reader or buffer.
|
|
31350
31831
|
* @param reader Reader or buffer to decode from
|
|
31351
31832
|
* @param [length] Message length if known beforehand
|
|
31352
|
-
* @returns
|
|
31833
|
+
* @returns TransactionOptions
|
|
31353
31834
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
31354
31835
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
31355
31836
|
*/
|
|
31356
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.
|
|
31837
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.TransactionOptions;
|
|
31357
31838
|
|
|
31358
31839
|
/**
|
|
31359
|
-
* Decodes a
|
|
31840
|
+
* Decodes a TransactionOptions message from the specified reader or buffer, length delimited.
|
|
31360
31841
|
* @param reader Reader or buffer to decode from
|
|
31361
|
-
* @returns
|
|
31842
|
+
* @returns TransactionOptions
|
|
31362
31843
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
31363
31844
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
31364
31845
|
*/
|
|
31365
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.
|
|
31846
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.TransactionOptions;
|
|
31366
31847
|
|
|
31367
31848
|
/**
|
|
31368
|
-
* Verifies a
|
|
31849
|
+
* Verifies a TransactionOptions message.
|
|
31369
31850
|
* @param message Plain object to verify
|
|
31370
31851
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
31371
31852
|
*/
|
|
31372
31853
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
31373
31854
|
|
|
31374
31855
|
/**
|
|
31375
|
-
* Creates a
|
|
31856
|
+
* Creates a TransactionOptions message from a plain object. Also converts values to their respective internal types.
|
|
31376
31857
|
* @param object Plain object
|
|
31377
|
-
* @returns
|
|
31858
|
+
* @returns TransactionOptions
|
|
31378
31859
|
*/
|
|
31379
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.v1.
|
|
31860
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.TransactionOptions;
|
|
31380
31861
|
|
|
31381
31862
|
/**
|
|
31382
|
-
* Creates a plain object from a
|
|
31383
|
-
* @param message
|
|
31863
|
+
* Creates a plain object from a TransactionOptions message. Also converts values to other types if specified.
|
|
31864
|
+
* @param message TransactionOptions
|
|
31384
31865
|
* @param [options] Conversion options
|
|
31385
31866
|
* @returns Plain object
|
|
31386
31867
|
*/
|
|
31387
|
-
public static toObject(message: google.spanner.v1.
|
|
31868
|
+
public static toObject(message: google.spanner.v1.TransactionOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
31388
31869
|
|
|
31389
31870
|
/**
|
|
31390
|
-
* Converts this
|
|
31871
|
+
* Converts this TransactionOptions to JSON.
|
|
31391
31872
|
* @returns JSON object
|
|
31392
31873
|
*/
|
|
31393
31874
|
public toJSON(): { [k: string]: any };
|
|
31394
31875
|
|
|
31395
31876
|
/**
|
|
31396
|
-
* Gets the default type url for
|
|
31877
|
+
* Gets the default type url for TransactionOptions
|
|
31397
31878
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
31398
31879
|
* @returns The default type url
|
|
31399
31880
|
*/
|
|
31400
31881
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
31401
31882
|
}
|
|
31402
31883
|
|
|
31403
|
-
|
|
31404
|
-
interface IKeySet {
|
|
31405
|
-
|
|
31406
|
-
/** KeySet keys */
|
|
31407
|
-
keys?: (google.protobuf.IListValue[]|null);
|
|
31884
|
+
namespace TransactionOptions {
|
|
31408
31885
|
|
|
31409
|
-
/**
|
|
31410
|
-
|
|
31886
|
+
/** Properties of a ReadWrite. */
|
|
31887
|
+
interface IReadWrite {
|
|
31411
31888
|
|
|
31412
|
-
|
|
31413
|
-
|
|
31414
|
-
}
|
|
31889
|
+
/** ReadWrite readLockMode */
|
|
31890
|
+
readLockMode?: (google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode|keyof typeof google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode|null);
|
|
31415
31891
|
|
|
31416
|
-
|
|
31417
|
-
|
|
31892
|
+
/** ReadWrite multiplexedSessionPreviousTransactionId */
|
|
31893
|
+
multiplexedSessionPreviousTransactionId?: (Uint8Array|string|null);
|
|
31894
|
+
}
|
|
31418
31895
|
|
|
31419
|
-
/**
|
|
31420
|
-
|
|
31421
|
-
* @param [properties] Properties to set
|
|
31422
|
-
*/
|
|
31423
|
-
constructor(properties?: google.spanner.v1.IKeySet);
|
|
31896
|
+
/** Represents a ReadWrite. */
|
|
31897
|
+
class ReadWrite implements IReadWrite {
|
|
31424
31898
|
|
|
31425
|
-
|
|
31426
|
-
|
|
31899
|
+
/**
|
|
31900
|
+
* Constructs a new ReadWrite.
|
|
31901
|
+
* @param [properties] Properties to set
|
|
31902
|
+
*/
|
|
31903
|
+
constructor(properties?: google.spanner.v1.TransactionOptions.IReadWrite);
|
|
31427
31904
|
|
|
31428
|
-
|
|
31429
|
-
|
|
31905
|
+
/** ReadWrite readLockMode. */
|
|
31906
|
+
public readLockMode: (google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode|keyof typeof google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode);
|
|
31430
31907
|
|
|
31431
|
-
|
|
31432
|
-
|
|
31908
|
+
/** ReadWrite multiplexedSessionPreviousTransactionId. */
|
|
31909
|
+
public multiplexedSessionPreviousTransactionId: (Uint8Array|string);
|
|
31433
31910
|
|
|
31434
|
-
|
|
31435
|
-
|
|
31436
|
-
|
|
31437
|
-
|
|
31438
|
-
|
|
31439
|
-
|
|
31911
|
+
/**
|
|
31912
|
+
* Creates a new ReadWrite instance using the specified properties.
|
|
31913
|
+
* @param [properties] Properties to set
|
|
31914
|
+
* @returns ReadWrite instance
|
|
31915
|
+
*/
|
|
31916
|
+
public static create(properties?: google.spanner.v1.TransactionOptions.IReadWrite): google.spanner.v1.TransactionOptions.ReadWrite;
|
|
31440
31917
|
|
|
31441
|
-
|
|
31442
|
-
|
|
31443
|
-
|
|
31444
|
-
|
|
31445
|
-
|
|
31446
|
-
|
|
31447
|
-
|
|
31918
|
+
/**
|
|
31919
|
+
* Encodes the specified ReadWrite message. Does not implicitly {@link google.spanner.v1.TransactionOptions.ReadWrite.verify|verify} messages.
|
|
31920
|
+
* @param message ReadWrite message or plain object to encode
|
|
31921
|
+
* @param [writer] Writer to encode to
|
|
31922
|
+
* @returns Writer
|
|
31923
|
+
*/
|
|
31924
|
+
public static encode(message: google.spanner.v1.TransactionOptions.IReadWrite, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
31448
31925
|
|
|
31449
|
-
|
|
31450
|
-
|
|
31451
|
-
|
|
31452
|
-
|
|
31453
|
-
|
|
31454
|
-
|
|
31455
|
-
|
|
31926
|
+
/**
|
|
31927
|
+
* Encodes the specified ReadWrite message, length delimited. Does not implicitly {@link google.spanner.v1.TransactionOptions.ReadWrite.verify|verify} messages.
|
|
31928
|
+
* @param message ReadWrite message or plain object to encode
|
|
31929
|
+
* @param [writer] Writer to encode to
|
|
31930
|
+
* @returns Writer
|
|
31931
|
+
*/
|
|
31932
|
+
public static encodeDelimited(message: google.spanner.v1.TransactionOptions.IReadWrite, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
31456
31933
|
|
|
31457
|
-
|
|
31458
|
-
|
|
31459
|
-
|
|
31460
|
-
|
|
31461
|
-
|
|
31462
|
-
|
|
31463
|
-
|
|
31464
|
-
|
|
31465
|
-
|
|
31934
|
+
/**
|
|
31935
|
+
* Decodes a ReadWrite message from the specified reader or buffer.
|
|
31936
|
+
* @param reader Reader or buffer to decode from
|
|
31937
|
+
* @param [length] Message length if known beforehand
|
|
31938
|
+
* @returns ReadWrite
|
|
31939
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
31940
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
31941
|
+
*/
|
|
31942
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.TransactionOptions.ReadWrite;
|
|
31466
31943
|
|
|
31467
|
-
|
|
31468
|
-
|
|
31469
|
-
|
|
31470
|
-
|
|
31471
|
-
|
|
31472
|
-
|
|
31473
|
-
|
|
31474
|
-
|
|
31944
|
+
/**
|
|
31945
|
+
* Decodes a ReadWrite message from the specified reader or buffer, length delimited.
|
|
31946
|
+
* @param reader Reader or buffer to decode from
|
|
31947
|
+
* @returns ReadWrite
|
|
31948
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
31949
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
31950
|
+
*/
|
|
31951
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.TransactionOptions.ReadWrite;
|
|
31475
31952
|
|
|
31476
|
-
|
|
31477
|
-
|
|
31478
|
-
|
|
31479
|
-
|
|
31480
|
-
|
|
31481
|
-
|
|
31953
|
+
/**
|
|
31954
|
+
* Verifies a ReadWrite message.
|
|
31955
|
+
* @param message Plain object to verify
|
|
31956
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
31957
|
+
*/
|
|
31958
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
31482
31959
|
|
|
31483
|
-
|
|
31484
|
-
|
|
31485
|
-
|
|
31486
|
-
|
|
31487
|
-
|
|
31488
|
-
|
|
31960
|
+
/**
|
|
31961
|
+
* Creates a ReadWrite message from a plain object. Also converts values to their respective internal types.
|
|
31962
|
+
* @param object Plain object
|
|
31963
|
+
* @returns ReadWrite
|
|
31964
|
+
*/
|
|
31965
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.TransactionOptions.ReadWrite;
|
|
31489
31966
|
|
|
31490
|
-
|
|
31491
|
-
|
|
31492
|
-
|
|
31493
|
-
|
|
31494
|
-
|
|
31495
|
-
|
|
31496
|
-
|
|
31967
|
+
/**
|
|
31968
|
+
* Creates a plain object from a ReadWrite message. Also converts values to other types if specified.
|
|
31969
|
+
* @param message ReadWrite
|
|
31970
|
+
* @param [options] Conversion options
|
|
31971
|
+
* @returns Plain object
|
|
31972
|
+
*/
|
|
31973
|
+
public static toObject(message: google.spanner.v1.TransactionOptions.ReadWrite, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
31497
31974
|
|
|
31498
|
-
|
|
31499
|
-
|
|
31500
|
-
|
|
31501
|
-
|
|
31502
|
-
|
|
31975
|
+
/**
|
|
31976
|
+
* Converts this ReadWrite to JSON.
|
|
31977
|
+
* @returns JSON object
|
|
31978
|
+
*/
|
|
31979
|
+
public toJSON(): { [k: string]: any };
|
|
31503
31980
|
|
|
31504
|
-
|
|
31505
|
-
|
|
31506
|
-
|
|
31507
|
-
|
|
31508
|
-
|
|
31509
|
-
|
|
31510
|
-
|
|
31981
|
+
/**
|
|
31982
|
+
* Gets the default type url for ReadWrite
|
|
31983
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
31984
|
+
* @returns The default type url
|
|
31985
|
+
*/
|
|
31986
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
31987
|
+
}
|
|
31511
31988
|
|
|
31512
|
-
|
|
31513
|
-
interface IMutation {
|
|
31989
|
+
namespace ReadWrite {
|
|
31514
31990
|
|
|
31515
|
-
|
|
31516
|
-
|
|
31991
|
+
/** ReadLockMode enum. */
|
|
31992
|
+
enum ReadLockMode {
|
|
31993
|
+
READ_LOCK_MODE_UNSPECIFIED = 0,
|
|
31994
|
+
PESSIMISTIC = 1,
|
|
31995
|
+
OPTIMISTIC = 2
|
|
31996
|
+
}
|
|
31997
|
+
}
|
|
31517
31998
|
|
|
31518
|
-
/**
|
|
31519
|
-
|
|
31520
|
-
|
|
31521
|
-
/** Mutation insertOrUpdate */
|
|
31522
|
-
insertOrUpdate?: (google.spanner.v1.Mutation.IWrite|null);
|
|
31523
|
-
|
|
31524
|
-
/** Mutation replace */
|
|
31525
|
-
replace?: (google.spanner.v1.Mutation.IWrite|null);
|
|
31526
|
-
|
|
31527
|
-
/** Mutation delete */
|
|
31528
|
-
"delete"?: (google.spanner.v1.Mutation.IDelete|null);
|
|
31529
|
-
}
|
|
31530
|
-
|
|
31531
|
-
/** Represents a Mutation. */
|
|
31532
|
-
class Mutation implements IMutation {
|
|
31533
|
-
|
|
31534
|
-
/**
|
|
31535
|
-
* Constructs a new Mutation.
|
|
31536
|
-
* @param [properties] Properties to set
|
|
31537
|
-
*/
|
|
31538
|
-
constructor(properties?: google.spanner.v1.IMutation);
|
|
31539
|
-
|
|
31540
|
-
/** Mutation insert. */
|
|
31541
|
-
public insert?: (google.spanner.v1.Mutation.IWrite|null);
|
|
31542
|
-
|
|
31543
|
-
/** Mutation update. */
|
|
31544
|
-
public update?: (google.spanner.v1.Mutation.IWrite|null);
|
|
31545
|
-
|
|
31546
|
-
/** Mutation insertOrUpdate. */
|
|
31547
|
-
public insertOrUpdate?: (google.spanner.v1.Mutation.IWrite|null);
|
|
31548
|
-
|
|
31549
|
-
/** Mutation replace. */
|
|
31550
|
-
public replace?: (google.spanner.v1.Mutation.IWrite|null);
|
|
31551
|
-
|
|
31552
|
-
/** Mutation delete. */
|
|
31553
|
-
public delete?: (google.spanner.v1.Mutation.IDelete|null);
|
|
31554
|
-
|
|
31555
|
-
/** Mutation operation. */
|
|
31556
|
-
public operation?: ("insert"|"update"|"insertOrUpdate"|"replace"|"delete");
|
|
31557
|
-
|
|
31558
|
-
/**
|
|
31559
|
-
* Creates a new Mutation instance using the specified properties.
|
|
31560
|
-
* @param [properties] Properties to set
|
|
31561
|
-
* @returns Mutation instance
|
|
31562
|
-
*/
|
|
31563
|
-
public static create(properties?: google.spanner.v1.IMutation): google.spanner.v1.Mutation;
|
|
31564
|
-
|
|
31565
|
-
/**
|
|
31566
|
-
* Encodes the specified Mutation message. Does not implicitly {@link google.spanner.v1.Mutation.verify|verify} messages.
|
|
31567
|
-
* @param message Mutation message or plain object to encode
|
|
31568
|
-
* @param [writer] Writer to encode to
|
|
31569
|
-
* @returns Writer
|
|
31570
|
-
*/
|
|
31571
|
-
public static encode(message: google.spanner.v1.IMutation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
31572
|
-
|
|
31573
|
-
/**
|
|
31574
|
-
* Encodes the specified Mutation message, length delimited. Does not implicitly {@link google.spanner.v1.Mutation.verify|verify} messages.
|
|
31575
|
-
* @param message Mutation message or plain object to encode
|
|
31576
|
-
* @param [writer] Writer to encode to
|
|
31577
|
-
* @returns Writer
|
|
31578
|
-
*/
|
|
31579
|
-
public static encodeDelimited(message: google.spanner.v1.IMutation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
31580
|
-
|
|
31581
|
-
/**
|
|
31582
|
-
* Decodes a Mutation message from the specified reader or buffer.
|
|
31583
|
-
* @param reader Reader or buffer to decode from
|
|
31584
|
-
* @param [length] Message length if known beforehand
|
|
31585
|
-
* @returns Mutation
|
|
31586
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
31587
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
31588
|
-
*/
|
|
31589
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.Mutation;
|
|
31590
|
-
|
|
31591
|
-
/**
|
|
31592
|
-
* Decodes a Mutation message from the specified reader or buffer, length delimited.
|
|
31593
|
-
* @param reader Reader or buffer to decode from
|
|
31594
|
-
* @returns Mutation
|
|
31595
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
31596
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
31597
|
-
*/
|
|
31598
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.Mutation;
|
|
31599
|
-
|
|
31600
|
-
/**
|
|
31601
|
-
* Verifies a Mutation message.
|
|
31602
|
-
* @param message Plain object to verify
|
|
31603
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
31604
|
-
*/
|
|
31605
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
31606
|
-
|
|
31607
|
-
/**
|
|
31608
|
-
* Creates a Mutation message from a plain object. Also converts values to their respective internal types.
|
|
31609
|
-
* @param object Plain object
|
|
31610
|
-
* @returns Mutation
|
|
31611
|
-
*/
|
|
31612
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.v1.Mutation;
|
|
31613
|
-
|
|
31614
|
-
/**
|
|
31615
|
-
* Creates a plain object from a Mutation message. Also converts values to other types if specified.
|
|
31616
|
-
* @param message Mutation
|
|
31617
|
-
* @param [options] Conversion options
|
|
31618
|
-
* @returns Plain object
|
|
31619
|
-
*/
|
|
31620
|
-
public static toObject(message: google.spanner.v1.Mutation, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
31621
|
-
|
|
31622
|
-
/**
|
|
31623
|
-
* Converts this Mutation to JSON.
|
|
31624
|
-
* @returns JSON object
|
|
31625
|
-
*/
|
|
31626
|
-
public toJSON(): { [k: string]: any };
|
|
31627
|
-
|
|
31628
|
-
/**
|
|
31629
|
-
* Gets the default type url for Mutation
|
|
31630
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
31631
|
-
* @returns The default type url
|
|
31632
|
-
*/
|
|
31633
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
31634
|
-
}
|
|
31635
|
-
|
|
31636
|
-
namespace Mutation {
|
|
31637
|
-
|
|
31638
|
-
/** Properties of a Write. */
|
|
31639
|
-
interface IWrite {
|
|
31640
|
-
|
|
31641
|
-
/** Write table */
|
|
31642
|
-
table?: (string|null);
|
|
31643
|
-
|
|
31644
|
-
/** Write columns */
|
|
31645
|
-
columns?: (string[]|null);
|
|
31646
|
-
|
|
31647
|
-
/** Write values */
|
|
31648
|
-
values?: (google.protobuf.IListValue[]|null);
|
|
31999
|
+
/** Properties of a PartitionedDml. */
|
|
32000
|
+
interface IPartitionedDml {
|
|
31649
32001
|
}
|
|
31650
32002
|
|
|
31651
|
-
/** Represents a
|
|
31652
|
-
class
|
|
32003
|
+
/** Represents a PartitionedDml. */
|
|
32004
|
+
class PartitionedDml implements IPartitionedDml {
|
|
31653
32005
|
|
|
31654
32006
|
/**
|
|
31655
|
-
* Constructs a new
|
|
32007
|
+
* Constructs a new PartitionedDml.
|
|
31656
32008
|
* @param [properties] Properties to set
|
|
31657
32009
|
*/
|
|
31658
|
-
constructor(properties?: google.spanner.v1.
|
|
31659
|
-
|
|
31660
|
-
/** Write table. */
|
|
31661
|
-
public table: string;
|
|
31662
|
-
|
|
31663
|
-
/** Write columns. */
|
|
31664
|
-
public columns: string[];
|
|
31665
|
-
|
|
31666
|
-
/** Write values. */
|
|
31667
|
-
public values: google.protobuf.IListValue[];
|
|
32010
|
+
constructor(properties?: google.spanner.v1.TransactionOptions.IPartitionedDml);
|
|
31668
32011
|
|
|
31669
32012
|
/**
|
|
31670
|
-
* Creates a new
|
|
32013
|
+
* Creates a new PartitionedDml instance using the specified properties.
|
|
31671
32014
|
* @param [properties] Properties to set
|
|
31672
|
-
* @returns
|
|
32015
|
+
* @returns PartitionedDml instance
|
|
31673
32016
|
*/
|
|
31674
|
-
public static create(properties?: google.spanner.v1.
|
|
32017
|
+
public static create(properties?: google.spanner.v1.TransactionOptions.IPartitionedDml): google.spanner.v1.TransactionOptions.PartitionedDml;
|
|
31675
32018
|
|
|
31676
32019
|
/**
|
|
31677
|
-
* Encodes the specified
|
|
31678
|
-
* @param message
|
|
32020
|
+
* Encodes the specified PartitionedDml message. Does not implicitly {@link google.spanner.v1.TransactionOptions.PartitionedDml.verify|verify} messages.
|
|
32021
|
+
* @param message PartitionedDml message or plain object to encode
|
|
31679
32022
|
* @param [writer] Writer to encode to
|
|
31680
32023
|
* @returns Writer
|
|
31681
32024
|
*/
|
|
31682
|
-
public static encode(message: google.spanner.v1.
|
|
32025
|
+
public static encode(message: google.spanner.v1.TransactionOptions.IPartitionedDml, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
31683
32026
|
|
|
31684
32027
|
/**
|
|
31685
|
-
* Encodes the specified
|
|
31686
|
-
* @param message
|
|
32028
|
+
* Encodes the specified PartitionedDml message, length delimited. Does not implicitly {@link google.spanner.v1.TransactionOptions.PartitionedDml.verify|verify} messages.
|
|
32029
|
+
* @param message PartitionedDml message or plain object to encode
|
|
31687
32030
|
* @param [writer] Writer to encode to
|
|
31688
32031
|
* @returns Writer
|
|
31689
32032
|
*/
|
|
31690
|
-
public static encodeDelimited(message: google.spanner.v1.
|
|
32033
|
+
public static encodeDelimited(message: google.spanner.v1.TransactionOptions.IPartitionedDml, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
31691
32034
|
|
|
31692
32035
|
/**
|
|
31693
|
-
* Decodes a
|
|
32036
|
+
* Decodes a PartitionedDml message from the specified reader or buffer.
|
|
31694
32037
|
* @param reader Reader or buffer to decode from
|
|
31695
32038
|
* @param [length] Message length if known beforehand
|
|
31696
|
-
* @returns
|
|
32039
|
+
* @returns PartitionedDml
|
|
31697
32040
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
31698
32041
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
31699
32042
|
*/
|
|
31700
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.
|
|
32043
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.TransactionOptions.PartitionedDml;
|
|
31701
32044
|
|
|
31702
32045
|
/**
|
|
31703
|
-
* Decodes a
|
|
32046
|
+
* Decodes a PartitionedDml message from the specified reader or buffer, length delimited.
|
|
31704
32047
|
* @param reader Reader or buffer to decode from
|
|
31705
|
-
* @returns
|
|
32048
|
+
* @returns PartitionedDml
|
|
31706
32049
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
31707
32050
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
31708
32051
|
*/
|
|
31709
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.
|
|
32052
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.TransactionOptions.PartitionedDml;
|
|
31710
32053
|
|
|
31711
32054
|
/**
|
|
31712
|
-
* Verifies a
|
|
32055
|
+
* Verifies a PartitionedDml message.
|
|
31713
32056
|
* @param message Plain object to verify
|
|
31714
32057
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
31715
32058
|
*/
|
|
31716
32059
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
31717
32060
|
|
|
31718
32061
|
/**
|
|
31719
|
-
* Creates a
|
|
32062
|
+
* Creates a PartitionedDml message from a plain object. Also converts values to their respective internal types.
|
|
31720
32063
|
* @param object Plain object
|
|
31721
|
-
* @returns
|
|
32064
|
+
* @returns PartitionedDml
|
|
31722
32065
|
*/
|
|
31723
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.v1.
|
|
32066
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.TransactionOptions.PartitionedDml;
|
|
31724
32067
|
|
|
31725
32068
|
/**
|
|
31726
|
-
* Creates a plain object from a
|
|
31727
|
-
* @param message
|
|
32069
|
+
* Creates a plain object from a PartitionedDml message. Also converts values to other types if specified.
|
|
32070
|
+
* @param message PartitionedDml
|
|
31728
32071
|
* @param [options] Conversion options
|
|
31729
32072
|
* @returns Plain object
|
|
31730
32073
|
*/
|
|
31731
|
-
public static toObject(message: google.spanner.v1.
|
|
32074
|
+
public static toObject(message: google.spanner.v1.TransactionOptions.PartitionedDml, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
31732
32075
|
|
|
31733
32076
|
/**
|
|
31734
|
-
* Converts this
|
|
32077
|
+
* Converts this PartitionedDml to JSON.
|
|
31735
32078
|
* @returns JSON object
|
|
31736
32079
|
*/
|
|
31737
32080
|
public toJSON(): { [k: string]: any };
|
|
31738
32081
|
|
|
31739
32082
|
/**
|
|
31740
|
-
* Gets the default type url for
|
|
32083
|
+
* Gets the default type url for PartitionedDml
|
|
31741
32084
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
31742
32085
|
* @returns The default type url
|
|
31743
32086
|
*/
|
|
31744
32087
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
31745
32088
|
}
|
|
31746
32089
|
|
|
31747
|
-
/** Properties of a
|
|
31748
|
-
interface
|
|
32090
|
+
/** Properties of a ReadOnly. */
|
|
32091
|
+
interface IReadOnly {
|
|
31749
32092
|
|
|
31750
|
-
/**
|
|
31751
|
-
|
|
32093
|
+
/** ReadOnly strong */
|
|
32094
|
+
strong?: (boolean|null);
|
|
31752
32095
|
|
|
31753
|
-
/**
|
|
31754
|
-
|
|
32096
|
+
/** ReadOnly minReadTimestamp */
|
|
32097
|
+
minReadTimestamp?: (google.protobuf.ITimestamp|null);
|
|
32098
|
+
|
|
32099
|
+
/** ReadOnly maxStaleness */
|
|
32100
|
+
maxStaleness?: (google.protobuf.IDuration|null);
|
|
32101
|
+
|
|
32102
|
+
/** ReadOnly readTimestamp */
|
|
32103
|
+
readTimestamp?: (google.protobuf.ITimestamp|null);
|
|
32104
|
+
|
|
32105
|
+
/** ReadOnly exactStaleness */
|
|
32106
|
+
exactStaleness?: (google.protobuf.IDuration|null);
|
|
32107
|
+
|
|
32108
|
+
/** ReadOnly returnReadTimestamp */
|
|
32109
|
+
returnReadTimestamp?: (boolean|null);
|
|
31755
32110
|
}
|
|
31756
32111
|
|
|
31757
|
-
/** Represents a
|
|
31758
|
-
class
|
|
32112
|
+
/** Represents a ReadOnly. */
|
|
32113
|
+
class ReadOnly implements IReadOnly {
|
|
31759
32114
|
|
|
31760
32115
|
/**
|
|
31761
|
-
* Constructs a new
|
|
32116
|
+
* Constructs a new ReadOnly.
|
|
31762
32117
|
* @param [properties] Properties to set
|
|
31763
32118
|
*/
|
|
31764
|
-
constructor(properties?: google.spanner.v1.
|
|
32119
|
+
constructor(properties?: google.spanner.v1.TransactionOptions.IReadOnly);
|
|
31765
32120
|
|
|
31766
|
-
/**
|
|
31767
|
-
public
|
|
32121
|
+
/** ReadOnly strong. */
|
|
32122
|
+
public strong?: (boolean|null);
|
|
31768
32123
|
|
|
31769
|
-
/**
|
|
31770
|
-
public
|
|
32124
|
+
/** ReadOnly minReadTimestamp. */
|
|
32125
|
+
public minReadTimestamp?: (google.protobuf.ITimestamp|null);
|
|
32126
|
+
|
|
32127
|
+
/** ReadOnly maxStaleness. */
|
|
32128
|
+
public maxStaleness?: (google.protobuf.IDuration|null);
|
|
32129
|
+
|
|
32130
|
+
/** ReadOnly readTimestamp. */
|
|
32131
|
+
public readTimestamp?: (google.protobuf.ITimestamp|null);
|
|
32132
|
+
|
|
32133
|
+
/** ReadOnly exactStaleness. */
|
|
32134
|
+
public exactStaleness?: (google.protobuf.IDuration|null);
|
|
32135
|
+
|
|
32136
|
+
/** ReadOnly returnReadTimestamp. */
|
|
32137
|
+
public returnReadTimestamp: boolean;
|
|
32138
|
+
|
|
32139
|
+
/** ReadOnly timestampBound. */
|
|
32140
|
+
public timestampBound?: ("strong"|"minReadTimestamp"|"maxStaleness"|"readTimestamp"|"exactStaleness");
|
|
31771
32141
|
|
|
31772
32142
|
/**
|
|
31773
|
-
* Creates a new
|
|
32143
|
+
* Creates a new ReadOnly instance using the specified properties.
|
|
31774
32144
|
* @param [properties] Properties to set
|
|
31775
|
-
* @returns
|
|
32145
|
+
* @returns ReadOnly instance
|
|
31776
32146
|
*/
|
|
31777
|
-
public static create(properties?: google.spanner.v1.
|
|
32147
|
+
public static create(properties?: google.spanner.v1.TransactionOptions.IReadOnly): google.spanner.v1.TransactionOptions.ReadOnly;
|
|
31778
32148
|
|
|
31779
32149
|
/**
|
|
31780
|
-
* Encodes the specified
|
|
31781
|
-
* @param message
|
|
32150
|
+
* Encodes the specified ReadOnly message. Does not implicitly {@link google.spanner.v1.TransactionOptions.ReadOnly.verify|verify} messages.
|
|
32151
|
+
* @param message ReadOnly message or plain object to encode
|
|
31782
32152
|
* @param [writer] Writer to encode to
|
|
31783
32153
|
* @returns Writer
|
|
31784
32154
|
*/
|
|
31785
|
-
public static encode(message: google.spanner.v1.
|
|
32155
|
+
public static encode(message: google.spanner.v1.TransactionOptions.IReadOnly, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
31786
32156
|
|
|
31787
32157
|
/**
|
|
31788
|
-
* Encodes the specified
|
|
31789
|
-
* @param message
|
|
32158
|
+
* Encodes the specified ReadOnly message, length delimited. Does not implicitly {@link google.spanner.v1.TransactionOptions.ReadOnly.verify|verify} messages.
|
|
32159
|
+
* @param message ReadOnly message or plain object to encode
|
|
31790
32160
|
* @param [writer] Writer to encode to
|
|
31791
32161
|
* @returns Writer
|
|
31792
32162
|
*/
|
|
31793
|
-
public static encodeDelimited(message: google.spanner.v1.
|
|
32163
|
+
public static encodeDelimited(message: google.spanner.v1.TransactionOptions.IReadOnly, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
31794
32164
|
|
|
31795
32165
|
/**
|
|
31796
|
-
* Decodes a
|
|
32166
|
+
* Decodes a ReadOnly message from the specified reader or buffer.
|
|
31797
32167
|
* @param reader Reader or buffer to decode from
|
|
31798
32168
|
* @param [length] Message length if known beforehand
|
|
31799
|
-
* @returns
|
|
32169
|
+
* @returns ReadOnly
|
|
31800
32170
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
31801
32171
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
31802
32172
|
*/
|
|
31803
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.
|
|
32173
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.TransactionOptions.ReadOnly;
|
|
31804
32174
|
|
|
31805
32175
|
/**
|
|
31806
|
-
* Decodes a
|
|
32176
|
+
* Decodes a ReadOnly message from the specified reader or buffer, length delimited.
|
|
31807
32177
|
* @param reader Reader or buffer to decode from
|
|
31808
|
-
* @returns
|
|
32178
|
+
* @returns ReadOnly
|
|
31809
32179
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
31810
32180
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
31811
32181
|
*/
|
|
31812
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.
|
|
32182
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.TransactionOptions.ReadOnly;
|
|
31813
32183
|
|
|
31814
32184
|
/**
|
|
31815
|
-
* Verifies a
|
|
32185
|
+
* Verifies a ReadOnly message.
|
|
31816
32186
|
* @param message Plain object to verify
|
|
31817
32187
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
31818
32188
|
*/
|
|
31819
32189
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
31820
32190
|
|
|
31821
32191
|
/**
|
|
31822
|
-
* Creates a
|
|
32192
|
+
* Creates a ReadOnly message from a plain object. Also converts values to their respective internal types.
|
|
31823
32193
|
* @param object Plain object
|
|
31824
|
-
* @returns
|
|
32194
|
+
* @returns ReadOnly
|
|
31825
32195
|
*/
|
|
31826
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.v1.
|
|
32196
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.TransactionOptions.ReadOnly;
|
|
31827
32197
|
|
|
31828
32198
|
/**
|
|
31829
|
-
* Creates a plain object from a
|
|
31830
|
-
* @param message
|
|
32199
|
+
* Creates a plain object from a ReadOnly message. Also converts values to other types if specified.
|
|
32200
|
+
* @param message ReadOnly
|
|
31831
32201
|
* @param [options] Conversion options
|
|
31832
32202
|
* @returns Plain object
|
|
31833
32203
|
*/
|
|
31834
|
-
public static toObject(message: google.spanner.v1.
|
|
32204
|
+
public static toObject(message: google.spanner.v1.TransactionOptions.ReadOnly, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
31835
32205
|
|
|
31836
32206
|
/**
|
|
31837
|
-
* Converts this
|
|
32207
|
+
* Converts this ReadOnly to JSON.
|
|
31838
32208
|
* @returns JSON object
|
|
31839
32209
|
*/
|
|
31840
32210
|
public toJSON(): { [k: string]: any };
|
|
31841
32211
|
|
|
31842
32212
|
/**
|
|
31843
|
-
* Gets the default type url for
|
|
32213
|
+
* Gets the default type url for ReadOnly
|
|
31844
32214
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
31845
32215
|
* @returns The default type url
|
|
31846
32216
|
*/
|
|
@@ -31848,811 +32218,892 @@ export namespace google {
|
|
|
31848
32218
|
}
|
|
31849
32219
|
}
|
|
31850
32220
|
|
|
31851
|
-
/** Properties of a
|
|
31852
|
-
interface
|
|
32221
|
+
/** Properties of a Transaction. */
|
|
32222
|
+
interface ITransaction {
|
|
31853
32223
|
|
|
31854
|
-
/**
|
|
31855
|
-
|
|
32224
|
+
/** Transaction id */
|
|
32225
|
+
id?: (Uint8Array|string|null);
|
|
31856
32226
|
|
|
31857
|
-
/**
|
|
31858
|
-
|
|
32227
|
+
/** Transaction readTimestamp */
|
|
32228
|
+
readTimestamp?: (google.protobuf.ITimestamp|null);
|
|
31859
32229
|
|
|
31860
|
-
/**
|
|
31861
|
-
|
|
32230
|
+
/** Transaction precommitToken */
|
|
32231
|
+
precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
|
|
31862
32232
|
}
|
|
31863
32233
|
|
|
31864
|
-
/** Represents a
|
|
31865
|
-
class
|
|
32234
|
+
/** Represents a Transaction. */
|
|
32235
|
+
class Transaction implements ITransaction {
|
|
31866
32236
|
|
|
31867
32237
|
/**
|
|
31868
|
-
* Constructs a new
|
|
32238
|
+
* Constructs a new Transaction.
|
|
31869
32239
|
* @param [properties] Properties to set
|
|
31870
32240
|
*/
|
|
31871
|
-
constructor(properties?: google.spanner.v1.
|
|
32241
|
+
constructor(properties?: google.spanner.v1.ITransaction);
|
|
31872
32242
|
|
|
31873
|
-
/**
|
|
31874
|
-
public
|
|
32243
|
+
/** Transaction id. */
|
|
32244
|
+
public id: (Uint8Array|string);
|
|
31875
32245
|
|
|
31876
|
-
/**
|
|
31877
|
-
public
|
|
32246
|
+
/** Transaction readTimestamp. */
|
|
32247
|
+
public readTimestamp?: (google.protobuf.ITimestamp|null);
|
|
31878
32248
|
|
|
31879
|
-
/**
|
|
31880
|
-
public
|
|
32249
|
+
/** Transaction precommitToken. */
|
|
32250
|
+
public precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
|
|
31881
32251
|
|
|
31882
32252
|
/**
|
|
31883
|
-
* Creates a new
|
|
32253
|
+
* Creates a new Transaction instance using the specified properties.
|
|
31884
32254
|
* @param [properties] Properties to set
|
|
31885
|
-
* @returns
|
|
32255
|
+
* @returns Transaction instance
|
|
31886
32256
|
*/
|
|
31887
|
-
public static create(properties?: google.spanner.v1.
|
|
32257
|
+
public static create(properties?: google.spanner.v1.ITransaction): google.spanner.v1.Transaction;
|
|
31888
32258
|
|
|
31889
32259
|
/**
|
|
31890
|
-
* Encodes the specified
|
|
31891
|
-
* @param message
|
|
32260
|
+
* Encodes the specified Transaction message. Does not implicitly {@link google.spanner.v1.Transaction.verify|verify} messages.
|
|
32261
|
+
* @param message Transaction message or plain object to encode
|
|
31892
32262
|
* @param [writer] Writer to encode to
|
|
31893
32263
|
* @returns Writer
|
|
31894
32264
|
*/
|
|
31895
|
-
public static encode(message: google.spanner.v1.
|
|
32265
|
+
public static encode(message: google.spanner.v1.ITransaction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
31896
32266
|
|
|
31897
32267
|
/**
|
|
31898
|
-
* Encodes the specified
|
|
31899
|
-
* @param message
|
|
32268
|
+
* Encodes the specified Transaction message, length delimited. Does not implicitly {@link google.spanner.v1.Transaction.verify|verify} messages.
|
|
32269
|
+
* @param message Transaction message or plain object to encode
|
|
31900
32270
|
* @param [writer] Writer to encode to
|
|
31901
32271
|
* @returns Writer
|
|
31902
32272
|
*/
|
|
31903
|
-
public static encodeDelimited(message: google.spanner.v1.
|
|
32273
|
+
public static encodeDelimited(message: google.spanner.v1.ITransaction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
31904
32274
|
|
|
31905
32275
|
/**
|
|
31906
|
-
* Decodes a
|
|
32276
|
+
* Decodes a Transaction message from the specified reader or buffer.
|
|
31907
32277
|
* @param reader Reader or buffer to decode from
|
|
31908
32278
|
* @param [length] Message length if known beforehand
|
|
31909
|
-
* @returns
|
|
32279
|
+
* @returns Transaction
|
|
31910
32280
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
31911
32281
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
31912
32282
|
*/
|
|
31913
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.
|
|
32283
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.Transaction;
|
|
31914
32284
|
|
|
31915
32285
|
/**
|
|
31916
|
-
* Decodes a
|
|
32286
|
+
* Decodes a Transaction message from the specified reader or buffer, length delimited.
|
|
31917
32287
|
* @param reader Reader or buffer to decode from
|
|
31918
|
-
* @returns
|
|
32288
|
+
* @returns Transaction
|
|
31919
32289
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
31920
32290
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
31921
32291
|
*/
|
|
31922
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.
|
|
32292
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.Transaction;
|
|
31923
32293
|
|
|
31924
32294
|
/**
|
|
31925
|
-
* Verifies a
|
|
32295
|
+
* Verifies a Transaction message.
|
|
31926
32296
|
* @param message Plain object to verify
|
|
31927
32297
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
31928
32298
|
*/
|
|
31929
32299
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
31930
32300
|
|
|
31931
32301
|
/**
|
|
31932
|
-
* Creates a
|
|
32302
|
+
* Creates a Transaction message from a plain object. Also converts values to their respective internal types.
|
|
31933
32303
|
* @param object Plain object
|
|
31934
|
-
* @returns
|
|
32304
|
+
* @returns Transaction
|
|
31935
32305
|
*/
|
|
31936
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.v1.
|
|
32306
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.Transaction;
|
|
31937
32307
|
|
|
31938
32308
|
/**
|
|
31939
|
-
* Creates a plain object from a
|
|
31940
|
-
* @param message
|
|
32309
|
+
* Creates a plain object from a Transaction message. Also converts values to other types if specified.
|
|
32310
|
+
* @param message Transaction
|
|
31941
32311
|
* @param [options] Conversion options
|
|
31942
32312
|
* @returns Plain object
|
|
31943
32313
|
*/
|
|
31944
|
-
public static toObject(message: google.spanner.v1.
|
|
32314
|
+
public static toObject(message: google.spanner.v1.Transaction, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
31945
32315
|
|
|
31946
32316
|
/**
|
|
31947
|
-
* Converts this
|
|
32317
|
+
* Converts this Transaction to JSON.
|
|
31948
32318
|
* @returns JSON object
|
|
31949
32319
|
*/
|
|
31950
32320
|
public toJSON(): { [k: string]: any };
|
|
31951
32321
|
|
|
31952
32322
|
/**
|
|
31953
|
-
* Gets the default type url for
|
|
32323
|
+
* Gets the default type url for Transaction
|
|
31954
32324
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
31955
32325
|
* @returns The default type url
|
|
31956
32326
|
*/
|
|
31957
32327
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
31958
32328
|
}
|
|
31959
32329
|
|
|
31960
|
-
/** Properties of a
|
|
31961
|
-
interface
|
|
31962
|
-
|
|
31963
|
-
/** PartialResultSet metadata */
|
|
31964
|
-
metadata?: (google.spanner.v1.IResultSetMetadata|null);
|
|
31965
|
-
|
|
31966
|
-
/** PartialResultSet values */
|
|
31967
|
-
values?: (google.protobuf.IValue[]|null);
|
|
32330
|
+
/** Properties of a TransactionSelector. */
|
|
32331
|
+
interface ITransactionSelector {
|
|
31968
32332
|
|
|
31969
|
-
/**
|
|
31970
|
-
|
|
32333
|
+
/** TransactionSelector singleUse */
|
|
32334
|
+
singleUse?: (google.spanner.v1.ITransactionOptions|null);
|
|
31971
32335
|
|
|
31972
|
-
/**
|
|
31973
|
-
|
|
32336
|
+
/** TransactionSelector id */
|
|
32337
|
+
id?: (Uint8Array|string|null);
|
|
31974
32338
|
|
|
31975
|
-
/**
|
|
31976
|
-
|
|
32339
|
+
/** TransactionSelector begin */
|
|
32340
|
+
begin?: (google.spanner.v1.ITransactionOptions|null);
|
|
31977
32341
|
}
|
|
31978
32342
|
|
|
31979
|
-
/** Represents a
|
|
31980
|
-
class
|
|
32343
|
+
/** Represents a TransactionSelector. */
|
|
32344
|
+
class TransactionSelector implements ITransactionSelector {
|
|
31981
32345
|
|
|
31982
32346
|
/**
|
|
31983
|
-
* Constructs a new
|
|
32347
|
+
* Constructs a new TransactionSelector.
|
|
31984
32348
|
* @param [properties] Properties to set
|
|
31985
32349
|
*/
|
|
31986
|
-
constructor(properties?: google.spanner.v1.
|
|
31987
|
-
|
|
31988
|
-
/** PartialResultSet metadata. */
|
|
31989
|
-
public metadata?: (google.spanner.v1.IResultSetMetadata|null);
|
|
32350
|
+
constructor(properties?: google.spanner.v1.ITransactionSelector);
|
|
31990
32351
|
|
|
31991
|
-
/**
|
|
31992
|
-
public
|
|
32352
|
+
/** TransactionSelector singleUse. */
|
|
32353
|
+
public singleUse?: (google.spanner.v1.ITransactionOptions|null);
|
|
31993
32354
|
|
|
31994
|
-
/**
|
|
31995
|
-
public
|
|
32355
|
+
/** TransactionSelector id. */
|
|
32356
|
+
public id?: (Uint8Array|string|null);
|
|
31996
32357
|
|
|
31997
|
-
/**
|
|
31998
|
-
public
|
|
32358
|
+
/** TransactionSelector begin. */
|
|
32359
|
+
public begin?: (google.spanner.v1.ITransactionOptions|null);
|
|
31999
32360
|
|
|
32000
|
-
/**
|
|
32001
|
-
public
|
|
32361
|
+
/** TransactionSelector selector. */
|
|
32362
|
+
public selector?: ("singleUse"|"id"|"begin");
|
|
32002
32363
|
|
|
32003
32364
|
/**
|
|
32004
|
-
* Creates a new
|
|
32365
|
+
* Creates a new TransactionSelector instance using the specified properties.
|
|
32005
32366
|
* @param [properties] Properties to set
|
|
32006
|
-
* @returns
|
|
32367
|
+
* @returns TransactionSelector instance
|
|
32007
32368
|
*/
|
|
32008
|
-
public static create(properties?: google.spanner.v1.
|
|
32369
|
+
public static create(properties?: google.spanner.v1.ITransactionSelector): google.spanner.v1.TransactionSelector;
|
|
32009
32370
|
|
|
32010
32371
|
/**
|
|
32011
|
-
* Encodes the specified
|
|
32012
|
-
* @param message
|
|
32372
|
+
* Encodes the specified TransactionSelector message. Does not implicitly {@link google.spanner.v1.TransactionSelector.verify|verify} messages.
|
|
32373
|
+
* @param message TransactionSelector message or plain object to encode
|
|
32013
32374
|
* @param [writer] Writer to encode to
|
|
32014
32375
|
* @returns Writer
|
|
32015
32376
|
*/
|
|
32016
|
-
public static encode(message: google.spanner.v1.
|
|
32377
|
+
public static encode(message: google.spanner.v1.ITransactionSelector, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
32017
32378
|
|
|
32018
32379
|
/**
|
|
32019
|
-
* Encodes the specified
|
|
32020
|
-
* @param message
|
|
32380
|
+
* Encodes the specified TransactionSelector message, length delimited. Does not implicitly {@link google.spanner.v1.TransactionSelector.verify|verify} messages.
|
|
32381
|
+
* @param message TransactionSelector message or plain object to encode
|
|
32021
32382
|
* @param [writer] Writer to encode to
|
|
32022
32383
|
* @returns Writer
|
|
32023
32384
|
*/
|
|
32024
|
-
public static encodeDelimited(message: google.spanner.v1.
|
|
32385
|
+
public static encodeDelimited(message: google.spanner.v1.ITransactionSelector, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
32025
32386
|
|
|
32026
32387
|
/**
|
|
32027
|
-
* Decodes a
|
|
32388
|
+
* Decodes a TransactionSelector message from the specified reader or buffer.
|
|
32028
32389
|
* @param reader Reader or buffer to decode from
|
|
32029
32390
|
* @param [length] Message length if known beforehand
|
|
32030
|
-
* @returns
|
|
32391
|
+
* @returns TransactionSelector
|
|
32031
32392
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32032
32393
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32033
32394
|
*/
|
|
32034
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.
|
|
32395
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.TransactionSelector;
|
|
32035
32396
|
|
|
32036
32397
|
/**
|
|
32037
|
-
* Decodes a
|
|
32398
|
+
* Decodes a TransactionSelector message from the specified reader or buffer, length delimited.
|
|
32038
32399
|
* @param reader Reader or buffer to decode from
|
|
32039
|
-
* @returns
|
|
32400
|
+
* @returns TransactionSelector
|
|
32040
32401
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32041
32402
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32042
32403
|
*/
|
|
32043
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.
|
|
32404
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.TransactionSelector;
|
|
32044
32405
|
|
|
32045
32406
|
/**
|
|
32046
|
-
* Verifies a
|
|
32407
|
+
* Verifies a TransactionSelector message.
|
|
32047
32408
|
* @param message Plain object to verify
|
|
32048
32409
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
32049
32410
|
*/
|
|
32050
32411
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
32051
32412
|
|
|
32052
32413
|
/**
|
|
32053
|
-
* Creates a
|
|
32414
|
+
* Creates a TransactionSelector message from a plain object. Also converts values to their respective internal types.
|
|
32054
32415
|
* @param object Plain object
|
|
32055
|
-
* @returns
|
|
32416
|
+
* @returns TransactionSelector
|
|
32056
32417
|
*/
|
|
32057
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.v1.
|
|
32418
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.TransactionSelector;
|
|
32058
32419
|
|
|
32059
32420
|
/**
|
|
32060
|
-
* Creates a plain object from a
|
|
32061
|
-
* @param message
|
|
32421
|
+
* Creates a plain object from a TransactionSelector message. Also converts values to other types if specified.
|
|
32422
|
+
* @param message TransactionSelector
|
|
32062
32423
|
* @param [options] Conversion options
|
|
32063
32424
|
* @returns Plain object
|
|
32064
32425
|
*/
|
|
32065
|
-
public static toObject(message: google.spanner.v1.
|
|
32426
|
+
public static toObject(message: google.spanner.v1.TransactionSelector, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
32066
32427
|
|
|
32067
32428
|
/**
|
|
32068
|
-
* Converts this
|
|
32429
|
+
* Converts this TransactionSelector to JSON.
|
|
32069
32430
|
* @returns JSON object
|
|
32070
32431
|
*/
|
|
32071
32432
|
public toJSON(): { [k: string]: any };
|
|
32072
32433
|
|
|
32073
32434
|
/**
|
|
32074
|
-
* Gets the default type url for
|
|
32435
|
+
* Gets the default type url for TransactionSelector
|
|
32075
32436
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
32076
32437
|
* @returns The default type url
|
|
32077
32438
|
*/
|
|
32078
32439
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
32079
32440
|
}
|
|
32080
32441
|
|
|
32081
|
-
/** Properties of a
|
|
32082
|
-
interface
|
|
32083
|
-
|
|
32084
|
-
/** ResultSetMetadata rowType */
|
|
32085
|
-
rowType?: (google.spanner.v1.IStructType|null);
|
|
32442
|
+
/** Properties of a MultiplexedSessionPrecommitToken. */
|
|
32443
|
+
interface IMultiplexedSessionPrecommitToken {
|
|
32086
32444
|
|
|
32087
|
-
/**
|
|
32088
|
-
|
|
32445
|
+
/** MultiplexedSessionPrecommitToken precommitToken */
|
|
32446
|
+
precommitToken?: (Uint8Array|string|null);
|
|
32089
32447
|
|
|
32090
|
-
/**
|
|
32091
|
-
|
|
32448
|
+
/** MultiplexedSessionPrecommitToken seqNum */
|
|
32449
|
+
seqNum?: (number|null);
|
|
32092
32450
|
}
|
|
32093
32451
|
|
|
32094
|
-
/** Represents a
|
|
32095
|
-
class
|
|
32452
|
+
/** Represents a MultiplexedSessionPrecommitToken. */
|
|
32453
|
+
class MultiplexedSessionPrecommitToken implements IMultiplexedSessionPrecommitToken {
|
|
32096
32454
|
|
|
32097
32455
|
/**
|
|
32098
|
-
* Constructs a new
|
|
32456
|
+
* Constructs a new MultiplexedSessionPrecommitToken.
|
|
32099
32457
|
* @param [properties] Properties to set
|
|
32100
32458
|
*/
|
|
32101
|
-
constructor(properties?: google.spanner.v1.
|
|
32102
|
-
|
|
32103
|
-
/** ResultSetMetadata rowType. */
|
|
32104
|
-
public rowType?: (google.spanner.v1.IStructType|null);
|
|
32459
|
+
constructor(properties?: google.spanner.v1.IMultiplexedSessionPrecommitToken);
|
|
32105
32460
|
|
|
32106
|
-
/**
|
|
32107
|
-
public
|
|
32461
|
+
/** MultiplexedSessionPrecommitToken precommitToken. */
|
|
32462
|
+
public precommitToken: (Uint8Array|string);
|
|
32108
32463
|
|
|
32109
|
-
/**
|
|
32110
|
-
public
|
|
32464
|
+
/** MultiplexedSessionPrecommitToken seqNum. */
|
|
32465
|
+
public seqNum: number;
|
|
32111
32466
|
|
|
32112
32467
|
/**
|
|
32113
|
-
* Creates a new
|
|
32468
|
+
* Creates a new MultiplexedSessionPrecommitToken instance using the specified properties.
|
|
32114
32469
|
* @param [properties] Properties to set
|
|
32115
|
-
* @returns
|
|
32470
|
+
* @returns MultiplexedSessionPrecommitToken instance
|
|
32116
32471
|
*/
|
|
32117
|
-
public static create(properties?: google.spanner.v1.
|
|
32472
|
+
public static create(properties?: google.spanner.v1.IMultiplexedSessionPrecommitToken): google.spanner.v1.MultiplexedSessionPrecommitToken;
|
|
32118
32473
|
|
|
32119
32474
|
/**
|
|
32120
|
-
* Encodes the specified
|
|
32121
|
-
* @param message
|
|
32475
|
+
* Encodes the specified MultiplexedSessionPrecommitToken message. Does not implicitly {@link google.spanner.v1.MultiplexedSessionPrecommitToken.verify|verify} messages.
|
|
32476
|
+
* @param message MultiplexedSessionPrecommitToken message or plain object to encode
|
|
32122
32477
|
* @param [writer] Writer to encode to
|
|
32123
32478
|
* @returns Writer
|
|
32124
32479
|
*/
|
|
32125
|
-
public static encode(message: google.spanner.v1.
|
|
32480
|
+
public static encode(message: google.spanner.v1.IMultiplexedSessionPrecommitToken, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
32126
32481
|
|
|
32127
32482
|
/**
|
|
32128
|
-
* Encodes the specified
|
|
32129
|
-
* @param message
|
|
32483
|
+
* Encodes the specified MultiplexedSessionPrecommitToken message, length delimited. Does not implicitly {@link google.spanner.v1.MultiplexedSessionPrecommitToken.verify|verify} messages.
|
|
32484
|
+
* @param message MultiplexedSessionPrecommitToken message or plain object to encode
|
|
32130
32485
|
* @param [writer] Writer to encode to
|
|
32131
32486
|
* @returns Writer
|
|
32132
32487
|
*/
|
|
32133
|
-
public static encodeDelimited(message: google.spanner.v1.
|
|
32488
|
+
public static encodeDelimited(message: google.spanner.v1.IMultiplexedSessionPrecommitToken, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
32134
32489
|
|
|
32135
32490
|
/**
|
|
32136
|
-
* Decodes a
|
|
32491
|
+
* Decodes a MultiplexedSessionPrecommitToken message from the specified reader or buffer.
|
|
32137
32492
|
* @param reader Reader or buffer to decode from
|
|
32138
32493
|
* @param [length] Message length if known beforehand
|
|
32139
|
-
* @returns
|
|
32494
|
+
* @returns MultiplexedSessionPrecommitToken
|
|
32140
32495
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32141
32496
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32142
32497
|
*/
|
|
32143
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.
|
|
32498
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.MultiplexedSessionPrecommitToken;
|
|
32144
32499
|
|
|
32145
32500
|
/**
|
|
32146
|
-
* Decodes a
|
|
32501
|
+
* Decodes a MultiplexedSessionPrecommitToken message from the specified reader or buffer, length delimited.
|
|
32147
32502
|
* @param reader Reader or buffer to decode from
|
|
32148
|
-
* @returns
|
|
32503
|
+
* @returns MultiplexedSessionPrecommitToken
|
|
32149
32504
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32150
32505
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32151
32506
|
*/
|
|
32152
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.
|
|
32507
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.MultiplexedSessionPrecommitToken;
|
|
32153
32508
|
|
|
32154
32509
|
/**
|
|
32155
|
-
* Verifies a
|
|
32510
|
+
* Verifies a MultiplexedSessionPrecommitToken message.
|
|
32156
32511
|
* @param message Plain object to verify
|
|
32157
32512
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
32158
32513
|
*/
|
|
32159
32514
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
32160
32515
|
|
|
32161
32516
|
/**
|
|
32162
|
-
* Creates a
|
|
32517
|
+
* Creates a MultiplexedSessionPrecommitToken message from a plain object. Also converts values to their respective internal types.
|
|
32163
32518
|
* @param object Plain object
|
|
32164
|
-
* @returns
|
|
32519
|
+
* @returns MultiplexedSessionPrecommitToken
|
|
32165
32520
|
*/
|
|
32166
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.v1.
|
|
32521
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.MultiplexedSessionPrecommitToken;
|
|
32167
32522
|
|
|
32168
32523
|
/**
|
|
32169
|
-
* Creates a plain object from a
|
|
32170
|
-
* @param message
|
|
32524
|
+
* Creates a plain object from a MultiplexedSessionPrecommitToken message. Also converts values to other types if specified.
|
|
32525
|
+
* @param message MultiplexedSessionPrecommitToken
|
|
32171
32526
|
* @param [options] Conversion options
|
|
32172
32527
|
* @returns Plain object
|
|
32173
32528
|
*/
|
|
32174
|
-
public static toObject(message: google.spanner.v1.
|
|
32529
|
+
public static toObject(message: google.spanner.v1.MultiplexedSessionPrecommitToken, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
32175
32530
|
|
|
32176
32531
|
/**
|
|
32177
|
-
* Converts this
|
|
32532
|
+
* Converts this MultiplexedSessionPrecommitToken to JSON.
|
|
32178
32533
|
* @returns JSON object
|
|
32179
32534
|
*/
|
|
32180
32535
|
public toJSON(): { [k: string]: any };
|
|
32181
32536
|
|
|
32182
32537
|
/**
|
|
32183
|
-
* Gets the default type url for
|
|
32538
|
+
* Gets the default type url for MultiplexedSessionPrecommitToken
|
|
32184
32539
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
32185
32540
|
* @returns The default type url
|
|
32186
32541
|
*/
|
|
32187
32542
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
32188
32543
|
}
|
|
32189
32544
|
|
|
32190
|
-
/** Properties of a
|
|
32191
|
-
interface
|
|
32545
|
+
/** Properties of a KeyRange. */
|
|
32546
|
+
interface IKeyRange {
|
|
32192
32547
|
|
|
32193
|
-
/**
|
|
32194
|
-
|
|
32548
|
+
/** KeyRange startClosed */
|
|
32549
|
+
startClosed?: (google.protobuf.IListValue|null);
|
|
32195
32550
|
|
|
32196
|
-
/**
|
|
32197
|
-
|
|
32551
|
+
/** KeyRange startOpen */
|
|
32552
|
+
startOpen?: (google.protobuf.IListValue|null);
|
|
32198
32553
|
|
|
32199
|
-
/**
|
|
32200
|
-
|
|
32554
|
+
/** KeyRange endClosed */
|
|
32555
|
+
endClosed?: (google.protobuf.IListValue|null);
|
|
32201
32556
|
|
|
32202
|
-
/**
|
|
32203
|
-
|
|
32557
|
+
/** KeyRange endOpen */
|
|
32558
|
+
endOpen?: (google.protobuf.IListValue|null);
|
|
32204
32559
|
}
|
|
32205
32560
|
|
|
32206
|
-
/** Represents a
|
|
32207
|
-
class
|
|
32561
|
+
/** Represents a KeyRange. */
|
|
32562
|
+
class KeyRange implements IKeyRange {
|
|
32208
32563
|
|
|
32209
32564
|
/**
|
|
32210
|
-
* Constructs a new
|
|
32565
|
+
* Constructs a new KeyRange.
|
|
32211
32566
|
* @param [properties] Properties to set
|
|
32212
32567
|
*/
|
|
32213
|
-
constructor(properties?: google.spanner.v1.
|
|
32568
|
+
constructor(properties?: google.spanner.v1.IKeyRange);
|
|
32214
32569
|
|
|
32215
|
-
/**
|
|
32216
|
-
public
|
|
32570
|
+
/** KeyRange startClosed. */
|
|
32571
|
+
public startClosed?: (google.protobuf.IListValue|null);
|
|
32217
32572
|
|
|
32218
|
-
/**
|
|
32219
|
-
public
|
|
32573
|
+
/** KeyRange startOpen. */
|
|
32574
|
+
public startOpen?: (google.protobuf.IListValue|null);
|
|
32220
32575
|
|
|
32221
|
-
/**
|
|
32222
|
-
public
|
|
32576
|
+
/** KeyRange endClosed. */
|
|
32577
|
+
public endClosed?: (google.protobuf.IListValue|null);
|
|
32223
32578
|
|
|
32224
|
-
/**
|
|
32225
|
-
public
|
|
32579
|
+
/** KeyRange endOpen. */
|
|
32580
|
+
public endOpen?: (google.protobuf.IListValue|null);
|
|
32226
32581
|
|
|
32227
|
-
/**
|
|
32228
|
-
public
|
|
32582
|
+
/** KeyRange startKeyType. */
|
|
32583
|
+
public startKeyType?: ("startClosed"|"startOpen");
|
|
32584
|
+
|
|
32585
|
+
/** KeyRange endKeyType. */
|
|
32586
|
+
public endKeyType?: ("endClosed"|"endOpen");
|
|
32229
32587
|
|
|
32230
32588
|
/**
|
|
32231
|
-
* Creates a new
|
|
32589
|
+
* Creates a new KeyRange instance using the specified properties.
|
|
32232
32590
|
* @param [properties] Properties to set
|
|
32233
|
-
* @returns
|
|
32591
|
+
* @returns KeyRange instance
|
|
32234
32592
|
*/
|
|
32235
|
-
public static create(properties?: google.spanner.v1.
|
|
32593
|
+
public static create(properties?: google.spanner.v1.IKeyRange): google.spanner.v1.KeyRange;
|
|
32236
32594
|
|
|
32237
32595
|
/**
|
|
32238
|
-
* Encodes the specified
|
|
32239
|
-
* @param message
|
|
32596
|
+
* Encodes the specified KeyRange message. Does not implicitly {@link google.spanner.v1.KeyRange.verify|verify} messages.
|
|
32597
|
+
* @param message KeyRange message or plain object to encode
|
|
32240
32598
|
* @param [writer] Writer to encode to
|
|
32241
32599
|
* @returns Writer
|
|
32242
32600
|
*/
|
|
32243
|
-
public static encode(message: google.spanner.v1.
|
|
32601
|
+
public static encode(message: google.spanner.v1.IKeyRange, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
32244
32602
|
|
|
32245
32603
|
/**
|
|
32246
|
-
* Encodes the specified
|
|
32247
|
-
* @param message
|
|
32604
|
+
* Encodes the specified KeyRange message, length delimited. Does not implicitly {@link google.spanner.v1.KeyRange.verify|verify} messages.
|
|
32605
|
+
* @param message KeyRange message or plain object to encode
|
|
32248
32606
|
* @param [writer] Writer to encode to
|
|
32249
32607
|
* @returns Writer
|
|
32250
32608
|
*/
|
|
32251
|
-
public static encodeDelimited(message: google.spanner.v1.
|
|
32609
|
+
public static encodeDelimited(message: google.spanner.v1.IKeyRange, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
32252
32610
|
|
|
32253
32611
|
/**
|
|
32254
|
-
* Decodes a
|
|
32612
|
+
* Decodes a KeyRange message from the specified reader or buffer.
|
|
32255
32613
|
* @param reader Reader or buffer to decode from
|
|
32256
32614
|
* @param [length] Message length if known beforehand
|
|
32257
|
-
* @returns
|
|
32615
|
+
* @returns KeyRange
|
|
32258
32616
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32259
32617
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32260
32618
|
*/
|
|
32261
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.
|
|
32619
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.KeyRange;
|
|
32262
32620
|
|
|
32263
32621
|
/**
|
|
32264
|
-
* Decodes a
|
|
32622
|
+
* Decodes a KeyRange message from the specified reader or buffer, length delimited.
|
|
32265
32623
|
* @param reader Reader or buffer to decode from
|
|
32266
|
-
* @returns
|
|
32624
|
+
* @returns KeyRange
|
|
32267
32625
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32268
32626
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32269
32627
|
*/
|
|
32270
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.
|
|
32628
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.KeyRange;
|
|
32271
32629
|
|
|
32272
32630
|
/**
|
|
32273
|
-
* Verifies a
|
|
32631
|
+
* Verifies a KeyRange message.
|
|
32274
32632
|
* @param message Plain object to verify
|
|
32275
32633
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
32276
32634
|
*/
|
|
32277
32635
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
32278
32636
|
|
|
32279
32637
|
/**
|
|
32280
|
-
* Creates a
|
|
32638
|
+
* Creates a KeyRange message from a plain object. Also converts values to their respective internal types.
|
|
32281
32639
|
* @param object Plain object
|
|
32282
|
-
* @returns
|
|
32640
|
+
* @returns KeyRange
|
|
32283
32641
|
*/
|
|
32284
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.v1.
|
|
32642
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.KeyRange;
|
|
32285
32643
|
|
|
32286
32644
|
/**
|
|
32287
|
-
* Creates a plain object from a
|
|
32288
|
-
* @param message
|
|
32645
|
+
* Creates a plain object from a KeyRange message. Also converts values to other types if specified.
|
|
32646
|
+
* @param message KeyRange
|
|
32289
32647
|
* @param [options] Conversion options
|
|
32290
32648
|
* @returns Plain object
|
|
32291
32649
|
*/
|
|
32292
|
-
public static toObject(message: google.spanner.v1.
|
|
32650
|
+
public static toObject(message: google.spanner.v1.KeyRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
32293
32651
|
|
|
32294
32652
|
/**
|
|
32295
|
-
* Converts this
|
|
32653
|
+
* Converts this KeyRange to JSON.
|
|
32296
32654
|
* @returns JSON object
|
|
32297
32655
|
*/
|
|
32298
32656
|
public toJSON(): { [k: string]: any };
|
|
32299
32657
|
|
|
32300
32658
|
/**
|
|
32301
|
-
* Gets the default type url for
|
|
32659
|
+
* Gets the default type url for KeyRange
|
|
32302
32660
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
32303
32661
|
* @returns The default type url
|
|
32304
32662
|
*/
|
|
32305
32663
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
32306
32664
|
}
|
|
32307
32665
|
|
|
32308
|
-
/** Properties of a
|
|
32309
|
-
interface
|
|
32666
|
+
/** Properties of a KeySet. */
|
|
32667
|
+
interface IKeySet {
|
|
32310
32668
|
|
|
32311
|
-
/**
|
|
32312
|
-
|
|
32669
|
+
/** KeySet keys */
|
|
32670
|
+
keys?: (google.protobuf.IListValue[]|null);
|
|
32313
32671
|
|
|
32314
|
-
/**
|
|
32315
|
-
|
|
32672
|
+
/** KeySet ranges */
|
|
32673
|
+
ranges?: (google.spanner.v1.IKeyRange[]|null);
|
|
32316
32674
|
|
|
32317
|
-
/**
|
|
32318
|
-
|
|
32675
|
+
/** KeySet all */
|
|
32676
|
+
all?: (boolean|null);
|
|
32677
|
+
}
|
|
32319
32678
|
|
|
32320
|
-
|
|
32321
|
-
|
|
32679
|
+
/** Represents a KeySet. */
|
|
32680
|
+
class KeySet implements IKeySet {
|
|
32322
32681
|
|
|
32323
|
-
/**
|
|
32324
|
-
|
|
32682
|
+
/**
|
|
32683
|
+
* Constructs a new KeySet.
|
|
32684
|
+
* @param [properties] Properties to set
|
|
32685
|
+
*/
|
|
32686
|
+
constructor(properties?: google.spanner.v1.IKeySet);
|
|
32325
32687
|
|
|
32326
|
-
/**
|
|
32327
|
-
|
|
32688
|
+
/** KeySet keys. */
|
|
32689
|
+
public keys: google.protobuf.IListValue[];
|
|
32328
32690
|
|
|
32329
|
-
/**
|
|
32330
|
-
|
|
32331
|
-
}
|
|
32691
|
+
/** KeySet ranges. */
|
|
32692
|
+
public ranges: google.spanner.v1.IKeyRange[];
|
|
32332
32693
|
|
|
32333
|
-
|
|
32334
|
-
|
|
32694
|
+
/** KeySet all. */
|
|
32695
|
+
public all: boolean;
|
|
32335
32696
|
|
|
32336
32697
|
/**
|
|
32337
|
-
*
|
|
32698
|
+
* Creates a new KeySet instance using the specified properties.
|
|
32338
32699
|
* @param [properties] Properties to set
|
|
32700
|
+
* @returns KeySet instance
|
|
32339
32701
|
*/
|
|
32340
|
-
|
|
32702
|
+
public static create(properties?: google.spanner.v1.IKeySet): google.spanner.v1.KeySet;
|
|
32341
32703
|
|
|
32342
|
-
/**
|
|
32343
|
-
|
|
32704
|
+
/**
|
|
32705
|
+
* Encodes the specified KeySet message. Does not implicitly {@link google.spanner.v1.KeySet.verify|verify} messages.
|
|
32706
|
+
* @param message KeySet message or plain object to encode
|
|
32707
|
+
* @param [writer] Writer to encode to
|
|
32708
|
+
* @returns Writer
|
|
32709
|
+
*/
|
|
32710
|
+
public static encode(message: google.spanner.v1.IKeySet, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
32344
32711
|
|
|
32345
|
-
/**
|
|
32346
|
-
|
|
32712
|
+
/**
|
|
32713
|
+
* Encodes the specified KeySet message, length delimited. Does not implicitly {@link google.spanner.v1.KeySet.verify|verify} messages.
|
|
32714
|
+
* @param message KeySet message or plain object to encode
|
|
32715
|
+
* @param [writer] Writer to encode to
|
|
32716
|
+
* @returns Writer
|
|
32717
|
+
*/
|
|
32718
|
+
public static encodeDelimited(message: google.spanner.v1.IKeySet, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
32347
32719
|
|
|
32348
|
-
/**
|
|
32349
|
-
|
|
32720
|
+
/**
|
|
32721
|
+
* Decodes a KeySet message from the specified reader or buffer.
|
|
32722
|
+
* @param reader Reader or buffer to decode from
|
|
32723
|
+
* @param [length] Message length if known beforehand
|
|
32724
|
+
* @returns KeySet
|
|
32725
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32726
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32727
|
+
*/
|
|
32728
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.KeySet;
|
|
32350
32729
|
|
|
32351
|
-
/**
|
|
32352
|
-
|
|
32730
|
+
/**
|
|
32731
|
+
* Decodes a KeySet message from the specified reader or buffer, length delimited.
|
|
32732
|
+
* @param reader Reader or buffer to decode from
|
|
32733
|
+
* @returns KeySet
|
|
32734
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32735
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32736
|
+
*/
|
|
32737
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.KeySet;
|
|
32353
32738
|
|
|
32354
|
-
/**
|
|
32355
|
-
|
|
32739
|
+
/**
|
|
32740
|
+
* Verifies a KeySet message.
|
|
32741
|
+
* @param message Plain object to verify
|
|
32742
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
32743
|
+
*/
|
|
32744
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
32356
32745
|
|
|
32357
|
-
/**
|
|
32358
|
-
|
|
32746
|
+
/**
|
|
32747
|
+
* Creates a KeySet message from a plain object. Also converts values to their respective internal types.
|
|
32748
|
+
* @param object Plain object
|
|
32749
|
+
* @returns KeySet
|
|
32750
|
+
*/
|
|
32751
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.KeySet;
|
|
32359
32752
|
|
|
32360
|
-
/**
|
|
32361
|
-
|
|
32753
|
+
/**
|
|
32754
|
+
* Creates a plain object from a KeySet message. Also converts values to other types if specified.
|
|
32755
|
+
* @param message KeySet
|
|
32756
|
+
* @param [options] Conversion options
|
|
32757
|
+
* @returns Plain object
|
|
32758
|
+
*/
|
|
32759
|
+
public static toObject(message: google.spanner.v1.KeySet, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
32362
32760
|
|
|
32363
32761
|
/**
|
|
32364
|
-
*
|
|
32762
|
+
* Converts this KeySet to JSON.
|
|
32763
|
+
* @returns JSON object
|
|
32764
|
+
*/
|
|
32765
|
+
public toJSON(): { [k: string]: any };
|
|
32766
|
+
|
|
32767
|
+
/**
|
|
32768
|
+
* Gets the default type url for KeySet
|
|
32769
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
32770
|
+
* @returns The default type url
|
|
32771
|
+
*/
|
|
32772
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
32773
|
+
}
|
|
32774
|
+
|
|
32775
|
+
/** Properties of a Mutation. */
|
|
32776
|
+
interface IMutation {
|
|
32777
|
+
|
|
32778
|
+
/** Mutation insert */
|
|
32779
|
+
insert?: (google.spanner.v1.Mutation.IWrite|null);
|
|
32780
|
+
|
|
32781
|
+
/** Mutation update */
|
|
32782
|
+
update?: (google.spanner.v1.Mutation.IWrite|null);
|
|
32783
|
+
|
|
32784
|
+
/** Mutation insertOrUpdate */
|
|
32785
|
+
insertOrUpdate?: (google.spanner.v1.Mutation.IWrite|null);
|
|
32786
|
+
|
|
32787
|
+
/** Mutation replace */
|
|
32788
|
+
replace?: (google.spanner.v1.Mutation.IWrite|null);
|
|
32789
|
+
|
|
32790
|
+
/** Mutation delete */
|
|
32791
|
+
"delete"?: (google.spanner.v1.Mutation.IDelete|null);
|
|
32792
|
+
}
|
|
32793
|
+
|
|
32794
|
+
/** Represents a Mutation. */
|
|
32795
|
+
class Mutation implements IMutation {
|
|
32796
|
+
|
|
32797
|
+
/**
|
|
32798
|
+
* Constructs a new Mutation.
|
|
32365
32799
|
* @param [properties] Properties to set
|
|
32366
|
-
* @returns PlanNode instance
|
|
32367
32800
|
*/
|
|
32368
|
-
|
|
32801
|
+
constructor(properties?: google.spanner.v1.IMutation);
|
|
32802
|
+
|
|
32803
|
+
/** Mutation insert. */
|
|
32804
|
+
public insert?: (google.spanner.v1.Mutation.IWrite|null);
|
|
32805
|
+
|
|
32806
|
+
/** Mutation update. */
|
|
32807
|
+
public update?: (google.spanner.v1.Mutation.IWrite|null);
|
|
32808
|
+
|
|
32809
|
+
/** Mutation insertOrUpdate. */
|
|
32810
|
+
public insertOrUpdate?: (google.spanner.v1.Mutation.IWrite|null);
|
|
32811
|
+
|
|
32812
|
+
/** Mutation replace. */
|
|
32813
|
+
public replace?: (google.spanner.v1.Mutation.IWrite|null);
|
|
32814
|
+
|
|
32815
|
+
/** Mutation delete. */
|
|
32816
|
+
public delete?: (google.spanner.v1.Mutation.IDelete|null);
|
|
32817
|
+
|
|
32818
|
+
/** Mutation operation. */
|
|
32819
|
+
public operation?: ("insert"|"update"|"insertOrUpdate"|"replace"|"delete");
|
|
32369
32820
|
|
|
32370
32821
|
/**
|
|
32371
|
-
*
|
|
32372
|
-
* @param
|
|
32822
|
+
* Creates a new Mutation instance using the specified properties.
|
|
32823
|
+
* @param [properties] Properties to set
|
|
32824
|
+
* @returns Mutation instance
|
|
32825
|
+
*/
|
|
32826
|
+
public static create(properties?: google.spanner.v1.IMutation): google.spanner.v1.Mutation;
|
|
32827
|
+
|
|
32828
|
+
/**
|
|
32829
|
+
* Encodes the specified Mutation message. Does not implicitly {@link google.spanner.v1.Mutation.verify|verify} messages.
|
|
32830
|
+
* @param message Mutation message or plain object to encode
|
|
32373
32831
|
* @param [writer] Writer to encode to
|
|
32374
32832
|
* @returns Writer
|
|
32375
32833
|
*/
|
|
32376
|
-
public static encode(message: google.spanner.v1.
|
|
32834
|
+
public static encode(message: google.spanner.v1.IMutation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
32377
32835
|
|
|
32378
32836
|
/**
|
|
32379
|
-
* Encodes the specified
|
|
32380
|
-
* @param message
|
|
32837
|
+
* Encodes the specified Mutation message, length delimited. Does not implicitly {@link google.spanner.v1.Mutation.verify|verify} messages.
|
|
32838
|
+
* @param message Mutation message or plain object to encode
|
|
32381
32839
|
* @param [writer] Writer to encode to
|
|
32382
32840
|
* @returns Writer
|
|
32383
32841
|
*/
|
|
32384
|
-
public static encodeDelimited(message: google.spanner.v1.
|
|
32842
|
+
public static encodeDelimited(message: google.spanner.v1.IMutation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
32385
32843
|
|
|
32386
32844
|
/**
|
|
32387
|
-
* Decodes a
|
|
32845
|
+
* Decodes a Mutation message from the specified reader or buffer.
|
|
32388
32846
|
* @param reader Reader or buffer to decode from
|
|
32389
32847
|
* @param [length] Message length if known beforehand
|
|
32390
|
-
* @returns
|
|
32848
|
+
* @returns Mutation
|
|
32391
32849
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32392
32850
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32393
32851
|
*/
|
|
32394
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.
|
|
32852
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.Mutation;
|
|
32395
32853
|
|
|
32396
32854
|
/**
|
|
32397
|
-
* Decodes a
|
|
32855
|
+
* Decodes a Mutation message from the specified reader or buffer, length delimited.
|
|
32398
32856
|
* @param reader Reader or buffer to decode from
|
|
32399
|
-
* @returns
|
|
32857
|
+
* @returns Mutation
|
|
32400
32858
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32401
32859
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32402
32860
|
*/
|
|
32403
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.
|
|
32861
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.Mutation;
|
|
32404
32862
|
|
|
32405
32863
|
/**
|
|
32406
|
-
* Verifies a
|
|
32864
|
+
* Verifies a Mutation message.
|
|
32407
32865
|
* @param message Plain object to verify
|
|
32408
32866
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
32409
32867
|
*/
|
|
32410
32868
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
32411
32869
|
|
|
32412
32870
|
/**
|
|
32413
|
-
* Creates a
|
|
32871
|
+
* Creates a Mutation message from a plain object. Also converts values to their respective internal types.
|
|
32414
32872
|
* @param object Plain object
|
|
32415
|
-
* @returns
|
|
32873
|
+
* @returns Mutation
|
|
32416
32874
|
*/
|
|
32417
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.v1.
|
|
32875
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.Mutation;
|
|
32418
32876
|
|
|
32419
32877
|
/**
|
|
32420
|
-
* Creates a plain object from a
|
|
32421
|
-
* @param message
|
|
32878
|
+
* Creates a plain object from a Mutation message. Also converts values to other types if specified.
|
|
32879
|
+
* @param message Mutation
|
|
32422
32880
|
* @param [options] Conversion options
|
|
32423
32881
|
* @returns Plain object
|
|
32424
32882
|
*/
|
|
32425
|
-
public static toObject(message: google.spanner.v1.
|
|
32883
|
+
public static toObject(message: google.spanner.v1.Mutation, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
32426
32884
|
|
|
32427
32885
|
/**
|
|
32428
|
-
* Converts this
|
|
32886
|
+
* Converts this Mutation to JSON.
|
|
32429
32887
|
* @returns JSON object
|
|
32430
32888
|
*/
|
|
32431
32889
|
public toJSON(): { [k: string]: any };
|
|
32432
32890
|
|
|
32433
32891
|
/**
|
|
32434
|
-
* Gets the default type url for
|
|
32892
|
+
* Gets the default type url for Mutation
|
|
32435
32893
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
32436
32894
|
* @returns The default type url
|
|
32437
32895
|
*/
|
|
32438
32896
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
32439
32897
|
}
|
|
32440
32898
|
|
|
32441
|
-
namespace
|
|
32442
|
-
|
|
32443
|
-
/** Kind enum. */
|
|
32444
|
-
enum Kind {
|
|
32445
|
-
KIND_UNSPECIFIED = 0,
|
|
32446
|
-
RELATIONAL = 1,
|
|
32447
|
-
SCALAR = 2
|
|
32448
|
-
}
|
|
32899
|
+
namespace Mutation {
|
|
32449
32900
|
|
|
32450
|
-
/** Properties of a
|
|
32451
|
-
interface
|
|
32901
|
+
/** Properties of a Write. */
|
|
32902
|
+
interface IWrite {
|
|
32452
32903
|
|
|
32453
|
-
/**
|
|
32454
|
-
|
|
32904
|
+
/** Write table */
|
|
32905
|
+
table?: (string|null);
|
|
32455
32906
|
|
|
32456
|
-
/**
|
|
32457
|
-
|
|
32907
|
+
/** Write columns */
|
|
32908
|
+
columns?: (string[]|null);
|
|
32458
32909
|
|
|
32459
|
-
/**
|
|
32460
|
-
|
|
32910
|
+
/** Write values */
|
|
32911
|
+
values?: (google.protobuf.IListValue[]|null);
|
|
32461
32912
|
}
|
|
32462
32913
|
|
|
32463
|
-
/** Represents a
|
|
32464
|
-
class
|
|
32914
|
+
/** Represents a Write. */
|
|
32915
|
+
class Write implements IWrite {
|
|
32465
32916
|
|
|
32466
32917
|
/**
|
|
32467
|
-
* Constructs a new
|
|
32918
|
+
* Constructs a new Write.
|
|
32468
32919
|
* @param [properties] Properties to set
|
|
32469
32920
|
*/
|
|
32470
|
-
constructor(properties?: google.spanner.v1.
|
|
32921
|
+
constructor(properties?: google.spanner.v1.Mutation.IWrite);
|
|
32471
32922
|
|
|
32472
|
-
/**
|
|
32473
|
-
public
|
|
32923
|
+
/** Write table. */
|
|
32924
|
+
public table: string;
|
|
32474
32925
|
|
|
32475
|
-
/**
|
|
32476
|
-
public
|
|
32926
|
+
/** Write columns. */
|
|
32927
|
+
public columns: string[];
|
|
32477
32928
|
|
|
32478
|
-
/**
|
|
32479
|
-
public
|
|
32929
|
+
/** Write values. */
|
|
32930
|
+
public values: google.protobuf.IListValue[];
|
|
32480
32931
|
|
|
32481
32932
|
/**
|
|
32482
|
-
* Creates a new
|
|
32933
|
+
* Creates a new Write instance using the specified properties.
|
|
32483
32934
|
* @param [properties] Properties to set
|
|
32484
|
-
* @returns
|
|
32935
|
+
* @returns Write instance
|
|
32485
32936
|
*/
|
|
32486
|
-
public static create(properties?: google.spanner.v1.
|
|
32937
|
+
public static create(properties?: google.spanner.v1.Mutation.IWrite): google.spanner.v1.Mutation.Write;
|
|
32487
32938
|
|
|
32488
32939
|
/**
|
|
32489
|
-
* Encodes the specified
|
|
32490
|
-
* @param message
|
|
32940
|
+
* Encodes the specified Write message. Does not implicitly {@link google.spanner.v1.Mutation.Write.verify|verify} messages.
|
|
32941
|
+
* @param message Write message or plain object to encode
|
|
32491
32942
|
* @param [writer] Writer to encode to
|
|
32492
32943
|
* @returns Writer
|
|
32493
32944
|
*/
|
|
32494
|
-
public static encode(message: google.spanner.v1.
|
|
32945
|
+
public static encode(message: google.spanner.v1.Mutation.IWrite, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
32495
32946
|
|
|
32496
32947
|
/**
|
|
32497
|
-
* Encodes the specified
|
|
32498
|
-
* @param message
|
|
32948
|
+
* Encodes the specified Write message, length delimited. Does not implicitly {@link google.spanner.v1.Mutation.Write.verify|verify} messages.
|
|
32949
|
+
* @param message Write message or plain object to encode
|
|
32499
32950
|
* @param [writer] Writer to encode to
|
|
32500
32951
|
* @returns Writer
|
|
32501
32952
|
*/
|
|
32502
|
-
public static encodeDelimited(message: google.spanner.v1.
|
|
32953
|
+
public static encodeDelimited(message: google.spanner.v1.Mutation.IWrite, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
32503
32954
|
|
|
32504
32955
|
/**
|
|
32505
|
-
* Decodes a
|
|
32956
|
+
* Decodes a Write message from the specified reader or buffer.
|
|
32506
32957
|
* @param reader Reader or buffer to decode from
|
|
32507
32958
|
* @param [length] Message length if known beforehand
|
|
32508
|
-
* @returns
|
|
32959
|
+
* @returns Write
|
|
32509
32960
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32510
32961
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32511
32962
|
*/
|
|
32512
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.
|
|
32963
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.Mutation.Write;
|
|
32513
32964
|
|
|
32514
32965
|
/**
|
|
32515
|
-
* Decodes a
|
|
32966
|
+
* Decodes a Write message from the specified reader or buffer, length delimited.
|
|
32516
32967
|
* @param reader Reader or buffer to decode from
|
|
32517
|
-
* @returns
|
|
32968
|
+
* @returns Write
|
|
32518
32969
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32519
32970
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32520
32971
|
*/
|
|
32521
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.
|
|
32972
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.Mutation.Write;
|
|
32522
32973
|
|
|
32523
32974
|
/**
|
|
32524
|
-
* Verifies a
|
|
32975
|
+
* Verifies a Write message.
|
|
32525
32976
|
* @param message Plain object to verify
|
|
32526
32977
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
32527
32978
|
*/
|
|
32528
32979
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
32529
32980
|
|
|
32530
32981
|
/**
|
|
32531
|
-
* Creates a
|
|
32982
|
+
* Creates a Write message from a plain object. Also converts values to their respective internal types.
|
|
32532
32983
|
* @param object Plain object
|
|
32533
|
-
* @returns
|
|
32984
|
+
* @returns Write
|
|
32534
32985
|
*/
|
|
32535
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.v1.
|
|
32986
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.Mutation.Write;
|
|
32536
32987
|
|
|
32537
32988
|
/**
|
|
32538
|
-
* Creates a plain object from a
|
|
32539
|
-
* @param message
|
|
32989
|
+
* Creates a plain object from a Write message. Also converts values to other types if specified.
|
|
32990
|
+
* @param message Write
|
|
32540
32991
|
* @param [options] Conversion options
|
|
32541
32992
|
* @returns Plain object
|
|
32542
32993
|
*/
|
|
32543
|
-
public static toObject(message: google.spanner.v1.
|
|
32994
|
+
public static toObject(message: google.spanner.v1.Mutation.Write, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
32544
32995
|
|
|
32545
32996
|
/**
|
|
32546
|
-
* Converts this
|
|
32997
|
+
* Converts this Write to JSON.
|
|
32547
32998
|
* @returns JSON object
|
|
32548
32999
|
*/
|
|
32549
33000
|
public toJSON(): { [k: string]: any };
|
|
32550
33001
|
|
|
32551
33002
|
/**
|
|
32552
|
-
* Gets the default type url for
|
|
33003
|
+
* Gets the default type url for Write
|
|
32553
33004
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
32554
33005
|
* @returns The default type url
|
|
32555
33006
|
*/
|
|
32556
33007
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
32557
33008
|
}
|
|
32558
33009
|
|
|
32559
|
-
/** Properties of a
|
|
32560
|
-
interface
|
|
33010
|
+
/** Properties of a Delete. */
|
|
33011
|
+
interface IDelete {
|
|
32561
33012
|
|
|
32562
|
-
/**
|
|
32563
|
-
|
|
33013
|
+
/** Delete table */
|
|
33014
|
+
table?: (string|null);
|
|
32564
33015
|
|
|
32565
|
-
/**
|
|
32566
|
-
|
|
33016
|
+
/** Delete keySet */
|
|
33017
|
+
keySet?: (google.spanner.v1.IKeySet|null);
|
|
32567
33018
|
}
|
|
32568
33019
|
|
|
32569
|
-
/** Represents a
|
|
32570
|
-
class
|
|
33020
|
+
/** Represents a Delete. */
|
|
33021
|
+
class Delete implements IDelete {
|
|
32571
33022
|
|
|
32572
33023
|
/**
|
|
32573
|
-
* Constructs a new
|
|
33024
|
+
* Constructs a new Delete.
|
|
32574
33025
|
* @param [properties] Properties to set
|
|
32575
33026
|
*/
|
|
32576
|
-
constructor(properties?: google.spanner.v1.
|
|
33027
|
+
constructor(properties?: google.spanner.v1.Mutation.IDelete);
|
|
32577
33028
|
|
|
32578
|
-
/**
|
|
32579
|
-
public
|
|
33029
|
+
/** Delete table. */
|
|
33030
|
+
public table: string;
|
|
32580
33031
|
|
|
32581
|
-
/**
|
|
32582
|
-
public
|
|
33032
|
+
/** Delete keySet. */
|
|
33033
|
+
public keySet?: (google.spanner.v1.IKeySet|null);
|
|
32583
33034
|
|
|
32584
33035
|
/**
|
|
32585
|
-
* Creates a new
|
|
33036
|
+
* Creates a new Delete instance using the specified properties.
|
|
32586
33037
|
* @param [properties] Properties to set
|
|
32587
|
-
* @returns
|
|
33038
|
+
* @returns Delete instance
|
|
32588
33039
|
*/
|
|
32589
|
-
public static create(properties?: google.spanner.v1.
|
|
33040
|
+
public static create(properties?: google.spanner.v1.Mutation.IDelete): google.spanner.v1.Mutation.Delete;
|
|
32590
33041
|
|
|
32591
33042
|
/**
|
|
32592
|
-
* Encodes the specified
|
|
32593
|
-
* @param message
|
|
33043
|
+
* Encodes the specified Delete message. Does not implicitly {@link google.spanner.v1.Mutation.Delete.verify|verify} messages.
|
|
33044
|
+
* @param message Delete message or plain object to encode
|
|
32594
33045
|
* @param [writer] Writer to encode to
|
|
32595
33046
|
* @returns Writer
|
|
32596
33047
|
*/
|
|
32597
|
-
public static encode(message: google.spanner.v1.
|
|
33048
|
+
public static encode(message: google.spanner.v1.Mutation.IDelete, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
32598
33049
|
|
|
32599
33050
|
/**
|
|
32600
|
-
* Encodes the specified
|
|
32601
|
-
* @param message
|
|
33051
|
+
* Encodes the specified Delete message, length delimited. Does not implicitly {@link google.spanner.v1.Mutation.Delete.verify|verify} messages.
|
|
33052
|
+
* @param message Delete message or plain object to encode
|
|
32602
33053
|
* @param [writer] Writer to encode to
|
|
32603
33054
|
* @returns Writer
|
|
32604
33055
|
*/
|
|
32605
|
-
public static encodeDelimited(message: google.spanner.v1.
|
|
33056
|
+
public static encodeDelimited(message: google.spanner.v1.Mutation.IDelete, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
32606
33057
|
|
|
32607
33058
|
/**
|
|
32608
|
-
* Decodes a
|
|
33059
|
+
* Decodes a Delete message from the specified reader or buffer.
|
|
32609
33060
|
* @param reader Reader or buffer to decode from
|
|
32610
33061
|
* @param [length] Message length if known beforehand
|
|
32611
|
-
* @returns
|
|
33062
|
+
* @returns Delete
|
|
32612
33063
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32613
33064
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32614
33065
|
*/
|
|
32615
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.
|
|
33066
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.Mutation.Delete;
|
|
32616
33067
|
|
|
32617
33068
|
/**
|
|
32618
|
-
* Decodes a
|
|
33069
|
+
* Decodes a Delete message from the specified reader or buffer, length delimited.
|
|
32619
33070
|
* @param reader Reader or buffer to decode from
|
|
32620
|
-
* @returns
|
|
33071
|
+
* @returns Delete
|
|
32621
33072
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32622
33073
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32623
33074
|
*/
|
|
32624
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.
|
|
33075
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.Mutation.Delete;
|
|
32625
33076
|
|
|
32626
33077
|
/**
|
|
32627
|
-
* Verifies a
|
|
33078
|
+
* Verifies a Delete message.
|
|
32628
33079
|
* @param message Plain object to verify
|
|
32629
33080
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
32630
33081
|
*/
|
|
32631
33082
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
32632
33083
|
|
|
32633
33084
|
/**
|
|
32634
|
-
* Creates a
|
|
33085
|
+
* Creates a Delete message from a plain object. Also converts values to their respective internal types.
|
|
32635
33086
|
* @param object Plain object
|
|
32636
|
-
* @returns
|
|
33087
|
+
* @returns Delete
|
|
32637
33088
|
*/
|
|
32638
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.v1.
|
|
33089
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.Mutation.Delete;
|
|
32639
33090
|
|
|
32640
33091
|
/**
|
|
32641
|
-
* Creates a plain object from a
|
|
32642
|
-
* @param message
|
|
33092
|
+
* Creates a plain object from a Delete message. Also converts values to other types if specified.
|
|
33093
|
+
* @param message Delete
|
|
32643
33094
|
* @param [options] Conversion options
|
|
32644
33095
|
* @returns Plain object
|
|
32645
33096
|
*/
|
|
32646
|
-
public static toObject(message: google.spanner.v1.
|
|
33097
|
+
public static toObject(message: google.spanner.v1.Mutation.Delete, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
32647
33098
|
|
|
32648
33099
|
/**
|
|
32649
|
-
* Converts this
|
|
33100
|
+
* Converts this Delete to JSON.
|
|
32650
33101
|
* @returns JSON object
|
|
32651
33102
|
*/
|
|
32652
33103
|
public toJSON(): { [k: string]: any };
|
|
32653
33104
|
|
|
32654
33105
|
/**
|
|
32655
|
-
* Gets the default type url for
|
|
33106
|
+
* Gets the default type url for Delete
|
|
32656
33107
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
32657
33108
|
* @returns The default type url
|
|
32658
33109
|
*/
|
|
@@ -32660,545 +33111,823 @@ export namespace google {
|
|
|
32660
33111
|
}
|
|
32661
33112
|
}
|
|
32662
33113
|
|
|
32663
|
-
/** Properties of a
|
|
32664
|
-
interface
|
|
33114
|
+
/** Properties of a ResultSet. */
|
|
33115
|
+
interface IResultSet {
|
|
32665
33116
|
|
|
32666
|
-
/**
|
|
32667
|
-
|
|
32668
|
-
}
|
|
33117
|
+
/** ResultSet metadata */
|
|
33118
|
+
metadata?: (google.spanner.v1.IResultSetMetadata|null);
|
|
32669
33119
|
|
|
32670
|
-
|
|
32671
|
-
|
|
33120
|
+
/** ResultSet rows */
|
|
33121
|
+
rows?: (google.protobuf.IListValue[]|null);
|
|
32672
33122
|
|
|
32673
|
-
/**
|
|
32674
|
-
|
|
32675
|
-
* @param [properties] Properties to set
|
|
32676
|
-
*/
|
|
32677
|
-
constructor(properties?: google.spanner.v1.IQueryPlan);
|
|
33123
|
+
/** ResultSet stats */
|
|
33124
|
+
stats?: (google.spanner.v1.IResultSetStats|null);
|
|
32678
33125
|
|
|
32679
|
-
/**
|
|
32680
|
-
|
|
33126
|
+
/** ResultSet precommitToken */
|
|
33127
|
+
precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
|
|
33128
|
+
}
|
|
33129
|
+
|
|
33130
|
+
/** Represents a ResultSet. */
|
|
33131
|
+
class ResultSet implements IResultSet {
|
|
32681
33132
|
|
|
32682
33133
|
/**
|
|
32683
|
-
*
|
|
33134
|
+
* Constructs a new ResultSet.
|
|
32684
33135
|
* @param [properties] Properties to set
|
|
32685
|
-
* @returns QueryPlan instance
|
|
32686
33136
|
*/
|
|
32687
|
-
|
|
33137
|
+
constructor(properties?: google.spanner.v1.IResultSet);
|
|
33138
|
+
|
|
33139
|
+
/** ResultSet metadata. */
|
|
33140
|
+
public metadata?: (google.spanner.v1.IResultSetMetadata|null);
|
|
33141
|
+
|
|
33142
|
+
/** ResultSet rows. */
|
|
33143
|
+
public rows: google.protobuf.IListValue[];
|
|
33144
|
+
|
|
33145
|
+
/** ResultSet stats. */
|
|
33146
|
+
public stats?: (google.spanner.v1.IResultSetStats|null);
|
|
33147
|
+
|
|
33148
|
+
/** ResultSet precommitToken. */
|
|
33149
|
+
public precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
|
|
32688
33150
|
|
|
32689
33151
|
/**
|
|
32690
|
-
*
|
|
32691
|
-
* @param
|
|
33152
|
+
* Creates a new ResultSet instance using the specified properties.
|
|
33153
|
+
* @param [properties] Properties to set
|
|
33154
|
+
* @returns ResultSet instance
|
|
33155
|
+
*/
|
|
33156
|
+
public static create(properties?: google.spanner.v1.IResultSet): google.spanner.v1.ResultSet;
|
|
33157
|
+
|
|
33158
|
+
/**
|
|
33159
|
+
* Encodes the specified ResultSet message. Does not implicitly {@link google.spanner.v1.ResultSet.verify|verify} messages.
|
|
33160
|
+
* @param message ResultSet message or plain object to encode
|
|
32692
33161
|
* @param [writer] Writer to encode to
|
|
32693
33162
|
* @returns Writer
|
|
32694
33163
|
*/
|
|
32695
|
-
public static encode(message: google.spanner.v1.
|
|
33164
|
+
public static encode(message: google.spanner.v1.IResultSet, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
32696
33165
|
|
|
32697
33166
|
/**
|
|
32698
|
-
* Encodes the specified
|
|
32699
|
-
* @param message
|
|
33167
|
+
* Encodes the specified ResultSet message, length delimited. Does not implicitly {@link google.spanner.v1.ResultSet.verify|verify} messages.
|
|
33168
|
+
* @param message ResultSet message or plain object to encode
|
|
32700
33169
|
* @param [writer] Writer to encode to
|
|
32701
33170
|
* @returns Writer
|
|
32702
33171
|
*/
|
|
32703
|
-
public static encodeDelimited(message: google.spanner.v1.
|
|
33172
|
+
public static encodeDelimited(message: google.spanner.v1.IResultSet, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
32704
33173
|
|
|
32705
33174
|
/**
|
|
32706
|
-
* Decodes a
|
|
33175
|
+
* Decodes a ResultSet message from the specified reader or buffer.
|
|
32707
33176
|
* @param reader Reader or buffer to decode from
|
|
32708
33177
|
* @param [length] Message length if known beforehand
|
|
32709
|
-
* @returns
|
|
33178
|
+
* @returns ResultSet
|
|
32710
33179
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32711
33180
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32712
33181
|
*/
|
|
32713
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.
|
|
33182
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.ResultSet;
|
|
32714
33183
|
|
|
32715
33184
|
/**
|
|
32716
|
-
* Decodes a
|
|
33185
|
+
* Decodes a ResultSet message from the specified reader or buffer, length delimited.
|
|
32717
33186
|
* @param reader Reader or buffer to decode from
|
|
32718
|
-
* @returns
|
|
33187
|
+
* @returns ResultSet
|
|
32719
33188
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32720
33189
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32721
33190
|
*/
|
|
32722
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.
|
|
33191
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.ResultSet;
|
|
32723
33192
|
|
|
32724
33193
|
/**
|
|
32725
|
-
* Verifies a
|
|
33194
|
+
* Verifies a ResultSet message.
|
|
32726
33195
|
* @param message Plain object to verify
|
|
32727
33196
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
32728
33197
|
*/
|
|
32729
33198
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
32730
33199
|
|
|
32731
33200
|
/**
|
|
32732
|
-
* Creates a
|
|
33201
|
+
* Creates a ResultSet message from a plain object. Also converts values to their respective internal types.
|
|
32733
33202
|
* @param object Plain object
|
|
32734
|
-
* @returns
|
|
33203
|
+
* @returns ResultSet
|
|
32735
33204
|
*/
|
|
32736
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.v1.
|
|
33205
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.ResultSet;
|
|
32737
33206
|
|
|
32738
33207
|
/**
|
|
32739
|
-
* Creates a plain object from a
|
|
32740
|
-
* @param message
|
|
33208
|
+
* Creates a plain object from a ResultSet message. Also converts values to other types if specified.
|
|
33209
|
+
* @param message ResultSet
|
|
32741
33210
|
* @param [options] Conversion options
|
|
32742
33211
|
* @returns Plain object
|
|
32743
33212
|
*/
|
|
32744
|
-
public static toObject(message: google.spanner.v1.
|
|
33213
|
+
public static toObject(message: google.spanner.v1.ResultSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
32745
33214
|
|
|
32746
33215
|
/**
|
|
32747
|
-
* Converts this
|
|
33216
|
+
* Converts this ResultSet to JSON.
|
|
32748
33217
|
* @returns JSON object
|
|
32749
33218
|
*/
|
|
32750
33219
|
public toJSON(): { [k: string]: any };
|
|
32751
33220
|
|
|
32752
33221
|
/**
|
|
32753
|
-
* Gets the default type url for
|
|
33222
|
+
* Gets the default type url for ResultSet
|
|
32754
33223
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
32755
33224
|
* @returns The default type url
|
|
32756
33225
|
*/
|
|
32757
33226
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
32758
33227
|
}
|
|
32759
33228
|
|
|
32760
|
-
/** Properties of a
|
|
32761
|
-
interface
|
|
33229
|
+
/** Properties of a PartialResultSet. */
|
|
33230
|
+
interface IPartialResultSet {
|
|
32762
33231
|
|
|
32763
|
-
/**
|
|
32764
|
-
|
|
33232
|
+
/** PartialResultSet metadata */
|
|
33233
|
+
metadata?: (google.spanner.v1.IResultSetMetadata|null);
|
|
32765
33234
|
|
|
32766
|
-
/**
|
|
32767
|
-
|
|
33235
|
+
/** PartialResultSet values */
|
|
33236
|
+
values?: (google.protobuf.IValue[]|null);
|
|
32768
33237
|
|
|
32769
|
-
/**
|
|
32770
|
-
|
|
33238
|
+
/** PartialResultSet chunkedValue */
|
|
33239
|
+
chunkedValue?: (boolean|null);
|
|
32771
33240
|
|
|
32772
|
-
/**
|
|
32773
|
-
|
|
33241
|
+
/** PartialResultSet resumeToken */
|
|
33242
|
+
resumeToken?: (Uint8Array|string|null);
|
|
33243
|
+
|
|
33244
|
+
/** PartialResultSet stats */
|
|
33245
|
+
stats?: (google.spanner.v1.IResultSetStats|null);
|
|
33246
|
+
|
|
33247
|
+
/** PartialResultSet precommitToken */
|
|
33248
|
+
precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
|
|
32774
33249
|
}
|
|
32775
33250
|
|
|
32776
|
-
/** Represents a
|
|
32777
|
-
class
|
|
33251
|
+
/** Represents a PartialResultSet. */
|
|
33252
|
+
class PartialResultSet implements IPartialResultSet {
|
|
32778
33253
|
|
|
32779
33254
|
/**
|
|
32780
|
-
* Constructs a new
|
|
33255
|
+
* Constructs a new PartialResultSet.
|
|
32781
33256
|
* @param [properties] Properties to set
|
|
32782
33257
|
*/
|
|
32783
|
-
constructor(properties?: google.spanner.v1.
|
|
33258
|
+
constructor(properties?: google.spanner.v1.IPartialResultSet);
|
|
32784
33259
|
|
|
32785
|
-
/**
|
|
32786
|
-
public
|
|
33260
|
+
/** PartialResultSet metadata. */
|
|
33261
|
+
public metadata?: (google.spanner.v1.IResultSetMetadata|null);
|
|
32787
33262
|
|
|
32788
|
-
/**
|
|
32789
|
-
public
|
|
33263
|
+
/** PartialResultSet values. */
|
|
33264
|
+
public values: google.protobuf.IValue[];
|
|
32790
33265
|
|
|
32791
|
-
/**
|
|
32792
|
-
public
|
|
33266
|
+
/** PartialResultSet chunkedValue. */
|
|
33267
|
+
public chunkedValue: boolean;
|
|
32793
33268
|
|
|
32794
|
-
/**
|
|
32795
|
-
public
|
|
33269
|
+
/** PartialResultSet resumeToken. */
|
|
33270
|
+
public resumeToken: (Uint8Array|string);
|
|
32796
33271
|
|
|
32797
|
-
/**
|
|
32798
|
-
public
|
|
33272
|
+
/** PartialResultSet stats. */
|
|
33273
|
+
public stats?: (google.spanner.v1.IResultSetStats|null);
|
|
33274
|
+
|
|
33275
|
+
/** PartialResultSet precommitToken. */
|
|
33276
|
+
public precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
|
|
32799
33277
|
|
|
32800
33278
|
/**
|
|
32801
|
-
* Creates a new
|
|
33279
|
+
* Creates a new PartialResultSet instance using the specified properties.
|
|
32802
33280
|
* @param [properties] Properties to set
|
|
32803
|
-
* @returns
|
|
33281
|
+
* @returns PartialResultSet instance
|
|
32804
33282
|
*/
|
|
32805
|
-
public static create(properties?: google.spanner.v1.
|
|
33283
|
+
public static create(properties?: google.spanner.v1.IPartialResultSet): google.spanner.v1.PartialResultSet;
|
|
32806
33284
|
|
|
32807
33285
|
/**
|
|
32808
|
-
* Encodes the specified
|
|
32809
|
-
* @param message
|
|
33286
|
+
* Encodes the specified PartialResultSet message. Does not implicitly {@link google.spanner.v1.PartialResultSet.verify|verify} messages.
|
|
33287
|
+
* @param message PartialResultSet message or plain object to encode
|
|
32810
33288
|
* @param [writer] Writer to encode to
|
|
32811
33289
|
* @returns Writer
|
|
32812
33290
|
*/
|
|
32813
|
-
public static encode(message: google.spanner.v1.
|
|
33291
|
+
public static encode(message: google.spanner.v1.IPartialResultSet, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
32814
33292
|
|
|
32815
33293
|
/**
|
|
32816
|
-
* Encodes the specified
|
|
32817
|
-
* @param message
|
|
33294
|
+
* Encodes the specified PartialResultSet message, length delimited. Does not implicitly {@link google.spanner.v1.PartialResultSet.verify|verify} messages.
|
|
33295
|
+
* @param message PartialResultSet message or plain object to encode
|
|
32818
33296
|
* @param [writer] Writer to encode to
|
|
32819
33297
|
* @returns Writer
|
|
32820
33298
|
*/
|
|
32821
|
-
public static encodeDelimited(message: google.spanner.v1.
|
|
33299
|
+
public static encodeDelimited(message: google.spanner.v1.IPartialResultSet, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
32822
33300
|
|
|
32823
33301
|
/**
|
|
32824
|
-
* Decodes a
|
|
33302
|
+
* Decodes a PartialResultSet message from the specified reader or buffer.
|
|
32825
33303
|
* @param reader Reader or buffer to decode from
|
|
32826
33304
|
* @param [length] Message length if known beforehand
|
|
32827
|
-
* @returns
|
|
33305
|
+
* @returns PartialResultSet
|
|
32828
33306
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32829
33307
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32830
33308
|
*/
|
|
32831
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.
|
|
33309
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.PartialResultSet;
|
|
32832
33310
|
|
|
32833
33311
|
/**
|
|
32834
|
-
* Decodes a
|
|
33312
|
+
* Decodes a PartialResultSet message from the specified reader or buffer, length delimited.
|
|
32835
33313
|
* @param reader Reader or buffer to decode from
|
|
32836
|
-
* @returns
|
|
33314
|
+
* @returns PartialResultSet
|
|
32837
33315
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32838
33316
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32839
33317
|
*/
|
|
32840
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.
|
|
33318
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.PartialResultSet;
|
|
32841
33319
|
|
|
32842
33320
|
/**
|
|
32843
|
-
* Verifies a
|
|
33321
|
+
* Verifies a PartialResultSet message.
|
|
32844
33322
|
* @param message Plain object to verify
|
|
32845
33323
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
32846
33324
|
*/
|
|
32847
33325
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
32848
33326
|
|
|
32849
33327
|
/**
|
|
32850
|
-
* Creates a
|
|
33328
|
+
* Creates a PartialResultSet message from a plain object. Also converts values to their respective internal types.
|
|
32851
33329
|
* @param object Plain object
|
|
32852
|
-
* @returns
|
|
33330
|
+
* @returns PartialResultSet
|
|
32853
33331
|
*/
|
|
32854
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.v1.
|
|
33332
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.PartialResultSet;
|
|
32855
33333
|
|
|
32856
33334
|
/**
|
|
32857
|
-
* Creates a plain object from a
|
|
32858
|
-
* @param message
|
|
33335
|
+
* Creates a plain object from a PartialResultSet message. Also converts values to other types if specified.
|
|
33336
|
+
* @param message PartialResultSet
|
|
32859
33337
|
* @param [options] Conversion options
|
|
32860
33338
|
* @returns Plain object
|
|
32861
33339
|
*/
|
|
32862
|
-
public static toObject(message: google.spanner.v1.
|
|
33340
|
+
public static toObject(message: google.spanner.v1.PartialResultSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
32863
33341
|
|
|
32864
33342
|
/**
|
|
32865
|
-
* Converts this
|
|
33343
|
+
* Converts this PartialResultSet to JSON.
|
|
32866
33344
|
* @returns JSON object
|
|
32867
33345
|
*/
|
|
32868
33346
|
public toJSON(): { [k: string]: any };
|
|
32869
33347
|
|
|
32870
33348
|
/**
|
|
32871
|
-
* Gets the default type url for
|
|
33349
|
+
* Gets the default type url for PartialResultSet
|
|
32872
33350
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
32873
33351
|
* @returns The default type url
|
|
32874
33352
|
*/
|
|
32875
33353
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
32876
33354
|
}
|
|
32877
33355
|
|
|
32878
|
-
|
|
33356
|
+
/** Properties of a ResultSetMetadata. */
|
|
33357
|
+
interface IResultSetMetadata {
|
|
32879
33358
|
|
|
32880
|
-
/**
|
|
32881
|
-
|
|
33359
|
+
/** ResultSetMetadata rowType */
|
|
33360
|
+
rowType?: (google.spanner.v1.IStructType|null);
|
|
32882
33361
|
|
|
32883
|
-
|
|
32884
|
-
|
|
32885
|
-
}
|
|
33362
|
+
/** ResultSetMetadata transaction */
|
|
33363
|
+
transaction?: (google.spanner.v1.ITransaction|null);
|
|
32886
33364
|
|
|
32887
|
-
/**
|
|
32888
|
-
|
|
33365
|
+
/** ResultSetMetadata undeclaredParameters */
|
|
33366
|
+
undeclaredParameters?: (google.spanner.v1.IStructType|null);
|
|
33367
|
+
}
|
|
32889
33368
|
|
|
32890
|
-
|
|
32891
|
-
|
|
32892
|
-
* @param [properties] Properties to set
|
|
32893
|
-
*/
|
|
32894
|
-
constructor(properties?: google.spanner.v1.TransactionOptions.IReadWrite);
|
|
33369
|
+
/** Represents a ResultSetMetadata. */
|
|
33370
|
+
class ResultSetMetadata implements IResultSetMetadata {
|
|
32895
33371
|
|
|
32896
|
-
|
|
32897
|
-
|
|
33372
|
+
/**
|
|
33373
|
+
* Constructs a new ResultSetMetadata.
|
|
33374
|
+
* @param [properties] Properties to set
|
|
33375
|
+
*/
|
|
33376
|
+
constructor(properties?: google.spanner.v1.IResultSetMetadata);
|
|
32898
33377
|
|
|
32899
|
-
|
|
32900
|
-
|
|
32901
|
-
* @param [properties] Properties to set
|
|
32902
|
-
* @returns ReadWrite instance
|
|
32903
|
-
*/
|
|
32904
|
-
public static create(properties?: google.spanner.v1.TransactionOptions.IReadWrite): google.spanner.v1.TransactionOptions.ReadWrite;
|
|
33378
|
+
/** ResultSetMetadata rowType. */
|
|
33379
|
+
public rowType?: (google.spanner.v1.IStructType|null);
|
|
32905
33380
|
|
|
32906
|
-
|
|
32907
|
-
|
|
32908
|
-
* @param message ReadWrite message or plain object to encode
|
|
32909
|
-
* @param [writer] Writer to encode to
|
|
32910
|
-
* @returns Writer
|
|
32911
|
-
*/
|
|
32912
|
-
public static encode(message: google.spanner.v1.TransactionOptions.IReadWrite, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
33381
|
+
/** ResultSetMetadata transaction. */
|
|
33382
|
+
public transaction?: (google.spanner.v1.ITransaction|null);
|
|
32913
33383
|
|
|
32914
|
-
|
|
32915
|
-
|
|
32916
|
-
* @param message ReadWrite message or plain object to encode
|
|
32917
|
-
* @param [writer] Writer to encode to
|
|
32918
|
-
* @returns Writer
|
|
32919
|
-
*/
|
|
32920
|
-
public static encodeDelimited(message: google.spanner.v1.TransactionOptions.IReadWrite, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
33384
|
+
/** ResultSetMetadata undeclaredParameters. */
|
|
33385
|
+
public undeclaredParameters?: (google.spanner.v1.IStructType|null);
|
|
32921
33386
|
|
|
32922
|
-
|
|
32923
|
-
|
|
32924
|
-
|
|
32925
|
-
|
|
32926
|
-
|
|
32927
|
-
|
|
32928
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32929
|
-
*/
|
|
32930
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.TransactionOptions.ReadWrite;
|
|
33387
|
+
/**
|
|
33388
|
+
* Creates a new ResultSetMetadata instance using the specified properties.
|
|
33389
|
+
* @param [properties] Properties to set
|
|
33390
|
+
* @returns ResultSetMetadata instance
|
|
33391
|
+
*/
|
|
33392
|
+
public static create(properties?: google.spanner.v1.IResultSetMetadata): google.spanner.v1.ResultSetMetadata;
|
|
32931
33393
|
|
|
32932
|
-
|
|
32933
|
-
|
|
32934
|
-
|
|
32935
|
-
|
|
32936
|
-
|
|
32937
|
-
|
|
32938
|
-
|
|
32939
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.TransactionOptions.ReadWrite;
|
|
33394
|
+
/**
|
|
33395
|
+
* Encodes the specified ResultSetMetadata message. Does not implicitly {@link google.spanner.v1.ResultSetMetadata.verify|verify} messages.
|
|
33396
|
+
* @param message ResultSetMetadata message or plain object to encode
|
|
33397
|
+
* @param [writer] Writer to encode to
|
|
33398
|
+
* @returns Writer
|
|
33399
|
+
*/
|
|
33400
|
+
public static encode(message: google.spanner.v1.IResultSetMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
32940
33401
|
|
|
32941
|
-
|
|
32942
|
-
|
|
32943
|
-
|
|
32944
|
-
|
|
32945
|
-
|
|
32946
|
-
|
|
33402
|
+
/**
|
|
33403
|
+
* Encodes the specified ResultSetMetadata message, length delimited. Does not implicitly {@link google.spanner.v1.ResultSetMetadata.verify|verify} messages.
|
|
33404
|
+
* @param message ResultSetMetadata message or plain object to encode
|
|
33405
|
+
* @param [writer] Writer to encode to
|
|
33406
|
+
* @returns Writer
|
|
33407
|
+
*/
|
|
33408
|
+
public static encodeDelimited(message: google.spanner.v1.IResultSetMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
32947
33409
|
|
|
32948
|
-
|
|
32949
|
-
|
|
32950
|
-
|
|
32951
|
-
|
|
32952
|
-
|
|
32953
|
-
|
|
33410
|
+
/**
|
|
33411
|
+
* Decodes a ResultSetMetadata message from the specified reader or buffer.
|
|
33412
|
+
* @param reader Reader or buffer to decode from
|
|
33413
|
+
* @param [length] Message length if known beforehand
|
|
33414
|
+
* @returns ResultSetMetadata
|
|
33415
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33416
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33417
|
+
*/
|
|
33418
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.ResultSetMetadata;
|
|
32954
33419
|
|
|
32955
|
-
|
|
32956
|
-
|
|
32957
|
-
|
|
32958
|
-
|
|
32959
|
-
|
|
32960
|
-
|
|
32961
|
-
|
|
33420
|
+
/**
|
|
33421
|
+
* Decodes a ResultSetMetadata message from the specified reader or buffer, length delimited.
|
|
33422
|
+
* @param reader Reader or buffer to decode from
|
|
33423
|
+
* @returns ResultSetMetadata
|
|
33424
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33425
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33426
|
+
*/
|
|
33427
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.ResultSetMetadata;
|
|
32962
33428
|
|
|
32963
|
-
|
|
32964
|
-
|
|
32965
|
-
|
|
32966
|
-
|
|
32967
|
-
|
|
33429
|
+
/**
|
|
33430
|
+
* Verifies a ResultSetMetadata message.
|
|
33431
|
+
* @param message Plain object to verify
|
|
33432
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
33433
|
+
*/
|
|
33434
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
32968
33435
|
|
|
32969
|
-
|
|
32970
|
-
|
|
32971
|
-
|
|
32972
|
-
|
|
32973
|
-
|
|
32974
|
-
|
|
32975
|
-
}
|
|
33436
|
+
/**
|
|
33437
|
+
* Creates a ResultSetMetadata message from a plain object. Also converts values to their respective internal types.
|
|
33438
|
+
* @param object Plain object
|
|
33439
|
+
* @returns ResultSetMetadata
|
|
33440
|
+
*/
|
|
33441
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.ResultSetMetadata;
|
|
32976
33442
|
|
|
32977
|
-
|
|
33443
|
+
/**
|
|
33444
|
+
* Creates a plain object from a ResultSetMetadata message. Also converts values to other types if specified.
|
|
33445
|
+
* @param message ResultSetMetadata
|
|
33446
|
+
* @param [options] Conversion options
|
|
33447
|
+
* @returns Plain object
|
|
33448
|
+
*/
|
|
33449
|
+
public static toObject(message: google.spanner.v1.ResultSetMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
32978
33450
|
|
|
32979
|
-
|
|
32980
|
-
|
|
32981
|
-
|
|
32982
|
-
|
|
32983
|
-
|
|
32984
|
-
|
|
33451
|
+
/**
|
|
33452
|
+
* Converts this ResultSetMetadata to JSON.
|
|
33453
|
+
* @returns JSON object
|
|
33454
|
+
*/
|
|
33455
|
+
public toJSON(): { [k: string]: any };
|
|
33456
|
+
|
|
33457
|
+
/**
|
|
33458
|
+
* Gets the default type url for ResultSetMetadata
|
|
33459
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
33460
|
+
* @returns The default type url
|
|
33461
|
+
*/
|
|
33462
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
33463
|
+
}
|
|
33464
|
+
|
|
33465
|
+
/** Properties of a ResultSetStats. */
|
|
33466
|
+
interface IResultSetStats {
|
|
33467
|
+
|
|
33468
|
+
/** ResultSetStats queryPlan */
|
|
33469
|
+
queryPlan?: (google.spanner.v1.IQueryPlan|null);
|
|
33470
|
+
|
|
33471
|
+
/** ResultSetStats queryStats */
|
|
33472
|
+
queryStats?: (google.protobuf.IStruct|null);
|
|
33473
|
+
|
|
33474
|
+
/** ResultSetStats rowCountExact */
|
|
33475
|
+
rowCountExact?: (number|Long|string|null);
|
|
33476
|
+
|
|
33477
|
+
/** ResultSetStats rowCountLowerBound */
|
|
33478
|
+
rowCountLowerBound?: (number|Long|string|null);
|
|
33479
|
+
}
|
|
33480
|
+
|
|
33481
|
+
/** Represents a ResultSetStats. */
|
|
33482
|
+
class ResultSetStats implements IResultSetStats {
|
|
33483
|
+
|
|
33484
|
+
/**
|
|
33485
|
+
* Constructs a new ResultSetStats.
|
|
33486
|
+
* @param [properties] Properties to set
|
|
33487
|
+
*/
|
|
33488
|
+
constructor(properties?: google.spanner.v1.IResultSetStats);
|
|
33489
|
+
|
|
33490
|
+
/** ResultSetStats queryPlan. */
|
|
33491
|
+
public queryPlan?: (google.spanner.v1.IQueryPlan|null);
|
|
33492
|
+
|
|
33493
|
+
/** ResultSetStats queryStats. */
|
|
33494
|
+
public queryStats?: (google.protobuf.IStruct|null);
|
|
33495
|
+
|
|
33496
|
+
/** ResultSetStats rowCountExact. */
|
|
33497
|
+
public rowCountExact?: (number|Long|string|null);
|
|
33498
|
+
|
|
33499
|
+
/** ResultSetStats rowCountLowerBound. */
|
|
33500
|
+
public rowCountLowerBound?: (number|Long|string|null);
|
|
33501
|
+
|
|
33502
|
+
/** ResultSetStats rowCount. */
|
|
33503
|
+
public rowCount?: ("rowCountExact"|"rowCountLowerBound");
|
|
33504
|
+
|
|
33505
|
+
/**
|
|
33506
|
+
* Creates a new ResultSetStats instance using the specified properties.
|
|
33507
|
+
* @param [properties] Properties to set
|
|
33508
|
+
* @returns ResultSetStats instance
|
|
33509
|
+
*/
|
|
33510
|
+
public static create(properties?: google.spanner.v1.IResultSetStats): google.spanner.v1.ResultSetStats;
|
|
33511
|
+
|
|
33512
|
+
/**
|
|
33513
|
+
* Encodes the specified ResultSetStats message. Does not implicitly {@link google.spanner.v1.ResultSetStats.verify|verify} messages.
|
|
33514
|
+
* @param message ResultSetStats message or plain object to encode
|
|
33515
|
+
* @param [writer] Writer to encode to
|
|
33516
|
+
* @returns Writer
|
|
33517
|
+
*/
|
|
33518
|
+
public static encode(message: google.spanner.v1.IResultSetStats, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
33519
|
+
|
|
33520
|
+
/**
|
|
33521
|
+
* Encodes the specified ResultSetStats message, length delimited. Does not implicitly {@link google.spanner.v1.ResultSetStats.verify|verify} messages.
|
|
33522
|
+
* @param message ResultSetStats message or plain object to encode
|
|
33523
|
+
* @param [writer] Writer to encode to
|
|
33524
|
+
* @returns Writer
|
|
33525
|
+
*/
|
|
33526
|
+
public static encodeDelimited(message: google.spanner.v1.IResultSetStats, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
33527
|
+
|
|
33528
|
+
/**
|
|
33529
|
+
* Decodes a ResultSetStats message from the specified reader or buffer.
|
|
33530
|
+
* @param reader Reader or buffer to decode from
|
|
33531
|
+
* @param [length] Message length if known beforehand
|
|
33532
|
+
* @returns ResultSetStats
|
|
33533
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33534
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33535
|
+
*/
|
|
33536
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.ResultSetStats;
|
|
33537
|
+
|
|
33538
|
+
/**
|
|
33539
|
+
* Decodes a ResultSetStats message from the specified reader or buffer, length delimited.
|
|
33540
|
+
* @param reader Reader or buffer to decode from
|
|
33541
|
+
* @returns ResultSetStats
|
|
33542
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33543
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33544
|
+
*/
|
|
33545
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.ResultSetStats;
|
|
33546
|
+
|
|
33547
|
+
/**
|
|
33548
|
+
* Verifies a ResultSetStats message.
|
|
33549
|
+
* @param message Plain object to verify
|
|
33550
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
33551
|
+
*/
|
|
33552
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
33553
|
+
|
|
33554
|
+
/**
|
|
33555
|
+
* Creates a ResultSetStats message from a plain object. Also converts values to their respective internal types.
|
|
33556
|
+
* @param object Plain object
|
|
33557
|
+
* @returns ResultSetStats
|
|
33558
|
+
*/
|
|
33559
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.ResultSetStats;
|
|
33560
|
+
|
|
33561
|
+
/**
|
|
33562
|
+
* Creates a plain object from a ResultSetStats message. Also converts values to other types if specified.
|
|
33563
|
+
* @param message ResultSetStats
|
|
33564
|
+
* @param [options] Conversion options
|
|
33565
|
+
* @returns Plain object
|
|
33566
|
+
*/
|
|
33567
|
+
public static toObject(message: google.spanner.v1.ResultSetStats, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
33568
|
+
|
|
33569
|
+
/**
|
|
33570
|
+
* Converts this ResultSetStats to JSON.
|
|
33571
|
+
* @returns JSON object
|
|
33572
|
+
*/
|
|
33573
|
+
public toJSON(): { [k: string]: any };
|
|
33574
|
+
|
|
33575
|
+
/**
|
|
33576
|
+
* Gets the default type url for ResultSetStats
|
|
33577
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
33578
|
+
* @returns The default type url
|
|
33579
|
+
*/
|
|
33580
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
33581
|
+
}
|
|
33582
|
+
|
|
33583
|
+
/** Properties of a PlanNode. */
|
|
33584
|
+
interface IPlanNode {
|
|
33585
|
+
|
|
33586
|
+
/** PlanNode index */
|
|
33587
|
+
index?: (number|null);
|
|
33588
|
+
|
|
33589
|
+
/** PlanNode kind */
|
|
33590
|
+
kind?: (google.spanner.v1.PlanNode.Kind|keyof typeof google.spanner.v1.PlanNode.Kind|null);
|
|
33591
|
+
|
|
33592
|
+
/** PlanNode displayName */
|
|
33593
|
+
displayName?: (string|null);
|
|
33594
|
+
|
|
33595
|
+
/** PlanNode childLinks */
|
|
33596
|
+
childLinks?: (google.spanner.v1.PlanNode.IChildLink[]|null);
|
|
33597
|
+
|
|
33598
|
+
/** PlanNode shortRepresentation */
|
|
33599
|
+
shortRepresentation?: (google.spanner.v1.PlanNode.IShortRepresentation|null);
|
|
33600
|
+
|
|
33601
|
+
/** PlanNode metadata */
|
|
33602
|
+
metadata?: (google.protobuf.IStruct|null);
|
|
33603
|
+
|
|
33604
|
+
/** PlanNode executionStats */
|
|
33605
|
+
executionStats?: (google.protobuf.IStruct|null);
|
|
33606
|
+
}
|
|
33607
|
+
|
|
33608
|
+
/** Represents a PlanNode. */
|
|
33609
|
+
class PlanNode implements IPlanNode {
|
|
33610
|
+
|
|
33611
|
+
/**
|
|
33612
|
+
* Constructs a new PlanNode.
|
|
33613
|
+
* @param [properties] Properties to set
|
|
33614
|
+
*/
|
|
33615
|
+
constructor(properties?: google.spanner.v1.IPlanNode);
|
|
33616
|
+
|
|
33617
|
+
/** PlanNode index. */
|
|
33618
|
+
public index: number;
|
|
33619
|
+
|
|
33620
|
+
/** PlanNode kind. */
|
|
33621
|
+
public kind: (google.spanner.v1.PlanNode.Kind|keyof typeof google.spanner.v1.PlanNode.Kind);
|
|
33622
|
+
|
|
33623
|
+
/** PlanNode displayName. */
|
|
33624
|
+
public displayName: string;
|
|
33625
|
+
|
|
33626
|
+
/** PlanNode childLinks. */
|
|
33627
|
+
public childLinks: google.spanner.v1.PlanNode.IChildLink[];
|
|
33628
|
+
|
|
33629
|
+
/** PlanNode shortRepresentation. */
|
|
33630
|
+
public shortRepresentation?: (google.spanner.v1.PlanNode.IShortRepresentation|null);
|
|
33631
|
+
|
|
33632
|
+
/** PlanNode metadata. */
|
|
33633
|
+
public metadata?: (google.protobuf.IStruct|null);
|
|
33634
|
+
|
|
33635
|
+
/** PlanNode executionStats. */
|
|
33636
|
+
public executionStats?: (google.protobuf.IStruct|null);
|
|
33637
|
+
|
|
33638
|
+
/**
|
|
33639
|
+
* Creates a new PlanNode instance using the specified properties.
|
|
33640
|
+
* @param [properties] Properties to set
|
|
33641
|
+
* @returns PlanNode instance
|
|
33642
|
+
*/
|
|
33643
|
+
public static create(properties?: google.spanner.v1.IPlanNode): google.spanner.v1.PlanNode;
|
|
33644
|
+
|
|
33645
|
+
/**
|
|
33646
|
+
* Encodes the specified PlanNode message. Does not implicitly {@link google.spanner.v1.PlanNode.verify|verify} messages.
|
|
33647
|
+
* @param message PlanNode message or plain object to encode
|
|
33648
|
+
* @param [writer] Writer to encode to
|
|
33649
|
+
* @returns Writer
|
|
33650
|
+
*/
|
|
33651
|
+
public static encode(message: google.spanner.v1.IPlanNode, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
33652
|
+
|
|
33653
|
+
/**
|
|
33654
|
+
* Encodes the specified PlanNode message, length delimited. Does not implicitly {@link google.spanner.v1.PlanNode.verify|verify} messages.
|
|
33655
|
+
* @param message PlanNode message or plain object to encode
|
|
33656
|
+
* @param [writer] Writer to encode to
|
|
33657
|
+
* @returns Writer
|
|
33658
|
+
*/
|
|
33659
|
+
public static encodeDelimited(message: google.spanner.v1.IPlanNode, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
33660
|
+
|
|
33661
|
+
/**
|
|
33662
|
+
* Decodes a PlanNode message from the specified reader or buffer.
|
|
33663
|
+
* @param reader Reader or buffer to decode from
|
|
33664
|
+
* @param [length] Message length if known beforehand
|
|
33665
|
+
* @returns PlanNode
|
|
33666
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33667
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33668
|
+
*/
|
|
33669
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.PlanNode;
|
|
33670
|
+
|
|
33671
|
+
/**
|
|
33672
|
+
* Decodes a PlanNode message from the specified reader or buffer, length delimited.
|
|
33673
|
+
* @param reader Reader or buffer to decode from
|
|
33674
|
+
* @returns PlanNode
|
|
33675
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33676
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33677
|
+
*/
|
|
33678
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.PlanNode;
|
|
33679
|
+
|
|
33680
|
+
/**
|
|
33681
|
+
* Verifies a PlanNode message.
|
|
33682
|
+
* @param message Plain object to verify
|
|
33683
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
33684
|
+
*/
|
|
33685
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
33686
|
+
|
|
33687
|
+
/**
|
|
33688
|
+
* Creates a PlanNode message from a plain object. Also converts values to their respective internal types.
|
|
33689
|
+
* @param object Plain object
|
|
33690
|
+
* @returns PlanNode
|
|
33691
|
+
*/
|
|
33692
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.PlanNode;
|
|
33693
|
+
|
|
33694
|
+
/**
|
|
33695
|
+
* Creates a plain object from a PlanNode message. Also converts values to other types if specified.
|
|
33696
|
+
* @param message PlanNode
|
|
33697
|
+
* @param [options] Conversion options
|
|
33698
|
+
* @returns Plain object
|
|
33699
|
+
*/
|
|
33700
|
+
public static toObject(message: google.spanner.v1.PlanNode, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
33701
|
+
|
|
33702
|
+
/**
|
|
33703
|
+
* Converts this PlanNode to JSON.
|
|
33704
|
+
* @returns JSON object
|
|
33705
|
+
*/
|
|
33706
|
+
public toJSON(): { [k: string]: any };
|
|
33707
|
+
|
|
33708
|
+
/**
|
|
33709
|
+
* Gets the default type url for PlanNode
|
|
33710
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
33711
|
+
* @returns The default type url
|
|
33712
|
+
*/
|
|
33713
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
33714
|
+
}
|
|
33715
|
+
|
|
33716
|
+
namespace PlanNode {
|
|
33717
|
+
|
|
33718
|
+
/** Kind enum. */
|
|
33719
|
+
enum Kind {
|
|
33720
|
+
KIND_UNSPECIFIED = 0,
|
|
33721
|
+
RELATIONAL = 1,
|
|
33722
|
+
SCALAR = 2
|
|
32985
33723
|
}
|
|
32986
33724
|
|
|
32987
|
-
/** Properties of a
|
|
32988
|
-
interface
|
|
33725
|
+
/** Properties of a ChildLink. */
|
|
33726
|
+
interface IChildLink {
|
|
33727
|
+
|
|
33728
|
+
/** ChildLink childIndex */
|
|
33729
|
+
childIndex?: (number|null);
|
|
33730
|
+
|
|
33731
|
+
/** ChildLink type */
|
|
33732
|
+
type?: (string|null);
|
|
33733
|
+
|
|
33734
|
+
/** ChildLink variable */
|
|
33735
|
+
variable?: (string|null);
|
|
32989
33736
|
}
|
|
32990
33737
|
|
|
32991
|
-
/** Represents a
|
|
32992
|
-
class
|
|
33738
|
+
/** Represents a ChildLink. */
|
|
33739
|
+
class ChildLink implements IChildLink {
|
|
32993
33740
|
|
|
32994
33741
|
/**
|
|
32995
|
-
* Constructs a new
|
|
33742
|
+
* Constructs a new ChildLink.
|
|
32996
33743
|
* @param [properties] Properties to set
|
|
32997
33744
|
*/
|
|
32998
|
-
constructor(properties?: google.spanner.v1.
|
|
33745
|
+
constructor(properties?: google.spanner.v1.PlanNode.IChildLink);
|
|
33746
|
+
|
|
33747
|
+
/** ChildLink childIndex. */
|
|
33748
|
+
public childIndex: number;
|
|
33749
|
+
|
|
33750
|
+
/** ChildLink type. */
|
|
33751
|
+
public type: string;
|
|
33752
|
+
|
|
33753
|
+
/** ChildLink variable. */
|
|
33754
|
+
public variable: string;
|
|
32999
33755
|
|
|
33000
33756
|
/**
|
|
33001
|
-
* Creates a new
|
|
33757
|
+
* Creates a new ChildLink instance using the specified properties.
|
|
33002
33758
|
* @param [properties] Properties to set
|
|
33003
|
-
* @returns
|
|
33759
|
+
* @returns ChildLink instance
|
|
33004
33760
|
*/
|
|
33005
|
-
public static create(properties?: google.spanner.v1.
|
|
33761
|
+
public static create(properties?: google.spanner.v1.PlanNode.IChildLink): google.spanner.v1.PlanNode.ChildLink;
|
|
33006
33762
|
|
|
33007
33763
|
/**
|
|
33008
|
-
* Encodes the specified
|
|
33009
|
-
* @param message
|
|
33764
|
+
* Encodes the specified ChildLink message. Does not implicitly {@link google.spanner.v1.PlanNode.ChildLink.verify|verify} messages.
|
|
33765
|
+
* @param message ChildLink message or plain object to encode
|
|
33010
33766
|
* @param [writer] Writer to encode to
|
|
33011
33767
|
* @returns Writer
|
|
33012
33768
|
*/
|
|
33013
|
-
public static encode(message: google.spanner.v1.
|
|
33769
|
+
public static encode(message: google.spanner.v1.PlanNode.IChildLink, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
33014
33770
|
|
|
33015
33771
|
/**
|
|
33016
|
-
* Encodes the specified
|
|
33017
|
-
* @param message
|
|
33772
|
+
* Encodes the specified ChildLink message, length delimited. Does not implicitly {@link google.spanner.v1.PlanNode.ChildLink.verify|verify} messages.
|
|
33773
|
+
* @param message ChildLink message or plain object to encode
|
|
33018
33774
|
* @param [writer] Writer to encode to
|
|
33019
33775
|
* @returns Writer
|
|
33020
33776
|
*/
|
|
33021
|
-
public static encodeDelimited(message: google.spanner.v1.
|
|
33777
|
+
public static encodeDelimited(message: google.spanner.v1.PlanNode.IChildLink, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
33022
33778
|
|
|
33023
33779
|
/**
|
|
33024
|
-
* Decodes a
|
|
33780
|
+
* Decodes a ChildLink message from the specified reader or buffer.
|
|
33025
33781
|
* @param reader Reader or buffer to decode from
|
|
33026
33782
|
* @param [length] Message length if known beforehand
|
|
33027
|
-
* @returns
|
|
33783
|
+
* @returns ChildLink
|
|
33028
33784
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33029
33785
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33030
33786
|
*/
|
|
33031
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.
|
|
33787
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.PlanNode.ChildLink;
|
|
33032
33788
|
|
|
33033
33789
|
/**
|
|
33034
|
-
* Decodes a
|
|
33790
|
+
* Decodes a ChildLink message from the specified reader or buffer, length delimited.
|
|
33035
33791
|
* @param reader Reader or buffer to decode from
|
|
33036
|
-
* @returns
|
|
33792
|
+
* @returns ChildLink
|
|
33037
33793
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33038
33794
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33039
33795
|
*/
|
|
33040
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.
|
|
33796
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.PlanNode.ChildLink;
|
|
33041
33797
|
|
|
33042
33798
|
/**
|
|
33043
|
-
* Verifies a
|
|
33799
|
+
* Verifies a ChildLink message.
|
|
33044
33800
|
* @param message Plain object to verify
|
|
33045
33801
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
33046
33802
|
*/
|
|
33047
33803
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
33048
33804
|
|
|
33049
33805
|
/**
|
|
33050
|
-
* Creates a
|
|
33806
|
+
* Creates a ChildLink message from a plain object. Also converts values to their respective internal types.
|
|
33051
33807
|
* @param object Plain object
|
|
33052
|
-
* @returns
|
|
33808
|
+
* @returns ChildLink
|
|
33053
33809
|
*/
|
|
33054
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.v1.
|
|
33810
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.PlanNode.ChildLink;
|
|
33055
33811
|
|
|
33056
33812
|
/**
|
|
33057
|
-
* Creates a plain object from a
|
|
33058
|
-
* @param message
|
|
33813
|
+
* Creates a plain object from a ChildLink message. Also converts values to other types if specified.
|
|
33814
|
+
* @param message ChildLink
|
|
33059
33815
|
* @param [options] Conversion options
|
|
33060
33816
|
* @returns Plain object
|
|
33061
33817
|
*/
|
|
33062
|
-
public static toObject(message: google.spanner.v1.
|
|
33818
|
+
public static toObject(message: google.spanner.v1.PlanNode.ChildLink, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
33063
33819
|
|
|
33064
33820
|
/**
|
|
33065
|
-
* Converts this
|
|
33821
|
+
* Converts this ChildLink to JSON.
|
|
33066
33822
|
* @returns JSON object
|
|
33067
33823
|
*/
|
|
33068
33824
|
public toJSON(): { [k: string]: any };
|
|
33069
33825
|
|
|
33070
33826
|
/**
|
|
33071
|
-
* Gets the default type url for
|
|
33827
|
+
* Gets the default type url for ChildLink
|
|
33072
33828
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
33073
33829
|
* @returns The default type url
|
|
33074
33830
|
*/
|
|
33075
33831
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
33076
33832
|
}
|
|
33077
33833
|
|
|
33078
|
-
/** Properties of a
|
|
33079
|
-
interface
|
|
33080
|
-
|
|
33081
|
-
/** ReadOnly strong */
|
|
33082
|
-
strong?: (boolean|null);
|
|
33083
|
-
|
|
33084
|
-
/** ReadOnly minReadTimestamp */
|
|
33085
|
-
minReadTimestamp?: (google.protobuf.ITimestamp|null);
|
|
33086
|
-
|
|
33087
|
-
/** ReadOnly maxStaleness */
|
|
33088
|
-
maxStaleness?: (google.protobuf.IDuration|null);
|
|
33089
|
-
|
|
33090
|
-
/** ReadOnly readTimestamp */
|
|
33091
|
-
readTimestamp?: (google.protobuf.ITimestamp|null);
|
|
33834
|
+
/** Properties of a ShortRepresentation. */
|
|
33835
|
+
interface IShortRepresentation {
|
|
33092
33836
|
|
|
33093
|
-
/**
|
|
33094
|
-
|
|
33837
|
+
/** ShortRepresentation description */
|
|
33838
|
+
description?: (string|null);
|
|
33095
33839
|
|
|
33096
|
-
/**
|
|
33097
|
-
|
|
33840
|
+
/** ShortRepresentation subqueries */
|
|
33841
|
+
subqueries?: ({ [k: string]: number }|null);
|
|
33098
33842
|
}
|
|
33099
33843
|
|
|
33100
|
-
/** Represents a
|
|
33101
|
-
class
|
|
33844
|
+
/** Represents a ShortRepresentation. */
|
|
33845
|
+
class ShortRepresentation implements IShortRepresentation {
|
|
33102
33846
|
|
|
33103
33847
|
/**
|
|
33104
|
-
* Constructs a new
|
|
33848
|
+
* Constructs a new ShortRepresentation.
|
|
33105
33849
|
* @param [properties] Properties to set
|
|
33106
33850
|
*/
|
|
33107
|
-
constructor(properties?: google.spanner.v1.
|
|
33108
|
-
|
|
33109
|
-
/** ReadOnly strong. */
|
|
33110
|
-
public strong?: (boolean|null);
|
|
33111
|
-
|
|
33112
|
-
/** ReadOnly minReadTimestamp. */
|
|
33113
|
-
public minReadTimestamp?: (google.protobuf.ITimestamp|null);
|
|
33114
|
-
|
|
33115
|
-
/** ReadOnly maxStaleness. */
|
|
33116
|
-
public maxStaleness?: (google.protobuf.IDuration|null);
|
|
33117
|
-
|
|
33118
|
-
/** ReadOnly readTimestamp. */
|
|
33119
|
-
public readTimestamp?: (google.protobuf.ITimestamp|null);
|
|
33120
|
-
|
|
33121
|
-
/** ReadOnly exactStaleness. */
|
|
33122
|
-
public exactStaleness?: (google.protobuf.IDuration|null);
|
|
33851
|
+
constructor(properties?: google.spanner.v1.PlanNode.IShortRepresentation);
|
|
33123
33852
|
|
|
33124
|
-
/**
|
|
33125
|
-
public
|
|
33853
|
+
/** ShortRepresentation description. */
|
|
33854
|
+
public description: string;
|
|
33126
33855
|
|
|
33127
|
-
/**
|
|
33128
|
-
public
|
|
33856
|
+
/** ShortRepresentation subqueries. */
|
|
33857
|
+
public subqueries: { [k: string]: number };
|
|
33129
33858
|
|
|
33130
33859
|
/**
|
|
33131
|
-
* Creates a new
|
|
33860
|
+
* Creates a new ShortRepresentation instance using the specified properties.
|
|
33132
33861
|
* @param [properties] Properties to set
|
|
33133
|
-
* @returns
|
|
33862
|
+
* @returns ShortRepresentation instance
|
|
33134
33863
|
*/
|
|
33135
|
-
public static create(properties?: google.spanner.v1.
|
|
33864
|
+
public static create(properties?: google.spanner.v1.PlanNode.IShortRepresentation): google.spanner.v1.PlanNode.ShortRepresentation;
|
|
33136
33865
|
|
|
33137
33866
|
/**
|
|
33138
|
-
* Encodes the specified
|
|
33139
|
-
* @param message
|
|
33867
|
+
* Encodes the specified ShortRepresentation message. Does not implicitly {@link google.spanner.v1.PlanNode.ShortRepresentation.verify|verify} messages.
|
|
33868
|
+
* @param message ShortRepresentation message or plain object to encode
|
|
33140
33869
|
* @param [writer] Writer to encode to
|
|
33141
33870
|
* @returns Writer
|
|
33142
33871
|
*/
|
|
33143
|
-
public static encode(message: google.spanner.v1.
|
|
33872
|
+
public static encode(message: google.spanner.v1.PlanNode.IShortRepresentation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
33144
33873
|
|
|
33145
33874
|
/**
|
|
33146
|
-
* Encodes the specified
|
|
33147
|
-
* @param message
|
|
33875
|
+
* Encodes the specified ShortRepresentation message, length delimited. Does not implicitly {@link google.spanner.v1.PlanNode.ShortRepresentation.verify|verify} messages.
|
|
33876
|
+
* @param message ShortRepresentation message or plain object to encode
|
|
33148
33877
|
* @param [writer] Writer to encode to
|
|
33149
33878
|
* @returns Writer
|
|
33150
33879
|
*/
|
|
33151
|
-
public static encodeDelimited(message: google.spanner.v1.
|
|
33880
|
+
public static encodeDelimited(message: google.spanner.v1.PlanNode.IShortRepresentation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
33152
33881
|
|
|
33153
33882
|
/**
|
|
33154
|
-
* Decodes a
|
|
33883
|
+
* Decodes a ShortRepresentation message from the specified reader or buffer.
|
|
33155
33884
|
* @param reader Reader or buffer to decode from
|
|
33156
33885
|
* @param [length] Message length if known beforehand
|
|
33157
|
-
* @returns
|
|
33886
|
+
* @returns ShortRepresentation
|
|
33158
33887
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33159
33888
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33160
33889
|
*/
|
|
33161
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.
|
|
33890
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.PlanNode.ShortRepresentation;
|
|
33162
33891
|
|
|
33163
33892
|
/**
|
|
33164
|
-
* Decodes a
|
|
33893
|
+
* Decodes a ShortRepresentation message from the specified reader or buffer, length delimited.
|
|
33165
33894
|
* @param reader Reader or buffer to decode from
|
|
33166
|
-
* @returns
|
|
33895
|
+
* @returns ShortRepresentation
|
|
33167
33896
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33168
33897
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33169
33898
|
*/
|
|
33170
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.
|
|
33899
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.PlanNode.ShortRepresentation;
|
|
33171
33900
|
|
|
33172
33901
|
/**
|
|
33173
|
-
* Verifies a
|
|
33902
|
+
* Verifies a ShortRepresentation message.
|
|
33174
33903
|
* @param message Plain object to verify
|
|
33175
33904
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
33176
33905
|
*/
|
|
33177
33906
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
33178
33907
|
|
|
33179
33908
|
/**
|
|
33180
|
-
* Creates a
|
|
33909
|
+
* Creates a ShortRepresentation message from a plain object. Also converts values to their respective internal types.
|
|
33181
33910
|
* @param object Plain object
|
|
33182
|
-
* @returns
|
|
33911
|
+
* @returns ShortRepresentation
|
|
33183
33912
|
*/
|
|
33184
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.v1.
|
|
33913
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.PlanNode.ShortRepresentation;
|
|
33185
33914
|
|
|
33186
33915
|
/**
|
|
33187
|
-
* Creates a plain object from a
|
|
33188
|
-
* @param message
|
|
33916
|
+
* Creates a plain object from a ShortRepresentation message. Also converts values to other types if specified.
|
|
33917
|
+
* @param message ShortRepresentation
|
|
33189
33918
|
* @param [options] Conversion options
|
|
33190
33919
|
* @returns Plain object
|
|
33191
33920
|
*/
|
|
33192
|
-
public static toObject(message: google.spanner.v1.
|
|
33921
|
+
public static toObject(message: google.spanner.v1.PlanNode.ShortRepresentation, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
33193
33922
|
|
|
33194
33923
|
/**
|
|
33195
|
-
* Converts this
|
|
33924
|
+
* Converts this ShortRepresentation to JSON.
|
|
33196
33925
|
* @returns JSON object
|
|
33197
33926
|
*/
|
|
33198
33927
|
public toJSON(): { [k: string]: any };
|
|
33199
33928
|
|
|
33200
33929
|
/**
|
|
33201
|
-
* Gets the default type url for
|
|
33930
|
+
* Gets the default type url for ShortRepresentation
|
|
33202
33931
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
33203
33932
|
* @returns The default type url
|
|
33204
33933
|
*/
|
|
@@ -33206,215 +33935,97 @@ export namespace google {
|
|
|
33206
33935
|
}
|
|
33207
33936
|
}
|
|
33208
33937
|
|
|
33209
|
-
/** Properties of a
|
|
33210
|
-
interface
|
|
33211
|
-
|
|
33212
|
-
/** Transaction id */
|
|
33213
|
-
id?: (Uint8Array|string|null);
|
|
33214
|
-
|
|
33215
|
-
/** Transaction readTimestamp */
|
|
33216
|
-
readTimestamp?: (google.protobuf.ITimestamp|null);
|
|
33217
|
-
}
|
|
33218
|
-
|
|
33219
|
-
/** Represents a Transaction. */
|
|
33220
|
-
class Transaction implements ITransaction {
|
|
33221
|
-
|
|
33222
|
-
/**
|
|
33223
|
-
* Constructs a new Transaction.
|
|
33224
|
-
* @param [properties] Properties to set
|
|
33225
|
-
*/
|
|
33226
|
-
constructor(properties?: google.spanner.v1.ITransaction);
|
|
33227
|
-
|
|
33228
|
-
/** Transaction id. */
|
|
33229
|
-
public id: (Uint8Array|string);
|
|
33230
|
-
|
|
33231
|
-
/** Transaction readTimestamp. */
|
|
33232
|
-
public readTimestamp?: (google.protobuf.ITimestamp|null);
|
|
33233
|
-
|
|
33234
|
-
/**
|
|
33235
|
-
* Creates a new Transaction instance using the specified properties.
|
|
33236
|
-
* @param [properties] Properties to set
|
|
33237
|
-
* @returns Transaction instance
|
|
33238
|
-
*/
|
|
33239
|
-
public static create(properties?: google.spanner.v1.ITransaction): google.spanner.v1.Transaction;
|
|
33240
|
-
|
|
33241
|
-
/**
|
|
33242
|
-
* Encodes the specified Transaction message. Does not implicitly {@link google.spanner.v1.Transaction.verify|verify} messages.
|
|
33243
|
-
* @param message Transaction message or plain object to encode
|
|
33244
|
-
* @param [writer] Writer to encode to
|
|
33245
|
-
* @returns Writer
|
|
33246
|
-
*/
|
|
33247
|
-
public static encode(message: google.spanner.v1.ITransaction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
33248
|
-
|
|
33249
|
-
/**
|
|
33250
|
-
* Encodes the specified Transaction message, length delimited. Does not implicitly {@link google.spanner.v1.Transaction.verify|verify} messages.
|
|
33251
|
-
* @param message Transaction message or plain object to encode
|
|
33252
|
-
* @param [writer] Writer to encode to
|
|
33253
|
-
* @returns Writer
|
|
33254
|
-
*/
|
|
33255
|
-
public static encodeDelimited(message: google.spanner.v1.ITransaction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
33256
|
-
|
|
33257
|
-
/**
|
|
33258
|
-
* Decodes a Transaction message from the specified reader or buffer.
|
|
33259
|
-
* @param reader Reader or buffer to decode from
|
|
33260
|
-
* @param [length] Message length if known beforehand
|
|
33261
|
-
* @returns Transaction
|
|
33262
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33263
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33264
|
-
*/
|
|
33265
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.Transaction;
|
|
33266
|
-
|
|
33267
|
-
/**
|
|
33268
|
-
* Decodes a Transaction message from the specified reader or buffer, length delimited.
|
|
33269
|
-
* @param reader Reader or buffer to decode from
|
|
33270
|
-
* @returns Transaction
|
|
33271
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33272
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33273
|
-
*/
|
|
33274
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.Transaction;
|
|
33275
|
-
|
|
33276
|
-
/**
|
|
33277
|
-
* Verifies a Transaction message.
|
|
33278
|
-
* @param message Plain object to verify
|
|
33279
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
33280
|
-
*/
|
|
33281
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
33282
|
-
|
|
33283
|
-
/**
|
|
33284
|
-
* Creates a Transaction message from a plain object. Also converts values to their respective internal types.
|
|
33285
|
-
* @param object Plain object
|
|
33286
|
-
* @returns Transaction
|
|
33287
|
-
*/
|
|
33288
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.v1.Transaction;
|
|
33289
|
-
|
|
33290
|
-
/**
|
|
33291
|
-
* Creates a plain object from a Transaction message. Also converts values to other types if specified.
|
|
33292
|
-
* @param message Transaction
|
|
33293
|
-
* @param [options] Conversion options
|
|
33294
|
-
* @returns Plain object
|
|
33295
|
-
*/
|
|
33296
|
-
public static toObject(message: google.spanner.v1.Transaction, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
33297
|
-
|
|
33298
|
-
/**
|
|
33299
|
-
* Converts this Transaction to JSON.
|
|
33300
|
-
* @returns JSON object
|
|
33301
|
-
*/
|
|
33302
|
-
public toJSON(): { [k: string]: any };
|
|
33303
|
-
|
|
33304
|
-
/**
|
|
33305
|
-
* Gets the default type url for Transaction
|
|
33306
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
33307
|
-
* @returns The default type url
|
|
33308
|
-
*/
|
|
33309
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
33310
|
-
}
|
|
33311
|
-
|
|
33312
|
-
/** Properties of a TransactionSelector. */
|
|
33313
|
-
interface ITransactionSelector {
|
|
33314
|
-
|
|
33315
|
-
/** TransactionSelector singleUse */
|
|
33316
|
-
singleUse?: (google.spanner.v1.ITransactionOptions|null);
|
|
33317
|
-
|
|
33318
|
-
/** TransactionSelector id */
|
|
33319
|
-
id?: (Uint8Array|string|null);
|
|
33938
|
+
/** Properties of a QueryPlan. */
|
|
33939
|
+
interface IQueryPlan {
|
|
33320
33940
|
|
|
33321
|
-
/**
|
|
33322
|
-
|
|
33941
|
+
/** QueryPlan planNodes */
|
|
33942
|
+
planNodes?: (google.spanner.v1.IPlanNode[]|null);
|
|
33323
33943
|
}
|
|
33324
33944
|
|
|
33325
|
-
/** Represents a
|
|
33326
|
-
class
|
|
33945
|
+
/** Represents a QueryPlan. */
|
|
33946
|
+
class QueryPlan implements IQueryPlan {
|
|
33327
33947
|
|
|
33328
33948
|
/**
|
|
33329
|
-
* Constructs a new
|
|
33949
|
+
* Constructs a new QueryPlan.
|
|
33330
33950
|
* @param [properties] Properties to set
|
|
33331
33951
|
*/
|
|
33332
|
-
constructor(properties?: google.spanner.v1.
|
|
33333
|
-
|
|
33334
|
-
/** TransactionSelector singleUse. */
|
|
33335
|
-
public singleUse?: (google.spanner.v1.ITransactionOptions|null);
|
|
33336
|
-
|
|
33337
|
-
/** TransactionSelector id. */
|
|
33338
|
-
public id?: (Uint8Array|string|null);
|
|
33339
|
-
|
|
33340
|
-
/** TransactionSelector begin. */
|
|
33341
|
-
public begin?: (google.spanner.v1.ITransactionOptions|null);
|
|
33952
|
+
constructor(properties?: google.spanner.v1.IQueryPlan);
|
|
33342
33953
|
|
|
33343
|
-
/**
|
|
33344
|
-
public
|
|
33954
|
+
/** QueryPlan planNodes. */
|
|
33955
|
+
public planNodes: google.spanner.v1.IPlanNode[];
|
|
33345
33956
|
|
|
33346
33957
|
/**
|
|
33347
|
-
* Creates a new
|
|
33958
|
+
* Creates a new QueryPlan instance using the specified properties.
|
|
33348
33959
|
* @param [properties] Properties to set
|
|
33349
|
-
* @returns
|
|
33960
|
+
* @returns QueryPlan instance
|
|
33350
33961
|
*/
|
|
33351
|
-
public static create(properties?: google.spanner.v1.
|
|
33962
|
+
public static create(properties?: google.spanner.v1.IQueryPlan): google.spanner.v1.QueryPlan;
|
|
33352
33963
|
|
|
33353
33964
|
/**
|
|
33354
|
-
* Encodes the specified
|
|
33355
|
-
* @param message
|
|
33965
|
+
* Encodes the specified QueryPlan message. Does not implicitly {@link google.spanner.v1.QueryPlan.verify|verify} messages.
|
|
33966
|
+
* @param message QueryPlan message or plain object to encode
|
|
33356
33967
|
* @param [writer] Writer to encode to
|
|
33357
33968
|
* @returns Writer
|
|
33358
33969
|
*/
|
|
33359
|
-
public static encode(message: google.spanner.v1.
|
|
33970
|
+
public static encode(message: google.spanner.v1.IQueryPlan, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
33360
33971
|
|
|
33361
33972
|
/**
|
|
33362
|
-
* Encodes the specified
|
|
33363
|
-
* @param message
|
|
33973
|
+
* Encodes the specified QueryPlan message, length delimited. Does not implicitly {@link google.spanner.v1.QueryPlan.verify|verify} messages.
|
|
33974
|
+
* @param message QueryPlan message or plain object to encode
|
|
33364
33975
|
* @param [writer] Writer to encode to
|
|
33365
33976
|
* @returns Writer
|
|
33366
33977
|
*/
|
|
33367
|
-
public static encodeDelimited(message: google.spanner.v1.
|
|
33978
|
+
public static encodeDelimited(message: google.spanner.v1.IQueryPlan, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
33368
33979
|
|
|
33369
33980
|
/**
|
|
33370
|
-
* Decodes a
|
|
33981
|
+
* Decodes a QueryPlan message from the specified reader or buffer.
|
|
33371
33982
|
* @param reader Reader or buffer to decode from
|
|
33372
33983
|
* @param [length] Message length if known beforehand
|
|
33373
|
-
* @returns
|
|
33984
|
+
* @returns QueryPlan
|
|
33374
33985
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33375
33986
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33376
33987
|
*/
|
|
33377
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.
|
|
33988
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.QueryPlan;
|
|
33378
33989
|
|
|
33379
33990
|
/**
|
|
33380
|
-
* Decodes a
|
|
33991
|
+
* Decodes a QueryPlan message from the specified reader or buffer, length delimited.
|
|
33381
33992
|
* @param reader Reader or buffer to decode from
|
|
33382
|
-
* @returns
|
|
33993
|
+
* @returns QueryPlan
|
|
33383
33994
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33384
33995
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33385
33996
|
*/
|
|
33386
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.
|
|
33997
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.QueryPlan;
|
|
33387
33998
|
|
|
33388
33999
|
/**
|
|
33389
|
-
* Verifies a
|
|
34000
|
+
* Verifies a QueryPlan message.
|
|
33390
34001
|
* @param message Plain object to verify
|
|
33391
34002
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
33392
34003
|
*/
|
|
33393
34004
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
33394
34005
|
|
|
33395
34006
|
/**
|
|
33396
|
-
* Creates a
|
|
34007
|
+
* Creates a QueryPlan message from a plain object. Also converts values to their respective internal types.
|
|
33397
34008
|
* @param object Plain object
|
|
33398
|
-
* @returns
|
|
34009
|
+
* @returns QueryPlan
|
|
33399
34010
|
*/
|
|
33400
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.v1.
|
|
34011
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.QueryPlan;
|
|
33401
34012
|
|
|
33402
34013
|
/**
|
|
33403
|
-
* Creates a plain object from a
|
|
33404
|
-
* @param message
|
|
34014
|
+
* Creates a plain object from a QueryPlan message. Also converts values to other types if specified.
|
|
34015
|
+
* @param message QueryPlan
|
|
33405
34016
|
* @param [options] Conversion options
|
|
33406
34017
|
* @returns Plain object
|
|
33407
34018
|
*/
|
|
33408
|
-
public static toObject(message: google.spanner.v1.
|
|
34019
|
+
public static toObject(message: google.spanner.v1.QueryPlan, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
33409
34020
|
|
|
33410
34021
|
/**
|
|
33411
|
-
* Converts this
|
|
34022
|
+
* Converts this QueryPlan to JSON.
|
|
33412
34023
|
* @returns JSON object
|
|
33413
34024
|
*/
|
|
33414
34025
|
public toJSON(): { [k: string]: any };
|
|
33415
34026
|
|
|
33416
34027
|
/**
|
|
33417
|
-
* Gets the default type url for
|
|
34028
|
+
* Gets the default type url for QueryPlan
|
|
33418
34029
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
33419
34030
|
* @returns The default type url
|
|
33420
34031
|
*/
|
|
@@ -33761,7 +34372,8 @@ export namespace google {
|
|
|
33761
34372
|
NUMERIC = 10,
|
|
33762
34373
|
JSON = 11,
|
|
33763
34374
|
PROTO = 13,
|
|
33764
|
-
ENUM = 14
|
|
34375
|
+
ENUM = 14,
|
|
34376
|
+
INTERVAL = 16
|
|
33765
34377
|
}
|
|
33766
34378
|
|
|
33767
34379
|
/** TypeAnnotationCode enum. */
|