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