@google-cloud/spanner 7.14.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. */
@@ -18436,9 +18879,6 @@ export namespace google {
18436
18879
  /** ReadAction limit. */
18437
18880
  public limit: number;
18438
18881
 
18439
- /** ReadAction _index. */
18440
- public _index?: "index";
18441
-
18442
18882
  /**
18443
18883
  * Creates a new ReadAction instance using the specified properties.
18444
18884
  * @param [properties] Properties to set
@@ -18757,9 +19197,6 @@ export namespace google {
18757
19197
  /** DmlAction autocommitIfSupported. */
18758
19198
  public autocommitIfSupported?: (boolean|null);
18759
19199
 
18760
- /** DmlAction _autocommitIfSupported. */
18761
- public _autocommitIfSupported?: "autocommitIfSupported";
18762
-
18763
19200
  /**
18764
19201
  * Creates a new DmlAction instance using the specified properties.
18765
19202
  * @param [properties] Properties to set
@@ -19023,9 +19460,6 @@ export namespace google {
19023
19460
  /** Value valueType. */
19024
19461
  public valueType?: ("isNull"|"intValue"|"boolValue"|"doubleValue"|"bytesValue"|"stringValue"|"structValue"|"timestampValue"|"dateDaysValue"|"isCommitTimestamp"|"arrayValue");
19025
19462
 
19026
- /** Value _arrayType. */
19027
- public _arrayType?: "arrayType";
19028
-
19029
19463
  /**
19030
19464
  * Creates a new Value instance using the specified properties.
19031
19465
  * @param [properties] Properties to set
@@ -19135,9 +19569,6 @@ export namespace google {
19135
19569
  /** KeyRange type. */
19136
19570
  public type?: (google.spanner.executor.v1.KeyRange.Type|keyof typeof google.spanner.executor.v1.KeyRange.Type|null);
19137
19571
 
19138
- /** KeyRange _type. */
19139
- public _type?: "type";
19140
-
19141
19572
  /**
19142
19573
  * Creates a new KeyRange instance using the specified properties.
19143
19574
  * @param [properties] Properties to set
@@ -20001,9 +20432,6 @@ export namespace google {
20001
20432
  /** PartitionedUpdateAction update. */
20002
20433
  public update?: (google.spanner.executor.v1.IQueryAction|null);
20003
20434
 
20004
- /** PartitionedUpdateAction _options. */
20005
- public _options?: "options";
20006
-
20007
20435
  /**
20008
20436
  * Creates a new PartitionedUpdateAction instance using the specified properties.
20009
20437
  * @param [properties] Properties to set
@@ -20109,12 +20537,6 @@ export namespace google {
20109
20537
  /** ExecutePartitionedUpdateOptions tag. */
20110
20538
  public tag?: (string|null);
20111
20539
 
20112
- /** ExecutePartitionedUpdateOptions _rpcPriority. */
20113
- public _rpcPriority?: "rpcPriority";
20114
-
20115
- /** ExecutePartitionedUpdateOptions _tag. */
20116
- public _tag?: "tag";
20117
-
20118
20540
  /**
20119
20541
  * Creates a new ExecutePartitionedUpdateOptions instance using the specified properties.
20120
20542
  * @param [properties] Properties to set
@@ -20231,12 +20653,6 @@ export namespace google {
20231
20653
  /** StartTransactionAction executionOptions. */
20232
20654
  public executionOptions?: (google.spanner.executor.v1.ITransactionExecutionOptions|null);
20233
20655
 
20234
- /** StartTransactionAction _concurrency. */
20235
- public _concurrency?: "concurrency";
20236
-
20237
- /** StartTransactionAction _executionOptions. */
20238
- public _executionOptions?: "executionOptions";
20239
-
20240
20656
  /**
20241
20657
  * Creates a new StartTransactionAction instance using the specified properties.
20242
20658
  * @param [properties] Properties to set
@@ -21293,9 +21709,6 @@ export namespace google {
21293
21709
  /** UpdateUserInstanceConfigAction labels. */
21294
21710
  public labels: { [k: string]: string };
21295
21711
 
21296
- /** UpdateUserInstanceConfigAction _displayName. */
21297
- public _displayName?: "displayName";
21298
-
21299
21712
  /**
21300
21713
  * Creates a new UpdateUserInstanceConfigAction instance using the specified properties.
21301
21714
  * @param [properties] Properties to set
@@ -21611,12 +22024,6 @@ export namespace google {
21611
22024
  /** ListCloudInstanceConfigsAction pageToken. */
21612
22025
  public pageToken?: (string|null);
21613
22026
 
21614
- /** ListCloudInstanceConfigsAction _pageSize. */
21615
- public _pageSize?: "pageSize";
21616
-
21617
- /** ListCloudInstanceConfigsAction _pageToken. */
21618
- public _pageToken?: "pageToken";
21619
-
21620
22027
  /**
21621
22028
  * Creates a new ListCloudInstanceConfigsAction instance using the specified properties.
21622
22029
  * @param [properties] Properties to set
@@ -21750,15 +22157,6 @@ export namespace google {
21750
22157
  /** CreateCloudInstanceAction labels. */
21751
22158
  public labels: { [k: string]: string };
21752
22159
 
21753
- /** CreateCloudInstanceAction _nodeCount. */
21754
- public _nodeCount?: "nodeCount";
21755
-
21756
- /** CreateCloudInstanceAction _processingUnits. */
21757
- public _processingUnits?: "processingUnits";
21758
-
21759
- /** CreateCloudInstanceAction _autoscalingConfig. */
21760
- public _autoscalingConfig?: "autoscalingConfig";
21761
-
21762
22160
  /**
21763
22161
  * Creates a new CreateCloudInstanceAction instance using the specified properties.
21764
22162
  * @param [properties] Properties to set
@@ -21892,18 +22290,6 @@ export namespace google {
21892
22290
  /** UpdateCloudInstanceAction labels. */
21893
22291
  public labels: { [k: string]: string };
21894
22292
 
21895
- /** UpdateCloudInstanceAction _displayName. */
21896
- public _displayName?: "displayName";
21897
-
21898
- /** UpdateCloudInstanceAction _nodeCount. */
21899
- public _nodeCount?: "nodeCount";
21900
-
21901
- /** UpdateCloudInstanceAction _processingUnits. */
21902
- public _processingUnits?: "processingUnits";
21903
-
21904
- /** UpdateCloudInstanceAction _autoscalingConfig. */
21905
- public _autoscalingConfig?: "autoscalingConfig";
21906
-
21907
22293
  /**
21908
22294
  * Creates a new UpdateCloudInstanceAction instance using the specified properties.
21909
22295
  * @param [properties] Properties to set
@@ -22140,12 +22526,6 @@ export namespace google {
22140
22526
  /** CreateCloudDatabaseAction protoDescriptors. */
22141
22527
  public protoDescriptors?: (Uint8Array|string|null);
22142
22528
 
22143
- /** CreateCloudDatabaseAction _dialect. */
22144
- public _dialect?: "dialect";
22145
-
22146
- /** CreateCloudDatabaseAction _protoDescriptors. */
22147
- public _protoDescriptors?: "protoDescriptors";
22148
-
22149
22529
  /**
22150
22530
  * Creates a new CreateCloudDatabaseAction instance using the specified properties.
22151
22531
  * @param [properties] Properties to set
@@ -22273,9 +22653,6 @@ export namespace google {
22273
22653
  /** UpdateCloudDatabaseDdlAction protoDescriptors. */
22274
22654
  public protoDescriptors?: (Uint8Array|string|null);
22275
22655
 
22276
- /** UpdateCloudDatabaseDdlAction _protoDescriptors. */
22277
- public _protoDescriptors?: "protoDescriptors";
22278
-
22279
22656
  /**
22280
22657
  * Creates a new UpdateCloudDatabaseDdlAction instance using the specified properties.
22281
22658
  * @param [properties] Properties to set
@@ -22603,9 +22980,6 @@ export namespace google {
22603
22980
  /** ChangeQuorumCloudDatabaseAction servingLocations. */
22604
22981
  public servingLocations: string[];
22605
22982
 
22606
- /** ChangeQuorumCloudDatabaseAction _databaseUri. */
22607
- public _databaseUri?: "databaseUri";
22608
-
22609
22983
  /**
22610
22984
  * Creates a new ChangeQuorumCloudDatabaseAction instance using the specified properties.
22611
22985
  * @param [properties] Properties to set
@@ -22836,15 +23210,6 @@ export namespace google {
22836
23210
  /** ListCloudInstancesAction pageToken. */
22837
23211
  public pageToken?: (string|null);
22838
23212
 
22839
- /** ListCloudInstancesAction _filter. */
22840
- public _filter?: "filter";
22841
-
22842
- /** ListCloudInstancesAction _pageSize. */
22843
- public _pageSize?: "pageSize";
22844
-
22845
- /** ListCloudInstancesAction _pageToken. */
22846
- public _pageToken?: "pageToken";
22847
-
22848
23213
  /**
22849
23214
  * Creates a new ListCloudInstancesAction instance using the specified properties.
22850
23215
  * @param [properties] Properties to set
@@ -23438,9 +23803,6 @@ export namespace google {
23438
23803
  /** CreateCloudBackupAction encryptionConfig. */
23439
23804
  public encryptionConfig?: (google.spanner.admin.database.v1.IEncryptionConfig|null);
23440
23805
 
23441
- /** CreateCloudBackupAction _versionTime. */
23442
- public _versionTime?: "versionTime";
23443
-
23444
23806
  /**
23445
23807
  * Creates a new CreateCloudBackupAction instance using the specified properties.
23446
23808
  * @param [properties] Properties to set
@@ -24758,12 +25120,6 @@ export namespace google {
24758
25120
  /** GenerateDbPartitionsForReadAction maxPartitionCount. */
24759
25121
  public maxPartitionCount?: (number|Long|string|null);
24760
25122
 
24761
- /** GenerateDbPartitionsForReadAction _desiredBytesPerPartition. */
24762
- public _desiredBytesPerPartition?: "desiredBytesPerPartition";
24763
-
24764
- /** GenerateDbPartitionsForReadAction _maxPartitionCount. */
24765
- public _maxPartitionCount?: "maxPartitionCount";
24766
-
24767
25123
  /**
24768
25124
  * Creates a new GenerateDbPartitionsForReadAction instance using the specified properties.
24769
25125
  * @param [properties] Properties to set
@@ -24867,9 +25223,6 @@ export namespace google {
24867
25223
  /** GenerateDbPartitionsForQueryAction desiredBytesPerPartition. */
24868
25224
  public desiredBytesPerPartition?: (number|Long|string|null);
24869
25225
 
24870
- /** GenerateDbPartitionsForQueryAction _desiredBytesPerPartition. */
24871
- public _desiredBytesPerPartition?: "desiredBytesPerPartition";
24872
-
24873
25226
  /**
24874
25227
  * Creates a new GenerateDbPartitionsForQueryAction instance using the specified properties.
24875
25228
  * @param [properties] Properties to set
@@ -24985,12 +25338,6 @@ export namespace google {
24985
25338
  /** BatchPartition index. */
24986
25339
  public index?: (string|null);
24987
25340
 
24988
- /** BatchPartition _table. */
24989
- public _table?: "table";
24990
-
24991
- /** BatchPartition _index. */
24992
- public _index?: "index";
24993
-
24994
25341
  /**
24995
25342
  * Creates a new BatchPartition instance using the specified properties.
24996
25343
  * @param [properties] Properties to set
@@ -25227,21 +25574,6 @@ export namespace google {
25227
25574
  /** ExecuteChangeStreamQuery cloudDatabaseRole. */
25228
25575
  public cloudDatabaseRole?: (string|null);
25229
25576
 
25230
- /** ExecuteChangeStreamQuery _endTime. */
25231
- public _endTime?: "endTime";
25232
-
25233
- /** ExecuteChangeStreamQuery _partitionToken. */
25234
- public _partitionToken?: "partitionToken";
25235
-
25236
- /** ExecuteChangeStreamQuery _heartbeatMilliseconds. */
25237
- public _heartbeatMilliseconds?: "heartbeatMilliseconds";
25238
-
25239
- /** ExecuteChangeStreamQuery _deadlineSeconds. */
25240
- public _deadlineSeconds?: "deadlineSeconds";
25241
-
25242
- /** ExecuteChangeStreamQuery _cloudDatabaseRole. */
25243
- public _cloudDatabaseRole?: "cloudDatabaseRole";
25244
-
25245
25577
  /**
25246
25578
  * Creates a new ExecuteChangeStreamQuery instance using the specified properties.
25247
25579
  * @param [properties] Properties to set
@@ -25393,33 +25725,12 @@ export namespace google {
25393
25725
  /** SpannerActionOutcome changeStreamRecords. */
25394
25726
  public changeStreamRecords: google.spanner.executor.v1.IChangeStreamRecord[];
25395
25727
 
25396
- /** SpannerActionOutcome _status. */
25397
- public _status?: "status";
25398
-
25399
- /** SpannerActionOutcome _commitTime. */
25400
- public _commitTime?: "commitTime";
25401
-
25402
- /** SpannerActionOutcome _readResult. */
25403
- public _readResult?: "readResult";
25404
-
25405
- /** SpannerActionOutcome _queryResult. */
25406
- public _queryResult?: "queryResult";
25407
-
25408
- /** SpannerActionOutcome _transactionRestarted. */
25409
- public _transactionRestarted?: "transactionRestarted";
25410
-
25411
- /** SpannerActionOutcome _batchTxnId. */
25412
- public _batchTxnId?: "batchTxnId";
25413
-
25414
- /** SpannerActionOutcome _adminResult. */
25415
- public _adminResult?: "adminResult";
25416
-
25417
- /**
25418
- * Creates a new SpannerActionOutcome instance using the specified properties.
25419
- * @param [properties] Properties to set
25420
- * @returns SpannerActionOutcome instance
25421
- */
25422
- public static create(properties?: google.spanner.executor.v1.ISpannerActionOutcome): google.spanner.executor.v1.SpannerActionOutcome;
25728
+ /**
25729
+ * Creates a new SpannerActionOutcome instance using the specified properties.
25730
+ * @param [properties] Properties to set
25731
+ * @returns SpannerActionOutcome instance
25732
+ */
25733
+ public static create(properties?: google.spanner.executor.v1.ISpannerActionOutcome): google.spanner.executor.v1.SpannerActionOutcome;
25423
25734
 
25424
25735
  /**
25425
25736
  * Encodes the specified SpannerActionOutcome message. Does not implicitly {@link google.spanner.executor.v1.SpannerActionOutcome.verify|verify} messages.
@@ -26213,15 +26524,6 @@ export namespace google {
26213
26524
  /** ReadResult rowType. */
26214
26525
  public rowType?: (google.spanner.v1.IStructType|null);
26215
26526
 
26216
- /** ReadResult _index. */
26217
- public _index?: "index";
26218
-
26219
- /** ReadResult _requestIndex. */
26220
- public _requestIndex?: "requestIndex";
26221
-
26222
- /** ReadResult _rowType. */
26223
- public _rowType?: "rowType";
26224
-
26225
26527
  /**
26226
26528
  * Creates a new ReadResult instance using the specified properties.
26227
26529
  * @param [properties] Properties to set
@@ -26325,9 +26627,6 @@ export namespace google {
26325
26627
  /** QueryResult rowType. */
26326
26628
  public rowType?: (google.spanner.v1.IStructType|null);
26327
26629
 
26328
- /** QueryResult _rowType. */
26329
- public _rowType?: "rowType";
26330
-
26331
26630
  /**
26332
26631
  * Creates a new QueryResult instance using the specified properties.
26333
26632
  * @param [properties] Properties to set
@@ -29350,7 +29649,9 @@ export namespace google {
29350
29649
  enum QueryMode {
29351
29650
  NORMAL = 0,
29352
29651
  PLAN = 1,
29353
- PROFILE = 2
29652
+ PROFILE = 2,
29653
+ WITH_STATS = 3,
29654
+ WITH_PLAN_AND_STATS = 4
29354
29655
  }
29355
29656
 
29356
29657
  /** Properties of a QueryOptions. */
@@ -29698,6 +29999,9 @@ export namespace google {
29698
29999
 
29699
30000
  /** ExecuteBatchDmlResponse status */
29700
30001
  status?: (google.rpc.IStatus|null);
30002
+
30003
+ /** ExecuteBatchDmlResponse precommitToken */
30004
+ precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
29701
30005
  }
29702
30006
 
29703
30007
  /** Represents an ExecuteBatchDmlResponse. */
@@ -29715,6 +30019,9 @@ export namespace google {
29715
30019
  /** ExecuteBatchDmlResponse status. */
29716
30020
  public status?: (google.rpc.IStatus|null);
29717
30021
 
30022
+ /** ExecuteBatchDmlResponse precommitToken. */
30023
+ public precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
30024
+
29718
30025
  /**
29719
30026
  * Creates a new ExecuteBatchDmlResponse instance using the specified properties.
29720
30027
  * @param [properties] Properties to set
@@ -30559,6 +30866,9 @@ export namespace google {
30559
30866
 
30560
30867
  /** BeginTransactionRequest requestOptions */
30561
30868
  requestOptions?: (google.spanner.v1.IRequestOptions|null);
30869
+
30870
+ /** BeginTransactionRequest mutationKey */
30871
+ mutationKey?: (google.spanner.v1.IMutation|null);
30562
30872
  }
30563
30873
 
30564
30874
  /** Represents a BeginTransactionRequest. */
@@ -30579,6 +30889,9 @@ export namespace google {
30579
30889
  /** BeginTransactionRequest requestOptions. */
30580
30890
  public requestOptions?: (google.spanner.v1.IRequestOptions|null);
30581
30891
 
30892
+ /** BeginTransactionRequest mutationKey. */
30893
+ public mutationKey?: (google.spanner.v1.IMutation|null);
30894
+
30582
30895
  /**
30583
30896
  * Creates a new BeginTransactionRequest instance using the specified properties.
30584
30897
  * @param [properties] Properties to set
@@ -30680,6 +30993,9 @@ export namespace google {
30680
30993
 
30681
30994
  /** CommitRequest requestOptions */
30682
30995
  requestOptions?: (google.spanner.v1.IRequestOptions|null);
30996
+
30997
+ /** CommitRequest precommitToken */
30998
+ precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
30683
30999
  }
30684
31000
 
30685
31001
  /** Represents a CommitRequest. */
@@ -30712,6 +31028,9 @@ export namespace google {
30712
31028
  /** CommitRequest requestOptions. */
30713
31029
  public requestOptions?: (google.spanner.v1.IRequestOptions|null);
30714
31030
 
31031
+ /** CommitRequest precommitToken. */
31032
+ public precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
31033
+
30715
31034
  /** CommitRequest transaction. */
30716
31035
  public transaction?: ("transactionId"|"singleUseTransaction");
30717
31036
 
@@ -31228,6 +31547,9 @@ export namespace google {
31228
31547
 
31229
31548
  /** CommitResponse commitStats */
31230
31549
  commitStats?: (google.spanner.v1.CommitResponse.ICommitStats|null);
31550
+
31551
+ /** CommitResponse precommitToken */
31552
+ precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
31231
31553
  }
31232
31554
 
31233
31555
  /** Represents a CommitResponse. */
@@ -31245,6 +31567,12 @@ export namespace google {
31245
31567
  /** CommitResponse commitStats. */
31246
31568
  public commitStats?: (google.spanner.v1.CommitResponse.ICommitStats|null);
31247
31569
 
31570
+ /** CommitResponse precommitToken. */
31571
+ public precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
31572
+
31573
+ /** CommitResponse MultiplexedSessionRetry. */
31574
+ public MultiplexedSessionRetry?: "precommitToken";
31575
+
31248
31576
  /**
31249
31577
  * Creates a new CommitResponse instance using the specified properties.
31250
31578
  * @param [properties] Properties to set
@@ -31423,1926 +31751,2171 @@ export namespace google {
31423
31751
  }
31424
31752
  }
31425
31753
 
31426
- /** Properties of a KeyRange. */
31427
- interface IKeyRange {
31754
+ /** Properties of a TransactionOptions. */
31755
+ interface ITransactionOptions {
31428
31756
 
31429
- /** KeyRange startClosed */
31430
- startClosed?: (google.protobuf.IListValue|null);
31757
+ /** TransactionOptions readWrite */
31758
+ readWrite?: (google.spanner.v1.TransactionOptions.IReadWrite|null);
31431
31759
 
31432
- /** KeyRange startOpen */
31433
- startOpen?: (google.protobuf.IListValue|null);
31760
+ /** TransactionOptions partitionedDml */
31761
+ partitionedDml?: (google.spanner.v1.TransactionOptions.IPartitionedDml|null);
31434
31762
 
31435
- /** KeyRange endClosed */
31436
- endClosed?: (google.protobuf.IListValue|null);
31763
+ /** TransactionOptions readOnly */
31764
+ readOnly?: (google.spanner.v1.TransactionOptions.IReadOnly|null);
31437
31765
 
31438
- /** KeyRange endOpen */
31439
- endOpen?: (google.protobuf.IListValue|null);
31766
+ /** TransactionOptions excludeTxnFromChangeStreams */
31767
+ excludeTxnFromChangeStreams?: (boolean|null);
31440
31768
  }
31441
31769
 
31442
- /** Represents a KeyRange. */
31443
- class KeyRange implements IKeyRange {
31770
+ /** Represents a TransactionOptions. */
31771
+ class TransactionOptions implements ITransactionOptions {
31444
31772
 
31445
31773
  /**
31446
- * Constructs a new KeyRange.
31774
+ * Constructs a new TransactionOptions.
31447
31775
  * @param [properties] Properties to set
31448
31776
  */
31449
- constructor(properties?: google.spanner.v1.IKeyRange);
31450
-
31451
- /** KeyRange startClosed. */
31452
- public startClosed?: (google.protobuf.IListValue|null);
31777
+ constructor(properties?: google.spanner.v1.ITransactionOptions);
31453
31778
 
31454
- /** KeyRange startOpen. */
31455
- public startOpen?: (google.protobuf.IListValue|null);
31779
+ /** TransactionOptions readWrite. */
31780
+ public readWrite?: (google.spanner.v1.TransactionOptions.IReadWrite|null);
31456
31781
 
31457
- /** KeyRange endClosed. */
31458
- public endClosed?: (google.protobuf.IListValue|null);
31782
+ /** TransactionOptions partitionedDml. */
31783
+ public partitionedDml?: (google.spanner.v1.TransactionOptions.IPartitionedDml|null);
31459
31784
 
31460
- /** KeyRange endOpen. */
31461
- public endOpen?: (google.protobuf.IListValue|null);
31785
+ /** TransactionOptions readOnly. */
31786
+ public readOnly?: (google.spanner.v1.TransactionOptions.IReadOnly|null);
31462
31787
 
31463
- /** KeyRange startKeyType. */
31464
- public startKeyType?: ("startClosed"|"startOpen");
31788
+ /** TransactionOptions excludeTxnFromChangeStreams. */
31789
+ public excludeTxnFromChangeStreams: boolean;
31465
31790
 
31466
- /** KeyRange endKeyType. */
31467
- public endKeyType?: ("endClosed"|"endOpen");
31791
+ /** TransactionOptions mode. */
31792
+ public mode?: ("readWrite"|"partitionedDml"|"readOnly");
31468
31793
 
31469
31794
  /**
31470
- * Creates a new KeyRange instance using the specified properties.
31795
+ * Creates a new TransactionOptions instance using the specified properties.
31471
31796
  * @param [properties] Properties to set
31472
- * @returns KeyRange instance
31797
+ * @returns TransactionOptions instance
31473
31798
  */
31474
- 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;
31475
31800
 
31476
31801
  /**
31477
- * Encodes the specified KeyRange message. Does not implicitly {@link google.spanner.v1.KeyRange.verify|verify} messages.
31478
- * @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
31479
31804
  * @param [writer] Writer to encode to
31480
31805
  * @returns Writer
31481
31806
  */
31482
- 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;
31483
31808
 
31484
31809
  /**
31485
- * Encodes the specified KeyRange message, length delimited. Does not implicitly {@link google.spanner.v1.KeyRange.verify|verify} messages.
31486
- * @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
31487
31812
  * @param [writer] Writer to encode to
31488
31813
  * @returns Writer
31489
31814
  */
31490
- 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;
31491
31816
 
31492
31817
  /**
31493
- * Decodes a KeyRange message from the specified reader or buffer.
31818
+ * Decodes a TransactionOptions message from the specified reader or buffer.
31494
31819
  * @param reader Reader or buffer to decode from
31495
31820
  * @param [length] Message length if known beforehand
31496
- * @returns KeyRange
31821
+ * @returns TransactionOptions
31497
31822
  * @throws {Error} If the payload is not a reader or valid buffer
31498
31823
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
31499
31824
  */
31500
- 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;
31501
31826
 
31502
31827
  /**
31503
- * 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.
31504
31829
  * @param reader Reader or buffer to decode from
31505
- * @returns KeyRange
31830
+ * @returns TransactionOptions
31506
31831
  * @throws {Error} If the payload is not a reader or valid buffer
31507
31832
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
31508
31833
  */
31509
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.KeyRange;
31834
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.TransactionOptions;
31510
31835
 
31511
31836
  /**
31512
- * Verifies a KeyRange message.
31837
+ * Verifies a TransactionOptions message.
31513
31838
  * @param message Plain object to verify
31514
31839
  * @returns `null` if valid, otherwise the reason why it is not
31515
31840
  */
31516
31841
  public static verify(message: { [k: string]: any }): (string|null);
31517
31842
 
31518
31843
  /**
31519
- * 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.
31520
31845
  * @param object Plain object
31521
- * @returns KeyRange
31846
+ * @returns TransactionOptions
31522
31847
  */
31523
- public static fromObject(object: { [k: string]: any }): google.spanner.v1.KeyRange;
31848
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.TransactionOptions;
31524
31849
 
31525
31850
  /**
31526
- * Creates a plain object from a KeyRange message. Also converts values to other types if specified.
31527
- * @param message KeyRange
31851
+ * Creates a plain object from a TransactionOptions message. Also converts values to other types if specified.
31852
+ * @param message TransactionOptions
31528
31853
  * @param [options] Conversion options
31529
31854
  * @returns Plain object
31530
31855
  */
31531
- 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 };
31532
31857
 
31533
31858
  /**
31534
- * Converts this KeyRange to JSON.
31859
+ * Converts this TransactionOptions to JSON.
31535
31860
  * @returns JSON object
31536
31861
  */
31537
31862
  public toJSON(): { [k: string]: any };
31538
31863
 
31539
31864
  /**
31540
- * Gets the default type url for KeyRange
31865
+ * Gets the default type url for TransactionOptions
31541
31866
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
31542
31867
  * @returns The default type url
31543
31868
  */
31544
31869
  public static getTypeUrl(typeUrlPrefix?: string): string;
31545
31870
  }
31546
31871
 
31547
- /** Properties of a KeySet. */
31548
- interface IKeySet {
31872
+ namespace TransactionOptions {
31549
31873
 
31550
- /** KeySet keys */
31551
- keys?: (google.protobuf.IListValue[]|null);
31874
+ /** Properties of a ReadWrite. */
31875
+ interface IReadWrite {
31552
31876
 
31553
- /** KeySet ranges */
31554
- ranges?: (google.spanner.v1.IKeyRange[]|null);
31877
+ /** ReadWrite readLockMode */
31878
+ readLockMode?: (google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode|keyof typeof google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode|null);
31555
31879
 
31556
- /** KeySet all */
31557
- all?: (boolean|null);
31558
- }
31880
+ /** ReadWrite multiplexedSessionPreviousTransactionId */
31881
+ multiplexedSessionPreviousTransactionId?: (Uint8Array|string|null);
31882
+ }
31559
31883
 
31560
- /** Represents a KeySet. */
31561
- class KeySet implements IKeySet {
31884
+ /** Represents a ReadWrite. */
31885
+ class ReadWrite implements IReadWrite {
31562
31886
 
31563
- /**
31564
- * Constructs a new KeySet.
31565
- * @param [properties] Properties to set
31566
- */
31567
- constructor(properties?: google.spanner.v1.IKeySet);
31887
+ /**
31888
+ * Constructs a new ReadWrite.
31889
+ * @param [properties] Properties to set
31890
+ */
31891
+ constructor(properties?: google.spanner.v1.TransactionOptions.IReadWrite);
31568
31892
 
31569
- /** KeySet keys. */
31570
- public keys: google.protobuf.IListValue[];
31893
+ /** ReadWrite readLockMode. */
31894
+ public readLockMode: (google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode|keyof typeof google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode);
31571
31895
 
31572
- /** KeySet ranges. */
31573
- public ranges: google.spanner.v1.IKeyRange[];
31896
+ /** ReadWrite multiplexedSessionPreviousTransactionId. */
31897
+ public multiplexedSessionPreviousTransactionId: (Uint8Array|string);
31574
31898
 
31575
- /** KeySet all. */
31576
- public all: boolean;
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;
31577
31905
 
31578
- /**
31579
- * Creates a new KeySet instance using the specified properties.
31580
- * @param [properties] Properties to set
31581
- * @returns KeySet instance
31582
- */
31583
- public static create(properties?: google.spanner.v1.IKeySet): google.spanner.v1.KeySet;
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;
31584
31913
 
31585
- /**
31586
- * Encodes the specified KeySet message. Does not implicitly {@link google.spanner.v1.KeySet.verify|verify} messages.
31587
- * @param message KeySet message or plain object to encode
31588
- * @param [writer] Writer to encode to
31589
- * @returns Writer
31590
- */
31591
- public static encode(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;
31592
31921
 
31593
- /**
31594
- * Encodes the specified KeySet message, length delimited. Does not implicitly {@link google.spanner.v1.KeySet.verify|verify} messages.
31595
- * @param message KeySet message or plain object to encode
31596
- * @param [writer] Writer to encode to
31597
- * @returns Writer
31598
- */
31599
- public static encodeDelimited(message: google.spanner.v1.IKeySet, writer?: $protobuf.Writer): $protobuf.Writer;
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;
31600
31931
 
31601
- /**
31602
- * Decodes a KeySet message from the specified reader or buffer.
31603
- * @param reader Reader or buffer to decode from
31604
- * @param [length] Message length if known beforehand
31605
- * @returns KeySet
31606
- * @throws {Error} If the payload is not a reader or valid buffer
31607
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
31608
- */
31609
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): 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;
31610
31940
 
31611
- /**
31612
- * Decodes a KeySet message from the specified reader or buffer, length delimited.
31613
- * @param reader Reader or buffer to decode from
31614
- * @returns KeySet
31615
- * @throws {Error} If the payload is not a reader or valid buffer
31616
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
31617
- */
31618
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.KeySet;
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);
31619
31947
 
31620
- /**
31621
- * Verifies a KeySet message.
31622
- * @param message Plain object to verify
31623
- * @returns `null` if valid, otherwise the reason why it is not
31624
- */
31625
- public static verify(message: { [k: string]: any }): (string|null);
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;
31626
31954
 
31627
- /**
31628
- * Creates a KeySet message from a plain object. Also converts values to their respective internal types.
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 };
31962
+
31963
+ /**
31964
+ * Converts this ReadWrite to JSON.
31965
+ * @returns JSON object
31966
+ */
31967
+ public toJSON(): { [k: string]: any };
31968
+
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
+ }
31976
+
31977
+ namespace ReadWrite {
31978
+
31979
+ /** ReadLockMode enum. */
31980
+ enum ReadLockMode {
31981
+ READ_LOCK_MODE_UNSPECIFIED = 0,
31982
+ PESSIMISTIC = 1,
31983
+ OPTIMISTIC = 2
31984
+ }
31985
+ }
31986
+
31987
+ /** Properties of a PartitionedDml. */
31988
+ interface IPartitionedDml {
31989
+ }
31990
+
31991
+ /** Represents a PartitionedDml. */
31992
+ class PartitionedDml implements IPartitionedDml {
31993
+
31994
+ /**
31995
+ * Constructs a new PartitionedDml.
31996
+ * @param [properties] Properties to set
31997
+ */
31998
+ constructor(properties?: google.spanner.v1.TransactionOptions.IPartitionedDml);
31999
+
32000
+ /**
32001
+ * Creates a new PartitionedDml instance using the specified properties.
32002
+ * @param [properties] Properties to set
32003
+ * @returns PartitionedDml instance
32004
+ */
32005
+ public static create(properties?: google.spanner.v1.TransactionOptions.IPartitionedDml): google.spanner.v1.TransactionOptions.PartitionedDml;
32006
+
32007
+ /**
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
32010
+ * @param [writer] Writer to encode to
32011
+ * @returns Writer
32012
+ */
32013
+ public static encode(message: google.spanner.v1.TransactionOptions.IPartitionedDml, writer?: $protobuf.Writer): $protobuf.Writer;
32014
+
32015
+ /**
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
32018
+ * @param [writer] Writer to encode to
32019
+ * @returns Writer
32020
+ */
32021
+ public static encodeDelimited(message: google.spanner.v1.TransactionOptions.IPartitionedDml, writer?: $protobuf.Writer): $protobuf.Writer;
32022
+
32023
+ /**
32024
+ * Decodes a PartitionedDml message from the specified reader or buffer.
32025
+ * @param reader Reader or buffer to decode from
32026
+ * @param [length] Message length if known beforehand
32027
+ * @returns PartitionedDml
32028
+ * @throws {Error} If the payload is not a reader or valid buffer
32029
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32030
+ */
32031
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.TransactionOptions.PartitionedDml;
32032
+
32033
+ /**
32034
+ * Decodes a PartitionedDml message from the specified reader or buffer, length delimited.
32035
+ * @param reader Reader or buffer to decode from
32036
+ * @returns PartitionedDml
32037
+ * @throws {Error} If the payload is not a reader or valid buffer
32038
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32039
+ */
32040
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.TransactionOptions.PartitionedDml;
32041
+
32042
+ /**
32043
+ * Verifies a PartitionedDml message.
32044
+ * @param message Plain object to verify
32045
+ * @returns `null` if valid, otherwise the reason why it is not
32046
+ */
32047
+ public static verify(message: { [k: string]: any }): (string|null);
32048
+
32049
+ /**
32050
+ * Creates a PartitionedDml message from a plain object. Also converts values to their respective internal types.
32051
+ * @param object Plain object
32052
+ * @returns PartitionedDml
32053
+ */
32054
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.TransactionOptions.PartitionedDml;
32055
+
32056
+ /**
32057
+ * Creates a plain object from a PartitionedDml message. Also converts values to other types if specified.
32058
+ * @param message PartitionedDml
32059
+ * @param [options] Conversion options
32060
+ * @returns Plain object
32061
+ */
32062
+ public static toObject(message: google.spanner.v1.TransactionOptions.PartitionedDml, options?: $protobuf.IConversionOptions): { [k: string]: any };
32063
+
32064
+ /**
32065
+ * Converts this PartitionedDml to JSON.
32066
+ * @returns JSON object
32067
+ */
32068
+ public toJSON(): { [k: string]: any };
32069
+
32070
+ /**
32071
+ * Gets the default type url for PartitionedDml
32072
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
32073
+ * @returns The default type url
32074
+ */
32075
+ public static getTypeUrl(typeUrlPrefix?: string): string;
32076
+ }
32077
+
32078
+ /** Properties of a ReadOnly. */
32079
+ interface IReadOnly {
32080
+
32081
+ /** ReadOnly strong */
32082
+ strong?: (boolean|null);
32083
+
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);
32098
+ }
32099
+
32100
+ /** Represents a ReadOnly. */
32101
+ class ReadOnly implements IReadOnly {
32102
+
32103
+ /**
32104
+ * Constructs a new ReadOnly.
32105
+ * @param [properties] Properties to set
32106
+ */
32107
+ constructor(properties?: google.spanner.v1.TransactionOptions.IReadOnly);
32108
+
32109
+ /** ReadOnly strong. */
32110
+ public strong?: (boolean|null);
32111
+
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");
32129
+
32130
+ /**
32131
+ * Creates a new ReadOnly instance using the specified properties.
32132
+ * @param [properties] Properties to set
32133
+ * @returns ReadOnly instance
32134
+ */
32135
+ public static create(properties?: google.spanner.v1.TransactionOptions.IReadOnly): google.spanner.v1.TransactionOptions.ReadOnly;
32136
+
32137
+ /**
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
32140
+ * @param [writer] Writer to encode to
32141
+ * @returns Writer
32142
+ */
32143
+ public static encode(message: google.spanner.v1.TransactionOptions.IReadOnly, writer?: $protobuf.Writer): $protobuf.Writer;
32144
+
32145
+ /**
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
32148
+ * @param [writer] Writer to encode to
32149
+ * @returns Writer
32150
+ */
32151
+ public static encodeDelimited(message: google.spanner.v1.TransactionOptions.IReadOnly, writer?: $protobuf.Writer): $protobuf.Writer;
32152
+
32153
+ /**
32154
+ * Decodes a ReadOnly message from the specified reader or buffer.
32155
+ * @param reader Reader or buffer to decode from
32156
+ * @param [length] Message length if known beforehand
32157
+ * @returns ReadOnly
32158
+ * @throws {Error} If the payload is not a reader or valid buffer
32159
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32160
+ */
32161
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.TransactionOptions.ReadOnly;
32162
+
32163
+ /**
32164
+ * Decodes a ReadOnly message from the specified reader or buffer, length delimited.
32165
+ * @param reader Reader or buffer to decode from
32166
+ * @returns ReadOnly
32167
+ * @throws {Error} If the payload is not a reader or valid buffer
32168
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32169
+ */
32170
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.TransactionOptions.ReadOnly;
32171
+
32172
+ /**
32173
+ * Verifies a ReadOnly message.
32174
+ * @param message Plain object to verify
32175
+ * @returns `null` if valid, otherwise the reason why it is not
32176
+ */
32177
+ public static verify(message: { [k: string]: any }): (string|null);
32178
+
32179
+ /**
32180
+ * Creates a ReadOnly message from a plain object. Also converts values to their respective internal types.
32181
+ * @param object Plain object
32182
+ * @returns ReadOnly
32183
+ */
32184
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.TransactionOptions.ReadOnly;
32185
+
32186
+ /**
32187
+ * Creates a plain object from a ReadOnly message. Also converts values to other types if specified.
32188
+ * @param message ReadOnly
32189
+ * @param [options] Conversion options
32190
+ * @returns Plain object
32191
+ */
32192
+ public static toObject(message: google.spanner.v1.TransactionOptions.ReadOnly, options?: $protobuf.IConversionOptions): { [k: string]: any };
32193
+
32194
+ /**
32195
+ * Converts this ReadOnly to JSON.
32196
+ * @returns JSON object
32197
+ */
32198
+ public toJSON(): { [k: string]: any };
32199
+
32200
+ /**
32201
+ * Gets the default type url for ReadOnly
32202
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
32203
+ * @returns The default type url
32204
+ */
32205
+ public static getTypeUrl(typeUrlPrefix?: string): string;
32206
+ }
32207
+ }
32208
+
32209
+ /** Properties of a Transaction. */
32210
+ interface ITransaction {
32211
+
32212
+ /** Transaction id */
32213
+ id?: (Uint8Array|string|null);
32214
+
32215
+ /** Transaction readTimestamp */
32216
+ readTimestamp?: (google.protobuf.ITimestamp|null);
32217
+
32218
+ /** Transaction precommitToken */
32219
+ precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
32220
+ }
32221
+
32222
+ /** Represents a Transaction. */
32223
+ class Transaction implements ITransaction {
32224
+
32225
+ /**
32226
+ * Constructs a new Transaction.
32227
+ * @param [properties] Properties to set
32228
+ */
32229
+ constructor(properties?: google.spanner.v1.ITransaction);
32230
+
32231
+ /** Transaction id. */
32232
+ public id: (Uint8Array|string);
32233
+
32234
+ /** Transaction readTimestamp. */
32235
+ public readTimestamp?: (google.protobuf.ITimestamp|null);
32236
+
32237
+ /** Transaction precommitToken. */
32238
+ public precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
32239
+
32240
+ /**
32241
+ * Creates a new Transaction instance using the specified properties.
32242
+ * @param [properties] Properties to set
32243
+ * @returns Transaction instance
32244
+ */
32245
+ public static create(properties?: google.spanner.v1.ITransaction): google.spanner.v1.Transaction;
32246
+
32247
+ /**
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
32250
+ * @param [writer] Writer to encode to
32251
+ * @returns Writer
32252
+ */
32253
+ public static encode(message: google.spanner.v1.ITransaction, writer?: $protobuf.Writer): $protobuf.Writer;
32254
+
32255
+ /**
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
32258
+ * @param [writer] Writer to encode to
32259
+ * @returns Writer
32260
+ */
32261
+ public static encodeDelimited(message: google.spanner.v1.ITransaction, writer?: $protobuf.Writer): $protobuf.Writer;
32262
+
32263
+ /**
32264
+ * Decodes a Transaction message from the specified reader or buffer.
32265
+ * @param reader Reader or buffer to decode from
32266
+ * @param [length] Message length if known beforehand
32267
+ * @returns Transaction
32268
+ * @throws {Error} If the payload is not a reader or valid buffer
32269
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32270
+ */
32271
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.Transaction;
32272
+
32273
+ /**
32274
+ * Decodes a Transaction message from the specified reader or buffer, length delimited.
32275
+ * @param reader Reader or buffer to decode from
32276
+ * @returns Transaction
32277
+ * @throws {Error} If the payload is not a reader or valid buffer
32278
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32279
+ */
32280
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.Transaction;
32281
+
32282
+ /**
32283
+ * Verifies a Transaction message.
32284
+ * @param message Plain object to verify
32285
+ * @returns `null` if valid, otherwise the reason why it is not
32286
+ */
32287
+ public static verify(message: { [k: string]: any }): (string|null);
32288
+
32289
+ /**
32290
+ * Creates a Transaction message from a plain object. Also converts values to their respective internal types.
32291
+ * @param object Plain object
32292
+ * @returns Transaction
32293
+ */
32294
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.Transaction;
32295
+
32296
+ /**
32297
+ * Creates a plain object from a Transaction message. Also converts values to other types if specified.
32298
+ * @param message Transaction
32299
+ * @param [options] Conversion options
32300
+ * @returns Plain object
32301
+ */
32302
+ public static toObject(message: google.spanner.v1.Transaction, options?: $protobuf.IConversionOptions): { [k: string]: any };
32303
+
32304
+ /**
32305
+ * Converts this Transaction to JSON.
32306
+ * @returns JSON object
32307
+ */
32308
+ public toJSON(): { [k: string]: any };
32309
+
32310
+ /**
32311
+ * Gets the default type url for Transaction
32312
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
32313
+ * @returns The default type url
32314
+ */
32315
+ public static getTypeUrl(typeUrlPrefix?: string): string;
32316
+ }
32317
+
32318
+ /** Properties of a TransactionSelector. */
32319
+ interface ITransactionSelector {
32320
+
32321
+ /** TransactionSelector singleUse */
32322
+ singleUse?: (google.spanner.v1.ITransactionOptions|null);
32323
+
32324
+ /** TransactionSelector id */
32325
+ id?: (Uint8Array|string|null);
32326
+
32327
+ /** TransactionSelector begin */
32328
+ begin?: (google.spanner.v1.ITransactionOptions|null);
32329
+ }
32330
+
32331
+ /** Represents a TransactionSelector. */
32332
+ class TransactionSelector implements ITransactionSelector {
32333
+
32334
+ /**
32335
+ * Constructs a new TransactionSelector.
32336
+ * @param [properties] Properties to set
32337
+ */
32338
+ constructor(properties?: google.spanner.v1.ITransactionSelector);
32339
+
32340
+ /** TransactionSelector singleUse. */
32341
+ public singleUse?: (google.spanner.v1.ITransactionOptions|null);
32342
+
32343
+ /** TransactionSelector id. */
32344
+ public id?: (Uint8Array|string|null);
32345
+
32346
+ /** TransactionSelector begin. */
32347
+ public begin?: (google.spanner.v1.ITransactionOptions|null);
32348
+
32349
+ /** TransactionSelector selector. */
32350
+ public selector?: ("singleUse"|"id"|"begin");
32351
+
32352
+ /**
32353
+ * Creates a new TransactionSelector instance using the specified properties.
32354
+ * @param [properties] Properties to set
32355
+ * @returns TransactionSelector instance
32356
+ */
32357
+ public static create(properties?: google.spanner.v1.ITransactionSelector): google.spanner.v1.TransactionSelector;
32358
+
32359
+ /**
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
32362
+ * @param [writer] Writer to encode to
32363
+ * @returns Writer
32364
+ */
32365
+ public static encode(message: google.spanner.v1.ITransactionSelector, writer?: $protobuf.Writer): $protobuf.Writer;
32366
+
32367
+ /**
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
32370
+ * @param [writer] Writer to encode to
32371
+ * @returns Writer
32372
+ */
32373
+ public static encodeDelimited(message: google.spanner.v1.ITransactionSelector, writer?: $protobuf.Writer): $protobuf.Writer;
32374
+
32375
+ /**
32376
+ * Decodes a TransactionSelector message from the specified reader or buffer.
32377
+ * @param reader Reader or buffer to decode from
32378
+ * @param [length] Message length if known beforehand
32379
+ * @returns TransactionSelector
32380
+ * @throws {Error} If the payload is not a reader or valid buffer
32381
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32382
+ */
32383
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.TransactionSelector;
32384
+
32385
+ /**
32386
+ * Decodes a TransactionSelector message from the specified reader or buffer, length delimited.
32387
+ * @param reader Reader or buffer to decode from
32388
+ * @returns TransactionSelector
32389
+ * @throws {Error} If the payload is not a reader or valid buffer
32390
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32391
+ */
32392
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.TransactionSelector;
32393
+
32394
+ /**
32395
+ * Verifies a TransactionSelector message.
32396
+ * @param message Plain object to verify
32397
+ * @returns `null` if valid, otherwise the reason why it is not
32398
+ */
32399
+ public static verify(message: { [k: string]: any }): (string|null);
32400
+
32401
+ /**
32402
+ * Creates a TransactionSelector message from a plain object. Also converts values to their respective internal types.
31629
32403
  * @param object Plain object
31630
- * @returns KeySet
32404
+ * @returns TransactionSelector
31631
32405
  */
31632
- public static fromObject(object: { [k: string]: any }): google.spanner.v1.KeySet;
32406
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.TransactionSelector;
31633
32407
 
31634
32408
  /**
31635
- * Creates a plain object from a KeySet message. Also converts values to other types if specified.
31636
- * @param message KeySet
32409
+ * Creates a plain object from a TransactionSelector message. Also converts values to other types if specified.
32410
+ * @param message TransactionSelector
31637
32411
  * @param [options] Conversion options
31638
32412
  * @returns Plain object
31639
32413
  */
31640
- public static toObject(message: google.spanner.v1.KeySet, options?: $protobuf.IConversionOptions): { [k: string]: any };
32414
+ public static toObject(message: google.spanner.v1.TransactionSelector, options?: $protobuf.IConversionOptions): { [k: string]: any };
31641
32415
 
31642
32416
  /**
31643
- * Converts this KeySet to JSON.
32417
+ * Converts this TransactionSelector to JSON.
31644
32418
  * @returns JSON object
31645
32419
  */
31646
32420
  public toJSON(): { [k: string]: any };
31647
32421
 
31648
32422
  /**
31649
- * Gets the default type url for KeySet
32423
+ * Gets the default type url for TransactionSelector
31650
32424
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
31651
32425
  * @returns The default type url
31652
32426
  */
31653
32427
  public static getTypeUrl(typeUrlPrefix?: string): string;
31654
32428
  }
31655
32429
 
31656
- /** Properties of a Mutation. */
31657
- interface IMutation {
31658
-
31659
- /** Mutation insert */
31660
- insert?: (google.spanner.v1.Mutation.IWrite|null);
31661
-
31662
- /** Mutation update */
31663
- update?: (google.spanner.v1.Mutation.IWrite|null);
31664
-
31665
- /** Mutation insertOrUpdate */
31666
- insertOrUpdate?: (google.spanner.v1.Mutation.IWrite|null);
32430
+ /** Properties of a MultiplexedSessionPrecommitToken. */
32431
+ interface IMultiplexedSessionPrecommitToken {
31667
32432
 
31668
- /** Mutation replace */
31669
- replace?: (google.spanner.v1.Mutation.IWrite|null);
32433
+ /** MultiplexedSessionPrecommitToken precommitToken */
32434
+ precommitToken?: (Uint8Array|string|null);
31670
32435
 
31671
- /** Mutation delete */
31672
- "delete"?: (google.spanner.v1.Mutation.IDelete|null);
32436
+ /** MultiplexedSessionPrecommitToken seqNum */
32437
+ seqNum?: (number|null);
31673
32438
  }
31674
32439
 
31675
- /** Represents a Mutation. */
31676
- class Mutation implements IMutation {
32440
+ /** Represents a MultiplexedSessionPrecommitToken. */
32441
+ class MultiplexedSessionPrecommitToken implements IMultiplexedSessionPrecommitToken {
31677
32442
 
31678
32443
  /**
31679
- * Constructs a new Mutation.
32444
+ * Constructs a new MultiplexedSessionPrecommitToken.
31680
32445
  * @param [properties] Properties to set
31681
32446
  */
31682
- constructor(properties?: google.spanner.v1.IMutation);
31683
-
31684
- /** Mutation insert. */
31685
- public insert?: (google.spanner.v1.Mutation.IWrite|null);
31686
-
31687
- /** Mutation update. */
31688
- public update?: (google.spanner.v1.Mutation.IWrite|null);
32447
+ constructor(properties?: google.spanner.v1.IMultiplexedSessionPrecommitToken);
31689
32448
 
31690
- /** Mutation insertOrUpdate. */
31691
- public insertOrUpdate?: (google.spanner.v1.Mutation.IWrite|null);
31692
-
31693
- /** Mutation replace. */
31694
- public replace?: (google.spanner.v1.Mutation.IWrite|null);
31695
-
31696
- /** Mutation delete. */
31697
- public delete?: (google.spanner.v1.Mutation.IDelete|null);
32449
+ /** MultiplexedSessionPrecommitToken precommitToken. */
32450
+ public precommitToken: (Uint8Array|string);
31698
32451
 
31699
- /** Mutation operation. */
31700
- public operation?: ("insert"|"update"|"insertOrUpdate"|"replace"|"delete");
32452
+ /** MultiplexedSessionPrecommitToken seqNum. */
32453
+ public seqNum: number;
31701
32454
 
31702
32455
  /**
31703
- * Creates a new Mutation instance using the specified properties.
32456
+ * Creates a new MultiplexedSessionPrecommitToken instance using the specified properties.
31704
32457
  * @param [properties] Properties to set
31705
- * @returns Mutation instance
32458
+ * @returns MultiplexedSessionPrecommitToken instance
31706
32459
  */
31707
- public static create(properties?: google.spanner.v1.IMutation): google.spanner.v1.Mutation;
32460
+ public static create(properties?: google.spanner.v1.IMultiplexedSessionPrecommitToken): google.spanner.v1.MultiplexedSessionPrecommitToken;
31708
32461
 
31709
32462
  /**
31710
- * Encodes the specified Mutation message. Does not implicitly {@link google.spanner.v1.Mutation.verify|verify} messages.
31711
- * @param message Mutation 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
31712
32465
  * @param [writer] Writer to encode to
31713
32466
  * @returns Writer
31714
32467
  */
31715
- public static encode(message: google.spanner.v1.IMutation, writer?: $protobuf.Writer): $protobuf.Writer;
32468
+ public static encode(message: google.spanner.v1.IMultiplexedSessionPrecommitToken, writer?: $protobuf.Writer): $protobuf.Writer;
31716
32469
 
31717
32470
  /**
31718
- * Encodes the specified Mutation message, length delimited. Does not implicitly {@link google.spanner.v1.Mutation.verify|verify} messages.
31719
- * @param message Mutation 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
31720
32473
  * @param [writer] Writer to encode to
31721
32474
  * @returns Writer
31722
32475
  */
31723
- public static encodeDelimited(message: google.spanner.v1.IMutation, writer?: $protobuf.Writer): $protobuf.Writer;
32476
+ public static encodeDelimited(message: google.spanner.v1.IMultiplexedSessionPrecommitToken, writer?: $protobuf.Writer): $protobuf.Writer;
31724
32477
 
31725
32478
  /**
31726
- * Decodes a Mutation message from the specified reader or buffer.
32479
+ * Decodes a MultiplexedSessionPrecommitToken message from the specified reader or buffer.
31727
32480
  * @param reader Reader or buffer to decode from
31728
32481
  * @param [length] Message length if known beforehand
31729
- * @returns Mutation
32482
+ * @returns MultiplexedSessionPrecommitToken
31730
32483
  * @throws {Error} If the payload is not a reader or valid buffer
31731
32484
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
31732
32485
  */
31733
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.Mutation;
32486
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.MultiplexedSessionPrecommitToken;
31734
32487
 
31735
32488
  /**
31736
- * Decodes a Mutation message from the specified reader or buffer, length delimited.
32489
+ * Decodes a MultiplexedSessionPrecommitToken message from the specified reader or buffer, length delimited.
31737
32490
  * @param reader Reader or buffer to decode from
31738
- * @returns Mutation
32491
+ * @returns MultiplexedSessionPrecommitToken
31739
32492
  * @throws {Error} If the payload is not a reader or valid buffer
31740
32493
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
31741
32494
  */
31742
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.Mutation;
32495
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.MultiplexedSessionPrecommitToken;
31743
32496
 
31744
32497
  /**
31745
- * Verifies a Mutation message.
32498
+ * Verifies a MultiplexedSessionPrecommitToken message.
31746
32499
  * @param message Plain object to verify
31747
32500
  * @returns `null` if valid, otherwise the reason why it is not
31748
32501
  */
31749
32502
  public static verify(message: { [k: string]: any }): (string|null);
31750
32503
 
31751
32504
  /**
31752
- * Creates a Mutation 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.
31753
32506
  * @param object Plain object
31754
- * @returns Mutation
32507
+ * @returns MultiplexedSessionPrecommitToken
31755
32508
  */
31756
- public static fromObject(object: { [k: string]: any }): google.spanner.v1.Mutation;
32509
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.MultiplexedSessionPrecommitToken;
31757
32510
 
31758
32511
  /**
31759
- * Creates a plain object from a Mutation message. Also converts values to other types if specified.
31760
- * @param message Mutation
32512
+ * Creates a plain object from a MultiplexedSessionPrecommitToken message. Also converts values to other types if specified.
32513
+ * @param message MultiplexedSessionPrecommitToken
31761
32514
  * @param [options] Conversion options
31762
32515
  * @returns Plain object
31763
32516
  */
31764
- public static toObject(message: google.spanner.v1.Mutation, options?: $protobuf.IConversionOptions): { [k: string]: any };
32517
+ public static toObject(message: google.spanner.v1.MultiplexedSessionPrecommitToken, options?: $protobuf.IConversionOptions): { [k: string]: any };
31765
32518
 
31766
32519
  /**
31767
- * Converts this Mutation to JSON.
32520
+ * Converts this MultiplexedSessionPrecommitToken to JSON.
31768
32521
  * @returns JSON object
31769
32522
  */
31770
32523
  public toJSON(): { [k: string]: any };
31771
32524
 
31772
32525
  /**
31773
- * Gets the default type url for Mutation
32526
+ * Gets the default type url for MultiplexedSessionPrecommitToken
31774
32527
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
31775
32528
  * @returns The default type url
31776
32529
  */
31777
32530
  public static getTypeUrl(typeUrlPrefix?: string): string;
31778
32531
  }
31779
32532
 
31780
- namespace Mutation {
31781
-
31782
- /** Properties of a Write. */
31783
- interface IWrite {
31784
-
31785
- /** Write table */
31786
- table?: (string|null);
31787
-
31788
- /** Write columns */
31789
- columns?: (string[]|null);
31790
-
31791
- /** Write values */
31792
- values?: (google.protobuf.IListValue[]|null);
31793
- }
31794
-
31795
- /** Represents a Write. */
31796
- class Write implements IWrite {
31797
-
31798
- /**
31799
- * Constructs a new Write.
31800
- * @param [properties] Properties to set
31801
- */
31802
- constructor(properties?: google.spanner.v1.Mutation.IWrite);
31803
-
31804
- /** Write table. */
31805
- public table: string;
31806
-
31807
- /** Write columns. */
31808
- public columns: string[];
31809
-
31810
- /** Write values. */
31811
- public values: google.protobuf.IListValue[];
31812
-
31813
- /**
31814
- * Creates a new Write instance using the specified properties.
31815
- * @param [properties] Properties to set
31816
- * @returns Write instance
31817
- */
31818
- public static create(properties?: google.spanner.v1.Mutation.IWrite): google.spanner.v1.Mutation.Write;
31819
-
31820
- /**
31821
- * Encodes the specified Write message. Does not implicitly {@link google.spanner.v1.Mutation.Write.verify|verify} messages.
31822
- * @param message Write message or plain object to encode
31823
- * @param [writer] Writer to encode to
31824
- * @returns Writer
31825
- */
31826
- public static encode(message: google.spanner.v1.Mutation.IWrite, writer?: $protobuf.Writer): $protobuf.Writer;
31827
-
31828
- /**
31829
- * Encodes the specified Write message, length delimited. Does not implicitly {@link google.spanner.v1.Mutation.Write.verify|verify} messages.
31830
- * @param message Write message or plain object to encode
31831
- * @param [writer] Writer to encode to
31832
- * @returns Writer
31833
- */
31834
- public static encodeDelimited(message: google.spanner.v1.Mutation.IWrite, writer?: $protobuf.Writer): $protobuf.Writer;
31835
-
31836
- /**
31837
- * Decodes a Write message from the specified reader or buffer.
31838
- * @param reader Reader or buffer to decode from
31839
- * @param [length] Message length if known beforehand
31840
- * @returns Write
31841
- * @throws {Error} If the payload is not a reader or valid buffer
31842
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
31843
- */
31844
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.Mutation.Write;
31845
-
31846
- /**
31847
- * Decodes a Write message from the specified reader or buffer, length delimited.
31848
- * @param reader Reader or buffer to decode from
31849
- * @returns Write
31850
- * @throws {Error} If the payload is not a reader or valid buffer
31851
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
31852
- */
31853
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.Mutation.Write;
32533
+ /** Properties of a KeyRange. */
32534
+ interface IKeyRange {
31854
32535
 
31855
- /**
31856
- * Verifies a Write message.
31857
- * @param message Plain object to verify
31858
- * @returns `null` if valid, otherwise the reason why it is not
31859
- */
31860
- public static verify(message: { [k: string]: any }): (string|null);
32536
+ /** KeyRange startClosed */
32537
+ startClosed?: (google.protobuf.IListValue|null);
31861
32538
 
31862
- /**
31863
- * Creates a Write message from a plain object. Also converts values to their respective internal types.
31864
- * @param object Plain object
31865
- * @returns Write
31866
- */
31867
- public static fromObject(object: { [k: string]: any }): google.spanner.v1.Mutation.Write;
32539
+ /** KeyRange startOpen */
32540
+ startOpen?: (google.protobuf.IListValue|null);
31868
32541
 
31869
- /**
31870
- * Creates a plain object from a Write message. Also converts values to other types if specified.
31871
- * @param message Write
31872
- * @param [options] Conversion options
31873
- * @returns Plain object
31874
- */
31875
- public static toObject(message: google.spanner.v1.Mutation.Write, options?: $protobuf.IConversionOptions): { [k: string]: any };
32542
+ /** KeyRange endClosed */
32543
+ endClosed?: (google.protobuf.IListValue|null);
31876
32544
 
31877
- /**
31878
- * Converts this Write to JSON.
31879
- * @returns JSON object
31880
- */
31881
- public toJSON(): { [k: string]: any };
32545
+ /** KeyRange endOpen */
32546
+ endOpen?: (google.protobuf.IListValue|null);
32547
+ }
31882
32548
 
31883
- /**
31884
- * Gets the default type url for Write
31885
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
31886
- * @returns The default type url
31887
- */
31888
- public static getTypeUrl(typeUrlPrefix?: string): string;
31889
- }
32549
+ /** Represents a KeyRange. */
32550
+ class KeyRange implements IKeyRange {
31890
32551
 
31891
- /** Properties of a Delete. */
31892
- interface IDelete {
32552
+ /**
32553
+ * Constructs a new KeyRange.
32554
+ * @param [properties] Properties to set
32555
+ */
32556
+ constructor(properties?: google.spanner.v1.IKeyRange);
31893
32557
 
31894
- /** Delete table */
31895
- table?: (string|null);
32558
+ /** KeyRange startClosed. */
32559
+ public startClosed?: (google.protobuf.IListValue|null);
31896
32560
 
31897
- /** Delete keySet */
31898
- keySet?: (google.spanner.v1.IKeySet|null);
31899
- }
32561
+ /** KeyRange startOpen. */
32562
+ public startOpen?: (google.protobuf.IListValue|null);
31900
32563
 
31901
- /** Represents a Delete. */
31902
- class Delete implements IDelete {
32564
+ /** KeyRange endClosed. */
32565
+ public endClosed?: (google.protobuf.IListValue|null);
31903
32566
 
31904
- /**
31905
- * Constructs a new Delete.
31906
- * @param [properties] Properties to set
31907
- */
31908
- constructor(properties?: google.spanner.v1.Mutation.IDelete);
32567
+ /** KeyRange endOpen. */
32568
+ public endOpen?: (google.protobuf.IListValue|null);
31909
32569
 
31910
- /** Delete table. */
31911
- public table: string;
32570
+ /** KeyRange startKeyType. */
32571
+ public startKeyType?: ("startClosed"|"startOpen");
31912
32572
 
31913
- /** Delete keySet. */
31914
- public keySet?: (google.spanner.v1.IKeySet|null);
32573
+ /** KeyRange endKeyType. */
32574
+ public endKeyType?: ("endClosed"|"endOpen");
31915
32575
 
31916
- /**
31917
- * Creates a new Delete instance using the specified properties.
31918
- * @param [properties] Properties to set
31919
- * @returns Delete instance
31920
- */
31921
- public static create(properties?: google.spanner.v1.Mutation.IDelete): google.spanner.v1.Mutation.Delete;
32576
+ /**
32577
+ * Creates a new KeyRange instance using the specified properties.
32578
+ * @param [properties] Properties to set
32579
+ * @returns KeyRange instance
32580
+ */
32581
+ public static create(properties?: google.spanner.v1.IKeyRange): google.spanner.v1.KeyRange;
31922
32582
 
31923
- /**
31924
- * Encodes the specified Delete message. Does not implicitly {@link google.spanner.v1.Mutation.Delete.verify|verify} messages.
31925
- * @param message Delete message or plain object to encode
31926
- * @param [writer] Writer to encode to
31927
- * @returns Writer
31928
- */
31929
- public static encode(message: google.spanner.v1.Mutation.IDelete, writer?: $protobuf.Writer): $protobuf.Writer;
32583
+ /**
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
32586
+ * @param [writer] Writer to encode to
32587
+ * @returns Writer
32588
+ */
32589
+ public static encode(message: google.spanner.v1.IKeyRange, writer?: $protobuf.Writer): $protobuf.Writer;
31930
32590
 
31931
- /**
31932
- * Encodes the specified Delete message, length delimited. Does not implicitly {@link google.spanner.v1.Mutation.Delete.verify|verify} messages.
31933
- * @param message Delete message or plain object to encode
31934
- * @param [writer] Writer to encode to
31935
- * @returns Writer
31936
- */
31937
- public static encodeDelimited(message: google.spanner.v1.Mutation.IDelete, writer?: $protobuf.Writer): $protobuf.Writer;
32591
+ /**
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
32594
+ * @param [writer] Writer to encode to
32595
+ * @returns Writer
32596
+ */
32597
+ public static encodeDelimited(message: google.spanner.v1.IKeyRange, writer?: $protobuf.Writer): $protobuf.Writer;
31938
32598
 
31939
- /**
31940
- * Decodes a Delete message from the specified reader or buffer.
31941
- * @param reader Reader or buffer to decode from
31942
- * @param [length] Message length if known beforehand
31943
- * @returns Delete
31944
- * @throws {Error} If the payload is not a reader or valid buffer
31945
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
31946
- */
31947
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.Mutation.Delete;
32599
+ /**
32600
+ * Decodes a KeyRange message from the specified reader or buffer.
32601
+ * @param reader Reader or buffer to decode from
32602
+ * @param [length] Message length if known beforehand
32603
+ * @returns KeyRange
32604
+ * @throws {Error} If the payload is not a reader or valid buffer
32605
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32606
+ */
32607
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.KeyRange;
31948
32608
 
31949
- /**
31950
- * Decodes a Delete message from the specified reader or buffer, length delimited.
31951
- * @param reader Reader or buffer to decode from
31952
- * @returns Delete
31953
- * @throws {Error} If the payload is not a reader or valid buffer
31954
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
31955
- */
31956
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.Mutation.Delete;
32609
+ /**
32610
+ * Decodes a KeyRange message from the specified reader or buffer, length delimited.
32611
+ * @param reader Reader or buffer to decode from
32612
+ * @returns KeyRange
32613
+ * @throws {Error} If the payload is not a reader or valid buffer
32614
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32615
+ */
32616
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.KeyRange;
31957
32617
 
31958
- /**
31959
- * Verifies a Delete message.
31960
- * @param message Plain object to verify
31961
- * @returns `null` if valid, otherwise the reason why it is not
31962
- */
31963
- public static verify(message: { [k: string]: any }): (string|null);
32618
+ /**
32619
+ * Verifies a KeyRange message.
32620
+ * @param message Plain object to verify
32621
+ * @returns `null` if valid, otherwise the reason why it is not
32622
+ */
32623
+ public static verify(message: { [k: string]: any }): (string|null);
31964
32624
 
31965
- /**
31966
- * Creates a Delete message from a plain object. Also converts values to their respective internal types.
31967
- * @param object Plain object
31968
- * @returns Delete
31969
- */
31970
- public static fromObject(object: { [k: string]: any }): google.spanner.v1.Mutation.Delete;
32625
+ /**
32626
+ * Creates a KeyRange message from a plain object. Also converts values to their respective internal types.
32627
+ * @param object Plain object
32628
+ * @returns KeyRange
32629
+ */
32630
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.KeyRange;
31971
32631
 
31972
- /**
31973
- * Creates a plain object from a Delete message. Also converts values to other types if specified.
31974
- * @param message Delete
31975
- * @param [options] Conversion options
31976
- * @returns Plain object
31977
- */
31978
- public static toObject(message: google.spanner.v1.Mutation.Delete, options?: $protobuf.IConversionOptions): { [k: string]: any };
32632
+ /**
32633
+ * Creates a plain object from a KeyRange message. Also converts values to other types if specified.
32634
+ * @param message KeyRange
32635
+ * @param [options] Conversion options
32636
+ * @returns Plain object
32637
+ */
32638
+ public static toObject(message: google.spanner.v1.KeyRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
31979
32639
 
31980
- /**
31981
- * Converts this Delete to JSON.
31982
- * @returns JSON object
31983
- */
31984
- public toJSON(): { [k: string]: any };
32640
+ /**
32641
+ * Converts this KeyRange to JSON.
32642
+ * @returns JSON object
32643
+ */
32644
+ public toJSON(): { [k: string]: any };
31985
32645
 
31986
- /**
31987
- * Gets the default type url for Delete
31988
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
31989
- * @returns The default type url
31990
- */
31991
- public static getTypeUrl(typeUrlPrefix?: string): string;
31992
- }
32646
+ /**
32647
+ * Gets the default type url for KeyRange
32648
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
32649
+ * @returns The default type url
32650
+ */
32651
+ public static getTypeUrl(typeUrlPrefix?: string): string;
31993
32652
  }
31994
32653
 
31995
- /** Properties of a ResultSet. */
31996
- interface IResultSet {
32654
+ /** Properties of a KeySet. */
32655
+ interface IKeySet {
31997
32656
 
31998
- /** ResultSet metadata */
31999
- metadata?: (google.spanner.v1.IResultSetMetadata|null);
32657
+ /** KeySet keys */
32658
+ keys?: (google.protobuf.IListValue[]|null);
32000
32659
 
32001
- /** ResultSet rows */
32002
- rows?: (google.protobuf.IListValue[]|null);
32660
+ /** KeySet ranges */
32661
+ ranges?: (google.spanner.v1.IKeyRange[]|null);
32003
32662
 
32004
- /** ResultSet stats */
32005
- stats?: (google.spanner.v1.IResultSetStats|null);
32663
+ /** KeySet all */
32664
+ all?: (boolean|null);
32006
32665
  }
32007
32666
 
32008
- /** Represents a ResultSet. */
32009
- class ResultSet implements IResultSet {
32667
+ /** Represents a KeySet. */
32668
+ class KeySet implements IKeySet {
32010
32669
 
32011
32670
  /**
32012
- * Constructs a new ResultSet.
32671
+ * Constructs a new KeySet.
32013
32672
  * @param [properties] Properties to set
32014
32673
  */
32015
- constructor(properties?: google.spanner.v1.IResultSet);
32674
+ constructor(properties?: google.spanner.v1.IKeySet);
32016
32675
 
32017
- /** ResultSet metadata. */
32018
- public metadata?: (google.spanner.v1.IResultSetMetadata|null);
32676
+ /** KeySet keys. */
32677
+ public keys: google.protobuf.IListValue[];
32019
32678
 
32020
- /** ResultSet rows. */
32021
- public rows: google.protobuf.IListValue[];
32679
+ /** KeySet ranges. */
32680
+ public ranges: google.spanner.v1.IKeyRange[];
32022
32681
 
32023
- /** ResultSet stats. */
32024
- public stats?: (google.spanner.v1.IResultSetStats|null);
32682
+ /** KeySet all. */
32683
+ public all: boolean;
32025
32684
 
32026
32685
  /**
32027
- * Creates a new ResultSet instance using the specified properties.
32686
+ * Creates a new KeySet instance using the specified properties.
32028
32687
  * @param [properties] Properties to set
32029
- * @returns ResultSet instance
32688
+ * @returns KeySet instance
32030
32689
  */
32031
- public static create(properties?: google.spanner.v1.IResultSet): google.spanner.v1.ResultSet;
32690
+ public static create(properties?: google.spanner.v1.IKeySet): google.spanner.v1.KeySet;
32032
32691
 
32033
32692
  /**
32034
- * Encodes the specified ResultSet message. Does not implicitly {@link google.spanner.v1.ResultSet.verify|verify} messages.
32035
- * @param message ResultSet 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
32036
32695
  * @param [writer] Writer to encode to
32037
32696
  * @returns Writer
32038
32697
  */
32039
- public static encode(message: google.spanner.v1.IResultSet, writer?: $protobuf.Writer): $protobuf.Writer;
32698
+ public static encode(message: google.spanner.v1.IKeySet, writer?: $protobuf.Writer): $protobuf.Writer;
32040
32699
 
32041
32700
  /**
32042
- * Encodes the specified ResultSet message, length delimited. Does not implicitly {@link google.spanner.v1.ResultSet.verify|verify} messages.
32043
- * @param message ResultSet 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
32044
32703
  * @param [writer] Writer to encode to
32045
32704
  * @returns Writer
32046
32705
  */
32047
- public static encodeDelimited(message: google.spanner.v1.IResultSet, writer?: $protobuf.Writer): $protobuf.Writer;
32706
+ public static encodeDelimited(message: google.spanner.v1.IKeySet, writer?: $protobuf.Writer): $protobuf.Writer;
32048
32707
 
32049
32708
  /**
32050
- * Decodes a ResultSet message from the specified reader or buffer.
32709
+ * Decodes a KeySet message from the specified reader or buffer.
32051
32710
  * @param reader Reader or buffer to decode from
32052
32711
  * @param [length] Message length if known beforehand
32053
- * @returns ResultSet
32712
+ * @returns KeySet
32054
32713
  * @throws {Error} If the payload is not a reader or valid buffer
32055
32714
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
32056
32715
  */
32057
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.ResultSet;
32716
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.KeySet;
32058
32717
 
32059
32718
  /**
32060
- * Decodes a ResultSet message from the specified reader or buffer, length delimited.
32719
+ * Decodes a KeySet message from the specified reader or buffer, length delimited.
32061
32720
  * @param reader Reader or buffer to decode from
32062
- * @returns ResultSet
32721
+ * @returns KeySet
32063
32722
  * @throws {Error} If the payload is not a reader or valid buffer
32064
32723
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
32065
32724
  */
32066
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.ResultSet;
32725
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.KeySet;
32067
32726
 
32068
32727
  /**
32069
- * Verifies a ResultSet message.
32728
+ * Verifies a KeySet message.
32070
32729
  * @param message Plain object to verify
32071
32730
  * @returns `null` if valid, otherwise the reason why it is not
32072
32731
  */
32073
32732
  public static verify(message: { [k: string]: any }): (string|null);
32074
32733
 
32075
32734
  /**
32076
- * Creates a ResultSet 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.
32077
32736
  * @param object Plain object
32078
- * @returns ResultSet
32737
+ * @returns KeySet
32079
32738
  */
32080
- public static fromObject(object: { [k: string]: any }): google.spanner.v1.ResultSet;
32739
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.KeySet;
32081
32740
 
32082
32741
  /**
32083
- * Creates a plain object from a ResultSet message. Also converts values to other types if specified.
32084
- * @param message ResultSet
32742
+ * Creates a plain object from a KeySet message. Also converts values to other types if specified.
32743
+ * @param message KeySet
32085
32744
  * @param [options] Conversion options
32086
32745
  * @returns Plain object
32087
32746
  */
32088
- public static toObject(message: google.spanner.v1.ResultSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
32747
+ public static toObject(message: google.spanner.v1.KeySet, options?: $protobuf.IConversionOptions): { [k: string]: any };
32089
32748
 
32090
32749
  /**
32091
- * Converts this ResultSet to JSON.
32750
+ * Converts this KeySet to JSON.
32092
32751
  * @returns JSON object
32093
32752
  */
32094
32753
  public toJSON(): { [k: string]: any };
32095
32754
 
32096
32755
  /**
32097
- * Gets the default type url for ResultSet
32756
+ * Gets the default type url for KeySet
32098
32757
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
32099
32758
  * @returns The default type url
32100
32759
  */
32101
32760
  public static getTypeUrl(typeUrlPrefix?: string): string;
32102
32761
  }
32103
32762
 
32104
- /** Properties of a PartialResultSet. */
32105
- interface IPartialResultSet {
32763
+ /** Properties of a Mutation. */
32764
+ interface IMutation {
32106
32765
 
32107
- /** PartialResultSet metadata */
32108
- metadata?: (google.spanner.v1.IResultSetMetadata|null);
32766
+ /** Mutation insert */
32767
+ insert?: (google.spanner.v1.Mutation.IWrite|null);
32109
32768
 
32110
- /** PartialResultSet values */
32111
- values?: (google.protobuf.IValue[]|null);
32769
+ /** Mutation update */
32770
+ update?: (google.spanner.v1.Mutation.IWrite|null);
32112
32771
 
32113
- /** PartialResultSet chunkedValue */
32114
- chunkedValue?: (boolean|null);
32772
+ /** Mutation insertOrUpdate */
32773
+ insertOrUpdate?: (google.spanner.v1.Mutation.IWrite|null);
32115
32774
 
32116
- /** PartialResultSet resumeToken */
32117
- resumeToken?: (Uint8Array|string|null);
32775
+ /** Mutation replace */
32776
+ replace?: (google.spanner.v1.Mutation.IWrite|null);
32118
32777
 
32119
- /** PartialResultSet stats */
32120
- stats?: (google.spanner.v1.IResultSetStats|null);
32778
+ /** Mutation delete */
32779
+ "delete"?: (google.spanner.v1.Mutation.IDelete|null);
32121
32780
  }
32122
32781
 
32123
- /** Represents a PartialResultSet. */
32124
- class PartialResultSet implements IPartialResultSet {
32782
+ /** Represents a Mutation. */
32783
+ class Mutation implements IMutation {
32125
32784
 
32126
32785
  /**
32127
- * Constructs a new PartialResultSet.
32786
+ * Constructs a new Mutation.
32128
32787
  * @param [properties] Properties to set
32129
32788
  */
32130
- constructor(properties?: google.spanner.v1.IPartialResultSet);
32789
+ constructor(properties?: google.spanner.v1.IMutation);
32131
32790
 
32132
- /** PartialResultSet metadata. */
32133
- public metadata?: (google.spanner.v1.IResultSetMetadata|null);
32791
+ /** Mutation insert. */
32792
+ public insert?: (google.spanner.v1.Mutation.IWrite|null);
32134
32793
 
32135
- /** PartialResultSet values. */
32136
- public values: google.protobuf.IValue[];
32794
+ /** Mutation update. */
32795
+ public update?: (google.spanner.v1.Mutation.IWrite|null);
32137
32796
 
32138
- /** PartialResultSet chunkedValue. */
32139
- public chunkedValue: boolean;
32797
+ /** Mutation insertOrUpdate. */
32798
+ public insertOrUpdate?: (google.spanner.v1.Mutation.IWrite|null);
32140
32799
 
32141
- /** PartialResultSet resumeToken. */
32142
- public resumeToken: (Uint8Array|string);
32800
+ /** Mutation replace. */
32801
+ public replace?: (google.spanner.v1.Mutation.IWrite|null);
32143
32802
 
32144
- /** PartialResultSet stats. */
32145
- public stats?: (google.spanner.v1.IResultSetStats|null);
32803
+ /** Mutation delete. */
32804
+ public delete?: (google.spanner.v1.Mutation.IDelete|null);
32805
+
32806
+ /** Mutation operation. */
32807
+ public operation?: ("insert"|"update"|"insertOrUpdate"|"replace"|"delete");
32146
32808
 
32147
32809
  /**
32148
- * Creates a new PartialResultSet instance using the specified properties.
32810
+ * Creates a new Mutation instance using the specified properties.
32149
32811
  * @param [properties] Properties to set
32150
- * @returns PartialResultSet instance
32812
+ * @returns Mutation instance
32151
32813
  */
32152
- public static create(properties?: google.spanner.v1.IPartialResultSet): google.spanner.v1.PartialResultSet;
32814
+ public static create(properties?: google.spanner.v1.IMutation): google.spanner.v1.Mutation;
32153
32815
 
32154
32816
  /**
32155
- * Encodes the specified PartialResultSet message. Does not implicitly {@link google.spanner.v1.PartialResultSet.verify|verify} messages.
32156
- * @param message PartialResultSet message or plain object to encode
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
32157
32819
  * @param [writer] Writer to encode to
32158
32820
  * @returns Writer
32159
32821
  */
32160
- public static encode(message: google.spanner.v1.IPartialResultSet, writer?: $protobuf.Writer): $protobuf.Writer;
32822
+ public static encode(message: google.spanner.v1.IMutation, writer?: $protobuf.Writer): $protobuf.Writer;
32161
32823
 
32162
32824
  /**
32163
- * Encodes the specified PartialResultSet message, length delimited. Does not implicitly {@link google.spanner.v1.PartialResultSet.verify|verify} messages.
32164
- * @param message PartialResultSet message or plain object to encode
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
32165
32827
  * @param [writer] Writer to encode to
32166
32828
  * @returns Writer
32167
32829
  */
32168
- public static encodeDelimited(message: google.spanner.v1.IPartialResultSet, writer?: $protobuf.Writer): $protobuf.Writer;
32830
+ public static encodeDelimited(message: google.spanner.v1.IMutation, writer?: $protobuf.Writer): $protobuf.Writer;
32169
32831
 
32170
32832
  /**
32171
- * Decodes a PartialResultSet message from the specified reader or buffer.
32833
+ * Decodes a Mutation message from the specified reader or buffer.
32172
32834
  * @param reader Reader or buffer to decode from
32173
32835
  * @param [length] Message length if known beforehand
32174
- * @returns PartialResultSet
32836
+ * @returns Mutation
32175
32837
  * @throws {Error} If the payload is not a reader or valid buffer
32176
32838
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
32177
32839
  */
32178
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.PartialResultSet;
32840
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.Mutation;
32179
32841
 
32180
32842
  /**
32181
- * Decodes a PartialResultSet message from the specified reader or buffer, length delimited.
32843
+ * Decodes a Mutation message from the specified reader or buffer, length delimited.
32182
32844
  * @param reader Reader or buffer to decode from
32183
- * @returns PartialResultSet
32845
+ * @returns Mutation
32184
32846
  * @throws {Error} If the payload is not a reader or valid buffer
32185
32847
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
32186
32848
  */
32187
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.PartialResultSet;
32849
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.Mutation;
32188
32850
 
32189
32851
  /**
32190
- * Verifies a PartialResultSet message.
32852
+ * Verifies a Mutation message.
32191
32853
  * @param message Plain object to verify
32192
32854
  * @returns `null` if valid, otherwise the reason why it is not
32193
32855
  */
32194
32856
  public static verify(message: { [k: string]: any }): (string|null);
32195
32857
 
32196
32858
  /**
32197
- * Creates a PartialResultSet message from a plain object. Also converts values to their respective internal types.
32859
+ * Creates a Mutation message from a plain object. Also converts values to their respective internal types.
32198
32860
  * @param object Plain object
32199
- * @returns PartialResultSet
32861
+ * @returns Mutation
32200
32862
  */
32201
- public static fromObject(object: { [k: string]: any }): google.spanner.v1.PartialResultSet;
32863
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.Mutation;
32202
32864
 
32203
32865
  /**
32204
- * Creates a plain object from a PartialResultSet message. Also converts values to other types if specified.
32205
- * @param message PartialResultSet
32866
+ * Creates a plain object from a Mutation message. Also converts values to other types if specified.
32867
+ * @param message Mutation
32206
32868
  * @param [options] Conversion options
32207
32869
  * @returns Plain object
32208
32870
  */
32209
- public static toObject(message: google.spanner.v1.PartialResultSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
32871
+ public static toObject(message: google.spanner.v1.Mutation, options?: $protobuf.IConversionOptions): { [k: string]: any };
32210
32872
 
32211
32873
  /**
32212
- * Converts this PartialResultSet to JSON.
32874
+ * Converts this Mutation to JSON.
32213
32875
  * @returns JSON object
32214
32876
  */
32215
32877
  public toJSON(): { [k: string]: any };
32216
32878
 
32217
32879
  /**
32218
- * Gets the default type url for PartialResultSet
32880
+ * Gets the default type url for Mutation
32219
32881
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
32220
32882
  * @returns The default type url
32221
32883
  */
32222
32884
  public static getTypeUrl(typeUrlPrefix?: string): string;
32223
32885
  }
32224
32886
 
32225
- /** Properties of a ResultSetMetadata. */
32226
- interface IResultSetMetadata {
32887
+ namespace Mutation {
32227
32888
 
32228
- /** ResultSetMetadata rowType */
32229
- rowType?: (google.spanner.v1.IStructType|null);
32889
+ /** Properties of a Write. */
32890
+ interface IWrite {
32230
32891
 
32231
- /** ResultSetMetadata transaction */
32232
- transaction?: (google.spanner.v1.ITransaction|null);
32892
+ /** Write table */
32893
+ table?: (string|null);
32233
32894
 
32234
- /** ResultSetMetadata undeclaredParameters */
32235
- undeclaredParameters?: (google.spanner.v1.IStructType|null);
32236
- }
32895
+ /** Write columns */
32896
+ columns?: (string[]|null);
32237
32897
 
32238
- /** Represents a ResultSetMetadata. */
32239
- class ResultSetMetadata implements IResultSetMetadata {
32898
+ /** Write values */
32899
+ values?: (google.protobuf.IListValue[]|null);
32900
+ }
32240
32901
 
32241
- /**
32242
- * Constructs a new ResultSetMetadata.
32243
- * @param [properties] Properties to set
32244
- */
32245
- constructor(properties?: google.spanner.v1.IResultSetMetadata);
32902
+ /** Represents a Write. */
32903
+ class Write implements IWrite {
32246
32904
 
32247
- /** ResultSetMetadata rowType. */
32248
- public rowType?: (google.spanner.v1.IStructType|null);
32905
+ /**
32906
+ * Constructs a new Write.
32907
+ * @param [properties] Properties to set
32908
+ */
32909
+ constructor(properties?: google.spanner.v1.Mutation.IWrite);
32249
32910
 
32250
- /** ResultSetMetadata transaction. */
32251
- public transaction?: (google.spanner.v1.ITransaction|null);
32911
+ /** Write table. */
32912
+ public table: string;
32252
32913
 
32253
- /** ResultSetMetadata undeclaredParameters. */
32254
- public undeclaredParameters?: (google.spanner.v1.IStructType|null);
32914
+ /** Write columns. */
32915
+ public columns: string[];
32255
32916
 
32256
- /**
32257
- * Creates a new ResultSetMetadata instance using the specified properties.
32258
- * @param [properties] Properties to set
32259
- * @returns ResultSetMetadata instance
32260
- */
32261
- public static create(properties?: google.spanner.v1.IResultSetMetadata): google.spanner.v1.ResultSetMetadata;
32917
+ /** Write values. */
32918
+ public values: google.protobuf.IListValue[];
32262
32919
 
32263
- /**
32264
- * Encodes the specified ResultSetMetadata message. Does not implicitly {@link google.spanner.v1.ResultSetMetadata.verify|verify} messages.
32265
- * @param message ResultSetMetadata message or plain object to encode
32266
- * @param [writer] Writer to encode to
32267
- * @returns Writer
32268
- */
32269
- public static encode(message: google.spanner.v1.IResultSetMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
32920
+ /**
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
32930
+ * @param [writer] Writer to encode to
32931
+ * @returns Writer
32932
+ */
32933
+ public static encode(message: google.spanner.v1.Mutation.IWrite, writer?: $protobuf.Writer): $protobuf.Writer;
32934
+
32935
+ /**
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
32938
+ * @param [writer] Writer to encode to
32939
+ * @returns Writer
32940
+ */
32941
+ public static encodeDelimited(message: google.spanner.v1.Mutation.IWrite, writer?: $protobuf.Writer): $protobuf.Writer;
32942
+
32943
+ /**
32944
+ * Decodes a Write message from the specified reader or buffer.
32945
+ * @param reader Reader or buffer to decode from
32946
+ * @param [length] Message length if known beforehand
32947
+ * @returns Write
32948
+ * @throws {Error} If the payload is not a reader or valid buffer
32949
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32950
+ */
32951
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.Mutation.Write;
32952
+
32953
+ /**
32954
+ * Decodes a Write message from the specified reader or buffer, length delimited.
32955
+ * @param reader Reader or buffer to decode from
32956
+ * @returns Write
32957
+ * @throws {Error} If the payload is not a reader or valid buffer
32958
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32959
+ */
32960
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.Mutation.Write;
32961
+
32962
+ /**
32963
+ * Verifies a Write message.
32964
+ * @param message Plain object to verify
32965
+ * @returns `null` if valid, otherwise the reason why it is not
32966
+ */
32967
+ public static verify(message: { [k: string]: any }): (string|null);
32968
+
32969
+ /**
32970
+ * Creates a Write message from a plain object. Also converts values to their respective internal types.
32971
+ * @param object Plain object
32972
+ * @returns Write
32973
+ */
32974
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.Mutation.Write;
32975
+
32976
+ /**
32977
+ * Creates a plain object from a Write message. Also converts values to other types if specified.
32978
+ * @param message Write
32979
+ * @param [options] Conversion options
32980
+ * @returns Plain object
32981
+ */
32982
+ public static toObject(message: google.spanner.v1.Mutation.Write, options?: $protobuf.IConversionOptions): { [k: string]: any };
32983
+
32984
+ /**
32985
+ * Converts this Write to JSON.
32986
+ * @returns JSON object
32987
+ */
32988
+ public toJSON(): { [k: string]: any };
32989
+
32990
+ /**
32991
+ * Gets the default type url for Write
32992
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
32993
+ * @returns The default type url
32994
+ */
32995
+ public static getTypeUrl(typeUrlPrefix?: string): string;
32996
+ }
32997
+
32998
+ /** Properties of a Delete. */
32999
+ interface IDelete {
33000
+
33001
+ /** Delete table */
33002
+ table?: (string|null);
33003
+
33004
+ /** Delete keySet */
33005
+ keySet?: (google.spanner.v1.IKeySet|null);
33006
+ }
33007
+
33008
+ /** Represents a Delete. */
33009
+ class Delete implements IDelete {
33010
+
33011
+ /**
33012
+ * Constructs a new Delete.
33013
+ * @param [properties] Properties to set
33014
+ */
33015
+ constructor(properties?: google.spanner.v1.Mutation.IDelete);
33016
+
33017
+ /** Delete table. */
33018
+ public table: string;
33019
+
33020
+ /** Delete keySet. */
33021
+ public keySet?: (google.spanner.v1.IKeySet|null);
33022
+
33023
+ /**
33024
+ * Creates a new Delete instance using the specified properties.
33025
+ * @param [properties] Properties to set
33026
+ * @returns Delete instance
33027
+ */
33028
+ public static create(properties?: google.spanner.v1.Mutation.IDelete): google.spanner.v1.Mutation.Delete;
33029
+
33030
+ /**
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
33033
+ * @param [writer] Writer to encode to
33034
+ * @returns Writer
33035
+ */
33036
+ public static encode(message: google.spanner.v1.Mutation.IDelete, writer?: $protobuf.Writer): $protobuf.Writer;
32270
33037
 
32271
- /**
32272
- * Encodes the specified ResultSetMetadata message, length delimited. Does not implicitly {@link google.spanner.v1.ResultSetMetadata.verify|verify} messages.
32273
- * @param message ResultSetMetadata message or plain object to encode
32274
- * @param [writer] Writer to encode to
32275
- * @returns Writer
32276
- */
32277
- public static encodeDelimited(message: google.spanner.v1.IResultSetMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
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;
32278
33045
 
32279
- /**
32280
- * Decodes a ResultSetMetadata message from the specified reader or buffer.
32281
- * @param reader Reader or buffer to decode from
32282
- * @param [length] Message length if known beforehand
32283
- * @returns ResultSetMetadata
32284
- * @throws {Error} If the payload is not a reader or valid buffer
32285
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
32286
- */
32287
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.ResultSetMetadata;
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;
32288
33055
 
32289
- /**
32290
- * Decodes a ResultSetMetadata message from the specified reader or buffer, length delimited.
32291
- * @param reader Reader or buffer to decode from
32292
- * @returns ResultSetMetadata
32293
- * @throws {Error} If the payload is not a reader or valid buffer
32294
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
32295
- */
32296
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.ResultSetMetadata;
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;
32297
33064
 
32298
- /**
32299
- * Verifies a ResultSetMetadata message.
32300
- * @param message Plain object to verify
32301
- * @returns `null` if valid, otherwise the reason why it is not
32302
- */
32303
- public static verify(message: { [k: string]: any }): (string|null);
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);
32304
33071
 
32305
- /**
32306
- * Creates a ResultSetMetadata message from a plain object. Also converts values to their respective internal types.
32307
- * @param object Plain object
32308
- * @returns ResultSetMetadata
32309
- */
32310
- public static fromObject(object: { [k: string]: any }): google.spanner.v1.ResultSetMetadata;
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;
32311
33078
 
32312
- /**
32313
- * Creates a plain object from a ResultSetMetadata message. Also converts values to other types if specified.
32314
- * @param message ResultSetMetadata
32315
- * @param [options] Conversion options
32316
- * @returns Plain object
32317
- */
32318
- public static toObject(message: google.spanner.v1.ResultSetMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
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 };
32319
33086
 
32320
- /**
32321
- * Converts this ResultSetMetadata to JSON.
32322
- * @returns JSON object
32323
- */
32324
- public toJSON(): { [k: string]: any };
33087
+ /**
33088
+ * Converts this Delete to JSON.
33089
+ * @returns JSON object
33090
+ */
33091
+ public toJSON(): { [k: string]: any };
32325
33092
 
32326
- /**
32327
- * Gets the default type url for ResultSetMetadata
32328
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
32329
- * @returns The default type url
32330
- */
32331
- public static getTypeUrl(typeUrlPrefix?: string): string;
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
+ }
32332
33100
  }
32333
33101
 
32334
- /** Properties of a ResultSetStats. */
32335
- interface IResultSetStats {
33102
+ /** Properties of a ResultSet. */
33103
+ interface IResultSet {
32336
33104
 
32337
- /** ResultSetStats queryPlan */
32338
- queryPlan?: (google.spanner.v1.IQueryPlan|null);
33105
+ /** ResultSet metadata */
33106
+ metadata?: (google.spanner.v1.IResultSetMetadata|null);
32339
33107
 
32340
- /** ResultSetStats queryStats */
32341
- queryStats?: (google.protobuf.IStruct|null);
33108
+ /** ResultSet rows */
33109
+ rows?: (google.protobuf.IListValue[]|null);
32342
33110
 
32343
- /** ResultSetStats rowCountExact */
32344
- rowCountExact?: (number|Long|string|null);
33111
+ /** ResultSet stats */
33112
+ stats?: (google.spanner.v1.IResultSetStats|null);
32345
33113
 
32346
- /** ResultSetStats rowCountLowerBound */
32347
- rowCountLowerBound?: (number|Long|string|null);
33114
+ /** ResultSet precommitToken */
33115
+ precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
32348
33116
  }
32349
33117
 
32350
- /** Represents a ResultSetStats. */
32351
- class ResultSetStats implements IResultSetStats {
33118
+ /** Represents a ResultSet. */
33119
+ class ResultSet implements IResultSet {
32352
33120
 
32353
33121
  /**
32354
- * Constructs a new ResultSetStats.
33122
+ * Constructs a new ResultSet.
32355
33123
  * @param [properties] Properties to set
32356
33124
  */
32357
- constructor(properties?: google.spanner.v1.IResultSetStats);
32358
-
32359
- /** ResultSetStats queryPlan. */
32360
- public queryPlan?: (google.spanner.v1.IQueryPlan|null);
33125
+ constructor(properties?: google.spanner.v1.IResultSet);
32361
33126
 
32362
- /** ResultSetStats queryStats. */
32363
- public queryStats?: (google.protobuf.IStruct|null);
33127
+ /** ResultSet metadata. */
33128
+ public metadata?: (google.spanner.v1.IResultSetMetadata|null);
32364
33129
 
32365
- /** ResultSetStats rowCountExact. */
32366
- public rowCountExact?: (number|Long|string|null);
33130
+ /** ResultSet rows. */
33131
+ public rows: google.protobuf.IListValue[];
32367
33132
 
32368
- /** ResultSetStats rowCountLowerBound. */
32369
- public rowCountLowerBound?: (number|Long|string|null);
33133
+ /** ResultSet stats. */
33134
+ public stats?: (google.spanner.v1.IResultSetStats|null);
32370
33135
 
32371
- /** ResultSetStats rowCount. */
32372
- public rowCount?: ("rowCountExact"|"rowCountLowerBound");
33136
+ /** ResultSet precommitToken. */
33137
+ public precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
32373
33138
 
32374
33139
  /**
32375
- * Creates a new ResultSetStats instance using the specified properties.
33140
+ * Creates a new ResultSet instance using the specified properties.
32376
33141
  * @param [properties] Properties to set
32377
- * @returns ResultSetStats instance
33142
+ * @returns ResultSet instance
32378
33143
  */
32379
- public static create(properties?: google.spanner.v1.IResultSetStats): google.spanner.v1.ResultSetStats;
33144
+ public static create(properties?: google.spanner.v1.IResultSet): google.spanner.v1.ResultSet;
32380
33145
 
32381
33146
  /**
32382
- * Encodes the specified ResultSetStats message. Does not implicitly {@link google.spanner.v1.ResultSetStats.verify|verify} messages.
32383
- * @param message ResultSetStats message or plain object to encode
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
32384
33149
  * @param [writer] Writer to encode to
32385
33150
  * @returns Writer
32386
33151
  */
32387
- public static encode(message: google.spanner.v1.IResultSetStats, writer?: $protobuf.Writer): $protobuf.Writer;
33152
+ public static encode(message: google.spanner.v1.IResultSet, writer?: $protobuf.Writer): $protobuf.Writer;
32388
33153
 
32389
33154
  /**
32390
- * Encodes the specified ResultSetStats message, length delimited. Does not implicitly {@link google.spanner.v1.ResultSetStats.verify|verify} messages.
32391
- * @param message ResultSetStats message or plain object to encode
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
32392
33157
  * @param [writer] Writer to encode to
32393
33158
  * @returns Writer
32394
33159
  */
32395
- public static encodeDelimited(message: google.spanner.v1.IResultSetStats, writer?: $protobuf.Writer): $protobuf.Writer;
33160
+ public static encodeDelimited(message: google.spanner.v1.IResultSet, writer?: $protobuf.Writer): $protobuf.Writer;
32396
33161
 
32397
33162
  /**
32398
- * Decodes a ResultSetStats message from the specified reader or buffer.
33163
+ * Decodes a ResultSet message from the specified reader or buffer.
32399
33164
  * @param reader Reader or buffer to decode from
32400
33165
  * @param [length] Message length if known beforehand
32401
- * @returns ResultSetStats
33166
+ * @returns ResultSet
32402
33167
  * @throws {Error} If the payload is not a reader or valid buffer
32403
33168
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
32404
33169
  */
32405
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.ResultSetStats;
33170
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.ResultSet;
32406
33171
 
32407
33172
  /**
32408
- * Decodes a ResultSetStats message from the specified reader or buffer, length delimited.
33173
+ * Decodes a ResultSet message from the specified reader or buffer, length delimited.
32409
33174
  * @param reader Reader or buffer to decode from
32410
- * @returns ResultSetStats
33175
+ * @returns ResultSet
32411
33176
  * @throws {Error} If the payload is not a reader or valid buffer
32412
33177
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
32413
33178
  */
32414
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.ResultSetStats;
33179
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.ResultSet;
32415
33180
 
32416
33181
  /**
32417
- * Verifies a ResultSetStats message.
33182
+ * Verifies a ResultSet message.
32418
33183
  * @param message Plain object to verify
32419
33184
  * @returns `null` if valid, otherwise the reason why it is not
32420
33185
  */
32421
33186
  public static verify(message: { [k: string]: any }): (string|null);
32422
33187
 
32423
33188
  /**
32424
- * Creates a ResultSetStats message from a plain object. Also converts values to their respective internal types.
33189
+ * Creates a ResultSet message from a plain object. Also converts values to their respective internal types.
32425
33190
  * @param object Plain object
32426
- * @returns ResultSetStats
33191
+ * @returns ResultSet
32427
33192
  */
32428
- public static fromObject(object: { [k: string]: any }): google.spanner.v1.ResultSetStats;
33193
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.ResultSet;
32429
33194
 
32430
33195
  /**
32431
- * Creates a plain object from a ResultSetStats message. Also converts values to other types if specified.
32432
- * @param message ResultSetStats
33196
+ * Creates a plain object from a ResultSet message. Also converts values to other types if specified.
33197
+ * @param message ResultSet
32433
33198
  * @param [options] Conversion options
32434
33199
  * @returns Plain object
32435
33200
  */
32436
- public static toObject(message: google.spanner.v1.ResultSetStats, options?: $protobuf.IConversionOptions): { [k: string]: any };
33201
+ public static toObject(message: google.spanner.v1.ResultSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
32437
33202
 
32438
33203
  /**
32439
- * Converts this ResultSetStats to JSON.
33204
+ * Converts this ResultSet to JSON.
32440
33205
  * @returns JSON object
32441
33206
  */
32442
33207
  public toJSON(): { [k: string]: any };
32443
33208
 
32444
33209
  /**
32445
- * Gets the default type url for ResultSetStats
33210
+ * Gets the default type url for ResultSet
32446
33211
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
32447
33212
  * @returns The default type url
32448
33213
  */
32449
33214
  public static getTypeUrl(typeUrlPrefix?: string): string;
32450
33215
  }
32451
33216
 
32452
- /** Properties of a PlanNode. */
32453
- interface IPlanNode {
32454
-
32455
- /** PlanNode index */
32456
- index?: (number|null);
33217
+ /** Properties of a PartialResultSet. */
33218
+ interface IPartialResultSet {
32457
33219
 
32458
- /** PlanNode kind */
32459
- kind?: (google.spanner.v1.PlanNode.Kind|keyof typeof google.spanner.v1.PlanNode.Kind|null);
33220
+ /** PartialResultSet metadata */
33221
+ metadata?: (google.spanner.v1.IResultSetMetadata|null);
32460
33222
 
32461
- /** PlanNode displayName */
32462
- displayName?: (string|null);
33223
+ /** PartialResultSet values */
33224
+ values?: (google.protobuf.IValue[]|null);
32463
33225
 
32464
- /** PlanNode childLinks */
32465
- childLinks?: (google.spanner.v1.PlanNode.IChildLink[]|null);
33226
+ /** PartialResultSet chunkedValue */
33227
+ chunkedValue?: (boolean|null);
32466
33228
 
32467
- /** PlanNode shortRepresentation */
32468
- shortRepresentation?: (google.spanner.v1.PlanNode.IShortRepresentation|null);
33229
+ /** PartialResultSet resumeToken */
33230
+ resumeToken?: (Uint8Array|string|null);
32469
33231
 
32470
- /** PlanNode metadata */
32471
- metadata?: (google.protobuf.IStruct|null);
33232
+ /** PartialResultSet stats */
33233
+ stats?: (google.spanner.v1.IResultSetStats|null);
32472
33234
 
32473
- /** PlanNode executionStats */
32474
- executionStats?: (google.protobuf.IStruct|null);
33235
+ /** PartialResultSet precommitToken */
33236
+ precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
32475
33237
  }
32476
33238
 
32477
- /** Represents a PlanNode. */
32478
- class PlanNode implements IPlanNode {
33239
+ /** Represents a PartialResultSet. */
33240
+ class PartialResultSet implements IPartialResultSet {
32479
33241
 
32480
33242
  /**
32481
- * Constructs a new PlanNode.
33243
+ * Constructs a new PartialResultSet.
32482
33244
  * @param [properties] Properties to set
32483
33245
  */
32484
- constructor(properties?: google.spanner.v1.IPlanNode);
32485
-
32486
- /** PlanNode index. */
32487
- public index: number;
33246
+ constructor(properties?: google.spanner.v1.IPartialResultSet);
32488
33247
 
32489
- /** PlanNode kind. */
32490
- public kind: (google.spanner.v1.PlanNode.Kind|keyof typeof google.spanner.v1.PlanNode.Kind);
33248
+ /** PartialResultSet metadata. */
33249
+ public metadata?: (google.spanner.v1.IResultSetMetadata|null);
32491
33250
 
32492
- /** PlanNode displayName. */
32493
- public displayName: string;
33251
+ /** PartialResultSet values. */
33252
+ public values: google.protobuf.IValue[];
32494
33253
 
32495
- /** PlanNode childLinks. */
32496
- public childLinks: google.spanner.v1.PlanNode.IChildLink[];
33254
+ /** PartialResultSet chunkedValue. */
33255
+ public chunkedValue: boolean;
32497
33256
 
32498
- /** PlanNode shortRepresentation. */
32499
- public shortRepresentation?: (google.spanner.v1.PlanNode.IShortRepresentation|null);
33257
+ /** PartialResultSet resumeToken. */
33258
+ public resumeToken: (Uint8Array|string);
32500
33259
 
32501
- /** PlanNode metadata. */
32502
- public metadata?: (google.protobuf.IStruct|null);
33260
+ /** PartialResultSet stats. */
33261
+ public stats?: (google.spanner.v1.IResultSetStats|null);
32503
33262
 
32504
- /** PlanNode executionStats. */
32505
- public executionStats?: (google.protobuf.IStruct|null);
33263
+ /** PartialResultSet precommitToken. */
33264
+ public precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
32506
33265
 
32507
33266
  /**
32508
- * Creates a new PlanNode instance using the specified properties.
33267
+ * Creates a new PartialResultSet instance using the specified properties.
32509
33268
  * @param [properties] Properties to set
32510
- * @returns PlanNode instance
33269
+ * @returns PartialResultSet instance
32511
33270
  */
32512
- public static create(properties?: google.spanner.v1.IPlanNode): google.spanner.v1.PlanNode;
33271
+ public static create(properties?: google.spanner.v1.IPartialResultSet): google.spanner.v1.PartialResultSet;
32513
33272
 
32514
33273
  /**
32515
- * Encodes the specified PlanNode message. Does not implicitly {@link google.spanner.v1.PlanNode.verify|verify} messages.
32516
- * @param message PlanNode message or plain object to encode
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
32517
33276
  * @param [writer] Writer to encode to
32518
33277
  * @returns Writer
32519
33278
  */
32520
- public static encode(message: google.spanner.v1.IPlanNode, writer?: $protobuf.Writer): $protobuf.Writer;
33279
+ public static encode(message: google.spanner.v1.IPartialResultSet, writer?: $protobuf.Writer): $protobuf.Writer;
32521
33280
 
32522
33281
  /**
32523
- * Encodes the specified PlanNode message, length delimited. Does not implicitly {@link google.spanner.v1.PlanNode.verify|verify} messages.
32524
- * @param message PlanNode message or plain object to encode
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
32525
33284
  * @param [writer] Writer to encode to
32526
33285
  * @returns Writer
32527
33286
  */
32528
- public static encodeDelimited(message: google.spanner.v1.IPlanNode, writer?: $protobuf.Writer): $protobuf.Writer;
33287
+ public static encodeDelimited(message: google.spanner.v1.IPartialResultSet, writer?: $protobuf.Writer): $protobuf.Writer;
32529
33288
 
32530
33289
  /**
32531
- * Decodes a PlanNode message from the specified reader or buffer.
33290
+ * Decodes a PartialResultSet message from the specified reader or buffer.
32532
33291
  * @param reader Reader or buffer to decode from
32533
33292
  * @param [length] Message length if known beforehand
32534
- * @returns PlanNode
33293
+ * @returns PartialResultSet
32535
33294
  * @throws {Error} If the payload is not a reader or valid buffer
32536
33295
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
32537
33296
  */
32538
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.PlanNode;
33297
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.PartialResultSet;
32539
33298
 
32540
33299
  /**
32541
- * Decodes a PlanNode message from the specified reader or buffer, length delimited.
33300
+ * Decodes a PartialResultSet message from the specified reader or buffer, length delimited.
32542
33301
  * @param reader Reader or buffer to decode from
32543
- * @returns PlanNode
33302
+ * @returns PartialResultSet
32544
33303
  * @throws {Error} If the payload is not a reader or valid buffer
32545
33304
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
32546
33305
  */
32547
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.PlanNode;
33306
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.PartialResultSet;
32548
33307
 
32549
33308
  /**
32550
- * Verifies a PlanNode message.
33309
+ * Verifies a PartialResultSet message.
32551
33310
  * @param message Plain object to verify
32552
33311
  * @returns `null` if valid, otherwise the reason why it is not
32553
33312
  */
32554
33313
  public static verify(message: { [k: string]: any }): (string|null);
32555
33314
 
32556
33315
  /**
32557
- * Creates a PlanNode message from a plain object. Also converts values to their respective internal types.
33316
+ * Creates a PartialResultSet message from a plain object. Also converts values to their respective internal types.
32558
33317
  * @param object Plain object
32559
- * @returns PlanNode
33318
+ * @returns PartialResultSet
32560
33319
  */
32561
- public static fromObject(object: { [k: string]: any }): google.spanner.v1.PlanNode;
33320
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.PartialResultSet;
32562
33321
 
32563
33322
  /**
32564
- * Creates a plain object from a PlanNode message. Also converts values to other types if specified.
32565
- * @param message PlanNode
33323
+ * Creates a plain object from a PartialResultSet message. Also converts values to other types if specified.
33324
+ * @param message PartialResultSet
32566
33325
  * @param [options] Conversion options
32567
33326
  * @returns Plain object
32568
33327
  */
32569
- public static toObject(message: google.spanner.v1.PlanNode, options?: $protobuf.IConversionOptions): { [k: string]: any };
33328
+ public static toObject(message: google.spanner.v1.PartialResultSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
32570
33329
 
32571
33330
  /**
32572
- * Converts this PlanNode to JSON.
33331
+ * Converts this PartialResultSet to JSON.
32573
33332
  * @returns JSON object
32574
33333
  */
32575
33334
  public toJSON(): { [k: string]: any };
32576
33335
 
32577
33336
  /**
32578
- * Gets the default type url for PlanNode
33337
+ * Gets the default type url for PartialResultSet
32579
33338
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
32580
33339
  * @returns The default type url
32581
33340
  */
32582
33341
  public static getTypeUrl(typeUrlPrefix?: string): string;
32583
33342
  }
32584
33343
 
32585
- namespace PlanNode {
32586
-
32587
- /** Kind enum. */
32588
- enum Kind {
32589
- KIND_UNSPECIFIED = 0,
32590
- RELATIONAL = 1,
32591
- SCALAR = 2
32592
- }
32593
-
32594
- /** Properties of a ChildLink. */
32595
- interface IChildLink {
32596
-
32597
- /** ChildLink childIndex */
32598
- childIndex?: (number|null);
32599
-
32600
- /** ChildLink type */
32601
- type?: (string|null);
32602
-
32603
- /** ChildLink variable */
32604
- variable?: (string|null);
32605
- }
32606
-
32607
- /** Represents a ChildLink. */
32608
- class ChildLink implements IChildLink {
32609
-
32610
- /**
32611
- * Constructs a new ChildLink.
32612
- * @param [properties] Properties to set
32613
- */
32614
- constructor(properties?: google.spanner.v1.PlanNode.IChildLink);
32615
-
32616
- /** ChildLink childIndex. */
32617
- public childIndex: number;
32618
-
32619
- /** ChildLink type. */
32620
- public type: string;
32621
-
32622
- /** ChildLink variable. */
32623
- public variable: string;
32624
-
32625
- /**
32626
- * Creates a new ChildLink instance using the specified properties.
32627
- * @param [properties] Properties to set
32628
- * @returns ChildLink instance
32629
- */
32630
- public static create(properties?: google.spanner.v1.PlanNode.IChildLink): google.spanner.v1.PlanNode.ChildLink;
32631
-
32632
- /**
32633
- * Encodes the specified ChildLink message. Does not implicitly {@link google.spanner.v1.PlanNode.ChildLink.verify|verify} messages.
32634
- * @param message ChildLink message or plain object to encode
32635
- * @param [writer] Writer to encode to
32636
- * @returns Writer
32637
- */
32638
- public static encode(message: google.spanner.v1.PlanNode.IChildLink, writer?: $protobuf.Writer): $protobuf.Writer;
32639
-
32640
- /**
32641
- * Encodes the specified ChildLink message, length delimited. Does not implicitly {@link google.spanner.v1.PlanNode.ChildLink.verify|verify} messages.
32642
- * @param message ChildLink message or plain object to encode
32643
- * @param [writer] Writer to encode to
32644
- * @returns Writer
32645
- */
32646
- public static encodeDelimited(message: google.spanner.v1.PlanNode.IChildLink, writer?: $protobuf.Writer): $protobuf.Writer;
32647
-
32648
- /**
32649
- * Decodes a ChildLink message from the specified reader or buffer.
32650
- * @param reader Reader or buffer to decode from
32651
- * @param [length] Message length if known beforehand
32652
- * @returns ChildLink
32653
- * @throws {Error} If the payload is not a reader or valid buffer
32654
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
32655
- */
32656
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.PlanNode.ChildLink;
32657
-
32658
- /**
32659
- * Decodes a ChildLink message from the specified reader or buffer, length delimited.
32660
- * @param reader Reader or buffer to decode from
32661
- * @returns ChildLink
32662
- * @throws {Error} If the payload is not a reader or valid buffer
32663
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
32664
- */
32665
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.PlanNode.ChildLink;
32666
-
32667
- /**
32668
- * Verifies a ChildLink message.
32669
- * @param message Plain object to verify
32670
- * @returns `null` if valid, otherwise the reason why it is not
32671
- */
32672
- public static verify(message: { [k: string]: any }): (string|null);
33344
+ /** Properties of a ResultSetMetadata. */
33345
+ interface IResultSetMetadata {
32673
33346
 
32674
- /**
32675
- * Creates a ChildLink message from a plain object. Also converts values to their respective internal types.
32676
- * @param object Plain object
32677
- * @returns ChildLink
32678
- */
32679
- public static fromObject(object: { [k: string]: any }): google.spanner.v1.PlanNode.ChildLink;
33347
+ /** ResultSetMetadata rowType */
33348
+ rowType?: (google.spanner.v1.IStructType|null);
32680
33349
 
32681
- /**
32682
- * Creates a plain object from a ChildLink message. Also converts values to other types if specified.
32683
- * @param message ChildLink
32684
- * @param [options] Conversion options
32685
- * @returns Plain object
32686
- */
32687
- public static toObject(message: google.spanner.v1.PlanNode.ChildLink, options?: $protobuf.IConversionOptions): { [k: string]: any };
33350
+ /** ResultSetMetadata transaction */
33351
+ transaction?: (google.spanner.v1.ITransaction|null);
32688
33352
 
32689
- /**
32690
- * Converts this ChildLink to JSON.
32691
- * @returns JSON object
32692
- */
32693
- public toJSON(): { [k: string]: any };
33353
+ /** ResultSetMetadata undeclaredParameters */
33354
+ undeclaredParameters?: (google.spanner.v1.IStructType|null);
33355
+ }
32694
33356
 
32695
- /**
32696
- * Gets the default type url for ChildLink
32697
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
32698
- * @returns The default type url
32699
- */
32700
- public static getTypeUrl(typeUrlPrefix?: string): string;
32701
- }
33357
+ /** Represents a ResultSetMetadata. */
33358
+ class ResultSetMetadata implements IResultSetMetadata {
32702
33359
 
32703
- /** Properties of a ShortRepresentation. */
32704
- interface IShortRepresentation {
33360
+ /**
33361
+ * Constructs a new ResultSetMetadata.
33362
+ * @param [properties] Properties to set
33363
+ */
33364
+ constructor(properties?: google.spanner.v1.IResultSetMetadata);
32705
33365
 
32706
- /** ShortRepresentation description */
32707
- description?: (string|null);
33366
+ /** ResultSetMetadata rowType. */
33367
+ public rowType?: (google.spanner.v1.IStructType|null);
32708
33368
 
32709
- /** ShortRepresentation subqueries */
32710
- subqueries?: ({ [k: string]: number }|null);
32711
- }
33369
+ /** ResultSetMetadata transaction. */
33370
+ public transaction?: (google.spanner.v1.ITransaction|null);
32712
33371
 
32713
- /** Represents a ShortRepresentation. */
32714
- class ShortRepresentation implements IShortRepresentation {
33372
+ /** ResultSetMetadata undeclaredParameters. */
33373
+ public undeclaredParameters?: (google.spanner.v1.IStructType|null);
32715
33374
 
32716
- /**
32717
- * Constructs a new ShortRepresentation.
32718
- * @param [properties] Properties to set
32719
- */
32720
- constructor(properties?: google.spanner.v1.PlanNode.IShortRepresentation);
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;
32721
33381
 
32722
- /** ShortRepresentation description. */
32723
- public description: string;
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;
32724
33389
 
32725
- /** ShortRepresentation subqueries. */
32726
- public subqueries: { [k: string]: number };
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;
32727
33397
 
32728
- /**
32729
- * Creates a new ShortRepresentation instance using the specified properties.
32730
- * @param [properties] Properties to set
32731
- * @returns ShortRepresentation instance
32732
- */
32733
- public static create(properties?: google.spanner.v1.PlanNode.IShortRepresentation): google.spanner.v1.PlanNode.ShortRepresentation;
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;
32734
33407
 
32735
- /**
32736
- * Encodes the specified ShortRepresentation message. Does not implicitly {@link google.spanner.v1.PlanNode.ShortRepresentation.verify|verify} messages.
32737
- * @param message ShortRepresentation message or plain object to encode
32738
- * @param [writer] Writer to encode to
32739
- * @returns Writer
32740
- */
32741
- public static encode(message: google.spanner.v1.PlanNode.IShortRepresentation, writer?: $protobuf.Writer): $protobuf.Writer;
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;
32742
33416
 
32743
- /**
32744
- * Encodes the specified ShortRepresentation message, length delimited. Does not implicitly {@link google.spanner.v1.PlanNode.ShortRepresentation.verify|verify} messages.
32745
- * @param message ShortRepresentation message or plain object to encode
32746
- * @param [writer] Writer to encode to
32747
- * @returns Writer
32748
- */
32749
- 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);
32750
33423
 
32751
- /**
32752
- * Decodes a ShortRepresentation message from the specified reader or buffer.
32753
- * @param reader Reader or buffer to decode from
32754
- * @param [length] Message length if known beforehand
32755
- * @returns ShortRepresentation
32756
- * @throws {Error} If the payload is not a reader or valid buffer
32757
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
32758
- */
32759
- 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;
32760
33430
 
32761
- /**
32762
- * Decodes a ShortRepresentation message from the specified reader or buffer, length delimited.
32763
- * @param reader Reader or buffer to decode from
32764
- * @returns ShortRepresentation
32765
- * @throws {Error} If the payload is not a reader or valid buffer
32766
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
32767
- */
32768
- 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 };
32769
33438
 
32770
- /**
32771
- * Verifies a ShortRepresentation message.
32772
- * @param message Plain object to verify
32773
- * @returns `null` if valid, otherwise the reason why it is not
32774
- */
32775
- 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 };
32776
33444
 
32777
- /**
32778
- * Creates a ShortRepresentation message from a plain object. Also converts values to their respective internal types.
32779
- * @param object Plain object
32780
- * @returns ShortRepresentation
32781
- */
32782
- 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
+ }
32783
33452
 
32784
- /**
32785
- * Creates a plain object from a ShortRepresentation message. Also converts values to other types if specified.
32786
- * @param message ShortRepresentation
32787
- * @param [options] Conversion options
32788
- * @returns Plain object
32789
- */
32790
- public static toObject(message: google.spanner.v1.PlanNode.ShortRepresentation, options?: $protobuf.IConversionOptions): { [k: string]: any };
33453
+ /** Properties of a ResultSetStats. */
33454
+ interface IResultSetStats {
32791
33455
 
32792
- /**
32793
- * Converts this ShortRepresentation to JSON.
32794
- * @returns JSON object
32795
- */
32796
- public toJSON(): { [k: string]: any };
33456
+ /** ResultSetStats queryPlan */
33457
+ queryPlan?: (google.spanner.v1.IQueryPlan|null);
32797
33458
 
32798
- /**
32799
- * Gets the default type url for ShortRepresentation
32800
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
32801
- * @returns The default type url
32802
- */
32803
- public static getTypeUrl(typeUrlPrefix?: string): string;
32804
- }
32805
- }
33459
+ /** ResultSetStats queryStats */
33460
+ queryStats?: (google.protobuf.IStruct|null);
32806
33461
 
32807
- /** Properties of a QueryPlan. */
32808
- interface IQueryPlan {
33462
+ /** ResultSetStats rowCountExact */
33463
+ rowCountExact?: (number|Long|string|null);
32809
33464
 
32810
- /** QueryPlan planNodes */
32811
- planNodes?: (google.spanner.v1.IPlanNode[]|null);
33465
+ /** ResultSetStats rowCountLowerBound */
33466
+ rowCountLowerBound?: (number|Long|string|null);
32812
33467
  }
32813
33468
 
32814
- /** Represents a QueryPlan. */
32815
- class QueryPlan implements IQueryPlan {
33469
+ /** Represents a ResultSetStats. */
33470
+ class ResultSetStats implements IResultSetStats {
32816
33471
 
32817
33472
  /**
32818
- * Constructs a new QueryPlan.
33473
+ * Constructs a new ResultSetStats.
32819
33474
  * @param [properties] Properties to set
32820
33475
  */
32821
- constructor(properties?: google.spanner.v1.IQueryPlan);
33476
+ constructor(properties?: google.spanner.v1.IResultSetStats);
32822
33477
 
32823
- /** QueryPlan planNodes. */
32824
- 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");
32825
33492
 
32826
33493
  /**
32827
- * Creates a new QueryPlan instance using the specified properties.
33494
+ * Creates a new ResultSetStats instance using the specified properties.
32828
33495
  * @param [properties] Properties to set
32829
- * @returns QueryPlan instance
33496
+ * @returns ResultSetStats instance
32830
33497
  */
32831
- 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;
32832
33499
 
32833
33500
  /**
32834
- * Encodes the specified QueryPlan message. Does not implicitly {@link google.spanner.v1.QueryPlan.verify|verify} messages.
32835
- * @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
32836
33503
  * @param [writer] Writer to encode to
32837
33504
  * @returns Writer
32838
33505
  */
32839
- 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;
32840
33507
 
32841
33508
  /**
32842
- * Encodes the specified QueryPlan message, length delimited. Does not implicitly {@link google.spanner.v1.QueryPlan.verify|verify} messages.
32843
- * @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
32844
33511
  * @param [writer] Writer to encode to
32845
33512
  * @returns Writer
32846
33513
  */
32847
- 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;
32848
33515
 
32849
33516
  /**
32850
- * Decodes a QueryPlan message from the specified reader or buffer.
33517
+ * Decodes a ResultSetStats message from the specified reader or buffer.
32851
33518
  * @param reader Reader or buffer to decode from
32852
33519
  * @param [length] Message length if known beforehand
32853
- * @returns QueryPlan
33520
+ * @returns ResultSetStats
32854
33521
  * @throws {Error} If the payload is not a reader or valid buffer
32855
33522
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
32856
33523
  */
32857
- 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;
32858
33525
 
32859
33526
  /**
32860
- * 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.
32861
33528
  * @param reader Reader or buffer to decode from
32862
- * @returns QueryPlan
33529
+ * @returns ResultSetStats
32863
33530
  * @throws {Error} If the payload is not a reader or valid buffer
32864
33531
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
32865
33532
  */
32866
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.QueryPlan;
33533
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.ResultSetStats;
32867
33534
 
32868
33535
  /**
32869
- * Verifies a QueryPlan message.
33536
+ * Verifies a ResultSetStats message.
32870
33537
  * @param message Plain object to verify
32871
33538
  * @returns `null` if valid, otherwise the reason why it is not
32872
33539
  */
32873
33540
  public static verify(message: { [k: string]: any }): (string|null);
32874
33541
 
32875
33542
  /**
32876
- * 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.
32877
33544
  * @param object Plain object
32878
- * @returns QueryPlan
33545
+ * @returns ResultSetStats
32879
33546
  */
32880
- public static fromObject(object: { [k: string]: any }): google.spanner.v1.QueryPlan;
33547
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.ResultSetStats;
32881
33548
 
32882
33549
  /**
32883
- * Creates a plain object from a QueryPlan message. Also converts values to other types if specified.
32884
- * @param message QueryPlan
33550
+ * Creates a plain object from a ResultSetStats message. Also converts values to other types if specified.
33551
+ * @param message ResultSetStats
32885
33552
  * @param [options] Conversion options
32886
33553
  * @returns Plain object
32887
33554
  */
32888
- 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 };
32889
33556
 
32890
33557
  /**
32891
- * Converts this QueryPlan to JSON.
33558
+ * Converts this ResultSetStats to JSON.
32892
33559
  * @returns JSON object
32893
33560
  */
32894
33561
  public toJSON(): { [k: string]: any };
32895
33562
 
32896
33563
  /**
32897
- * Gets the default type url for QueryPlan
33564
+ * Gets the default type url for ResultSetStats
32898
33565
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
32899
33566
  * @returns The default type url
32900
33567
  */
32901
33568
  public static getTypeUrl(typeUrlPrefix?: string): string;
32902
33569
  }
32903
33570
 
32904
- /** Properties of a TransactionOptions. */
32905
- interface ITransactionOptions {
33571
+ /** Properties of a PlanNode. */
33572
+ interface IPlanNode {
32906
33573
 
32907
- /** TransactionOptions readWrite */
32908
- readWrite?: (google.spanner.v1.TransactionOptions.IReadWrite|null);
33574
+ /** PlanNode index */
33575
+ index?: (number|null);
32909
33576
 
32910
- /** TransactionOptions partitionedDml */
32911
- 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);
32912
33579
 
32913
- /** TransactionOptions readOnly */
32914
- readOnly?: (google.spanner.v1.TransactionOptions.IReadOnly|null);
33580
+ /** PlanNode displayName */
33581
+ displayName?: (string|null);
32915
33582
 
32916
- /** TransactionOptions excludeTxnFromChangeStreams */
32917
- 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);
32918
33594
  }
32919
33595
 
32920
- /** Represents a TransactionOptions. */
32921
- class TransactionOptions implements ITransactionOptions {
33596
+ /** Represents a PlanNode. */
33597
+ class PlanNode implements IPlanNode {
32922
33598
 
32923
33599
  /**
32924
- * Constructs a new TransactionOptions.
33600
+ * Constructs a new PlanNode.
32925
33601
  * @param [properties] Properties to set
32926
33602
  */
32927
- constructor(properties?: google.spanner.v1.ITransactionOptions);
33603
+ constructor(properties?: google.spanner.v1.IPlanNode);
32928
33604
 
32929
- /** TransactionOptions readWrite. */
32930
- public readWrite?: (google.spanner.v1.TransactionOptions.IReadWrite|null);
33605
+ /** PlanNode index. */
33606
+ public index: number;
32931
33607
 
32932
- /** TransactionOptions partitionedDml. */
32933
- 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);
32934
33610
 
32935
- /** TransactionOptions readOnly. */
32936
- public readOnly?: (google.spanner.v1.TransactionOptions.IReadOnly|null);
33611
+ /** PlanNode displayName. */
33612
+ public displayName: string;
32937
33613
 
32938
- /** TransactionOptions excludeTxnFromChangeStreams. */
32939
- public excludeTxnFromChangeStreams: boolean;
33614
+ /** PlanNode childLinks. */
33615
+ public childLinks: google.spanner.v1.PlanNode.IChildLink[];
32940
33616
 
32941
- /** TransactionOptions mode. */
32942
- 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);
32943
33625
 
32944
33626
  /**
32945
- * Creates a new TransactionOptions instance using the specified properties.
33627
+ * Creates a new PlanNode instance using the specified properties.
32946
33628
  * @param [properties] Properties to set
32947
- * @returns TransactionOptions instance
33629
+ * @returns PlanNode instance
32948
33630
  */
32949
- 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;
32950
33632
 
32951
33633
  /**
32952
- * Encodes the specified TransactionOptions message. Does not implicitly {@link google.spanner.v1.TransactionOptions.verify|verify} messages.
32953
- * @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
32954
33636
  * @param [writer] Writer to encode to
32955
33637
  * @returns Writer
32956
33638
  */
32957
- 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;
32958
33640
 
32959
33641
  /**
32960
- * Encodes the specified TransactionOptions message, length delimited. Does not implicitly {@link google.spanner.v1.TransactionOptions.verify|verify} messages.
32961
- * @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
32962
33644
  * @param [writer] Writer to encode to
32963
33645
  * @returns Writer
32964
33646
  */
32965
- 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;
32966
33648
 
32967
33649
  /**
32968
- * Decodes a TransactionOptions message from the specified reader or buffer.
33650
+ * Decodes a PlanNode message from the specified reader or buffer.
32969
33651
  * @param reader Reader or buffer to decode from
32970
33652
  * @param [length] Message length if known beforehand
32971
- * @returns TransactionOptions
33653
+ * @returns PlanNode
32972
33654
  * @throws {Error} If the payload is not a reader or valid buffer
32973
33655
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
32974
33656
  */
32975
- 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;
32976
33658
 
32977
33659
  /**
32978
- * 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.
32979
33661
  * @param reader Reader or buffer to decode from
32980
- * @returns TransactionOptions
33662
+ * @returns PlanNode
32981
33663
  * @throws {Error} If the payload is not a reader or valid buffer
32982
33664
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
32983
33665
  */
32984
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.TransactionOptions;
33666
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.PlanNode;
32985
33667
 
32986
33668
  /**
32987
- * Verifies a TransactionOptions message.
33669
+ * Verifies a PlanNode message.
32988
33670
  * @param message Plain object to verify
32989
33671
  * @returns `null` if valid, otherwise the reason why it is not
32990
33672
  */
32991
33673
  public static verify(message: { [k: string]: any }): (string|null);
32992
33674
 
32993
33675
  /**
32994
- * 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.
32995
33677
  * @param object Plain object
32996
- * @returns TransactionOptions
33678
+ * @returns PlanNode
32997
33679
  */
32998
- public static fromObject(object: { [k: string]: any }): google.spanner.v1.TransactionOptions;
33680
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.PlanNode;
32999
33681
 
33000
33682
  /**
33001
- * Creates a plain object from a TransactionOptions message. Also converts values to other types if specified.
33002
- * @param message TransactionOptions
33683
+ * Creates a plain object from a PlanNode message. Also converts values to other types if specified.
33684
+ * @param message PlanNode
33003
33685
  * @param [options] Conversion options
33004
33686
  * @returns Plain object
33005
33687
  */
33006
- 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 };
33007
33689
 
33008
33690
  /**
33009
- * Converts this TransactionOptions to JSON.
33691
+ * Converts this PlanNode to JSON.
33010
33692
  * @returns JSON object
33011
33693
  */
33012
33694
  public toJSON(): { [k: string]: any };
33013
33695
 
33014
33696
  /**
33015
- * Gets the default type url for TransactionOptions
33697
+ * Gets the default type url for PlanNode
33016
33698
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
33017
33699
  * @returns The default type url
33018
33700
  */
33019
33701
  public static getTypeUrl(typeUrlPrefix?: string): string;
33020
33702
  }
33021
33703
 
33022
- namespace TransactionOptions {
33023
-
33024
- /** Properties of a ReadWrite. */
33025
- interface IReadWrite {
33704
+ namespace PlanNode {
33026
33705
 
33027
- /** ReadWrite readLockMode */
33028
- 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
33029
33711
  }
33030
33712
 
33031
- /** Represents a ReadWrite. */
33032
- class ReadWrite implements IReadWrite {
33033
-
33034
- /**
33035
- * Constructs a new ReadWrite.
33036
- * @param [properties] Properties to set
33037
- */
33038
- constructor(properties?: google.spanner.v1.TransactionOptions.IReadWrite);
33039
-
33040
- /** ReadWrite readLockMode. */
33041
- public readLockMode: (google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode|keyof typeof google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode);
33042
-
33043
- /**
33044
- * Creates a new ReadWrite instance using the specified properties.
33045
- * @param [properties] Properties to set
33046
- * @returns ReadWrite instance
33047
- */
33048
- public static create(properties?: google.spanner.v1.TransactionOptions.IReadWrite): google.spanner.v1.TransactionOptions.ReadWrite;
33049
-
33050
- /**
33051
- * Encodes the specified ReadWrite message. Does not implicitly {@link google.spanner.v1.TransactionOptions.ReadWrite.verify|verify} messages.
33052
- * @param message ReadWrite message or plain object to encode
33053
- * @param [writer] Writer to encode to
33054
- * @returns Writer
33055
- */
33056
- public static encode(message: google.spanner.v1.TransactionOptions.IReadWrite, writer?: $protobuf.Writer): $protobuf.Writer;
33057
-
33058
- /**
33059
- * Encodes the specified ReadWrite message, length delimited. Does not implicitly {@link google.spanner.v1.TransactionOptions.ReadWrite.verify|verify} messages.
33060
- * @param message ReadWrite message or plain object to encode
33061
- * @param [writer] Writer to encode to
33062
- * @returns Writer
33063
- */
33064
- public static encodeDelimited(message: google.spanner.v1.TransactionOptions.IReadWrite, writer?: $protobuf.Writer): $protobuf.Writer;
33065
-
33066
- /**
33067
- * Decodes a ReadWrite message from the specified reader or buffer.
33068
- * @param reader Reader or buffer to decode from
33069
- * @param [length] Message length if known beforehand
33070
- * @returns ReadWrite
33071
- * @throws {Error} If the payload is not a reader or valid buffer
33072
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
33073
- */
33074
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.TransactionOptions.ReadWrite;
33075
-
33076
- /**
33077
- * Decodes a ReadWrite message from the specified reader or buffer, length delimited.
33078
- * @param reader Reader or buffer to decode from
33079
- * @returns ReadWrite
33080
- * @throws {Error} If the payload is not a reader or valid buffer
33081
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
33082
- */
33083
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.TransactionOptions.ReadWrite;
33713
+ /** Properties of a ChildLink. */
33714
+ interface IChildLink {
33084
33715
 
33085
- /**
33086
- * Verifies a ReadWrite message.
33087
- * @param message Plain object to verify
33088
- * @returns `null` if valid, otherwise the reason why it is not
33089
- */
33090
- public static verify(message: { [k: string]: any }): (string|null);
33716
+ /** ChildLink childIndex */
33717
+ childIndex?: (number|null);
33091
33718
 
33092
- /**
33093
- * Creates a ReadWrite message from a plain object. Also converts values to their respective internal types.
33094
- * @param object Plain object
33095
- * @returns ReadWrite
33096
- */
33097
- public static fromObject(object: { [k: string]: any }): google.spanner.v1.TransactionOptions.ReadWrite;
33719
+ /** ChildLink type */
33720
+ type?: (string|null);
33098
33721
 
33099
- /**
33100
- * Creates a plain object from a ReadWrite message. Also converts values to other types if specified.
33101
- * @param message ReadWrite
33102
- * @param [options] Conversion options
33103
- * @returns Plain object
33104
- */
33105
- public static toObject(message: google.spanner.v1.TransactionOptions.ReadWrite, options?: $protobuf.IConversionOptions): { [k: string]: any };
33722
+ /** ChildLink variable */
33723
+ variable?: (string|null);
33724
+ }
33106
33725
 
33107
- /**
33108
- * Converts this ReadWrite to JSON.
33109
- * @returns JSON object
33110
- */
33111
- public toJSON(): { [k: string]: any };
33726
+ /** Represents a ChildLink. */
33727
+ class ChildLink implements IChildLink {
33112
33728
 
33113
33729
  /**
33114
- * Gets the default type url for ReadWrite
33115
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
33116
- * @returns The default type url
33730
+ * Constructs a new ChildLink.
33731
+ * @param [properties] Properties to set
33117
33732
  */
33118
- public static getTypeUrl(typeUrlPrefix?: string): string;
33119
- }
33120
-
33121
- namespace ReadWrite {
33122
-
33123
- /** ReadLockMode enum. */
33124
- enum ReadLockMode {
33125
- READ_LOCK_MODE_UNSPECIFIED = 0,
33126
- PESSIMISTIC = 1,
33127
- OPTIMISTIC = 2
33128
- }
33129
- }
33733
+ constructor(properties?: google.spanner.v1.PlanNode.IChildLink);
33130
33734
 
33131
- /** Properties of a PartitionedDml. */
33132
- interface IPartitionedDml {
33133
- }
33735
+ /** ChildLink childIndex. */
33736
+ public childIndex: number;
33134
33737
 
33135
- /** Represents a PartitionedDml. */
33136
- class PartitionedDml implements IPartitionedDml {
33738
+ /** ChildLink type. */
33739
+ public type: string;
33137
33740
 
33138
- /**
33139
- * Constructs a new PartitionedDml.
33140
- * @param [properties] Properties to set
33141
- */
33142
- constructor(properties?: google.spanner.v1.TransactionOptions.IPartitionedDml);
33741
+ /** ChildLink variable. */
33742
+ public variable: string;
33143
33743
 
33144
33744
  /**
33145
- * Creates a new PartitionedDml instance using the specified properties.
33745
+ * Creates a new ChildLink instance using the specified properties.
33146
33746
  * @param [properties] Properties to set
33147
- * @returns PartitionedDml instance
33747
+ * @returns ChildLink instance
33148
33748
  */
33149
- 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;
33150
33750
 
33151
33751
  /**
33152
- * Encodes the specified PartitionedDml message. Does not implicitly {@link google.spanner.v1.TransactionOptions.PartitionedDml.verify|verify} messages.
33153
- * @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
33154
33754
  * @param [writer] Writer to encode to
33155
33755
  * @returns Writer
33156
33756
  */
33157
- 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;
33158
33758
 
33159
33759
  /**
33160
- * Encodes the specified PartitionedDml message, length delimited. Does not implicitly {@link google.spanner.v1.TransactionOptions.PartitionedDml.verify|verify} messages.
33161
- * @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
33162
33762
  * @param [writer] Writer to encode to
33163
33763
  * @returns Writer
33164
33764
  */
33165
- 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;
33166
33766
 
33167
33767
  /**
33168
- * Decodes a PartitionedDml message from the specified reader or buffer.
33768
+ * Decodes a ChildLink message from the specified reader or buffer.
33169
33769
  * @param reader Reader or buffer to decode from
33170
33770
  * @param [length] Message length if known beforehand
33171
- * @returns PartitionedDml
33771
+ * @returns ChildLink
33172
33772
  * @throws {Error} If the payload is not a reader or valid buffer
33173
33773
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
33174
33774
  */
33175
- 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;
33176
33776
 
33177
33777
  /**
33178
- * 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.
33179
33779
  * @param reader Reader or buffer to decode from
33180
- * @returns PartitionedDml
33780
+ * @returns ChildLink
33181
33781
  * @throws {Error} If the payload is not a reader or valid buffer
33182
33782
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
33183
33783
  */
33184
- 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;
33185
33785
 
33186
33786
  /**
33187
- * Verifies a PartitionedDml message.
33787
+ * Verifies a ChildLink message.
33188
33788
  * @param message Plain object to verify
33189
33789
  * @returns `null` if valid, otherwise the reason why it is not
33190
33790
  */
33191
33791
  public static verify(message: { [k: string]: any }): (string|null);
33192
33792
 
33193
33793
  /**
33194
- * 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.
33195
33795
  * @param object Plain object
33196
- * @returns PartitionedDml
33796
+ * @returns ChildLink
33197
33797
  */
33198
- 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;
33199
33799
 
33200
33800
  /**
33201
- * Creates a plain object from a PartitionedDml message. Also converts values to other types if specified.
33202
- * @param message PartitionedDml
33801
+ * Creates a plain object from a ChildLink message. Also converts values to other types if specified.
33802
+ * @param message ChildLink
33203
33803
  * @param [options] Conversion options
33204
33804
  * @returns Plain object
33205
33805
  */
33206
- 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 };
33207
33807
 
33208
33808
  /**
33209
- * Converts this PartitionedDml to JSON.
33809
+ * Converts this ChildLink to JSON.
33210
33810
  * @returns JSON object
33211
33811
  */
33212
33812
  public toJSON(): { [k: string]: any };
33213
33813
 
33214
33814
  /**
33215
- * Gets the default type url for PartitionedDml
33815
+ * Gets the default type url for ChildLink
33216
33816
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
33217
33817
  * @returns The default type url
33218
33818
  */
33219
33819
  public static getTypeUrl(typeUrlPrefix?: string): string;
33220
33820
  }
33221
33821
 
33222
- /** Properties of a ReadOnly. */
33223
- interface IReadOnly {
33224
-
33225
- /** ReadOnly strong */
33226
- strong?: (boolean|null);
33227
-
33228
- /** ReadOnly minReadTimestamp */
33229
- minReadTimestamp?: (google.protobuf.ITimestamp|null);
33230
-
33231
- /** ReadOnly maxStaleness */
33232
- maxStaleness?: (google.protobuf.IDuration|null);
33233
-
33234
- /** ReadOnly readTimestamp */
33235
- readTimestamp?: (google.protobuf.ITimestamp|null);
33236
-
33237
- /** ReadOnly exactStaleness */
33238
- exactStaleness?: (google.protobuf.IDuration|null);
33239
-
33240
- /** ReadOnly returnReadTimestamp */
33241
- returnReadTimestamp?: (boolean|null);
33242
- }
33243
-
33244
- /** Represents a ReadOnly. */
33245
- class ReadOnly implements IReadOnly {
33246
-
33247
- /**
33248
- * Constructs a new ReadOnly.
33249
- * @param [properties] Properties to set
33250
- */
33251
- constructor(properties?: google.spanner.v1.TransactionOptions.IReadOnly);
33252
-
33253
- /** ReadOnly strong. */
33254
- public strong?: (boolean|null);
33822
+ /** Properties of a ShortRepresentation. */
33823
+ interface IShortRepresentation {
33255
33824
 
33256
- /** ReadOnly minReadTimestamp. */
33257
- public minReadTimestamp?: (google.protobuf.ITimestamp|null);
33825
+ /** ShortRepresentation description */
33826
+ description?: (string|null);
33258
33827
 
33259
- /** ReadOnly maxStaleness. */
33260
- public maxStaleness?: (google.protobuf.IDuration|null);
33828
+ /** ShortRepresentation subqueries */
33829
+ subqueries?: ({ [k: string]: number }|null);
33830
+ }
33261
33831
 
33262
- /** ReadOnly readTimestamp. */
33263
- public readTimestamp?: (google.protobuf.ITimestamp|null);
33832
+ /** Represents a ShortRepresentation. */
33833
+ class ShortRepresentation implements IShortRepresentation {
33264
33834
 
33265
- /** ReadOnly exactStaleness. */
33266
- 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);
33267
33840
 
33268
- /** ReadOnly returnReadTimestamp. */
33269
- public returnReadTimestamp: boolean;
33841
+ /** ShortRepresentation description. */
33842
+ public description: string;
33270
33843
 
33271
- /** ReadOnly timestampBound. */
33272
- public timestampBound?: ("strong"|"minReadTimestamp"|"maxStaleness"|"readTimestamp"|"exactStaleness");
33844
+ /** ShortRepresentation subqueries. */
33845
+ public subqueries: { [k: string]: number };
33273
33846
 
33274
33847
  /**
33275
- * Creates a new ReadOnly instance using the specified properties.
33848
+ * Creates a new ShortRepresentation instance using the specified properties.
33276
33849
  * @param [properties] Properties to set
33277
- * @returns ReadOnly instance
33850
+ * @returns ShortRepresentation instance
33278
33851
  */
33279
- 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;
33280
33853
 
33281
33854
  /**
33282
- * Encodes the specified ReadOnly message. Does not implicitly {@link google.spanner.v1.TransactionOptions.ReadOnly.verify|verify} messages.
33283
- * @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
33284
33857
  * @param [writer] Writer to encode to
33285
33858
  * @returns Writer
33286
33859
  */
33287
- 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;
33288
33861
 
33289
33862
  /**
33290
- * Encodes the specified ReadOnly message, length delimited. Does not implicitly {@link google.spanner.v1.TransactionOptions.ReadOnly.verify|verify} messages.
33291
- * @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
33292
33865
  * @param [writer] Writer to encode to
33293
33866
  * @returns Writer
33294
33867
  */
33295
- 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;
33296
33869
 
33297
33870
  /**
33298
- * Decodes a ReadOnly message from the specified reader or buffer.
33871
+ * Decodes a ShortRepresentation message from the specified reader or buffer.
33299
33872
  * @param reader Reader or buffer to decode from
33300
33873
  * @param [length] Message length if known beforehand
33301
- * @returns ReadOnly
33874
+ * @returns ShortRepresentation
33302
33875
  * @throws {Error} If the payload is not a reader or valid buffer
33303
33876
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
33304
33877
  */
33305
- 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;
33306
33879
 
33307
33880
  /**
33308
- * 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.
33309
33882
  * @param reader Reader or buffer to decode from
33310
- * @returns ReadOnly
33883
+ * @returns ShortRepresentation
33311
33884
  * @throws {Error} If the payload is not a reader or valid buffer
33312
33885
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
33313
33886
  */
33314
- 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;
33315
33888
 
33316
33889
  /**
33317
- * Verifies a ReadOnly message.
33890
+ * Verifies a ShortRepresentation message.
33318
33891
  * @param message Plain object to verify
33319
33892
  * @returns `null` if valid, otherwise the reason why it is not
33320
33893
  */
33321
33894
  public static verify(message: { [k: string]: any }): (string|null);
33322
33895
 
33323
33896
  /**
33324
- * 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.
33325
33898
  * @param object Plain object
33326
- * @returns ReadOnly
33899
+ * @returns ShortRepresentation
33327
33900
  */
33328
- 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;
33329
33902
 
33330
33903
  /**
33331
- * Creates a plain object from a ReadOnly message. Also converts values to other types if specified.
33332
- * @param message ReadOnly
33904
+ * Creates a plain object from a ShortRepresentation message. Also converts values to other types if specified.
33905
+ * @param message ShortRepresentation
33333
33906
  * @param [options] Conversion options
33334
33907
  * @returns Plain object
33335
33908
  */
33336
- 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 };
33337
33910
 
33338
33911
  /**
33339
- * Converts this ReadOnly to JSON.
33912
+ * Converts this ShortRepresentation to JSON.
33340
33913
  * @returns JSON object
33341
33914
  */
33342
33915
  public toJSON(): { [k: string]: any };
33343
33916
 
33344
33917
  /**
33345
- * Gets the default type url for ReadOnly
33918
+ * Gets the default type url for ShortRepresentation
33346
33919
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
33347
33920
  * @returns The default type url
33348
33921
  */
@@ -33350,215 +33923,97 @@ export namespace google {
33350
33923
  }
33351
33924
  }
33352
33925
 
33353
- /** Properties of a Transaction. */
33354
- interface ITransaction {
33355
-
33356
- /** Transaction id */
33357
- id?: (Uint8Array|string|null);
33358
-
33359
- /** Transaction readTimestamp */
33360
- readTimestamp?: (google.protobuf.ITimestamp|null);
33361
- }
33362
-
33363
- /** Represents a Transaction. */
33364
- class Transaction implements ITransaction {
33365
-
33366
- /**
33367
- * Constructs a new Transaction.
33368
- * @param [properties] Properties to set
33369
- */
33370
- constructor(properties?: google.spanner.v1.ITransaction);
33371
-
33372
- /** Transaction id. */
33373
- public id: (Uint8Array|string);
33374
-
33375
- /** Transaction readTimestamp. */
33376
- public readTimestamp?: (google.protobuf.ITimestamp|null);
33377
-
33378
- /**
33379
- * Creates a new Transaction instance using the specified properties.
33380
- * @param [properties] Properties to set
33381
- * @returns Transaction instance
33382
- */
33383
- public static create(properties?: google.spanner.v1.ITransaction): google.spanner.v1.Transaction;
33384
-
33385
- /**
33386
- * Encodes the specified Transaction message. Does not implicitly {@link google.spanner.v1.Transaction.verify|verify} messages.
33387
- * @param message Transaction message or plain object to encode
33388
- * @param [writer] Writer to encode to
33389
- * @returns Writer
33390
- */
33391
- public static encode(message: google.spanner.v1.ITransaction, writer?: $protobuf.Writer): $protobuf.Writer;
33392
-
33393
- /**
33394
- * Encodes the specified Transaction message, length delimited. Does not implicitly {@link google.spanner.v1.Transaction.verify|verify} messages.
33395
- * @param message Transaction message or plain object to encode
33396
- * @param [writer] Writer to encode to
33397
- * @returns Writer
33398
- */
33399
- public static encodeDelimited(message: google.spanner.v1.ITransaction, writer?: $protobuf.Writer): $protobuf.Writer;
33400
-
33401
- /**
33402
- * Decodes a Transaction message from the specified reader or buffer.
33403
- * @param reader Reader or buffer to decode from
33404
- * @param [length] Message length if known beforehand
33405
- * @returns Transaction
33406
- * @throws {Error} If the payload is not a reader or valid buffer
33407
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
33408
- */
33409
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.Transaction;
33410
-
33411
- /**
33412
- * Decodes a Transaction message from the specified reader or buffer, length delimited.
33413
- * @param reader Reader or buffer to decode from
33414
- * @returns Transaction
33415
- * @throws {Error} If the payload is not a reader or valid buffer
33416
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
33417
- */
33418
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.Transaction;
33419
-
33420
- /**
33421
- * Verifies a Transaction message.
33422
- * @param message Plain object to verify
33423
- * @returns `null` if valid, otherwise the reason why it is not
33424
- */
33425
- public static verify(message: { [k: string]: any }): (string|null);
33426
-
33427
- /**
33428
- * Creates a Transaction message from a plain object. Also converts values to their respective internal types.
33429
- * @param object Plain object
33430
- * @returns Transaction
33431
- */
33432
- public static fromObject(object: { [k: string]: any }): google.spanner.v1.Transaction;
33433
-
33434
- /**
33435
- * Creates a plain object from a Transaction message. Also converts values to other types if specified.
33436
- * @param message Transaction
33437
- * @param [options] Conversion options
33438
- * @returns Plain object
33439
- */
33440
- public static toObject(message: google.spanner.v1.Transaction, options?: $protobuf.IConversionOptions): { [k: string]: any };
33441
-
33442
- /**
33443
- * Converts this Transaction to JSON.
33444
- * @returns JSON object
33445
- */
33446
- public toJSON(): { [k: string]: any };
33447
-
33448
- /**
33449
- * Gets the default type url for Transaction
33450
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
33451
- * @returns The default type url
33452
- */
33453
- public static getTypeUrl(typeUrlPrefix?: string): string;
33454
- }
33455
-
33456
- /** Properties of a TransactionSelector. */
33457
- interface ITransactionSelector {
33458
-
33459
- /** TransactionSelector singleUse */
33460
- singleUse?: (google.spanner.v1.ITransactionOptions|null);
33461
-
33462
- /** TransactionSelector id */
33463
- id?: (Uint8Array|string|null);
33926
+ /** Properties of a QueryPlan. */
33927
+ interface IQueryPlan {
33464
33928
 
33465
- /** TransactionSelector begin */
33466
- begin?: (google.spanner.v1.ITransactionOptions|null);
33929
+ /** QueryPlan planNodes */
33930
+ planNodes?: (google.spanner.v1.IPlanNode[]|null);
33467
33931
  }
33468
33932
 
33469
- /** Represents a TransactionSelector. */
33470
- class TransactionSelector implements ITransactionSelector {
33933
+ /** Represents a QueryPlan. */
33934
+ class QueryPlan implements IQueryPlan {
33471
33935
 
33472
33936
  /**
33473
- * Constructs a new TransactionSelector.
33937
+ * Constructs a new QueryPlan.
33474
33938
  * @param [properties] Properties to set
33475
33939
  */
33476
- constructor(properties?: google.spanner.v1.ITransactionSelector);
33477
-
33478
- /** TransactionSelector singleUse. */
33479
- public singleUse?: (google.spanner.v1.ITransactionOptions|null);
33480
-
33481
- /** TransactionSelector id. */
33482
- public id?: (Uint8Array|string|null);
33483
-
33484
- /** TransactionSelector begin. */
33485
- public begin?: (google.spanner.v1.ITransactionOptions|null);
33940
+ constructor(properties?: google.spanner.v1.IQueryPlan);
33486
33941
 
33487
- /** TransactionSelector selector. */
33488
- public selector?: ("singleUse"|"id"|"begin");
33942
+ /** QueryPlan planNodes. */
33943
+ public planNodes: google.spanner.v1.IPlanNode[];
33489
33944
 
33490
33945
  /**
33491
- * Creates a new TransactionSelector instance using the specified properties.
33946
+ * Creates a new QueryPlan instance using the specified properties.
33492
33947
  * @param [properties] Properties to set
33493
- * @returns TransactionSelector instance
33948
+ * @returns QueryPlan instance
33494
33949
  */
33495
- 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;
33496
33951
 
33497
33952
  /**
33498
- * Encodes the specified TransactionSelector message. Does not implicitly {@link google.spanner.v1.TransactionSelector.verify|verify} messages.
33499
- * @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
33500
33955
  * @param [writer] Writer to encode to
33501
33956
  * @returns Writer
33502
33957
  */
33503
- 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;
33504
33959
 
33505
33960
  /**
33506
- * Encodes the specified TransactionSelector message, length delimited. Does not implicitly {@link google.spanner.v1.TransactionSelector.verify|verify} messages.
33507
- * @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
33508
33963
  * @param [writer] Writer to encode to
33509
33964
  * @returns Writer
33510
33965
  */
33511
- 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;
33512
33967
 
33513
33968
  /**
33514
- * Decodes a TransactionSelector message from the specified reader or buffer.
33969
+ * Decodes a QueryPlan message from the specified reader or buffer.
33515
33970
  * @param reader Reader or buffer to decode from
33516
33971
  * @param [length] Message length if known beforehand
33517
- * @returns TransactionSelector
33972
+ * @returns QueryPlan
33518
33973
  * @throws {Error} If the payload is not a reader or valid buffer
33519
33974
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
33520
33975
  */
33521
- 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;
33522
33977
 
33523
33978
  /**
33524
- * 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.
33525
33980
  * @param reader Reader or buffer to decode from
33526
- * @returns TransactionSelector
33981
+ * @returns QueryPlan
33527
33982
  * @throws {Error} If the payload is not a reader or valid buffer
33528
33983
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
33529
33984
  */
33530
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.TransactionSelector;
33985
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.QueryPlan;
33531
33986
 
33532
33987
  /**
33533
- * Verifies a TransactionSelector message.
33988
+ * Verifies a QueryPlan message.
33534
33989
  * @param message Plain object to verify
33535
33990
  * @returns `null` if valid, otherwise the reason why it is not
33536
33991
  */
33537
33992
  public static verify(message: { [k: string]: any }): (string|null);
33538
33993
 
33539
33994
  /**
33540
- * 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.
33541
33996
  * @param object Plain object
33542
- * @returns TransactionSelector
33997
+ * @returns QueryPlan
33543
33998
  */
33544
- public static fromObject(object: { [k: string]: any }): google.spanner.v1.TransactionSelector;
33999
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.QueryPlan;
33545
34000
 
33546
34001
  /**
33547
- * Creates a plain object from a TransactionSelector message. Also converts values to other types if specified.
33548
- * @param message TransactionSelector
34002
+ * Creates a plain object from a QueryPlan message. Also converts values to other types if specified.
34003
+ * @param message QueryPlan
33549
34004
  * @param [options] Conversion options
33550
34005
  * @returns Plain object
33551
34006
  */
33552
- 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 };
33553
34008
 
33554
34009
  /**
33555
- * Converts this TransactionSelector to JSON.
34010
+ * Converts this QueryPlan to JSON.
33556
34011
  * @returns JSON object
33557
34012
  */
33558
34013
  public toJSON(): { [k: string]: any };
33559
34014
 
33560
34015
  /**
33561
- * Gets the default type url for TransactionSelector
34016
+ * Gets the default type url for QueryPlan
33562
34017
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
33563
34018
  * @returns The default type url
33564
34019
  */
@@ -33905,7 +34360,8 @@ export namespace google {
33905
34360
  NUMERIC = 10,
33906
34361
  JSON = 11,
33907
34362
  PROTO = 13,
33908
- ENUM = 14
34363
+ ENUM = 14,
34364
+ INTERVAL = 16
33909
34365
  }
33910
34366
 
33911
34367
  /** TypeAnnotationCode enum. */