@google-cloud/spanner 7.21.0 → 8.0.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 (51) hide show
  1. package/build/protos/google/spanner/admin/database/v1/backup.proto +1 -1
  2. package/build/protos/google/spanner/admin/database/v1/backup_schedule.proto +1 -1
  3. package/build/protos/google/spanner/admin/database/v1/common.proto +1 -1
  4. package/build/protos/google/spanner/admin/database/v1/spanner_database_admin.proto +1 -1
  5. package/build/protos/google/spanner/admin/instance/v1/common.proto +1 -1
  6. package/build/protos/google/spanner/admin/instance/v1/spanner_instance_admin.proto +1 -1
  7. package/build/protos/google/spanner/executor/v1/cloud_executor.proto +1 -1
  8. package/build/protos/google/spanner/v1/commit_response.proto +1 -1
  9. package/build/protos/google/spanner/v1/keys.proto +1 -1
  10. package/build/protos/google/spanner/v1/mutation.proto +1 -1
  11. package/build/protos/google/spanner/v1/query_plan.proto +1 -1
  12. package/build/protos/google/spanner/v1/result_set.proto +55 -49
  13. package/build/protos/google/spanner/v1/spanner.proto +1 -1
  14. package/build/protos/google/spanner/v1/transaction.proto +1 -1
  15. package/build/protos/google/spanner/v1/type.proto +1 -1
  16. package/build/protos/protos.d.ts +56 -194
  17. package/build/protos/protos.js +71 -288
  18. package/build/protos/protos.json +8 -2
  19. package/build/src/backup.js +7 -0
  20. package/build/src/batch-transaction.d.ts +48 -29
  21. package/build/src/batch-transaction.js +13 -98
  22. package/build/src/codec.js +43 -26
  23. package/build/src/common-grpc/service-object.js +1 -0
  24. package/build/src/common-grpc/service.js +25 -8
  25. package/build/src/database.js +52 -42
  26. package/build/src/helper.d.ts +9 -0
  27. package/build/src/helper.js +24 -0
  28. package/build/src/index.js +24 -13
  29. package/build/src/instance-config.d.ts +1 -1
  30. package/build/src/instance-config.js +4 -0
  31. package/build/src/instance.js +12 -6
  32. package/build/src/instrument.js +2 -4
  33. package/build/src/multiplexed-session.js +7 -1
  34. package/build/src/partial-result-stream.js +9 -5
  35. package/build/src/request_id_header.js +1 -0
  36. package/build/src/session-factory.js +5 -2
  37. package/build/src/session-pool.js +23 -6
  38. package/build/src/session.d.ts +0 -1
  39. package/build/src/session.js +7 -2
  40. package/build/src/table.js +6 -3
  41. package/build/src/transaction-runner.js +12 -2
  42. package/build/src/transaction.js +66 -52
  43. package/build/src/v1/database_admin_client.d.ts +3 -2
  44. package/build/src/v1/database_admin_client.js +551 -167
  45. package/build/src/v1/instance_admin_client.d.ts +2 -1
  46. package/build/src/v1/instance_admin_client.js +453 -133
  47. package/build/src/v1/spanner_client.d.ts +2 -1
  48. package/build/src/v1/spanner_client.js +283 -85
  49. package/build/src/v1/spanner_executor_proxy_client.d.ts +2 -1
  50. package/build/src/v1/spanner_executor_proxy_client.js +41 -19
  51. package/package.json +57 -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.
@@ -10958,7 +10958,7 @@ export namespace google {
10958
10958
  databaseDialect?: (google.spanner.admin.database.v1.DatabaseDialect|keyof typeof google.spanner.admin.database.v1.DatabaseDialect|null);
10959
10959
 
10960
10960
  /** CreateDatabaseRequest protoDescriptors */
10961
- protoDescriptors?: (Uint8Array|string|null);
10961
+ protoDescriptors?: (Uint8Array|Buffer|string|null);
10962
10962
  }
10963
10963
 
10964
10964
  /** Represents a CreateDatabaseRequest. */
@@ -10986,7 +10986,7 @@ export namespace google {
10986
10986
  public databaseDialect: (google.spanner.admin.database.v1.DatabaseDialect|keyof typeof google.spanner.admin.database.v1.DatabaseDialect);
10987
10987
 
10988
10988
  /** CreateDatabaseRequest protoDescriptors. */
10989
- public protoDescriptors: (Uint8Array|string);
10989
+ public protoDescriptors: (Uint8Array|Buffer|string);
10990
10990
 
10991
10991
  /**
10992
10992
  * Creates a new CreateDatabaseRequest instance using the specified properties.
@@ -11485,7 +11485,7 @@ export namespace google {
11485
11485
  operationId?: (string|null);
11486
11486
 
11487
11487
  /** UpdateDatabaseDdlRequest protoDescriptors */
11488
- protoDescriptors?: (Uint8Array|string|null);
11488
+ protoDescriptors?: (Uint8Array|Buffer|string|null);
11489
11489
  }
