@google-cloud/spanner 8.5.0 → 8.7.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.
- package/README.md +2 -0
- package/build/protos/google/spanner/executor/v1/cloud_executor.proto +88 -4
- package/build/protos/google/spanner/v1/change_stream.proto +1 -1
- package/build/protos/google/spanner/v1/commit_response.proto +1 -1
- package/build/protos/google/spanner/v1/keys.proto +1 -1
- package/build/protos/google/spanner/v1/location.proto +1 -1
- package/build/protos/google/spanner/v1/mutation.proto +1 -1
- package/build/protos/google/spanner/v1/query_plan.proto +1 -1
- package/build/protos/google/spanner/v1/result_set.proto +9 -1
- package/build/protos/google/spanner/v1/spanner.proto +17 -10
- package/build/protos/google/spanner/v1/transaction.proto +1 -1
- package/build/protos/google/spanner/v1/type.proto +1 -1
- package/build/protos/protos.d.ts +322 -2
- package/build/protos/protos.js +1099 -5
- package/build/protos/protos.json +143 -4
- package/build/src/database.d.ts +2 -1
- package/build/src/database.js +5 -6
- package/build/src/index.d.ts +6 -0
- package/build/src/index.js +2 -0
- package/build/src/instance.d.ts +1 -1
- package/build/src/instance.js +2 -2
- package/build/src/metrics/interceptor.js +1 -3
- package/build/src/partial-result-stream.js +1 -1
- package/build/src/session-pool.d.ts +6 -0
- package/build/src/session-pool.js +0 -2
- package/build/src/v1/spanner_client.d.ts +7 -6
- package/package.json +29 -8
package/build/protos/protos.d.ts
CHANGED
|
@@ -19997,6 +19997,9 @@ export namespace google {
|
|
|
19997
19997
|
|
|
19998
19998
|
/** SpannerAction queryCancellation */
|
|
19999
19999
|
queryCancellation?: (google.spanner.executor.v1.IQueryCancellationAction|null);
|
|
20000
|
+
|
|
20001
|
+
/** SpannerAction adaptMessage */
|
|
20002
|
+
adaptMessage?: (google.spanner.executor.v1.IAdaptMessageAction|null);
|
|
20000
20003
|
}
|
|
20001
20004
|
|
|
20002
20005
|
/** Represents a SpannerAction. */
|
|
@@ -20065,8 +20068,11 @@ export namespace google {
|
|
|
20065
20068
|
/** SpannerAction queryCancellation. */
|
|
20066
20069
|
public queryCancellation?: (google.spanner.executor.v1.IQueryCancellationAction|null);
|
|
20067
20070
|
|
|
20071
|
+
/** SpannerAction adaptMessage. */
|
|
20072
|
+
public adaptMessage?: (google.spanner.executor.v1.IAdaptMessageAction|null);
|
|
20073
|
+
|
|
20068
20074
|
/** SpannerAction action. */
|
|
20069
|
-
public action?: ("start"|"finish"|"read"|"query"|"mutation"|"dml"|"batchDml"|"write"|"partitionedUpdate"|"admin"|"startBatchTxn"|"closeBatchTxn"|"generateDbPartitionsRead"|"generateDbPartitionsQuery"|"executePartition"|"executeChangeStreamQuery"|"queryCancellation");
|
|
20075
|
+
public action?: ("start"|"finish"|"read"|"query"|"mutation"|"dml"|"batchDml"|"write"|"partitionedUpdate"|"admin"|"startBatchTxn"|"closeBatchTxn"|"generateDbPartitionsRead"|"generateDbPartitionsQuery"|"executePartition"|"executeChangeStreamQuery"|"queryCancellation"|"adaptMessage");
|
|
20070
20076
|
|
|
20071
20077
|
/**
|
|
20072
20078
|
* Creates a new SpannerAction instance using the specified properties.
|
|
@@ -20490,6 +20496,9 @@ export namespace google {
|
|
|
20490
20496
|
|
|
20491
20497
|
/** DmlAction autocommitIfSupported */
|
|
20492
20498
|
autocommitIfSupported?: (boolean|null);
|
|
20499
|
+
|
|
20500
|
+
/** DmlAction lastStatement */
|
|
20501
|
+
lastStatement?: (boolean|null);
|
|
20493
20502
|
}
|
|
20494
20503
|
|
|
20495
20504
|
/** Represents a DmlAction. */
|
|
@@ -20507,6 +20516,9 @@ export namespace google {
|
|
|
20507
20516
|
/** DmlAction autocommitIfSupported. */
|
|
20508
20517
|
public autocommitIfSupported?: (boolean|null);
|
|
20509
20518
|
|
|
20519
|
+
/** DmlAction lastStatement. */
|
|
20520
|
+
public lastStatement?: (boolean|null);
|
|
20521
|
+
|
|
20510
20522
|
/**
|
|
20511
20523
|
* Creates a new DmlAction instance using the specified properties.
|
|
20512
20524
|
* @param [properties] Properties to set
|
|
@@ -20590,6 +20602,9 @@ export namespace google {
|
|
|
20590
20602
|
|
|
20591
20603
|
/** BatchDmlAction updates */
|
|
20592
20604
|
updates?: (google.spanner.executor.v1.IQueryAction[]|null);
|
|
20605
|
+
|
|
20606
|
+
/** BatchDmlAction lastStatements */
|
|
20607
|
+
lastStatements?: (boolean|null);
|
|
20593
20608
|
}
|
|
20594
20609
|
|
|
20595
20610
|
/** Represents a BatchDmlAction. */
|
|
@@ -20604,6 +20619,9 @@ export namespace google {
|
|
|
20604
20619
|
/** BatchDmlAction updates. */
|
|
20605
20620
|
public updates: google.spanner.executor.v1.IQueryAction[];
|
|
20606
20621
|
|
|
20622
|
+
/** BatchDmlAction lastStatements. */
|
|
20623
|
+
public lastStatements?: (boolean|null);
|
|
20624
|
+
|
|
20607
20625
|
/**
|
|
20608
20626
|
* Creates a new BatchDmlAction instance using the specified properties.
|
|
20609
20627
|
* @param [properties] Properties to set
|
|
@@ -22406,6 +22424,21 @@ export namespace google {
|
|
|
22406
22424
|
|
|
22407
22425
|
/** TransactionExecutionOptions optimistic */
|
|
22408
22426
|
optimistic?: (boolean|null);
|
|
22427
|
+
|
|
22428
|
+
/** TransactionExecutionOptions excludeFromChangeStreams */
|
|
22429
|
+
excludeFromChangeStreams?: (boolean|null);
|
|
22430
|
+
|
|
22431
|
+
/** TransactionExecutionOptions serializableOptimistic */
|
|
22432
|
+
serializableOptimistic?: (boolean|null);
|
|
22433
|
+
|
|
22434
|
+
/** TransactionExecutionOptions snapshotIsolationOptimistic */
|
|
22435
|
+
snapshotIsolationOptimistic?: (boolean|null);
|
|
22436
|
+
|
|
22437
|
+
/** TransactionExecutionOptions snapshotIsolationPessimistic */
|
|
22438
|
+
snapshotIsolationPessimistic?: (boolean|null);
|
|
22439
|
+
|
|
22440
|
+
/** TransactionExecutionOptions excludeTxnFromChangeStreams */
|
|
22441
|
+
excludeTxnFromChangeStreams?: (boolean|null);
|
|
22409
22442
|
}
|
|
22410
22443
|
|
|
22411
22444
|
/** Represents a TransactionExecutionOptions. */
|
|
@@ -22420,6 +22453,21 @@ export namespace google {
|
|
|
22420
22453
|
/** TransactionExecutionOptions optimistic. */
|
|
22421
22454
|
public optimistic: boolean;
|
|
22422
22455
|
|
|
22456
|
+
/** TransactionExecutionOptions excludeFromChangeStreams. */
|
|
22457
|
+
public excludeFromChangeStreams: boolean;
|
|
22458
|
+
|
|
22459
|
+
/** TransactionExecutionOptions serializableOptimistic. */
|
|
22460
|
+
public serializableOptimistic: boolean;
|
|
22461
|
+
|
|
22462
|
+
/** TransactionExecutionOptions snapshotIsolationOptimistic. */
|
|
22463
|
+
public snapshotIsolationOptimistic: boolean;
|
|
22464
|
+
|
|
22465
|
+
/** TransactionExecutionOptions snapshotIsolationPessimistic. */
|
|
22466
|
+
public snapshotIsolationPessimistic: boolean;
|
|
22467
|
+
|
|
22468
|
+
/** TransactionExecutionOptions excludeTxnFromChangeStreams. */
|
|
22469
|
+
public excludeTxnFromChangeStreams: boolean;
|
|
22470
|
+
|
|
22423
22471
|
/**
|
|
22424
22472
|
* Creates a new TransactionExecutionOptions instance using the specified properties.
|
|
22425
22473
|
* @param [properties] Properties to set
|
|
@@ -22691,6 +22739,9 @@ export namespace google {
|
|
|
22691
22739
|
|
|
22692
22740
|
/** AdminAction changeQuorumCloudDatabase */
|
|
22693
22741
|
changeQuorumCloudDatabase?: (google.spanner.executor.v1.IChangeQuorumCloudDatabaseAction|null);
|
|
22742
|
+
|
|
22743
|
+
/** AdminAction addSplitPoints */
|
|
22744
|
+
addSplitPoints?: (google.spanner.executor.v1.IAddSplitPointsAction|null);
|
|
22694
22745
|
}
|
|
22695
22746
|
|
|
22696
22747
|
/** Represents an AdminAction. */
|
|
@@ -22786,8 +22837,11 @@ export namespace google {
|
|
|
22786
22837
|
/** AdminAction changeQuorumCloudDatabase. */
|
|
22787
22838
|
public changeQuorumCloudDatabase?: (google.spanner.executor.v1.IChangeQuorumCloudDatabaseAction|null);
|
|
22788
22839
|
|
|
22840
|
+
/** AdminAction addSplitPoints. */
|
|
22841
|
+
public addSplitPoints?: (google.spanner.executor.v1.IAddSplitPointsAction|null);
|
|
22842
|
+
|
|
22789
22843
|
/** AdminAction action. */
|
|
22790
|
-
public action?: ("createUserInstanceConfig"|"updateUserInstanceConfig"|"deleteUserInstanceConfig"|"getCloudInstanceConfig"|"listInstanceConfigs"|"createCloudInstance"|"updateCloudInstance"|"deleteCloudInstance"|"listCloudInstances"|"getCloudInstance"|"createCloudDatabase"|"updateCloudDatabaseDdl"|"updateCloudDatabase"|"dropCloudDatabase"|"listCloudDatabases"|"listCloudDatabaseOperations"|"restoreCloudDatabase"|"getCloudDatabase"|"createCloudBackup"|"copyCloudBackup"|"getCloudBackup"|"updateCloudBackup"|"deleteCloudBackup"|"listCloudBackups"|"listCloudBackupOperations"|"getOperation"|"cancelOperation"|"changeQuorumCloudDatabase");
|
|
22844
|
+
public action?: ("createUserInstanceConfig"|"updateUserInstanceConfig"|"deleteUserInstanceConfig"|"getCloudInstanceConfig"|"listInstanceConfigs"|"createCloudInstance"|"updateCloudInstance"|"deleteCloudInstance"|"listCloudInstances"|"getCloudInstance"|"createCloudDatabase"|"updateCloudDatabaseDdl"|"updateCloudDatabase"|"dropCloudDatabase"|"listCloudDatabases"|"listCloudDatabaseOperations"|"restoreCloudDatabase"|"getCloudDatabase"|"createCloudBackup"|"copyCloudBackup"|"getCloudBackup"|"updateCloudBackup"|"deleteCloudBackup"|"listCloudBackups"|"listCloudBackupOperations"|"getOperation"|"cancelOperation"|"changeQuorumCloudDatabase"|"addSplitPoints");
|
|
22791
22845
|
|
|
22792
22846
|
/**
|
|
22793
22847
|
* Creates a new AdminAction instance using the specified properties.
|
|
@@ -23435,6 +23489,9 @@ export namespace google {
|
|
|
23435
23489
|
|
|
23436
23490
|
/** CreateCloudInstanceAction labels */
|
|
23437
23491
|
labels?: ({ [k: string]: string }|null);
|
|
23492
|
+
|
|
23493
|
+
/** CreateCloudInstanceAction edition */
|
|
23494
|
+
edition?: (google.spanner.admin.instance.v1.Instance.Edition|keyof typeof google.spanner.admin.instance.v1.Instance.Edition|null);
|
|
23438
23495
|
}
|
|
23439
23496
|
|
|
23440
23497
|
/** Represents a CreateCloudInstanceAction. */
|
|
@@ -23467,6 +23524,9 @@ export namespace google {
|
|
|
23467
23524
|
/** CreateCloudInstanceAction labels. */
|
|
23468
23525
|
public labels: { [k: string]: string };
|
|
23469
23526
|
|
|
23527
|
+
/** CreateCloudInstanceAction edition. */
|
|
23528
|
+
public edition: (google.spanner.admin.instance.v1.Instance.Edition|keyof typeof google.spanner.admin.instance.v1.Instance.Edition);
|
|
23529
|
+
|
|
23470
23530
|
/**
|
|
23471
23531
|
* Creates a new CreateCloudInstanceAction instance using the specified properties.
|
|
23472
23532
|
* @param [properties] Properties to set
|
|
@@ -23568,6 +23628,9 @@ export namespace google {
|
|
|
23568
23628
|
|
|
23569
23629
|
/** UpdateCloudInstanceAction labels */
|
|
23570
23630
|
labels?: ({ [k: string]: string }|null);
|
|
23631
|
+
|
|
23632
|
+
/** UpdateCloudInstanceAction edition */
|
|
23633
|
+
edition?: (google.spanner.admin.instance.v1.Instance.Edition|keyof typeof google.spanner.admin.instance.v1.Instance.Edition|null);
|
|
23571
23634
|
}
|
|
23572
23635
|
|
|
23573
23636
|
/** Represents an UpdateCloudInstanceAction. */
|
|
@@ -23600,6 +23663,9 @@ export namespace google {
|
|
|
23600
23663
|
/** UpdateCloudInstanceAction labels. */
|
|
23601
23664
|
public labels: { [k: string]: string };
|
|
23602
23665
|
|
|
23666
|
+
/** UpdateCloudInstanceAction edition. */
|
|
23667
|
+
public edition: (google.spanner.admin.instance.v1.Instance.Edition|keyof typeof google.spanner.admin.instance.v1.Instance.Edition);
|
|
23668
|
+
|
|
23603
23669
|
/**
|
|
23604
23670
|
* Creates a new UpdateCloudInstanceAction instance using the specified properties.
|
|
23605
23671
|
* @param [properties] Properties to set
|
|
@@ -24368,6 +24434,133 @@ export namespace google {
|
|
|
24368
24434
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
24369
24435
|
}
|
|
24370
24436
|
|
|
24437
|
+
/** Properties of an AdaptMessageAction. */
|
|
24438
|
+
interface IAdaptMessageAction {
|
|
24439
|
+
|
|
24440
|
+
/** AdaptMessageAction databaseUri */
|
|
24441
|
+
databaseUri?: (string|null);
|
|
24442
|
+
|
|
24443
|
+
/** AdaptMessageAction protocol */
|
|
24444
|
+
protocol?: (string|null);
|
|
24445
|
+
|
|
24446
|
+
/** AdaptMessageAction payload */
|
|
24447
|
+
payload?: (Uint8Array|Buffer|string|null);
|
|
24448
|
+
|
|
24449
|
+
/** AdaptMessageAction attachments */
|
|
24450
|
+
attachments?: ({ [k: string]: string }|null);
|
|
24451
|
+
|
|
24452
|
+
/** AdaptMessageAction query */
|
|
24453
|
+
query?: (string|null);
|
|
24454
|
+
|
|
24455
|
+
/** AdaptMessageAction prepareThenExecute */
|
|
24456
|
+
prepareThenExecute?: (boolean|null);
|
|
24457
|
+
}
|
|
24458
|
+
|
|
24459
|
+
/** Represents an AdaptMessageAction. */
|
|
24460
|
+
class AdaptMessageAction implements IAdaptMessageAction {
|
|
24461
|
+
|
|
24462
|
+
/**
|
|
24463
|
+
* Constructs a new AdaptMessageAction.
|
|
24464
|
+
* @param [properties] Properties to set
|
|
24465
|
+
*/
|
|
24466
|
+
constructor(properties?: google.spanner.executor.v1.IAdaptMessageAction);
|
|
24467
|
+
|
|
24468
|
+
/** AdaptMessageAction databaseUri. */
|
|
24469
|
+
public databaseUri: string;
|
|
24470
|
+
|
|
24471
|
+
/** AdaptMessageAction protocol. */
|
|
24472
|
+
public protocol: string;
|
|
24473
|
+
|
|
24474
|
+
/** AdaptMessageAction payload. */
|
|
24475
|
+
public payload: (Uint8Array|Buffer|string);
|
|
24476
|
+
|
|
24477
|
+
/** AdaptMessageAction attachments. */
|
|
24478
|
+
public attachments: { [k: string]: string };
|
|
24479
|
+
|
|
24480
|
+
/** AdaptMessageAction query. */
|
|
24481
|
+
public query: string;
|
|
24482
|
+
|
|
24483
|
+
/** AdaptMessageAction prepareThenExecute. */
|
|
24484
|
+
public prepareThenExecute: boolean;
|
|
24485
|
+
|
|
24486
|
+
/**
|
|
24487
|
+
* Creates a new AdaptMessageAction instance using the specified properties.
|
|
24488
|
+
* @param [properties] Properties to set
|
|
24489
|
+
* @returns AdaptMessageAction instance
|
|
24490
|
+
*/
|
|
24491
|
+
public static create(properties?: google.spanner.executor.v1.IAdaptMessageAction): google.spanner.executor.v1.AdaptMessageAction;
|
|
24492
|
+
|
|
24493
|
+
/**
|
|
24494
|
+
* Encodes the specified AdaptMessageAction message. Does not implicitly {@link google.spanner.executor.v1.AdaptMessageAction.verify|verify} messages.
|
|
24495
|
+
* @param message AdaptMessageAction message or plain object to encode
|
|
24496
|
+
* @param [writer] Writer to encode to
|
|
24497
|
+
* @returns Writer
|
|
24498
|
+
*/
|
|
24499
|
+
public static encode(message: google.spanner.executor.v1.IAdaptMessageAction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
24500
|
+
|
|
24501
|
+
/**
|
|
24502
|
+
* Encodes the specified AdaptMessageAction message, length delimited. Does not implicitly {@link google.spanner.executor.v1.AdaptMessageAction.verify|verify} messages.
|
|
24503
|
+
* @param message AdaptMessageAction message or plain object to encode
|
|
24504
|
+
* @param [writer] Writer to encode to
|
|
24505
|
+
* @returns Writer
|
|
24506
|
+
*/
|
|
24507
|
+
public static encodeDelimited(message: google.spanner.executor.v1.IAdaptMessageAction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
24508
|
+
|
|
24509
|
+
/**
|
|
24510
|
+
* Decodes an AdaptMessageAction message from the specified reader or buffer.
|
|
24511
|
+
* @param reader Reader or buffer to decode from
|
|
24512
|
+
* @param [length] Message length if known beforehand
|
|
24513
|
+
* @returns AdaptMessageAction
|
|
24514
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
24515
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
24516
|
+
*/
|
|
24517
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.executor.v1.AdaptMessageAction;
|
|
24518
|
+
|
|
24519
|
+
/**
|
|
24520
|
+
* Decodes an AdaptMessageAction message from the specified reader or buffer, length delimited.
|
|
24521
|
+
* @param reader Reader or buffer to decode from
|
|
24522
|
+
* @returns AdaptMessageAction
|
|
24523
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
24524
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
24525
|
+
*/
|
|
24526
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.executor.v1.AdaptMessageAction;
|
|
24527
|
+
|
|
24528
|
+
/**
|
|
24529
|
+
* Verifies an AdaptMessageAction message.
|
|
24530
|
+
* @param message Plain object to verify
|
|
24531
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
24532
|
+
*/
|
|
24533
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
24534
|
+
|
|
24535
|
+
/**
|
|
24536
|
+
* Creates an AdaptMessageAction message from a plain object. Also converts values to their respective internal types.
|
|
24537
|
+
* @param object Plain object
|
|
24538
|
+
* @returns AdaptMessageAction
|
|
24539
|
+
*/
|
|
24540
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.executor.v1.AdaptMessageAction;
|
|
24541
|
+
|
|
24542
|
+
/**
|
|
24543
|
+
* Creates a plain object from an AdaptMessageAction message. Also converts values to other types if specified.
|
|
24544
|
+
* @param message AdaptMessageAction
|
|
24545
|
+
* @param [options] Conversion options
|
|
24546
|
+
* @returns Plain object
|
|
24547
|
+
*/
|
|
24548
|
+
public static toObject(message: google.spanner.executor.v1.AdaptMessageAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
24549
|
+
|
|
24550
|
+
/**
|
|
24551
|
+
* Converts this AdaptMessageAction to JSON.
|
|
24552
|
+
* @returns JSON object
|
|
24553
|
+
*/
|
|
24554
|
+
public toJSON(): { [k: string]: any };
|
|
24555
|
+
|
|
24556
|
+
/**
|
|
24557
|
+
* Gets the default type url for AdaptMessageAction
|
|
24558
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
24559
|
+
* @returns The default type url
|
|
24560
|
+
*/
|
|
24561
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
24562
|
+
}
|
|
24563
|
+
|
|
24371
24564
|
/** Properties of a ListCloudDatabasesAction. */
|
|
24372
24565
|
interface IListCloudDatabasesAction {
|
|
24373
24566
|
|
|
@@ -26184,6 +26377,121 @@ export namespace google {
|
|
|
26184
26377
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
26185
26378
|
}
|
|
26186
26379
|
|
|
26380
|
+
/** Properties of an AddSplitPointsAction. */
|
|
26381
|
+
interface IAddSplitPointsAction {
|
|
26382
|
+
|
|
26383
|
+
/** AddSplitPointsAction projectId */
|
|
26384
|
+
projectId?: (string|null);
|
|
26385
|
+
|
|
26386
|
+
/** AddSplitPointsAction instanceId */
|
|
26387
|
+
instanceId?: (string|null);
|
|
26388
|
+
|
|
26389
|
+
/** AddSplitPointsAction databaseId */
|
|
26390
|
+
databaseId?: (string|null);
|
|
26391
|
+
|
|
26392
|
+
/** AddSplitPointsAction splitPoints */
|
|
26393
|
+
splitPoints?: (google.spanner.admin.database.v1.ISplitPoints[]|null);
|
|
26394
|
+
}
|
|
26395
|
+
|
|
26396
|
+
/** Represents an AddSplitPointsAction. */
|
|
26397
|
+
class AddSplitPointsAction implements IAddSplitPointsAction {
|
|
26398
|
+
|
|
26399
|
+
/**
|
|
26400
|
+
* Constructs a new AddSplitPointsAction.
|
|
26401
|
+
* @param [properties] Properties to set
|
|
26402
|
+
*/
|
|
26403
|
+
constructor(properties?: google.spanner.executor.v1.IAddSplitPointsAction);
|
|
26404
|
+
|
|
26405
|
+
/** AddSplitPointsAction projectId. */
|
|
26406
|
+
public projectId: string;
|
|
26407
|
+
|
|
26408
|
+
/** AddSplitPointsAction instanceId. */
|
|
26409
|
+
public instanceId: string;
|
|
26410
|
+
|
|
26411
|
+
/** AddSplitPointsAction databaseId. */
|
|
26412
|
+
public databaseId: string;
|
|
26413
|
+
|
|
26414
|
+
/** AddSplitPointsAction splitPoints. */
|
|
26415
|
+
public splitPoints: google.spanner.admin.database.v1.ISplitPoints[];
|
|
26416
|
+
|
|
26417
|
+
/**
|
|
26418
|
+
* Creates a new AddSplitPointsAction instance using the specified properties.
|
|
26419
|
+
* @param [properties] Properties to set
|
|
26420
|
+
* @returns AddSplitPointsAction instance
|
|
26421
|
+
*/
|
|
26422
|
+
public static create(properties?: google.spanner.executor.v1.IAddSplitPointsAction): google.spanner.executor.v1.AddSplitPointsAction;
|
|
26423
|
+
|
|
26424
|
+
/**
|
|
26425
|
+
* Encodes the specified AddSplitPointsAction message. Does not implicitly {@link google.spanner.executor.v1.AddSplitPointsAction.verify|verify} messages.
|
|
26426
|
+
* @param message AddSplitPointsAction message or plain object to encode
|
|
26427
|
+
* @param [writer] Writer to encode to
|
|
26428
|
+
* @returns Writer
|
|
26429
|
+
*/
|
|
26430
|
+
public static encode(message: google.spanner.executor.v1.IAddSplitPointsAction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
26431
|
+
|
|
26432
|
+
/**
|
|
26433
|
+
* Encodes the specified AddSplitPointsAction message, length delimited. Does not implicitly {@link google.spanner.executor.v1.AddSplitPointsAction.verify|verify} messages.
|
|
26434
|
+
* @param message AddSplitPointsAction message or plain object to encode
|
|
26435
|
+
* @param [writer] Writer to encode to
|
|
26436
|
+
* @returns Writer
|
|
26437
|
+
*/
|
|
26438
|
+
public static encodeDelimited(message: google.spanner.executor.v1.IAddSplitPointsAction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
26439
|
+
|
|
26440
|
+
/**
|
|
26441
|
+
* Decodes an AddSplitPointsAction message from the specified reader or buffer.
|
|
26442
|
+
* @param reader Reader or buffer to decode from
|
|
26443
|
+
* @param [length] Message length if known beforehand
|
|
26444
|
+
* @returns AddSplitPointsAction
|
|
26445
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
26446
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
26447
|
+
*/
|
|
26448
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.executor.v1.AddSplitPointsAction;
|
|
26449
|
+
|
|
26450
|
+
/**
|
|
26451
|
+
* Decodes an AddSplitPointsAction message from the specified reader or buffer, length delimited.
|
|
26452
|
+
* @param reader Reader or buffer to decode from
|
|
26453
|
+
* @returns AddSplitPointsAction
|
|
26454
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
26455
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
26456
|
+
*/
|
|
26457
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.executor.v1.AddSplitPointsAction;
|
|
26458
|
+
|
|
26459
|
+
/**
|
|
26460
|
+
* Verifies an AddSplitPointsAction message.
|
|
26461
|
+
* @param message Plain object to verify
|
|
26462
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
26463
|
+
*/
|
|
26464
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
26465
|
+
|
|
26466
|
+
/**
|
|
26467
|
+
* Creates an AddSplitPointsAction message from a plain object. Also converts values to their respective internal types.
|
|
26468
|
+
* @param object Plain object
|
|
26469
|
+
* @returns AddSplitPointsAction
|
|
26470
|
+
*/
|
|
26471
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.executor.v1.AddSplitPointsAction;
|
|
26472
|
+
|
|
26473
|
+
/**
|
|
26474
|
+
* Creates a plain object from an AddSplitPointsAction message. Also converts values to other types if specified.
|
|
26475
|
+
* @param message AddSplitPointsAction
|
|
26476
|
+
* @param [options] Conversion options
|
|
26477
|
+
* @returns Plain object
|
|
26478
|
+
*/
|
|
26479
|
+
public static toObject(message: google.spanner.executor.v1.AddSplitPointsAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
26480
|
+
|
|
26481
|
+
/**
|
|
26482
|
+
* Converts this AddSplitPointsAction to JSON.
|
|
26483
|
+
* @returns JSON object
|
|
26484
|
+
*/
|
|
26485
|
+
public toJSON(): { [k: string]: any };
|
|
26486
|
+
|
|
26487
|
+
/**
|
|
26488
|
+
* Gets the default type url for AddSplitPointsAction
|
|
26489
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
26490
|
+
* @returns The default type url
|
|
26491
|
+
*/
|
|
26492
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
26493
|
+
}
|
|
26494
|
+
|
|
26187
26495
|
/** Properties of a StartBatchTransactionAction. */
|
|
26188
26496
|
interface IStartBatchTransactionAction {
|
|
26189
26497
|
|
|
@@ -26994,6 +27302,9 @@ export namespace google {
|
|
|
26994
27302
|
|
|
26995
27303
|
/** SpannerActionOutcome changeStreamRecords */
|
|
26996
27304
|
changeStreamRecords?: (google.spanner.executor.v1.IChangeStreamRecord[]|null);
|
|
27305
|
+
|
|
27306
|
+
/** SpannerActionOutcome snapshotIsolationTxnReadTimestamp */
|
|
27307
|
+
snapshotIsolationTxnReadTimestamp?: (number|Long|string|null);
|
|
26997
27308
|
}
|
|
26998
27309
|
|
|
26999
27310
|
/** Represents a SpannerActionOutcome. */
|
|
@@ -27035,6 +27346,9 @@ export namespace google {
|
|
|
27035
27346
|
/** SpannerActionOutcome changeStreamRecords. */
|
|
27036
27347
|
public changeStreamRecords: google.spanner.executor.v1.IChangeStreamRecord[];
|
|
27037
27348
|
|
|
27349
|
+
/** SpannerActionOutcome snapshotIsolationTxnReadTimestamp. */
|
|
27350
|
+
public snapshotIsolationTxnReadTimestamp?: (number|Long|string|null);
|
|
27351
|
+
|
|
27038
27352
|
/**
|
|
27039
27353
|
* Creates a new SpannerActionOutcome instance using the specified properties.
|
|
27040
27354
|
* @param [properties] Properties to set
|
|
@@ -36293,6 +36607,9 @@ export namespace google {
|
|
|
36293
36607
|
|
|
36294
36608
|
/** ResultSet precommitToken */
|
|
36295
36609
|
precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
|
|
36610
|
+
|
|
36611
|
+
/** ResultSet cacheUpdate */
|
|
36612
|
+
cacheUpdate?: (google.spanner.v1.ICacheUpdate|null);
|
|
36296
36613
|
}
|
|
36297
36614
|
|
|
36298
36615
|
/** Represents a ResultSet. */
|
|
@@ -36316,6 +36633,9 @@ export namespace google {
|
|
|
36316
36633
|
/** ResultSet precommitToken. */
|
|
36317
36634
|
public precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
|
|
36318
36635
|
|
|
36636
|
+
/** ResultSet cacheUpdate. */
|
|
36637
|
+
public cacheUpdate?: (google.spanner.v1.ICacheUpdate|null);
|
|
36638
|
+
|
|
36319
36639
|
/**
|
|
36320
36640
|
* Creates a new ResultSet instance using the specified properties.
|
|
36321
36641
|
* @param [properties] Properties to set
|