@google-cloud/spanner 8.3.1 → 8.5.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.
@@ -1,4 +1,4 @@
1
- // Copyright 2025 Google LLC
1
+ // Copyright 2026 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -15472,6 +15472,9 @@ export namespace google {
15472
15472
  /** AutoscalingTargets highPriorityCpuUtilizationPercent */
15473
15473
  highPriorityCpuUtilizationPercent?: (number|null);
15474
15474
 
15475
+ /** AutoscalingTargets totalCpuUtilizationPercent */
15476
+ totalCpuUtilizationPercent?: (number|null);
15477
+
15475
15478
  /** AutoscalingTargets storageUtilizationPercent */
15476
15479
  storageUtilizationPercent?: (number|null);
15477
15480
  }
@@ -15488,6 +15491,9 @@ export namespace google {
15488
15491
  /** AutoscalingTargets highPriorityCpuUtilizationPercent. */
15489
15492
  public highPriorityCpuUtilizationPercent: number;
15490
15493
 
15494
+ /** AutoscalingTargets totalCpuUtilizationPercent. */
15495
+ public totalCpuUtilizationPercent: number;
15496
+
15491
15497
  /** AutoscalingTargets storageUtilizationPercent. */
15492
15498
  public storageUtilizationPercent: number;
15493
15499
 
@@ -15682,6 +15688,15 @@ export namespace google {
15682
15688
 
15683
15689
  /** AutoscalingConfigOverrides autoscalingTargetHighPriorityCpuUtilizationPercent */
15684
15690
  autoscalingTargetHighPriorityCpuUtilizationPercent?: (number|null);
15691
+
15692
+ /** AutoscalingConfigOverrides autoscalingTargetTotalCpuUtilizationPercent */
15693
+ autoscalingTargetTotalCpuUtilizationPercent?: (number|null);
15694
+
15695
+ /** AutoscalingConfigOverrides disableHighPriorityCpuAutoscaling */
15696
+ disableHighPriorityCpuAutoscaling?: (boolean|null);
15697
+
15698
+ /** AutoscalingConfigOverrides disableTotalCpuAutoscaling */
15699
+ disableTotalCpuAutoscaling?: (boolean|null);
15685
15700
  }
15686
15701
 
15687
15702
  /** Represents an AutoscalingConfigOverrides. */
@@ -15699,6 +15714,15 @@ export namespace google {
15699
15714
  /** AutoscalingConfigOverrides autoscalingTargetHighPriorityCpuUtilizationPercent. */
15700
15715
  public autoscalingTargetHighPriorityCpuUtilizationPercent: number;
15701
15716
 
15717
+ /** AutoscalingConfigOverrides autoscalingTargetTotalCpuUtilizationPercent. */
15718
+ public autoscalingTargetTotalCpuUtilizationPercent: number;
15719
+
15720
+ /** AutoscalingConfigOverrides disableHighPriorityCpuAutoscaling. */
15721
+ public disableHighPriorityCpuAutoscaling: boolean;
15722
+
15723
+ /** AutoscalingConfigOverrides disableTotalCpuAutoscaling. */
15724
+ public disableTotalCpuAutoscaling: boolean;
15725
+
15702
15726
  /**
15703
15727
  * Creates a new AutoscalingConfigOverrides instance using the specified properties.
15704
15728
  * @param [properties] Properties to set
@@ -30229,6 +30253,9 @@ export namespace google {
30229
30253
 
30230
30254
  /** RequestOptions transactionTag */
30231
30255
  transactionTag?: (string|null);
30256
+
30257
+ /** RequestOptions clientContext */
30258
+ clientContext?: (google.spanner.v1.RequestOptions.IClientContext|null);
30232
30259
  }
30233
30260
 
30234
30261
  /** Represents a RequestOptions. */
@@ -30249,6 +30276,9 @@ export namespace google {
30249
30276
  /** RequestOptions transactionTag. */
30250
30277
  public transactionTag: string;
30251
30278
 
30279
+ /** RequestOptions clientContext. */
30280
+ public clientContext?: (google.spanner.v1.RequestOptions.IClientContext|null);
30281
+
30252
30282
  /**
30253
30283
  * Creates a new RequestOptions instance using the specified properties.
30254
30284
  * @param [properties] Properties to set
@@ -30336,6 +30366,103 @@ export namespace google {
30336
30366
  PRIORITY_MEDIUM = 2,
30337
30367
  PRIORITY_HIGH = 3
30338
30368
  }
30369
+
30370
+ /** Properties of a ClientContext. */
30371
+ interface IClientContext {
30372
+
30373
+ /** ClientContext secureContext */
30374
+ secureContext?: ({ [k: string]: google.protobuf.IValue }|null);
30375
+ }
30376
+
30377
+ /** Represents a ClientContext. */
30378
+ class ClientContext implements IClientContext {
30379
+
30380
+ /**
30381
+ * Constructs a new ClientContext.
30382
+ * @param [properties] Properties to set
30383
+ */
30384
+ constructor(properties?: google.spanner.v1.RequestOptions.IClientContext);
30385
+
30386
+ /** ClientContext secureContext. */
30387
+ public secureContext: { [k: string]: google.protobuf.IValue };
30388
+
30389
+ /**
30390
+ * Creates a new ClientContext instance using the specified properties.
30391
+ * @param [properties] Properties to set
30392
+ * @returns ClientContext instance
30393
+ */
30394
+ public static create(properties?: google.spanner.v1.RequestOptions.IClientContext): google.spanner.v1.RequestOptions.ClientContext;
30395
+
30396
+ /**
30397
+ * Encodes the specified ClientContext message. Does not implicitly {@link google.spanner.v1.RequestOptions.ClientContext.verify|verify} messages.
30398
+ * @param message ClientContext message or plain object to encode
30399
+ * @param [writer] Writer to encode to
30400
+ * @returns Writer
30401
+ */
30402
+ public static encode(message: google.spanner.v1.RequestOptions.IClientContext, writer?: $protobuf.Writer): $protobuf.Writer;
30403
+
30404
+ /**
30405
+ * Encodes the specified ClientContext message, length delimited. Does not implicitly {@link google.spanner.v1.RequestOptions.ClientContext.verify|verify} messages.
30406
+ * @param message ClientContext message or plain object to encode
30407
+ * @param [writer] Writer to encode to
30408
+ * @returns Writer
30409
+ */
30410
+ public static encodeDelimited(message: google.spanner.v1.RequestOptions.IClientContext, writer?: $protobuf.Writer): $protobuf.Writer;
30411
+
30412
+ /**
30413
+ * Decodes a ClientContext message from the specified reader or buffer.
30414
+ * @param reader Reader or buffer to decode from
30415
+ * @param [length] Message length if known beforehand
30416
+ * @returns ClientContext
30417
+ * @throws {Error} If the payload is not a reader or valid buffer
30418
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
30419
+ */
30420
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.RequestOptions.ClientContext;
30421
+
30422
+ /**
30423
+ * Decodes a ClientContext message from the specified reader or buffer, length delimited.
30424
+ * @param reader Reader or buffer to decode from
30425
+ * @returns ClientContext
30426
+ * @throws {Error} If the payload is not a reader or valid buffer
30427
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
30428
+ */
30429
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.RequestOptions.ClientContext;
30430
+
30431
+ /**
30432
+ * Verifies a ClientContext message.
30433
+ * @param message Plain object to verify
30434
+ * @returns `null` if valid, otherwise the reason why it is not
30435
+ */
30436
+ public static verify(message: { [k: string]: any }): (string|null);
30437
+
30438
+ /**
30439
+ * Creates a ClientContext message from a plain object. Also converts values to their respective internal types.
30440
+ * @param object Plain object
30441
+ * @returns ClientContext
30442
+ */
30443
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.RequestOptions.ClientContext;
30444
+
30445
+ /**
30446
+ * Creates a plain object from a ClientContext message. Also converts values to other types if specified.
30447
+ * @param message ClientContext
30448
+ * @param [options] Conversion options
30449
+ * @returns Plain object
30450
+ */
30451
+ public static toObject(message: google.spanner.v1.RequestOptions.ClientContext, options?: $protobuf.IConversionOptions): { [k: string]: any };
30452
+
30453
+ /**
30454
+ * Converts this ClientContext to JSON.
30455
+ * @returns JSON object
30456
+ */
30457
+ public toJSON(): { [k: string]: any };
30458
+
30459
+ /**
30460
+ * Gets the default type url for ClientContext
30461
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
30462
+ * @returns The default type url
30463
+ */
30464
+ public static getTypeUrl(typeUrlPrefix?: string): string;
30465
+ }
30339
30466
  }
30340
30467
 
30341
30468
  /** Properties of a DirectedReadOptions. */
@@ -30804,6 +30931,9 @@ export namespace google {
30804
30931
 
30805
30932
  /** ExecuteSqlRequest lastStatement */
30806
30933
  lastStatement?: (boolean|null);
30934
+
30935
+ /** ExecuteSqlRequest routingHint */
30936
+ routingHint?: (google.spanner.v1.IRoutingHint|null);
30807
30937
  }
30808
30938
 
30809
30939
  /** Represents an ExecuteSqlRequest. */
@@ -30857,6 +30987,9 @@ export namespace google {
30857
30987
  /** ExecuteSqlRequest lastStatement. */
30858
30988
  public lastStatement: boolean;
30859
30989
 
30990
+ /** ExecuteSqlRequest routingHint. */
30991
+ public routingHint?: (google.spanner.v1.IRoutingHint|null);
30992
+
30860
30993
  /**
30861
30994
  * Creates a new ExecuteSqlRequest instance using the specified properties.
30862
30995
  * @param [properties] Properties to set
@@ -32005,6 +32138,9 @@ export namespace google {
32005
32138
 
32006
32139
  /** ReadRequest lockHint */
32007
32140
  lockHint?: (google.spanner.v1.ReadRequest.LockHint|keyof typeof google.spanner.v1.ReadRequest.LockHint|null);
32141
+
32142
+ /** ReadRequest routingHint */
32143
+ routingHint?: (google.spanner.v1.IRoutingHint|null);
32008
32144
  }
32009
32145
 
32010
32146
  /** Represents a ReadRequest. */
@@ -32058,6 +32194,9 @@ export namespace google {
32058
32194
  /** ReadRequest lockHint. */
32059
32195
  public lockHint: (google.spanner.v1.ReadRequest.LockHint|keyof typeof google.spanner.v1.ReadRequest.LockHint);
32060
32196
 
32197
+ /** ReadRequest routingHint. */
32198
+ public routingHint?: (google.spanner.v1.IRoutingHint|null);
32199
+
32061
32200
  /**
32062
32201
  * Creates a new ReadRequest instance using the specified properties.
32063
32202
  * @param [properties] Properties to set
@@ -34077,514 +34216,2244 @@ export namespace google {
34077
34216
  public static getTypeUrl(typeUrlPrefix?: string): string;
34078
34217
  }
34079
34218
 
34080
- /** Properties of a Mutation. */
34081
- interface IMutation {
34219
+ /** Properties of a Range. */
34220
+ interface IRange {
34082
34221
 
34083
- /** Mutation insert */
34084
- insert?: (google.spanner.v1.Mutation.IWrite|null);
34222
+ /** Range startKey */
34223
+ startKey?: (Uint8Array|Buffer|string|null);
34085
34224
 
34086
- /** Mutation update */
34087
- update?: (google.spanner.v1.Mutation.IWrite|null);
34225
+ /** Range limitKey */
34226
+ limitKey?: (Uint8Array|Buffer|string|null);
34088
34227
 
34089
- /** Mutation insertOrUpdate */
34090
- insertOrUpdate?: (google.spanner.v1.Mutation.IWrite|null);
34228
+ /** Range groupUid */
34229
+ groupUid?: (number|Long|string|null);
34091
34230
 
34092
- /** Mutation replace */
34093
- replace?: (google.spanner.v1.Mutation.IWrite|null);
34231
+ /** Range splitId */
34232
+ splitId?: (number|Long|string|null);
34094
34233
 
34095
- /** Mutation delete */
34096
- "delete"?: (google.spanner.v1.Mutation.IDelete|null);
34234
+ /** Range generation */
34235
+ generation?: (Uint8Array|Buffer|string|null);
34097
34236
  }
34098
34237
 
34099
- /** Represents a Mutation. */
34100
- class Mutation implements IMutation {
34238
+ /** Represents a Range. */
34239
+ class Range implements IRange {
34101
34240
 
34102
34241
  /**
34103
- * Constructs a new Mutation.
34242
+ * Constructs a new Range.
34104
34243
  * @param [properties] Properties to set
34105
34244
  */
34106
- constructor(properties?: google.spanner.v1.IMutation);
34107
-
34108
- /** Mutation insert. */
34109
- public insert?: (google.spanner.v1.Mutation.IWrite|null);
34245
+ constructor(properties?: google.spanner.v1.IRange);
34110
34246
 
34111
- /** Mutation update. */
34112
- public update?: (google.spanner.v1.Mutation.IWrite|null);
34247
+ /** Range startKey. */
34248
+ public startKey: (Uint8Array|Buffer|string);
34113
34249
 
34114
- /** Mutation insertOrUpdate. */
34115
- public insertOrUpdate?: (google.spanner.v1.Mutation.IWrite|null);
34250
+ /** Range limitKey. */
34251
+ public limitKey: (Uint8Array|Buffer|string);
34116
34252
 
34117
- /** Mutation replace. */
34118
- public replace?: (google.spanner.v1.Mutation.IWrite|null);
34253
+ /** Range groupUid. */
34254
+ public groupUid: (number|Long|string);
34119
34255
 
34120
- /** Mutation delete. */
34121
- public delete?: (google.spanner.v1.Mutation.IDelete|null);
34256
+ /** Range splitId. */
34257
+ public splitId: (number|Long|string);
34122
34258
 
34123
- /** Mutation operation. */
34124
- public operation?: ("insert"|"update"|"insertOrUpdate"|"replace"|"delete");
34259
+ /** Range generation. */
34260
+ public generation: (Uint8Array|Buffer|string);
34125
34261
 
34126
34262
  /**
34127
- * Creates a new Mutation instance using the specified properties.
34263
+ * Creates a new Range instance using the specified properties.
34128
34264
  * @param [properties] Properties to set
34129
- * @returns Mutation instance
34265
+ * @returns Range instance
34130
34266
  */
34131
- public static create(properties?: google.spanner.v1.IMutation): google.spanner.v1.Mutation;
34267
+ public static create(properties?: google.spanner.v1.IRange): google.spanner.v1.Range;
34132
34268
 
34133
34269
  /**
34134
- * Encodes the specified Mutation message. Does not implicitly {@link google.spanner.v1.Mutation.verify|verify} messages.
34135
- * @param message Mutation message or plain object to encode
34270
+ * Encodes the specified Range message. Does not implicitly {@link google.spanner.v1.Range.verify|verify} messages.
34271
+ * @param message Range message or plain object to encode
34136
34272
  * @param [writer] Writer to encode to
34137
34273
  * @returns Writer
34138
34274
  */
34139
- public static encode(message: google.spanner.v1.IMutation, writer?: $protobuf.Writer): $protobuf.Writer;
34275
+ public static encode(message: google.spanner.v1.IRange, writer?: $protobuf.Writer): $protobuf.Writer;
34140
34276
 
34141
34277
  /**
34142
- * Encodes the specified Mutation message, length delimited. Does not implicitly {@link google.spanner.v1.Mutation.verify|verify} messages.
34143
- * @param message Mutation message or plain object to encode
34278
+ * Encodes the specified Range message, length delimited. Does not implicitly {@link google.spanner.v1.Range.verify|verify} messages.
34279
+ * @param message Range message or plain object to encode
34144
34280
  * @param [writer] Writer to encode to
34145
34281
  * @returns Writer
34146
34282
  */
34147
- public static encodeDelimited(message: google.spanner.v1.IMutation, writer?: $protobuf.Writer): $protobuf.Writer;
34283
+ public static encodeDelimited(message: google.spanner.v1.IRange, writer?: $protobuf.Writer): $protobuf.Writer;
34148
34284
 
34149
34285
  /**
34150
- * Decodes a Mutation message from the specified reader or buffer.
34286
+ * Decodes a Range message from the specified reader or buffer.
34151
34287
  * @param reader Reader or buffer to decode from
34152
34288
  * @param [length] Message length if known beforehand
34153
- * @returns Mutation
34289
+ * @returns Range
34154
34290
  * @throws {Error} If the payload is not a reader or valid buffer
34155
34291
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
34156
34292
  */
34157
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.Mutation;
34293
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.Range;
34158
34294
 
34159
34295
  /**
34160
- * Decodes a Mutation message from the specified reader or buffer, length delimited.
34296
+ * Decodes a Range message from the specified reader or buffer, length delimited.
34161
34297
  * @param reader Reader or buffer to decode from
34162
- * @returns Mutation
34298
+ * @returns Range
34163
34299
  * @throws {Error} If the payload is not a reader or valid buffer
34164
34300
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
34165
34301
  */
34166
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.Mutation;
34302
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.Range;
34167
34303
 
34168
34304
  /**
34169
- * Verifies a Mutation message.
34305
+ * Verifies a Range message.
34170
34306
  * @param message Plain object to verify
34171
34307
  * @returns `null` if valid, otherwise the reason why it is not
34172
34308
  */
34173
34309
  public static verify(message: { [k: string]: any }): (string|null);
34174
34310
 
34175
34311
  /**
34176
- * Creates a Mutation message from a plain object. Also converts values to their respective internal types.
34312
+ * Creates a Range message from a plain object. Also converts values to their respective internal types.
34177
34313
  * @param object Plain object
34178
- * @returns Mutation
34314
+ * @returns Range
34179
34315
  */
34180
- public static fromObject(object: { [k: string]: any }): google.spanner.v1.Mutation;
34316
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.Range;
34181
34317
 
34182
34318
  /**
34183
- * Creates a plain object from a Mutation message. Also converts values to other types if specified.
34184
- * @param message Mutation
34319
+ * Creates a plain object from a Range message. Also converts values to other types if specified.
34320
+ * @param message Range
34185
34321
  * @param [options] Conversion options
34186
34322
  * @returns Plain object
34187
34323
  */
34188
- public static toObject(message: google.spanner.v1.Mutation, options?: $protobuf.IConversionOptions): { [k: string]: any };
34324
+ public static toObject(message: google.spanner.v1.Range, options?: $protobuf.IConversionOptions): { [k: string]: any };
34189
34325
 
34190
34326
  /**
34191
- * Converts this Mutation to JSON.
34327
+ * Converts this Range to JSON.
34192
34328
  * @returns JSON object
34193
34329
  */
34194
34330
  public toJSON(): { [k: string]: any };
34195
34331
 
34196
34332
  /**
34197
- * Gets the default type url for Mutation
34333
+ * Gets the default type url for Range
34198
34334
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
34199
34335
  * @returns The default type url
34200
34336
  */
34201
34337
  public static getTypeUrl(typeUrlPrefix?: string): string;
34202
34338
  }
34203
34339
 
34204
- namespace Mutation {
34340
+ /** Properties of a Tablet. */
34341
+ interface ITablet {
34205
34342
 
34206
- /** Properties of a Write. */
34207
- interface IWrite {
34343
+ /** Tablet tabletUid */
34344
+ tabletUid?: (number|Long|string|null);
34208
34345
 
34209
- /** Write table */
34210
- table?: (string|null);
34346
+ /** Tablet serverAddress */
34347
+ serverAddress?: (string|null);
34211
34348
 
34212
- /** Write columns */
34213
- columns?: (string[]|null);
34349
+ /** Tablet location */
34350
+ location?: (string|null);
34214
34351
 
34215
- /** Write values */
34216
- values?: (google.protobuf.IListValue[]|null);
34217
- }
34352
+ /** Tablet role */
34353
+ role?: (google.spanner.v1.Tablet.Role|keyof typeof google.spanner.v1.Tablet.Role|null);
34218
34354
 
34219
- /** Represents a Write. */
34220
- class Write implements IWrite {
34355
+ /** Tablet incarnation */
34356
+ incarnation?: (Uint8Array|Buffer|string|null);
34221
34357
 
34222
- /**
34223
- * Constructs a new Write.
34224
- * @param [properties] Properties to set
34225
- */
34226
- constructor(properties?: google.spanner.v1.Mutation.IWrite);
34358
+ /** Tablet distance */
34359
+ distance?: (number|null);
34227
34360
 
34228
- /** Write table. */
34229
- public table: string;
34361
+ /** Tablet skip */
34362
+ skip?: (boolean|null);
34363
+ }
34230
34364
 
34231
- /** Write columns. */
34232
- public columns: string[];
34365
+ /** Represents a Tablet. */
34366
+ class Tablet implements ITablet {
34233
34367
 
34234
- /** Write values. */
34235
- public values: google.protobuf.IListValue[];
34368
+ /**
34369
+ * Constructs a new Tablet.
34370
+ * @param [properties] Properties to set
34371
+ */
34372
+ constructor(properties?: google.spanner.v1.ITablet);
34236
34373
 
34237
- /**
34238
- * Creates a new Write instance using the specified properties.
34239
- * @param [properties] Properties to set
34240
- * @returns Write instance
34241
- */
34242
- public static create(properties?: google.spanner.v1.Mutation.IWrite): google.spanner.v1.Mutation.Write;
34374
+ /** Tablet tabletUid. */
34375
+ public tabletUid: (number|Long|string);
34243
34376
 
34244
- /**
34245
- * Encodes the specified Write message. Does not implicitly {@link google.spanner.v1.Mutation.Write.verify|verify} messages.
34246
- * @param message Write message or plain object to encode
34247
- * @param [writer] Writer to encode to
34248
- * @returns Writer
34249
- */
34250
- public static encode(message: google.spanner.v1.Mutation.IWrite, writer?: $protobuf.Writer): $protobuf.Writer;
34377
+ /** Tablet serverAddress. */
34378
+ public serverAddress: string;
34251
34379
 
34252
- /**
34253
- * Encodes the specified Write message, length delimited. Does not implicitly {@link google.spanner.v1.Mutation.Write.verify|verify} messages.
34254
- * @param message Write message or plain object to encode
34255
- * @param [writer] Writer to encode to
34256
- * @returns Writer
34257
- */
34258
- public static encodeDelimited(message: google.spanner.v1.Mutation.IWrite, writer?: $protobuf.Writer): $protobuf.Writer;
34380
+ /** Tablet location. */
34381
+ public location: string;
34259
34382
 
34260
- /**
34261
- * Decodes a Write message from the specified reader or buffer.
34262
- * @param reader Reader or buffer to decode from
34263
- * @param [length] Message length if known beforehand
34264
- * @returns Write
34265
- * @throws {Error} If the payload is not a reader or valid buffer
34266
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
34267
- */
34268
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.Mutation.Write;
34383
+ /** Tablet role. */
34384
+ public role: (google.spanner.v1.Tablet.Role|keyof typeof google.spanner.v1.Tablet.Role);
34269
34385
 
34270
- /**
34271
- * Decodes a Write message from the specified reader or buffer, length delimited.
34272
- * @param reader Reader or buffer to decode from
34273
- * @returns Write
34274
- * @throws {Error} If the payload is not a reader or valid buffer
34275
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
34276
- */
34277
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.Mutation.Write;
34386
+ /** Tablet incarnation. */
34387
+ public incarnation: (Uint8Array|Buffer|string);
34278
34388
 
34279
- /**
34280
- * Verifies a Write message.
34281
- * @param message Plain object to verify
34282
- * @returns `null` if valid, otherwise the reason why it is not
34283
- */
34284
- public static verify(message: { [k: string]: any }): (string|null);
34389
+ /** Tablet distance. */
34390
+ public distance: number;
34285
34391
 
34286
- /**
34287
- * Creates a Write message from a plain object. Also converts values to their respective internal types.
34288
- * @param object Plain object
34289
- * @returns Write
34290
- */
34291
- public static fromObject(object: { [k: string]: any }): google.spanner.v1.Mutation.Write;
34392
+ /** Tablet skip. */
34393
+ public skip: boolean;
34292
34394
 
34293
- /**
34294
- * Creates a plain object from a Write message. Also converts values to other types if specified.
34295
- * @param message Write
34296
- * @param [options] Conversion options
34297
- * @returns Plain object
34298
- */
34299
- public static toObject(message: google.spanner.v1.Mutation.Write, options?: $protobuf.IConversionOptions): { [k: string]: any };
34395
+ /**
34396
+ * Creates a new Tablet instance using the specified properties.
34397
+ * @param [properties] Properties to set
34398
+ * @returns Tablet instance
34399
+ */
34400
+ public static create(properties?: google.spanner.v1.ITablet): google.spanner.v1.Tablet;
34300
34401
 
34301
- /**
34302
- * Converts this Write to JSON.
34303
- * @returns JSON object
34304
- */
34305
- public toJSON(): { [k: string]: any };
34402
+ /**
34403
+ * Encodes the specified Tablet message. Does not implicitly {@link google.spanner.v1.Tablet.verify|verify} messages.
34404
+ * @param message Tablet message or plain object to encode
34405
+ * @param [writer] Writer to encode to
34406
+ * @returns Writer
34407
+ */
34408
+ public static encode(message: google.spanner.v1.ITablet, writer?: $protobuf.Writer): $protobuf.Writer;
34306
34409
 
34307
- /**
34308
- * Gets the default type url for Write
34309
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
34310
- * @returns The default type url
34311
- */
34312
- public static getTypeUrl(typeUrlPrefix?: string): string;
34313
- }
34410
+ /**
34411
+ * Encodes the specified Tablet message, length delimited. Does not implicitly {@link google.spanner.v1.Tablet.verify|verify} messages.
34412
+ * @param message Tablet message or plain object to encode
34413
+ * @param [writer] Writer to encode to
34414
+ * @returns Writer
34415
+ */
34416
+ public static encodeDelimited(message: google.spanner.v1.ITablet, writer?: $protobuf.Writer): $protobuf.Writer;
34314
34417
 
34315
- /** Properties of a Delete. */
34316
- interface IDelete {
34418
+ /**
34419
+ * Decodes a Tablet message from the specified reader or buffer.
34420
+ * @param reader Reader or buffer to decode from
34421
+ * @param [length] Message length if known beforehand
34422
+ * @returns Tablet
34423
+ * @throws {Error} If the payload is not a reader or valid buffer
34424
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34425
+ */
34426
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.Tablet;
34317
34427
 
34318
- /** Delete table */
34319
- table?: (string|null);
34428
+ /**
34429
+ * Decodes a Tablet message from the specified reader or buffer, length delimited.
34430
+ * @param reader Reader or buffer to decode from
34431
+ * @returns Tablet
34432
+ * @throws {Error} If the payload is not a reader or valid buffer
34433
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34434
+ */
34435
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.Tablet;
34320
34436
 
34321
- /** Delete keySet */
34322
- keySet?: (google.spanner.v1.IKeySet|null);
34437
+ /**
34438
+ * Verifies a Tablet message.
34439
+ * @param message Plain object to verify
34440
+ * @returns `null` if valid, otherwise the reason why it is not
34441
+ */
34442
+ public static verify(message: { [k: string]: any }): (string|null);
34443
+
34444
+ /**
34445
+ * Creates a Tablet message from a plain object. Also converts values to their respective internal types.
34446
+ * @param object Plain object
34447
+ * @returns Tablet
34448
+ */
34449
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.Tablet;
34450
+
34451
+ /**
34452
+ * Creates a plain object from a Tablet message. Also converts values to other types if specified.
34453
+ * @param message Tablet
34454
+ * @param [options] Conversion options
34455
+ * @returns Plain object
34456
+ */
34457
+ public static toObject(message: google.spanner.v1.Tablet, options?: $protobuf.IConversionOptions): { [k: string]: any };
34458
+
34459
+ /**
34460
+ * Converts this Tablet to JSON.
34461
+ * @returns JSON object
34462
+ */
34463
+ public toJSON(): { [k: string]: any };
34464
+
34465
+ /**
34466
+ * Gets the default type url for Tablet
34467
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
34468
+ * @returns The default type url
34469
+ */
34470
+ public static getTypeUrl(typeUrlPrefix?: string): string;
34471
+ }
34472
+
34473
+ namespace Tablet {
34474
+
34475
+ /** Role enum. */
34476
+ enum Role {
34477
+ ROLE_UNSPECIFIED = 0,
34478
+ READ_WRITE = 1,
34479
+ READ_ONLY = 2
34323
34480
  }
34481
+ }
34324
34482
 
34325
- /** Represents a Delete. */
34326
- class Delete implements IDelete {
34483
+ /** Properties of a Group. */
34484
+ interface IGroup {
34327
34485
 
34328
- /**
34329
- * Constructs a new Delete.
34330
- * @param [properties] Properties to set
34331
- */
34332
- constructor(properties?: google.spanner.v1.Mutation.IDelete);
34486
+ /** Group groupUid */
34487
+ groupUid?: (number|Long|string|null);
34333
34488
 
34334
- /** Delete table. */
34335
- public table: string;
34489
+ /** Group tablets */
34490
+ tablets?: (google.spanner.v1.ITablet[]|null);
34336
34491
 
34337
- /** Delete keySet. */
34338
- public keySet?: (google.spanner.v1.IKeySet|null);
34492
+ /** Group leaderIndex */
34493
+ leaderIndex?: (number|null);
34339
34494
 
34340
- /**
34341
- * Creates a new Delete instance using the specified properties.
34342
- * @param [properties] Properties to set
34343
- * @returns Delete instance
34344
- */
34345
- public static create(properties?: google.spanner.v1.Mutation.IDelete): google.spanner.v1.Mutation.Delete;
34495
+ /** Group generation */
34496
+ generation?: (Uint8Array|Buffer|string|null);
34497
+ }
34346
34498
 
34347
- /**
34348
- * Encodes the specified Delete message. Does not implicitly {@link google.spanner.v1.Mutation.Delete.verify|verify} messages.
34349
- * @param message Delete message or plain object to encode
34350
- * @param [writer] Writer to encode to
34351
- * @returns Writer
34352
- */
34353
- public static encode(message: google.spanner.v1.Mutation.IDelete, writer?: $protobuf.Writer): $protobuf.Writer;
34499
+ /** Represents a Group. */
34500
+ class Group implements IGroup {
34354
34501
 
34355
- /**
34356
- * Encodes the specified Delete message, length delimited. Does not implicitly {@link google.spanner.v1.Mutation.Delete.verify|verify} messages.
34357
- * @param message Delete message or plain object to encode
34358
- * @param [writer] Writer to encode to
34359
- * @returns Writer
34360
- */
34361
- public static encodeDelimited(message: google.spanner.v1.Mutation.IDelete, writer?: $protobuf.Writer): $protobuf.Writer;
34502
+ /**
34503
+ * Constructs a new Group.
34504
+ * @param [properties] Properties to set
34505
+ */
34506
+ constructor(properties?: google.spanner.v1.IGroup);
34362
34507
 
34363
- /**
34364
- * Decodes a Delete message from the specified reader or buffer.
34365
- * @param reader Reader or buffer to decode from
34366
- * @param [length] Message length if known beforehand
34367
- * @returns Delete
34368
- * @throws {Error} If the payload is not a reader or valid buffer
34369
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
34370
- */
34371
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.Mutation.Delete;
34508
+ /** Group groupUid. */
34509
+ public groupUid: (number|Long|string);
34372
34510
 
34373
- /**
34374
- * Decodes a Delete message from the specified reader or buffer, length delimited.
34375
- * @param reader Reader or buffer to decode from
34376
- * @returns Delete
34377
- * @throws {Error} If the payload is not a reader or valid buffer
34378
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
34379
- */
34380
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.Mutation.Delete;
34511
+ /** Group tablets. */
34512
+ public tablets: google.spanner.v1.ITablet[];
34381
34513
 
34382
- /**
34383
- * Verifies a Delete message.
34384
- * @param message Plain object to verify
34385
- * @returns `null` if valid, otherwise the reason why it is not
34386
- */
34387
- public static verify(message: { [k: string]: any }): (string|null);
34514
+ /** Group leaderIndex. */
34515
+ public leaderIndex: number;
34388
34516
 
34389
- /**
34390
- * Creates a Delete message from a plain object. Also converts values to their respective internal types.
34391
- * @param object Plain object
34392
- * @returns Delete
34393
- */
34394
- public static fromObject(object: { [k: string]: any }): google.spanner.v1.Mutation.Delete;
34517
+ /** Group generation. */
34518
+ public generation: (Uint8Array|Buffer|string);
34395
34519
 
34396
- /**
34397
- * Creates a plain object from a Delete message. Also converts values to other types if specified.
34398
- * @param message Delete
34399
- * @param [options] Conversion options
34400
- * @returns Plain object
34401
- */
34402
- public static toObject(message: google.spanner.v1.Mutation.Delete, options?: $protobuf.IConversionOptions): { [k: string]: any };
34520
+ /**
34521
+ * Creates a new Group instance using the specified properties.
34522
+ * @param [properties] Properties to set
34523
+ * @returns Group instance
34524
+ */
34525
+ public static create(properties?: google.spanner.v1.IGroup): google.spanner.v1.Group;
34403
34526
 
34404
- /**
34405
- * Converts this Delete to JSON.
34406
- * @returns JSON object
34407
- */
34408
- public toJSON(): { [k: string]: any };
34527
+ /**
34528
+ * Encodes the specified Group message. Does not implicitly {@link google.spanner.v1.Group.verify|verify} messages.
34529
+ * @param message Group message or plain object to encode
34530
+ * @param [writer] Writer to encode to
34531
+ * @returns Writer
34532
+ */
34533
+ public static encode(message: google.spanner.v1.IGroup, writer?: $protobuf.Writer): $protobuf.Writer;
34409
34534
 
34410
- /**
34411
- * Gets the default type url for Delete
34412
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
34413
- * @returns The default type url
34414
- */
34415
- public static getTypeUrl(typeUrlPrefix?: string): string;
34416
- }
34535
+ /**
34536
+ * Encodes the specified Group message, length delimited. Does not implicitly {@link google.spanner.v1.Group.verify|verify} messages.
34537
+ * @param message Group message or plain object to encode
34538
+ * @param [writer] Writer to encode to
34539
+ * @returns Writer
34540
+ */
34541
+ public static encodeDelimited(message: google.spanner.v1.IGroup, writer?: $protobuf.Writer): $protobuf.Writer;
34542
+
34543
+ /**
34544
+ * Decodes a Group message from the specified reader or buffer.
34545
+ * @param reader Reader or buffer to decode from
34546
+ * @param [length] Message length if known beforehand
34547
+ * @returns Group
34548
+ * @throws {Error} If the payload is not a reader or valid buffer
34549
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34550
+ */
34551
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.Group;
34552
+
34553
+ /**
34554
+ * Decodes a Group message from the specified reader or buffer, length delimited.
34555
+ * @param reader Reader or buffer to decode from
34556
+ * @returns Group
34557
+ * @throws {Error} If the payload is not a reader or valid buffer
34558
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34559
+ */
34560
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.Group;
34561
+
34562
+ /**
34563
+ * Verifies a Group message.
34564
+ * @param message Plain object to verify
34565
+ * @returns `null` if valid, otherwise the reason why it is not
34566
+ */
34567
+ public static verify(message: { [k: string]: any }): (string|null);
34568
+
34569
+ /**
34570
+ * Creates a Group message from a plain object. Also converts values to their respective internal types.
34571
+ * @param object Plain object
34572
+ * @returns Group
34573
+ */
34574
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.Group;
34575
+
34576
+ /**
34577
+ * Creates a plain object from a Group message. Also converts values to other types if specified.
34578
+ * @param message Group
34579
+ * @param [options] Conversion options
34580
+ * @returns Plain object
34581
+ */
34582
+ public static toObject(message: google.spanner.v1.Group, options?: $protobuf.IConversionOptions): { [k: string]: any };
34583
+
34584
+ /**
34585
+ * Converts this Group to JSON.
34586
+ * @returns JSON object
34587
+ */
34588
+ public toJSON(): { [k: string]: any };
34589
+
34590
+ /**
34591
+ * Gets the default type url for Group
34592
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
34593
+ * @returns The default type url
34594
+ */
34595
+ public static getTypeUrl(typeUrlPrefix?: string): string;
34417
34596
  }
34418
34597
 
34419
- /** Properties of a ResultSet. */
34420
- interface IResultSet {
34598
+ /** Properties of a KeyRecipe. */
34599
+ interface IKeyRecipe {
34421
34600
 
34422
- /** ResultSet metadata */
34423
- metadata?: (google.spanner.v1.IResultSetMetadata|null);
34601
+ /** KeyRecipe tableName */
34602
+ tableName?: (string|null);
34424
34603
 
34425
- /** ResultSet rows */
34426
- rows?: (google.protobuf.IListValue[]|null);
34604
+ /** KeyRecipe indexName */
34605
+ indexName?: (string|null);
34427
34606
 
34428
- /** ResultSet stats */
34429
- stats?: (google.spanner.v1.IResultSetStats|null);
34607
+ /** KeyRecipe operationUid */
34608
+ operationUid?: (number|Long|string|null);
34430
34609
 
34431
- /** ResultSet precommitToken */
34432
- precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
34610
+ /** KeyRecipe part */
34611
+ part?: (google.spanner.v1.KeyRecipe.IPart[]|null);
34433
34612
  }
34434
34613
 
34435
- /** Represents a ResultSet. */
34436
- class ResultSet implements IResultSet {
34614
+ /** Represents a KeyRecipe. */
34615
+ class KeyRecipe implements IKeyRecipe {
34437
34616
 
34438
34617
  /**
34439
- * Constructs a new ResultSet.
34618
+ * Constructs a new KeyRecipe.
34440
34619
  * @param [properties] Properties to set
34441
34620
  */
34442
- constructor(properties?: google.spanner.v1.IResultSet);
34621
+ constructor(properties?: google.spanner.v1.IKeyRecipe);
34443
34622
 
34444
- /** ResultSet metadata. */
34445
- public metadata?: (google.spanner.v1.IResultSetMetadata|null);
34623
+ /** KeyRecipe tableName. */
34624
+ public tableName?: (string|null);
34446
34625
 
34447
- /** ResultSet rows. */
34448
- public rows: google.protobuf.IListValue[];
34626
+ /** KeyRecipe indexName. */
34627
+ public indexName?: (string|null);
34449
34628
 
34450
- /** ResultSet stats. */
34451
- public stats?: (google.spanner.v1.IResultSetStats|null);
34629
+ /** KeyRecipe operationUid. */
34630
+ public operationUid?: (number|Long|string|null);
34452
34631
 
34453
- /** ResultSet precommitToken. */
34454
- public precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
34632
+ /** KeyRecipe part. */
34633
+ public part: google.spanner.v1.KeyRecipe.IPart[];
34634
+
34635
+ /** KeyRecipe target. */
34636
+ public target?: ("tableName"|"indexName"|"operationUid");
34455
34637
 
34456
34638
  /**
34457
- * Creates a new ResultSet instance using the specified properties.
34639
+ * Creates a new KeyRecipe instance using the specified properties.
34458
34640
  * @param [properties] Properties to set
34459
- * @returns ResultSet instance
34641
+ * @returns KeyRecipe instance
34460
34642
  */
34461
- public static create(properties?: google.spanner.v1.IResultSet): google.spanner.v1.ResultSet;
34643
+ public static create(properties?: google.spanner.v1.IKeyRecipe): google.spanner.v1.KeyRecipe;
34462
34644
 
34463
34645
  /**
34464
- * Encodes the specified ResultSet message. Does not implicitly {@link google.spanner.v1.ResultSet.verify|verify} messages.
34465
- * @param message ResultSet message or plain object to encode
34646
+ * Encodes the specified KeyRecipe message. Does not implicitly {@link google.spanner.v1.KeyRecipe.verify|verify} messages.
34647
+ * @param message KeyRecipe message or plain object to encode
34466
34648
  * @param [writer] Writer to encode to
34467
34649
  * @returns Writer
34468
34650
  */
34469
- public static encode(message: google.spanner.v1.IResultSet, writer?: $protobuf.Writer): $protobuf.Writer;
34651
+ public static encode(message: google.spanner.v1.IKeyRecipe, writer?: $protobuf.Writer): $protobuf.Writer;
34470
34652
 
34471
34653
  /**
34472
- * Encodes the specified ResultSet message, length delimited. Does not implicitly {@link google.spanner.v1.ResultSet.verify|verify} messages.
34473
- * @param message ResultSet message or plain object to encode
34654
+ * Encodes the specified KeyRecipe message, length delimited. Does not implicitly {@link google.spanner.v1.KeyRecipe.verify|verify} messages.
34655
+ * @param message KeyRecipe message or plain object to encode
34474
34656
  * @param [writer] Writer to encode to
34475
34657
  * @returns Writer
34476
34658
  */
34477
- public static encodeDelimited(message: google.spanner.v1.IResultSet, writer?: $protobuf.Writer): $protobuf.Writer;
34659
+ public static encodeDelimited(message: google.spanner.v1.IKeyRecipe, writer?: $protobuf.Writer): $protobuf.Writer;
34478
34660
 
34479
34661
  /**
34480
- * Decodes a ResultSet message from the specified reader or buffer.
34662
+ * Decodes a KeyRecipe message from the specified reader or buffer.
34481
34663
  * @param reader Reader or buffer to decode from
34482
34664
  * @param [length] Message length if known beforehand
34483
- * @returns ResultSet
34665
+ * @returns KeyRecipe
34484
34666
  * @throws {Error} If the payload is not a reader or valid buffer
34485
34667
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
34486
34668
  */
34487
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.ResultSet;
34669
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.KeyRecipe;
34488
34670
 
34489
34671
  /**
34490
- * Decodes a ResultSet message from the specified reader or buffer, length delimited.
34672
+ * Decodes a KeyRecipe message from the specified reader or buffer, length delimited.
34491
34673
  * @param reader Reader or buffer to decode from
34492
- * @returns ResultSet
34674
+ * @returns KeyRecipe
34493
34675
  * @throws {Error} If the payload is not a reader or valid buffer
34494
34676
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
34495
34677
  */
34496
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.ResultSet;
34678
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.KeyRecipe;
34497
34679
 
34498
34680
  /**
34499
- * Verifies a ResultSet message.
34681
+ * Verifies a KeyRecipe message.
34500
34682
  * @param message Plain object to verify
34501
34683
  * @returns `null` if valid, otherwise the reason why it is not
34502
34684
  */
34503
34685
  public static verify(message: { [k: string]: any }): (string|null);
34504
34686
 
34505
34687
  /**
34506
- * Creates a ResultSet message from a plain object. Also converts values to their respective internal types.
34688
+ * Creates a KeyRecipe message from a plain object. Also converts values to their respective internal types.
34507
34689
  * @param object Plain object
34508
- * @returns ResultSet
34690
+ * @returns KeyRecipe
34509
34691
  */
34510
- public static fromObject(object: { [k: string]: any }): google.spanner.v1.ResultSet;
34692
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.KeyRecipe;
34511
34693
 
34512
34694
  /**
34513
- * Creates a plain object from a ResultSet message. Also converts values to other types if specified.
34514
- * @param message ResultSet
34695
+ * Creates a plain object from a KeyRecipe message. Also converts values to other types if specified.
34696
+ * @param message KeyRecipe
34515
34697
  * @param [options] Conversion options
34516
34698
  * @returns Plain object
34517
34699
  */
34518
- public static toObject(message: google.spanner.v1.ResultSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
34700
+ public static toObject(message: google.spanner.v1.KeyRecipe, options?: $protobuf.IConversionOptions): { [k: string]: any };
34519
34701
 
34520
34702
  /**
34521
- * Converts this ResultSet to JSON.
34703
+ * Converts this KeyRecipe to JSON.
34522
34704
  * @returns JSON object
34523
34705
  */
34524
34706
  public toJSON(): { [k: string]: any };
34525
34707
 
34526
34708
  /**
34527
- * Gets the default type url for ResultSet
34709
+ * Gets the default type url for KeyRecipe
34528
34710
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
34529
34711
  * @returns The default type url
34530
34712
  */
34531
34713
  public static getTypeUrl(typeUrlPrefix?: string): string;
34532
34714
  }
34533
34715
 
34534
- /** Properties of a PartialResultSet. */
34535
- interface IPartialResultSet {
34716
+ namespace KeyRecipe {
34536
34717
 
34537
- /** PartialResultSet metadata */
34538
- metadata?: (google.spanner.v1.IResultSetMetadata|null);
34718
+ /** Properties of a Part. */
34719
+ interface IPart {
34539
34720
 
34540
- /** PartialResultSet values */
34541
- values?: (google.protobuf.IValue[]|null);
34721
+ /** Part tag */
34722
+ tag?: (number|null);
34542
34723
 
34543
- /** PartialResultSet chunkedValue */
34544
- chunkedValue?: (boolean|null);
34724
+ /** Part order */
34725
+ order?: (google.spanner.v1.KeyRecipe.Part.Order|keyof typeof google.spanner.v1.KeyRecipe.Part.Order|null);
34545
34726
 
34546
- /** PartialResultSet resumeToken */
34547
- resumeToken?: (Uint8Array|Buffer|string|null);
34727
+ /** Part nullOrder */
34728
+ nullOrder?: (google.spanner.v1.KeyRecipe.Part.NullOrder|keyof typeof google.spanner.v1.KeyRecipe.Part.NullOrder|null);
34548
34729
 
34549
- /** PartialResultSet stats */
34550
- stats?: (google.spanner.v1.IResultSetStats|null);
34730
+ /** Part type */
34731
+ type?: (google.spanner.v1.IType|null);
34551
34732
 
34552
- /** PartialResultSet precommitToken */
34553
- precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
34733
+ /** Part identifier */
34734
+ identifier?: (string|null);
34554
34735
 
34555
- /** PartialResultSet last */
34556
- last?: (boolean|null);
34557
- }
34736
+ /** Part value */
34737
+ value?: (google.protobuf.IValue|null);
34558
34738
 
34559
- /** Represents a PartialResultSet. */
34560
- class PartialResultSet implements IPartialResultSet {
34739
+ /** Part random */
34740
+ random?: (boolean|null);
34561
34741
 
34562
- /**
34563
- * Constructs a new PartialResultSet.
34564
- * @param [properties] Properties to set
34565
- */
34566
- constructor(properties?: google.spanner.v1.IPartialResultSet);
34742
+ /** Part structIdentifiers */
34743
+ structIdentifiers?: (number[]|null);
34744
+ }
34567
34745
 
34568
- /** PartialResultSet metadata. */
34569
- public metadata?: (google.spanner.v1.IResultSetMetadata|null);
34746
+ /** Represents a Part. */
34747
+ class Part implements IPart {
34570
34748
 
34571
- /** PartialResultSet values. */
34572
- public values: google.protobuf.IValue[];
34749
+ /**
34750
+ * Constructs a new Part.
34751
+ * @param [properties] Properties to set
34752
+ */
34753
+ constructor(properties?: google.spanner.v1.KeyRecipe.IPart);
34573
34754
 
34574
- /** PartialResultSet chunkedValue. */
34575
- public chunkedValue: boolean;
34755
+ /** Part tag. */
34756
+ public tag: number;
34576
34757
 
34577
- /** PartialResultSet resumeToken. */
34578
- public resumeToken: (Uint8Array|Buffer|string);
34758
+ /** Part order. */
34759
+ public order: (google.spanner.v1.KeyRecipe.Part.Order|keyof typeof google.spanner.v1.KeyRecipe.Part.Order);
34579
34760
 
34580
- /** PartialResultSet stats. */
34581
- public stats?: (google.spanner.v1.IResultSetStats|null);
34761
+ /** Part nullOrder. */
34762
+ public nullOrder: (google.spanner.v1.KeyRecipe.Part.NullOrder|keyof typeof google.spanner.v1.KeyRecipe.Part.NullOrder);
34582
34763
 
34583
- /** PartialResultSet precommitToken. */
34584
- public precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
34764
+ /** Part type. */
34765
+ public type?: (google.spanner.v1.IType|null);
34585
34766
 
34586
- /** PartialResultSet last. */
34587
- public last: boolean;
34767
+ /** Part identifier. */
34768
+ public identifier?: (string|null);
34769
+
34770
+ /** Part value. */
34771
+ public value?: (google.protobuf.IValue|null);
34772
+
34773
+ /** Part random. */
34774
+ public random?: (boolean|null);
34775
+
34776
+ /** Part structIdentifiers. */
34777
+ public structIdentifiers: number[];
34778
+
34779
+ /** Part valueType. */
34780
+ public valueType?: ("identifier"|"value"|"random");
34781
+
34782
+ /**
34783
+ * Creates a new Part instance using the specified properties.
34784
+ * @param [properties] Properties to set
34785
+ * @returns Part instance
34786
+ */
34787
+ public static create(properties?: google.spanner.v1.KeyRecipe.IPart): google.spanner.v1.KeyRecipe.Part;
34788
+
34789
+ /**
34790
+ * Encodes the specified Part message. Does not implicitly {@link google.spanner.v1.KeyRecipe.Part.verify|verify} messages.
34791
+ * @param message Part message or plain object to encode
34792
+ * @param [writer] Writer to encode to
34793
+ * @returns Writer
34794
+ */
34795
+ public static encode(message: google.spanner.v1.KeyRecipe.IPart, writer?: $protobuf.Writer): $protobuf.Writer;
34796
+
34797
+ /**
34798
+ * Encodes the specified Part message, length delimited. Does not implicitly {@link google.spanner.v1.KeyRecipe.Part.verify|verify} messages.
34799
+ * @param message Part message or plain object to encode
34800
+ * @param [writer] Writer to encode to
34801
+ * @returns Writer
34802
+ */
34803
+ public static encodeDelimited(message: google.spanner.v1.KeyRecipe.IPart, writer?: $protobuf.Writer): $protobuf.Writer;
34804
+
34805
+ /**
34806
+ * Decodes a Part message from the specified reader or buffer.
34807
+ * @param reader Reader or buffer to decode from
34808
+ * @param [length] Message length if known beforehand
34809
+ * @returns Part
34810
+ * @throws {Error} If the payload is not a reader or valid buffer
34811
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34812
+ */
34813
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.KeyRecipe.Part;
34814
+
34815
+ /**
34816
+ * Decodes a Part message from the specified reader or buffer, length delimited.
34817
+ * @param reader Reader or buffer to decode from
34818
+ * @returns Part
34819
+ * @throws {Error} If the payload is not a reader or valid buffer
34820
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34821
+ */
34822
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.KeyRecipe.Part;
34823
+
34824
+ /**
34825
+ * Verifies a Part message.
34826
+ * @param message Plain object to verify
34827
+ * @returns `null` if valid, otherwise the reason why it is not
34828
+ */
34829
+ public static verify(message: { [k: string]: any }): (string|null);
34830
+
34831
+ /**
34832
+ * Creates a Part message from a plain object. Also converts values to their respective internal types.
34833
+ * @param object Plain object
34834
+ * @returns Part
34835
+ */
34836
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.KeyRecipe.Part;
34837
+
34838
+ /**
34839
+ * Creates a plain object from a Part message. Also converts values to other types if specified.
34840
+ * @param message Part
34841
+ * @param [options] Conversion options
34842
+ * @returns Plain object
34843
+ */
34844
+ public static toObject(message: google.spanner.v1.KeyRecipe.Part, options?: $protobuf.IConversionOptions): { [k: string]: any };
34845
+
34846
+ /**
34847
+ * Converts this Part to JSON.
34848
+ * @returns JSON object
34849
+ */
34850
+ public toJSON(): { [k: string]: any };
34851
+
34852
+ /**
34853
+ * Gets the default type url for Part
34854
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
34855
+ * @returns The default type url
34856
+ */
34857
+ public static getTypeUrl(typeUrlPrefix?: string): string;
34858
+ }
34859
+
34860
+ namespace Part {
34861
+
34862
+ /** Order enum. */
34863
+ enum Order {
34864
+ ORDER_UNSPECIFIED = 0,
34865
+ ASCENDING = 1,
34866
+ DESCENDING = 2
34867
+ }
34868
+
34869
+ /** NullOrder enum. */
34870
+ enum NullOrder {
34871
+ NULL_ORDER_UNSPECIFIED = 0,
34872
+ NULLS_FIRST = 1,
34873
+ NULLS_LAST = 2,
34874
+ NOT_NULL = 3
34875
+ }
34876
+ }
34877
+ }
34878
+
34879
+ /** Properties of a RecipeList. */
34880
+ interface IRecipeList {
34881
+
34882
+ /** RecipeList schemaGeneration */
34883
+ schemaGeneration?: (Uint8Array|Buffer|string|null);
34884
+
34885
+ /** RecipeList recipe */
34886
+ recipe?: (google.spanner.v1.IKeyRecipe[]|null);
34887
+ }
34888
+
34889
+ /** Represents a RecipeList. */
34890
+ class RecipeList implements IRecipeList {
34891
+
34892
+ /**
34893
+ * Constructs a new RecipeList.
34894
+ * @param [properties] Properties to set
34895
+ */
34896
+ constructor(properties?: google.spanner.v1.IRecipeList);
34897
+
34898
+ /** RecipeList schemaGeneration. */
34899
+ public schemaGeneration: (Uint8Array|Buffer|string);
34900
+
34901
+ /** RecipeList recipe. */
34902
+ public recipe: google.spanner.v1.IKeyRecipe[];
34903
+
34904
+ /**
34905
+ * Creates a new RecipeList instance using the specified properties.
34906
+ * @param [properties] Properties to set
34907
+ * @returns RecipeList instance
34908
+ */
34909
+ public static create(properties?: google.spanner.v1.IRecipeList): google.spanner.v1.RecipeList;
34910
+
34911
+ /**
34912
+ * Encodes the specified RecipeList message. Does not implicitly {@link google.spanner.v1.RecipeList.verify|verify} messages.
34913
+ * @param message RecipeList message or plain object to encode
34914
+ * @param [writer] Writer to encode to
34915
+ * @returns Writer
34916
+ */
34917
+ public static encode(message: google.spanner.v1.IRecipeList, writer?: $protobuf.Writer): $protobuf.Writer;
34918
+
34919
+ /**
34920
+ * Encodes the specified RecipeList message, length delimited. Does not implicitly {@link google.spanner.v1.RecipeList.verify|verify} messages.
34921
+ * @param message RecipeList message or plain object to encode
34922
+ * @param [writer] Writer to encode to
34923
+ * @returns Writer
34924
+ */
34925
+ public static encodeDelimited(message: google.spanner.v1.IRecipeList, writer?: $protobuf.Writer): $protobuf.Writer;
34926
+
34927
+ /**
34928
+ * Decodes a RecipeList message from the specified reader or buffer.
34929
+ * @param reader Reader or buffer to decode from
34930
+ * @param [length] Message length if known beforehand
34931
+ * @returns RecipeList
34932
+ * @throws {Error} If the payload is not a reader or valid buffer
34933
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34934
+ */
34935
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.RecipeList;
34936
+
34937
+ /**
34938
+ * Decodes a RecipeList message from the specified reader or buffer, length delimited.
34939
+ * @param reader Reader or buffer to decode from
34940
+ * @returns RecipeList
34941
+ * @throws {Error} If the payload is not a reader or valid buffer
34942
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34943
+ */
34944
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.RecipeList;
34945
+
34946
+ /**
34947
+ * Verifies a RecipeList message.
34948
+ * @param message Plain object to verify
34949
+ * @returns `null` if valid, otherwise the reason why it is not
34950
+ */
34951
+ public static verify(message: { [k: string]: any }): (string|null);
34952
+
34953
+ /**
34954
+ * Creates a RecipeList message from a plain object. Also converts values to their respective internal types.
34955
+ * @param object Plain object
34956
+ * @returns RecipeList
34957
+ */
34958
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.RecipeList;
34959
+
34960
+ /**
34961
+ * Creates a plain object from a RecipeList message. Also converts values to other types if specified.
34962
+ * @param message RecipeList
34963
+ * @param [options] Conversion options
34964
+ * @returns Plain object
34965
+ */
34966
+ public static toObject(message: google.spanner.v1.RecipeList, options?: $protobuf.IConversionOptions): { [k: string]: any };
34967
+
34968
+ /**
34969
+ * Converts this RecipeList to JSON.
34970
+ * @returns JSON object
34971
+ */
34972
+ public toJSON(): { [k: string]: any };
34973
+
34974
+ /**
34975
+ * Gets the default type url for RecipeList
34976
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
34977
+ * @returns The default type url
34978
+ */
34979
+ public static getTypeUrl(typeUrlPrefix?: string): string;
34980
+ }
34981
+
34982
+ /** Properties of a CacheUpdate. */
34983
+ interface ICacheUpdate {
34984
+
34985
+ /** CacheUpdate databaseId */
34986
+ databaseId?: (number|Long|string|null);
34987
+
34988
+ /** CacheUpdate range */
34989
+ range?: (google.spanner.v1.IRange[]|null);
34990
+
34991
+ /** CacheUpdate group */
34992
+ group?: (google.spanner.v1.IGroup[]|null);
34993
+
34994
+ /** CacheUpdate keyRecipes */
34995
+ keyRecipes?: (google.spanner.v1.IRecipeList|null);
34996
+ }
34997
+
34998
+ /** Represents a CacheUpdate. */
34999
+ class CacheUpdate implements ICacheUpdate {
35000
+
35001
+ /**
35002
+ * Constructs a new CacheUpdate.
35003
+ * @param [properties] Properties to set
35004
+ */
35005
+ constructor(properties?: google.spanner.v1.ICacheUpdate);
35006
+
35007
+ /** CacheUpdate databaseId. */
35008
+ public databaseId: (number|Long|string);
35009
+
35010
+ /** CacheUpdate range. */
35011
+ public range: google.spanner.v1.IRange[];
35012
+
35013
+ /** CacheUpdate group. */
35014
+ public group: google.spanner.v1.IGroup[];
35015
+
35016
+ /** CacheUpdate keyRecipes. */
35017
+ public keyRecipes?: (google.spanner.v1.IRecipeList|null);
35018
+
35019
+ /**
35020
+ * Creates a new CacheUpdate instance using the specified properties.
35021
+ * @param [properties] Properties to set
35022
+ * @returns CacheUpdate instance
35023
+ */
35024
+ public static create(properties?: google.spanner.v1.ICacheUpdate): google.spanner.v1.CacheUpdate;
35025
+
35026
+ /**
35027
+ * Encodes the specified CacheUpdate message. Does not implicitly {@link google.spanner.v1.CacheUpdate.verify|verify} messages.
35028
+ * @param message CacheUpdate message or plain object to encode
35029
+ * @param [writer] Writer to encode to
35030
+ * @returns Writer
35031
+ */
35032
+ public static encode(message: google.spanner.v1.ICacheUpdate, writer?: $protobuf.Writer): $protobuf.Writer;
35033
+
35034
+ /**
35035
+ * Encodes the specified CacheUpdate message, length delimited. Does not implicitly {@link google.spanner.v1.CacheUpdate.verify|verify} messages.
35036
+ * @param message CacheUpdate message or plain object to encode
35037
+ * @param [writer] Writer to encode to
35038
+ * @returns Writer
35039
+ */
35040
+ public static encodeDelimited(message: google.spanner.v1.ICacheUpdate, writer?: $protobuf.Writer): $protobuf.Writer;
35041
+
35042
+ /**
35043
+ * Decodes a CacheUpdate message from the specified reader or buffer.
35044
+ * @param reader Reader or buffer to decode from
35045
+ * @param [length] Message length if known beforehand
35046
+ * @returns CacheUpdate
35047
+ * @throws {Error} If the payload is not a reader or valid buffer
35048
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35049
+ */
35050
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.CacheUpdate;
35051
+
35052
+ /**
35053
+ * Decodes a CacheUpdate message from the specified reader or buffer, length delimited.
35054
+ * @param reader Reader or buffer to decode from
35055
+ * @returns CacheUpdate
35056
+ * @throws {Error} If the payload is not a reader or valid buffer
35057
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35058
+ */
35059
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.CacheUpdate;
35060
+
35061
+ /**
35062
+ * Verifies a CacheUpdate message.
35063
+ * @param message Plain object to verify
35064
+ * @returns `null` if valid, otherwise the reason why it is not
35065
+ */
35066
+ public static verify(message: { [k: string]: any }): (string|null);
35067
+
35068
+ /**
35069
+ * Creates a CacheUpdate message from a plain object. Also converts values to their respective internal types.
35070
+ * @param object Plain object
35071
+ * @returns CacheUpdate
35072
+ */
35073
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.CacheUpdate;
35074
+
35075
+ /**
35076
+ * Creates a plain object from a CacheUpdate message. Also converts values to other types if specified.
35077
+ * @param message CacheUpdate
35078
+ * @param [options] Conversion options
35079
+ * @returns Plain object
35080
+ */
35081
+ public static toObject(message: google.spanner.v1.CacheUpdate, options?: $protobuf.IConversionOptions): { [k: string]: any };
35082
+
35083
+ /**
35084
+ * Converts this CacheUpdate to JSON.
35085
+ * @returns JSON object
35086
+ */
35087
+ public toJSON(): { [k: string]: any };
35088
+
35089
+ /**
35090
+ * Gets the default type url for CacheUpdate
35091
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
35092
+ * @returns The default type url
35093
+ */
35094
+ public static getTypeUrl(typeUrlPrefix?: string): string;
35095
+ }
35096
+
35097
+ /** Properties of a RoutingHint. */
35098
+ interface IRoutingHint {
35099
+
35100
+ /** RoutingHint operationUid */
35101
+ operationUid?: (number|Long|string|null);
35102
+
35103
+ /** RoutingHint databaseId */
35104
+ databaseId?: (number|Long|string|null);
35105
+
35106
+ /** RoutingHint schemaGeneration */
35107
+ schemaGeneration?: (Uint8Array|Buffer|string|null);
35108
+
35109
+ /** RoutingHint key */
35110
+ key?: (Uint8Array|Buffer|string|null);
35111
+
35112
+ /** RoutingHint limitKey */
35113
+ limitKey?: (Uint8Array|Buffer|string|null);
35114
+
35115
+ /** RoutingHint groupUid */
35116
+ groupUid?: (number|Long|string|null);
35117
+
35118
+ /** RoutingHint splitId */
35119
+ splitId?: (number|Long|string|null);
35120
+
35121
+ /** RoutingHint tabletUid */
35122
+ tabletUid?: (number|Long|string|null);
35123
+
35124
+ /** RoutingHint skippedTabletUid */
35125
+ skippedTabletUid?: (google.spanner.v1.RoutingHint.ISkippedTablet[]|null);
35126
+
35127
+ /** RoutingHint clientLocation */
35128
+ clientLocation?: (string|null);
35129
+ }
35130
+
35131
+ /** Represents a RoutingHint. */
35132
+ class RoutingHint implements IRoutingHint {
35133
+
35134
+ /**
35135
+ * Constructs a new RoutingHint.
35136
+ * @param [properties] Properties to set
35137
+ */
35138
+ constructor(properties?: google.spanner.v1.IRoutingHint);
35139
+
35140
+ /** RoutingHint operationUid. */
35141
+ public operationUid: (number|Long|string);
35142
+
35143
+ /** RoutingHint databaseId. */
35144
+ public databaseId: (number|Long|string);
35145
+
35146
+ /** RoutingHint schemaGeneration. */
35147
+ public schemaGeneration: (Uint8Array|Buffer|string);
35148
+
35149
+ /** RoutingHint key. */
35150
+ public key: (Uint8Array|Buffer|string);
35151
+
35152
+ /** RoutingHint limitKey. */
35153
+ public limitKey: (Uint8Array|Buffer|string);
35154
+
35155
+ /** RoutingHint groupUid. */
35156
+ public groupUid: (number|Long|string);
35157
+
35158
+ /** RoutingHint splitId. */
35159
+ public splitId: (number|Long|string);
35160
+
35161
+ /** RoutingHint tabletUid. */
35162
+ public tabletUid: (number|Long|string);
35163
+
35164
+ /** RoutingHint skippedTabletUid. */
35165
+ public skippedTabletUid: google.spanner.v1.RoutingHint.ISkippedTablet[];
35166
+
35167
+ /** RoutingHint clientLocation. */
35168
+ public clientLocation: string;
35169
+
35170
+ /**
35171
+ * Creates a new RoutingHint instance using the specified properties.
35172
+ * @param [properties] Properties to set
35173
+ * @returns RoutingHint instance
35174
+ */
35175
+ public static create(properties?: google.spanner.v1.IRoutingHint): google.spanner.v1.RoutingHint;
35176
+
35177
+ /**
35178
+ * Encodes the specified RoutingHint message. Does not implicitly {@link google.spanner.v1.RoutingHint.verify|verify} messages.
35179
+ * @param message RoutingHint message or plain object to encode
35180
+ * @param [writer] Writer to encode to
35181
+ * @returns Writer
35182
+ */
35183
+ public static encode(message: google.spanner.v1.IRoutingHint, writer?: $protobuf.Writer): $protobuf.Writer;
35184
+
35185
+ /**
35186
+ * Encodes the specified RoutingHint message, length delimited. Does not implicitly {@link google.spanner.v1.RoutingHint.verify|verify} messages.
35187
+ * @param message RoutingHint message or plain object to encode
35188
+ * @param [writer] Writer to encode to
35189
+ * @returns Writer
35190
+ */
35191
+ public static encodeDelimited(message: google.spanner.v1.IRoutingHint, writer?: $protobuf.Writer): $protobuf.Writer;
35192
+
35193
+ /**
35194
+ * Decodes a RoutingHint message from the specified reader or buffer.
35195
+ * @param reader Reader or buffer to decode from
35196
+ * @param [length] Message length if known beforehand
35197
+ * @returns RoutingHint
35198
+ * @throws {Error} If the payload is not a reader or valid buffer
35199
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35200
+ */
35201
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.RoutingHint;
35202
+
35203
+ /**
35204
+ * Decodes a RoutingHint message from the specified reader or buffer, length delimited.
35205
+ * @param reader Reader or buffer to decode from
35206
+ * @returns RoutingHint
35207
+ * @throws {Error} If the payload is not a reader or valid buffer
35208
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35209
+ */
35210
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.RoutingHint;
35211
+
35212
+ /**
35213
+ * Verifies a RoutingHint message.
35214
+ * @param message Plain object to verify
35215
+ * @returns `null` if valid, otherwise the reason why it is not
35216
+ */
35217
+ public static verify(message: { [k: string]: any }): (string|null);
35218
+
35219
+ /**
35220
+ * Creates a RoutingHint message from a plain object. Also converts values to their respective internal types.
35221
+ * @param object Plain object
35222
+ * @returns RoutingHint
35223
+ */
35224
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.RoutingHint;
35225
+
35226
+ /**
35227
+ * Creates a plain object from a RoutingHint message. Also converts values to other types if specified.
35228
+ * @param message RoutingHint
35229
+ * @param [options] Conversion options
35230
+ * @returns Plain object
35231
+ */
35232
+ public static toObject(message: google.spanner.v1.RoutingHint, options?: $protobuf.IConversionOptions): { [k: string]: any };
35233
+
35234
+ /**
35235
+ * Converts this RoutingHint to JSON.
35236
+ * @returns JSON object
35237
+ */
35238
+ public toJSON(): { [k: string]: any };
35239
+
35240
+ /**
35241
+ * Gets the default type url for RoutingHint
35242
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
35243
+ * @returns The default type url
35244
+ */
35245
+ public static getTypeUrl(typeUrlPrefix?: string): string;
35246
+ }
35247
+
35248
+ namespace RoutingHint {
35249
+
35250
+ /** Properties of a SkippedTablet. */
35251
+ interface ISkippedTablet {
35252
+
35253
+ /** SkippedTablet tabletUid */
35254
+ tabletUid?: (number|Long|string|null);
35255
+
35256
+ /** SkippedTablet incarnation */
35257
+ incarnation?: (Uint8Array|Buffer|string|null);
35258
+ }
35259
+
35260
+ /** Represents a SkippedTablet. */
35261
+ class SkippedTablet implements ISkippedTablet {
35262
+
35263
+ /**
35264
+ * Constructs a new SkippedTablet.
35265
+ * @param [properties] Properties to set
35266
+ */
35267
+ constructor(properties?: google.spanner.v1.RoutingHint.ISkippedTablet);
35268
+
35269
+ /** SkippedTablet tabletUid. */
35270
+ public tabletUid: (number|Long|string);
35271
+
35272
+ /** SkippedTablet incarnation. */
35273
+ public incarnation: (Uint8Array|Buffer|string);
35274
+
35275
+ /**
35276
+ * Creates a new SkippedTablet instance using the specified properties.
35277
+ * @param [properties] Properties to set
35278
+ * @returns SkippedTablet instance
35279
+ */
35280
+ public static create(properties?: google.spanner.v1.RoutingHint.ISkippedTablet): google.spanner.v1.RoutingHint.SkippedTablet;
35281
+
35282
+ /**
35283
+ * Encodes the specified SkippedTablet message. Does not implicitly {@link google.spanner.v1.RoutingHint.SkippedTablet.verify|verify} messages.
35284
+ * @param message SkippedTablet message or plain object to encode
35285
+ * @param [writer] Writer to encode to
35286
+ * @returns Writer
35287
+ */
35288
+ public static encode(message: google.spanner.v1.RoutingHint.ISkippedTablet, writer?: $protobuf.Writer): $protobuf.Writer;
35289
+
35290
+ /**
35291
+ * Encodes the specified SkippedTablet message, length delimited. Does not implicitly {@link google.spanner.v1.RoutingHint.SkippedTablet.verify|verify} messages.
35292
+ * @param message SkippedTablet message or plain object to encode
35293
+ * @param [writer] Writer to encode to
35294
+ * @returns Writer
35295
+ */
35296
+ public static encodeDelimited(message: google.spanner.v1.RoutingHint.ISkippedTablet, writer?: $protobuf.Writer): $protobuf.Writer;
35297
+
35298
+ /**
35299
+ * Decodes a SkippedTablet message from the specified reader or buffer.
35300
+ * @param reader Reader or buffer to decode from
35301
+ * @param [length] Message length if known beforehand
35302
+ * @returns SkippedTablet
35303
+ * @throws {Error} If the payload is not a reader or valid buffer
35304
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35305
+ */
35306
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.RoutingHint.SkippedTablet;
35307
+
35308
+ /**
35309
+ * Decodes a SkippedTablet message from the specified reader or buffer, length delimited.
35310
+ * @param reader Reader or buffer to decode from
35311
+ * @returns SkippedTablet
35312
+ * @throws {Error} If the payload is not a reader or valid buffer
35313
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35314
+ */
35315
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.RoutingHint.SkippedTablet;
35316
+
35317
+ /**
35318
+ * Verifies a SkippedTablet message.
35319
+ * @param message Plain object to verify
35320
+ * @returns `null` if valid, otherwise the reason why it is not
35321
+ */
35322
+ public static verify(message: { [k: string]: any }): (string|null);
35323
+
35324
+ /**
35325
+ * Creates a SkippedTablet message from a plain object. Also converts values to their respective internal types.
35326
+ * @param object Plain object
35327
+ * @returns SkippedTablet
35328
+ */
35329
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.RoutingHint.SkippedTablet;
35330
+
35331
+ /**
35332
+ * Creates a plain object from a SkippedTablet message. Also converts values to other types if specified.
35333
+ * @param message SkippedTablet
35334
+ * @param [options] Conversion options
35335
+ * @returns Plain object
35336
+ */
35337
+ public static toObject(message: google.spanner.v1.RoutingHint.SkippedTablet, options?: $protobuf.IConversionOptions): { [k: string]: any };
35338
+
35339
+ /**
35340
+ * Converts this SkippedTablet to JSON.
35341
+ * @returns JSON object
35342
+ */
35343
+ public toJSON(): { [k: string]: any };
35344
+
35345
+ /**
35346
+ * Gets the default type url for SkippedTablet
35347
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
35348
+ * @returns The default type url
35349
+ */
35350
+ public static getTypeUrl(typeUrlPrefix?: string): string;
35351
+ }
35352
+ }
35353
+
35354
+ /** Properties of a Type. */
35355
+ interface IType {
35356
+
35357
+ /** Type code */
35358
+ code?: (google.spanner.v1.TypeCode|keyof typeof google.spanner.v1.TypeCode|null);
35359
+
35360
+ /** Type arrayElementType */
35361
+ arrayElementType?: (google.spanner.v1.IType|null);
35362
+
35363
+ /** Type structType */
35364
+ structType?: (google.spanner.v1.IStructType|null);
35365
+
35366
+ /** Type typeAnnotation */
35367
+ typeAnnotation?: (google.spanner.v1.TypeAnnotationCode|keyof typeof google.spanner.v1.TypeAnnotationCode|null);
35368
+
35369
+ /** Type protoTypeFqn */
35370
+ protoTypeFqn?: (string|null);
35371
+ }
35372
+
35373
+ /** Represents a Type. */
35374
+ class Type implements IType {
35375
+
35376
+ /**
35377
+ * Constructs a new Type.
35378
+ * @param [properties] Properties to set
35379
+ */
35380
+ constructor(properties?: google.spanner.v1.IType);
35381
+
35382
+ /** Type code. */
35383
+ public code: (google.spanner.v1.TypeCode|keyof typeof google.spanner.v1.TypeCode);
35384
+
35385
+ /** Type arrayElementType. */
35386
+ public arrayElementType?: (google.spanner.v1.IType|null);
35387
+
35388
+ /** Type structType. */
35389
+ public structType?: (google.spanner.v1.IStructType|null);
35390
+
35391
+ /** Type typeAnnotation. */
35392
+ public typeAnnotation: (google.spanner.v1.TypeAnnotationCode|keyof typeof google.spanner.v1.TypeAnnotationCode);
35393
+
35394
+ /** Type protoTypeFqn. */
35395
+ public protoTypeFqn: string;
35396
+
35397
+ /**
35398
+ * Creates a new Type instance using the specified properties.
35399
+ * @param [properties] Properties to set
35400
+ * @returns Type instance
35401
+ */
35402
+ public static create(properties?: google.spanner.v1.IType): google.spanner.v1.Type;
35403
+
35404
+ /**
35405
+ * Encodes the specified Type message. Does not implicitly {@link google.spanner.v1.Type.verify|verify} messages.
35406
+ * @param message Type message or plain object to encode
35407
+ * @param [writer] Writer to encode to
35408
+ * @returns Writer
35409
+ */
35410
+ public static encode(message: google.spanner.v1.IType, writer?: $protobuf.Writer): $protobuf.Writer;
35411
+
35412
+ /**
35413
+ * Encodes the specified Type message, length delimited. Does not implicitly {@link google.spanner.v1.Type.verify|verify} messages.
35414
+ * @param message Type message or plain object to encode
35415
+ * @param [writer] Writer to encode to
35416
+ * @returns Writer
35417
+ */
35418
+ public static encodeDelimited(message: google.spanner.v1.IType, writer?: $protobuf.Writer): $protobuf.Writer;
35419
+
35420
+ /**
35421
+ * Decodes a Type message from the specified reader or buffer.
35422
+ * @param reader Reader or buffer to decode from
35423
+ * @param [length] Message length if known beforehand
35424
+ * @returns Type
35425
+ * @throws {Error} If the payload is not a reader or valid buffer
35426
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35427
+ */
35428
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.Type;
35429
+
35430
+ /**
35431
+ * Decodes a Type message from the specified reader or buffer, length delimited.
35432
+ * @param reader Reader or buffer to decode from
35433
+ * @returns Type
35434
+ * @throws {Error} If the payload is not a reader or valid buffer
35435
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35436
+ */
35437
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.Type;
35438
+
35439
+ /**
35440
+ * Verifies a Type message.
35441
+ * @param message Plain object to verify
35442
+ * @returns `null` if valid, otherwise the reason why it is not
35443
+ */
35444
+ public static verify(message: { [k: string]: any }): (string|null);
35445
+
35446
+ /**
35447
+ * Creates a Type message from a plain object. Also converts values to their respective internal types.
35448
+ * @param object Plain object
35449
+ * @returns Type
35450
+ */
35451
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.Type;
35452
+
35453
+ /**
35454
+ * Creates a plain object from a Type message. Also converts values to other types if specified.
35455
+ * @param message Type
35456
+ * @param [options] Conversion options
35457
+ * @returns Plain object
35458
+ */
35459
+ public static toObject(message: google.spanner.v1.Type, options?: $protobuf.IConversionOptions): { [k: string]: any };
35460
+
35461
+ /**
35462
+ * Converts this Type to JSON.
35463
+ * @returns JSON object
35464
+ */
35465
+ public toJSON(): { [k: string]: any };
35466
+
35467
+ /**
35468
+ * Gets the default type url for Type
35469
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
35470
+ * @returns The default type url
35471
+ */
35472
+ public static getTypeUrl(typeUrlPrefix?: string): string;
35473
+ }
35474
+
35475
+ /** Properties of a StructType. */
35476
+ interface IStructType {
35477
+
35478
+ /** StructType fields */
35479
+ fields?: (google.spanner.v1.StructType.IField[]|null);
35480
+ }
35481
+
35482
+ /** Represents a StructType. */
35483
+ class StructType implements IStructType {
35484
+
35485
+ /**
35486
+ * Constructs a new StructType.
35487
+ * @param [properties] Properties to set
35488
+ */
35489
+ constructor(properties?: google.spanner.v1.IStructType);
35490
+
35491
+ /** StructType fields. */
35492
+ public fields: google.spanner.v1.StructType.IField[];
35493
+
35494
+ /**
35495
+ * Creates a new StructType instance using the specified properties.
35496
+ * @param [properties] Properties to set
35497
+ * @returns StructType instance
35498
+ */
35499
+ public static create(properties?: google.spanner.v1.IStructType): google.spanner.v1.StructType;
35500
+
35501
+ /**
35502
+ * Encodes the specified StructType message. Does not implicitly {@link google.spanner.v1.StructType.verify|verify} messages.
35503
+ * @param message StructType message or plain object to encode
35504
+ * @param [writer] Writer to encode to
35505
+ * @returns Writer
35506
+ */
35507
+ public static encode(message: google.spanner.v1.IStructType, writer?: $protobuf.Writer): $protobuf.Writer;
35508
+
35509
+ /**
35510
+ * Encodes the specified StructType message, length delimited. Does not implicitly {@link google.spanner.v1.StructType.verify|verify} messages.
35511
+ * @param message StructType message or plain object to encode
35512
+ * @param [writer] Writer to encode to
35513
+ * @returns Writer
35514
+ */
35515
+ public static encodeDelimited(message: google.spanner.v1.IStructType, writer?: $protobuf.Writer): $protobuf.Writer;
35516
+
35517
+ /**
35518
+ * Decodes a StructType message from the specified reader or buffer.
35519
+ * @param reader Reader or buffer to decode from
35520
+ * @param [length] Message length if known beforehand
35521
+ * @returns StructType
35522
+ * @throws {Error} If the payload is not a reader or valid buffer
35523
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35524
+ */
35525
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.StructType;
35526
+
35527
+ /**
35528
+ * Decodes a StructType message from the specified reader or buffer, length delimited.
35529
+ * @param reader Reader or buffer to decode from
35530
+ * @returns StructType
35531
+ * @throws {Error} If the payload is not a reader or valid buffer
35532
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35533
+ */
35534
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.StructType;
35535
+
35536
+ /**
35537
+ * Verifies a StructType message.
35538
+ * @param message Plain object to verify
35539
+ * @returns `null` if valid, otherwise the reason why it is not
35540
+ */
35541
+ public static verify(message: { [k: string]: any }): (string|null);
35542
+
35543
+ /**
35544
+ * Creates a StructType message from a plain object. Also converts values to their respective internal types.
35545
+ * @param object Plain object
35546
+ * @returns StructType
35547
+ */
35548
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.StructType;
35549
+
35550
+ /**
35551
+ * Creates a plain object from a StructType message. Also converts values to other types if specified.
35552
+ * @param message StructType
35553
+ * @param [options] Conversion options
35554
+ * @returns Plain object
35555
+ */
35556
+ public static toObject(message: google.spanner.v1.StructType, options?: $protobuf.IConversionOptions): { [k: string]: any };
35557
+
35558
+ /**
35559
+ * Converts this StructType to JSON.
35560
+ * @returns JSON object
35561
+ */
35562
+ public toJSON(): { [k: string]: any };
35563
+
35564
+ /**
35565
+ * Gets the default type url for StructType
35566
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
35567
+ * @returns The default type url
35568
+ */
35569
+ public static getTypeUrl(typeUrlPrefix?: string): string;
35570
+ }
35571
+
35572
+ namespace StructType {
35573
+
35574
+ /** Properties of a Field. */
35575
+ interface IField {
35576
+
35577
+ /** Field name */
35578
+ name?: (string|null);
35579
+
35580
+ /** Field type */
35581
+ type?: (google.spanner.v1.IType|null);
35582
+ }
35583
+
35584
+ /** Represents a Field. */
35585
+ class Field implements IField {
35586
+
35587
+ /**
35588
+ * Constructs a new Field.
35589
+ * @param [properties] Properties to set
35590
+ */
35591
+ constructor(properties?: google.spanner.v1.StructType.IField);
35592
+
35593
+ /** Field name. */
35594
+ public name: string;
35595
+
35596
+ /** Field type. */
35597
+ public type?: (google.spanner.v1.IType|null);
35598
+
35599
+ /**
35600
+ * Creates a new Field instance using the specified properties.
35601
+ * @param [properties] Properties to set
35602
+ * @returns Field instance
35603
+ */
35604
+ public static create(properties?: google.spanner.v1.StructType.IField): google.spanner.v1.StructType.Field;
35605
+
35606
+ /**
35607
+ * Encodes the specified Field message. Does not implicitly {@link google.spanner.v1.StructType.Field.verify|verify} messages.
35608
+ * @param message Field message or plain object to encode
35609
+ * @param [writer] Writer to encode to
35610
+ * @returns Writer
35611
+ */
35612
+ public static encode(message: google.spanner.v1.StructType.IField, writer?: $protobuf.Writer): $protobuf.Writer;
35613
+
35614
+ /**
35615
+ * Encodes the specified Field message, length delimited. Does not implicitly {@link google.spanner.v1.StructType.Field.verify|verify} messages.
35616
+ * @param message Field message or plain object to encode
35617
+ * @param [writer] Writer to encode to
35618
+ * @returns Writer
35619
+ */
35620
+ public static encodeDelimited(message: google.spanner.v1.StructType.IField, writer?: $protobuf.Writer): $protobuf.Writer;
35621
+
35622
+ /**
35623
+ * Decodes a Field message from the specified reader or buffer.
35624
+ * @param reader Reader or buffer to decode from
35625
+ * @param [length] Message length if known beforehand
35626
+ * @returns Field
35627
+ * @throws {Error} If the payload is not a reader or valid buffer
35628
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35629
+ */
35630
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.StructType.Field;
35631
+
35632
+ /**
35633
+ * Decodes a Field message from the specified reader or buffer, length delimited.
35634
+ * @param reader Reader or buffer to decode from
35635
+ * @returns Field
35636
+ * @throws {Error} If the payload is not a reader or valid buffer
35637
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35638
+ */
35639
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.StructType.Field;
35640
+
35641
+ /**
35642
+ * Verifies a Field message.
35643
+ * @param message Plain object to verify
35644
+ * @returns `null` if valid, otherwise the reason why it is not
35645
+ */
35646
+ public static verify(message: { [k: string]: any }): (string|null);
35647
+
35648
+ /**
35649
+ * Creates a Field message from a plain object. Also converts values to their respective internal types.
35650
+ * @param object Plain object
35651
+ * @returns Field
35652
+ */
35653
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.StructType.Field;
35654
+
35655
+ /**
35656
+ * Creates a plain object from a Field message. Also converts values to other types if specified.
35657
+ * @param message Field
35658
+ * @param [options] Conversion options
35659
+ * @returns Plain object
35660
+ */
35661
+ public static toObject(message: google.spanner.v1.StructType.Field, options?: $protobuf.IConversionOptions): { [k: string]: any };
35662
+
35663
+ /**
35664
+ * Converts this Field to JSON.
35665
+ * @returns JSON object
35666
+ */
35667
+ public toJSON(): { [k: string]: any };
35668
+
35669
+ /**
35670
+ * Gets the default type url for Field
35671
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
35672
+ * @returns The default type url
35673
+ */
35674
+ public static getTypeUrl(typeUrlPrefix?: string): string;
35675
+ }
35676
+ }
35677
+
35678
+ /** TypeCode enum. */
35679
+ enum TypeCode {
35680
+ TYPE_CODE_UNSPECIFIED = 0,
35681
+ BOOL = 1,
35682
+ INT64 = 2,
35683
+ FLOAT64 = 3,
35684
+ FLOAT32 = 15,
35685
+ TIMESTAMP = 4,
35686
+ DATE = 5,
35687
+ STRING = 6,
35688
+ BYTES = 7,
35689
+ ARRAY = 8,
35690
+ STRUCT = 9,
35691
+ NUMERIC = 10,
35692
+ JSON = 11,
35693
+ PROTO = 13,
35694
+ ENUM = 14,
35695
+ INTERVAL = 16,
35696
+ UUID = 17
35697
+ }
35698
+
35699
+ /** TypeAnnotationCode enum. */
35700
+ enum TypeAnnotationCode {
35701
+ TYPE_ANNOTATION_CODE_UNSPECIFIED = 0,
35702
+ PG_NUMERIC = 2,
35703
+ PG_JSONB = 3,
35704
+ PG_OID = 4
35705
+ }
35706
+
35707
+ /** Properties of a Mutation. */
35708
+ interface IMutation {
35709
+
35710
+ /** Mutation insert */
35711
+ insert?: (google.spanner.v1.Mutation.IWrite|null);
35712
+
35713
+ /** Mutation update */
35714
+ update?: (google.spanner.v1.Mutation.IWrite|null);
35715
+
35716
+ /** Mutation insertOrUpdate */
35717
+ insertOrUpdate?: (google.spanner.v1.Mutation.IWrite|null);
35718
+
35719
+ /** Mutation replace */
35720
+ replace?: (google.spanner.v1.Mutation.IWrite|null);
35721
+
35722
+ /** Mutation delete */
35723
+ "delete"?: (google.spanner.v1.Mutation.IDelete|null);
35724
+
35725
+ /** Mutation send */
35726
+ send?: (google.spanner.v1.Mutation.ISend|null);
35727
+
35728
+ /** Mutation ack */
35729
+ ack?: (google.spanner.v1.Mutation.IAck|null);
35730
+ }
35731
+
35732
+ /** Represents a Mutation. */
35733
+ class Mutation implements IMutation {
35734
+
35735
+ /**
35736
+ * Constructs a new Mutation.
35737
+ * @param [properties] Properties to set
35738
+ */
35739
+ constructor(properties?: google.spanner.v1.IMutation);
35740
+
35741
+ /** Mutation insert. */
35742
+ public insert?: (google.spanner.v1.Mutation.IWrite|null);
35743
+
35744
+ /** Mutation update. */
35745
+ public update?: (google.spanner.v1.Mutation.IWrite|null);
35746
+
35747
+ /** Mutation insertOrUpdate. */
35748
+ public insertOrUpdate?: (google.spanner.v1.Mutation.IWrite|null);
35749
+
35750
+ /** Mutation replace. */
35751
+ public replace?: (google.spanner.v1.Mutation.IWrite|null);
35752
+
35753
+ /** Mutation delete. */
35754
+ public delete?: (google.spanner.v1.Mutation.IDelete|null);
35755
+
35756
+ /** Mutation send. */
35757
+ public send?: (google.spanner.v1.Mutation.ISend|null);
35758
+
35759
+ /** Mutation ack. */
35760
+ public ack?: (google.spanner.v1.Mutation.IAck|null);
35761
+
35762
+ /** Mutation operation. */
35763
+ public operation?: ("insert"|"update"|"insertOrUpdate"|"replace"|"delete"|"send"|"ack");
35764
+
35765
+ /**
35766
+ * Creates a new Mutation instance using the specified properties.
35767
+ * @param [properties] Properties to set
35768
+ * @returns Mutation instance
35769
+ */
35770
+ public static create(properties?: google.spanner.v1.IMutation): google.spanner.v1.Mutation;
35771
+
35772
+ /**
35773
+ * Encodes the specified Mutation message. Does not implicitly {@link google.spanner.v1.Mutation.verify|verify} messages.
35774
+ * @param message Mutation message or plain object to encode
35775
+ * @param [writer] Writer to encode to
35776
+ * @returns Writer
35777
+ */
35778
+ public static encode(message: google.spanner.v1.IMutation, writer?: $protobuf.Writer): $protobuf.Writer;
35779
+
35780
+ /**
35781
+ * Encodes the specified Mutation message, length delimited. Does not implicitly {@link google.spanner.v1.Mutation.verify|verify} messages.
35782
+ * @param message Mutation message or plain object to encode
35783
+ * @param [writer] Writer to encode to
35784
+ * @returns Writer
35785
+ */
35786
+ public static encodeDelimited(message: google.spanner.v1.IMutation, writer?: $protobuf.Writer): $protobuf.Writer;
35787
+
35788
+ /**
35789
+ * Decodes a Mutation message from the specified reader or buffer.
35790
+ * @param reader Reader or buffer to decode from
35791
+ * @param [length] Message length if known beforehand
35792
+ * @returns Mutation
35793
+ * @throws {Error} If the payload is not a reader or valid buffer
35794
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35795
+ */
35796
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.Mutation;
35797
+
35798
+ /**
35799
+ * Decodes a Mutation message from the specified reader or buffer, length delimited.
35800
+ * @param reader Reader or buffer to decode from
35801
+ * @returns Mutation
35802
+ * @throws {Error} If the payload is not a reader or valid buffer
35803
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35804
+ */
35805
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.Mutation;
35806
+
35807
+ /**
35808
+ * Verifies a Mutation message.
35809
+ * @param message Plain object to verify
35810
+ * @returns `null` if valid, otherwise the reason why it is not
35811
+ */
35812
+ public static verify(message: { [k: string]: any }): (string|null);
35813
+
35814
+ /**
35815
+ * Creates a Mutation message from a plain object. Also converts values to their respective internal types.
35816
+ * @param object Plain object
35817
+ * @returns Mutation
35818
+ */
35819
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.Mutation;
35820
+
35821
+ /**
35822
+ * Creates a plain object from a Mutation message. Also converts values to other types if specified.
35823
+ * @param message Mutation
35824
+ * @param [options] Conversion options
35825
+ * @returns Plain object
35826
+ */
35827
+ public static toObject(message: google.spanner.v1.Mutation, options?: $protobuf.IConversionOptions): { [k: string]: any };
35828
+
35829
+ /**
35830
+ * Converts this Mutation to JSON.
35831
+ * @returns JSON object
35832
+ */
35833
+ public toJSON(): { [k: string]: any };
35834
+
35835
+ /**
35836
+ * Gets the default type url for Mutation
35837
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
35838
+ * @returns The default type url
35839
+ */
35840
+ public static getTypeUrl(typeUrlPrefix?: string): string;
35841
+ }
35842
+
35843
+ namespace Mutation {
35844
+
35845
+ /** Properties of a Write. */
35846
+ interface IWrite {
35847
+
35848
+ /** Write table */
35849
+ table?: (string|null);
35850
+
35851
+ /** Write columns */
35852
+ columns?: (string[]|null);
35853
+
35854
+ /** Write values */
35855
+ values?: (google.protobuf.IListValue[]|null);
35856
+ }
35857
+
35858
+ /** Represents a Write. */
35859
+ class Write implements IWrite {
35860
+
35861
+ /**
35862
+ * Constructs a new Write.
35863
+ * @param [properties] Properties to set
35864
+ */
35865
+ constructor(properties?: google.spanner.v1.Mutation.IWrite);
35866
+
35867
+ /** Write table. */
35868
+ public table: string;
35869
+
35870
+ /** Write columns. */
35871
+ public columns: string[];
35872
+
35873
+ /** Write values. */
35874
+ public values: google.protobuf.IListValue[];
35875
+
35876
+ /**
35877
+ * Creates a new Write instance using the specified properties.
35878
+ * @param [properties] Properties to set
35879
+ * @returns Write instance
35880
+ */
35881
+ public static create(properties?: google.spanner.v1.Mutation.IWrite): google.spanner.v1.Mutation.Write;
35882
+
35883
+ /**
35884
+ * Encodes the specified Write message. Does not implicitly {@link google.spanner.v1.Mutation.Write.verify|verify} messages.
35885
+ * @param message Write message or plain object to encode
35886
+ * @param [writer] Writer to encode to
35887
+ * @returns Writer
35888
+ */
35889
+ public static encode(message: google.spanner.v1.Mutation.IWrite, writer?: $protobuf.Writer): $protobuf.Writer;
35890
+
35891
+ /**
35892
+ * Encodes the specified Write message, length delimited. Does not implicitly {@link google.spanner.v1.Mutation.Write.verify|verify} messages.
35893
+ * @param message Write message or plain object to encode
35894
+ * @param [writer] Writer to encode to
35895
+ * @returns Writer
35896
+ */
35897
+ public static encodeDelimited(message: google.spanner.v1.Mutation.IWrite, writer?: $protobuf.Writer): $protobuf.Writer;
35898
+
35899
+ /**
35900
+ * Decodes a Write message from the specified reader or buffer.
35901
+ * @param reader Reader or buffer to decode from
35902
+ * @param [length] Message length if known beforehand
35903
+ * @returns Write
35904
+ * @throws {Error} If the payload is not a reader or valid buffer
35905
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35906
+ */
35907
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.Mutation.Write;
35908
+
35909
+ /**
35910
+ * Decodes a Write message from the specified reader or buffer, length delimited.
35911
+ * @param reader Reader or buffer to decode from
35912
+ * @returns Write
35913
+ * @throws {Error} If the payload is not a reader or valid buffer
35914
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35915
+ */
35916
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.Mutation.Write;
35917
+
35918
+ /**
35919
+ * Verifies a Write message.
35920
+ * @param message Plain object to verify
35921
+ * @returns `null` if valid, otherwise the reason why it is not
35922
+ */
35923
+ public static verify(message: { [k: string]: any }): (string|null);
35924
+
35925
+ /**
35926
+ * Creates a Write message from a plain object. Also converts values to their respective internal types.
35927
+ * @param object Plain object
35928
+ * @returns Write
35929
+ */
35930
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.Mutation.Write;
35931
+
35932
+ /**
35933
+ * Creates a plain object from a Write message. Also converts values to other types if specified.
35934
+ * @param message Write
35935
+ * @param [options] Conversion options
35936
+ * @returns Plain object
35937
+ */
35938
+ public static toObject(message: google.spanner.v1.Mutation.Write, options?: $protobuf.IConversionOptions): { [k: string]: any };
35939
+
35940
+ /**
35941
+ * Converts this Write to JSON.
35942
+ * @returns JSON object
35943
+ */
35944
+ public toJSON(): { [k: string]: any };
35945
+
35946
+ /**
35947
+ * Gets the default type url for Write
35948
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
35949
+ * @returns The default type url
35950
+ */
35951
+ public static getTypeUrl(typeUrlPrefix?: string): string;
35952
+ }
35953
+
35954
+ /** Properties of a Delete. */
35955
+ interface IDelete {
35956
+
35957
+ /** Delete table */
35958
+ table?: (string|null);
35959
+
35960
+ /** Delete keySet */
35961
+ keySet?: (google.spanner.v1.IKeySet|null);
35962
+ }
35963
+
35964
+ /** Represents a Delete. */
35965
+ class Delete implements IDelete {
35966
+
35967
+ /**
35968
+ * Constructs a new Delete.
35969
+ * @param [properties] Properties to set
35970
+ */
35971
+ constructor(properties?: google.spanner.v1.Mutation.IDelete);
35972
+
35973
+ /** Delete table. */
35974
+ public table: string;
35975
+
35976
+ /** Delete keySet. */
35977
+ public keySet?: (google.spanner.v1.IKeySet|null);
35978
+
35979
+ /**
35980
+ * Creates a new Delete instance using the specified properties.
35981
+ * @param [properties] Properties to set
35982
+ * @returns Delete instance
35983
+ */
35984
+ public static create(properties?: google.spanner.v1.Mutation.IDelete): google.spanner.v1.Mutation.Delete;
35985
+
35986
+ /**
35987
+ * Encodes the specified Delete message. Does not implicitly {@link google.spanner.v1.Mutation.Delete.verify|verify} messages.
35988
+ * @param message Delete message or plain object to encode
35989
+ * @param [writer] Writer to encode to
35990
+ * @returns Writer
35991
+ */
35992
+ public static encode(message: google.spanner.v1.Mutation.IDelete, writer?: $protobuf.Writer): $protobuf.Writer;
35993
+
35994
+ /**
35995
+ * Encodes the specified Delete message, length delimited. Does not implicitly {@link google.spanner.v1.Mutation.Delete.verify|verify} messages.
35996
+ * @param message Delete message or plain object to encode
35997
+ * @param [writer] Writer to encode to
35998
+ * @returns Writer
35999
+ */
36000
+ public static encodeDelimited(message: google.spanner.v1.Mutation.IDelete, writer?: $protobuf.Writer): $protobuf.Writer;
36001
+
36002
+ /**
36003
+ * Decodes a Delete message from the specified reader or buffer.
36004
+ * @param reader Reader or buffer to decode from
36005
+ * @param [length] Message length if known beforehand
36006
+ * @returns Delete
36007
+ * @throws {Error} If the payload is not a reader or valid buffer
36008
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
36009
+ */
36010
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.Mutation.Delete;
36011
+
36012
+ /**
36013
+ * Decodes a Delete message from the specified reader or buffer, length delimited.
36014
+ * @param reader Reader or buffer to decode from
36015
+ * @returns Delete
36016
+ * @throws {Error} If the payload is not a reader or valid buffer
36017
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
36018
+ */
36019
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.Mutation.Delete;
36020
+
36021
+ /**
36022
+ * Verifies a Delete message.
36023
+ * @param message Plain object to verify
36024
+ * @returns `null` if valid, otherwise the reason why it is not
36025
+ */
36026
+ public static verify(message: { [k: string]: any }): (string|null);
36027
+
36028
+ /**
36029
+ * Creates a Delete message from a plain object. Also converts values to their respective internal types.
36030
+ * @param object Plain object
36031
+ * @returns Delete
36032
+ */
36033
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.Mutation.Delete;
36034
+
36035
+ /**
36036
+ * Creates a plain object from a Delete message. Also converts values to other types if specified.
36037
+ * @param message Delete
36038
+ * @param [options] Conversion options
36039
+ * @returns Plain object
36040
+ */
36041
+ public static toObject(message: google.spanner.v1.Mutation.Delete, options?: $protobuf.IConversionOptions): { [k: string]: any };
36042
+
36043
+ /**
36044
+ * Converts this Delete to JSON.
36045
+ * @returns JSON object
36046
+ */
36047
+ public toJSON(): { [k: string]: any };
36048
+
36049
+ /**
36050
+ * Gets the default type url for Delete
36051
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
36052
+ * @returns The default type url
36053
+ */
36054
+ public static getTypeUrl(typeUrlPrefix?: string): string;
36055
+ }
36056
+
36057
+ /** Properties of a Send. */
36058
+ interface ISend {
36059
+
36060
+ /** Send queue */
36061
+ queue?: (string|null);
36062
+
36063
+ /** Send key */
36064
+ key?: (google.protobuf.IListValue|null);
36065
+
36066
+ /** Send deliverTime */
36067
+ deliverTime?: (google.protobuf.ITimestamp|null);
36068
+
36069
+ /** Send payload */
36070
+ payload?: (google.protobuf.IValue|null);
36071
+ }
36072
+
36073
+ /** Represents a Send. */
36074
+ class Send implements ISend {
36075
+
36076
+ /**
36077
+ * Constructs a new Send.
36078
+ * @param [properties] Properties to set
36079
+ */
36080
+ constructor(properties?: google.spanner.v1.Mutation.ISend);
36081
+
36082
+ /** Send queue. */
36083
+ public queue: string;
36084
+
36085
+ /** Send key. */
36086
+ public key?: (google.protobuf.IListValue|null);
36087
+
36088
+ /** Send deliverTime. */
36089
+ public deliverTime?: (google.protobuf.ITimestamp|null);
36090
+
36091
+ /** Send payload. */
36092
+ public payload?: (google.protobuf.IValue|null);
36093
+
36094
+ /**
36095
+ * Creates a new Send instance using the specified properties.
36096
+ * @param [properties] Properties to set
36097
+ * @returns Send instance
36098
+ */
36099
+ public static create(properties?: google.spanner.v1.Mutation.ISend): google.spanner.v1.Mutation.Send;
36100
+
36101
+ /**
36102
+ * Encodes the specified Send message. Does not implicitly {@link google.spanner.v1.Mutation.Send.verify|verify} messages.
36103
+ * @param message Send message or plain object to encode
36104
+ * @param [writer] Writer to encode to
36105
+ * @returns Writer
36106
+ */
36107
+ public static encode(message: google.spanner.v1.Mutation.ISend, writer?: $protobuf.Writer): $protobuf.Writer;
36108
+
36109
+ /**
36110
+ * Encodes the specified Send message, length delimited. Does not implicitly {@link google.spanner.v1.Mutation.Send.verify|verify} messages.
36111
+ * @param message Send message or plain object to encode
36112
+ * @param [writer] Writer to encode to
36113
+ * @returns Writer
36114
+ */
36115
+ public static encodeDelimited(message: google.spanner.v1.Mutation.ISend, writer?: $protobuf.Writer): $protobuf.Writer;
36116
+
36117
+ /**
36118
+ * Decodes a Send message from the specified reader or buffer.
36119
+ * @param reader Reader or buffer to decode from
36120
+ * @param [length] Message length if known beforehand
36121
+ * @returns Send
36122
+ * @throws {Error} If the payload is not a reader or valid buffer
36123
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
36124
+ */
36125
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.Mutation.Send;
36126
+
36127
+ /**
36128
+ * Decodes a Send message from the specified reader or buffer, length delimited.
36129
+ * @param reader Reader or buffer to decode from
36130
+ * @returns Send
36131
+ * @throws {Error} If the payload is not a reader or valid buffer
36132
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
36133
+ */
36134
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.Mutation.Send;
36135
+
36136
+ /**
36137
+ * Verifies a Send message.
36138
+ * @param message Plain object to verify
36139
+ * @returns `null` if valid, otherwise the reason why it is not
36140
+ */
36141
+ public static verify(message: { [k: string]: any }): (string|null);
36142
+
36143
+ /**
36144
+ * Creates a Send message from a plain object. Also converts values to their respective internal types.
36145
+ * @param object Plain object
36146
+ * @returns Send
36147
+ */
36148
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.Mutation.Send;
36149
+
36150
+ /**
36151
+ * Creates a plain object from a Send message. Also converts values to other types if specified.
36152
+ * @param message Send
36153
+ * @param [options] Conversion options
36154
+ * @returns Plain object
36155
+ */
36156
+ public static toObject(message: google.spanner.v1.Mutation.Send, options?: $protobuf.IConversionOptions): { [k: string]: any };
36157
+
36158
+ /**
36159
+ * Converts this Send to JSON.
36160
+ * @returns JSON object
36161
+ */
36162
+ public toJSON(): { [k: string]: any };
36163
+
36164
+ /**
36165
+ * Gets the default type url for Send
36166
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
36167
+ * @returns The default type url
36168
+ */
36169
+ public static getTypeUrl(typeUrlPrefix?: string): string;
36170
+ }
36171
+
36172
+ /** Properties of an Ack. */
36173
+ interface IAck {
36174
+
36175
+ /** Ack queue */
36176
+ queue?: (string|null);
36177
+
36178
+ /** Ack key */
36179
+ key?: (google.protobuf.IListValue|null);
36180
+
36181
+ /** Ack ignoreNotFound */
36182
+ ignoreNotFound?: (boolean|null);
36183
+ }
36184
+
36185
+ /** Represents an Ack. */
36186
+ class Ack implements IAck {
36187
+
36188
+ /**
36189
+ * Constructs a new Ack.
36190
+ * @param [properties] Properties to set
36191
+ */
36192
+ constructor(properties?: google.spanner.v1.Mutation.IAck);
36193
+
36194
+ /** Ack queue. */
36195
+ public queue: string;
36196
+
36197
+ /** Ack key. */
36198
+ public key?: (google.protobuf.IListValue|null);
36199
+
36200
+ /** Ack ignoreNotFound. */
36201
+ public ignoreNotFound: boolean;
36202
+
36203
+ /**
36204
+ * Creates a new Ack instance using the specified properties.
36205
+ * @param [properties] Properties to set
36206
+ * @returns Ack instance
36207
+ */
36208
+ public static create(properties?: google.spanner.v1.Mutation.IAck): google.spanner.v1.Mutation.Ack;
36209
+
36210
+ /**
36211
+ * Encodes the specified Ack message. Does not implicitly {@link google.spanner.v1.Mutation.Ack.verify|verify} messages.
36212
+ * @param message Ack message or plain object to encode
36213
+ * @param [writer] Writer to encode to
36214
+ * @returns Writer
36215
+ */
36216
+ public static encode(message: google.spanner.v1.Mutation.IAck, writer?: $protobuf.Writer): $protobuf.Writer;
36217
+
36218
+ /**
36219
+ * Encodes the specified Ack message, length delimited. Does not implicitly {@link google.spanner.v1.Mutation.Ack.verify|verify} messages.
36220
+ * @param message Ack message or plain object to encode
36221
+ * @param [writer] Writer to encode to
36222
+ * @returns Writer
36223
+ */
36224
+ public static encodeDelimited(message: google.spanner.v1.Mutation.IAck, writer?: $protobuf.Writer): $protobuf.Writer;
36225
+
36226
+ /**
36227
+ * Decodes an Ack message from the specified reader or buffer.
36228
+ * @param reader Reader or buffer to decode from
36229
+ * @param [length] Message length if known beforehand
36230
+ * @returns Ack
36231
+ * @throws {Error} If the payload is not a reader or valid buffer
36232
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
36233
+ */
36234
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.Mutation.Ack;
36235
+
36236
+ /**
36237
+ * Decodes an Ack message from the specified reader or buffer, length delimited.
36238
+ * @param reader Reader or buffer to decode from
36239
+ * @returns Ack
36240
+ * @throws {Error} If the payload is not a reader or valid buffer
36241
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
36242
+ */
36243
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.Mutation.Ack;
36244
+
36245
+ /**
36246
+ * Verifies an Ack message.
36247
+ * @param message Plain object to verify
36248
+ * @returns `null` if valid, otherwise the reason why it is not
36249
+ */
36250
+ public static verify(message: { [k: string]: any }): (string|null);
36251
+
36252
+ /**
36253
+ * Creates an Ack message from a plain object. Also converts values to their respective internal types.
36254
+ * @param object Plain object
36255
+ * @returns Ack
36256
+ */
36257
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.Mutation.Ack;
36258
+
36259
+ /**
36260
+ * Creates a plain object from an Ack message. Also converts values to other types if specified.
36261
+ * @param message Ack
36262
+ * @param [options] Conversion options
36263
+ * @returns Plain object
36264
+ */
36265
+ public static toObject(message: google.spanner.v1.Mutation.Ack, options?: $protobuf.IConversionOptions): { [k: string]: any };
36266
+
36267
+ /**
36268
+ * Converts this Ack to JSON.
36269
+ * @returns JSON object
36270
+ */
36271
+ public toJSON(): { [k: string]: any };
36272
+
36273
+ /**
36274
+ * Gets the default type url for Ack
36275
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
36276
+ * @returns The default type url
36277
+ */
36278
+ public static getTypeUrl(typeUrlPrefix?: string): string;
36279
+ }
36280
+ }
36281
+
36282
+ /** Properties of a ResultSet. */
36283
+ interface IResultSet {
36284
+
36285
+ /** ResultSet metadata */
36286
+ metadata?: (google.spanner.v1.IResultSetMetadata|null);
36287
+
36288
+ /** ResultSet rows */
36289
+ rows?: (google.protobuf.IListValue[]|null);
36290
+
36291
+ /** ResultSet stats */
36292
+ stats?: (google.spanner.v1.IResultSetStats|null);
36293
+
36294
+ /** ResultSet precommitToken */
36295
+ precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
36296
+ }
36297
+
36298
+ /** Represents a ResultSet. */
36299
+ class ResultSet implements IResultSet {
36300
+
36301
+ /**
36302
+ * Constructs a new ResultSet.
36303
+ * @param [properties] Properties to set
36304
+ */
36305
+ constructor(properties?: google.spanner.v1.IResultSet);
36306
+
36307
+ /** ResultSet metadata. */
36308
+ public metadata?: (google.spanner.v1.IResultSetMetadata|null);
36309
+
36310
+ /** ResultSet rows. */
36311
+ public rows: google.protobuf.IListValue[];
36312
+
36313
+ /** ResultSet stats. */
36314
+ public stats?: (google.spanner.v1.IResultSetStats|null);
36315
+
36316
+ /** ResultSet precommitToken. */
36317
+ public precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
36318
+
36319
+ /**
36320
+ * Creates a new ResultSet instance using the specified properties.
36321
+ * @param [properties] Properties to set
36322
+ * @returns ResultSet instance
36323
+ */
36324
+ public static create(properties?: google.spanner.v1.IResultSet): google.spanner.v1.ResultSet;
36325
+
36326
+ /**
36327
+ * Encodes the specified ResultSet message. Does not implicitly {@link google.spanner.v1.ResultSet.verify|verify} messages.
36328
+ * @param message ResultSet message or plain object to encode
36329
+ * @param [writer] Writer to encode to
36330
+ * @returns Writer
36331
+ */
36332
+ public static encode(message: google.spanner.v1.IResultSet, writer?: $protobuf.Writer): $protobuf.Writer;
36333
+
36334
+ /**
36335
+ * Encodes the specified ResultSet message, length delimited. Does not implicitly {@link google.spanner.v1.ResultSet.verify|verify} messages.
36336
+ * @param message ResultSet message or plain object to encode
36337
+ * @param [writer] Writer to encode to
36338
+ * @returns Writer
36339
+ */
36340
+ public static encodeDelimited(message: google.spanner.v1.IResultSet, writer?: $protobuf.Writer): $protobuf.Writer;
36341
+
36342
+ /**
36343
+ * Decodes a ResultSet message from the specified reader or buffer.
36344
+ * @param reader Reader or buffer to decode from
36345
+ * @param [length] Message length if known beforehand
36346
+ * @returns ResultSet
36347
+ * @throws {Error} If the payload is not a reader or valid buffer
36348
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
36349
+ */
36350
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.ResultSet;
36351
+
36352
+ /**
36353
+ * Decodes a ResultSet message from the specified reader or buffer, length delimited.
36354
+ * @param reader Reader or buffer to decode from
36355
+ * @returns ResultSet
36356
+ * @throws {Error} If the payload is not a reader or valid buffer
36357
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
36358
+ */
36359
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.ResultSet;
36360
+
36361
+ /**
36362
+ * Verifies a ResultSet message.
36363
+ * @param message Plain object to verify
36364
+ * @returns `null` if valid, otherwise the reason why it is not
36365
+ */
36366
+ public static verify(message: { [k: string]: any }): (string|null);
36367
+
36368
+ /**
36369
+ * Creates a ResultSet message from a plain object. Also converts values to their respective internal types.
36370
+ * @param object Plain object
36371
+ * @returns ResultSet
36372
+ */
36373
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.ResultSet;
36374
+
36375
+ /**
36376
+ * Creates a plain object from a ResultSet message. Also converts values to other types if specified.
36377
+ * @param message ResultSet
36378
+ * @param [options] Conversion options
36379
+ * @returns Plain object
36380
+ */
36381
+ public static toObject(message: google.spanner.v1.ResultSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
36382
+
36383
+ /**
36384
+ * Converts this ResultSet to JSON.
36385
+ * @returns JSON object
36386
+ */
36387
+ public toJSON(): { [k: string]: any };
36388
+
36389
+ /**
36390
+ * Gets the default type url for ResultSet
36391
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
36392
+ * @returns The default type url
36393
+ */
36394
+ public static getTypeUrl(typeUrlPrefix?: string): string;
36395
+ }
36396
+
36397
+ /** Properties of a PartialResultSet. */
36398
+ interface IPartialResultSet {
36399
+
36400
+ /** PartialResultSet metadata */
36401
+ metadata?: (google.spanner.v1.IResultSetMetadata|null);
36402
+
36403
+ /** PartialResultSet values */
36404
+ values?: (google.protobuf.IValue[]|null);
36405
+
36406
+ /** PartialResultSet chunkedValue */
36407
+ chunkedValue?: (boolean|null);
36408
+
36409
+ /** PartialResultSet resumeToken */
36410
+ resumeToken?: (Uint8Array|Buffer|string|null);
36411
+
36412
+ /** PartialResultSet stats */
36413
+ stats?: (google.spanner.v1.IResultSetStats|null);
36414
+
36415
+ /** PartialResultSet precommitToken */
36416
+ precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
36417
+
36418
+ /** PartialResultSet last */
36419
+ last?: (boolean|null);
36420
+
36421
+ /** PartialResultSet cacheUpdate */
36422
+ cacheUpdate?: (google.spanner.v1.ICacheUpdate|null);
36423
+ }
36424
+
36425
+ /** Represents a PartialResultSet. */
36426
+ class PartialResultSet implements IPartialResultSet {
36427
+
36428
+ /**
36429
+ * Constructs a new PartialResultSet.
36430
+ * @param [properties] Properties to set
36431
+ */
36432
+ constructor(properties?: google.spanner.v1.IPartialResultSet);
36433
+
36434
+ /** PartialResultSet metadata. */
36435
+ public metadata?: (google.spanner.v1.IResultSetMetadata|null);
36436
+
36437
+ /** PartialResultSet values. */
36438
+ public values: google.protobuf.IValue[];
36439
+
36440
+ /** PartialResultSet chunkedValue. */
36441
+ public chunkedValue: boolean;
36442
+
36443
+ /** PartialResultSet resumeToken. */
36444
+ public resumeToken: (Uint8Array|Buffer|string);
36445
+
36446
+ /** PartialResultSet stats. */
36447
+ public stats?: (google.spanner.v1.IResultSetStats|null);
36448
+
36449
+ /** PartialResultSet precommitToken. */
36450
+ public precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
36451
+
36452
+ /** PartialResultSet last. */
36453
+ public last: boolean;
36454
+
36455
+ /** PartialResultSet cacheUpdate. */
36456
+ public cacheUpdate?: (google.spanner.v1.ICacheUpdate|null);
34588
36457
 
34589
36458
  /**
34590
36459
  * Creates a new PartialResultSet instance using the specified properties.
@@ -35246,456 +37115,312 @@ export namespace google {
35246
37115
  }
35247
37116
  }
35248
37117
 
35249
- /** Properties of a QueryPlan. */
35250
- interface IQueryPlan {
37118
+ /** Properties of a QueryAdvisorResult. */
37119
+ interface IQueryAdvisorResult {
35251
37120
 
35252
- /** QueryPlan planNodes */
35253
- planNodes?: (google.spanner.v1.IPlanNode[]|null);
37121
+ /** QueryAdvisorResult indexAdvice */
37122
+ indexAdvice?: (google.spanner.v1.QueryAdvisorResult.IIndexAdvice[]|null);
35254
37123
  }
35255
37124
 
35256
- /** Represents a QueryPlan. */
35257
- class QueryPlan implements IQueryPlan {
37125
+ /** Represents a QueryAdvisorResult. */
37126
+ class QueryAdvisorResult implements IQueryAdvisorResult {
35258
37127
 
35259
37128
  /**
35260
- * Constructs a new QueryPlan.
37129
+ * Constructs a new QueryAdvisorResult.
35261
37130
  * @param [properties] Properties to set
35262
37131
  */
35263
- constructor(properties?: google.spanner.v1.IQueryPlan);
37132
+ constructor(properties?: google.spanner.v1.IQueryAdvisorResult);
35264
37133
 
35265
- /** QueryPlan planNodes. */
35266
- public planNodes: google.spanner.v1.IPlanNode[];
37134
+ /** QueryAdvisorResult indexAdvice. */
37135
+ public indexAdvice: google.spanner.v1.QueryAdvisorResult.IIndexAdvice[];
35267
37136
 
35268
37137
  /**
35269
- * Creates a new QueryPlan instance using the specified properties.
37138
+ * Creates a new QueryAdvisorResult instance using the specified properties.
35270
37139
  * @param [properties] Properties to set
35271
- * @returns QueryPlan instance
37140
+ * @returns QueryAdvisorResult instance
35272
37141
  */
35273
- public static create(properties?: google.spanner.v1.IQueryPlan): google.spanner.v1.QueryPlan;
37142
+ public static create(properties?: google.spanner.v1.IQueryAdvisorResult): google.spanner.v1.QueryAdvisorResult;
35274
37143
 
35275
37144
  /**
35276
- * Encodes the specified QueryPlan message. Does not implicitly {@link google.spanner.v1.QueryPlan.verify|verify} messages.
35277
- * @param message QueryPlan message or plain object to encode
37145
+ * Encodes the specified QueryAdvisorResult message. Does not implicitly {@link google.spanner.v1.QueryAdvisorResult.verify|verify} messages.
37146
+ * @param message QueryAdvisorResult message or plain object to encode
35278
37147
  * @param [writer] Writer to encode to
35279
37148
  * @returns Writer
35280
37149
  */
35281
- public static encode(message: google.spanner.v1.IQueryPlan, writer?: $protobuf.Writer): $protobuf.Writer;
37150
+ public static encode(message: google.spanner.v1.IQueryAdvisorResult, writer?: $protobuf.Writer): $protobuf.Writer;
35282
37151
 
35283
37152
  /**
35284
- * Encodes the specified QueryPlan message, length delimited. Does not implicitly {@link google.spanner.v1.QueryPlan.verify|verify} messages.
35285
- * @param message QueryPlan message or plain object to encode
37153
+ * Encodes the specified QueryAdvisorResult message, length delimited. Does not implicitly {@link google.spanner.v1.QueryAdvisorResult.verify|verify} messages.
37154
+ * @param message QueryAdvisorResult message or plain object to encode
35286
37155
  * @param [writer] Writer to encode to
35287
37156
  * @returns Writer
35288
37157
  */
35289
- public static encodeDelimited(message: google.spanner.v1.IQueryPlan, writer?: $protobuf.Writer): $protobuf.Writer;
37158
+ public static encodeDelimited(message: google.spanner.v1.IQueryAdvisorResult, writer?: $protobuf.Writer): $protobuf.Writer;
35290
37159
 
35291
37160
  /**
35292
- * Decodes a QueryPlan message from the specified reader or buffer.
37161
+ * Decodes a QueryAdvisorResult message from the specified reader or buffer.
35293
37162
  * @param reader Reader or buffer to decode from
35294
37163
  * @param [length] Message length if known beforehand
35295
- * @returns QueryPlan
37164
+ * @returns QueryAdvisorResult
35296
37165
  * @throws {Error} If the payload is not a reader or valid buffer
35297
37166
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
35298
37167
  */
35299
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.QueryPlan;
37168
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.QueryAdvisorResult;
35300
37169
 
35301
37170
  /**
35302
- * Decodes a QueryPlan message from the specified reader or buffer, length delimited.
37171
+ * Decodes a QueryAdvisorResult message from the specified reader or buffer, length delimited.
35303
37172
  * @param reader Reader or buffer to decode from
35304
- * @returns QueryPlan
37173
+ * @returns QueryAdvisorResult
35305
37174
  * @throws {Error} If the payload is not a reader or valid buffer
35306
37175
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
35307
37176
  */
35308
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.QueryPlan;
37177
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.QueryAdvisorResult;
35309
37178
 
35310
37179
  /**
35311
- * Verifies a QueryPlan message.
37180
+ * Verifies a QueryAdvisorResult message.
35312
37181
  * @param message Plain object to verify
35313
37182
  * @returns `null` if valid, otherwise the reason why it is not
35314
37183
  */
35315
37184
  public static verify(message: { [k: string]: any }): (string|null);
35316
37185
 
35317
37186
  /**
35318
- * Creates a QueryPlan message from a plain object. Also converts values to their respective internal types.
37187
+ * Creates a QueryAdvisorResult message from a plain object. Also converts values to their respective internal types.
35319
37188
  * @param object Plain object
35320
- * @returns QueryPlan
37189
+ * @returns QueryAdvisorResult
35321
37190
  */
35322
- public static fromObject(object: { [k: string]: any }): google.spanner.v1.QueryPlan;
37191
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.QueryAdvisorResult;
35323
37192
 
35324
37193
  /**
35325
- * Creates a plain object from a QueryPlan message. Also converts values to other types if specified.
35326
- * @param message QueryPlan
37194
+ * Creates a plain object from a QueryAdvisorResult message. Also converts values to other types if specified.
37195
+ * @param message QueryAdvisorResult
35327
37196
  * @param [options] Conversion options
35328
37197
  * @returns Plain object
35329
37198
  */
35330
- public static toObject(message: google.spanner.v1.QueryPlan, options?: $protobuf.IConversionOptions): { [k: string]: any };
37199
+ public static toObject(message: google.spanner.v1.QueryAdvisorResult, options?: $protobuf.IConversionOptions): { [k: string]: any };
35331
37200
 
35332
37201
  /**
35333
- * Converts this QueryPlan to JSON.
37202
+ * Converts this QueryAdvisorResult to JSON.
35334
37203
  * @returns JSON object
35335
37204
  */
35336
37205
  public toJSON(): { [k: string]: any };
35337
37206
 
35338
37207
  /**
35339
- * Gets the default type url for QueryPlan
37208
+ * Gets the default type url for QueryAdvisorResult
35340
37209
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
35341
37210
  * @returns The default type url
35342
37211
  */
35343
37212
  public static getTypeUrl(typeUrlPrefix?: string): string;
35344
37213
  }
35345
37214
 
35346
- /** Properties of a Type. */
35347
- interface IType {
35348
-
35349
- /** Type code */
35350
- code?: (google.spanner.v1.TypeCode|keyof typeof google.spanner.v1.TypeCode|null);
35351
-
35352
- /** Type arrayElementType */
35353
- arrayElementType?: (google.spanner.v1.IType|null);
35354
-
35355
- /** Type structType */
35356
- structType?: (google.spanner.v1.IStructType|null);
35357
-
35358
- /** Type typeAnnotation */
35359
- typeAnnotation?: (google.spanner.v1.TypeAnnotationCode|keyof typeof google.spanner.v1.TypeAnnotationCode|null);
35360
-
35361
- /** Type protoTypeFqn */
35362
- protoTypeFqn?: (string|null);
35363
- }
37215
+ namespace QueryAdvisorResult {
35364
37216
 
35365
- /** Represents a Type. */
35366
- class Type implements IType {
37217
+ /** Properties of an IndexAdvice. */
37218
+ interface IIndexAdvice {
35367
37219
 
35368
- /**
35369
- * Constructs a new Type.
35370
- * @param [properties] Properties to set
35371
- */
35372
- constructor(properties?: google.spanner.v1.IType);
37220
+ /** IndexAdvice ddl */
37221
+ ddl?: (string[]|null);
35373
37222
 
35374
- /** Type code. */
35375
- public code: (google.spanner.v1.TypeCode|keyof typeof google.spanner.v1.TypeCode);
37223
+ /** IndexAdvice improvementFactor */
37224
+ improvementFactor?: (number|null);
37225
+ }
35376
37226
 
35377
- /** Type arrayElementType. */
35378
- public arrayElementType?: (google.spanner.v1.IType|null);
37227
+ /** Represents an IndexAdvice. */
37228
+ class IndexAdvice implements IIndexAdvice {
35379
37229
 
35380
- /** Type structType. */
35381
- public structType?: (google.spanner.v1.IStructType|null);
37230
+ /**
37231
+ * Constructs a new IndexAdvice.
37232
+ * @param [properties] Properties to set
37233
+ */
37234
+ constructor(properties?: google.spanner.v1.QueryAdvisorResult.IIndexAdvice);
35382
37235
 
35383
- /** Type typeAnnotation. */
35384
- public typeAnnotation: (google.spanner.v1.TypeAnnotationCode|keyof typeof google.spanner.v1.TypeAnnotationCode);
37236
+ /** IndexAdvice ddl. */
37237
+ public ddl: string[];
35385
37238
 
35386
- /** Type protoTypeFqn. */
35387
- public protoTypeFqn: string;
37239
+ /** IndexAdvice improvementFactor. */
37240
+ public improvementFactor: number;
35388
37241
 
35389
- /**
35390
- * Creates a new Type instance using the specified properties.
35391
- * @param [properties] Properties to set
35392
- * @returns Type instance
35393
- */
35394
- public static create(properties?: google.spanner.v1.IType): google.spanner.v1.Type;
37242
+ /**
37243
+ * Creates a new IndexAdvice instance using the specified properties.
37244
+ * @param [properties] Properties to set
37245
+ * @returns IndexAdvice instance
37246
+ */
37247
+ public static create(properties?: google.spanner.v1.QueryAdvisorResult.IIndexAdvice): google.spanner.v1.QueryAdvisorResult.IndexAdvice;
35395
37248
 
35396
- /**
35397
- * Encodes the specified Type message. Does not implicitly {@link google.spanner.v1.Type.verify|verify} messages.
35398
- * @param message Type message or plain object to encode
35399
- * @param [writer] Writer to encode to
35400
- * @returns Writer
35401
- */
35402
- public static encode(message: google.spanner.v1.IType, writer?: $protobuf.Writer): $protobuf.Writer;
37249
+ /**
37250
+ * Encodes the specified IndexAdvice message. Does not implicitly {@link google.spanner.v1.QueryAdvisorResult.IndexAdvice.verify|verify} messages.
37251
+ * @param message IndexAdvice message or plain object to encode
37252
+ * @param [writer] Writer to encode to
37253
+ * @returns Writer
37254
+ */
37255
+ public static encode(message: google.spanner.v1.QueryAdvisorResult.IIndexAdvice, writer?: $protobuf.Writer): $protobuf.Writer;
35403
37256
 
35404
- /**
35405
- * Encodes the specified Type message, length delimited. Does not implicitly {@link google.spanner.v1.Type.verify|verify} messages.
35406
- * @param message Type message or plain object to encode
35407
- * @param [writer] Writer to encode to
35408
- * @returns Writer
35409
- */
35410
- public static encodeDelimited(message: google.spanner.v1.IType, writer?: $protobuf.Writer): $protobuf.Writer;
37257
+ /**
37258
+ * Encodes the specified IndexAdvice message, length delimited. Does not implicitly {@link google.spanner.v1.QueryAdvisorResult.IndexAdvice.verify|verify} messages.
37259
+ * @param message IndexAdvice message or plain object to encode
37260
+ * @param [writer] Writer to encode to
37261
+ * @returns Writer
37262
+ */
37263
+ public static encodeDelimited(message: google.spanner.v1.QueryAdvisorResult.IIndexAdvice, writer?: $protobuf.Writer): $protobuf.Writer;
35411
37264
 
35412
- /**
35413
- * Decodes a Type message from the specified reader or buffer.
35414
- * @param reader Reader or buffer to decode from
35415
- * @param [length] Message length if known beforehand
35416
- * @returns Type
35417
- * @throws {Error} If the payload is not a reader or valid buffer
35418
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
35419
- */
35420
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.Type;
37265
+ /**
37266
+ * Decodes an IndexAdvice message from the specified reader or buffer.
37267
+ * @param reader Reader or buffer to decode from
37268
+ * @param [length] Message length if known beforehand
37269
+ * @returns IndexAdvice
37270
+ * @throws {Error} If the payload is not a reader or valid buffer
37271
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
37272
+ */
37273
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.QueryAdvisorResult.IndexAdvice;
35421
37274
 
35422
- /**
35423
- * Decodes a Type message from the specified reader or buffer, length delimited.
35424
- * @param reader Reader or buffer to decode from
35425
- * @returns Type
35426
- * @throws {Error} If the payload is not a reader or valid buffer
35427
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
35428
- */
35429
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.Type;
37275
+ /**
37276
+ * Decodes an IndexAdvice message from the specified reader or buffer, length delimited.
37277
+ * @param reader Reader or buffer to decode from
37278
+ * @returns IndexAdvice
37279
+ * @throws {Error} If the payload is not a reader or valid buffer
37280
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
37281
+ */
37282
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.QueryAdvisorResult.IndexAdvice;
35430
37283
 
35431
- /**
35432
- * Verifies a Type message.
35433
- * @param message Plain object to verify
35434
- * @returns `null` if valid, otherwise the reason why it is not
35435
- */
35436
- public static verify(message: { [k: string]: any }): (string|null);
37284
+ /**
37285
+ * Verifies an IndexAdvice message.
37286
+ * @param message Plain object to verify
37287
+ * @returns `null` if valid, otherwise the reason why it is not
37288
+ */
37289
+ public static verify(message: { [k: string]: any }): (string|null);
35437
37290
 
35438
- /**
35439
- * Creates a Type message from a plain object. Also converts values to their respective internal types.
35440
- * @param object Plain object
35441
- * @returns Type
35442
- */
35443
- public static fromObject(object: { [k: string]: any }): google.spanner.v1.Type;
37291
+ /**
37292
+ * Creates an IndexAdvice message from a plain object. Also converts values to their respective internal types.
37293
+ * @param object Plain object
37294
+ * @returns IndexAdvice
37295
+ */
37296
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.QueryAdvisorResult.IndexAdvice;
35444
37297
 
35445
- /**
35446
- * Creates a plain object from a Type message. Also converts values to other types if specified.
35447
- * @param message Type
35448
- * @param [options] Conversion options
35449
- * @returns Plain object
35450
- */
35451
- public static toObject(message: google.spanner.v1.Type, options?: $protobuf.IConversionOptions): { [k: string]: any };
37298
+ /**
37299
+ * Creates a plain object from an IndexAdvice message. Also converts values to other types if specified.
37300
+ * @param message IndexAdvice
37301
+ * @param [options] Conversion options
37302
+ * @returns Plain object
37303
+ */
37304
+ public static toObject(message: google.spanner.v1.QueryAdvisorResult.IndexAdvice, options?: $protobuf.IConversionOptions): { [k: string]: any };
35452
37305
 
35453
- /**
35454
- * Converts this Type to JSON.
35455
- * @returns JSON object
35456
- */
35457
- public toJSON(): { [k: string]: any };
37306
+ /**
37307
+ * Converts this IndexAdvice to JSON.
37308
+ * @returns JSON object
37309
+ */
37310
+ public toJSON(): { [k: string]: any };
35458
37311
 
35459
- /**
35460
- * Gets the default type url for Type
35461
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
35462
- * @returns The default type url
35463
- */
35464
- public static getTypeUrl(typeUrlPrefix?: string): string;
37312
+ /**
37313
+ * Gets the default type url for IndexAdvice
37314
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
37315
+ * @returns The default type url
37316
+ */
37317
+ public static getTypeUrl(typeUrlPrefix?: string): string;
37318
+ }
35465
37319
  }
35466
37320
 
35467
- /** Properties of a StructType. */
35468
- interface IStructType {
37321
+ /** Properties of a QueryPlan. */
37322
+ interface IQueryPlan {
35469
37323
 
35470
- /** StructType fields */
35471
- fields?: (google.spanner.v1.StructType.IField[]|null);
37324
+ /** QueryPlan planNodes */
37325
+ planNodes?: (google.spanner.v1.IPlanNode[]|null);
37326
+
37327
+ /** QueryPlan queryAdvice */
37328
+ queryAdvice?: (google.spanner.v1.IQueryAdvisorResult|null);
35472
37329
  }
35473
37330
 
35474
- /** Represents a StructType. */
35475
- class StructType implements IStructType {
37331
+ /** Represents a QueryPlan. */
37332
+ class QueryPlan implements IQueryPlan {
35476
37333
 
35477
37334
  /**
35478
- * Constructs a new StructType.
37335
+ * Constructs a new QueryPlan.
35479
37336
  * @param [properties] Properties to set
35480
37337
  */
35481
- constructor(properties?: google.spanner.v1.IStructType);
37338
+ constructor(properties?: google.spanner.v1.IQueryPlan);
35482
37339
 
35483
- /** StructType fields. */
35484
- public fields: google.spanner.v1.StructType.IField[];
37340
+ /** QueryPlan planNodes. */
37341
+ public planNodes: google.spanner.v1.IPlanNode[];
37342
+
37343
+ /** QueryPlan queryAdvice. */
37344
+ public queryAdvice?: (google.spanner.v1.IQueryAdvisorResult|null);
35485
37345
 
35486
37346
  /**
35487
- * Creates a new StructType instance using the specified properties.
37347
+ * Creates a new QueryPlan instance using the specified properties.
35488
37348
  * @param [properties] Properties to set
35489
- * @returns StructType instance
37349
+ * @returns QueryPlan instance
35490
37350
  */
35491
- public static create(properties?: google.spanner.v1.IStructType): google.spanner.v1.StructType;
37351
+ public static create(properties?: google.spanner.v1.IQueryPlan): google.spanner.v1.QueryPlan;
35492
37352
 
35493
37353
  /**
35494
- * Encodes the specified StructType message. Does not implicitly {@link google.spanner.v1.StructType.verify|verify} messages.
35495
- * @param message StructType message or plain object to encode
37354
+ * Encodes the specified QueryPlan message. Does not implicitly {@link google.spanner.v1.QueryPlan.verify|verify} messages.
37355
+ * @param message QueryPlan message or plain object to encode
35496
37356
  * @param [writer] Writer to encode to
35497
37357
  * @returns Writer
35498
37358
  */
35499
- public static encode(message: google.spanner.v1.IStructType, writer?: $protobuf.Writer): $protobuf.Writer;
37359
+ public static encode(message: google.spanner.v1.IQueryPlan, writer?: $protobuf.Writer): $protobuf.Writer;
35500
37360
 
35501
37361
  /**
35502
- * Encodes the specified StructType message, length delimited. Does not implicitly {@link google.spanner.v1.StructType.verify|verify} messages.
35503
- * @param message StructType message or plain object to encode
37362
+ * Encodes the specified QueryPlan message, length delimited. Does not implicitly {@link google.spanner.v1.QueryPlan.verify|verify} messages.
37363
+ * @param message QueryPlan message or plain object to encode
35504
37364
  * @param [writer] Writer to encode to
35505
37365
  * @returns Writer
35506
37366
  */
35507
- public static encodeDelimited(message: google.spanner.v1.IStructType, writer?: $protobuf.Writer): $protobuf.Writer;
37367
+ public static encodeDelimited(message: google.spanner.v1.IQueryPlan, writer?: $protobuf.Writer): $protobuf.Writer;
35508
37368
 
35509
37369
  /**
35510
- * Decodes a StructType message from the specified reader or buffer.
37370
+ * Decodes a QueryPlan message from the specified reader or buffer.
35511
37371
  * @param reader Reader or buffer to decode from
35512
37372
  * @param [length] Message length if known beforehand
35513
- * @returns StructType
37373
+ * @returns QueryPlan
35514
37374
  * @throws {Error} If the payload is not a reader or valid buffer
35515
37375
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
35516
37376
  */
35517
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.StructType;
37377
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.QueryPlan;
35518
37378
 
35519
37379
  /**
35520
- * Decodes a StructType message from the specified reader or buffer, length delimited.
37380
+ * Decodes a QueryPlan message from the specified reader or buffer, length delimited.
35521
37381
  * @param reader Reader or buffer to decode from
35522
- * @returns StructType
37382
+ * @returns QueryPlan
35523
37383
  * @throws {Error} If the payload is not a reader or valid buffer
35524
37384
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
35525
37385
  */
35526
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.StructType;
37386
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.QueryPlan;
35527
37387
 
35528
37388
  /**
35529
- * Verifies a StructType message.
37389
+ * Verifies a QueryPlan message.
35530
37390
  * @param message Plain object to verify
35531
37391
  * @returns `null` if valid, otherwise the reason why it is not
35532
37392
  */
35533
37393
  public static verify(message: { [k: string]: any }): (string|null);
35534
37394
 
35535
37395
  /**
35536
- * Creates a StructType message from a plain object. Also converts values to their respective internal types.
37396
+ * Creates a QueryPlan message from a plain object. Also converts values to their respective internal types.
35537
37397
  * @param object Plain object
35538
- * @returns StructType
37398
+ * @returns QueryPlan
35539
37399
  */
35540
- public static fromObject(object: { [k: string]: any }): google.spanner.v1.StructType;
37400
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.QueryPlan;
35541
37401
 
35542
37402
  /**
35543
- * Creates a plain object from a StructType message. Also converts values to other types if specified.
35544
- * @param message StructType
37403
+ * Creates a plain object from a QueryPlan message. Also converts values to other types if specified.
37404
+ * @param message QueryPlan
35545
37405
  * @param [options] Conversion options
35546
37406
  * @returns Plain object
35547
37407
  */
35548
- public static toObject(message: google.spanner.v1.StructType, options?: $protobuf.IConversionOptions): { [k: string]: any };
37408
+ public static toObject(message: google.spanner.v1.QueryPlan, options?: $protobuf.IConversionOptions): { [k: string]: any };
35549
37409
 
35550
37410
  /**
35551
- * Converts this StructType to JSON.
37411
+ * Converts this QueryPlan to JSON.
35552
37412
  * @returns JSON object
35553
37413
  */
35554
37414
  public toJSON(): { [k: string]: any };
35555
37415
 
35556
37416
  /**
35557
- * Gets the default type url for StructType
37417
+ * Gets the default type url for QueryPlan
35558
37418
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
35559
37419
  * @returns The default type url
35560
37420
  */
35561
37421
  public static getTypeUrl(typeUrlPrefix?: string): string;
35562
37422
  }
35563
37423
 
35564
- namespace StructType {
35565
-
35566
- /** Properties of a Field. */
35567
- interface IField {
35568
-
35569
- /** Field name */
35570
- name?: (string|null);
35571
-
35572
- /** Field type */
35573
- type?: (google.spanner.v1.IType|null);
35574
- }
35575
-
35576
- /** Represents a Field. */
35577
- class Field implements IField {
35578
-
35579
- /**
35580
- * Constructs a new Field.
35581
- * @param [properties] Properties to set
35582
- */
35583
- constructor(properties?: google.spanner.v1.StructType.IField);
35584
-
35585
- /** Field name. */
35586
- public name: string;
35587
-
35588
- /** Field type. */
35589
- public type?: (google.spanner.v1.IType|null);
35590
-
35591
- /**
35592
- * Creates a new Field instance using the specified properties.
35593
- * @param [properties] Properties to set
35594
- * @returns Field instance
35595
- */
35596
- public static create(properties?: google.spanner.v1.StructType.IField): google.spanner.v1.StructType.Field;
35597
-
35598
- /**
35599
- * Encodes the specified Field message. Does not implicitly {@link google.spanner.v1.StructType.Field.verify|verify} messages.
35600
- * @param message Field message or plain object to encode
35601
- * @param [writer] Writer to encode to
35602
- * @returns Writer
35603
- */
35604
- public static encode(message: google.spanner.v1.StructType.IField, writer?: $protobuf.Writer): $protobuf.Writer;
35605
-
35606
- /**
35607
- * Encodes the specified Field message, length delimited. Does not implicitly {@link google.spanner.v1.StructType.Field.verify|verify} messages.
35608
- * @param message Field message or plain object to encode
35609
- * @param [writer] Writer to encode to
35610
- * @returns Writer
35611
- */
35612
- public static encodeDelimited(message: google.spanner.v1.StructType.IField, writer?: $protobuf.Writer): $protobuf.Writer;
35613
-
35614
- /**
35615
- * Decodes a Field message from the specified reader or buffer.
35616
- * @param reader Reader or buffer to decode from
35617
- * @param [length] Message length if known beforehand
35618
- * @returns Field
35619
- * @throws {Error} If the payload is not a reader or valid buffer
35620
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
35621
- */
35622
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.StructType.Field;
35623
-
35624
- /**
35625
- * Decodes a Field message from the specified reader or buffer, length delimited.
35626
- * @param reader Reader or buffer to decode from
35627
- * @returns Field
35628
- * @throws {Error} If the payload is not a reader or valid buffer
35629
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
35630
- */
35631
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.StructType.Field;
35632
-
35633
- /**
35634
- * Verifies a Field message.
35635
- * @param message Plain object to verify
35636
- * @returns `null` if valid, otherwise the reason why it is not
35637
- */
35638
- public static verify(message: { [k: string]: any }): (string|null);
35639
-
35640
- /**
35641
- * Creates a Field message from a plain object. Also converts values to their respective internal types.
35642
- * @param object Plain object
35643
- * @returns Field
35644
- */
35645
- public static fromObject(object: { [k: string]: any }): google.spanner.v1.StructType.Field;
35646
-
35647
- /**
35648
- * Creates a plain object from a Field message. Also converts values to other types if specified.
35649
- * @param message Field
35650
- * @param [options] Conversion options
35651
- * @returns Plain object
35652
- */
35653
- public static toObject(message: google.spanner.v1.StructType.Field, options?: $protobuf.IConversionOptions): { [k: string]: any };
35654
-
35655
- /**
35656
- * Converts this Field to JSON.
35657
- * @returns JSON object
35658
- */
35659
- public toJSON(): { [k: string]: any };
35660
-
35661
- /**
35662
- * Gets the default type url for Field
35663
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
35664
- * @returns The default type url
35665
- */
35666
- public static getTypeUrl(typeUrlPrefix?: string): string;
35667
- }
35668
- }
35669
-
35670
- /** TypeCode enum. */
35671
- enum TypeCode {
35672
- TYPE_CODE_UNSPECIFIED = 0,
35673
- BOOL = 1,
35674
- INT64 = 2,
35675
- FLOAT64 = 3,
35676
- FLOAT32 = 15,
35677
- TIMESTAMP = 4,
35678
- DATE = 5,
35679
- STRING = 6,
35680
- BYTES = 7,
35681
- ARRAY = 8,
35682
- STRUCT = 9,
35683
- NUMERIC = 10,
35684
- JSON = 11,
35685
- PROTO = 13,
35686
- ENUM = 14,
35687
- INTERVAL = 16,
35688
- UUID = 17
35689
- }
35690
-
35691
- /** TypeAnnotationCode enum. */
35692
- enum TypeAnnotationCode {
35693
- TYPE_ANNOTATION_CODE_UNSPECIFIED = 0,
35694
- PG_NUMERIC = 2,
35695
- PG_JSONB = 3,
35696
- PG_OID = 4
35697
- }
35698
-
35699
37424
  /** Properties of a ChangeStreamRecord. */
35700
37425
  interface IChangeStreamRecord {
35701
37426