@google-cloud/spanner 7.21.0 → 8.1.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.
Files changed (76) hide show
  1. package/README.md +2 -0
  2. package/build/protos/google/spanner/admin/database/v1/backup.proto +1 -1
  3. package/build/protos/google/spanner/admin/database/v1/backup_schedule.proto +1 -1
  4. package/build/protos/google/spanner/admin/database/v1/common.proto +1 -1
  5. package/build/protos/google/spanner/admin/database/v1/spanner_database_admin.proto +36 -1
  6. package/build/protos/google/spanner/admin/instance/v1/common.proto +1 -1
  7. package/build/protos/google/spanner/admin/instance/v1/spanner_instance_admin.proto +1 -1
  8. package/build/protos/google/spanner/executor/v1/cloud_executor.proto +1 -1
  9. package/build/protos/google/spanner/v1/change_stream.proto +451 -0
  10. package/build/protos/google/spanner/v1/commit_response.proto +10 -5
  11. package/build/protos/google/spanner/v1/keys.proto +1 -1
  12. package/build/protos/google/spanner/v1/mutation.proto +1 -1
  13. package/build/protos/google/spanner/v1/query_plan.proto +1 -1
  14. package/build/protos/google/spanner/v1/result_set.proto +55 -49
  15. package/build/protos/google/spanner/v1/spanner.proto +1 -1
  16. package/build/protos/google/spanner/v1/transaction.proto +41 -357
  17. package/build/protos/google/spanner/v1/type.proto +1 -1
  18. package/build/protos/protos.d.ts +1577 -194
  19. package/build/protos/protos.js +3977 -288
  20. package/build/protos/protos.json +325 -3
  21. package/build/src/backup.js +7 -0
  22. package/build/src/batch-transaction.d.ts +48 -29
  23. package/build/src/batch-transaction.js +15 -100
  24. package/build/src/codec.js +63 -47
  25. package/build/src/common-grpc/service-object.js +1 -0
  26. package/build/src/common-grpc/service.js +35 -18
  27. package/build/src/common.d.ts +1 -0
  28. package/build/src/common.js +9 -1
  29. package/build/src/database.d.ts +1 -0
  30. package/build/src/database.js +54 -42
  31. package/build/src/helper.d.ts +99 -0
  32. package/build/src/helper.js +178 -0
  33. package/build/src/index.d.ts +33 -0
  34. package/build/src/index.js +202 -21
  35. package/build/src/instance-config.d.ts +1 -1
  36. package/build/src/instance-config.js +4 -0
  37. package/build/src/instance.js +12 -6
  38. package/build/src/instrument.js +5 -6
  39. package/build/src/metrics/constants.d.ts +36 -0
  40. package/build/src/metrics/constants.js +106 -0
  41. package/build/src/metrics/external-types.d.ts +20 -0
  42. package/build/src/metrics/external-types.js +32 -0
  43. package/build/src/metrics/interceptor.d.ts +13 -0
  44. package/build/src/metrics/interceptor.js +87 -0
  45. package/build/src/metrics/metrics-tracer-factory.d.ts +165 -0
  46. package/build/src/metrics/metrics-tracer-factory.js +389 -0
  47. package/build/src/metrics/metrics-tracer.d.ts +204 -0
  48. package/build/src/metrics/metrics-tracer.js +371 -0
  49. package/build/src/metrics/spanner-metrics-exporter.d.ts +35 -0
  50. package/build/src/metrics/spanner-metrics-exporter.js +119 -0
  51. package/build/src/metrics/transform.d.ts +144 -0
  52. package/build/src/metrics/transform.js +272 -0
  53. package/build/src/multiplexed-session.js +7 -1
  54. package/build/src/partial-result-stream.js +18 -10
  55. package/build/src/request_id_header.js +1 -0
  56. package/build/src/session-factory.d.ts +34 -0
  57. package/build/src/session-factory.js +35 -2
  58. package/build/src/session-pool.js +24 -8
  59. package/build/src/session.d.ts +0 -1
  60. package/build/src/session.js +7 -2
  61. package/build/src/table.js +6 -3
  62. package/build/src/transaction-runner.d.ts +1 -0
  63. package/build/src/transaction-runner.js +18 -2
  64. package/build/src/transaction.d.ts +42 -1
  65. package/build/src/transaction.js +258 -94
  66. package/build/src/v1/database_admin_client.d.ts +37 -2
  67. package/build/src/v1/database_admin_client.js +718 -168
  68. package/build/src/v1/database_admin_client_config.json +4 -0
  69. package/build/src/v1/instance_admin_client.d.ts +122 -1
  70. package/build/src/v1/instance_admin_client.js +765 -146
  71. package/build/src/v1/spanner_client.d.ts +2 -1
  72. package/build/src/v1/spanner_client.js +391 -85
  73. package/build/src/v1/spanner_executor_proxy_client.d.ts +2 -1
  74. package/build/src/v1/spanner_executor_proxy_client.js +41 -19
  75. package/build/src/v1/spanner_proto_list.json +1 -0
  76. package/package.json +64 -58