11490
11490
 
11491
11491
  /** Represents an UpdateDatabaseDdlRequest. */
@@ -11507,7 +11507,7 @@ export namespace google {
11507
11507
  public operationId: string;
11508
11508
 
11509
11509
  /** UpdateDatabaseDdlRequest protoDescriptors. */
11510
- public protoDescriptors: (Uint8Array|string);
11510
+ public protoDescriptors: (Uint8Array|Buffer|string);
11511
11511
 
11512
11512
  /**
11513
11513
  * Creates a new UpdateDatabaseDdlRequest instance using the specified properties.
@@ -12024,7 +12024,7 @@ export namespace google {
12024
12024
  statements?: (string[]|null);
12025
12025
 
12026
12026
  /** GetDatabaseDdlResponse protoDescriptors */
12027
- protoDescriptors?: (Uint8Array|string|null);
12027
+ protoDescriptors?: (Uint8Array|Buffer|string|null);
12028
12028
  }
12029
12029
 
12030
12030
  /** Represents a GetDatabaseDdlResponse. */
@@ -12040,7 +12040,7 @@ export namespace google {
12040
12040
  public statements: string[];
12041
12041
 
12042
12042
  /** GetDatabaseDdlResponse protoDescriptors. */
12043
- public protoDescriptors: (Uint8Array|string);
12043
+ public protoDescriptors: (Uint8Array|Buffer|string);
12044
12044
 
12045
12045
  /**
12046
12046
  * Creates a new GetDatabaseDdlResponse instance using the specified properties.
@@ -19591,9 +19591,6 @@ export namespace google {
19591
19591
  /** ReadAction limit. */
19592
19592
  public limit: number;
19593
19593
 
19594
- /** ReadAction _index. */
19595
- public _index?: "index";
19596
-
19597
19594
  /**
19598
19595
  * Creates a new ReadAction instance using the specified properties.
19599
19596
  * @param [properties] Properties to set
@@ -19912,9 +19909,6 @@ export namespace google {
19912
19909
  /** DmlAction autocommitIfSupported. */
19913
19910
  public autocommitIfSupported?: (boolean|null);
19914
19911
 
19915
- /** DmlAction _autocommitIfSupported. */
19916
- public _autocommitIfSupported?: "autocommitIfSupported";
19917
-
19918
19912
  /**
19919
19913
  * Creates a new DmlAction instance using the specified properties.
19920
19914
  * @param [properties] Properties to set
@@ -20106,7 +20100,7 @@ export namespace google {
20106
20100
  doubleValue?: (number|null);
20107
20101
 
20108
20102
  /** Value bytesValue */
20109
- bytesValue?: (Uint8Array|string|null);
20103
+ bytesValue?: (Uint8Array|Buffer|string|null);
20110
20104
 
20111
20105
  /** Value stringValue */
20112
20106
  stringValue?: (string|null);
@@ -20152,7 +20146,7 @@ export namespace google {
20152
20146
  public doubleValue?: (number|null);
20153
20147
 
20154
20148
  /** Value bytesValue. */
20155
- public bytesValue?: (Uint8Array|string|null);
20149
+ public bytesValue?: (Uint8Array|Buffer|string|null);
20156
20150
 
20157
20151
  /** Value stringValue. */
20158
20152
  public stringValue?: (string|null);
@@ -20178,9 +20172,6 @@ export namespace google {
20178
20172
  /** Value valueType. */
20179
20173
  public valueType?: ("isNull"|"intValue"|"boolValue"|"doubleValue"|"bytesValue"|"stringValue"|"structValue"|"timestampValue"|"dateDaysValue"|"isCommitTimestamp"|"arrayValue");
20180
20174
 
20181
- /** Value _arrayType. */
20182
- public _arrayType?: "arrayType";
20183
-
20184
20175
  /**
20185
20176
  * Creates a new Value instance using the specified properties.
20186
20177
  * @param [properties] Properties to set
@@ -20290,9 +20281,6 @@ export namespace google {
20290
20281
  /** KeyRange type. */
20291
20282
  public type?: (google.spanner.executor.v1.KeyRange.Type|keyof typeof google.spanner.executor.v1.KeyRange.Type|null);
20292
20283
 
20293
- /** KeyRange _type. */
20294
- public _type?: "type";
20295
-
20296
20284
  /**
20297
20285
  * Creates a new KeyRange instance using the specified properties.
20298
20286
  * @param [properties] Properties to set
@@ -21156,9 +21144,6 @@ export namespace google {
21156
21144
  /** PartitionedUpdateAction update. */
21157
21145
  public update?: (google.spanner.executor.v1.IQueryAction|null);
21158
21146
 
21159
- /** PartitionedUpdateAction _options. */
21160
- public _options?: "options";
21161
-
21162
21147
  /**
21163
21148
  * Creates a new PartitionedUpdateAction instance using the specified properties.
21164
21149
  * @param [properties] Properties to set
@@ -21264,12 +21249,6 @@ export namespace google {
21264
21249
  /** ExecutePartitionedUpdateOptions tag. */
21265
21250
  public tag?: (string|null);
21266
21251
 
21267
- /** ExecutePartitionedUpdateOptions _rpcPriority. */
21268
- public _rpcPriority?: "rpcPriority";
21269
-
21270
- /** ExecutePartitionedUpdateOptions _tag. */
21271
- public _tag?: "tag";
21272
-
21273
21252
  /**
21274
21253
  * Creates a new ExecutePartitionedUpdateOptions instance using the specified properties.
21275
21254
  * @param [properties] Properties to set
@@ -21386,12 +21365,6 @@ export namespace google {
21386
21365
  /** StartTransactionAction executionOptions. */
21387
21366
  public executionOptions?: (google.spanner.executor.v1.ITransactionExecutionOptions|null);
21388
21367
 
21389
- /** StartTransactionAction _concurrency. */
21390
- public _concurrency?: "concurrency";
21391
-
21392
- /** StartTransactionAction _executionOptions. */
21393
- public _executionOptions?: "executionOptions";
21394
-
21395
21368
  /**
21396
21369
  * Creates a new StartTransactionAction instance using the specified properties.
21397
21370
  * @param [properties] Properties to set
@@ -22448,9 +22421,6 @@ export namespace google {
22448
22421
  /** UpdateUserInstanceConfigAction labels. */
22449
22422
  public labels: { [k: string]: string };
22450
22423
 
22451
- /** UpdateUserInstanceConfigAction _displayName. */
22452
- public _displayName?: "displayName";
22453
-
22454
22424
  /**
22455
22425
  * Creates a new UpdateUserInstanceConfigAction instance using the specified properties.
22456
22426
  * @param [properties] Properties to set
@@ -22766,12 +22736,6 @@ export namespace google {
22766
22736
  /** ListCloudInstanceConfigsAction pageToken. */
22767
22737
  public pageToken?: (string|null);
22768
22738
 
22769
- /** ListCloudInstanceConfigsAction _pageSize. */
22770
- public _pageSize?: "pageSize";
22771
-
22772
- /** ListCloudInstanceConfigsAction _pageToken. */
22773
- public _pageToken?: "pageToken";
22774
-
22775
22739
  /**
22776
22740
  * Creates a new ListCloudInstanceConfigsAction instance using the specified properties.
22777
22741
  * @param [properties] Properties to set
@@ -22905,15 +22869,6 @@ export namespace google {
22905
22869
  /** CreateCloudInstanceAction labels. */
22906
22870
  public labels: { [k: string]: string };
22907
22871
 
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
22872
  /**
22918
22873
  * Creates a new CreateCloudInstanceAction instance using the specified properties.
22919
22874
  * @param [properties] Properties to set
@@ -23047,18 +23002,6 @@ export namespace google {
23047
23002
  /** UpdateCloudInstanceAction labels. */
23048
23003
  public labels: { [k: string]: string };
23049
23004
 
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
23005
  /**
23063
23006
  * Creates a new UpdateCloudInstanceAction instance using the specified properties.
23064
23007
  * @param [properties] Properties to set
@@ -23262,7 +23205,7 @@ export namespace google {
23262
23205
  dialect?: (string|null);
23263
23206
 
23264
23207
  /** CreateCloudDatabaseAction protoDescriptors */
23265
- protoDescriptors?: (Uint8Array|string|null);
23208
+ protoDescriptors?: (Uint8Array|Buffer|string|null);
23266
23209
  }
23267
23210
 
23268
23211
  /** Represents a CreateCloudDatabaseAction. */
@@ -23293,13 +23236,7 @@ export namespace google {
23293
23236
  public dialect?: (string|null);
23294
23237
 
23295
23238
  /** CreateCloudDatabaseAction protoDescriptors. */
23296
- public protoDescriptors?: (Uint8Array|string|null);
23297
-
23298
- /** CreateCloudDatabaseAction _dialect. */
23299
- public _dialect?: "dialect";
23300
-
23301
- /** CreateCloudDatabaseAction _protoDescriptors. */
23302
- public _protoDescriptors?: "protoDescriptors";
23239
+ public protoDescriptors?: (Uint8Array|Buffer|string|null);
23303
23240
 
23304
23241
  /**
23305
23242
  * Creates a new CreateCloudDatabaseAction instance using the specified properties.
@@ -23398,7 +23335,7 @@ export namespace google {
23398
23335
  operationId?: (string|null);
23399
23336
 
23400
23337
  /** UpdateCloudDatabaseDdlAction protoDescriptors */
23401
- protoDescriptors?: (Uint8Array|string|null);
23338
+ protoDescriptors?: (Uint8Array|Buffer|string|null);
23402
23339
  }
23403
23340
 
23404
23341
  /** Represents an UpdateCloudDatabaseDdlAction. */
@@ -23426,10 +23363,7 @@ export namespace google {
23426
23363
  public operationId: string;
23427
23364
 
23428
23365
  /** UpdateCloudDatabaseDdlAction protoDescriptors. */
23429
- public protoDescriptors?: (Uint8Array|string|null);
23430
-
23431
- /** UpdateCloudDatabaseDdlAction _protoDescriptors. */
23432
- public _protoDescriptors?: "protoDescriptors";
23366
+ public protoDescriptors?: (Uint8Array|Buffer|string|null);
23433
23367
 
23434
23368
  /**
23435
23369
  * Creates a new UpdateCloudDatabaseDdlAction instance using the specified properties.
@@ -23758,9 +23692,6 @@ export namespace google {
23758
23692
  /** ChangeQuorumCloudDatabaseAction servingLocations. */
23759
23693
  public servingLocations: string[];
23760
23694
 
23761
- /** ChangeQuorumCloudDatabaseAction _databaseUri. */
23762
- public _databaseUri?: "databaseUri";
23763
-
23764
23695
  /**
23765
23696
  * Creates a new ChangeQuorumCloudDatabaseAction instance using the specified properties.
23766
23697
  * @param [properties] Properties to set
@@ -23991,15 +23922,6 @@ export namespace google {
23991
23922
  /** ListCloudInstancesAction pageToken. */
23992
23923
  public pageToken?: (string|null);
23993
23924
 
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
23925
  /**
24004
23926
  * Creates a new ListCloudInstancesAction instance using the specified properties.
24005
23927
  * @param [properties] Properties to set
@@ -24593,9 +24515,6 @@ export namespace google {
24593
24515
  /** CreateCloudBackupAction encryptionConfig. */
24594
24516
  public encryptionConfig?: (google.spanner.admin.database.v1.IEncryptionConfig|null);
24595
24517
 
24596
- /** CreateCloudBackupAction _versionTime. */
24597
- public _versionTime?: "versionTime";
24598
-
24599
24518
  /**
24600
24519
  * Creates a new CreateCloudBackupAction instance using the specified properties.
24601
24520
  * @param [properties] Properties to set
@@ -25674,7 +25593,7 @@ export namespace google {
25674
25593
  batchTxnTime?: (google.protobuf.ITimestamp|null);
25675
25594
 
25676
25595
  /** StartBatchTransactionAction tid */
25677
- tid?: (Uint8Array|string|null);
25596
+ tid?: (Uint8Array|Buffer|string|null);
25678
25597
 
25679
25598
  /** StartBatchTransactionAction cloudDatabaseRole */
25680
25599
  cloudDatabaseRole?: (string|null);
@@ -25693,7 +25612,7 @@ export namespace google {
25693
25612
  public batchTxnTime?: (google.protobuf.ITimestamp|null);
25694
25613
 
25695
25614
  /** StartBatchTransactionAction tid. */
25696
- public tid?: (Uint8Array|string|null);
25615
+ public tid?: (Uint8Array|Buffer|string|null);
25697
25616
 
25698
25617
  /** StartBatchTransactionAction cloudDatabaseRole. */
25699
25618
  public cloudDatabaseRole: string;
@@ -25913,12 +25832,6 @@ export namespace google {
25913
25832
  /** GenerateDbPartitionsForReadAction maxPartitionCount. */
25914
25833
  public maxPartitionCount?: (number|Long|string|null);
25915
25834
 
25916
- /** GenerateDbPartitionsForReadAction _desiredBytesPerPartition. */
25917
- public _desiredBytesPerPartition?: "desiredBytesPerPartition";
25918
-
25919
- /** GenerateDbPartitionsForReadAction _maxPartitionCount. */
25920
- public _maxPartitionCount?: "maxPartitionCount";
25921
-
25922
25835
  /**
25923
25836
  * Creates a new GenerateDbPartitionsForReadAction instance using the specified properties.
25924
25837
  * @param [properties] Properties to set
@@ -26022,9 +25935,6 @@ export namespace google {
26022
25935
  /** GenerateDbPartitionsForQueryAction desiredBytesPerPartition. */
26023
25936
  public desiredBytesPerPartition?: (number|Long|string|null);
26024
25937
 
26025
- /** GenerateDbPartitionsForQueryAction _desiredBytesPerPartition. */
26026
- public _desiredBytesPerPartition?: "desiredBytesPerPartition";
26027
-
26028
25938
  /**
26029
25939
  * Creates a new GenerateDbPartitionsForQueryAction instance using the specified properties.
26030
25940
  * @param [properties] Properties to set
@@ -26107,10 +26017,10 @@ export namespace google {
26107
26017
  interface IBatchPartition {
26108
26018
 
26109
26019
  /** BatchPartition partition */
26110
- partition?: (Uint8Array|string|null);
26020
+ partition?: (Uint8Array|Buffer|string|null);
26111
26021
 
26112
26022
  /** BatchPartition partitionToken */
26113
- partitionToken?: (Uint8Array|string|null);
26023
+ partitionToken?: (Uint8Array|Buffer|string|null);
26114
26024
 
26115
26025
  /** BatchPartition table */
26116
26026
  table?: (string|null);
@@ -26129,10 +26039,10 @@ export namespace google {
26129
26039
  constructor(properties?: google.spanner.executor.v1.IBatchPartition);
26130
26040
 
26131
26041
  /** BatchPartition partition. */
26132
- public partition: (Uint8Array|string);
26042
+ public partition: (Uint8Array|Buffer|string);
26133
26043
 
26134
26044
  /** BatchPartition partitionToken. */
26135
- public partitionToken: (Uint8Array|string);
26045
+ public partitionToken: (Uint8Array|Buffer|string);
26136
26046
 
26137
26047
  /** BatchPartition table. */
26138
26048
  public table?: (string|null);
@@ -26140,12 +26050,6 @@ export namespace google {
26140
26050
  /** BatchPartition index. */
26141
26051
  public index?: (string|null);
26142
26052
 
26143
- /** BatchPartition _table. */
26144
- public _table?: "table";
26145
-
26146
- /** BatchPartition _index. */
26147
- public _index?: "index";
26148
-
26149
26053
  /**
26150
26054
  * Creates a new BatchPartition instance using the specified properties.
26151
26055
  * @param [properties] Properties to set
@@ -26382,21 +26286,6 @@ export namespace google {
26382
26286
  /** ExecuteChangeStreamQuery cloudDatabaseRole. */
26383
26287
  public cloudDatabaseRole?: (string|null);
26384
26288
 
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
26289
  /**
26401
26290
  * Creates a new ExecuteChangeStreamQuery instance using the specified properties.
26402
26291
  * @param [properties] Properties to set
@@ -26494,7 +26383,7 @@ export namespace google {
26494
26383
  transactionRestarted?: (boolean|null);
26495
26384
 
26496
26385
  /** SpannerActionOutcome batchTxnId */
26497
- batchTxnId?: (Uint8Array|string|null);
26386
+ batchTxnId?: (Uint8Array|Buffer|string|null);
26498
26387
 
26499
26388
  /** SpannerActionOutcome dbPartition */
26500
26389
  dbPartition?: (google.spanner.executor.v1.IBatchPartition[]|null);
@@ -26534,7 +26423,7 @@ export namespace google {
26534
26423
  public transactionRestarted?: (boolean|null);
26535
26424
 
26536
26425
  /** SpannerActionOutcome batchTxnId. */
26537
- public batchTxnId?: (Uint8Array|string|null);
26426
+ public batchTxnId?: (Uint8Array|Buffer|string|null);
26538
26427
 
26539
26428
  /** SpannerActionOutcome dbPartition. */
26540
26429
  public dbPartition: google.spanner.executor.v1.IBatchPartition[];
@@ -26548,27 +26437,6 @@ export namespace google {
26548
26437
  /** SpannerActionOutcome changeStreamRecords. */
26549
26438
  public changeStreamRecords: google.spanner.executor.v1.IChangeStreamRecord[];
26550
26439
 
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
26440
  /**
26573
26441
  * Creates a new SpannerActionOutcome instance using the specified properties.
26574
26442
  * @param [properties] Properties to set
@@ -27368,15 +27236,6 @@ export namespace google {
27368
27236
  /** ReadResult rowType. */
27369
27237
  public rowType?: (google.spanner.v1.IStructType|null);
27370
27238
 
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
27239
  /**
27381
27240
  * Creates a new ReadResult instance using the specified properties.
27382
27241
  * @param [properties] Properties to set
@@ -27480,9 +27339,6 @@ export namespace google {
27480
27339
  /** QueryResult rowType. */
27481
27340
  public rowType?: (google.spanner.v1.IStructType|null);
27482
27341
 
27483
- /** QueryResult _rowType. */
27484
- public _rowType?: "rowType";
27485
-
27486
27342
  /**
27487
27343
  * Creates a new QueryResult instance using the specified properties.
27488
27344
  * @param [properties] Properties to set
@@ -30349,13 +30205,13 @@ export namespace google {
30349
30205
  paramTypes?: ({ [k: string]: google.spanner.v1.IType }|null);
30350
30206
 
30351
30207
  /** ExecuteSqlRequest resumeToken */
30352
- resumeToken?: (Uint8Array|string|null);
30208
+ resumeToken?: (Uint8Array|Buffer|string|null);
30353
30209
 
30354
30210
  /** ExecuteSqlRequest queryMode */
30355
30211
  queryMode?: (google.spanner.v1.ExecuteSqlRequest.QueryMode|keyof typeof google.spanner.v1.ExecuteSqlRequest.QueryMode|null);
30356
30212
 
30357
30213
  /** ExecuteSqlRequest partitionToken */
30358
- partitionToken?: (Uint8Array|string|null);
30214
+ partitionToken?: (Uint8Array|Buffer|string|null);
30359
30215
 
30360
30216
  /** ExecuteSqlRequest seqno */
30361
30217
  seqno?: (number|Long|string|null);
@@ -30401,13 +30257,13 @@ export namespace google {
30401
30257
  public paramTypes: { [k: string]: google.spanner.v1.IType };
30402
30258
 
30403
30259
  /** ExecuteSqlRequest resumeToken. */
30404
- public resumeToken: (Uint8Array|string);
30260
+ public resumeToken: (Uint8Array|Buffer|string);
30405
30261
 
30406
30262
  /** ExecuteSqlRequest queryMode. */
30407
30263
  public queryMode: (google.spanner.v1.ExecuteSqlRequest.QueryMode|keyof typeof google.spanner.v1.ExecuteSqlRequest.QueryMode);
30408
30264
 
30409
30265
  /** ExecuteSqlRequest partitionToken. */
30410
- public partitionToken: (Uint8Array|string);
30266
+ public partitionToken: (Uint8Array|Buffer|string);
30411
30267
 
30412
30268
  /** ExecuteSqlRequest seqno. */
30413
30269
  public seqno: (number|Long|string);
@@ -31335,7 +31191,7 @@ export namespace google {
31335
31191
  interface IPartition {
31336
31192
 
31337
31193
  /** Partition partitionToken */
31338
- partitionToken?: (Uint8Array|string|null);
31194
+ partitionToken?: (Uint8Array|Buffer|string|null);
31339
31195
  }
31340
31196
 
31341
31197
  /** Represents a Partition. */
@@ -31348,7 +31204,7 @@ export namespace google {
31348
31204
  constructor(properties?: google.spanner.v1.IPartition);
31349
31205
 
31350
31206
  /** Partition partitionToken. */
31351
- public partitionToken: (Uint8Array|string);
31207
+ public partitionToken: (Uint8Array|Buffer|string);
31352
31208
 
31353
31209
  /**
31354
31210
  * Creates a new Partition instance using the specified properties.
@@ -31556,10 +31412,10 @@ export namespace google {
31556
31412
  limit?: (number|Long|string|null);
31557
31413
 
31558
31414
  /** ReadRequest resumeToken */
31559
- resumeToken?: (Uint8Array|string|null);
31415
+ resumeToken?: (Uint8Array|Buffer|string|null);
31560
31416
 
31561
31417
  /** ReadRequest partitionToken */
31562
- partitionToken?: (Uint8Array|string|null);
31418
+ partitionToken?: (Uint8Array|Buffer|string|null);
31563
31419
 
31564
31420
  /** ReadRequest requestOptions */
31565
31421
  requestOptions?: (google.spanner.v1.IRequestOptions|null);
@@ -31608,10 +31464,10 @@ export namespace google {
31608
31464
  public limit: (number|Long|string);
31609
31465
 
31610
31466
  /** ReadRequest resumeToken. */
31611
- public resumeToken: (Uint8Array|string);
31467
+ public resumeToken: (Uint8Array|Buffer|string);
31612
31468
 
31613
31469
  /** ReadRequest partitionToken. */
31614
- public partitionToken: (Uint8Array|string);
31470
+ public partitionToken: (Uint8Array|Buffer|string);
31615
31471
 
31616
31472
  /** ReadRequest requestOptions. */
31617
31473
  public requestOptions?: (google.spanner.v1.IRequestOptions|null);
@@ -31845,7 +31701,7 @@ export namespace google {
31845
31701
  session?: (string|null);
31846
31702
 
31847
31703
  /** CommitRequest transactionId */
31848
- transactionId?: (Uint8Array|string|null);
31704
+ transactionId?: (Uint8Array|Buffer|string|null);
31849
31705
 
31850
31706
  /** CommitRequest singleUseTransaction */
31851
31707
  singleUseTransaction?: (google.spanner.v1.ITransactionOptions|null);
@@ -31879,7 +31735,7 @@ export namespace google {
31879
31735
  public session: string;
31880
31736
 
31881
31737
  /** CommitRequest transactionId. */
31882
- public transactionId?: (Uint8Array|string|null);
31738
+ public transactionId?: (Uint8Array|Buffer|string|null);
31883
31739
 
31884
31740
  /** CommitRequest singleUseTransaction. */
31885
31741
  public singleUseTransaction?: (google.spanner.v1.ITransactionOptions|null);
@@ -31987,7 +31843,7 @@ export namespace google {
31987
31843
  session?: (string|null);
31988
31844
 
31989
31845
  /** RollbackRequest transactionId */
31990
- transactionId?: (Uint8Array|string|null);
31846
+ transactionId?: (Uint8Array|Buffer|string|null);
31991
31847
  }
31992
31848
 
31993
31849
  /** Represents a RollbackRequest. */
@@ -32003,7 +31859,7 @@ export namespace google {
32003
31859
  public session: string;
32004
31860
 
32005
31861
  /** RollbackRequest transactionId. */
32006
- public transactionId: (Uint8Array|string);
31862
+ public transactionId: (Uint8Array|Buffer|string);
32007
31863
 
32008
31864
  /**
32009
31865
  * Creates a new RollbackRequest instance using the specified properties.
@@ -32752,7 +32608,7 @@ export namespace google {
32752
32608
  readLockMode?: (google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode|keyof typeof google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode|null);
32753
32609
 
32754
32610
  /** ReadWrite multiplexedSessionPreviousTransactionId */
32755
- multiplexedSessionPreviousTransactionId?: (Uint8Array|string|null);
32611
+ multiplexedSessionPreviousTransactionId?: (Uint8Array|Buffer|string|null);
32756
32612
  }
32757
32613
 
32758
32614
  /** Represents a ReadWrite. */
@@ -32768,7 +32624,7 @@ export namespace google {
32768
32624
  public readLockMode: (google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode|keyof typeof google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode);
32769
32625
 
32770
32626
  /** ReadWrite multiplexedSessionPreviousTransactionId. */
32771
- public multiplexedSessionPreviousTransactionId: (Uint8Array|string);
32627
+ public multiplexedSessionPreviousTransactionId: (Uint8Array|Buffer|string);
32772
32628
 
32773
32629
  /**
32774
32630
  * Creates a new ReadWrite instance using the specified properties.
@@ -33091,7 +32947,7 @@ export namespace google {
33091
32947
  interface ITransaction {
33092
32948
 
33093
32949
  /** Transaction id */
33094
- id?: (Uint8Array|string|null);
32950
+ id?: (Uint8Array|Buffer|string|null);
33095
32951
 
33096
32952
  /** Transaction readTimestamp */
33097
32953
  readTimestamp?: (google.protobuf.ITimestamp|null);
@@ -33110,7 +32966,7 @@ export namespace google {
33110
32966
  constructor(properties?: google.spanner.v1.ITransaction);
33111
32967
 
33112
32968
  /** Transaction id. */
33113
- public id: (Uint8Array|string);
32969
+ public id: (Uint8Array|Buffer|string);
33114
32970
 
33115
32971
  /** Transaction readTimestamp. */
33116
32972
  public readTimestamp?: (google.protobuf.ITimestamp|null);
@@ -33203,7 +33059,7 @@ export namespace google {
33203
33059
  singleUse?: (google.spanner.v1.ITransactionOptions|null);
33204
33060
 
33205
33061
  /** TransactionSelector id */
33206
- id?: (Uint8Array|string|null);
33062
+ id?: (Uint8Array|Buffer|string|null);
33207
33063
 
33208
33064
  /** TransactionSelector begin */
33209
33065
  begin?: (google.spanner.v1.ITransactionOptions|null);
@@ -33222,7 +33078,7 @@ export namespace google {
33222
33078
  public singleUse?: (google.spanner.v1.ITransactionOptions|null);
33223
33079
 
33224
33080
  /** TransactionSelector id. */
33225
- public id?: (Uint8Array|string|null);
33081
+ public id?: (Uint8Array|Buffer|string|null);
33226
33082
 
33227
33083
  /** TransactionSelector begin. */
33228
33084
  public begin?: (google.spanner.v1.ITransactionOptions|null);
@@ -33312,7 +33168,7 @@ export namespace google {
33312
33168
  interface IMultiplexedSessionPrecommitToken {
33313
33169
 
33314
33170
  /** MultiplexedSessionPrecommitToken precommitToken */
33315
- precommitToken?: (Uint8Array|string|null);
33171
+ precommitToken?: (Uint8Array|Buffer|string|null);
33316
33172
 
33317
33173
  /** MultiplexedSessionPrecommitToken seqNum */
33318
33174
  seqNum?: (number|null);
@@ -33328,7 +33184,7 @@ export namespace google {
33328
33184
  constructor(properties?: google.spanner.v1.IMultiplexedSessionPrecommitToken);
33329
33185
 
33330
33186
  /** MultiplexedSessionPrecommitToken precommitToken. */
33331
- public precommitToken: (Uint8Array|string);
33187
+ public precommitToken: (Uint8Array|Buffer|string);
33332
33188
 
33333
33189
  /** MultiplexedSessionPrecommitToken seqNum. */
33334
33190
  public seqNum: number;
@@ -34108,13 +33964,16 @@ export namespace google {
34108
33964
  chunkedValue?: (boolean|null);
34109
33965
 
34110
33966
  /** PartialResultSet resumeToken */
34111
- resumeToken?: (Uint8Array|string|null);
33967
+ resumeToken?: (Uint8Array|Buffer|string|null);
34112
33968
 
34113
33969
  /** PartialResultSet stats */
34114
33970
  stats?: (google.spanner.v1.IResultSetStats|null);
34115
33971
 
34116
33972
  /** PartialResultSet precommitToken */
34117
33973
  precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
33974
+
33975
+ /** PartialResultSet last */
33976
+ last?: (boolean|null);
34118
33977
  }
34119
33978
 
34120
33979
  /** Represents a PartialResultSet. */
@@ -34136,7 +33995,7 @@ export namespace google {
34136
33995
  public chunkedValue: boolean;
34137
33996
 
34138
33997
  /** PartialResultSet resumeToken. */
34139
- public resumeToken: (Uint8Array|string);
33998
+ public resumeToken: (Uint8Array|Buffer|string);
34140
33999
 
34141
34000
  /** PartialResultSet stats. */
34142
34001
  public stats?: (google.spanner.v1.IResultSetStats|null);
@@ -34144,6 +34003,9 @@ export namespace google {
34144
34003
  /** PartialResultSet precommitToken. */
34145
34004
  public precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
34146
34005
 
34006
+ /** PartialResultSet last. */
34007
+ public last: boolean;
34008
+
34147
34009
  /**
34148
34010
  * Creates a new PartialResultSet instance using the specified properties.
34149
34011
  * @param [properties] Properties to set
@@ -38965,7 +38827,7 @@ export namespace google {
38965
38827
  auditConfigs?: (google.iam.v1.IAuditConfig[]|null);
38966
38828
 
38967
38829
  /** Policy etag */
38968
- etag?: (Uint8Array|string|null);
38830
+ etag?: (Uint8Array|Buffer|string|null);
38969
38831
  }
38970
38832
 
38971
38833
  /** Represents a Policy. */
@@ -38987,7 +38849,7 @@ export namespace google {
38987
38849
  public auditConfigs: google.iam.v1.IAuditConfig[];
38988
38850
 
38989
38851
  /** Policy etag. */
38990
- public etag: (Uint8Array|string);
38852
+ public etag: (Uint8Array|Buffer|string);
38991
38853
 
38992
38854
  /**
38993
38855
  * Creates a new Policy instance using the specified properties.