@@ -3171,7 +3171,7 @@ export namespace google {
3171
3171
  doubleValue?: (number|null);
3172
3172
 
3173
3173
  /** UninterpretedOption stringValue */
3174
- stringValue?: (Uint8Array|string|null);
3174
+ stringValue?: (Uint8Array|Buffer|string|null);
3175
3175
 
3176
3176
  /** UninterpretedOption aggregateValue */
3177
3177
  aggregateValue?: (string|null);
@@ -3202,7 +3202,7 @@ export namespace google {
3202
3202
  public doubleValue: number;
3203
3203
 
3204
3204
  /** UninterpretedOption stringValue. */
3205
- public stringValue: (Uint8Array|string);
3205
+ public stringValue: (Uint8Array|Buffer|string);
3206
3206
 
3207
3207
  /** UninterpretedOption aggregateValue. */
3208
3208
  public aggregateValue: string;
@@ -4238,7 +4238,7 @@ export namespace google {
4238
4238
  type_url?: (string|null);
4239
4239
 
4240
4240
  /** Any value */
4241
- value?: (Uint8Array|string|null);
4241
+ value?: (Uint8Array|Buffer|string|null);
4242
4242
  }
4243
4243
 
4244
4244
  /** Represents an Any. */
@@ -4254,7 +4254,7 @@ export namespace google {
4254
4254
  public type_url: string;
4255
4255
 
4256
4256
  /** Any value. */
4257
- public value: (Uint8Array|string);
4257
+ public value: (Uint8Array|Buffer|string);
4258
4258
 
4259
4259
  /**
4260
4260
  * Creates a new Any instance using the specified properties.
@@ -10260,6 +10260,20 @@ export namespace google {
10260
10260
  * @returns Promise
10261
10261
  */
10262
10262
  public listBackupSchedules(request: google.spanner.admin.database.v1.IListBackupSchedulesRequest): Promise<google.spanner.admin.database.v1.ListBackupSchedulesResponse>;
10263
+
10264
+ /**
10265
+ * Calls InternalUpdateGraphOperation.
10266
+ * @param request InternalUpdateGraphOperationRequest message or plain object
10267
+ * @param callback Node-style callback called with the error, if any, and InternalUpdateGraphOperationResponse
10268
+ */
10269
+ public internalUpdateGraphOperation(request: google.spanner.admin.database.v1.IInternalUpdateGraphOperationRequest, callback: google.spanner.admin.database.v1.DatabaseAdmin.InternalUpdateGraphOperationCallback): void;
10270
+
10271
+ /**
10272
+ * Calls InternalUpdateGraphOperation.
10273
+ * @param request InternalUpdateGraphOperationRequest message or plain object
10274
+ * @returns Promise
10275
+ */
10276
+ public internalUpdateGraphOperation(request: google.spanner.admin.database.v1.IInternalUpdateGraphOperationRequest): Promise<google.spanner.admin.database.v1.InternalUpdateGraphOperationResponse>;
10263
10277
  }
10264
10278
 
10265
10279
  namespace DatabaseAdmin {
@@ -10445,6 +10459,13 @@ export namespace google {
10445
10459
  * @param [response] ListBackupSchedulesResponse
10446
10460
  */
10447
10461
  type ListBackupSchedulesCallback = (error: (Error|null), response?: google.spanner.admin.database.v1.ListBackupSchedulesResponse) => void;
10462
+
10463
+ /**
10464
+ * Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin|internalUpdateGraphOperation}.
10465
+ * @param error Error, if any
10466
+ * @param [response] InternalUpdateGraphOperationResponse
10467
+ */
10468
+ type InternalUpdateGraphOperationCallback = (error: (Error|null), response?: google.spanner.admin.database.v1.InternalUpdateGraphOperationResponse) => void;
10448
10469
  }
10449
10470
 
10450
10471
  /** Properties of a RestoreInfo. */
@@ -10958,7 +10979,7 @@ export namespace google {
10958
10979
  databaseDialect?: (google.spanner.admin.database.v1.DatabaseDialect|keyof typeof google.spanner.admin.database.v1.DatabaseDialect|null);
10959
10980
 
10960
10981
  /** CreateDatabaseRequest protoDescriptors */
10961
- protoDescriptors?: (Uint8Array|string|null);
10982
+ protoDescriptors?: (Uint8Array|Buffer|string|null);
10962
10983
  }
10963
10984
 
10964
10985
  /** Represents a CreateDatabaseRequest. */
@@ -10986,7 +11007,7 @@ export namespace google {
10986
11007
  public databaseDialect: (google.spanner.admin.database.v1.DatabaseDialect|keyof typeof google.spanner.admin.database.v1.DatabaseDialect);
10987
11008
 
10988
11009
  /** CreateDatabaseRequest protoDescriptors. */
10989
- public protoDescriptors: (Uint8Array|string);
11010
+ public protoDescriptors: (Uint8Array|Buffer|string);
10990
11011
 
10991
11012
  /**
10992
11013
  * Creates a new CreateDatabaseRequest instance using the specified properties.
@@ -11485,7 +11506,10 @@ export namespace google {
11485
11506
  operationId?: (string|null);
11486
11507
 
11487
11508
  /** UpdateDatabaseDdlRequest protoDescriptors */
11488
- protoDescriptors?: (Uint8Array|string|null);
11509
+ protoDescriptors?: (Uint8Array|Buffer|string|null);
11510
+
11511
+ /** UpdateDatabaseDdlRequest throughputMode */
11512
+ throughputMode?: (boolean|null);
11489
11513
  }
11490
11514
 
11491
11515
  /** Represents an UpdateDatabaseDdlRequest. */
@@ -11507,7 +11531,10 @@ export namespace google {
11507
11531
  public operationId: string;
11508
11532
 
11509
11533
  /** UpdateDatabaseDdlRequest protoDescriptors. */
11510
- public protoDescriptors: (Uint8Array|string);
11534
+ public protoDescriptors: (Uint8Array|Buffer|string);
11535
+
11536
+ /** UpdateDatabaseDdlRequest throughputMode. */
11537
+ public throughputMode: boolean;
11511
11538
 
11512
11539
  /**
11513
11540
  * Creates a new UpdateDatabaseDdlRequest instance using the specified properties.
@@ -12024,7 +12051,7 @@ export namespace google {
12024
12051
  statements?: (string[]|null);
12025
12052
 
12026
12053
  /** GetDatabaseDdlResponse protoDescriptors */
12027
- protoDescriptors?: (Uint8Array|string|null);
12054
+ protoDescriptors?: (Uint8Array|Buffer|string|null);
12028
12055
  }
12029
12056
 
12030
12057
  /** Represents a GetDatabaseDdlResponse. */
@@ -12040,7 +12067,7 @@ export namespace google {
12040
12067
  public statements: string[];
12041
12068
 
12042
12069
  /** GetDatabaseDdlResponse protoDescriptors. */
12043
- public protoDescriptors: (Uint8Array|string);
12070
+ public protoDescriptors: (Uint8Array|Buffer|string);
12044
12071
 
12045
12072
  /**
12046
12073
  * Creates a new GetDatabaseDdlResponse instance using the specified properties.
@@ -13538,6 +13565,218 @@ export namespace google {
13538
13565
  public static getTypeUrl(typeUrlPrefix?: string): string;
13539
13566
  }
13540
13567
  }
13568
+
13569
+ /** Properties of an InternalUpdateGraphOperationRequest. */
13570
+ interface IInternalUpdateGraphOperationRequest {
13571
+
13572
+ /** InternalUpdateGraphOperationRequest database */
13573
+ database?: (string|null);
13574
+
13575
+ /** InternalUpdateGraphOperationRequest operationId */
13576
+ operationId?: (string|null);
13577
+
13578
+ /** InternalUpdateGraphOperationRequest vmIdentityToken */
13579
+ vmIdentityToken?: (string|null);
13580
+
13581
+ /** InternalUpdateGraphOperationRequest progress */
13582
+ progress?: (number|null);
13583
+
13584
+ /** InternalUpdateGraphOperationRequest status */
13585
+ status?: (google.rpc.IStatus|null);
13586
+ }
13587
+
13588
+ /** Represents an InternalUpdateGraphOperationRequest. */
13589
+ class InternalUpdateGraphOperationRequest implements IInternalUpdateGraphOperationRequest {
13590
+
13591
+ /**
13592
+ * Constructs a new InternalUpdateGraphOperationRequest.
13593
+ * @param [properties] Properties to set
13594
+ */
13595
+ constructor(properties?: google.spanner.admin.database.v1.IInternalUpdateGraphOperationRequest);
13596
+
13597
+ /** InternalUpdateGraphOperationRequest database. */
13598
+ public database: string;
13599
+
13600
+ /** InternalUpdateGraphOperationRequest operationId. */
13601
+ public operationId: string;
13602
+
13603
+ /** InternalUpdateGraphOperationRequest vmIdentityToken. */
13604
+ public vmIdentityToken: string;
13605
+
13606
+ /** InternalUpdateGraphOperationRequest progress. */
13607
+ public progress: number;
13608
+
13609
+ /** InternalUpdateGraphOperationRequest status. */
13610
+ public status?: (google.rpc.IStatus|null);
13611
+
13612
+ /**
13613
+ * Creates a new InternalUpdateGraphOperationRequest instance using the specified properties.
13614
+ * @param [properties] Properties to set
13615
+ * @returns InternalUpdateGraphOperationRequest instance
13616
+ */
13617
+ public static create(properties?: google.spanner.admin.database.v1.IInternalUpdateGraphOperationRequest): google.spanner.admin.database.v1.InternalUpdateGraphOperationRequest;
13618
+
13619
+ /**
13620
+ * Encodes the specified InternalUpdateGraphOperationRequest message. Does not implicitly {@link google.spanner.admin.database.v1.InternalUpdateGraphOperationRequest.verify|verify} messages.
13621
+ * @param message InternalUpdateGraphOperationRequest message or plain object to encode
13622
+ * @param [writer] Writer to encode to
13623
+ * @returns Writer
13624
+ */
13625
+ public static encode(message: google.spanner.admin.database.v1.IInternalUpdateGraphOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
13626
+
13627
+ /**
13628
+ * Encodes the specified InternalUpdateGraphOperationRequest message, length delimited. Does not implicitly {@link google.spanner.admin.database.v1.InternalUpdateGraphOperationRequest.verify|verify} messages.
13629
+ * @param message InternalUpdateGraphOperationRequest message or plain object to encode
13630
+ * @param [writer] Writer to encode to
13631
+ * @returns Writer
13632
+ */
13633
+ public static encodeDelimited(message: google.spanner.admin.database.v1.IInternalUpdateGraphOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
13634
+
13635
+ /**
13636
+ * Decodes an InternalUpdateGraphOperationRequest message from the specified reader or buffer.
13637
+ * @param reader Reader or buffer to decode from
13638
+ * @param [length] Message length if known beforehand
13639
+ * @returns InternalUpdateGraphOperationRequest
13640
+ * @throws {Error} If the payload is not a reader or valid buffer
13641
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13642
+ */
13643
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.database.v1.InternalUpdateGraphOperationRequest;
13644
+
13645
+ /**
13646
+ * Decodes an InternalUpdateGraphOperationRequest message from the specified reader or buffer, length delimited.
13647
+ * @param reader Reader or buffer to decode from
13648
+ * @returns InternalUpdateGraphOperationRequest
13649
+ * @throws {Error} If the payload is not a reader or valid buffer
13650
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13651
+ */
13652
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.database.v1.InternalUpdateGraphOperationRequest;
13653
+
13654
+ /**
13655
+ * Verifies an InternalUpdateGraphOperationRequest message.
13656
+ * @param message Plain object to verify
13657
+ * @returns `null` if valid, otherwise the reason why it is not
13658
+ */
13659
+ public static verify(message: { [k: string]: any }): (string|null);
13660
+
13661
+ /**
13662
+ * Creates an InternalUpdateGraphOperationRequest message from a plain object. Also converts values to their respective internal types.
13663
+ * @param object Plain object
13664
+ * @returns InternalUpdateGraphOperationRequest
13665
+ */
13666
+ public static fromObject(object: { [k: string]: any }): google.spanner.admin.database.v1.InternalUpdateGraphOperationRequest;
13667
+
13668
+ /**
13669
+ * Creates a plain object from an InternalUpdateGraphOperationRequest message. Also converts values to other types if specified.
13670
+ * @param message InternalUpdateGraphOperationRequest
13671
+ * @param [options] Conversion options
13672
+ * @returns Plain object
13673
+ */
13674
+ public static toObject(message: google.spanner.admin.database.v1.InternalUpdateGraphOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
13675
+
13676
+ /**
13677
+ * Converts this InternalUpdateGraphOperationRequest to JSON.
13678
+ * @returns JSON object
13679
+ */
13680
+ public toJSON(): { [k: string]: any };
13681
+
13682
+ /**
13683
+ * Gets the default type url for InternalUpdateGraphOperationRequest
13684
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
13685
+ * @returns The default type url
13686
+ */
13687
+ public static getTypeUrl(typeUrlPrefix?: string): string;
13688
+ }
13689
+
13690
+ /** Properties of an InternalUpdateGraphOperationResponse. */
13691
+ interface IInternalUpdateGraphOperationResponse {
13692
+ }
13693
+
13694
+ /** Represents an InternalUpdateGraphOperationResponse. */
13695
+ class InternalUpdateGraphOperationResponse implements IInternalUpdateGraphOperationResponse {
13696
+
13697
+ /**
13698
+ * Constructs a new InternalUpdateGraphOperationResponse.
13699
+ * @param [properties] Properties to set
13700
+ */
13701
+ constructor(properties?: google.spanner.admin.database.v1.IInternalUpdateGraphOperationResponse);
13702
+
13703
+ /**
13704
+ * Creates a new InternalUpdateGraphOperationResponse instance using the specified properties.
13705
+ * @param [properties] Properties to set
13706
+ * @returns InternalUpdateGraphOperationResponse instance
13707
+ */
13708
+ public static create(properties?: google.spanner.admin.database.v1.IInternalUpdateGraphOperationResponse): google.spanner.admin.database.v1.InternalUpdateGraphOperationResponse;
13709
+
13710
+ /**
13711
+ * Encodes the specified InternalUpdateGraphOperationResponse message. Does not implicitly {@link google.spanner.admin.database.v1.InternalUpdateGraphOperationResponse.verify|verify} messages.
13712
+ * @param message InternalUpdateGraphOperationResponse message or plain object to encode
13713
+ * @param [writer] Writer to encode to
13714
+ * @returns Writer
13715
+ */
13716
+ public static encode(message: google.spanner.admin.database.v1.IInternalUpdateGraphOperationResponse, writer?: $protobuf.Writer): $protobuf.Writer;
13717
+
13718
+ /**
13719
+ * Encodes the specified InternalUpdateGraphOperationResponse message, length delimited. Does not implicitly {@link google.spanner.admin.database.v1.InternalUpdateGraphOperationResponse.verify|verify} messages.
13720
+ * @param message InternalUpdateGraphOperationResponse message or plain object to encode
13721
+ * @param [writer] Writer to encode to
13722
+ * @returns Writer
13723
+ */
13724
+ public static encodeDelimited(message: google.spanner.admin.database.v1.IInternalUpdateGraphOperationResponse, writer?: $protobuf.Writer): $protobuf.Writer;
13725
+
13726
+ /**
13727
+ * Decodes an InternalUpdateGraphOperationResponse message from the specified reader or buffer.
13728
+ * @param reader Reader or buffer to decode from
13729
+ * @param [length] Message length if known beforehand
13730
+ * @returns InternalUpdateGraphOperationResponse
13731
+ * @throws {Error} If the payload is not a reader or valid buffer
13732
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13733
+ */
13734
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.database.v1.InternalUpdateGraphOperationResponse;
13735
+
13736
+ /**
13737
+ * Decodes an InternalUpdateGraphOperationResponse message from the specified reader or buffer, length delimited.
13738
+ * @param reader Reader or buffer to decode from
13739
+ * @returns InternalUpdateGraphOperationResponse
13740
+ * @throws {Error} If the payload is not a reader or valid buffer
13741
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13742
+ */
13743
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.database.v1.InternalUpdateGraphOperationResponse;
13744
+
13745
+ /**
13746
+ * Verifies an InternalUpdateGraphOperationResponse message.
13747
+ * @param message Plain object to verify
13748
+ * @returns `null` if valid, otherwise the reason why it is not
13749
+ */
13750
+ public static verify(message: { [k: string]: any }): (string|null);
13751
+
13752
+ /**
13753
+ * Creates an InternalUpdateGraphOperationResponse message from a plain object. Also converts values to their respective internal types.
13754
+ * @param object Plain object
13755
+ * @returns InternalUpdateGraphOperationResponse
13756
+ */
13757
+ public static fromObject(object: { [k: string]: any }): google.spanner.admin.database.v1.InternalUpdateGraphOperationResponse;
13758
+
13759
+ /**
13760
+ * Creates a plain object from an InternalUpdateGraphOperationResponse message. Also converts values to other types if specified.
13761
+ * @param message InternalUpdateGraphOperationResponse
13762
+ * @param [options] Conversion options
13763
+ * @returns Plain object
13764
+ */
13765
+ public static toObject(message: google.spanner.admin.database.v1.InternalUpdateGraphOperationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
13766
+
13767
+ /**
13768
+ * Converts this InternalUpdateGraphOperationResponse to JSON.
13769
+ * @returns JSON object
13770
+ */
13771
+ public toJSON(): { [k: string]: any };
13772
+
13773
+ /**
13774
+ * Gets the default type url for InternalUpdateGraphOperationResponse
13775
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
13776
+ * @returns The default type url
13777
+ */
13778
+ public static getTypeUrl(typeUrlPrefix?: string): string;
13779
+ }
13541
13780
  }
13542
13781
  }
13543
13782
 
@@ -19591,9 +19830,6 @@ export namespace google {
19591
19830
  /** ReadAction limit. */
19592
19831
  public limit: number;
19593
19832
 
19594
- /** ReadAction _index. */
19595
- public _index?: "index";
19596
-
19597
19833
  /**
19598
19834
  * Creates a new ReadAction instance using the specified properties.
19599
19835
  * @param [properties] Properties to set
@@ -19912,9 +20148,6 @@ export namespace google {
19912
20148
  /** DmlAction autocommitIfSupported. */
19913
20149
  public autocommitIfSupported?: (boolean|null);
19914
20150
 
19915
- /** DmlAction _autocommitIfSupported. */
19916
- public _autocommitIfSupported?: "autocommitIfSupported";
19917
-
19918
20151
  /**
19919
20152
  * Creates a new DmlAction instance using the specified properties.
19920
20153
  * @param [properties] Properties to set
@@ -20106,7 +20339,7 @@ export namespace google {
20106
20339
  doubleValue?: (number|null);
20107
20340
 
20108
20341
  /** Value bytesValue */
20109
- bytesValue?: (Uint8Array|string|null);
20342
+ bytesValue?: (Uint8Array|Buffer|string|null);
20110
20343
 
20111
20344
  /** Value stringValue */
20112
20345
  stringValue?: (string|null);
@@ -20152,7 +20385,7 @@ export namespace google {
20152
20385
  public doubleValue?: (number|null);
20153
20386
 
20154
20387
  /** Value bytesValue. */
20155
- public bytesValue?: (Uint8Array|string|null);
20388
+ public bytesValue?: (Uint8Array|Buffer|string|null);
20156
20389
 
20157
20390
  /** Value stringValue. */
20158
20391
  public stringValue?: (string|null);
@@ -20178,9 +20411,6 @@ export namespace google {
20178
20411
  /** Value valueType. */
20179
20412
  public valueType?: ("isNull"|"intValue"|"boolValue"|"doubleValue"|"bytesValue"|"stringValue"|"structValue"|"timestampValue"|"dateDaysValue"|"isCommitTimestamp"|"arrayValue");
20180
20413
 
20181
- /** Value _arrayType. */
20182
- public _arrayType?: "arrayType";
20183
-
20184
20414
  /**
20185
20415
  * Creates a new Value instance using the specified properties.
20186
20416
  * @param [properties] Properties to set
@@ -20290,9 +20520,6 @@ export namespace google {
20290
20520
  /** KeyRange type. */
20291
20521
  public type?: (google.spanner.executor.v1.KeyRange.Type|keyof typeof google.spanner.executor.v1.KeyRange.Type|null);
20292
20522
 
20293
- /** KeyRange _type. */
20294
- public _type?: "type";
20295
-
20296
20523
  /**
20297
20524
  * Creates a new KeyRange instance using the specified properties.
20298
20525
  * @param [properties] Properties to set
@@ -21156,9 +21383,6 @@ export namespace google {
21156
21383
  /** PartitionedUpdateAction update. */
21157
21384
  public update?: (google.spanner.executor.v1.IQueryAction|null);
21158
21385
 
21159
- /** PartitionedUpdateAction _options. */
21160
- public _options?: "options";
21161
-
21162
21386
  /**
21163
21387
  * Creates a new PartitionedUpdateAction instance using the specified properties.
21164
21388
  * @param [properties] Properties to set
@@ -21264,12 +21488,6 @@ export namespace google {
21264
21488
  /** ExecutePartitionedUpdateOptions tag. */
21265
21489
  public tag?: (string|null);
21266
21490
 
21267
- /** ExecutePartitionedUpdateOptions _rpcPriority. */
21268
- public _rpcPriority?: "rpcPriority";
21269
-
21270
- /** ExecutePartitionedUpdateOptions _tag. */
21271
- public _tag?: "tag";
21272
-
21273
21491
  /**
21274
21492
  * Creates a new ExecutePartitionedUpdateOptions instance using the specified properties.
21275
21493
  * @param [properties] Properties to set
@@ -21386,12 +21604,6 @@ export namespace google {
21386
21604
  /** StartTransactionAction executionOptions. */
21387
21605
  public executionOptions?: (google.spanner.executor.v1.ITransactionExecutionOptions|null);
21388
21606
 
21389
- /** StartTransactionAction _concurrency. */
21390
- public _concurrency?: "concurrency";
21391
-
21392
- /** StartTransactionAction _executionOptions. */
21393
- public _executionOptions?: "executionOptions";
21394
-
21395
21607
  /**
21396
21608
  * Creates a new StartTransactionAction instance using the specified properties.
21397
21609
  * @param [properties] Properties to set
@@ -22448,9 +22660,6 @@ export namespace google {
22448
22660
  /** UpdateUserInstanceConfigAction labels. */
22449
22661
  public labels: { [k: string]: string };
22450
22662
 
22451
- /** UpdateUserInstanceConfigAction _displayName. */
22452
- public _displayName?: "displayName";
22453
-
22454
22663
  /**
22455
22664
  * Creates a new UpdateUserInstanceConfigAction instance using the specified properties.
22456
22665
  * @param [properties] Properties to set
@@ -22766,12 +22975,6 @@ export namespace google {
22766
22975
  /** ListCloudInstanceConfigsAction pageToken. */
22767
22976
  public pageToken?: (string|null);
22768
22977
 
22769
- /** ListCloudInstanceConfigsAction _pageSize. */
22770
- public _pageSize?: "pageSize";
22771
-
22772
- /** ListCloudInstanceConfigsAction _pageToken. */
22773
- public _pageToken?: "pageToken";
22774
-
22775
22978
  /**
22776
22979
  * Creates a new ListCloudInstanceConfigsAction instance using the specified properties.
22777
22980
  * @param [properties] Properties to set
@@ -22905,15 +23108,6 @@ export namespace google {
22905
23108
  /** CreateCloudInstanceAction labels. */
22906
23109
  public labels: { [k: string]: string };
22907
23110
 
22908
- /** CreateCloudInstanceAction _nodeCount. */
22909
- public _nodeCount?: "nodeCount";
22910
-
22911
- /** CreateCloudInstanceAction _processingUnits. */
22912
- public _processingUnits?: "processingUnits";
22913
-
22914
- /** CreateCloudInstanceAction _autoscalingConfig. */
22915
- public _autoscalingConfig?: "autoscalingConfig";
22916
-
22917
23111
  /**
22918
23112
  * Creates a new CreateCloudInstanceAction instance using the specified properties.
22919
23113
  * @param [properties] Properties to set
@@ -23047,18 +23241,6 @@ export namespace google {
23047
23241
  /** UpdateCloudInstanceAction labels. */
23048
23242
  public labels: { [k: string]: string };
23049
23243
 
23050
- /** UpdateCloudInstanceAction _displayName. */
23051
- public _displayName?: "displayName";
23052
-
23053
- /** UpdateCloudInstanceAction _nodeCount. */
23054
- public _nodeCount?: "nodeCount";
23055
-
23056
- /** UpdateCloudInstanceAction _processingUnits. */
23057
- public _processingUnits?: "processingUnits";
23058
-
23059
- /** UpdateCloudInstanceAction _autoscalingConfig. */
23060
- public _autoscalingConfig?: "autoscalingConfig";
23061
-
23062
23244
  /**
23063
23245
  * Creates a new UpdateCloudInstanceAction instance using the specified properties.
23064
23246
  * @param [properties] Properties to set
@@ -23262,7 +23444,7 @@ export namespace google {
23262
23444
  dialect?: (string|null);
23263
23445
 
23264
23446
  /** CreateCloudDatabaseAction protoDescriptors */
23265
- protoDescriptors?: (Uint8Array|string|null);
23447
+ protoDescriptors?: (Uint8Array|Buffer|string|null);
23266
23448
  }
23267
23449
 
23268
23450
  /** Represents a CreateCloudDatabaseAction. */
@@ -23293,13 +23475,7 @@ export namespace google {
23293
23475
  public dialect?: (string|null);
23294
23476
 
23295
23477
  /** CreateCloudDatabaseAction protoDescriptors. */
23296
- public protoDescriptors?: (Uint8Array|string|null);
23297
-
23298
- /** CreateCloudDatabaseAction _dialect. */
23299
- public _dialect?: "dialect";
23300
-
23301
- /** CreateCloudDatabaseAction _protoDescriptors. */
23302
- public _protoDescriptors?: "protoDescriptors";
23478
+ public protoDescriptors?: (Uint8Array|Buffer|string|null);
23303
23479
 
23304
23480
  /**
23305
23481
  * Creates a new CreateCloudDatabaseAction instance using the specified properties.
@@ -23398,7 +23574,7 @@ export namespace google {
23398
23574
  operationId?: (string|null);
23399
23575
 
23400
23576
  /** UpdateCloudDatabaseDdlAction protoDescriptors */
23401
- protoDescriptors?: (Uint8Array|string|null);
23577
+ protoDescriptors?: (Uint8Array|Buffer|string|null);
23402
23578
  }
23403
23579
 
23404
23580
  /** Represents an UpdateCloudDatabaseDdlAction. */
@@ -23426,10 +23602,7 @@ export namespace google {
23426
23602
  public operationId: string;
23427
23603
 
23428
23604
  /** UpdateCloudDatabaseDdlAction protoDescriptors. */
23429
- public protoDescriptors?: (Uint8Array|string|null);
23430
-
23431
- /** UpdateCloudDatabaseDdlAction _protoDescriptors. */
23432
- public _protoDescriptors?: "protoDescriptors";
23605
+ public protoDescriptors?: (Uint8Array|Buffer|string|null);
23433
23606
 
23434
23607
  /**
23435
23608
  * Creates a new UpdateCloudDatabaseDdlAction instance using the specified properties.
@@ -23758,9 +23931,6 @@ export namespace google {
23758
23931
  /** ChangeQuorumCloudDatabaseAction servingLocations. */
23759
23932
  public servingLocations: string[];
23760
23933
 
23761
- /** ChangeQuorumCloudDatabaseAction _databaseUri. */
23762
- public _databaseUri?: "databaseUri";
23763
-
23764
23934
  /**
23765
23935
  * Creates a new ChangeQuorumCloudDatabaseAction instance using the specified properties.
23766
23936
  * @param [properties] Properties to set
@@ -23991,15 +24161,6 @@ export namespace google {
23991
24161
  /** ListCloudInstancesAction pageToken. */
23992
24162
  public pageToken?: (string|null);
23993
24163
 
23994
- /** ListCloudInstancesAction _filter. */
23995
- public _filter?: "filter";
23996
-
23997
- /** ListCloudInstancesAction _pageSize. */
23998
- public _pageSize?: "pageSize";
23999
-
24000
- /** ListCloudInstancesAction _pageToken. */
24001
- public _pageToken?: "pageToken";
24002
-
24003
24164
  /**
24004
24165
  * Creates a new ListCloudInstancesAction instance using the specified properties.
24005
24166
  * @param [properties] Properties to set
@@ -24593,9 +24754,6 @@ export namespace google {
24593
24754
  /** CreateCloudBackupAction encryptionConfig. */
24594
24755
  public encryptionConfig?: (google.spanner.admin.database.v1.IEncryptionConfig|null);
24595
24756
 
24596
- /** CreateCloudBackupAction _versionTime. */
24597
- public _versionTime?: "versionTime";
24598
-
24599
24757
  /**
24600
24758
  * Creates a new CreateCloudBackupAction instance using the specified properties.
24601
24759
  * @param [properties] Properties to set
@@ -25674,7 +25832,7 @@ export namespace google {
25674
25832
  batchTxnTime?: (google.protobuf.ITimestamp|null);
25675
25833
 
25676
25834
  /** StartBatchTransactionAction tid */
25677
- tid?: (Uint8Array|string|null);
25835
+ tid?: (Uint8Array|Buffer|string|null);
25678
25836
 
25679
25837
  /** StartBatchTransactionAction cloudDatabaseRole */
25680
25838
  cloudDatabaseRole?: (string|null);
@@ -25693,7 +25851,7 @@ export namespace google {
25693
25851
  public batchTxnTime?: (google.protobuf.ITimestamp|null);
25694
25852
 
25695
25853
  /** StartBatchTransactionAction tid. */
25696
- public tid?: (Uint8Array|string|null);
25854
+ public tid?: (Uint8Array|Buffer|string|null);
25697
25855
 
25698
25856
  /** StartBatchTransactionAction cloudDatabaseRole. */
25699
25857
  public cloudDatabaseRole: string;
@@ -25913,12 +26071,6 @@ export namespace google {
25913
26071
  /** GenerateDbPartitionsForReadAction maxPartitionCount. */
25914
26072
  public maxPartitionCount?: (number|Long|string|null);
25915
26073
 
25916
- /** GenerateDbPartitionsForReadAction _desiredBytesPerPartition. */
25917
- public _desiredBytesPerPartition?: "desiredBytesPerPartition";
25918
-
25919
- /** GenerateDbPartitionsForReadAction _maxPartitionCount. */
25920
- public _maxPartitionCount?: "maxPartitionCount";
25921
-
25922
26074
  /**
25923
26075
  * Creates a new GenerateDbPartitionsForReadAction instance using the specified properties.
25924
26076
  * @param [properties] Properties to set
@@ -26022,9 +26174,6 @@ export namespace google {
26022
26174
  /** GenerateDbPartitionsForQueryAction desiredBytesPerPartition. */
26023
26175
  public desiredBytesPerPartition?: (number|Long|string|null);
26024
26176
 
26025
- /** GenerateDbPartitionsForQueryAction _desiredBytesPerPartition. */
26026
- public _desiredBytesPerPartition?: "desiredBytesPerPartition";
26027
-
26028
26177
  /**
26029
26178
  * Creates a new GenerateDbPartitionsForQueryAction instance using the specified properties.
26030
26179
  * @param [properties] Properties to set
@@ -26107,10 +26256,10 @@ export namespace google {
26107
26256
  interface IBatchPartition {
26108
26257
 
26109
26258
  /** BatchPartition partition */
26110
- partition?: (Uint8Array|string|null);
26259
+ partition?: (Uint8Array|Buffer|string|null);
26111
26260
 
26112
26261
  /** BatchPartition partitionToken */
26113
- partitionToken?: (Uint8Array|string|null);
26262
+ partitionToken?: (Uint8Array|Buffer|string|null);
26114
26263
 
26115
26264
  /** BatchPartition table */
26116
26265
  table?: (string|null);
@@ -26129,10 +26278,10 @@ export namespace google {
26129
26278
  constructor(properties?: google.spanner.executor.v1.IBatchPartition);
26130
26279
 
26131
26280
  /** BatchPartition partition. */
26132
- public partition: (Uint8Array|string);
26281
+ public partition: (Uint8Array|Buffer|string);
26133
26282
 
26134
26283
  /** BatchPartition partitionToken. */
26135
- public partitionToken: (Uint8Array|string);
26284
+ public partitionToken: (Uint8Array|Buffer|string);
26136
26285
 
26137
26286
  /** BatchPartition table. */
26138
26287
  public table?: (string|null);
@@ -26140,12 +26289,6 @@ export namespace google {
26140
26289
  /** BatchPartition index. */
26141
26290
  public index?: (string|null);
26142
26291
 
26143
- /** BatchPartition _table. */
26144
- public _table?: "table";
26145
-
26146
- /** BatchPartition _index. */
26147
- public _index?: "index";
26148
-
26149
26292
  /**
26150
26293
  * Creates a new BatchPartition instance using the specified properties.
26151
26294
  * @param [properties] Properties to set
@@ -26382,21 +26525,6 @@ export namespace google {
26382
26525
  /** ExecuteChangeStreamQuery cloudDatabaseRole. */
26383
26526
  public cloudDatabaseRole?: (string|null);
26384
26527
 
26385
- /** ExecuteChangeStreamQuery _endTime. */
26386
- public _endTime?: "endTime";
26387
-
26388
- /** ExecuteChangeStreamQuery _partitionToken. */
26389
- public _partitionToken?: "partitionToken";
26390
-
26391
- /** ExecuteChangeStreamQuery _heartbeatMilliseconds. */
26392
- public _heartbeatMilliseconds?: "heartbeatMilliseconds";
26393
-
26394
- /** ExecuteChangeStreamQuery _deadlineSeconds. */
26395
- public _deadlineSeconds?: "deadlineSeconds";
26396
-
26397
- /** ExecuteChangeStreamQuery _cloudDatabaseRole. */
26398
- public _cloudDatabaseRole?: "cloudDatabaseRole";
26399
-
26400
26528
  /**
26401
26529
  * Creates a new ExecuteChangeStreamQuery instance using the specified properties.
26402
26530
  * @param [properties] Properties to set
@@ -26494,7 +26622,7 @@ export namespace google {
26494
26622
  transactionRestarted?: (boolean|null);
26495
26623
 
26496
26624
  /** SpannerActionOutcome batchTxnId */
26497
- batchTxnId?: (Uint8Array|string|null);
26625
+ batchTxnId?: (Uint8Array|Buffer|string|null);
26498
26626
 
26499
26627
  /** SpannerActionOutcome dbPartition */
26500
26628
  dbPartition?: (google.spanner.executor.v1.IBatchPartition[]|null);
@@ -26534,7 +26662,7 @@ export namespace google {
26534
26662
  public transactionRestarted?: (boolean|null);
26535
26663
 
26536
26664
  /** SpannerActionOutcome batchTxnId. */
26537
- public batchTxnId?: (Uint8Array|string|null);
26665
+ public batchTxnId?: (Uint8Array|Buffer|string|null);
26538
26666
 
26539
26667
  /** SpannerActionOutcome dbPartition. */
26540
26668
  public dbPartition: google.spanner.executor.v1.IBatchPartition[];
@@ -26548,27 +26676,6 @@ export namespace google {
26548
26676
  /** SpannerActionOutcome changeStreamRecords. */
26549
26677
  public changeStreamRecords: google.spanner.executor.v1.IChangeStreamRecord[];
26550
26678
 
26551
- /** SpannerActionOutcome _status. */
26552
- public _status?: "status";
26553
-
26554
- /** SpannerActionOutcome _commitTime. */
26555
- public _commitTime?: "commitTime";
26556
-
26557
- /** SpannerActionOutcome _readResult. */
26558
- public _readResult?: "readResult";
26559
-
26560
- /** SpannerActionOutcome _queryResult. */
26561
- public _queryResult?: "queryResult";
26562
-
26563
- /** SpannerActionOutcome _transactionRestarted. */
26564
- public _transactionRestarted?: "transactionRestarted";
26565
-
26566
- /** SpannerActionOutcome _batchTxnId. */
26567
- public _batchTxnId?: "batchTxnId";
26568
-
26569
- /** SpannerActionOutcome _adminResult. */
26570
- public _adminResult?: "adminResult";
26571
-
26572
26679
  /**
26573
26680
  * Creates a new SpannerActionOutcome instance using the specified properties.
26574
26681
  * @param [properties] Properties to set
@@ -27368,15 +27475,6 @@ export namespace google {
27368
27475
  /** ReadResult rowType. */
27369
27476
  public rowType?: (google.spanner.v1.IStructType|null);
27370
27477
 
27371
- /** ReadResult _index. */
27372
- public _index?: "index";
27373
-
27374
- /** ReadResult _requestIndex. */
27375
- public _requestIndex?: "requestIndex";
27376
-
27377
- /** ReadResult _rowType. */
27378
- public _rowType?: "rowType";
27379
-
27380
27478
  /**
27381
27479
  * Creates a new ReadResult instance using the specified properties.
27382
27480
  * @param [properties] Properties to set
@@ -27480,9 +27578,6 @@ export namespace google {
27480
27578
  /** QueryResult rowType. */
27481
27579
  public rowType?: (google.spanner.v1.IStructType|null);
27482
27580
 
27483
- /** QueryResult _rowType. */
27484
- public _rowType?: "rowType";
27485
-
27486
27581
  /**
27487
27582
  * Creates a new QueryResult instance using the specified properties.
27488
27583
  * @param [properties] Properties to set
@@ -30349,13 +30444,13 @@ export namespace google {
30349
30444
  paramTypes?: ({ [k: string]: google.spanner.v1.IType }|null);
30350
30445
 
30351
30446
  /** ExecuteSqlRequest resumeToken */
30352
- resumeToken?: (Uint8Array|string|null);
30447
+ resumeToken?: (Uint8Array|Buffer|string|null);
30353
30448
 
30354
30449
  /** ExecuteSqlRequest queryMode */
30355
30450
  queryMode?: (google.spanner.v1.ExecuteSqlRequest.QueryMode|keyof typeof google.spanner.v1.ExecuteSqlRequest.QueryMode|null);
30356
30451
 
30357
30452
  /** ExecuteSqlRequest partitionToken */
30358
- partitionToken?: (Uint8Array|string|null);
30453
+ partitionToken?: (Uint8Array|Buffer|string|null);
30359
30454
 
30360
30455
  /** ExecuteSqlRequest seqno */
30361
30456
  seqno?: (number|Long|string|null);
@@ -30401,13 +30496,13 @@ export namespace google {
30401
30496
  public paramTypes: { [k: string]: google.spanner.v1.IType };
30402
30497
 
30403
30498
  /** ExecuteSqlRequest resumeToken. */
30404
- public resumeToken: (Uint8Array|string);
30499
+ public resumeToken: (Uint8Array|Buffer|string);
30405
30500
 
30406
30501
  /** ExecuteSqlRequest queryMode. */
30407
30502
  public queryMode: (google.spanner.v1.ExecuteSqlRequest.QueryMode|keyof typeof google.spanner.v1.ExecuteSqlRequest.QueryMode);
30408
30503
 
30409
30504
  /** ExecuteSqlRequest partitionToken. */
30410
- public partitionToken: (Uint8Array|string);
30505
+ public partitionToken: (Uint8Array|Buffer|string);
30411
30506
 
30412
30507
  /** ExecuteSqlRequest seqno. */
30413
30508
  public seqno: (number|Long|string);
@@ -31335,7 +31430,7 @@ export namespace google {
31335
31430
  interface IPartition {
31336
31431
 
31337
31432
  /** Partition partitionToken */
31338
- partitionToken?: (Uint8Array|string|null);
31433
+ partitionToken?: (Uint8Array|Buffer|string|null);
31339
31434
  }
31340
31435
 
31341
31436
  /** Represents a Partition. */
@@ -31348,7 +31443,7 @@ export namespace google {
31348
31443
  constructor(properties?: google.spanner.v1.IPartition);
31349
31444
 
31350
31445
  /** Partition partitionToken. */
31351
- public partitionToken: (Uint8Array|string);
31446
+ public partitionToken: (Uint8Array|Buffer|string);
31352
31447
 
31353
31448
  /**
31354
31449
  * Creates a new Partition instance using the specified properties.
@@ -31556,10 +31651,10 @@ export namespace google {
31556
31651
  limit?: (number|Long|string|null);
31557
31652
 
31558
31653
  /** ReadRequest resumeToken */
31559
- resumeToken?: (Uint8Array|string|null);
31654
+ resumeToken?: (Uint8Array|Buffer|string|null);
31560
31655
 
31561
31656
  /** ReadRequest partitionToken */
31562
- partitionToken?: (Uint8Array|string|null);
31657
+ partitionToken?: (Uint8Array|Buffer|string|null);
31563
31658
 
31564
31659
  /** ReadRequest requestOptions */
31565
31660
  requestOptions?: (google.spanner.v1.IRequestOptions|null);
@@ -31608,10 +31703,10 @@ export namespace google {
31608
31703
  public limit: (number|Long|string);
31609
31704
 
31610
31705
  /** ReadRequest resumeToken. */
31611
- public resumeToken: (Uint8Array|string);
31706
+ public resumeToken: (Uint8Array|Buffer|string);
31612
31707
 
31613
31708
  /** ReadRequest partitionToken. */
31614
- public partitionToken: (Uint8Array|string);
31709
+ public partitionToken: (Uint8Array|Buffer|string);
31615
31710
 
31616
31711
  /** ReadRequest requestOptions. */
31617
31712
  public requestOptions?: (google.spanner.v1.IRequestOptions|null);
@@ -31845,7 +31940,7 @@ export namespace google {
31845
31940
  session?: (string|null);
31846
31941
 
31847
31942
  /** CommitRequest transactionId */
31848
- transactionId?: (Uint8Array|string|null);
31943
+ transactionId?: (Uint8Array|Buffer|string|null);
31849
31944
 
31850
31945
  /** CommitRequest singleUseTransaction */
31851
31946
  singleUseTransaction?: (google.spanner.v1.ITransactionOptions|null);
@@ -31879,7 +31974,7 @@ export namespace google {
31879
31974
  public session: string;
31880
31975
 
31881
31976
  /** CommitRequest transactionId. */
31882
- public transactionId?: (Uint8Array|string|null);
31977
+ public transactionId?: (Uint8Array|Buffer|string|null);
31883
31978
 
31884
31979
  /** CommitRequest singleUseTransaction. */
31885
31980
  public singleUseTransaction?: (google.spanner.v1.ITransactionOptions|null);
@@ -31987,7 +32082,7 @@ export namespace google {
31987
32082
  session?: (string|null);
31988
32083
 
31989
32084
  /** RollbackRequest transactionId */
31990
- transactionId?: (Uint8Array|string|null);
32085
+ transactionId?: (Uint8Array|Buffer|string|null);
31991
32086
  }
31992
32087
 
31993
32088
  /** Represents a RollbackRequest. */
@@ -32003,7 +32098,7 @@ export namespace google {
32003
32098
  public session: string;
32004
32099
 
32005
32100
  /** RollbackRequest transactionId. */
32006
- public transactionId: (Uint8Array|string);
32101
+ public transactionId: (Uint8Array|Buffer|string);
32007
32102
 
32008
32103
  /**
32009
32104
  * Creates a new RollbackRequest instance using the specified properties.
@@ -32418,6 +32513,9 @@ export namespace google {
32418
32513
 
32419
32514
  /** CommitResponse precommitToken */
32420
32515
  precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
32516
+
32517
+ /** CommitResponse snapshotTimestamp */
32518
+ snapshotTimestamp?: (google.protobuf.ITimestamp|null);
32421
32519
  }
32422
32520
 
32423
32521
  /** Represents a CommitResponse. */
@@ -32438,6 +32536,9 @@ export namespace google {
32438
32536
  /** CommitResponse precommitToken. */
32439
32537
  public precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
32440
32538
 
32539
+ /** CommitResponse snapshotTimestamp. */
32540
+ public snapshotTimestamp?: (google.protobuf.ITimestamp|null);
32541
+
32441
32542
  /** CommitResponse MultiplexedSessionRetry. */
32442
32543
  public MultiplexedSessionRetry?: "precommitToken";
32443
32544
 
@@ -32752,7 +32853,7 @@ export namespace google {
32752
32853
  readLockMode?: (google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode|keyof typeof google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode|null);
32753
32854
 
32754
32855
  /** ReadWrite multiplexedSessionPreviousTransactionId */
32755
- multiplexedSessionPreviousTransactionId?: (Uint8Array|string|null);
32856
+ multiplexedSessionPreviousTransactionId?: (Uint8Array|Buffer|string|null);
32756
32857
  }
32757
32858
 
32758
32859
  /** Represents a ReadWrite. */
@@ -32768,7 +32869,7 @@ export namespace google {
32768
32869
  public readLockMode: (google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode|keyof typeof google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode);
32769
32870
 
32770
32871
  /** ReadWrite multiplexedSessionPreviousTransactionId. */
32771
- public multiplexedSessionPreviousTransactionId: (Uint8Array|string);
32872
+ public multiplexedSessionPreviousTransactionId: (Uint8Array|Buffer|string);
32772
32873
 
32773
32874
  /**
32774
32875
  * Creates a new ReadWrite instance using the specified properties.
@@ -33091,7 +33192,7 @@ export namespace google {
33091
33192
  interface ITransaction {
33092
33193
 
33093
33194
  /** Transaction id */
33094
- id?: (Uint8Array|string|null);
33195
+ id?: (Uint8Array|Buffer|string|null);
33095
33196
 
33096
33197
  /** Transaction readTimestamp */
33097
33198
  readTimestamp?: (google.protobuf.ITimestamp|null);
@@ -33110,7 +33211,7 @@ export namespace google {
33110
33211
  constructor(properties?: google.spanner.v1.ITransaction);
33111
33212
 
33112
33213
  /** Transaction id. */
33113
- public id: (Uint8Array|string);
33214
+ public id: (Uint8Array|Buffer|string);
33114
33215
 
33115
33216
  /** Transaction readTimestamp. */
33116
33217
  public readTimestamp?: (google.protobuf.ITimestamp|null);
@@ -33203,7 +33304,7 @@ export namespace google {
33203
33304
  singleUse?: (google.spanner.v1.ITransactionOptions|null);
33204
33305
 
33205
33306
  /** TransactionSelector id */
33206
- id?: (Uint8Array|string|null);
33307
+ id?: (Uint8Array|Buffer|string|null);
33207
33308
 
33208
33309
  /** TransactionSelector begin */
33209
33310
  begin?: (google.spanner.v1.ITransactionOptions|null);
@@ -33222,7 +33323,7 @@ export namespace google {
33222
33323
  public singleUse?: (google.spanner.v1.ITransactionOptions|null);
33223
33324
 
33224
33325
  /** TransactionSelector id. */
33225
- public id?: (Uint8Array|string|null);
33326
+ public id?: (Uint8Array|Buffer|string|null);
33226
33327
 
33227
33328
  /** TransactionSelector begin. */
33228
33329
  public begin?: (google.spanner.v1.ITransactionOptions|null);
@@ -33312,7 +33413,7 @@ export namespace google {
33312
33413
  interface IMultiplexedSessionPrecommitToken {
33313
33414
 
33314
33415
  /** MultiplexedSessionPrecommitToken precommitToken */
33315
- precommitToken?: (Uint8Array|string|null);
33416
+ precommitToken?: (Uint8Array|Buffer|string|null);
33316
33417
 
33317
33418
  /** MultiplexedSessionPrecommitToken seqNum */
33318
33419
  seqNum?: (number|null);
@@ -33328,7 +33429,7 @@ export namespace google {
33328
33429
  constructor(properties?: google.spanner.v1.IMultiplexedSessionPrecommitToken);
33329
33430
 
33330
33431
  /** MultiplexedSessionPrecommitToken precommitToken. */
33331
- public precommitToken: (Uint8Array|string);
33432
+ public precommitToken: (Uint8Array|Buffer|string);
33332
33433
 
33333
33434
  /** MultiplexedSessionPrecommitToken seqNum. */
33334
33435
  public seqNum: number;
@@ -34108,13 +34209,16 @@ export namespace google {
34108
34209
  chunkedValue?: (boolean|null);
34109
34210
 
34110
34211
  /** PartialResultSet resumeToken */
34111
- resumeToken?: (Uint8Array|string|null);
34212
+ resumeToken?: (Uint8Array|Buffer|string|null);
34112
34213
 
34113
34214
  /** PartialResultSet stats */
34114
34215
  stats?: (google.spanner.v1.IResultSetStats|null);
34115
34216
 
34116
34217
  /** PartialResultSet precommitToken */
34117
34218
  precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
34219
+
34220
+ /** PartialResultSet last */
34221
+ last?: (boolean|null);
34118
34222
  }
34119
34223
 
34120
34224
  /** Represents a PartialResultSet. */
@@ -34136,7 +34240,7 @@ export namespace google {
34136
34240
  public chunkedValue: boolean;
34137
34241
 
34138
34242
  /** PartialResultSet resumeToken. */
34139
- public resumeToken: (Uint8Array|string);
34243
+ public resumeToken: (Uint8Array|Buffer|string);
34140
34244
 
34141
34245
  /** PartialResultSet stats. */
34142
34246
  public stats?: (google.spanner.v1.IResultSetStats|null);
@@ -34144,6 +34248,9 @@ export namespace google {
34144
34248
  /** PartialResultSet precommitToken. */
34145
34249
  public precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
34146
34250
 
34251
+ /** PartialResultSet last. */
34252
+ public last: boolean;
34253
+
34147
34254
  /**
34148
34255
  * Creates a new PartialResultSet instance using the specified properties.
34149
34256
  * @param [properties] Properties to set
@@ -35253,6 +35360,1282 @@ export namespace google {
35253
35360
  PG_JSONB = 3,
35254
35361
  PG_OID = 4
35255
35362
  }
35363
+
35364
+ /** Properties of a ChangeStreamRecord. */
35365
+ interface IChangeStreamRecord {
35366
+
35367
+ /** ChangeStreamRecord dataChangeRecord */
35368
+ dataChangeRecord?: (google.spanner.v1.ChangeStreamRecord.IDataChangeRecord|null);
35369
+
35370
+ /** ChangeStreamRecord heartbeatRecord */
35371
+ heartbeatRecord?: (google.spanner.v1.ChangeStreamRecord.IHeartbeatRecord|null);
35372
+
35373
+ /** ChangeStreamRecord partitionStartRecord */
35374
+ partitionStartRecord?: (google.spanner.v1.ChangeStreamRecord.IPartitionStartRecord|null);
35375
+
35376
+ /** ChangeStreamRecord partitionEndRecord */
35377
+ partitionEndRecord?: (google.spanner.v1.ChangeStreamRecord.IPartitionEndRecord|null);
35378
+
35379
+ /** ChangeStreamRecord partitionEventRecord */
35380
+ partitionEventRecord?: (google.spanner.v1.ChangeStreamRecord.IPartitionEventRecord|null);
35381
+ }
35382
+
35383
+ /** Represents a ChangeStreamRecord. */
35384
+ class ChangeStreamRecord implements IChangeStreamRecord {
35385
+
35386
+ /**
35387
+ * Constructs a new ChangeStreamRecord.
35388
+ * @param [properties] Properties to set
35389
+ */
35390
+ constructor(properties?: google.spanner.v1.IChangeStreamRecord);
35391
+
35392
+ /** ChangeStreamRecord dataChangeRecord. */
35393
+ public dataChangeRecord?: (google.spanner.v1.ChangeStreamRecord.IDataChangeRecord|null);
35394
+
35395
+ /** ChangeStreamRecord heartbeatRecord. */
35396
+ public heartbeatRecord?: (google.spanner.v1.ChangeStreamRecord.IHeartbeatRecord|null);
35397
+
35398
+ /** ChangeStreamRecord partitionStartRecord. */
35399
+ public partitionStartRecord?: (google.spanner.v1.ChangeStreamRecord.IPartitionStartRecord|null);
35400
+
35401
+ /** ChangeStreamRecord partitionEndRecord. */
35402
+ public partitionEndRecord?: (google.spanner.v1.ChangeStreamRecord.IPartitionEndRecord|null);
35403
+
35404
+ /** ChangeStreamRecord partitionEventRecord. */
35405
+ public partitionEventRecord?: (google.spanner.v1.ChangeStreamRecord.IPartitionEventRecord|null);
35406
+
35407
+ /** ChangeStreamRecord record. */
35408
+ public record?: ("dataChangeRecord"|"heartbeatRecord"|"partitionStartRecord"|"partitionEndRecord"|"partitionEventRecord");
35409
+
35410
+ /**
35411
+ * Creates a new ChangeStreamRecord instance using the specified properties.
35412
+ * @param [properties] Properties to set
35413
+ * @returns ChangeStreamRecord instance
35414
+ */
35415
+ public static create(properties?: google.spanner.v1.IChangeStreamRecord): google.spanner.v1.ChangeStreamRecord;
35416
+
35417
+ /**
35418
+ * Encodes the specified ChangeStreamRecord message. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.verify|verify} messages.
35419
+ * @param message ChangeStreamRecord message or plain object to encode
35420
+ * @param [writer] Writer to encode to
35421
+ * @returns Writer
35422
+ */
35423
+ public static encode(message: google.spanner.v1.IChangeStreamRecord, writer?: $protobuf.Writer): $protobuf.Writer;
35424
+
35425
+ /**
35426
+ * Encodes the specified ChangeStreamRecord message, length delimited. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.verify|verify} messages.
35427
+ * @param message ChangeStreamRecord message or plain object to encode
35428
+ * @param [writer] Writer to encode to
35429
+ * @returns Writer
35430
+ */
35431
+ public static encodeDelimited(message: google.spanner.v1.IChangeStreamRecord, writer?: $protobuf.Writer): $protobuf.Writer;
35432
+
35433
+ /**
35434
+ * Decodes a ChangeStreamRecord message from the specified reader or buffer.
35435
+ * @param reader Reader or buffer to decode from
35436
+ * @param [length] Message length if known beforehand
35437
+ * @returns ChangeStreamRecord
35438
+ * @throws {Error} If the payload is not a reader or valid buffer
35439
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35440
+ */
35441
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.ChangeStreamRecord;
35442
+
35443
+ /**
35444
+ * Decodes a ChangeStreamRecord message from the specified reader or buffer, length delimited.
35445
+ * @param reader Reader or buffer to decode from
35446
+ * @returns ChangeStreamRecord
35447
+ * @throws {Error} If the payload is not a reader or valid buffer
35448
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35449
+ */
35450
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.ChangeStreamRecord;
35451
+
35452
+ /**
35453
+ * Verifies a ChangeStreamRecord message.
35454
+ * @param message Plain object to verify
35455
+ * @returns `null` if valid, otherwise the reason why it is not
35456
+ */
35457
+ public static verify(message: { [k: string]: any }): (string|null);
35458
+
35459
+ /**
35460
+ * Creates a ChangeStreamRecord message from a plain object. Also converts values to their respective internal types.
35461
+ * @param object Plain object
35462
+ * @returns ChangeStreamRecord
35463
+ */
35464
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.ChangeStreamRecord;
35465
+
35466
+ /**
35467
+ * Creates a plain object from a ChangeStreamRecord message. Also converts values to other types if specified.
35468
+ * @param message ChangeStreamRecord
35469
+ * @param [options] Conversion options
35470
+ * @returns Plain object
35471
+ */
35472
+ public static toObject(message: google.spanner.v1.ChangeStreamRecord, options?: $protobuf.IConversionOptions): { [k: string]: any };
35473
+
35474
+ /**
35475
+ * Converts this ChangeStreamRecord to JSON.
35476
+ * @returns JSON object
35477
+ */
35478
+ public toJSON(): { [k: string]: any };
35479
+
35480
+ /**
35481
+ * Gets the default type url for ChangeStreamRecord
35482
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
35483
+ * @returns The default type url
35484
+ */
35485
+ public static getTypeUrl(typeUrlPrefix?: string): string;
35486
+ }
35487
+
35488
+ namespace ChangeStreamRecord {
35489
+
35490
+ /** Properties of a DataChangeRecord. */
35491
+ interface IDataChangeRecord {
35492
+
35493
+ /** DataChangeRecord commitTimestamp */
35494
+ commitTimestamp?: (google.protobuf.ITimestamp|null);
35495
+
35496
+ /** DataChangeRecord recordSequence */
35497
+ recordSequence?: (string|null);
35498
+
35499
+ /** DataChangeRecord serverTransactionId */
35500
+ serverTransactionId?: (string|null);
35501
+
35502
+ /** DataChangeRecord isLastRecordInTransactionInPartition */
35503
+ isLastRecordInTransactionInPartition?: (boolean|null);
35504
+
35505
+ /** DataChangeRecord table */
35506
+ table?: (string|null);
35507
+
35508
+ /** DataChangeRecord columnMetadata */
35509
+ columnMetadata?: (google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IColumnMetadata[]|null);
35510
+
35511
+ /** DataChangeRecord mods */
35512
+ mods?: (google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IMod[]|null);
35513
+
35514
+ /** DataChangeRecord modType */
35515
+ modType?: (google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModType|keyof typeof google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModType|null);
35516
+
35517
+ /** DataChangeRecord valueCaptureType */
35518
+ valueCaptureType?: (google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ValueCaptureType|keyof typeof google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ValueCaptureType|null);
35519
+
35520
+ /** DataChangeRecord numberOfRecordsInTransaction */
35521
+ numberOfRecordsInTransaction?: (number|null);
35522
+
35523
+ /** DataChangeRecord numberOfPartitionsInTransaction */
35524
+ numberOfPartitionsInTransaction?: (number|null);
35525
+
35526
+ /** DataChangeRecord transactionTag */
35527
+ transactionTag?: (string|null);
35528
+
35529
+ /** DataChangeRecord isSystemTransaction */
35530
+ isSystemTransaction?: (boolean|null);
35531
+ }
35532
+
35533
+ /** Represents a DataChangeRecord. */
35534
+ class DataChangeRecord implements IDataChangeRecord {
35535
+
35536
+ /**
35537
+ * Constructs a new DataChangeRecord.
35538
+ * @param [properties] Properties to set
35539
+ */
35540
+ constructor(properties?: google.spanner.v1.ChangeStreamRecord.IDataChangeRecord);
35541
+
35542
+ /** DataChangeRecord commitTimestamp. */
35543
+ public commitTimestamp?: (google.protobuf.ITimestamp|null);
35544
+
35545
+ /** DataChangeRecord recordSequence. */
35546
+ public recordSequence: string;
35547
+
35548
+ /** DataChangeRecord serverTransactionId. */
35549
+ public serverTransactionId: string;
35550
+
35551
+ /** DataChangeRecord isLastRecordInTransactionInPartition. */
35552
+ public isLastRecordInTransactionInPartition: boolean;
35553
+
35554
+ /** DataChangeRecord table. */
35555
+ public table: string;
35556
+
35557
+ /** DataChangeRecord columnMetadata. */
35558
+ public columnMetadata: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IColumnMetadata[];
35559
+
35560
+ /** DataChangeRecord mods. */
35561
+ public mods: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IMod[];
35562
+
35563
+ /** DataChangeRecord modType. */
35564
+ public modType: (google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModType|keyof typeof google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModType);
35565
+
35566
+ /** DataChangeRecord valueCaptureType. */
35567
+ public valueCaptureType: (google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ValueCaptureType|keyof typeof google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ValueCaptureType);
35568
+
35569
+ /** DataChangeRecord numberOfRecordsInTransaction. */
35570
+ public numberOfRecordsInTransaction: number;
35571
+
35572
+ /** DataChangeRecord numberOfPartitionsInTransaction. */
35573
+ public numberOfPartitionsInTransaction: number;
35574
+
35575
+ /** DataChangeRecord transactionTag. */
35576
+ public transactionTag: string;
35577
+
35578
+ /** DataChangeRecord isSystemTransaction. */
35579
+ public isSystemTransaction: boolean;
35580
+
35581
+ /**
35582
+ * Creates a new DataChangeRecord instance using the specified properties.
35583
+ * @param [properties] Properties to set
35584
+ * @returns DataChangeRecord instance
35585
+ */
35586
+ public static create(properties?: google.spanner.v1.ChangeStreamRecord.IDataChangeRecord): google.spanner.v1.ChangeStreamRecord.DataChangeRecord;
35587
+
35588
+ /**
35589
+ * Encodes the specified DataChangeRecord message. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.DataChangeRecord.verify|verify} messages.
35590
+ * @param message DataChangeRecord message or plain object to encode
35591
+ * @param [writer] Writer to encode to
35592
+ * @returns Writer
35593
+ */
35594
+ public static encode(message: google.spanner.v1.ChangeStreamRecord.IDataChangeRecord, writer?: $protobuf.Writer): $protobuf.Writer;
35595
+
35596
+ /**
35597
+ * Encodes the specified DataChangeRecord message, length delimited. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.DataChangeRecord.verify|verify} messages.
35598
+ * @param message DataChangeRecord message or plain object to encode
35599
+ * @param [writer] Writer to encode to
35600
+ * @returns Writer
35601
+ */
35602
+ public static encodeDelimited(message: google.spanner.v1.ChangeStreamRecord.IDataChangeRecord, writer?: $protobuf.Writer): $protobuf.Writer;
35603
+
35604
+ /**
35605
+ * Decodes a DataChangeRecord message from the specified reader or buffer.
35606
+ * @param reader Reader or buffer to decode from
35607
+ * @param [length] Message length if known beforehand
35608
+ * @returns DataChangeRecord
35609
+ * @throws {Error} If the payload is not a reader or valid buffer
35610
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35611
+ */
35612
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.ChangeStreamRecord.DataChangeRecord;
35613
+
35614
+ /**
35615
+ * Decodes a DataChangeRecord message from the specified reader or buffer, length delimited.
35616
+ * @param reader Reader or buffer to decode from
35617
+ * @returns DataChangeRecord
35618
+ * @throws {Error} If the payload is not a reader or valid buffer
35619
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35620
+ */
35621
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.ChangeStreamRecord.DataChangeRecord;
35622
+
35623
+ /**
35624
+ * Verifies a DataChangeRecord message.
35625
+ * @param message Plain object to verify
35626
+ * @returns `null` if valid, otherwise the reason why it is not
35627
+ */
35628
+ public static verify(message: { [k: string]: any }): (string|null);
35629
+
35630
+ /**
35631
+ * Creates a DataChangeRecord message from a plain object. Also converts values to their respective internal types.
35632
+ * @param object Plain object
35633
+ * @returns DataChangeRecord
35634
+ */
35635
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.ChangeStreamRecord.DataChangeRecord;
35636
+
35637
+ /**
35638
+ * Creates a plain object from a DataChangeRecord message. Also converts values to other types if specified.
35639
+ * @param message DataChangeRecord
35640
+ * @param [options] Conversion options
35641
+ * @returns Plain object
35642
+ */
35643
+ public static toObject(message: google.spanner.v1.ChangeStreamRecord.DataChangeRecord, options?: $protobuf.IConversionOptions): { [k: string]: any };
35644
+
35645
+ /**
35646
+ * Converts this DataChangeRecord to JSON.
35647
+ * @returns JSON object
35648
+ */
35649
+ public toJSON(): { [k: string]: any };
35650
+
35651
+ /**
35652
+ * Gets the default type url for DataChangeRecord
35653
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
35654
+ * @returns The default type url
35655
+ */
35656
+ public static getTypeUrl(typeUrlPrefix?: string): string;
35657
+ }
35658
+
35659
+ namespace DataChangeRecord {
35660
+
35661
+ /** Properties of a ColumnMetadata. */
35662
+ interface IColumnMetadata {
35663
+
35664
+ /** ColumnMetadata name */
35665
+ name?: (string|null);
35666
+
35667
+ /** ColumnMetadata type */
35668
+ type?: (google.spanner.v1.IType|null);
35669
+
35670
+ /** ColumnMetadata isPrimaryKey */
35671
+ isPrimaryKey?: (boolean|null);
35672
+
35673
+ /** ColumnMetadata ordinalPosition */
35674
+ ordinalPosition?: (number|Long|string|null);
35675
+ }
35676
+
35677
+ /** Represents a ColumnMetadata. */
35678
+ class ColumnMetadata implements IColumnMetadata {
35679
+
35680
+ /**
35681
+ * Constructs a new ColumnMetadata.
35682
+ * @param [properties] Properties to set
35683
+ */
35684
+ constructor(properties?: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IColumnMetadata);
35685
+
35686
+ /** ColumnMetadata name. */
35687
+ public name: string;
35688
+
35689
+ /** ColumnMetadata type. */
35690
+ public type?: (google.spanner.v1.IType|null);
35691
+
35692
+ /** ColumnMetadata isPrimaryKey. */
35693
+ public isPrimaryKey: boolean;
35694
+
35695
+ /** ColumnMetadata ordinalPosition. */
35696
+ public ordinalPosition: (number|Long|string);
35697
+
35698
+ /**
35699
+ * Creates a new ColumnMetadata instance using the specified properties.
35700
+ * @param [properties] Properties to set
35701
+ * @returns ColumnMetadata instance
35702
+ */
35703
+ public static create(properties?: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IColumnMetadata): google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ColumnMetadata;
35704
+
35705
+ /**
35706
+ * Encodes the specified ColumnMetadata message. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ColumnMetadata.verify|verify} messages.
35707
+ * @param message ColumnMetadata message or plain object to encode
35708
+ * @param [writer] Writer to encode to
35709
+ * @returns Writer
35710
+ */
35711
+ public static encode(message: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IColumnMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
35712
+
35713
+ /**
35714
+ * Encodes the specified ColumnMetadata message, length delimited. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ColumnMetadata.verify|verify} messages.
35715
+ * @param message ColumnMetadata message or plain object to encode
35716
+ * @param [writer] Writer to encode to
35717
+ * @returns Writer
35718
+ */
35719
+ public static encodeDelimited(message: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IColumnMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
35720
+
35721
+ /**
35722
+ * Decodes a ColumnMetadata message from the specified reader or buffer.
35723
+ * @param reader Reader or buffer to decode from
35724
+ * @param [length] Message length if known beforehand
35725
+ * @returns ColumnMetadata
35726
+ * @throws {Error} If the payload is not a reader or valid buffer
35727
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35728
+ */
35729
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ColumnMetadata;
35730
+
35731
+ /**
35732
+ * Decodes a ColumnMetadata message from the specified reader or buffer, length delimited.
35733
+ * @param reader Reader or buffer to decode from
35734
+ * @returns ColumnMetadata
35735
+ * @throws {Error} If the payload is not a reader or valid buffer
35736
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35737
+ */
35738
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ColumnMetadata;
35739
+
35740
+ /**
35741
+ * Verifies a ColumnMetadata message.
35742
+ * @param message Plain object to verify
35743
+ * @returns `null` if valid, otherwise the reason why it is not
35744
+ */
35745
+ public static verify(message: { [k: string]: any }): (string|null);
35746
+
35747
+ /**
35748
+ * Creates a ColumnMetadata message from a plain object. Also converts values to their respective internal types.
35749
+ * @param object Plain object
35750
+ * @returns ColumnMetadata
35751
+ */
35752
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ColumnMetadata;
35753
+
35754
+ /**
35755
+ * Creates a plain object from a ColumnMetadata message. Also converts values to other types if specified.
35756
+ * @param message ColumnMetadata
35757
+ * @param [options] Conversion options
35758
+ * @returns Plain object
35759
+ */
35760
+ public static toObject(message: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ColumnMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
35761
+
35762
+ /**
35763
+ * Converts this ColumnMetadata to JSON.
35764
+ * @returns JSON object
35765
+ */
35766
+ public toJSON(): { [k: string]: any };
35767
+
35768
+ /**
35769
+ * Gets the default type url for ColumnMetadata
35770
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
35771
+ * @returns The default type url
35772
+ */
35773
+ public static getTypeUrl(typeUrlPrefix?: string): string;
35774
+ }
35775
+
35776
+ /** Properties of a ModValue. */
35777
+ interface IModValue {
35778
+
35779
+ /** ModValue columnMetadataIndex */
35780
+ columnMetadataIndex?: (number|null);
35781
+
35782
+ /** ModValue value */
35783
+ value?: (google.protobuf.IValue|null);
35784
+ }
35785
+
35786
+ /** Represents a ModValue. */
35787
+ class ModValue implements IModValue {
35788
+
35789
+ /**
35790
+ * Constructs a new ModValue.
35791
+ * @param [properties] Properties to set
35792
+ */
35793
+ constructor(properties?: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IModValue);
35794
+
35795
+ /** ModValue columnMetadataIndex. */
35796
+ public columnMetadataIndex: number;
35797
+
35798
+ /** ModValue value. */
35799
+ public value?: (google.protobuf.IValue|null);
35800
+
35801
+ /**
35802
+ * Creates a new ModValue instance using the specified properties.
35803
+ * @param [properties] Properties to set
35804
+ * @returns ModValue instance
35805
+ */
35806
+ public static create(properties?: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IModValue): google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModValue;
35807
+
35808
+ /**
35809
+ * Encodes the specified ModValue message. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModValue.verify|verify} messages.
35810
+ * @param message ModValue message or plain object to encode
35811
+ * @param [writer] Writer to encode to
35812
+ * @returns Writer
35813
+ */
35814
+ public static encode(message: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IModValue, writer?: $protobuf.Writer): $protobuf.Writer;
35815
+
35816
+ /**
35817
+ * Encodes the specified ModValue message, length delimited. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModValue.verify|verify} messages.
35818
+ * @param message ModValue message or plain object to encode
35819
+ * @param [writer] Writer to encode to
35820
+ * @returns Writer
35821
+ */
35822
+ public static encodeDelimited(message: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IModValue, writer?: $protobuf.Writer): $protobuf.Writer;
35823
+
35824
+ /**
35825
+ * Decodes a ModValue message from the specified reader or buffer.
35826
+ * @param reader Reader or buffer to decode from
35827
+ * @param [length] Message length if known beforehand
35828
+ * @returns ModValue
35829
+ * @throws {Error} If the payload is not a reader or valid buffer
35830
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35831
+ */
35832
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModValue;
35833
+
35834
+ /**
35835
+ * Decodes a ModValue message from the specified reader or buffer, length delimited.
35836
+ * @param reader Reader or buffer to decode from
35837
+ * @returns ModValue
35838
+ * @throws {Error} If the payload is not a reader or valid buffer
35839
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35840
+ */
35841
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModValue;
35842
+
35843
+ /**
35844
+ * Verifies a ModValue message.
35845
+ * @param message Plain object to verify
35846
+ * @returns `null` if valid, otherwise the reason why it is not
35847
+ */
35848
+ public static verify(message: { [k: string]: any }): (string|null);
35849
+
35850
+ /**
35851
+ * Creates a ModValue message from a plain object. Also converts values to their respective internal types.
35852
+ * @param object Plain object
35853
+ * @returns ModValue
35854
+ */
35855
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModValue;
35856
+
35857
+ /**
35858
+ * Creates a plain object from a ModValue message. Also converts values to other types if specified.
35859
+ * @param message ModValue
35860
+ * @param [options] Conversion options
35861
+ * @returns Plain object
35862
+ */
35863
+ public static toObject(message: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModValue, options?: $protobuf.IConversionOptions): { [k: string]: any };
35864
+
35865
+ /**
35866
+ * Converts this ModValue to JSON.
35867
+ * @returns JSON object
35868
+ */
35869
+ public toJSON(): { [k: string]: any };
35870
+
35871
+ /**
35872
+ * Gets the default type url for ModValue
35873
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
35874
+ * @returns The default type url
35875
+ */
35876
+ public static getTypeUrl(typeUrlPrefix?: string): string;
35877
+ }
35878
+
35879
+ /** Properties of a Mod. */
35880
+ interface IMod {
35881
+
35882
+ /** Mod keys */
35883
+ keys?: (google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IModValue[]|null);
35884
+
35885
+ /** Mod oldValues */
35886
+ oldValues?: (google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IModValue[]|null);
35887
+
35888
+ /** Mod newValues */
35889
+ newValues?: (google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IModValue[]|null);
35890
+ }
35891
+
35892
+ /** Represents a Mod. */
35893
+ class Mod implements IMod {
35894
+
35895
+ /**
35896
+ * Constructs a new Mod.
35897
+ * @param [properties] Properties to set
35898
+ */
35899
+ constructor(properties?: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IMod);
35900
+
35901
+ /** Mod keys. */
35902
+ public keys: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IModValue[];
35903
+
35904
+ /** Mod oldValues. */
35905
+ public oldValues: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IModValue[];
35906
+
35907
+ /** Mod newValues. */
35908
+ public newValues: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IModValue[];
35909
+
35910
+ /**
35911
+ * Creates a new Mod instance using the specified properties.
35912
+ * @param [properties] Properties to set
35913
+ * @returns Mod instance
35914
+ */
35915
+ public static create(properties?: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IMod): google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Mod;
35916
+
35917
+ /**
35918
+ * Encodes the specified Mod message. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Mod.verify|verify} messages.
35919
+ * @param message Mod message or plain object to encode
35920
+ * @param [writer] Writer to encode to
35921
+ * @returns Writer
35922
+ */
35923
+ public static encode(message: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IMod, writer?: $protobuf.Writer): $protobuf.Writer;
35924
+
35925
+ /**
35926
+ * Encodes the specified Mod message, length delimited. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Mod.verify|verify} messages.
35927
+ * @param message Mod message or plain object to encode
35928
+ * @param [writer] Writer to encode to
35929
+ * @returns Writer
35930
+ */
35931
+ public static encodeDelimited(message: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IMod, writer?: $protobuf.Writer): $protobuf.Writer;
35932
+
35933
+ /**
35934
+ * Decodes a Mod message from the specified reader or buffer.
35935
+ * @param reader Reader or buffer to decode from
35936
+ * @param [length] Message length if known beforehand
35937
+ * @returns Mod
35938
+ * @throws {Error} If the payload is not a reader or valid buffer
35939
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35940
+ */
35941
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Mod;
35942
+
35943
+ /**
35944
+ * Decodes a Mod message from the specified reader or buffer, length delimited.
35945
+ * @param reader Reader or buffer to decode from
35946
+ * @returns Mod
35947
+ * @throws {Error} If the payload is not a reader or valid buffer
35948
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35949
+ */
35950
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Mod;
35951
+
35952
+ /**
35953
+ * Verifies a Mod message.
35954
+ * @param message Plain object to verify
35955
+ * @returns `null` if valid, otherwise the reason why it is not
35956
+ */
35957
+ public static verify(message: { [k: string]: any }): (string|null);
35958
+
35959
+ /**
35960
+ * Creates a Mod message from a plain object. Also converts values to their respective internal types.
35961
+ * @param object Plain object
35962
+ * @returns Mod
35963
+ */
35964
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Mod;
35965
+
35966
+ /**
35967
+ * Creates a plain object from a Mod message. Also converts values to other types if specified.
35968
+ * @param message Mod
35969
+ * @param [options] Conversion options
35970
+ * @returns Plain object
35971
+ */
35972
+ public static toObject(message: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Mod, options?: $protobuf.IConversionOptions): { [k: string]: any };
35973
+
35974
+ /**
35975
+ * Converts this Mod to JSON.
35976
+ * @returns JSON object
35977
+ */
35978
+ public toJSON(): { [k: string]: any };
35979
+
35980
+ /**
35981
+ * Gets the default type url for Mod
35982
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
35983
+ * @returns The default type url
35984
+ */
35985
+ public static getTypeUrl(typeUrlPrefix?: string): string;
35986
+ }
35987
+
35988
+ /** ModType enum. */
35989
+ enum ModType {
35990
+ MOD_TYPE_UNSPECIFIED = 0,
35991
+ INSERT = 10,
35992
+ UPDATE = 20,
35993
+ DELETE = 30
35994
+ }
35995
+
35996
+ /** ValueCaptureType enum. */
35997
+ enum ValueCaptureType {
35998
+ VALUE_CAPTURE_TYPE_UNSPECIFIED = 0,
35999
+ OLD_AND_NEW_VALUES = 10,
36000
+ NEW_VALUES = 20,
36001
+ NEW_ROW = 30,
36002
+ NEW_ROW_AND_OLD_VALUES = 40
36003
+ }
36004
+ }
36005
+
36006
+ /** Properties of a HeartbeatRecord. */
36007
+ interface IHeartbeatRecord {
36008
+
36009
+ /** HeartbeatRecord timestamp */
36010
+ timestamp?: (google.protobuf.ITimestamp|null);
36011
+ }
36012
+
36013
+ /** Represents a HeartbeatRecord. */
36014
+ class HeartbeatRecord implements IHeartbeatRecord {
36015
+
36016
+ /**
36017
+ * Constructs a new HeartbeatRecord.
36018
+ * @param [properties] Properties to set
36019
+ */
36020
+ constructor(properties?: google.spanner.v1.ChangeStreamRecord.IHeartbeatRecord);
36021
+
36022
+ /** HeartbeatRecord timestamp. */
36023
+ public timestamp?: (google.protobuf.ITimestamp|null);
36024
+
36025
+ /**
36026
+ * Creates a new HeartbeatRecord instance using the specified properties.
36027
+ * @param [properties] Properties to set
36028
+ * @returns HeartbeatRecord instance
36029
+ */
36030
+ public static create(properties?: google.spanner.v1.ChangeStreamRecord.IHeartbeatRecord): google.spanner.v1.ChangeStreamRecord.HeartbeatRecord;
36031
+
36032
+ /**
36033
+ * Encodes the specified HeartbeatRecord message. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.HeartbeatRecord.verify|verify} messages.
36034
+ * @param message HeartbeatRecord message or plain object to encode
36035
+ * @param [writer] Writer to encode to
36036
+ * @returns Writer
36037
+ */
36038
+ public static encode(message: google.spanner.v1.ChangeStreamRecord.IHeartbeatRecord, writer?: $protobuf.Writer): $protobuf.Writer;
36039
+
36040
+ /**
36041
+ * Encodes the specified HeartbeatRecord message, length delimited. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.HeartbeatRecord.verify|verify} messages.
36042
+ * @param message HeartbeatRecord message or plain object to encode
36043
+ * @param [writer] Writer to encode to
36044
+ * @returns Writer
36045
+ */
36046
+ public static encodeDelimited(message: google.spanner.v1.ChangeStreamRecord.IHeartbeatRecord, writer?: $protobuf.Writer): $protobuf.Writer;
36047
+
36048
+ /**
36049
+ * Decodes a HeartbeatRecord message from the specified reader or buffer.
36050
+ * @param reader Reader or buffer to decode from
36051
+ * @param [length] Message length if known beforehand
36052
+ * @returns HeartbeatRecord
36053
+ * @throws {Error} If the payload is not a reader or valid buffer
36054
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
36055
+ */
36056
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.ChangeStreamRecord.HeartbeatRecord;
36057
+
36058
+ /**
36059
+ * Decodes a HeartbeatRecord message from the specified reader or buffer, length delimited.
36060
+ * @param reader Reader or buffer to decode from
36061
+ * @returns HeartbeatRecord
36062
+ * @throws {Error} If the payload is not a reader or valid buffer
36063
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
36064
+ */
36065
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.ChangeStreamRecord.HeartbeatRecord;
36066
+
36067
+ /**
36068
+ * Verifies a HeartbeatRecord message.
36069
+ * @param message Plain object to verify
36070
+ * @returns `null` if valid, otherwise the reason why it is not
36071
+ */
36072
+ public static verify(message: { [k: string]: any }): (string|null);
36073
+
36074
+ /**
36075
+ * Creates a HeartbeatRecord message from a plain object. Also converts values to their respective internal types.
36076
+ * @param object Plain object
36077
+ * @returns HeartbeatRecord
36078
+ */
36079
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.ChangeStreamRecord.HeartbeatRecord;
36080
+
36081
+ /**
36082
+ * Creates a plain object from a HeartbeatRecord message. Also converts values to other types if specified.
36083
+ * @param message HeartbeatRecord
36084
+ * @param [options] Conversion options
36085
+ * @returns Plain object
36086
+ */
36087
+ public static toObject(message: google.spanner.v1.ChangeStreamRecord.HeartbeatRecord, options?: $protobuf.IConversionOptions): { [k: string]: any };
36088
+
36089
+ /**
36090
+ * Converts this HeartbeatRecord to JSON.
36091
+ * @returns JSON object
36092
+ */
36093
+ public toJSON(): { [k: string]: any };
36094
+
36095
+ /**
36096
+ * Gets the default type url for HeartbeatRecord
36097
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
36098
+ * @returns The default type url
36099
+ */
36100
+ public static getTypeUrl(typeUrlPrefix?: string): string;
36101
+ }
36102
+
36103
+ /** Properties of a PartitionStartRecord. */
36104
+ interface IPartitionStartRecord {
36105
+
36106
+ /** PartitionStartRecord startTimestamp */
36107
+ startTimestamp?: (google.protobuf.ITimestamp|null);
36108
+
36109
+ /** PartitionStartRecord recordSequence */
36110
+ recordSequence?: (string|null);
36111
+
36112
+ /** PartitionStartRecord partitionTokens */
36113
+ partitionTokens?: (string[]|null);
36114
+ }
36115
+
36116
+ /** Represents a PartitionStartRecord. */
36117
+ class PartitionStartRecord implements IPartitionStartRecord {
36118
+
36119
+ /**
36120
+ * Constructs a new PartitionStartRecord.
36121
+ * @param [properties] Properties to set
36122
+ */
36123
+ constructor(properties?: google.spanner.v1.ChangeStreamRecord.IPartitionStartRecord);
36124
+
36125
+ /** PartitionStartRecord startTimestamp. */
36126
+ public startTimestamp?: (google.protobuf.ITimestamp|null);
36127
+
36128
+ /** PartitionStartRecord recordSequence. */
36129
+ public recordSequence: string;
36130
+
36131
+ /** PartitionStartRecord partitionTokens. */
36132
+ public partitionTokens: string[];
36133
+
36134
+ /**
36135
+ * Creates a new PartitionStartRecord instance using the specified properties.
36136
+ * @param [properties] Properties to set
36137
+ * @returns PartitionStartRecord instance
36138
+ */
36139
+ public static create(properties?: google.spanner.v1.ChangeStreamRecord.IPartitionStartRecord): google.spanner.v1.ChangeStreamRecord.PartitionStartRecord;
36140
+
36141
+ /**
36142
+ * Encodes the specified PartitionStartRecord message. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.PartitionStartRecord.verify|verify} messages.
36143
+ * @param message PartitionStartRecord message or plain object to encode
36144
+ * @param [writer] Writer to encode to
36145
+ * @returns Writer
36146
+ */
36147
+ public static encode(message: google.spanner.v1.ChangeStreamRecord.IPartitionStartRecord, writer?: $protobuf.Writer): $protobuf.Writer;
36148
+
36149
+ /**
36150
+ * Encodes the specified PartitionStartRecord message, length delimited. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.PartitionStartRecord.verify|verify} messages.
36151
+ * @param message PartitionStartRecord message or plain object to encode
36152
+ * @param [writer] Writer to encode to
36153
+ * @returns Writer
36154
+ */
36155
+ public static encodeDelimited(message: google.spanner.v1.ChangeStreamRecord.IPartitionStartRecord, writer?: $protobuf.Writer): $protobuf.Writer;
36156
+
36157
+ /**
36158
+ * Decodes a PartitionStartRecord message from the specified reader or buffer.
36159
+ * @param reader Reader or buffer to decode from
36160
+ * @param [length] Message length if known beforehand
36161
+ * @returns PartitionStartRecord
36162
+ * @throws {Error} If the payload is not a reader or valid buffer
36163
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
36164
+ */
36165
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.ChangeStreamRecord.PartitionStartRecord;
36166
+
36167
+ /**
36168
+ * Decodes a PartitionStartRecord message from the specified reader or buffer, length delimited.
36169
+ * @param reader Reader or buffer to decode from
36170
+ * @returns PartitionStartRecord
36171
+ * @throws {Error} If the payload is not a reader or valid buffer
36172
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
36173
+ */
36174
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.ChangeStreamRecord.PartitionStartRecord;
36175
+
36176
+ /**
36177
+ * Verifies a PartitionStartRecord message.
36178
+ * @param message Plain object to verify
36179
+ * @returns `null` if valid, otherwise the reason why it is not
36180
+ */
36181
+ public static verify(message: { [k: string]: any }): (string|null);
36182
+
36183
+ /**
36184
+ * Creates a PartitionStartRecord message from a plain object. Also converts values to their respective internal types.
36185
+ * @param object Plain object
36186
+ * @returns PartitionStartRecord
36187
+ */
36188
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.ChangeStreamRecord.PartitionStartRecord;
36189
+
36190
+ /**
36191
+ * Creates a plain object from a PartitionStartRecord message. Also converts values to other types if specified.
36192
+ * @param message PartitionStartRecord
36193
+ * @param [options] Conversion options
36194
+ * @returns Plain object
36195
+ */
36196
+ public static toObject(message: google.spanner.v1.ChangeStreamRecord.PartitionStartRecord, options?: $protobuf.IConversionOptions): { [k: string]: any };
36197
+
36198
+ /**
36199
+ * Converts this PartitionStartRecord to JSON.
36200
+ * @returns JSON object
36201
+ */
36202
+ public toJSON(): { [k: string]: any };
36203
+
36204
+ /**
36205
+ * Gets the default type url for PartitionStartRecord
36206
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
36207
+ * @returns The default type url
36208
+ */
36209
+ public static getTypeUrl(typeUrlPrefix?: string): string;
36210
+ }
36211
+
36212
+ /** Properties of a PartitionEndRecord. */
36213
+ interface IPartitionEndRecord {
36214
+
36215
+ /** PartitionEndRecord endTimestamp */
36216
+ endTimestamp?: (google.protobuf.ITimestamp|null);
36217
+
36218
+ /** PartitionEndRecord recordSequence */
36219
+ recordSequence?: (string|null);
36220
+
36221
+ /** PartitionEndRecord partitionToken */
36222
+ partitionToken?: (string|null);
36223
+ }
36224
+
36225
+ /** Represents a PartitionEndRecord. */
36226
+ class PartitionEndRecord implements IPartitionEndRecord {
36227
+
36228
+ /**
36229
+ * Constructs a new PartitionEndRecord.
36230
+ * @param [properties] Properties to set
36231
+ */
36232
+ constructor(properties?: google.spanner.v1.ChangeStreamRecord.IPartitionEndRecord);
36233
+
36234
+ /** PartitionEndRecord endTimestamp. */
36235
+ public endTimestamp?: (google.protobuf.ITimestamp|null);
36236
+
36237
+ /** PartitionEndRecord recordSequence. */
36238
+ public recordSequence: string;
36239
+
36240
+ /** PartitionEndRecord partitionToken. */
36241
+ public partitionToken: string;
36242
+
36243
+ /**
36244
+ * Creates a new PartitionEndRecord instance using the specified properties.
36245
+ * @param [properties] Properties to set
36246
+ * @returns PartitionEndRecord instance
36247
+ */
36248
+ public static create(properties?: google.spanner.v1.ChangeStreamRecord.IPartitionEndRecord): google.spanner.v1.ChangeStreamRecord.PartitionEndRecord;
36249
+
36250
+ /**
36251
+ * Encodes the specified PartitionEndRecord message. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.PartitionEndRecord.verify|verify} messages.
36252
+ * @param message PartitionEndRecord message or plain object to encode
36253
+ * @param [writer] Writer to encode to
36254
+ * @returns Writer
36255
+ */
36256
+ public static encode(message: google.spanner.v1.ChangeStreamRecord.IPartitionEndRecord, writer?: $protobuf.Writer): $protobuf.Writer;
36257
+
36258
+ /**
36259
+ * Encodes the specified PartitionEndRecord message, length delimited. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.PartitionEndRecord.verify|verify} messages.
36260
+ * @param message PartitionEndRecord message or plain object to encode
36261
+ * @param [writer] Writer to encode to
36262
+ * @returns Writer
36263
+ */
36264
+ public static encodeDelimited(message: google.spanner.v1.ChangeStreamRecord.IPartitionEndRecord, writer?: $protobuf.Writer): $protobuf.Writer;
36265
+
36266
+ /**
36267
+ * Decodes a PartitionEndRecord message from the specified reader or buffer.
36268
+ * @param reader Reader or buffer to decode from
36269
+ * @param [length] Message length if known beforehand
36270
+ * @returns PartitionEndRecord
36271
+ * @throws {Error} If the payload is not a reader or valid buffer
36272
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
36273
+ */
36274
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.ChangeStreamRecord.PartitionEndRecord;
36275
+
36276
+ /**
36277
+ * Decodes a PartitionEndRecord message from the specified reader or buffer, length delimited.
36278
+ * @param reader Reader or buffer to decode from
36279
+ * @returns PartitionEndRecord
36280
+ * @throws {Error} If the payload is not a reader or valid buffer
36281
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
36282
+ */
36283
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.ChangeStreamRecord.PartitionEndRecord;
36284
+
36285
+ /**
36286
+ * Verifies a PartitionEndRecord message.
36287
+ * @param message Plain object to verify
36288
+ * @returns `null` if valid, otherwise the reason why it is not
36289
+ */
36290
+ public static verify(message: { [k: string]: any }): (string|null);
36291
+
36292
+ /**
36293
+ * Creates a PartitionEndRecord message from a plain object. Also converts values to their respective internal types.
36294
+ * @param object Plain object
36295
+ * @returns PartitionEndRecord
36296
+ */
36297
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.ChangeStreamRecord.PartitionEndRecord;
36298
+
36299
+ /**
36300
+ * Creates a plain object from a PartitionEndRecord message. Also converts values to other types if specified.
36301
+ * @param message PartitionEndRecord
36302
+ * @param [options] Conversion options
36303
+ * @returns Plain object
36304
+ */
36305
+ public static toObject(message: google.spanner.v1.ChangeStreamRecord.PartitionEndRecord, options?: $protobuf.IConversionOptions): { [k: string]: any };
36306
+
36307
+ /**
36308
+ * Converts this PartitionEndRecord to JSON.
36309
+ * @returns JSON object
36310
+ */
36311
+ public toJSON(): { [k: string]: any };
36312
+
36313
+ /**
36314
+ * Gets the default type url for PartitionEndRecord
36315
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
36316
+ * @returns The default type url
36317
+ */
36318
+ public static getTypeUrl(typeUrlPrefix?: string): string;
36319
+ }
36320
+
36321
+ /** Properties of a PartitionEventRecord. */
36322
+ interface IPartitionEventRecord {
36323
+
36324
+ /** PartitionEventRecord commitTimestamp */
36325
+ commitTimestamp?: (google.protobuf.ITimestamp|null);
36326
+
36327
+ /** PartitionEventRecord recordSequence */
36328
+ recordSequence?: (string|null);
36329
+
36330
+ /** PartitionEventRecord partitionToken */
36331
+ partitionToken?: (string|null);
36332
+
36333
+ /** PartitionEventRecord moveInEvents */
36334
+ moveInEvents?: (google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.IMoveInEvent[]|null);
36335
+
36336
+ /** PartitionEventRecord moveOutEvents */
36337
+ moveOutEvents?: (google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.IMoveOutEvent[]|null);
36338
+ }
36339
+
36340
+ /** Represents a PartitionEventRecord. */
36341
+ class PartitionEventRecord implements IPartitionEventRecord {
36342
+
36343
+ /**
36344
+ * Constructs a new PartitionEventRecord.
36345
+ * @param [properties] Properties to set
36346
+ */
36347
+ constructor(properties?: google.spanner.v1.ChangeStreamRecord.IPartitionEventRecord);
36348
+
36349
+ /** PartitionEventRecord commitTimestamp. */
36350
+ public commitTimestamp?: (google.protobuf.ITimestamp|null);
36351
+
36352
+ /** PartitionEventRecord recordSequence. */
36353
+ public recordSequence: string;
36354
+
36355
+ /** PartitionEventRecord partitionToken. */
36356
+ public partitionToken: string;
36357
+
36358
+ /** PartitionEventRecord moveInEvents. */
36359
+ public moveInEvents: google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.IMoveInEvent[];
36360
+
36361
+ /** PartitionEventRecord moveOutEvents. */
36362
+ public moveOutEvents: google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.IMoveOutEvent[];
36363
+
36364
+ /**
36365
+ * Creates a new PartitionEventRecord instance using the specified properties.
36366
+ * @param [properties] Properties to set
36367
+ * @returns PartitionEventRecord instance
36368
+ */
36369
+ public static create(properties?: google.spanner.v1.ChangeStreamRecord.IPartitionEventRecord): google.spanner.v1.ChangeStreamRecord.PartitionEventRecord;
36370
+
36371
+ /**
36372
+ * Encodes the specified PartitionEventRecord message. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.verify|verify} messages.
36373
+ * @param message PartitionEventRecord message or plain object to encode
36374
+ * @param [writer] Writer to encode to
36375
+ * @returns Writer
36376
+ */
36377
+ public static encode(message: google.spanner.v1.ChangeStreamRecord.IPartitionEventRecord, writer?: $protobuf.Writer): $protobuf.Writer;
36378
+
36379
+ /**
36380
+ * Encodes the specified PartitionEventRecord message, length delimited. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.verify|verify} messages.
36381
+ * @param message PartitionEventRecord message or plain object to encode
36382
+ * @param [writer] Writer to encode to
36383
+ * @returns Writer
36384
+ */
36385
+ public static encodeDelimited(message: google.spanner.v1.ChangeStreamRecord.IPartitionEventRecord, writer?: $protobuf.Writer): $protobuf.Writer;
36386
+
36387
+ /**
36388
+ * Decodes a PartitionEventRecord message from the specified reader or buffer.
36389
+ * @param reader Reader or buffer to decode from
36390
+ * @param [length] Message length if known beforehand
36391
+ * @returns PartitionEventRecord
36392
+ * @throws {Error} If the payload is not a reader or valid buffer
36393
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
36394
+ */
36395
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.ChangeStreamRecord.PartitionEventRecord;
36396
+
36397
+ /**
36398
+ * Decodes a PartitionEventRecord message from the specified reader or buffer, length delimited.
36399
+ * @param reader Reader or buffer to decode from
36400
+ * @returns PartitionEventRecord
36401
+ * @throws {Error} If the payload is not a reader or valid buffer
36402
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
36403
+ */
36404
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.ChangeStreamRecord.PartitionEventRecord;
36405
+
36406
+ /**
36407
+ * Verifies a PartitionEventRecord message.
36408
+ * @param message Plain object to verify
36409
+ * @returns `null` if valid, otherwise the reason why it is not
36410
+ */
36411
+ public static verify(message: { [k: string]: any }): (string|null);
36412
+
36413
+ /**
36414
+ * Creates a PartitionEventRecord message from a plain object. Also converts values to their respective internal types.
36415
+ * @param object Plain object
36416
+ * @returns PartitionEventRecord
36417
+ */
36418
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.ChangeStreamRecord.PartitionEventRecord;
36419
+
36420
+ /**
36421
+ * Creates a plain object from a PartitionEventRecord message. Also converts values to other types if specified.
36422
+ * @param message PartitionEventRecord
36423
+ * @param [options] Conversion options
36424
+ * @returns Plain object
36425
+ */
36426
+ public static toObject(message: google.spanner.v1.ChangeStreamRecord.PartitionEventRecord, options?: $protobuf.IConversionOptions): { [k: string]: any };
36427
+
36428
+ /**
36429
+ * Converts this PartitionEventRecord to JSON.
36430
+ * @returns JSON object
36431
+ */
36432
+ public toJSON(): { [k: string]: any };
36433
+
36434
+ /**
36435
+ * Gets the default type url for PartitionEventRecord
36436
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
36437
+ * @returns The default type url
36438
+ */
36439
+ public static getTypeUrl(typeUrlPrefix?: string): string;
36440
+ }
36441
+
36442
+ namespace PartitionEventRecord {
36443
+
36444
+ /** Properties of a MoveInEvent. */
36445
+ interface IMoveInEvent {
36446
+
36447
+ /** MoveInEvent sourcePartitionToken */
36448
+ sourcePartitionToken?: (string|null);
36449
+ }
36450
+
36451
+ /** Represents a MoveInEvent. */
36452
+ class MoveInEvent implements IMoveInEvent {
36453
+
36454
+ /**
36455
+ * Constructs a new MoveInEvent.
36456
+ * @param [properties] Properties to set
36457
+ */
36458
+ constructor(properties?: google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.IMoveInEvent);
36459
+
36460
+ /** MoveInEvent sourcePartitionToken. */
36461
+ public sourcePartitionToken: string;
36462
+
36463
+ /**
36464
+ * Creates a new MoveInEvent instance using the specified properties.
36465
+ * @param [properties] Properties to set
36466
+ * @returns MoveInEvent instance
36467
+ */
36468
+ public static create(properties?: google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.IMoveInEvent): google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveInEvent;
36469
+
36470
+ /**
36471
+ * Encodes the specified MoveInEvent message. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveInEvent.verify|verify} messages.
36472
+ * @param message MoveInEvent message or plain object to encode
36473
+ * @param [writer] Writer to encode to
36474
+ * @returns Writer
36475
+ */
36476
+ public static encode(message: google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.IMoveInEvent, writer?: $protobuf.Writer): $protobuf.Writer;
36477
+
36478
+ /**
36479
+ * Encodes the specified MoveInEvent message, length delimited. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveInEvent.verify|verify} messages.
36480
+ * @param message MoveInEvent message or plain object to encode
36481
+ * @param [writer] Writer to encode to
36482
+ * @returns Writer
36483
+ */
36484
+ public static encodeDelimited(message: google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.IMoveInEvent, writer?: $protobuf.Writer): $protobuf.Writer;
36485
+
36486
+ /**
36487
+ * Decodes a MoveInEvent message from the specified reader or buffer.
36488
+ * @param reader Reader or buffer to decode from
36489
+ * @param [length] Message length if known beforehand
36490
+ * @returns MoveInEvent
36491
+ * @throws {Error} If the payload is not a reader or valid buffer
36492
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
36493
+ */
36494
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveInEvent;
36495
+
36496
+ /**
36497
+ * Decodes a MoveInEvent message from the specified reader or buffer, length delimited.
36498
+ * @param reader Reader or buffer to decode from
36499
+ * @returns MoveInEvent
36500
+ * @throws {Error} If the payload is not a reader or valid buffer
36501
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
36502
+ */
36503
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveInEvent;
36504
+
36505
+ /**
36506
+ * Verifies a MoveInEvent message.
36507
+ * @param message Plain object to verify
36508
+ * @returns `null` if valid, otherwise the reason why it is not
36509
+ */
36510
+ public static verify(message: { [k: string]: any }): (string|null);
36511
+
36512
+ /**
36513
+ * Creates a MoveInEvent message from a plain object. Also converts values to their respective internal types.
36514
+ * @param object Plain object
36515
+ * @returns MoveInEvent
36516
+ */
36517
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveInEvent;
36518
+
36519
+ /**
36520
+ * Creates a plain object from a MoveInEvent message. Also converts values to other types if specified.
36521
+ * @param message MoveInEvent
36522
+ * @param [options] Conversion options
36523
+ * @returns Plain object
36524
+ */
36525
+ public static toObject(message: google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveInEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
36526
+
36527
+ /**
36528
+ * Converts this MoveInEvent to JSON.
36529
+ * @returns JSON object
36530
+ */
36531
+ public toJSON(): { [k: string]: any };
36532
+
36533
+ /**
36534
+ * Gets the default type url for MoveInEvent
36535
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
36536
+ * @returns The default type url
36537
+ */
36538
+ public static getTypeUrl(typeUrlPrefix?: string): string;
36539
+ }
36540
+
36541
+ /** Properties of a MoveOutEvent. */
36542
+ interface IMoveOutEvent {
36543
+
36544
+ /** MoveOutEvent destinationPartitionToken */
36545
+ destinationPartitionToken?: (string|null);
36546
+ }
36547
+
36548
+ /** Represents a MoveOutEvent. */
36549
+ class MoveOutEvent implements IMoveOutEvent {
36550
+
36551
+ /**
36552
+ * Constructs a new MoveOutEvent.
36553
+ * @param [properties] Properties to set
36554
+ */
36555
+ constructor(properties?: google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.IMoveOutEvent);
36556
+
36557
+ /** MoveOutEvent destinationPartitionToken. */
36558
+ public destinationPartitionToken: string;
36559
+
36560
+ /**
36561
+ * Creates a new MoveOutEvent instance using the specified properties.
36562
+ * @param [properties] Properties to set
36563
+ * @returns MoveOutEvent instance
36564
+ */
36565
+ public static create(properties?: google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.IMoveOutEvent): google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveOutEvent;
36566
+
36567
+ /**
36568
+ * Encodes the specified MoveOutEvent message. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveOutEvent.verify|verify} messages.
36569
+ * @param message MoveOutEvent message or plain object to encode
36570
+ * @param [writer] Writer to encode to
36571
+ * @returns Writer
36572
+ */
36573
+ public static encode(message: google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.IMoveOutEvent, writer?: $protobuf.Writer): $protobuf.Writer;
36574
+
36575
+ /**
36576
+ * Encodes the specified MoveOutEvent message, length delimited. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveOutEvent.verify|verify} messages.
36577
+ * @param message MoveOutEvent message or plain object to encode
36578
+ * @param [writer] Writer to encode to
36579
+ * @returns Writer
36580
+ */
36581
+ public static encodeDelimited(message: google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.IMoveOutEvent, writer?: $protobuf.Writer): $protobuf.Writer;
36582
+
36583
+ /**
36584
+ * Decodes a MoveOutEvent message from the specified reader or buffer.
36585
+ * @param reader Reader or buffer to decode from
36586
+ * @param [length] Message length if known beforehand
36587
+ * @returns MoveOutEvent
36588
+ * @throws {Error} If the payload is not a reader or valid buffer
36589
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
36590
+ */
36591
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveOutEvent;
36592
+
36593
+ /**
36594
+ * Decodes a MoveOutEvent message from the specified reader or buffer, length delimited.
36595
+ * @param reader Reader or buffer to decode from
36596
+ * @returns MoveOutEvent
36597
+ * @throws {Error} If the payload is not a reader or valid buffer
36598
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
36599
+ */
36600
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveOutEvent;
36601
+
36602
+ /**
36603
+ * Verifies a MoveOutEvent message.
36604
+ * @param message Plain object to verify
36605
+ * @returns `null` if valid, otherwise the reason why it is not
36606
+ */
36607
+ public static verify(message: { [k: string]: any }): (string|null);
36608
+
36609
+ /**
36610
+ * Creates a MoveOutEvent message from a plain object. Also converts values to their respective internal types.
36611
+ * @param object Plain object
36612
+ * @returns MoveOutEvent
36613
+ */
36614
+ public static fromObject(object: { [k: string]: any }): google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveOutEvent;
36615
+
36616
+ /**
36617
+ * Creates a plain object from a MoveOutEvent message. Also converts values to other types if specified.
36618
+ * @param message MoveOutEvent
36619
+ * @param [options] Conversion options
36620
+ * @returns Plain object
36621
+ */
36622
+ public static toObject(message: google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveOutEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
36623
+
36624
+ /**
36625
+ * Converts this MoveOutEvent to JSON.
36626
+ * @returns JSON object
36627
+ */
36628
+ public toJSON(): { [k: string]: any };
36629
+
36630
+ /**
36631
+ * Gets the default type url for MoveOutEvent
36632
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
36633
+ * @returns The default type url
36634
+ */
36635
+ public static getTypeUrl(typeUrlPrefix?: string): string;
36636
+ }
36637
+ }
36638
+ }
35256
36639
  }
35257
36640
  }
35258
36641
 
@@ -38965,7 +40348,7 @@ export namespace google {
38965
40348
  auditConfigs?: (google.iam.v1.IAuditConfig[]|null);
38966
40349
 
38967
40350
  /** Policy etag */
38968
- etag?: (Uint8Array|string|null);
40351
+ etag?: (Uint8Array|Buffer|string|null);
38969
40352
  }
38970
40353
 
38971
40354
  /** Represents a Policy. */
@@ -38987,7 +40370,7 @@ export namespace google {
38987
40370
  public auditConfigs: google.iam.v1.IAuditConfig[];
38988
40371
 
38989
40372
  /** Policy etag. */
38990
- public etag: (Uint8Array|string);
40373
+ public etag: (Uint8Array|Buffer|string);
38991
40374
 
38992
40375
  /**
38993
40376
  * Creates a new Policy instance using the specified properties.