@google-cloud/spanner 8.7.1 → 8.8.1
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/build/protos/google/spanner/v1/commit_response.proto +16 -0
- package/build/protos/google/spanner/v1/spanner.proto +55 -2
- package/build/protos/google/spanner/v1/transaction.proto +38 -18
- package/build/protos/protos.d.ts +1639 -1473
- package/build/protos/protos.js +13981 -9820
- package/build/protos/protos.json +296 -213
- package/build/src/codec.d.ts +10 -16
- package/build/src/codec.js +337 -68
- package/build/src/common-grpc/service.js +26 -16
- package/build/src/database.js +4 -1
- package/build/src/helper.d.ts +16 -0
- package/build/src/helper.js +89 -0
- package/build/src/index.js +20 -16
- package/build/src/instance.js +4 -1
- package/build/src/instrument.d.ts +10 -0
- package/build/src/instrument.js +74 -13
- package/build/src/metrics/metrics-tracer-factory.d.ts +1 -1
- package/build/src/metrics/metrics-tracer-factory.js +4 -4
- package/build/src/multiplexed-session.js +22 -19
- package/build/src/partial-result-stream.d.ts +11 -0
- package/build/src/partial-result-stream.js +79 -12
- package/build/src/request_id_header.js +12 -25
- package/build/src/session-pool.js +37 -34
- package/build/src/session.js +1 -1
- package/build/src/transaction.js +1 -1
- package/build/src/v1/spanner_client.d.ts +47 -4
- package/build/src/v1/spanner_client.js +47 -2
- package/build/src/v1/spanner_client_config.json +4 -0
- package/package.json +3 -11
package/build/protos/protos.d.ts
CHANGED
|
@@ -29591,6 +29591,20 @@ export namespace google {
|
|
|
29591
29591
|
* @returns Promise
|
|
29592
29592
|
*/
|
|
29593
29593
|
public batchWrite(request: google.spanner.v1.IBatchWriteRequest): Promise<google.spanner.v1.BatchWriteResponse>;
|
|
29594
|
+
|
|
29595
|
+
/**
|
|
29596
|
+
* Calls FetchCacheUpdate.
|
|
29597
|
+
* @param request FetchCacheUpdateRequest message or plain object
|
|
29598
|
+
* @param callback Node-style callback called with the error, if any, and CacheUpdate
|
|
29599
|
+
*/
|
|
29600
|
+
public fetchCacheUpdate(request: google.spanner.v1.IFetchCacheUpdateRequest, callback: google.spanner.v1.Spanner.FetchCacheUpdateCallback): void;
|
|
29601
|
+
|
|
29602
|
+
/**
|
|
29603
|
+
* Calls FetchCacheUpdate.
|
|
29604
|
+
* @param request FetchCacheUpdateRequest message or plain object
|
|
29605
|
+
* @returns Promise
|
|
29606
|
+
*/
|
|
29607
|
+
public fetchCacheUpdate(request: google.spanner.v1.IFetchCacheUpdateRequest): Promise<google.spanner.v1.CacheUpdate>;
|
|
29594
29608
|
}
|
|
29595
29609
|
|
|
29596
29610
|
namespace Spanner {
|
|
@@ -29706,6 +29720,13 @@ export namespace google {
|
|
|
29706
29720
|
* @param [response] BatchWriteResponse
|
|
29707
29721
|
*/
|
|
29708
29722
|
type BatchWriteCallback = (error: (Error|null), response?: google.spanner.v1.BatchWriteResponse) => void;
|
|
29723
|
+
|
|
29724
|
+
/**
|
|
29725
|
+
* Callback as used by {@link google.spanner.v1.Spanner|fetchCacheUpdate}.
|
|
29726
|
+
* @param error Error, if any
|
|
29727
|
+
* @param [response] CacheUpdate
|
|
29728
|
+
*/
|
|
29729
|
+
type FetchCacheUpdateCallback = (error: (Error|null), response?: google.spanner.v1.CacheUpdate) => void;
|
|
29709
29730
|
}
|
|
29710
29731
|
|
|
29711
29732
|
/** Properties of a CreateSessionRequest. */
|
|
@@ -32620,6 +32641,9 @@ export namespace google {
|
|
|
32620
32641
|
|
|
32621
32642
|
/** BeginTransactionRequest mutationKey */
|
|
32622
32643
|
mutationKey?: (google.spanner.v1.IMutation|null);
|
|
32644
|
+
|
|
32645
|
+
/** BeginTransactionRequest routingHint */
|
|
32646
|
+
routingHint?: (google.spanner.v1.IRoutingHint|null);
|
|
32623
32647
|
}
|
|
32624
32648
|
|
|
32625
32649
|
/** Represents a BeginTransactionRequest. */
|
|
@@ -32643,6 +32667,9 @@ export namespace google {
|
|
|
32643
32667
|
/** BeginTransactionRequest mutationKey. */
|
|
32644
32668
|
public mutationKey?: (google.spanner.v1.IMutation|null);
|
|
32645
32669
|
|
|
32670
|
+
/** BeginTransactionRequest routingHint. */
|
|
32671
|
+
public routingHint?: (google.spanner.v1.IRoutingHint|null);
|
|
32672
|
+
|
|
32646
32673
|
/**
|
|
32647
32674
|
* Creates a new BeginTransactionRequest instance using the specified properties.
|
|
32648
32675
|
* @param [properties] Properties to set
|
|
@@ -32747,6 +32774,9 @@ export namespace google {
|
|
|
32747
32774
|
|
|
32748
32775
|
/** CommitRequest precommitToken */
|
|
32749
32776
|
precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
|
|
32777
|
+
|
|
32778
|
+
/** CommitRequest routingHint */
|
|
32779
|
+
routingHint?: (google.spanner.v1.IRoutingHint|null);
|
|
32750
32780
|
}
|
|
32751
32781
|
|
|
32752
32782
|
/** Represents a CommitRequest. */
|
|
@@ -32782,6 +32812,9 @@ export namespace google {
|
|
|
32782
32812
|
/** CommitRequest precommitToken. */
|
|
32783
32813
|
public precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
|
|
32784
32814
|
|
|
32815
|
+
/** CommitRequest routingHint. */
|
|
32816
|
+
public routingHint?: (google.spanner.v1.IRoutingHint|null);
|
|
32817
|
+
|
|
32785
32818
|
/** CommitRequest transaction. */
|
|
32786
32819
|
public transaction?: ("transactionId"|"singleUseTransaction");
|
|
32787
32820
|
|
|
@@ -33290,6 +33323,115 @@ export namespace google {
|
|
|
33290
33323
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
33291
33324
|
}
|
|
33292
33325
|
|
|
33326
|
+
/** Properties of a FetchCacheUpdateRequest. */
|
|
33327
|
+
interface IFetchCacheUpdateRequest {
|
|
33328
|
+
|
|
33329
|
+
/** FetchCacheUpdateRequest database */
|
|
33330
|
+
database?: (string|null);
|
|
33331
|
+
|
|
33332
|
+
/** FetchCacheUpdateRequest maxRecipeCount */
|
|
33333
|
+
maxRecipeCount?: (number|null);
|
|
33334
|
+
|
|
33335
|
+
/** FetchCacheUpdateRequest maxRangeCount */
|
|
33336
|
+
maxRangeCount?: (number|null);
|
|
33337
|
+
}
|
|
33338
|
+
|
|
33339
|
+
/** Represents a FetchCacheUpdateRequest. */
|
|
33340
|
+
class FetchCacheUpdateRequest implements IFetchCacheUpdateRequest {
|
|
33341
|
+
|
|
33342
|
+
/**
|
|
33343
|
+
* Constructs a new FetchCacheUpdateRequest.
|
|
33344
|
+
* @param [properties] Properties to set
|
|
33345
|
+
*/
|
|
33346
|
+
constructor(properties?: google.spanner.v1.IFetchCacheUpdateRequest);
|
|
33347
|
+
|
|
33348
|
+
/** FetchCacheUpdateRequest database. */
|
|
33349
|
+
public database: string;
|
|
33350
|
+
|
|
33351
|
+
/** FetchCacheUpdateRequest maxRecipeCount. */
|
|
33352
|
+
public maxRecipeCount: number;
|
|
33353
|
+
|
|
33354
|
+
/** FetchCacheUpdateRequest maxRangeCount. */
|
|
33355
|
+
public maxRangeCount: number;
|
|
33356
|
+
|
|
33357
|
+
/**
|
|
33358
|
+
* Creates a new FetchCacheUpdateRequest instance using the specified properties.
|
|
33359
|
+
* @param [properties] Properties to set
|
|
33360
|
+
* @returns FetchCacheUpdateRequest instance
|
|
33361
|
+
*/
|
|
33362
|
+
public static create(properties?: google.spanner.v1.IFetchCacheUpdateRequest): google.spanner.v1.FetchCacheUpdateRequest;
|
|
33363
|
+
|
|
33364
|
+
/**
|
|
33365
|
+
* Encodes the specified FetchCacheUpdateRequest message. Does not implicitly {@link google.spanner.v1.FetchCacheUpdateRequest.verify|verify} messages.
|
|
33366
|
+
* @param message FetchCacheUpdateRequest message or plain object to encode
|
|
33367
|
+
* @param [writer] Writer to encode to
|
|
33368
|
+
* @returns Writer
|
|
33369
|
+
*/
|
|
33370
|
+
public static encode(message: google.spanner.v1.IFetchCacheUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
33371
|
+
|
|
33372
|
+
/**
|
|
33373
|
+
* Encodes the specified FetchCacheUpdateRequest message, length delimited. Does not implicitly {@link google.spanner.v1.FetchCacheUpdateRequest.verify|verify} messages.
|
|
33374
|
+
* @param message FetchCacheUpdateRequest message or plain object to encode
|
|
33375
|
+
* @param [writer] Writer to encode to
|
|
33376
|
+
* @returns Writer
|
|
33377
|
+
*/
|
|
33378
|
+
public static encodeDelimited(message: google.spanner.v1.IFetchCacheUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
33379
|
+
|
|
33380
|
+
/**
|
|
33381
|
+
* Decodes a FetchCacheUpdateRequest message from the specified reader or buffer.
|
|
33382
|
+
* @param reader Reader or buffer to decode from
|
|
33383
|
+
* @param [length] Message length if known beforehand
|
|
33384
|
+
* @returns FetchCacheUpdateRequest
|
|
33385
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33386
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33387
|
+
*/
|
|
33388
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.FetchCacheUpdateRequest;
|
|
33389
|
+
|
|
33390
|
+
/**
|
|
33391
|
+
* Decodes a FetchCacheUpdateRequest message from the specified reader or buffer, length delimited.
|
|
33392
|
+
* @param reader Reader or buffer to decode from
|
|
33393
|
+
* @returns FetchCacheUpdateRequest
|
|
33394
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33395
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33396
|
+
*/
|
|
33397
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.FetchCacheUpdateRequest;
|
|
33398
|
+
|
|
33399
|
+
/**
|
|
33400
|
+
* Verifies a FetchCacheUpdateRequest message.
|
|
33401
|
+
* @param message Plain object to verify
|
|
33402
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
33403
|
+
*/
|
|
33404
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
33405
|
+
|
|
33406
|
+
/**
|
|
33407
|
+
* Creates a FetchCacheUpdateRequest message from a plain object. Also converts values to their respective internal types.
|
|
33408
|
+
* @param object Plain object
|
|
33409
|
+
* @returns FetchCacheUpdateRequest
|
|
33410
|
+
*/
|
|
33411
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.FetchCacheUpdateRequest;
|
|
33412
|
+
|
|
33413
|
+
/**
|
|
33414
|
+
* Creates a plain object from a FetchCacheUpdateRequest message. Also converts values to other types if specified.
|
|
33415
|
+
* @param message FetchCacheUpdateRequest
|
|
33416
|
+
* @param [options] Conversion options
|
|
33417
|
+
* @returns Plain object
|
|
33418
|
+
*/
|
|
33419
|
+
public static toObject(message: google.spanner.v1.FetchCacheUpdateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
33420
|
+
|
|
33421
|
+
/**
|
|
33422
|
+
* Converts this FetchCacheUpdateRequest to JSON.
|
|
33423
|
+
* @returns JSON object
|
|
33424
|
+
*/
|
|
33425
|
+
public toJSON(): { [k: string]: any };
|
|
33426
|
+
|
|
33427
|
+
/**
|
|
33428
|
+
* Gets the default type url for FetchCacheUpdateRequest
|
|
33429
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
33430
|
+
* @returns The default type url
|
|
33431
|
+
*/
|
|
33432
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
33433
|
+
}
|
|
33434
|
+
|
|
33293
33435
|
/** Properties of a CommitResponse. */
|
|
33294
33436
|
interface ICommitResponse {
|
|
33295
33437
|
|
|
@@ -33304,6 +33446,15 @@ export namespace google {
|
|
|
33304
33446
|
|
|
33305
33447
|
/** CommitResponse snapshotTimestamp */
|
|
33306
33448
|
snapshotTimestamp?: (google.protobuf.ITimestamp|null);
|
|
33449
|
+
|
|
33450
|
+
/** CommitResponse cacheUpdate */
|
|
33451
|
+
cacheUpdate?: (google.spanner.v1.ICacheUpdate|null);
|
|
33452
|
+
|
|
33453
|
+
/** CommitResponse isolationLevel */
|
|
33454
|
+
isolationLevel?: (google.spanner.v1.TransactionOptions.IsolationLevel|keyof typeof google.spanner.v1.TransactionOptions.IsolationLevel|null);
|
|
33455
|
+
|
|
33456
|
+
/** CommitResponse readLockMode */
|
|
33457
|
+
readLockMode?: (google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode|keyof typeof google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode|null);
|
|
33307
33458
|
}
|
|
33308
33459
|
|
|
33309
33460
|
/** Represents a CommitResponse. */
|
|
@@ -33327,6 +33478,15 @@ export namespace google {
|
|
|
33327
33478
|
/** CommitResponse snapshotTimestamp. */
|
|
33328
33479
|
public snapshotTimestamp?: (google.protobuf.ITimestamp|null);
|
|
33329
33480
|
|
|
33481
|
+
/** CommitResponse cacheUpdate. */
|
|
33482
|
+
public cacheUpdate?: (google.spanner.v1.ICacheUpdate|null);
|
|
33483
|
+
|
|
33484
|
+
/** CommitResponse isolationLevel. */
|
|
33485
|
+
public isolationLevel: (google.spanner.v1.TransactionOptions.IsolationLevel|keyof typeof google.spanner.v1.TransactionOptions.IsolationLevel);
|
|
33486
|
+
|
|
33487
|
+
/** CommitResponse readLockMode. */
|
|
33488
|
+
public readLockMode: (google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode|keyof typeof google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode);
|
|
33489
|
+
|
|
33330
33490
|
/** CommitResponse MultiplexedSessionRetry. */
|
|
33331
33491
|
public MultiplexedSessionRetry?: "precommitToken";
|
|
33332
33492
|
|
|
@@ -33508,2516 +33668,2522 @@ export namespace google {
|
|
|
33508
33668
|
}
|
|
33509
33669
|
}
|
|
33510
33670
|
|
|
33511
|
-
/** Properties of a
|
|
33512
|
-
interface
|
|
33671
|
+
/** Properties of a Range. */
|
|
33672
|
+
interface IRange {
|
|
33513
33673
|
|
|
33514
|
-
/**
|
|
33515
|
-
|
|
33674
|
+
/** Range startKey */
|
|
33675
|
+
startKey?: (Uint8Array|Buffer|string|null);
|
|
33516
33676
|
|
|
33517
|
-
/**
|
|
33518
|
-
|
|
33677
|
+
/** Range limitKey */
|
|
33678
|
+
limitKey?: (Uint8Array|Buffer|string|null);
|
|
33519
33679
|
|
|
33520
|
-
/**
|
|
33521
|
-
|
|
33680
|
+
/** Range groupUid */
|
|
33681
|
+
groupUid?: (number|Long|string|null);
|
|
33522
33682
|
|
|
33523
|
-
/**
|
|
33524
|
-
|
|
33683
|
+
/** Range splitId */
|
|
33684
|
+
splitId?: (number|Long|string|null);
|
|
33525
33685
|
|
|
33526
|
-
/**
|
|
33527
|
-
|
|
33686
|
+
/** Range generation */
|
|
33687
|
+
generation?: (Uint8Array|Buffer|string|null);
|
|
33528
33688
|
}
|
|
33529
33689
|
|
|
33530
|
-
/** Represents a
|
|
33531
|
-
class
|
|
33690
|
+
/** Represents a Range. */
|
|
33691
|
+
class Range implements IRange {
|
|
33532
33692
|
|
|
33533
33693
|
/**
|
|
33534
|
-
* Constructs a new
|
|
33694
|
+
* Constructs a new Range.
|
|
33535
33695
|
* @param [properties] Properties to set
|
|
33536
33696
|
*/
|
|
33537
|
-
constructor(properties?: google.spanner.v1.
|
|
33538
|
-
|
|
33539
|
-
/** TransactionOptions readWrite. */
|
|
33540
|
-
public readWrite?: (google.spanner.v1.TransactionOptions.IReadWrite|null);
|
|
33697
|
+
constructor(properties?: google.spanner.v1.IRange);
|
|
33541
33698
|
|
|
33542
|
-
/**
|
|
33543
|
-
public
|
|
33699
|
+
/** Range startKey. */
|
|
33700
|
+
public startKey: (Uint8Array|Buffer|string);
|
|
33544
33701
|
|
|
33545
|
-
/**
|
|
33546
|
-
public
|
|
33702
|
+
/** Range limitKey. */
|
|
33703
|
+
public limitKey: (Uint8Array|Buffer|string);
|
|
33547
33704
|
|
|
33548
|
-
/**
|
|
33549
|
-
public
|
|
33705
|
+
/** Range groupUid. */
|
|
33706
|
+
public groupUid: (number|Long|string);
|
|
33550
33707
|
|
|
33551
|
-
/**
|
|
33552
|
-
public
|
|
33708
|
+
/** Range splitId. */
|
|
33709
|
+
public splitId: (number|Long|string);
|
|
33553
33710
|
|
|
33554
|
-
/**
|
|
33555
|
-
public
|
|
33711
|
+
/** Range generation. */
|
|
33712
|
+
public generation: (Uint8Array|Buffer|string);
|
|
33556
33713
|
|
|
33557
33714
|
/**
|
|
33558
|
-
* Creates a new
|
|
33715
|
+
* Creates a new Range instance using the specified properties.
|
|
33559
33716
|
* @param [properties] Properties to set
|
|
33560
|
-
* @returns
|
|
33717
|
+
* @returns Range instance
|
|
33561
33718
|
*/
|
|
33562
|
-
public static create(properties?: google.spanner.v1.
|
|
33719
|
+
public static create(properties?: google.spanner.v1.IRange): google.spanner.v1.Range;
|
|
33563
33720
|
|
|
33564
33721
|
/**
|
|
33565
|
-
* Encodes the specified
|
|
33566
|
-
* @param message
|
|
33722
|
+
* Encodes the specified Range message. Does not implicitly {@link google.spanner.v1.Range.verify|verify} messages.
|
|
33723
|
+
* @param message Range message or plain object to encode
|
|
33567
33724
|
* @param [writer] Writer to encode to
|
|
33568
33725
|
* @returns Writer
|
|
33569
33726
|
*/
|
|
33570
|
-
public static encode(message: google.spanner.v1.
|
|
33727
|
+
public static encode(message: google.spanner.v1.IRange, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
33571
33728
|
|
|
33572
33729
|
/**
|
|
33573
|
-
* Encodes the specified
|
|
33574
|
-
* @param message
|
|
33730
|
+
* Encodes the specified Range message, length delimited. Does not implicitly {@link google.spanner.v1.Range.verify|verify} messages.
|
|
33731
|
+
* @param message Range message or plain object to encode
|
|
33575
33732
|
* @param [writer] Writer to encode to
|
|
33576
33733
|
* @returns Writer
|
|
33577
33734
|
*/
|
|
33578
|
-
public static encodeDelimited(message: google.spanner.v1.
|
|
33735
|
+
public static encodeDelimited(message: google.spanner.v1.IRange, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
33579
33736
|
|
|
33580
33737
|
/**
|
|
33581
|
-
* Decodes a
|
|
33738
|
+
* Decodes a Range message from the specified reader or buffer.
|
|
33582
33739
|
* @param reader Reader or buffer to decode from
|
|
33583
33740
|
* @param [length] Message length if known beforehand
|
|
33584
|
-
* @returns
|
|
33741
|
+
* @returns Range
|
|
33585
33742
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33586
33743
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33587
33744
|
*/
|
|
33588
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.
|
|
33745
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.Range;
|
|
33589
33746
|
|
|
33590
33747
|
/**
|
|
33591
|
-
* Decodes a
|
|
33748
|
+
* Decodes a Range message from the specified reader or buffer, length delimited.
|
|
33592
33749
|
* @param reader Reader or buffer to decode from
|
|
33593
|
-
* @returns
|
|
33750
|
+
* @returns Range
|
|
33594
33751
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33595
33752
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33596
33753
|
*/
|
|
33597
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.
|
|
33754
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.Range;
|
|
33598
33755
|
|
|
33599
33756
|
/**
|
|
33600
|
-
* Verifies a
|
|
33757
|
+
* Verifies a Range message.
|
|
33601
33758
|
* @param message Plain object to verify
|
|
33602
33759
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
33603
33760
|
*/
|
|
33604
33761
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
33605
33762
|
|
|
33606
33763
|
/**
|
|
33607
|
-
* Creates a
|
|
33764
|
+
* Creates a Range message from a plain object. Also converts values to their respective internal types.
|
|
33608
33765
|
* @param object Plain object
|
|
33609
|
-
* @returns
|
|
33766
|
+
* @returns Range
|
|
33610
33767
|
*/
|
|
33611
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.v1.
|
|
33768
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.Range;
|
|
33612
33769
|
|
|
33613
33770
|
/**
|
|
33614
|
-
* Creates a plain object from a
|
|
33615
|
-
* @param message
|
|
33771
|
+
* Creates a plain object from a Range message. Also converts values to other types if specified.
|
|
33772
|
+
* @param message Range
|
|
33616
33773
|
* @param [options] Conversion options
|
|
33617
33774
|
* @returns Plain object
|
|
33618
33775
|
*/
|
|
33619
|
-
public static toObject(message: google.spanner.v1.
|
|
33776
|
+
public static toObject(message: google.spanner.v1.Range, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
33620
33777
|
|
|
33621
33778
|
/**
|
|
33622
|
-
* Converts this
|
|
33779
|
+
* Converts this Range to JSON.
|
|
33623
33780
|
* @returns JSON object
|
|
33624
33781
|
*/
|
|
33625
33782
|
public toJSON(): { [k: string]: any };
|
|
33626
33783
|
|
|
33627
33784
|
/**
|
|
33628
|
-
* Gets the default type url for
|
|
33785
|
+
* Gets the default type url for Range
|
|
33629
33786
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
33630
33787
|
* @returns The default type url
|
|
33631
33788
|
*/
|
|
33632
33789
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
33633
33790
|
}
|
|
33634
33791
|
|
|
33635
|
-
|
|
33636
|
-
|
|
33637
|
-
/** Properties of a ReadWrite. */
|
|
33638
|
-
interface IReadWrite {
|
|
33792
|
+
/** Properties of a Tablet. */
|
|
33793
|
+
interface ITablet {
|
|
33639
33794
|
|
|
33640
|
-
|
|
33641
|
-
|
|
33795
|
+
/** Tablet tabletUid */
|
|
33796
|
+
tabletUid?: (number|Long|string|null);
|
|
33642
33797
|
|
|
33643
|
-
|
|
33644
|
-
|
|
33645
|
-
}
|
|
33798
|
+
/** Tablet serverAddress */
|
|
33799
|
+
serverAddress?: (string|null);
|
|
33646
33800
|
|
|
33647
|
-
/**
|
|
33648
|
-
|
|
33801
|
+
/** Tablet location */
|
|
33802
|
+
location?: (string|null);
|
|
33649
33803
|
|
|
33650
|
-
|
|
33651
|
-
|
|
33652
|
-
* @param [properties] Properties to set
|
|
33653
|
-
*/
|
|
33654
|
-
constructor(properties?: google.spanner.v1.TransactionOptions.IReadWrite);
|
|
33804
|
+
/** Tablet role */
|
|
33805
|
+
role?: (google.spanner.v1.Tablet.Role|keyof typeof google.spanner.v1.Tablet.Role|null);
|
|
33655
33806
|
|
|
33656
|
-
|
|
33657
|
-
|
|
33807
|
+
/** Tablet incarnation */
|
|
33808
|
+
incarnation?: (Uint8Array|Buffer|string|null);
|
|
33658
33809
|
|
|
33659
|
-
|
|
33660
|
-
|
|
33810
|
+
/** Tablet distance */
|
|
33811
|
+
distance?: (number|null);
|
|
33661
33812
|
|
|
33662
|
-
|
|
33663
|
-
|
|
33664
|
-
|
|
33665
|
-
* @returns ReadWrite instance
|
|
33666
|
-
*/
|
|
33667
|
-
public static create(properties?: google.spanner.v1.TransactionOptions.IReadWrite): google.spanner.v1.TransactionOptions.ReadWrite;
|
|
33813
|
+
/** Tablet skip */
|
|
33814
|
+
skip?: (boolean|null);
|
|
33815
|
+
}
|
|
33668
33816
|
|
|
33669
|
-
|
|
33670
|
-
|
|
33671
|
-
* @param message ReadWrite message or plain object to encode
|
|
33672
|
-
* @param [writer] Writer to encode to
|
|
33673
|
-
* @returns Writer
|
|
33674
|
-
*/
|
|
33675
|
-
public static encode(message: google.spanner.v1.TransactionOptions.IReadWrite, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
33817
|
+
/** Represents a Tablet. */
|
|
33818
|
+
class Tablet implements ITablet {
|
|
33676
33819
|
|
|
33677
|
-
|
|
33678
|
-
|
|
33679
|
-
|
|
33680
|
-
|
|
33681
|
-
|
|
33682
|
-
*/
|
|
33683
|
-
public static encodeDelimited(message: google.spanner.v1.TransactionOptions.IReadWrite, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
33684
|
-
|
|
33685
|
-
/**
|
|
33686
|
-
* Decodes a ReadWrite message from the specified reader or buffer.
|
|
33687
|
-
* @param reader Reader or buffer to decode from
|
|
33688
|
-
* @param [length] Message length if known beforehand
|
|
33689
|
-
* @returns ReadWrite
|
|
33690
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33691
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33692
|
-
*/
|
|
33693
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.TransactionOptions.ReadWrite;
|
|
33694
|
-
|
|
33695
|
-
/**
|
|
33696
|
-
* Decodes a ReadWrite message from the specified reader or buffer, length delimited.
|
|
33697
|
-
* @param reader Reader or buffer to decode from
|
|
33698
|
-
* @returns ReadWrite
|
|
33699
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33700
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33701
|
-
*/
|
|
33702
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.TransactionOptions.ReadWrite;
|
|
33703
|
-
|
|
33704
|
-
/**
|
|
33705
|
-
* Verifies a ReadWrite message.
|
|
33706
|
-
* @param message Plain object to verify
|
|
33707
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
33708
|
-
*/
|
|
33709
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
33820
|
+
/**
|
|
33821
|
+
* Constructs a new Tablet.
|
|
33822
|
+
* @param [properties] Properties to set
|
|
33823
|
+
*/
|
|
33824
|
+
constructor(properties?: google.spanner.v1.ITablet);
|
|
33710
33825
|
|
|
33711
|
-
|
|
33712
|
-
|
|
33713
|
-
* @param object Plain object
|
|
33714
|
-
* @returns ReadWrite
|
|
33715
|
-
*/
|
|
33716
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.v1.TransactionOptions.ReadWrite;
|
|
33826
|
+
/** Tablet tabletUid. */
|
|
33827
|
+
public tabletUid: (number|Long|string);
|
|
33717
33828
|
|
|
33718
|
-
|
|
33719
|
-
|
|
33720
|
-
* @param message ReadWrite
|
|
33721
|
-
* @param [options] Conversion options
|
|
33722
|
-
* @returns Plain object
|
|
33723
|
-
*/
|
|
33724
|
-
public static toObject(message: google.spanner.v1.TransactionOptions.ReadWrite, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
33829
|
+
/** Tablet serverAddress. */
|
|
33830
|
+
public serverAddress: string;
|
|
33725
33831
|
|
|
33726
|
-
|
|
33727
|
-
|
|
33728
|
-
* @returns JSON object
|
|
33729
|
-
*/
|
|
33730
|
-
public toJSON(): { [k: string]: any };
|
|
33832
|
+
/** Tablet location. */
|
|
33833
|
+
public location: string;
|
|
33731
33834
|
|
|
33732
|
-
|
|
33733
|
-
|
|
33734
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
33735
|
-
* @returns The default type url
|
|
33736
|
-
*/
|
|
33737
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
33738
|
-
}
|
|
33835
|
+
/** Tablet role. */
|
|
33836
|
+
public role: (google.spanner.v1.Tablet.Role|keyof typeof google.spanner.v1.Tablet.Role);
|
|
33739
33837
|
|
|
33740
|
-
|
|
33838
|
+
/** Tablet incarnation. */
|
|
33839
|
+
public incarnation: (Uint8Array|Buffer|string);
|
|
33741
33840
|
|
|
33742
|
-
|
|
33743
|
-
|
|
33744
|
-
READ_LOCK_MODE_UNSPECIFIED = 0,
|
|
33745
|
-
PESSIMISTIC = 1,
|
|
33746
|
-
OPTIMISTIC = 2
|
|
33747
|
-
}
|
|
33748
|
-
}
|
|
33841
|
+
/** Tablet distance. */
|
|
33842
|
+
public distance: number;
|
|
33749
33843
|
|
|
33750
|
-
/**
|
|
33751
|
-
|
|
33752
|
-
}
|
|
33844
|
+
/** Tablet skip. */
|
|
33845
|
+
public skip: boolean;
|
|
33753
33846
|
|
|
33754
|
-
/**
|
|
33755
|
-
|
|
33847
|
+
/**
|
|
33848
|
+
* Creates a new Tablet instance using the specified properties.
|
|
33849
|
+
* @param [properties] Properties to set
|
|
33850
|
+
* @returns Tablet instance
|
|
33851
|
+
*/
|
|
33852
|
+
public static create(properties?: google.spanner.v1.ITablet): google.spanner.v1.Tablet;
|
|
33756
33853
|
|
|
33757
|
-
|
|
33758
|
-
|
|
33759
|
-
|
|
33760
|
-
|
|
33761
|
-
|
|
33854
|
+
/**
|
|
33855
|
+
* Encodes the specified Tablet message. Does not implicitly {@link google.spanner.v1.Tablet.verify|verify} messages.
|
|
33856
|
+
* @param message Tablet message or plain object to encode
|
|
33857
|
+
* @param [writer] Writer to encode to
|
|
33858
|
+
* @returns Writer
|
|
33859
|
+
*/
|
|
33860
|
+
public static encode(message: google.spanner.v1.ITablet, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
33762
33861
|
|
|
33763
|
-
|
|
33764
|
-
|
|
33765
|
-
|
|
33766
|
-
|
|
33767
|
-
|
|
33768
|
-
|
|
33862
|
+
/**
|
|
33863
|
+
* Encodes the specified Tablet message, length delimited. Does not implicitly {@link google.spanner.v1.Tablet.verify|verify} messages.
|
|
33864
|
+
* @param message Tablet message or plain object to encode
|
|
33865
|
+
* @param [writer] Writer to encode to
|
|
33866
|
+
* @returns Writer
|
|
33867
|
+
*/
|
|
33868
|
+
public static encodeDelimited(message: google.spanner.v1.ITablet, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
33769
33869
|
|
|
33770
|
-
|
|
33771
|
-
|
|
33772
|
-
|
|
33773
|
-
|
|
33774
|
-
|
|
33775
|
-
|
|
33776
|
-
|
|
33870
|
+
/**
|
|
33871
|
+
* Decodes a Tablet message from the specified reader or buffer.
|
|
33872
|
+
* @param reader Reader or buffer to decode from
|
|
33873
|
+
* @param [length] Message length if known beforehand
|
|
33874
|
+
* @returns Tablet
|
|
33875
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33876
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33877
|
+
*/
|
|
33878
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.Tablet;
|
|
33777
33879
|
|
|
33778
|
-
|
|
33779
|
-
|
|
33780
|
-
|
|
33781
|
-
|
|
33782
|
-
|
|
33783
|
-
|
|
33784
|
-
|
|
33880
|
+
/**
|
|
33881
|
+
* Decodes a Tablet message from the specified reader or buffer, length delimited.
|
|
33882
|
+
* @param reader Reader or buffer to decode from
|
|
33883
|
+
* @returns Tablet
|
|
33884
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33885
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33886
|
+
*/
|
|
33887
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.Tablet;
|
|
33785
33888
|
|
|
33786
|
-
|
|
33787
|
-
|
|
33788
|
-
|
|
33789
|
-
|
|
33790
|
-
|
|
33791
|
-
|
|
33792
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33793
|
-
*/
|
|
33794
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.TransactionOptions.PartitionedDml;
|
|
33889
|
+
/**
|
|
33890
|
+
* Verifies a Tablet message.
|
|
33891
|
+
* @param message Plain object to verify
|
|
33892
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
33893
|
+
*/
|
|
33894
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
33795
33895
|
|
|
33796
|
-
|
|
33797
|
-
|
|
33798
|
-
|
|
33799
|
-
|
|
33800
|
-
|
|
33801
|
-
|
|
33802
|
-
*/
|
|
33803
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.TransactionOptions.PartitionedDml;
|
|
33896
|
+
/**
|
|
33897
|
+
* Creates a Tablet message from a plain object. Also converts values to their respective internal types.
|
|
33898
|
+
* @param object Plain object
|
|
33899
|
+
* @returns Tablet
|
|
33900
|
+
*/
|
|
33901
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.Tablet;
|
|
33804
33902
|
|
|
33805
|
-
|
|
33806
|
-
|
|
33807
|
-
|
|
33808
|
-
|
|
33809
|
-
|
|
33810
|
-
|
|
33903
|
+
/**
|
|
33904
|
+
* Creates a plain object from a Tablet message. Also converts values to other types if specified.
|
|
33905
|
+
* @param message Tablet
|
|
33906
|
+
* @param [options] Conversion options
|
|
33907
|
+
* @returns Plain object
|
|
33908
|
+
*/
|
|
33909
|
+
public static toObject(message: google.spanner.v1.Tablet, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
33811
33910
|
|
|
33812
|
-
|
|
33813
|
-
|
|
33814
|
-
|
|
33815
|
-
|
|
33816
|
-
|
|
33817
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.v1.TransactionOptions.PartitionedDml;
|
|
33911
|
+
/**
|
|
33912
|
+
* Converts this Tablet to JSON.
|
|
33913
|
+
* @returns JSON object
|
|
33914
|
+
*/
|
|
33915
|
+
public toJSON(): { [k: string]: any };
|
|
33818
33916
|
|
|
33819
|
-
|
|
33820
|
-
|
|
33821
|
-
|
|
33822
|
-
|
|
33823
|
-
|
|
33824
|
-
|
|
33825
|
-
|
|
33917
|
+
/**
|
|
33918
|
+
* Gets the default type url for Tablet
|
|
33919
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
33920
|
+
* @returns The default type url
|
|
33921
|
+
*/
|
|
33922
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
33923
|
+
}
|
|
33826
33924
|
|
|
33827
|
-
|
|
33828
|
-
* Converts this PartitionedDml to JSON.
|
|
33829
|
-
* @returns JSON object
|
|
33830
|
-
*/
|
|
33831
|
-
public toJSON(): { [k: string]: any };
|
|
33925
|
+
namespace Tablet {
|
|
33832
33926
|
|
|
33833
|
-
|
|
33834
|
-
|
|
33835
|
-
|
|
33836
|
-
|
|
33837
|
-
|
|
33838
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
33927
|
+
/** Role enum. */
|
|
33928
|
+
enum Role {
|
|
33929
|
+
ROLE_UNSPECIFIED = 0,
|
|
33930
|
+
READ_WRITE = 1,
|
|
33931
|
+
READ_ONLY = 2
|
|
33839
33932
|
}
|
|
33933
|
+
}
|
|
33840
33934
|
|
|
33841
|
-
|
|
33842
|
-
|
|
33843
|
-
|
|
33844
|
-
/** ReadOnly strong */
|
|
33845
|
-
strong?: (boolean|null);
|
|
33846
|
-
|
|
33847
|
-
/** ReadOnly minReadTimestamp */
|
|
33848
|
-
minReadTimestamp?: (google.protobuf.ITimestamp|null);
|
|
33849
|
-
|
|
33850
|
-
/** ReadOnly maxStaleness */
|
|
33851
|
-
maxStaleness?: (google.protobuf.IDuration|null);
|
|
33852
|
-
|
|
33853
|
-
/** ReadOnly readTimestamp */
|
|
33854
|
-
readTimestamp?: (google.protobuf.ITimestamp|null);
|
|
33855
|
-
|
|
33856
|
-
/** ReadOnly exactStaleness */
|
|
33857
|
-
exactStaleness?: (google.protobuf.IDuration|null);
|
|
33858
|
-
|
|
33859
|
-
/** ReadOnly returnReadTimestamp */
|
|
33860
|
-
returnReadTimestamp?: (boolean|null);
|
|
33861
|
-
}
|
|
33935
|
+
/** Properties of a Group. */
|
|
33936
|
+
interface IGroup {
|
|
33862
33937
|
|
|
33863
|
-
/**
|
|
33864
|
-
|
|
33938
|
+
/** Group groupUid */
|
|
33939
|
+
groupUid?: (number|Long|string|null);
|
|
33865
33940
|
|
|
33866
|
-
|
|
33867
|
-
|
|
33868
|
-
* @param [properties] Properties to set
|
|
33869
|
-
*/
|
|
33870
|
-
constructor(properties?: google.spanner.v1.TransactionOptions.IReadOnly);
|
|
33941
|
+
/** Group tablets */
|
|
33942
|
+
tablets?: (google.spanner.v1.ITablet[]|null);
|
|
33871
33943
|
|
|
33872
|
-
|
|
33873
|
-
|
|
33944
|
+
/** Group leaderIndex */
|
|
33945
|
+
leaderIndex?: (number|null);
|
|
33874
33946
|
|
|
33875
|
-
|
|
33876
|
-
|
|
33947
|
+
/** Group generation */
|
|
33948
|
+
generation?: (Uint8Array|Buffer|string|null);
|
|
33949
|
+
}
|
|
33877
33950
|
|
|
33878
|
-
|
|
33879
|
-
|
|
33951
|
+
/** Represents a Group. */
|
|
33952
|
+
class Group implements IGroup {
|
|
33880
33953
|
|
|
33881
|
-
|
|
33882
|
-
|
|
33954
|
+
/**
|
|
33955
|
+
* Constructs a new Group.
|
|
33956
|
+
* @param [properties] Properties to set
|
|
33957
|
+
*/
|
|
33958
|
+
constructor(properties?: google.spanner.v1.IGroup);
|
|
33883
33959
|
|
|
33884
|
-
|
|
33885
|
-
|
|
33960
|
+
/** Group groupUid. */
|
|
33961
|
+
public groupUid: (number|Long|string);
|
|
33886
33962
|
|
|
33887
|
-
|
|
33888
|
-
|
|
33963
|
+
/** Group tablets. */
|
|
33964
|
+
public tablets: google.spanner.v1.ITablet[];
|
|
33889
33965
|
|
|
33890
|
-
|
|
33891
|
-
|
|
33966
|
+
/** Group leaderIndex. */
|
|
33967
|
+
public leaderIndex: number;
|
|
33892
33968
|
|
|
33893
|
-
|
|
33894
|
-
|
|
33895
|
-
* @param [properties] Properties to set
|
|
33896
|
-
* @returns ReadOnly instance
|
|
33897
|
-
*/
|
|
33898
|
-
public static create(properties?: google.spanner.v1.TransactionOptions.IReadOnly): google.spanner.v1.TransactionOptions.ReadOnly;
|
|
33969
|
+
/** Group generation. */
|
|
33970
|
+
public generation: (Uint8Array|Buffer|string);
|
|
33899
33971
|
|
|
33900
|
-
|
|
33901
|
-
|
|
33902
|
-
|
|
33903
|
-
|
|
33904
|
-
|
|
33905
|
-
|
|
33906
|
-
public static encode(message: google.spanner.v1.TransactionOptions.IReadOnly, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
33972
|
+
/**
|
|
33973
|
+
* Creates a new Group instance using the specified properties.
|
|
33974
|
+
* @param [properties] Properties to set
|
|
33975
|
+
* @returns Group instance
|
|
33976
|
+
*/
|
|
33977
|
+
public static create(properties?: google.spanner.v1.IGroup): google.spanner.v1.Group;
|
|
33907
33978
|
|
|
33908
|
-
|
|
33909
|
-
|
|
33910
|
-
|
|
33911
|
-
|
|
33912
|
-
|
|
33913
|
-
|
|
33914
|
-
|
|
33979
|
+
/**
|
|
33980
|
+
* Encodes the specified Group message. Does not implicitly {@link google.spanner.v1.Group.verify|verify} messages.
|
|
33981
|
+
* @param message Group message or plain object to encode
|
|
33982
|
+
* @param [writer] Writer to encode to
|
|
33983
|
+
* @returns Writer
|
|
33984
|
+
*/
|
|
33985
|
+
public static encode(message: google.spanner.v1.IGroup, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
33915
33986
|
|
|
33916
|
-
|
|
33917
|
-
|
|
33918
|
-
|
|
33919
|
-
|
|
33920
|
-
|
|
33921
|
-
|
|
33922
|
-
|
|
33923
|
-
*/
|
|
33924
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.TransactionOptions.ReadOnly;
|
|
33987
|
+
/**
|
|
33988
|
+
* Encodes the specified Group message, length delimited. Does not implicitly {@link google.spanner.v1.Group.verify|verify} messages.
|
|
33989
|
+
* @param message Group message or plain object to encode
|
|
33990
|
+
* @param [writer] Writer to encode to
|
|
33991
|
+
* @returns Writer
|
|
33992
|
+
*/
|
|
33993
|
+
public static encodeDelimited(message: google.spanner.v1.IGroup, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
33925
33994
|
|
|
33926
|
-
|
|
33927
|
-
|
|
33928
|
-
|
|
33929
|
-
|
|
33930
|
-
|
|
33931
|
-
|
|
33932
|
-
|
|
33933
|
-
|
|
33995
|
+
/**
|
|
33996
|
+
* Decodes a Group message from the specified reader or buffer.
|
|
33997
|
+
* @param reader Reader or buffer to decode from
|
|
33998
|
+
* @param [length] Message length if known beforehand
|
|
33999
|
+
* @returns Group
|
|
34000
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34001
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34002
|
+
*/
|
|
34003
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.Group;
|
|
33934
34004
|
|
|
33935
|
-
|
|
33936
|
-
|
|
33937
|
-
|
|
33938
|
-
|
|
33939
|
-
|
|
33940
|
-
|
|
34005
|
+
/**
|
|
34006
|
+
* Decodes a Group message from the specified reader or buffer, length delimited.
|
|
34007
|
+
* @param reader Reader or buffer to decode from
|
|
34008
|
+
* @returns Group
|
|
34009
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34010
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34011
|
+
*/
|
|
34012
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.Group;
|
|
33941
34013
|
|
|
33942
|
-
|
|
33943
|
-
|
|
33944
|
-
|
|
33945
|
-
|
|
33946
|
-
|
|
33947
|
-
|
|
34014
|
+
/**
|
|
34015
|
+
* Verifies a Group message.
|
|
34016
|
+
* @param message Plain object to verify
|
|
34017
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
34018
|
+
*/
|
|
34019
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
33948
34020
|
|
|
33949
|
-
|
|
33950
|
-
|
|
33951
|
-
|
|
33952
|
-
|
|
33953
|
-
|
|
33954
|
-
|
|
33955
|
-
public static toObject(message: google.spanner.v1.TransactionOptions.ReadOnly, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
34021
|
+
/**
|
|
34022
|
+
* Creates a Group message from a plain object. Also converts values to their respective internal types.
|
|
34023
|
+
* @param object Plain object
|
|
34024
|
+
* @returns Group
|
|
34025
|
+
*/
|
|
34026
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.Group;
|
|
33956
34027
|
|
|
33957
|
-
|
|
33958
|
-
|
|
33959
|
-
|
|
33960
|
-
|
|
33961
|
-
|
|
34028
|
+
/**
|
|
34029
|
+
* Creates a plain object from a Group message. Also converts values to other types if specified.
|
|
34030
|
+
* @param message Group
|
|
34031
|
+
* @param [options] Conversion options
|
|
34032
|
+
* @returns Plain object
|
|
34033
|
+
*/
|
|
34034
|
+
public static toObject(message: google.spanner.v1.Group, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
33962
34035
|
|
|
33963
|
-
|
|
33964
|
-
|
|
33965
|
-
|
|
33966
|
-
|
|
33967
|
-
|
|
33968
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
33969
|
-
}
|
|
34036
|
+
/**
|
|
34037
|
+
* Converts this Group to JSON.
|
|
34038
|
+
* @returns JSON object
|
|
34039
|
+
*/
|
|
34040
|
+
public toJSON(): { [k: string]: any };
|
|
33970
34041
|
|
|
33971
|
-
/**
|
|
33972
|
-
|
|
33973
|
-
|
|
33974
|
-
|
|
33975
|
-
|
|
33976
|
-
|
|
34042
|
+
/**
|
|
34043
|
+
* Gets the default type url for Group
|
|
34044
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
34045
|
+
* @returns The default type url
|
|
34046
|
+
*/
|
|
34047
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
33977
34048
|
}
|
|
33978
34049
|
|
|
33979
|
-
/** Properties of a
|
|
33980
|
-
interface
|
|
34050
|
+
/** Properties of a KeyRecipe. */
|
|
34051
|
+
interface IKeyRecipe {
|
|
33981
34052
|
|
|
33982
|
-
/**
|
|
33983
|
-
|
|
34053
|
+
/** KeyRecipe tableName */
|
|
34054
|
+
tableName?: (string|null);
|
|
33984
34055
|
|
|
33985
|
-
/**
|
|
33986
|
-
|
|
34056
|
+
/** KeyRecipe indexName */
|
|
34057
|
+
indexName?: (string|null);
|
|
33987
34058
|
|
|
33988
|
-
/**
|
|
33989
|
-
|
|
34059
|
+
/** KeyRecipe operationUid */
|
|
34060
|
+
operationUid?: (number|Long|string|null);
|
|
34061
|
+
|
|
34062
|
+
/** KeyRecipe part */
|
|
34063
|
+
part?: (google.spanner.v1.KeyRecipe.IPart[]|null);
|
|
33990
34064
|
}
|
|
33991
34065
|
|
|
33992
|
-
/** Represents a
|
|
33993
|
-
class
|
|
34066
|
+
/** Represents a KeyRecipe. */
|
|
34067
|
+
class KeyRecipe implements IKeyRecipe {
|
|
33994
34068
|
|
|
33995
34069
|
/**
|
|
33996
|
-
* Constructs a new
|
|
34070
|
+
* Constructs a new KeyRecipe.
|
|
33997
34071
|
* @param [properties] Properties to set
|
|
33998
34072
|
*/
|
|
33999
|
-
constructor(properties?: google.spanner.v1.
|
|
34073
|
+
constructor(properties?: google.spanner.v1.IKeyRecipe);
|
|
34000
34074
|
|
|
34001
|
-
/**
|
|
34002
|
-
public
|
|
34075
|
+
/** KeyRecipe tableName. */
|
|
34076
|
+
public tableName?: (string|null);
|
|
34003
34077
|
|
|
34004
|
-
/**
|
|
34005
|
-
public
|
|
34078
|
+
/** KeyRecipe indexName. */
|
|
34079
|
+
public indexName?: (string|null);
|
|
34006
34080
|
|
|
34007
|
-
/**
|
|
34008
|
-
public
|
|
34081
|
+
/** KeyRecipe operationUid. */
|
|
34082
|
+
public operationUid?: (number|Long|string|null);
|
|
34083
|
+
|
|
34084
|
+
/** KeyRecipe part. */
|
|
34085
|
+
public part: google.spanner.v1.KeyRecipe.IPart[];
|
|
34086
|
+
|
|
34087
|
+
/** KeyRecipe target. */
|
|
34088
|
+
public target?: ("tableName"|"indexName"|"operationUid");
|
|
34009
34089
|
|
|
34010
34090
|
/**
|
|
34011
|
-
* Creates a new
|
|
34091
|
+
* Creates a new KeyRecipe instance using the specified properties.
|
|
34012
34092
|
* @param [properties] Properties to set
|
|
34013
|
-
* @returns
|
|
34093
|
+
* @returns KeyRecipe instance
|
|
34014
34094
|
*/
|
|
34015
|
-
public static create(properties?: google.spanner.v1.
|
|
34095
|
+
public static create(properties?: google.spanner.v1.IKeyRecipe): google.spanner.v1.KeyRecipe;
|
|
34016
34096
|
|
|
34017
34097
|
/**
|
|
34018
|
-
* Encodes the specified
|
|
34019
|
-
* @param message
|
|
34098
|
+
* Encodes the specified KeyRecipe message. Does not implicitly {@link google.spanner.v1.KeyRecipe.verify|verify} messages.
|
|
34099
|
+
* @param message KeyRecipe message or plain object to encode
|
|
34020
34100
|
* @param [writer] Writer to encode to
|
|
34021
34101
|
* @returns Writer
|
|
34022
34102
|
*/
|
|
34023
|
-
public static encode(message: google.spanner.v1.
|
|
34103
|
+
public static encode(message: google.spanner.v1.IKeyRecipe, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
34024
34104
|
|
|
34025
34105
|
/**
|
|
34026
|
-
* Encodes the specified
|
|
34027
|
-
* @param message
|
|
34106
|
+
* Encodes the specified KeyRecipe message, length delimited. Does not implicitly {@link google.spanner.v1.KeyRecipe.verify|verify} messages.
|
|
34107
|
+
* @param message KeyRecipe message or plain object to encode
|
|
34028
34108
|
* @param [writer] Writer to encode to
|
|
34029
34109
|
* @returns Writer
|
|
34030
34110
|
*/
|
|
34031
|
-
public static encodeDelimited(message: google.spanner.v1.
|
|
34111
|
+
public static encodeDelimited(message: google.spanner.v1.IKeyRecipe, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
34032
34112
|
|
|
34033
34113
|
/**
|
|
34034
|
-
* Decodes a
|
|
34114
|
+
* Decodes a KeyRecipe message from the specified reader or buffer.
|
|
34035
34115
|
* @param reader Reader or buffer to decode from
|
|
34036
34116
|
* @param [length] Message length if known beforehand
|
|
34037
|
-
* @returns
|
|
34117
|
+
* @returns KeyRecipe
|
|
34038
34118
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34039
34119
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34040
34120
|
*/
|
|
34041
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.
|
|
34121
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.KeyRecipe;
|
|
34042
34122
|
|
|
34043
34123
|
/**
|
|
34044
|
-
* Decodes a
|
|
34124
|
+
* Decodes a KeyRecipe message from the specified reader or buffer, length delimited.
|
|
34045
34125
|
* @param reader Reader or buffer to decode from
|
|
34046
|
-
* @returns
|
|
34126
|
+
* @returns KeyRecipe
|
|
34047
34127
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34048
34128
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34049
34129
|
*/
|
|
34050
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.
|
|
34130
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.KeyRecipe;
|
|
34051
34131
|
|
|
34052
34132
|
/**
|
|
34053
|
-
* Verifies a
|
|
34133
|
+
* Verifies a KeyRecipe message.
|
|
34054
34134
|
* @param message Plain object to verify
|
|
34055
34135
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
34056
34136
|
*/
|
|
34057
34137
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
34058
34138
|
|
|
34059
34139
|
/**
|
|
34060
|
-
* Creates a
|
|
34140
|
+
* Creates a KeyRecipe message from a plain object. Also converts values to their respective internal types.
|
|
34061
34141
|
* @param object Plain object
|
|
34062
|
-
* @returns
|
|
34142
|
+
* @returns KeyRecipe
|
|
34063
34143
|
*/
|
|
34064
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.v1.
|
|
34144
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.KeyRecipe;
|
|
34065
34145
|
|
|
34066
34146
|
/**
|
|
34067
|
-
* Creates a plain object from a
|
|
34068
|
-
* @param message
|
|
34147
|
+
* Creates a plain object from a KeyRecipe message. Also converts values to other types if specified.
|
|
34148
|
+
* @param message KeyRecipe
|
|
34069
34149
|
* @param [options] Conversion options
|
|
34070
34150
|
* @returns Plain object
|
|
34071
34151
|
*/
|
|
34072
|
-
public static toObject(message: google.spanner.v1.
|
|
34152
|
+
public static toObject(message: google.spanner.v1.KeyRecipe, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
34073
34153
|
|
|
34074
34154
|
/**
|
|
34075
|
-
* Converts this
|
|
34155
|
+
* Converts this KeyRecipe to JSON.
|
|
34076
34156
|
* @returns JSON object
|
|
34077
34157
|
*/
|
|
34078
34158
|
public toJSON(): { [k: string]: any };
|
|
34079
34159
|
|
|
34080
34160
|
/**
|
|
34081
|
-
* Gets the default type url for
|
|
34161
|
+
* Gets the default type url for KeyRecipe
|
|
34082
34162
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
34083
34163
|
* @returns The default type url
|
|
34084
34164
|
*/
|
|
34085
34165
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
34086
34166
|
}
|
|
34087
34167
|
|
|
34088
|
-
|
|
34089
|
-
interface ITransactionSelector {
|
|
34168
|
+
namespace KeyRecipe {
|
|
34090
34169
|
|
|
34091
|
-
/**
|
|
34092
|
-
|
|
34170
|
+
/** Properties of a Part. */
|
|
34171
|
+
interface IPart {
|
|
34093
34172
|
|
|
34094
|
-
|
|
34095
|
-
|
|
34173
|
+
/** Part tag */
|
|
34174
|
+
tag?: (number|null);
|
|
34096
34175
|
|
|
34097
|
-
|
|
34098
|
-
|
|
34099
|
-
}
|
|
34176
|
+
/** Part order */
|
|
34177
|
+
order?: (google.spanner.v1.KeyRecipe.Part.Order|keyof typeof google.spanner.v1.KeyRecipe.Part.Order|null);
|
|
34100
34178
|
|
|
34101
|
-
|
|
34102
|
-
|
|
34179
|
+
/** Part nullOrder */
|
|
34180
|
+
nullOrder?: (google.spanner.v1.KeyRecipe.Part.NullOrder|keyof typeof google.spanner.v1.KeyRecipe.Part.NullOrder|null);
|
|
34103
34181
|
|
|
34104
|
-
|
|
34105
|
-
|
|
34106
|
-
* @param [properties] Properties to set
|
|
34107
|
-
*/
|
|
34108
|
-
constructor(properties?: google.spanner.v1.ITransactionSelector);
|
|
34182
|
+
/** Part type */
|
|
34183
|
+
type?: (google.spanner.v1.IType|null);
|
|
34109
34184
|
|
|
34110
|
-
|
|
34111
|
-
|
|
34185
|
+
/** Part identifier */
|
|
34186
|
+
identifier?: (string|null);
|
|
34112
34187
|
|
|
34113
|
-
|
|
34114
|
-
|
|
34188
|
+
/** Part value */
|
|
34189
|
+
value?: (google.protobuf.IValue|null);
|
|
34115
34190
|
|
|
34116
|
-
|
|
34117
|
-
|
|
34191
|
+
/** Part random */
|
|
34192
|
+
random?: (boolean|null);
|
|
34118
34193
|
|
|
34119
|
-
|
|
34120
|
-
|
|
34194
|
+
/** Part structIdentifiers */
|
|
34195
|
+
structIdentifiers?: (number[]|null);
|
|
34196
|
+
}
|
|
34121
34197
|
|
|
34122
|
-
/**
|
|
34123
|
-
|
|
34124
|
-
* @param [properties] Properties to set
|
|
34125
|
-
* @returns TransactionSelector instance
|
|
34126
|
-
*/
|
|
34127
|
-
public static create(properties?: google.spanner.v1.ITransactionSelector): google.spanner.v1.TransactionSelector;
|
|
34198
|
+
/** Represents a Part. */
|
|
34199
|
+
class Part implements IPart {
|
|
34128
34200
|
|
|
34129
|
-
|
|
34130
|
-
|
|
34131
|
-
|
|
34132
|
-
|
|
34133
|
-
|
|
34134
|
-
*/
|
|
34135
|
-
public static encode(message: google.spanner.v1.ITransactionSelector, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
34201
|
+
/**
|
|
34202
|
+
* Constructs a new Part.
|
|
34203
|
+
* @param [properties] Properties to set
|
|
34204
|
+
*/
|
|
34205
|
+
constructor(properties?: google.spanner.v1.KeyRecipe.IPart);
|
|
34136
34206
|
|
|
34137
|
-
|
|
34138
|
-
|
|
34139
|
-
* @param message TransactionSelector message or plain object to encode
|
|
34140
|
-
* @param [writer] Writer to encode to
|
|
34141
|
-
* @returns Writer
|
|
34142
|
-
*/
|
|
34143
|
-
public static encodeDelimited(message: google.spanner.v1.ITransactionSelector, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
34207
|
+
/** Part tag. */
|
|
34208
|
+
public tag: number;
|
|
34144
34209
|
|
|
34145
|
-
|
|
34146
|
-
|
|
34147
|
-
* @param reader Reader or buffer to decode from
|
|
34148
|
-
* @param [length] Message length if known beforehand
|
|
34149
|
-
* @returns TransactionSelector
|
|
34150
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34151
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34152
|
-
*/
|
|
34153
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.TransactionSelector;
|
|
34210
|
+
/** Part order. */
|
|
34211
|
+
public order: (google.spanner.v1.KeyRecipe.Part.Order|keyof typeof google.spanner.v1.KeyRecipe.Part.Order);
|
|
34154
34212
|
|
|
34155
|
-
|
|
34156
|
-
|
|
34157
|
-
* @param reader Reader or buffer to decode from
|
|
34158
|
-
* @returns TransactionSelector
|
|
34159
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34160
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34161
|
-
*/
|
|
34162
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.TransactionSelector;
|
|
34213
|
+
/** Part nullOrder. */
|
|
34214
|
+
public nullOrder: (google.spanner.v1.KeyRecipe.Part.NullOrder|keyof typeof google.spanner.v1.KeyRecipe.Part.NullOrder);
|
|
34163
34215
|
|
|
34164
|
-
|
|
34165
|
-
|
|
34166
|
-
* @param message Plain object to verify
|
|
34167
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
34168
|
-
*/
|
|
34169
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
34216
|
+
/** Part type. */
|
|
34217
|
+
public type?: (google.spanner.v1.IType|null);
|
|
34170
34218
|
|
|
34171
|
-
|
|
34172
|
-
|
|
34173
|
-
* @param object Plain object
|
|
34174
|
-
* @returns TransactionSelector
|
|
34175
|
-
*/
|
|
34176
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.v1.TransactionSelector;
|
|
34219
|
+
/** Part identifier. */
|
|
34220
|
+
public identifier?: (string|null);
|
|
34177
34221
|
|
|
34178
|
-
|
|
34179
|
-
|
|
34180
|
-
|
|
34181
|
-
|
|
34182
|
-
|
|
34183
|
-
|
|
34184
|
-
|
|
34222
|
+
/** Part value. */
|
|
34223
|
+
public value?: (google.protobuf.IValue|null);
|
|
34224
|
+
|
|
34225
|
+
/** Part random. */
|
|
34226
|
+
public random?: (boolean|null);
|
|
34227
|
+
|
|
34228
|
+
/** Part structIdentifiers. */
|
|
34229
|
+
public structIdentifiers: number[];
|
|
34230
|
+
|
|
34231
|
+
/** Part valueType. */
|
|
34232
|
+
public valueType?: ("identifier"|"value"|"random");
|
|
34233
|
+
|
|
34234
|
+
/**
|
|
34235
|
+
* Creates a new Part instance using the specified properties.
|
|
34236
|
+
* @param [properties] Properties to set
|
|
34237
|
+
* @returns Part instance
|
|
34238
|
+
*/
|
|
34239
|
+
public static create(properties?: google.spanner.v1.KeyRecipe.IPart): google.spanner.v1.KeyRecipe.Part;
|
|
34240
|
+
|
|
34241
|
+
/**
|
|
34242
|
+
* Encodes the specified Part message. Does not implicitly {@link google.spanner.v1.KeyRecipe.Part.verify|verify} messages.
|
|
34243
|
+
* @param message Part message or plain object to encode
|
|
34244
|
+
* @param [writer] Writer to encode to
|
|
34245
|
+
* @returns Writer
|
|
34246
|
+
*/
|
|
34247
|
+
public static encode(message: google.spanner.v1.KeyRecipe.IPart, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
34248
|
+
|
|
34249
|
+
/**
|
|
34250
|
+
* Encodes the specified Part message, length delimited. Does not implicitly {@link google.spanner.v1.KeyRecipe.Part.verify|verify} messages.
|
|
34251
|
+
* @param message Part message or plain object to encode
|
|
34252
|
+
* @param [writer] Writer to encode to
|
|
34253
|
+
* @returns Writer
|
|
34254
|
+
*/
|
|
34255
|
+
public static encodeDelimited(message: google.spanner.v1.KeyRecipe.IPart, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
34256
|
+
|
|
34257
|
+
/**
|
|
34258
|
+
* Decodes a Part message from the specified reader or buffer.
|
|
34259
|
+
* @param reader Reader or buffer to decode from
|
|
34260
|
+
* @param [length] Message length if known beforehand
|
|
34261
|
+
* @returns Part
|
|
34262
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34263
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34264
|
+
*/
|
|
34265
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.KeyRecipe.Part;
|
|
34266
|
+
|
|
34267
|
+
/**
|
|
34268
|
+
* Decodes a Part message from the specified reader or buffer, length delimited.
|
|
34269
|
+
* @param reader Reader or buffer to decode from
|
|
34270
|
+
* @returns Part
|
|
34271
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34272
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34273
|
+
*/
|
|
34274
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.KeyRecipe.Part;
|
|
34275
|
+
|
|
34276
|
+
/**
|
|
34277
|
+
* Verifies a Part message.
|
|
34278
|
+
* @param message Plain object to verify
|
|
34279
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
34280
|
+
*/
|
|
34281
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
34282
|
+
|
|
34283
|
+
/**
|
|
34284
|
+
* Creates a Part message from a plain object. Also converts values to their respective internal types.
|
|
34285
|
+
* @param object Plain object
|
|
34286
|
+
* @returns Part
|
|
34287
|
+
*/
|
|
34288
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.KeyRecipe.Part;
|
|
34289
|
+
|
|
34290
|
+
/**
|
|
34291
|
+
* Creates a plain object from a Part message. Also converts values to other types if specified.
|
|
34292
|
+
* @param message Part
|
|
34293
|
+
* @param [options] Conversion options
|
|
34294
|
+
* @returns Plain object
|
|
34295
|
+
*/
|
|
34296
|
+
public static toObject(message: google.spanner.v1.KeyRecipe.Part, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
34297
|
+
|
|
34298
|
+
/**
|
|
34299
|
+
* Converts this Part to JSON.
|
|
34300
|
+
* @returns JSON object
|
|
34301
|
+
*/
|
|
34302
|
+
public toJSON(): { [k: string]: any };
|
|
34303
|
+
|
|
34304
|
+
/**
|
|
34305
|
+
* Gets the default type url for Part
|
|
34306
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
34307
|
+
* @returns The default type url
|
|
34308
|
+
*/
|
|
34309
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
34310
|
+
}
|
|
34311
|
+
|
|
34312
|
+
namespace Part {
|
|
34185
34313
|
|
|
34186
|
-
|
|
34187
|
-
|
|
34188
|
-
|
|
34189
|
-
|
|
34190
|
-
|
|
34314
|
+
/** Order enum. */
|
|
34315
|
+
enum Order {
|
|
34316
|
+
ORDER_UNSPECIFIED = 0,
|
|
34317
|
+
ASCENDING = 1,
|
|
34318
|
+
DESCENDING = 2
|
|
34319
|
+
}
|
|
34191
34320
|
|
|
34192
|
-
|
|
34193
|
-
|
|
34194
|
-
|
|
34195
|
-
|
|
34196
|
-
|
|
34197
|
-
|
|
34321
|
+
/** NullOrder enum. */
|
|
34322
|
+
enum NullOrder {
|
|
34323
|
+
NULL_ORDER_UNSPECIFIED = 0,
|
|
34324
|
+
NULLS_FIRST = 1,
|
|
34325
|
+
NULLS_LAST = 2,
|
|
34326
|
+
NOT_NULL = 3
|
|
34327
|
+
}
|
|
34328
|
+
}
|
|
34198
34329
|
}
|
|
34199
34330
|
|
|
34200
|
-
/** Properties of a
|
|
34201
|
-
interface
|
|
34331
|
+
/** Properties of a RecipeList. */
|
|
34332
|
+
interface IRecipeList {
|
|
34202
34333
|
|
|
34203
|
-
/**
|
|
34204
|
-
|
|
34334
|
+
/** RecipeList schemaGeneration */
|
|
34335
|
+
schemaGeneration?: (Uint8Array|Buffer|string|null);
|
|
34205
34336
|
|
|
34206
|
-
/**
|
|
34207
|
-
|
|
34337
|
+
/** RecipeList recipe */
|
|
34338
|
+
recipe?: (google.spanner.v1.IKeyRecipe[]|null);
|
|
34208
34339
|
}
|
|
34209
34340
|
|
|
34210
|
-
/** Represents a
|
|
34211
|
-
class
|
|
34341
|
+
/** Represents a RecipeList. */
|
|
34342
|
+
class RecipeList implements IRecipeList {
|
|
34212
34343
|
|
|
34213
34344
|
/**
|
|
34214
|
-
* Constructs a new
|
|
34345
|
+
* Constructs a new RecipeList.
|
|
34215
34346
|
* @param [properties] Properties to set
|
|
34216
34347
|
*/
|
|
34217
|
-
constructor(properties?: google.spanner.v1.
|
|
34348
|
+
constructor(properties?: google.spanner.v1.IRecipeList);
|
|
34218
34349
|
|
|
34219
|
-
/**
|
|
34220
|
-
public
|
|
34350
|
+
/** RecipeList schemaGeneration. */
|
|
34351
|
+
public schemaGeneration: (Uint8Array|Buffer|string);
|
|
34221
34352
|
|
|
34222
|
-
/**
|
|
34223
|
-
public
|
|
34353
|
+
/** RecipeList recipe. */
|
|
34354
|
+
public recipe: google.spanner.v1.IKeyRecipe[];
|
|
34224
34355
|
|
|
34225
34356
|
/**
|
|
34226
|
-
* Creates a new
|
|
34357
|
+
* Creates a new RecipeList instance using the specified properties.
|
|
34227
34358
|
* @param [properties] Properties to set
|
|
34228
|
-
* @returns
|
|
34359
|
+
* @returns RecipeList instance
|
|
34229
34360
|
*/
|
|
34230
|
-
public static create(properties?: google.spanner.v1.
|
|
34361
|
+
public static create(properties?: google.spanner.v1.IRecipeList): google.spanner.v1.RecipeList;
|
|
34231
34362
|
|
|
34232
34363
|
/**
|
|
34233
|
-
* Encodes the specified
|
|
34234
|
-
* @param message
|
|
34364
|
+
* Encodes the specified RecipeList message. Does not implicitly {@link google.spanner.v1.RecipeList.verify|verify} messages.
|
|
34365
|
+
* @param message RecipeList message or plain object to encode
|
|
34235
34366
|
* @param [writer] Writer to encode to
|
|
34236
34367
|
* @returns Writer
|
|
34237
34368
|
*/
|
|
34238
|
-
public static encode(message: google.spanner.v1.
|
|
34369
|
+
public static encode(message: google.spanner.v1.IRecipeList, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
34239
34370
|
|
|
34240
34371
|
/**
|
|
34241
|
-
* Encodes the specified
|
|
34242
|
-
* @param message
|
|
34372
|
+
* Encodes the specified RecipeList message, length delimited. Does not implicitly {@link google.spanner.v1.RecipeList.verify|verify} messages.
|
|
34373
|
+
* @param message RecipeList message or plain object to encode
|
|
34243
34374
|
* @param [writer] Writer to encode to
|
|
34244
34375
|
* @returns Writer
|
|
34245
34376
|
*/
|
|
34246
|
-
public static encodeDelimited(message: google.spanner.v1.
|
|
34377
|
+
public static encodeDelimited(message: google.spanner.v1.IRecipeList, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
34247
34378
|
|
|
34248
34379
|
/**
|
|
34249
|
-
* Decodes a
|
|
34380
|
+
* Decodes a RecipeList message from the specified reader or buffer.
|
|
34250
34381
|
* @param reader Reader or buffer to decode from
|
|
34251
34382
|
* @param [length] Message length if known beforehand
|
|
34252
|
-
* @returns
|
|
34383
|
+
* @returns RecipeList
|
|
34253
34384
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34254
34385
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34255
34386
|
*/
|
|
34256
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.
|
|
34387
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.RecipeList;
|
|
34257
34388
|
|
|
34258
34389
|
/**
|
|
34259
|
-
* Decodes a
|
|
34390
|
+
* Decodes a RecipeList message from the specified reader or buffer, length delimited.
|
|
34260
34391
|
* @param reader Reader or buffer to decode from
|
|
34261
|
-
* @returns
|
|
34392
|
+
* @returns RecipeList
|
|
34262
34393
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34263
34394
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34264
34395
|
*/
|
|
34265
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.
|
|
34396
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.RecipeList;
|
|
34266
34397
|
|
|
34267
34398
|
/**
|
|
34268
|
-
* Verifies a
|
|
34399
|
+
* Verifies a RecipeList message.
|
|
34269
34400
|
* @param message Plain object to verify
|
|
34270
34401
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
34271
34402
|
*/
|
|
34272
34403
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
34273
34404
|
|
|
34274
34405
|
/**
|
|
34275
|
-
* Creates a
|
|
34406
|
+
* Creates a RecipeList message from a plain object. Also converts values to their respective internal types.
|
|
34276
34407
|
* @param object Plain object
|
|
34277
|
-
* @returns
|
|
34408
|
+
* @returns RecipeList
|
|
34278
34409
|
*/
|
|
34279
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.v1.
|
|
34410
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.RecipeList;
|
|
34280
34411
|
|
|
34281
34412
|
/**
|
|
34282
|
-
* Creates a plain object from a
|
|
34283
|
-
* @param message
|
|
34413
|
+
* Creates a plain object from a RecipeList message. Also converts values to other types if specified.
|
|
34414
|
+
* @param message RecipeList
|
|
34284
34415
|
* @param [options] Conversion options
|
|
34285
34416
|
* @returns Plain object
|
|
34286
34417
|
*/
|
|
34287
|
-
public static toObject(message: google.spanner.v1.
|
|
34418
|
+
public static toObject(message: google.spanner.v1.RecipeList, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
34288
34419
|
|
|
34289
34420
|
/**
|
|
34290
|
-
* Converts this
|
|
34421
|
+
* Converts this RecipeList to JSON.
|
|
34291
34422
|
* @returns JSON object
|
|
34292
34423
|
*/
|
|
34293
34424
|
public toJSON(): { [k: string]: any };
|
|
34294
34425
|
|
|
34295
34426
|
/**
|
|
34296
|
-
* Gets the default type url for
|
|
34427
|
+
* Gets the default type url for RecipeList
|
|
34297
34428
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
34298
34429
|
* @returns The default type url
|
|
34299
34430
|
*/
|
|
34300
34431
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
34301
34432
|
}
|
|
34302
34433
|
|
|
34303
|
-
/** Properties of a
|
|
34304
|
-
interface
|
|
34434
|
+
/** Properties of a CacheUpdate. */
|
|
34435
|
+
interface ICacheUpdate {
|
|
34305
34436
|
|
|
34306
|
-
/**
|
|
34307
|
-
|
|
34437
|
+
/** CacheUpdate databaseId */
|
|
34438
|
+
databaseId?: (number|Long|string|null);
|
|
34308
34439
|
|
|
34309
|
-
/**
|
|
34310
|
-
|
|
34440
|
+
/** CacheUpdate range */
|
|
34441
|
+
range?: (google.spanner.v1.IRange[]|null);
|
|
34311
34442
|
|
|
34312
|
-
/**
|
|
34313
|
-
|
|
34443
|
+
/** CacheUpdate group */
|
|
34444
|
+
group?: (google.spanner.v1.IGroup[]|null);
|
|
34314
34445
|
|
|
34315
|
-
/**
|
|
34316
|
-
|
|
34446
|
+
/** CacheUpdate keyRecipes */
|
|
34447
|
+
keyRecipes?: (google.spanner.v1.IRecipeList|null);
|
|
34317
34448
|
}
|
|
34318
34449
|
|
|
34319
|
-
/** Represents a
|
|
34320
|
-
class
|
|
34450
|
+
/** Represents a CacheUpdate. */
|
|
34451
|
+
class CacheUpdate implements ICacheUpdate {
|
|
34321
34452
|
|
|
34322
34453
|
/**
|
|
34323
|
-
* Constructs a new
|
|
34454
|
+
* Constructs a new CacheUpdate.
|
|
34324
34455
|
* @param [properties] Properties to set
|
|
34325
34456
|
*/
|
|
34326
|
-
constructor(properties?: google.spanner.v1.
|
|
34327
|
-
|
|
34328
|
-
/** KeyRange startClosed. */
|
|
34329
|
-
public startClosed?: (google.protobuf.IListValue|null);
|
|
34330
|
-
|
|
34331
|
-
/** KeyRange startOpen. */
|
|
34332
|
-
public startOpen?: (google.protobuf.IListValue|null);
|
|
34457
|
+
constructor(properties?: google.spanner.v1.ICacheUpdate);
|
|
34333
34458
|
|
|
34334
|
-
/**
|
|
34335
|
-
public
|
|
34459
|
+
/** CacheUpdate databaseId. */
|
|
34460
|
+
public databaseId: (number|Long|string);
|
|
34336
34461
|
|
|
34337
|
-
/**
|
|
34338
|
-
public
|
|
34462
|
+
/** CacheUpdate range. */
|
|
34463
|
+
public range: google.spanner.v1.IRange[];
|
|
34339
34464
|
|
|
34340
|
-
/**
|
|
34341
|
-
public
|
|
34465
|
+
/** CacheUpdate group. */
|
|
34466
|
+
public group: google.spanner.v1.IGroup[];
|
|
34342
34467
|
|
|
34343
|
-
/**
|
|
34344
|
-
public
|
|
34468
|
+
/** CacheUpdate keyRecipes. */
|
|
34469
|
+
public keyRecipes?: (google.spanner.v1.IRecipeList|null);
|
|
34345
34470
|
|
|
34346
34471
|
/**
|
|
34347
|
-
* Creates a new
|
|
34472
|
+
* Creates a new CacheUpdate instance using the specified properties.
|
|
34348
34473
|
* @param [properties] Properties to set
|
|
34349
|
-
* @returns
|
|
34474
|
+
* @returns CacheUpdate instance
|
|
34350
34475
|
*/
|
|
34351
|
-
public static create(properties?: google.spanner.v1.
|
|
34476
|
+
public static create(properties?: google.spanner.v1.ICacheUpdate): google.spanner.v1.CacheUpdate;
|
|
34352
34477
|
|
|
34353
34478
|
/**
|
|
34354
|
-
* Encodes the specified
|
|
34355
|
-
* @param message
|
|
34479
|
+
* Encodes the specified CacheUpdate message. Does not implicitly {@link google.spanner.v1.CacheUpdate.verify|verify} messages.
|
|
34480
|
+
* @param message CacheUpdate message or plain object to encode
|
|
34356
34481
|
* @param [writer] Writer to encode to
|
|
34357
34482
|
* @returns Writer
|
|
34358
34483
|
*/
|
|
34359
|
-
public static encode(message: google.spanner.v1.
|
|
34484
|
+
public static encode(message: google.spanner.v1.ICacheUpdate, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
34360
34485
|
|
|
34361
34486
|
/**
|
|
34362
|
-
* Encodes the specified
|
|
34363
|
-
* @param message
|
|
34487
|
+
* Encodes the specified CacheUpdate message, length delimited. Does not implicitly {@link google.spanner.v1.CacheUpdate.verify|verify} messages.
|
|
34488
|
+
* @param message CacheUpdate message or plain object to encode
|
|
34364
34489
|
* @param [writer] Writer to encode to
|
|
34365
34490
|
* @returns Writer
|
|
34366
34491
|
*/
|
|
34367
|
-
public static encodeDelimited(message: google.spanner.v1.
|
|
34492
|
+
public static encodeDelimited(message: google.spanner.v1.ICacheUpdate, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
34368
34493
|
|
|
34369
34494
|
/**
|
|
34370
|
-
* Decodes a
|
|
34495
|
+
* Decodes a CacheUpdate message from the specified reader or buffer.
|
|
34371
34496
|
* @param reader Reader or buffer to decode from
|
|
34372
34497
|
* @param [length] Message length if known beforehand
|
|
34373
|
-
* @returns
|
|
34498
|
+
* @returns CacheUpdate
|
|
34374
34499
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34375
34500
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34376
34501
|
*/
|
|
34377
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.
|
|
34502
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.CacheUpdate;
|
|
34378
34503
|
|
|
34379
34504
|
/**
|
|
34380
|
-
* Decodes a
|
|
34505
|
+
* Decodes a CacheUpdate message from the specified reader or buffer, length delimited.
|
|
34381
34506
|
* @param reader Reader or buffer to decode from
|
|
34382
|
-
* @returns
|
|
34507
|
+
* @returns CacheUpdate
|
|
34383
34508
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34384
34509
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34385
34510
|
*/
|
|
34386
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.
|
|
34511
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.CacheUpdate;
|
|
34387
34512
|
|
|
34388
34513
|
/**
|
|
34389
|
-
* Verifies a
|
|
34514
|
+
* Verifies a CacheUpdate message.
|
|
34390
34515
|
* @param message Plain object to verify
|
|
34391
34516
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
34392
34517
|
*/
|
|
34393
34518
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
34394
34519
|
|
|
34395
34520
|
/**
|
|
34396
|
-
* Creates a
|
|
34521
|
+
* Creates a CacheUpdate message from a plain object. Also converts values to their respective internal types.
|
|
34397
34522
|
* @param object Plain object
|
|
34398
|
-
* @returns
|
|
34523
|
+
* @returns CacheUpdate
|
|
34399
34524
|
*/
|
|
34400
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.v1.
|
|
34525
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.CacheUpdate;
|
|
34401
34526
|
|
|
34402
34527
|
/**
|
|
34403
|
-
* Creates a plain object from a
|
|
34404
|
-
* @param message
|
|
34528
|
+
* Creates a plain object from a CacheUpdate message. Also converts values to other types if specified.
|
|
34529
|
+
* @param message CacheUpdate
|
|
34405
34530
|
* @param [options] Conversion options
|
|
34406
34531
|
* @returns Plain object
|
|
34407
34532
|
*/
|
|
34408
|
-
public static toObject(message: google.spanner.v1.
|
|
34533
|
+
public static toObject(message: google.spanner.v1.CacheUpdate, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
34409
34534
|
|
|
34410
34535
|
/**
|
|
34411
|
-
* Converts this
|
|
34536
|
+
* Converts this CacheUpdate to JSON.
|
|
34412
34537
|
* @returns JSON object
|
|
34413
34538
|
*/
|
|
34414
34539
|
public toJSON(): { [k: string]: any };
|
|
34415
34540
|
|
|
34416
34541
|
/**
|
|
34417
|
-
* Gets the default type url for
|
|
34542
|
+
* Gets the default type url for CacheUpdate
|
|
34418
34543
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
34419
34544
|
* @returns The default type url
|
|
34420
34545
|
*/
|
|
34421
34546
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
34422
34547
|
}
|
|
34423
34548
|
|
|
34424
|
-
/** Properties of a
|
|
34425
|
-
interface
|
|
34549
|
+
/** Properties of a RoutingHint. */
|
|
34550
|
+
interface IRoutingHint {
|
|
34426
34551
|
|
|
34427
|
-
/**
|
|
34428
|
-
|
|
34552
|
+
/** RoutingHint operationUid */
|
|
34553
|
+
operationUid?: (number|Long|string|null);
|
|
34429
34554
|
|
|
34430
|
-
/**
|
|
34431
|
-
|
|
34555
|
+
/** RoutingHint databaseId */
|
|
34556
|
+
databaseId?: (number|Long|string|null);
|
|
34432
34557
|
|
|
34433
|
-
/**
|
|
34434
|
-
|
|
34558
|
+
/** RoutingHint schemaGeneration */
|
|
34559
|
+
schemaGeneration?: (Uint8Array|Buffer|string|null);
|
|
34560
|
+
|
|
34561
|
+
/** RoutingHint key */
|
|
34562
|
+
key?: (Uint8Array|Buffer|string|null);
|
|
34563
|
+
|
|
34564
|
+
/** RoutingHint limitKey */
|
|
34565
|
+
limitKey?: (Uint8Array|Buffer|string|null);
|
|
34566
|
+
|
|
34567
|
+
/** RoutingHint groupUid */
|
|
34568
|
+
groupUid?: (number|Long|string|null);
|
|
34569
|
+
|
|
34570
|
+
/** RoutingHint splitId */
|
|
34571
|
+
splitId?: (number|Long|string|null);
|
|
34572
|
+
|
|
34573
|
+
/** RoutingHint tabletUid */
|
|
34574
|
+
tabletUid?: (number|Long|string|null);
|
|
34575
|
+
|
|
34576
|
+
/** RoutingHint skippedTabletUid */
|
|
34577
|
+
skippedTabletUid?: (google.spanner.v1.RoutingHint.ISkippedTablet[]|null);
|
|
34578
|
+
|
|
34579
|
+
/** RoutingHint clientLocation */
|
|
34580
|
+
clientLocation?: (string|null);
|
|
34435
34581
|
}
|
|
34436
34582
|
|
|
34437
|
-
/** Represents a
|
|
34438
|
-
class
|
|
34583
|
+
/** Represents a RoutingHint. */
|
|
34584
|
+
class RoutingHint implements IRoutingHint {
|
|
34585
|
+
|
|
34586
|
+
/**
|
|
34587
|
+
* Constructs a new RoutingHint.
|
|
34588
|
+
* @param [properties] Properties to set
|
|
34589
|
+
*/
|
|
34590
|
+
constructor(properties?: google.spanner.v1.IRoutingHint);
|
|
34591
|
+
|
|
34592
|
+
/** RoutingHint operationUid. */
|
|
34593
|
+
public operationUid: (number|Long|string);
|
|
34594
|
+
|
|
34595
|
+
/** RoutingHint databaseId. */
|
|
34596
|
+
public databaseId: (number|Long|string);
|
|
34597
|
+
|
|
34598
|
+
/** RoutingHint schemaGeneration. */
|
|
34599
|
+
public schemaGeneration: (Uint8Array|Buffer|string);
|
|
34600
|
+
|
|
34601
|
+
/** RoutingHint key. */
|
|
34602
|
+
public key: (Uint8Array|Buffer|string);
|
|
34603
|
+
|
|
34604
|
+
/** RoutingHint limitKey. */
|
|
34605
|
+
public limitKey: (Uint8Array|Buffer|string);
|
|
34439
34606
|
|
|
34440
|
-
/**
|
|
34441
|
-
|
|
34442
|
-
* @param [properties] Properties to set
|
|
34443
|
-
*/
|
|
34444
|
-
constructor(properties?: google.spanner.v1.IKeySet);
|
|
34607
|
+
/** RoutingHint groupUid. */
|
|
34608
|
+
public groupUid: (number|Long|string);
|
|
34445
34609
|
|
|
34446
|
-
/**
|
|
34447
|
-
public
|
|
34610
|
+
/** RoutingHint splitId. */
|
|
34611
|
+
public splitId: (number|Long|string);
|
|
34448
34612
|
|
|
34449
|
-
/**
|
|
34450
|
-
public
|
|
34613
|
+
/** RoutingHint tabletUid. */
|
|
34614
|
+
public tabletUid: (number|Long|string);
|
|
34451
34615
|
|
|
34452
|
-
/**
|
|
34453
|
-
public
|
|
34616
|
+
/** RoutingHint skippedTabletUid. */
|
|
34617
|
+
public skippedTabletUid: google.spanner.v1.RoutingHint.ISkippedTablet[];
|
|
34618
|
+
|
|
34619
|
+
/** RoutingHint clientLocation. */
|
|
34620
|
+
public clientLocation: string;
|
|
34454
34621
|
|
|
34455
34622
|
/**
|
|
34456
|
-
* Creates a new
|
|
34623
|
+
* Creates a new RoutingHint instance using the specified properties.
|
|
34457
34624
|
* @param [properties] Properties to set
|
|
34458
|
-
* @returns
|
|
34625
|
+
* @returns RoutingHint instance
|
|
34459
34626
|
*/
|
|
34460
|
-
public static create(properties?: google.spanner.v1.
|
|
34627
|
+
public static create(properties?: google.spanner.v1.IRoutingHint): google.spanner.v1.RoutingHint;
|
|
34461
34628
|
|
|
34462
34629
|
/**
|
|
34463
|
-
* Encodes the specified
|
|
34464
|
-
* @param message
|
|
34630
|
+
* Encodes the specified RoutingHint message. Does not implicitly {@link google.spanner.v1.RoutingHint.verify|verify} messages.
|
|
34631
|
+
* @param message RoutingHint message or plain object to encode
|
|
34465
34632
|
* @param [writer] Writer to encode to
|
|
34466
34633
|
* @returns Writer
|
|
34467
34634
|
*/
|
|
34468
|
-
public static encode(message: google.spanner.v1.
|
|
34635
|
+
public static encode(message: google.spanner.v1.IRoutingHint, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
34469
34636
|
|
|
34470
34637
|
/**
|
|
34471
|
-
* Encodes the specified
|
|
34472
|
-
* @param message
|
|
34638
|
+
* Encodes the specified RoutingHint message, length delimited. Does not implicitly {@link google.spanner.v1.RoutingHint.verify|verify} messages.
|
|
34639
|
+
* @param message RoutingHint message or plain object to encode
|
|
34473
34640
|
* @param [writer] Writer to encode to
|
|
34474
34641
|
* @returns Writer
|
|
34475
34642
|
*/
|
|
34476
|
-
public static encodeDelimited(message: google.spanner.v1.
|
|
34643
|
+
public static encodeDelimited(message: google.spanner.v1.IRoutingHint, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
34477
34644
|
|
|
34478
34645
|
/**
|
|
34479
|
-
* Decodes a
|
|
34646
|
+
* Decodes a RoutingHint message from the specified reader or buffer.
|
|
34480
34647
|
* @param reader Reader or buffer to decode from
|
|
34481
34648
|
* @param [length] Message length if known beforehand
|
|
34482
|
-
* @returns
|
|
34649
|
+
* @returns RoutingHint
|
|
34483
34650
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34484
34651
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34485
34652
|
*/
|
|
34486
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.
|
|
34653
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.RoutingHint;
|
|
34487
34654
|
|
|
34488
34655
|
/**
|
|
34489
|
-
* Decodes a
|
|
34656
|
+
* Decodes a RoutingHint message from the specified reader or buffer, length delimited.
|
|
34490
34657
|
* @param reader Reader or buffer to decode from
|
|
34491
|
-
* @returns
|
|
34658
|
+
* @returns RoutingHint
|
|
34492
34659
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34493
34660
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34494
34661
|
*/
|
|
34495
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.
|
|
34662
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.RoutingHint;
|
|
34496
34663
|
|
|
34497
34664
|
/**
|
|
34498
|
-
* Verifies a
|
|
34665
|
+
* Verifies a RoutingHint message.
|
|
34499
34666
|
* @param message Plain object to verify
|
|
34500
34667
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
34501
34668
|
*/
|
|
34502
34669
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
34503
34670
|
|
|
34504
34671
|
/**
|
|
34505
|
-
* Creates a
|
|
34672
|
+
* Creates a RoutingHint message from a plain object. Also converts values to their respective internal types.
|
|
34506
34673
|
* @param object Plain object
|
|
34507
|
-
* @returns
|
|
34674
|
+
* @returns RoutingHint
|
|
34508
34675
|
*/
|
|
34509
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.v1.
|
|
34676
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.RoutingHint;
|
|
34510
34677
|
|
|
34511
34678
|
/**
|
|
34512
|
-
* Creates a plain object from a
|
|
34513
|
-
* @param message
|
|
34679
|
+
* Creates a plain object from a RoutingHint message. Also converts values to other types if specified.
|
|
34680
|
+
* @param message RoutingHint
|
|
34514
34681
|
* @param [options] Conversion options
|
|
34515
34682
|
* @returns Plain object
|
|
34516
34683
|
*/
|
|
34517
|
-
public static toObject(message: google.spanner.v1.
|
|
34684
|
+
public static toObject(message: google.spanner.v1.RoutingHint, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
34518
34685
|
|
|
34519
34686
|
/**
|
|
34520
|
-
* Converts this
|
|
34687
|
+
* Converts this RoutingHint to JSON.
|
|
34521
34688
|
* @returns JSON object
|
|
34522
34689
|
*/
|
|
34523
34690
|
public toJSON(): { [k: string]: any };
|
|
34524
34691
|
|
|
34525
34692
|
/**
|
|
34526
|
-
* Gets the default type url for
|
|
34693
|
+
* Gets the default type url for RoutingHint
|
|
34527
34694
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
34528
34695
|
* @returns The default type url
|
|
34529
34696
|
*/
|
|
34530
34697
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
34531
34698
|
}
|
|
34532
34699
|
|
|
34533
|
-
|
|
34534
|
-
interface IRange {
|
|
34700
|
+
namespace RoutingHint {
|
|
34535
34701
|
|
|
34536
|
-
/**
|
|
34537
|
-
|
|
34702
|
+
/** Properties of a SkippedTablet. */
|
|
34703
|
+
interface ISkippedTablet {
|
|
34538
34704
|
|
|
34539
|
-
|
|
34540
|
-
|
|
34705
|
+
/** SkippedTablet tabletUid */
|
|
34706
|
+
tabletUid?: (number|Long|string|null);
|
|
34541
34707
|
|
|
34542
|
-
|
|
34543
|
-
|
|
34708
|
+
/** SkippedTablet incarnation */
|
|
34709
|
+
incarnation?: (Uint8Array|Buffer|string|null);
|
|
34710
|
+
}
|
|
34544
34711
|
|
|
34545
|
-
/**
|
|
34546
|
-
|
|
34712
|
+
/** Represents a SkippedTablet. */
|
|
34713
|
+
class SkippedTablet implements ISkippedTablet {
|
|
34547
34714
|
|
|
34548
|
-
|
|
34549
|
-
|
|
34715
|
+
/**
|
|
34716
|
+
* Constructs a new SkippedTablet.
|
|
34717
|
+
* @param [properties] Properties to set
|
|
34718
|
+
*/
|
|
34719
|
+
constructor(properties?: google.spanner.v1.RoutingHint.ISkippedTablet);
|
|
34720
|
+
|
|
34721
|
+
/** SkippedTablet tabletUid. */
|
|
34722
|
+
public tabletUid: (number|Long|string);
|
|
34723
|
+
|
|
34724
|
+
/** SkippedTablet incarnation. */
|
|
34725
|
+
public incarnation: (Uint8Array|Buffer|string);
|
|
34726
|
+
|
|
34727
|
+
/**
|
|
34728
|
+
* Creates a new SkippedTablet instance using the specified properties.
|
|
34729
|
+
* @param [properties] Properties to set
|
|
34730
|
+
* @returns SkippedTablet instance
|
|
34731
|
+
*/
|
|
34732
|
+
public static create(properties?: google.spanner.v1.RoutingHint.ISkippedTablet): google.spanner.v1.RoutingHint.SkippedTablet;
|
|
34733
|
+
|
|
34734
|
+
/**
|
|
34735
|
+
* Encodes the specified SkippedTablet message. Does not implicitly {@link google.spanner.v1.RoutingHint.SkippedTablet.verify|verify} messages.
|
|
34736
|
+
* @param message SkippedTablet message or plain object to encode
|
|
34737
|
+
* @param [writer] Writer to encode to
|
|
34738
|
+
* @returns Writer
|
|
34739
|
+
*/
|
|
34740
|
+
public static encode(message: google.spanner.v1.RoutingHint.ISkippedTablet, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
34741
|
+
|
|
34742
|
+
/**
|
|
34743
|
+
* Encodes the specified SkippedTablet message, length delimited. Does not implicitly {@link google.spanner.v1.RoutingHint.SkippedTablet.verify|verify} messages.
|
|
34744
|
+
* @param message SkippedTablet message or plain object to encode
|
|
34745
|
+
* @param [writer] Writer to encode to
|
|
34746
|
+
* @returns Writer
|
|
34747
|
+
*/
|
|
34748
|
+
public static encodeDelimited(message: google.spanner.v1.RoutingHint.ISkippedTablet, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
34749
|
+
|
|
34750
|
+
/**
|
|
34751
|
+
* Decodes a SkippedTablet message from the specified reader or buffer.
|
|
34752
|
+
* @param reader Reader or buffer to decode from
|
|
34753
|
+
* @param [length] Message length if known beforehand
|
|
34754
|
+
* @returns SkippedTablet
|
|
34755
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34756
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34757
|
+
*/
|
|
34758
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.RoutingHint.SkippedTablet;
|
|
34759
|
+
|
|
34760
|
+
/**
|
|
34761
|
+
* Decodes a SkippedTablet message from the specified reader or buffer, length delimited.
|
|
34762
|
+
* @param reader Reader or buffer to decode from
|
|
34763
|
+
* @returns SkippedTablet
|
|
34764
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34765
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34766
|
+
*/
|
|
34767
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.RoutingHint.SkippedTablet;
|
|
34768
|
+
|
|
34769
|
+
/**
|
|
34770
|
+
* Verifies a SkippedTablet message.
|
|
34771
|
+
* @param message Plain object to verify
|
|
34772
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
34773
|
+
*/
|
|
34774
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
34775
|
+
|
|
34776
|
+
/**
|
|
34777
|
+
* Creates a SkippedTablet message from a plain object. Also converts values to their respective internal types.
|
|
34778
|
+
* @param object Plain object
|
|
34779
|
+
* @returns SkippedTablet
|
|
34780
|
+
*/
|
|
34781
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.RoutingHint.SkippedTablet;
|
|
34782
|
+
|
|
34783
|
+
/**
|
|
34784
|
+
* Creates a plain object from a SkippedTablet message. Also converts values to other types if specified.
|
|
34785
|
+
* @param message SkippedTablet
|
|
34786
|
+
* @param [options] Conversion options
|
|
34787
|
+
* @returns Plain object
|
|
34788
|
+
*/
|
|
34789
|
+
public static toObject(message: google.spanner.v1.RoutingHint.SkippedTablet, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
34790
|
+
|
|
34791
|
+
/**
|
|
34792
|
+
* Converts this SkippedTablet to JSON.
|
|
34793
|
+
* @returns JSON object
|
|
34794
|
+
*/
|
|
34795
|
+
public toJSON(): { [k: string]: any };
|
|
34796
|
+
|
|
34797
|
+
/**
|
|
34798
|
+
* Gets the default type url for SkippedTablet
|
|
34799
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
34800
|
+
* @returns The default type url
|
|
34801
|
+
*/
|
|
34802
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
34803
|
+
}
|
|
34550
34804
|
}
|
|
34551
34805
|
|
|
34552
|
-
/**
|
|
34553
|
-
|
|
34806
|
+
/** Properties of a Type. */
|
|
34807
|
+
interface IType {
|
|
34808
|
+
|
|
34809
|
+
/** Type code */
|
|
34810
|
+
code?: (google.spanner.v1.TypeCode|keyof typeof google.spanner.v1.TypeCode|null);
|
|
34811
|
+
|
|
34812
|
+
/** Type arrayElementType */
|
|
34813
|
+
arrayElementType?: (google.spanner.v1.IType|null);
|
|
34814
|
+
|
|
34815
|
+
/** Type structType */
|
|
34816
|
+
structType?: (google.spanner.v1.IStructType|null);
|
|
34817
|
+
|
|
34818
|
+
/** Type typeAnnotation */
|
|
34819
|
+
typeAnnotation?: (google.spanner.v1.TypeAnnotationCode|keyof typeof google.spanner.v1.TypeAnnotationCode|null);
|
|
34820
|
+
|
|
34821
|
+
/** Type protoTypeFqn */
|
|
34822
|
+
protoTypeFqn?: (string|null);
|
|
34823
|
+
}
|
|
34824
|
+
|
|
34825
|
+
/** Represents a Type. */
|
|
34826
|
+
class Type implements IType {
|
|
34554
34827
|
|
|
34555
34828
|
/**
|
|
34556
|
-
* Constructs a new
|
|
34829
|
+
* Constructs a new Type.
|
|
34557
34830
|
* @param [properties] Properties to set
|
|
34558
34831
|
*/
|
|
34559
|
-
constructor(properties?: google.spanner.v1.
|
|
34832
|
+
constructor(properties?: google.spanner.v1.IType);
|
|
34560
34833
|
|
|
34561
|
-
/**
|
|
34562
|
-
public
|
|
34834
|
+
/** Type code. */
|
|
34835
|
+
public code: (google.spanner.v1.TypeCode|keyof typeof google.spanner.v1.TypeCode);
|
|
34563
34836
|
|
|
34564
|
-
/**
|
|
34565
|
-
public
|
|
34837
|
+
/** Type arrayElementType. */
|
|
34838
|
+
public arrayElementType?: (google.spanner.v1.IType|null);
|
|
34566
34839
|
|
|
34567
|
-
/**
|
|
34568
|
-
public
|
|
34840
|
+
/** Type structType. */
|
|
34841
|
+
public structType?: (google.spanner.v1.IStructType|null);
|
|
34569
34842
|
|
|
34570
|
-
/**
|
|
34571
|
-
public
|
|
34843
|
+
/** Type typeAnnotation. */
|
|
34844
|
+
public typeAnnotation: (google.spanner.v1.TypeAnnotationCode|keyof typeof google.spanner.v1.TypeAnnotationCode);
|
|
34572
34845
|
|
|
34573
|
-
/**
|
|
34574
|
-
public
|
|
34846
|
+
/** Type protoTypeFqn. */
|
|
34847
|
+
public protoTypeFqn: string;
|
|
34575
34848
|
|
|
34576
34849
|
/**
|
|
34577
|
-
* Creates a new
|
|
34850
|
+
* Creates a new Type instance using the specified properties.
|
|
34578
34851
|
* @param [properties] Properties to set
|
|
34579
|
-
* @returns
|
|
34852
|
+
* @returns Type instance
|
|
34580
34853
|
*/
|
|
34581
|
-
public static create(properties?: google.spanner.v1.
|
|
34854
|
+
public static create(properties?: google.spanner.v1.IType): google.spanner.v1.Type;
|
|
34582
34855
|
|
|
34583
34856
|
/**
|
|
34584
|
-
* Encodes the specified
|
|
34585
|
-
* @param message
|
|
34857
|
+
* Encodes the specified Type message. Does not implicitly {@link google.spanner.v1.Type.verify|verify} messages.
|
|
34858
|
+
* @param message Type message or plain object to encode
|
|
34586
34859
|
* @param [writer] Writer to encode to
|
|
34587
34860
|
* @returns Writer
|
|
34588
34861
|
*/
|
|
34589
|
-
public static encode(message: google.spanner.v1.
|
|
34862
|
+
public static encode(message: google.spanner.v1.IType, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
34590
34863
|
|
|
34591
34864
|
/**
|
|
34592
|
-
* Encodes the specified
|
|
34593
|
-
* @param message
|
|
34865
|
+
* Encodes the specified Type message, length delimited. Does not implicitly {@link google.spanner.v1.Type.verify|verify} messages.
|
|
34866
|
+
* @param message Type message or plain object to encode
|
|
34594
34867
|
* @param [writer] Writer to encode to
|
|
34595
34868
|
* @returns Writer
|
|
34596
34869
|
*/
|
|
34597
|
-
public static encodeDelimited(message: google.spanner.v1.
|
|
34870
|
+
public static encodeDelimited(message: google.spanner.v1.IType, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
34598
34871
|
|
|
34599
34872
|
/**
|
|
34600
|
-
* Decodes a
|
|
34873
|
+
* Decodes a Type message from the specified reader or buffer.
|
|
34601
34874
|
* @param reader Reader or buffer to decode from
|
|
34602
34875
|
* @param [length] Message length if known beforehand
|
|
34603
|
-
* @returns
|
|
34876
|
+
* @returns Type
|
|
34604
34877
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34605
34878
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34606
34879
|
*/
|
|
34607
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.
|
|
34880
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.Type;
|
|
34608
34881
|
|
|
34609
34882
|
/**
|
|
34610
|
-
* Decodes a
|
|
34883
|
+
* Decodes a Type message from the specified reader or buffer, length delimited.
|
|
34611
34884
|
* @param reader Reader or buffer to decode from
|
|
34612
|
-
* @returns
|
|
34885
|
+
* @returns Type
|
|
34613
34886
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34614
34887
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34615
34888
|
*/
|
|
34616
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.
|
|
34889
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.Type;
|
|
34617
34890
|
|
|
34618
34891
|
/**
|
|
34619
|
-
* Verifies a
|
|
34892
|
+
* Verifies a Type message.
|
|
34620
34893
|
* @param message Plain object to verify
|
|
34621
34894
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
34622
34895
|
*/
|
|
34623
34896
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
34624
34897
|
|
|
34625
34898
|
/**
|
|
34626
|
-
* Creates a
|
|
34899
|
+
* Creates a Type message from a plain object. Also converts values to their respective internal types.
|
|
34627
34900
|
* @param object Plain object
|
|
34628
|
-
* @returns
|
|
34901
|
+
* @returns Type
|
|
34629
34902
|
*/
|
|
34630
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.v1.
|
|
34903
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.Type;
|
|
34631
34904
|
|
|
34632
34905
|
/**
|
|
34633
|
-
* Creates a plain object from a
|
|
34634
|
-
* @param message
|
|
34906
|
+
* Creates a plain object from a Type message. Also converts values to other types if specified.
|
|
34907
|
+
* @param message Type
|
|
34635
34908
|
* @param [options] Conversion options
|
|
34636
34909
|
* @returns Plain object
|
|
34637
34910
|
*/
|
|
34638
|
-
public static toObject(message: google.spanner.v1.
|
|
34911
|
+
public static toObject(message: google.spanner.v1.Type, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
34639
34912
|
|
|
34640
34913
|
/**
|
|
34641
|
-
* Converts this
|
|
34914
|
+
* Converts this Type to JSON.
|
|
34642
34915
|
* @returns JSON object
|
|
34643
34916
|
*/
|
|
34644
34917
|
public toJSON(): { [k: string]: any };
|
|
34645
34918
|
|
|
34646
34919
|
/**
|
|
34647
|
-
* Gets the default type url for
|
|
34920
|
+
* Gets the default type url for Type
|
|
34648
34921
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
34649
34922
|
* @returns The default type url
|
|
34650
34923
|
*/
|
|
34651
34924
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
34652
34925
|
}
|
|
34653
34926
|
|
|
34654
|
-
/** Properties of a
|
|
34655
|
-
interface
|
|
34656
|
-
|
|
34657
|
-
/** Tablet tabletUid */
|
|
34658
|
-
tabletUid?: (number|Long|string|null);
|
|
34659
|
-
|
|
34660
|
-
/** Tablet serverAddress */
|
|
34661
|
-
serverAddress?: (string|null);
|
|
34662
|
-
|
|
34663
|
-
/** Tablet location */
|
|
34664
|
-
location?: (string|null);
|
|
34665
|
-
|
|
34666
|
-
/** Tablet role */
|
|
34667
|
-
role?: (google.spanner.v1.Tablet.Role|keyof typeof google.spanner.v1.Tablet.Role|null);
|
|
34668
|
-
|
|
34669
|
-
/** Tablet incarnation */
|
|
34670
|
-
incarnation?: (Uint8Array|Buffer|string|null);
|
|
34671
|
-
|
|
34672
|
-
/** Tablet distance */
|
|
34673
|
-
distance?: (number|null);
|
|
34927
|
+
/** Properties of a StructType. */
|
|
34928
|
+
interface IStructType {
|
|
34674
34929
|
|
|
34675
|
-
/**
|
|
34676
|
-
|
|
34930
|
+
/** StructType fields */
|
|
34931
|
+
fields?: (google.spanner.v1.StructType.IField[]|null);
|
|
34677
34932
|
}
|
|
34678
34933
|
|
|
34679
|
-
/** Represents a
|
|
34680
|
-
class
|
|
34934
|
+
/** Represents a StructType. */
|
|
34935
|
+
class StructType implements IStructType {
|
|
34681
34936
|
|
|
34682
34937
|
/**
|
|
34683
|
-
* Constructs a new
|
|
34938
|
+
* Constructs a new StructType.
|
|
34684
34939
|
* @param [properties] Properties to set
|
|
34685
34940
|
*/
|
|
34686
|
-
constructor(properties?: google.spanner.v1.
|
|
34687
|
-
|
|
34688
|
-
/** Tablet tabletUid. */
|
|
34689
|
-
public tabletUid: (number|Long|string);
|
|
34690
|
-
|
|
34691
|
-
/** Tablet serverAddress. */
|
|
34692
|
-
public serverAddress: string;
|
|
34693
|
-
|
|
34694
|
-
/** Tablet location. */
|
|
34695
|
-
public location: string;
|
|
34696
|
-
|
|
34697
|
-
/** Tablet role. */
|
|
34698
|
-
public role: (google.spanner.v1.Tablet.Role|keyof typeof google.spanner.v1.Tablet.Role);
|
|
34699
|
-
|
|
34700
|
-
/** Tablet incarnation. */
|
|
34701
|
-
public incarnation: (Uint8Array|Buffer|string);
|
|
34702
|
-
|
|
34703
|
-
/** Tablet distance. */
|
|
34704
|
-
public distance: number;
|
|
34941
|
+
constructor(properties?: google.spanner.v1.IStructType);
|
|
34705
34942
|
|
|
34706
|
-
/**
|
|
34707
|
-
public
|
|
34943
|
+
/** StructType fields. */
|
|
34944
|
+
public fields: google.spanner.v1.StructType.IField[];
|
|
34708
34945
|
|
|
34709
34946
|
/**
|
|
34710
|
-
* Creates a new
|
|
34947
|
+
* Creates a new StructType instance using the specified properties.
|
|
34711
34948
|
* @param [properties] Properties to set
|
|
34712
|
-
* @returns
|
|
34949
|
+
* @returns StructType instance
|
|
34713
34950
|
*/
|
|
34714
|
-
public static create(properties?: google.spanner.v1.
|
|
34951
|
+
public static create(properties?: google.spanner.v1.IStructType): google.spanner.v1.StructType;
|
|
34715
34952
|
|
|
34716
34953
|
/**
|
|
34717
|
-
* Encodes the specified
|
|
34718
|
-
* @param message
|
|
34954
|
+
* Encodes the specified StructType message. Does not implicitly {@link google.spanner.v1.StructType.verify|verify} messages.
|
|
34955
|
+
* @param message StructType message or plain object to encode
|
|
34719
34956
|
* @param [writer] Writer to encode to
|
|
34720
34957
|
* @returns Writer
|
|
34721
34958
|
*/
|
|
34722
|
-
public static encode(message: google.spanner.v1.
|
|
34959
|
+
public static encode(message: google.spanner.v1.IStructType, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
34723
34960
|
|
|
34724
34961
|
/**
|
|
34725
|
-
* Encodes the specified
|
|
34726
|
-
* @param message
|
|
34962
|
+
* Encodes the specified StructType message, length delimited. Does not implicitly {@link google.spanner.v1.StructType.verify|verify} messages.
|
|
34963
|
+
* @param message StructType message or plain object to encode
|
|
34727
34964
|
* @param [writer] Writer to encode to
|
|
34728
34965
|
* @returns Writer
|
|
34729
34966
|
*/
|
|
34730
|
-
public static encodeDelimited(message: google.spanner.v1.
|
|
34967
|
+
public static encodeDelimited(message: google.spanner.v1.IStructType, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
34731
34968
|
|
|
34732
34969
|
/**
|
|
34733
|
-
* Decodes a
|
|
34970
|
+
* Decodes a StructType message from the specified reader or buffer.
|
|
34734
34971
|
* @param reader Reader or buffer to decode from
|
|
34735
34972
|
* @param [length] Message length if known beforehand
|
|
34736
|
-
* @returns
|
|
34973
|
+
* @returns StructType
|
|
34737
34974
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34738
34975
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34739
34976
|
*/
|
|
34740
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.
|
|
34977
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.StructType;
|
|
34741
34978
|
|
|
34742
34979
|
/**
|
|
34743
|
-
* Decodes a
|
|
34980
|
+
* Decodes a StructType message from the specified reader or buffer, length delimited.
|
|
34744
34981
|
* @param reader Reader or buffer to decode from
|
|
34745
|
-
* @returns
|
|
34982
|
+
* @returns StructType
|
|
34746
34983
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34747
34984
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34748
34985
|
*/
|
|
34749
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.
|
|
34986
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.StructType;
|
|
34750
34987
|
|
|
34751
34988
|
/**
|
|
34752
|
-
* Verifies a
|
|
34989
|
+
* Verifies a StructType message.
|
|
34753
34990
|
* @param message Plain object to verify
|
|
34754
34991
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
34755
34992
|
*/
|
|
34756
34993
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
34757
34994
|
|
|
34758
34995
|
/**
|
|
34759
|
-
* Creates a
|
|
34996
|
+
* Creates a StructType message from a plain object. Also converts values to their respective internal types.
|
|
34760
34997
|
* @param object Plain object
|
|
34761
|
-
* @returns
|
|
34998
|
+
* @returns StructType
|
|
34762
34999
|
*/
|
|
34763
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.v1.
|
|
35000
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.StructType;
|
|
34764
35001
|
|
|
34765
35002
|
/**
|
|
34766
|
-
* Creates a plain object from a
|
|
34767
|
-
* @param message
|
|
35003
|
+
* Creates a plain object from a StructType message. Also converts values to other types if specified.
|
|
35004
|
+
* @param message StructType
|
|
34768
35005
|
* @param [options] Conversion options
|
|
34769
35006
|
* @returns Plain object
|
|
34770
35007
|
*/
|
|
34771
|
-
public static toObject(message: google.spanner.v1.
|
|
35008
|
+
public static toObject(message: google.spanner.v1.StructType, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
34772
35009
|
|
|
34773
35010
|
/**
|
|
34774
|
-
* Converts this
|
|
35011
|
+
* Converts this StructType to JSON.
|
|
34775
35012
|
* @returns JSON object
|
|
34776
35013
|
*/
|
|
34777
35014
|
public toJSON(): { [k: string]: any };
|
|
34778
35015
|
|
|
34779
35016
|
/**
|
|
34780
|
-
* Gets the default type url for
|
|
35017
|
+
* Gets the default type url for StructType
|
|
34781
35018
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
34782
35019
|
* @returns The default type url
|
|
34783
35020
|
*/
|
|
34784
35021
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
34785
35022
|
}
|
|
34786
35023
|
|
|
34787
|
-
namespace
|
|
35024
|
+
namespace StructType {
|
|
35025
|
+
|
|
35026
|
+
/** Properties of a Field. */
|
|
35027
|
+
interface IField {
|
|
35028
|
+
|
|
35029
|
+
/** Field name */
|
|
35030
|
+
name?: (string|null);
|
|
35031
|
+
|
|
35032
|
+
/** Field type */
|
|
35033
|
+
type?: (google.spanner.v1.IType|null);
|
|
35034
|
+
}
|
|
35035
|
+
|
|
35036
|
+
/** Represents a Field. */
|
|
35037
|
+
class Field implements IField {
|
|
35038
|
+
|
|
35039
|
+
/**
|
|
35040
|
+
* Constructs a new Field.
|
|
35041
|
+
* @param [properties] Properties to set
|
|
35042
|
+
*/
|
|
35043
|
+
constructor(properties?: google.spanner.v1.StructType.IField);
|
|
35044
|
+
|
|
35045
|
+
/** Field name. */
|
|
35046
|
+
public name: string;
|
|
35047
|
+
|
|
35048
|
+
/** Field type. */
|
|
35049
|
+
public type?: (google.spanner.v1.IType|null);
|
|
35050
|
+
|
|
35051
|
+
/**
|
|
35052
|
+
* Creates a new Field instance using the specified properties.
|
|
35053
|
+
* @param [properties] Properties to set
|
|
35054
|
+
* @returns Field instance
|
|
35055
|
+
*/
|
|
35056
|
+
public static create(properties?: google.spanner.v1.StructType.IField): google.spanner.v1.StructType.Field;
|
|
35057
|
+
|
|
35058
|
+
/**
|
|
35059
|
+
* Encodes the specified Field message. Does not implicitly {@link google.spanner.v1.StructType.Field.verify|verify} messages.
|
|
35060
|
+
* @param message Field message or plain object to encode
|
|
35061
|
+
* @param [writer] Writer to encode to
|
|
35062
|
+
* @returns Writer
|
|
35063
|
+
*/
|
|
35064
|
+
public static encode(message: google.spanner.v1.StructType.IField, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35065
|
+
|
|
35066
|
+
/**
|
|
35067
|
+
* Encodes the specified Field message, length delimited. Does not implicitly {@link google.spanner.v1.StructType.Field.verify|verify} messages.
|
|
35068
|
+
* @param message Field message or plain object to encode
|
|
35069
|
+
* @param [writer] Writer to encode to
|
|
35070
|
+
* @returns Writer
|
|
35071
|
+
*/
|
|
35072
|
+
public static encodeDelimited(message: google.spanner.v1.StructType.IField, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35073
|
+
|
|
35074
|
+
/**
|
|
35075
|
+
* Decodes a Field message from the specified reader or buffer.
|
|
35076
|
+
* @param reader Reader or buffer to decode from
|
|
35077
|
+
* @param [length] Message length if known beforehand
|
|
35078
|
+
* @returns Field
|
|
35079
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35080
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35081
|
+
*/
|
|
35082
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.StructType.Field;
|
|
35083
|
+
|
|
35084
|
+
/**
|
|
35085
|
+
* Decodes a Field message from the specified reader or buffer, length delimited.
|
|
35086
|
+
* @param reader Reader or buffer to decode from
|
|
35087
|
+
* @returns Field
|
|
35088
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35089
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35090
|
+
*/
|
|
35091
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.StructType.Field;
|
|
35092
|
+
|
|
35093
|
+
/**
|
|
35094
|
+
* Verifies a Field message.
|
|
35095
|
+
* @param message Plain object to verify
|
|
35096
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
35097
|
+
*/
|
|
35098
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
35099
|
+
|
|
35100
|
+
/**
|
|
35101
|
+
* Creates a Field message from a plain object. Also converts values to their respective internal types.
|
|
35102
|
+
* @param object Plain object
|
|
35103
|
+
* @returns Field
|
|
35104
|
+
*/
|
|
35105
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.StructType.Field;
|
|
35106
|
+
|
|
35107
|
+
/**
|
|
35108
|
+
* Creates a plain object from a Field message. Also converts values to other types if specified.
|
|
35109
|
+
* @param message Field
|
|
35110
|
+
* @param [options] Conversion options
|
|
35111
|
+
* @returns Plain object
|
|
35112
|
+
*/
|
|
35113
|
+
public static toObject(message: google.spanner.v1.StructType.Field, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
35114
|
+
|
|
35115
|
+
/**
|
|
35116
|
+
* Converts this Field to JSON.
|
|
35117
|
+
* @returns JSON object
|
|
35118
|
+
*/
|
|
35119
|
+
public toJSON(): { [k: string]: any };
|
|
35120
|
+
|
|
35121
|
+
/**
|
|
35122
|
+
* Gets the default type url for Field
|
|
35123
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
35124
|
+
* @returns The default type url
|
|
35125
|
+
*/
|
|
35126
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
35127
|
+
}
|
|
35128
|
+
}
|
|
35129
|
+
|
|
35130
|
+
/** TypeCode enum. */
|
|
35131
|
+
enum TypeCode {
|
|
35132
|
+
TYPE_CODE_UNSPECIFIED = 0,
|
|
35133
|
+
BOOL = 1,
|
|
35134
|
+
INT64 = 2,
|
|
35135
|
+
FLOAT64 = 3,
|
|
35136
|
+
FLOAT32 = 15,
|
|
35137
|
+
TIMESTAMP = 4,
|
|
35138
|
+
DATE = 5,
|
|
35139
|
+
STRING = 6,
|
|
35140
|
+
BYTES = 7,
|
|
35141
|
+
ARRAY = 8,
|
|
35142
|
+
STRUCT = 9,
|
|
35143
|
+
NUMERIC = 10,
|
|
35144
|
+
JSON = 11,
|
|
35145
|
+
PROTO = 13,
|
|
35146
|
+
ENUM = 14,
|
|
35147
|
+
INTERVAL = 16,
|
|
35148
|
+
UUID = 17
|
|
35149
|
+
}
|
|
34788
35150
|
|
|
34789
|
-
|
|
34790
|
-
|
|
34791
|
-
|
|
34792
|
-
|
|
34793
|
-
|
|
34794
|
-
|
|
35151
|
+
/** TypeAnnotationCode enum. */
|
|
35152
|
+
enum TypeAnnotationCode {
|
|
35153
|
+
TYPE_ANNOTATION_CODE_UNSPECIFIED = 0,
|
|
35154
|
+
PG_NUMERIC = 2,
|
|
35155
|
+
PG_JSONB = 3,
|
|
35156
|
+
PG_OID = 4
|
|
34795
35157
|
}
|
|
34796
35158
|
|
|
34797
|
-
/** Properties of a
|
|
34798
|
-
interface
|
|
35159
|
+
/** Properties of a TransactionOptions. */
|
|
35160
|
+
interface ITransactionOptions {
|
|
34799
35161
|
|
|
34800
|
-
/**
|
|
34801
|
-
|
|
35162
|
+
/** TransactionOptions readWrite */
|
|
35163
|
+
readWrite?: (google.spanner.v1.TransactionOptions.IReadWrite|null);
|
|
34802
35164
|
|
|
34803
|
-
/**
|
|
34804
|
-
|
|
35165
|
+
/** TransactionOptions partitionedDml */
|
|
35166
|
+
partitionedDml?: (google.spanner.v1.TransactionOptions.IPartitionedDml|null);
|
|
34805
35167
|
|
|
34806
|
-
/**
|
|
34807
|
-
|
|
35168
|
+
/** TransactionOptions readOnly */
|
|
35169
|
+
readOnly?: (google.spanner.v1.TransactionOptions.IReadOnly|null);
|
|
34808
35170
|
|
|
34809
|
-
/**
|
|
34810
|
-
|
|
35171
|
+
/** TransactionOptions excludeTxnFromChangeStreams */
|
|
35172
|
+
excludeTxnFromChangeStreams?: (boolean|null);
|
|
35173
|
+
|
|
35174
|
+
/** TransactionOptions isolationLevel */
|
|
35175
|
+
isolationLevel?: (google.spanner.v1.TransactionOptions.IsolationLevel|keyof typeof google.spanner.v1.TransactionOptions.IsolationLevel|null);
|
|
34811
35176
|
}
|
|
34812
35177
|
|
|
34813
|
-
/** Represents a
|
|
34814
|
-
class
|
|
35178
|
+
/** Represents a TransactionOptions. */
|
|
35179
|
+
class TransactionOptions implements ITransactionOptions {
|
|
34815
35180
|
|
|
34816
35181
|
/**
|
|
34817
|
-
* Constructs a new
|
|
35182
|
+
* Constructs a new TransactionOptions.
|
|
34818
35183
|
* @param [properties] Properties to set
|
|
34819
35184
|
*/
|
|
34820
|
-
constructor(properties?: google.spanner.v1.
|
|
35185
|
+
constructor(properties?: google.spanner.v1.ITransactionOptions);
|
|
34821
35186
|
|
|
34822
|
-
/**
|
|
34823
|
-
public
|
|
35187
|
+
/** TransactionOptions readWrite. */
|
|
35188
|
+
public readWrite?: (google.spanner.v1.TransactionOptions.IReadWrite|null);
|
|
34824
35189
|
|
|
34825
|
-
/**
|
|
34826
|
-
public
|
|
35190
|
+
/** TransactionOptions partitionedDml. */
|
|
35191
|
+
public partitionedDml?: (google.spanner.v1.TransactionOptions.IPartitionedDml|null);
|
|
34827
35192
|
|
|
34828
|
-
/**
|
|
34829
|
-
public
|
|
35193
|
+
/** TransactionOptions readOnly. */
|
|
35194
|
+
public readOnly?: (google.spanner.v1.TransactionOptions.IReadOnly|null);
|
|
34830
35195
|
|
|
34831
|
-
/**
|
|
34832
|
-
public
|
|
35196
|
+
/** TransactionOptions excludeTxnFromChangeStreams. */
|
|
35197
|
+
public excludeTxnFromChangeStreams: boolean;
|
|
35198
|
+
|
|
35199
|
+
/** TransactionOptions isolationLevel. */
|
|
35200
|
+
public isolationLevel: (google.spanner.v1.TransactionOptions.IsolationLevel|keyof typeof google.spanner.v1.TransactionOptions.IsolationLevel);
|
|
35201
|
+
|
|
35202
|
+
/** TransactionOptions mode. */
|
|
35203
|
+
public mode?: ("readWrite"|"partitionedDml"|"readOnly");
|
|
34833
35204
|
|
|
34834
35205
|
/**
|
|
34835
|
-
* Creates a new
|
|
35206
|
+
* Creates a new TransactionOptions instance using the specified properties.
|
|
34836
35207
|
* @param [properties] Properties to set
|
|
34837
|
-
* @returns
|
|
35208
|
+
* @returns TransactionOptions instance
|
|
34838
35209
|
*/
|
|
34839
|
-
public static create(properties?: google.spanner.v1.
|
|
35210
|
+
public static create(properties?: google.spanner.v1.ITransactionOptions): google.spanner.v1.TransactionOptions;
|
|
34840
35211
|
|
|
34841
35212
|
/**
|
|
34842
|
-
* Encodes the specified
|
|
34843
|
-
* @param message
|
|
35213
|
+
* Encodes the specified TransactionOptions message. Does not implicitly {@link google.spanner.v1.TransactionOptions.verify|verify} messages.
|
|
35214
|
+
* @param message TransactionOptions message or plain object to encode
|
|
34844
35215
|
* @param [writer] Writer to encode to
|
|
34845
35216
|
* @returns Writer
|
|
34846
35217
|
*/
|
|
34847
|
-
public static encode(message: google.spanner.v1.
|
|
35218
|
+
public static encode(message: google.spanner.v1.ITransactionOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
34848
35219
|
|
|
34849
35220
|
/**
|
|
34850
|
-
* Encodes the specified
|
|
34851
|
-
* @param message
|
|
35221
|
+
* Encodes the specified TransactionOptions message, length delimited. Does not implicitly {@link google.spanner.v1.TransactionOptions.verify|verify} messages.
|
|
35222
|
+
* @param message TransactionOptions message or plain object to encode
|
|
34852
35223
|
* @param [writer] Writer to encode to
|
|
34853
35224
|
* @returns Writer
|
|
34854
35225
|
*/
|
|
34855
|
-
public static encodeDelimited(message: google.spanner.v1.
|
|
35226
|
+
public static encodeDelimited(message: google.spanner.v1.ITransactionOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
34856
35227
|
|
|
34857
35228
|
/**
|
|
34858
|
-
* Decodes a
|
|
35229
|
+
* Decodes a TransactionOptions message from the specified reader or buffer.
|
|
34859
35230
|
* @param reader Reader or buffer to decode from
|
|
34860
35231
|
* @param [length] Message length if known beforehand
|
|
34861
|
-
* @returns
|
|
35232
|
+
* @returns TransactionOptions
|
|
34862
35233
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34863
35234
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34864
35235
|
*/
|
|
34865
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.
|
|
35236
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.TransactionOptions;
|
|
34866
35237
|
|
|
34867
35238
|
/**
|
|
34868
|
-
* Decodes a
|
|
35239
|
+
* Decodes a TransactionOptions message from the specified reader or buffer, length delimited.
|
|
34869
35240
|
* @param reader Reader or buffer to decode from
|
|
34870
|
-
* @returns
|
|
35241
|
+
* @returns TransactionOptions
|
|
34871
35242
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34872
35243
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34873
35244
|
*/
|
|
34874
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.
|
|
35245
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.TransactionOptions;
|
|
34875
35246
|
|
|
34876
35247
|
/**
|
|
34877
|
-
* Verifies a
|
|
35248
|
+
* Verifies a TransactionOptions message.
|
|
34878
35249
|
* @param message Plain object to verify
|
|
34879
35250
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
34880
35251
|
*/
|
|
34881
35252
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
34882
35253
|
|
|
34883
35254
|
/**
|
|
34884
|
-
* Creates a
|
|
35255
|
+
* Creates a TransactionOptions message from a plain object. Also converts values to their respective internal types.
|
|
34885
35256
|
* @param object Plain object
|
|
34886
|
-
* @returns
|
|
35257
|
+
* @returns TransactionOptions
|
|
34887
35258
|
*/
|
|
34888
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.v1.
|
|
35259
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.TransactionOptions;
|
|
34889
35260
|
|
|
34890
35261
|
/**
|
|
34891
|
-
* Creates a plain object from a
|
|
34892
|
-
* @param message
|
|
35262
|
+
* Creates a plain object from a TransactionOptions message. Also converts values to other types if specified.
|
|
35263
|
+
* @param message TransactionOptions
|
|
34893
35264
|
* @param [options] Conversion options
|
|
34894
35265
|
* @returns Plain object
|
|
34895
35266
|
*/
|
|
34896
|
-
public static toObject(message: google.spanner.v1.
|
|
35267
|
+
public static toObject(message: google.spanner.v1.TransactionOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
34897
35268
|
|
|
34898
35269
|
/**
|
|
34899
|
-
* Converts this
|
|
35270
|
+
* Converts this TransactionOptions to JSON.
|
|
34900
35271
|
* @returns JSON object
|
|
34901
35272
|
*/
|
|
34902
35273
|
public toJSON(): { [k: string]: any };
|
|
34903
35274
|
|
|
34904
35275
|
/**
|
|
34905
|
-
* Gets the default type url for
|
|
35276
|
+
* Gets the default type url for TransactionOptions
|
|
34906
35277
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
34907
35278
|
* @returns The default type url
|
|
34908
35279
|
*/
|
|
34909
35280
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
34910
35281
|
}
|
|
34911
35282
|
|
|
34912
|
-
|
|
34913
|
-
interface IKeyRecipe {
|
|
35283
|
+
namespace TransactionOptions {
|
|
34914
35284
|
|
|
34915
|
-
/**
|
|
34916
|
-
|
|
35285
|
+
/** Properties of a ReadWrite. */
|
|
35286
|
+
interface IReadWrite {
|
|
34917
35287
|
|
|
34918
|
-
|
|
34919
|
-
|
|
35288
|
+
/** ReadWrite readLockMode */
|
|
35289
|
+
readLockMode?: (google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode|keyof typeof google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode|null);
|
|
34920
35290
|
|
|
34921
|
-
|
|
34922
|
-
|
|
35291
|
+
/** ReadWrite multiplexedSessionPreviousTransactionId */
|
|
35292
|
+
multiplexedSessionPreviousTransactionId?: (Uint8Array|Buffer|string|null);
|
|
35293
|
+
}
|
|
34923
35294
|
|
|
34924
|
-
/**
|
|
34925
|
-
|
|
34926
|
-
}
|
|
35295
|
+
/** Represents a ReadWrite. */
|
|
35296
|
+
class ReadWrite implements IReadWrite {
|
|
34927
35297
|
|
|
34928
|
-
|
|
34929
|
-
|
|
35298
|
+
/**
|
|
35299
|
+
* Constructs a new ReadWrite.
|
|
35300
|
+
* @param [properties] Properties to set
|
|
35301
|
+
*/
|
|
35302
|
+
constructor(properties?: google.spanner.v1.TransactionOptions.IReadWrite);
|
|
34930
35303
|
|
|
34931
|
-
|
|
34932
|
-
|
|
34933
|
-
* @param [properties] Properties to set
|
|
34934
|
-
*/
|
|
34935
|
-
constructor(properties?: google.spanner.v1.IKeyRecipe);
|
|
35304
|
+
/** ReadWrite readLockMode. */
|
|
35305
|
+
public readLockMode: (google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode|keyof typeof google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode);
|
|
34936
35306
|
|
|
34937
|
-
|
|
34938
|
-
|
|
35307
|
+
/** ReadWrite multiplexedSessionPreviousTransactionId. */
|
|
35308
|
+
public multiplexedSessionPreviousTransactionId: (Uint8Array|Buffer|string);
|
|
34939
35309
|
|
|
34940
|
-
|
|
34941
|
-
|
|
35310
|
+
/**
|
|
35311
|
+
* Creates a new ReadWrite instance using the specified properties.
|
|
35312
|
+
* @param [properties] Properties to set
|
|
35313
|
+
* @returns ReadWrite instance
|
|
35314
|
+
*/
|
|
35315
|
+
public static create(properties?: google.spanner.v1.TransactionOptions.IReadWrite): google.spanner.v1.TransactionOptions.ReadWrite;
|
|
34942
35316
|
|
|
34943
|
-
|
|
34944
|
-
|
|
35317
|
+
/**
|
|
35318
|
+
* Encodes the specified ReadWrite message. Does not implicitly {@link google.spanner.v1.TransactionOptions.ReadWrite.verify|verify} messages.
|
|
35319
|
+
* @param message ReadWrite message or plain object to encode
|
|
35320
|
+
* @param [writer] Writer to encode to
|
|
35321
|
+
* @returns Writer
|
|
35322
|
+
*/
|
|
35323
|
+
public static encode(message: google.spanner.v1.TransactionOptions.IReadWrite, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
34945
35324
|
|
|
34946
|
-
|
|
34947
|
-
|
|
35325
|
+
/**
|
|
35326
|
+
* Encodes the specified ReadWrite message, length delimited. Does not implicitly {@link google.spanner.v1.TransactionOptions.ReadWrite.verify|verify} messages.
|
|
35327
|
+
* @param message ReadWrite message or plain object to encode
|
|
35328
|
+
* @param [writer] Writer to encode to
|
|
35329
|
+
* @returns Writer
|
|
35330
|
+
*/
|
|
35331
|
+
public static encodeDelimited(message: google.spanner.v1.TransactionOptions.IReadWrite, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
34948
35332
|
|
|
34949
|
-
|
|
34950
|
-
|
|
35333
|
+
/**
|
|
35334
|
+
* Decodes a ReadWrite message from the specified reader or buffer.
|
|
35335
|
+
* @param reader Reader or buffer to decode from
|
|
35336
|
+
* @param [length] Message length if known beforehand
|
|
35337
|
+
* @returns ReadWrite
|
|
35338
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35339
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35340
|
+
*/
|
|
35341
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.TransactionOptions.ReadWrite;
|
|
34951
35342
|
|
|
34952
|
-
|
|
34953
|
-
|
|
34954
|
-
|
|
34955
|
-
|
|
34956
|
-
|
|
34957
|
-
|
|
35343
|
+
/**
|
|
35344
|
+
* Decodes a ReadWrite message from the specified reader or buffer, length delimited.
|
|
35345
|
+
* @param reader Reader or buffer to decode from
|
|
35346
|
+
* @returns ReadWrite
|
|
35347
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35348
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35349
|
+
*/
|
|
35350
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.TransactionOptions.ReadWrite;
|
|
34958
35351
|
|
|
34959
|
-
|
|
34960
|
-
|
|
34961
|
-
|
|
34962
|
-
|
|
34963
|
-
|
|
34964
|
-
|
|
34965
|
-
|
|
35352
|
+
/**
|
|
35353
|
+
* Verifies a ReadWrite message.
|
|
35354
|
+
* @param message Plain object to verify
|
|
35355
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
35356
|
+
*/
|
|
35357
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
35358
|
+
|
|
35359
|
+
/**
|
|
35360
|
+
* Creates a ReadWrite message from a plain object. Also converts values to their respective internal types.
|
|
35361
|
+
* @param object Plain object
|
|
35362
|
+
* @returns ReadWrite
|
|
35363
|
+
*/
|
|
35364
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.TransactionOptions.ReadWrite;
|
|
35365
|
+
|
|
35366
|
+
/**
|
|
35367
|
+
* Creates a plain object from a ReadWrite message. Also converts values to other types if specified.
|
|
35368
|
+
* @param message ReadWrite
|
|
35369
|
+
* @param [options] Conversion options
|
|
35370
|
+
* @returns Plain object
|
|
35371
|
+
*/
|
|
35372
|
+
public static toObject(message: google.spanner.v1.TransactionOptions.ReadWrite, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
35373
|
+
|
|
35374
|
+
/**
|
|
35375
|
+
* Converts this ReadWrite to JSON.
|
|
35376
|
+
* @returns JSON object
|
|
35377
|
+
*/
|
|
35378
|
+
public toJSON(): { [k: string]: any };
|
|
35379
|
+
|
|
35380
|
+
/**
|
|
35381
|
+
* Gets the default type url for ReadWrite
|
|
35382
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
35383
|
+
* @returns The default type url
|
|
35384
|
+
*/
|
|
35385
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
35386
|
+
}
|
|
35387
|
+
|
|
35388
|
+
namespace ReadWrite {
|
|
35389
|
+
|
|
35390
|
+
/** ReadLockMode enum. */
|
|
35391
|
+
enum ReadLockMode {
|
|
35392
|
+
READ_LOCK_MODE_UNSPECIFIED = 0,
|
|
35393
|
+
PESSIMISTIC = 1,
|
|
35394
|
+
OPTIMISTIC = 2
|
|
35395
|
+
}
|
|
35396
|
+
}
|
|
35397
|
+
|
|
35398
|
+
/** Properties of a PartitionedDml. */
|
|
35399
|
+
interface IPartitionedDml {
|
|
35400
|
+
}
|
|
34966
35401
|
|
|
34967
|
-
/**
|
|
34968
|
-
|
|
34969
|
-
* @param message KeyRecipe message or plain object to encode
|
|
34970
|
-
* @param [writer] Writer to encode to
|
|
34971
|
-
* @returns Writer
|
|
34972
|
-
*/
|
|
34973
|
-
public static encodeDelimited(message: google.spanner.v1.IKeyRecipe, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35402
|
+
/** Represents a PartitionedDml. */
|
|
35403
|
+
class PartitionedDml implements IPartitionedDml {
|
|
34974
35404
|
|
|
34975
|
-
|
|
34976
|
-
|
|
34977
|
-
|
|
34978
|
-
|
|
34979
|
-
|
|
34980
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34981
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34982
|
-
*/
|
|
34983
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.KeyRecipe;
|
|
35405
|
+
/**
|
|
35406
|
+
* Constructs a new PartitionedDml.
|
|
35407
|
+
* @param [properties] Properties to set
|
|
35408
|
+
*/
|
|
35409
|
+
constructor(properties?: google.spanner.v1.TransactionOptions.IPartitionedDml);
|
|
34984
35410
|
|
|
34985
|
-
|
|
34986
|
-
|
|
34987
|
-
|
|
34988
|
-
|
|
34989
|
-
|
|
34990
|
-
|
|
34991
|
-
*/
|
|
34992
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.KeyRecipe;
|
|
35411
|
+
/**
|
|
35412
|
+
* Creates a new PartitionedDml instance using the specified properties.
|
|
35413
|
+
* @param [properties] Properties to set
|
|
35414
|
+
* @returns PartitionedDml instance
|
|
35415
|
+
*/
|
|
35416
|
+
public static create(properties?: google.spanner.v1.TransactionOptions.IPartitionedDml): google.spanner.v1.TransactionOptions.PartitionedDml;
|
|
34993
35417
|
|
|
34994
|
-
|
|
34995
|
-
|
|
34996
|
-
|
|
34997
|
-
|
|
34998
|
-
|
|
34999
|
-
|
|
35418
|
+
/**
|
|
35419
|
+
* Encodes the specified PartitionedDml message. Does not implicitly {@link google.spanner.v1.TransactionOptions.PartitionedDml.verify|verify} messages.
|
|
35420
|
+
* @param message PartitionedDml message or plain object to encode
|
|
35421
|
+
* @param [writer] Writer to encode to
|
|
35422
|
+
* @returns Writer
|
|
35423
|
+
*/
|
|
35424
|
+
public static encode(message: google.spanner.v1.TransactionOptions.IPartitionedDml, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35000
35425
|
|
|
35001
|
-
|
|
35002
|
-
|
|
35003
|
-
|
|
35004
|
-
|
|
35005
|
-
|
|
35006
|
-
|
|
35426
|
+
/**
|
|
35427
|
+
* Encodes the specified PartitionedDml message, length delimited. Does not implicitly {@link google.spanner.v1.TransactionOptions.PartitionedDml.verify|verify} messages.
|
|
35428
|
+
* @param message PartitionedDml message or plain object to encode
|
|
35429
|
+
* @param [writer] Writer to encode to
|
|
35430
|
+
* @returns Writer
|
|
35431
|
+
*/
|
|
35432
|
+
public static encodeDelimited(message: google.spanner.v1.TransactionOptions.IPartitionedDml, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35007
35433
|
|
|
35008
|
-
|
|
35009
|
-
|
|
35010
|
-
|
|
35011
|
-
|
|
35012
|
-
|
|
35013
|
-
|
|
35014
|
-
|
|
35434
|
+
/**
|
|
35435
|
+
* Decodes a PartitionedDml message from the specified reader or buffer.
|
|
35436
|
+
* @param reader Reader or buffer to decode from
|
|
35437
|
+
* @param [length] Message length if known beforehand
|
|
35438
|
+
* @returns PartitionedDml
|
|
35439
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35440
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35441
|
+
*/
|
|
35442
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.TransactionOptions.PartitionedDml;
|
|
35015
35443
|
|
|
35016
|
-
|
|
35017
|
-
|
|
35018
|
-
|
|
35019
|
-
|
|
35020
|
-
|
|
35444
|
+
/**
|
|
35445
|
+
* Decodes a PartitionedDml message from the specified reader or buffer, length delimited.
|
|
35446
|
+
* @param reader Reader or buffer to decode from
|
|
35447
|
+
* @returns PartitionedDml
|
|
35448
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35449
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35450
|
+
*/
|
|
35451
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.TransactionOptions.PartitionedDml;
|
|
35021
35452
|
|
|
35022
|
-
|
|
35023
|
-
|
|
35024
|
-
|
|
35025
|
-
|
|
35026
|
-
|
|
35027
|
-
|
|
35028
|
-
}
|
|
35453
|
+
/**
|
|
35454
|
+
* Verifies a PartitionedDml message.
|
|
35455
|
+
* @param message Plain object to verify
|
|
35456
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
35457
|
+
*/
|
|
35458
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
35029
35459
|
|
|
35030
|
-
|
|
35460
|
+
/**
|
|
35461
|
+
* Creates a PartitionedDml message from a plain object. Also converts values to their respective internal types.
|
|
35462
|
+
* @param object Plain object
|
|
35463
|
+
* @returns PartitionedDml
|
|
35464
|
+
*/
|
|
35465
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.TransactionOptions.PartitionedDml;
|
|
35031
35466
|
|
|
35032
|
-
|
|
35033
|
-
|
|
35467
|
+
/**
|
|
35468
|
+
* Creates a plain object from a PartitionedDml message. Also converts values to other types if specified.
|
|
35469
|
+
* @param message PartitionedDml
|
|
35470
|
+
* @param [options] Conversion options
|
|
35471
|
+
* @returns Plain object
|
|
35472
|
+
*/
|
|
35473
|
+
public static toObject(message: google.spanner.v1.TransactionOptions.PartitionedDml, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
35034
35474
|
|
|
35035
|
-
/**
|
|
35036
|
-
|
|
35475
|
+
/**
|
|
35476
|
+
* Converts this PartitionedDml to JSON.
|
|
35477
|
+
* @returns JSON object
|
|
35478
|
+
*/
|
|
35479
|
+
public toJSON(): { [k: string]: any };
|
|
35037
35480
|
|
|
35038
|
-
/**
|
|
35039
|
-
|
|
35481
|
+
/**
|
|
35482
|
+
* Gets the default type url for PartitionedDml
|
|
35483
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
35484
|
+
* @returns The default type url
|
|
35485
|
+
*/
|
|
35486
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
35487
|
+
}
|
|
35040
35488
|
|
|
35041
|
-
|
|
35042
|
-
|
|
35489
|
+
/** Properties of a ReadOnly. */
|
|
35490
|
+
interface IReadOnly {
|
|
35043
35491
|
|
|
35044
|
-
/**
|
|
35045
|
-
|
|
35492
|
+
/** ReadOnly strong */
|
|
35493
|
+
strong?: (boolean|null);
|
|
35046
35494
|
|
|
35047
|
-
/**
|
|
35048
|
-
|
|
35495
|
+
/** ReadOnly minReadTimestamp */
|
|
35496
|
+
minReadTimestamp?: (google.protobuf.ITimestamp|null);
|
|
35049
35497
|
|
|
35050
|
-
/**
|
|
35051
|
-
|
|
35498
|
+
/** ReadOnly maxStaleness */
|
|
35499
|
+
maxStaleness?: (google.protobuf.IDuration|null);
|
|
35052
35500
|
|
|
35053
|
-
/**
|
|
35054
|
-
|
|
35501
|
+
/** ReadOnly readTimestamp */
|
|
35502
|
+
readTimestamp?: (google.protobuf.ITimestamp|null);
|
|
35055
35503
|
|
|
35056
|
-
/**
|
|
35057
|
-
|
|
35504
|
+
/** ReadOnly exactStaleness */
|
|
35505
|
+
exactStaleness?: (google.protobuf.IDuration|null);
|
|
35506
|
+
|
|
35507
|
+
/** ReadOnly returnReadTimestamp */
|
|
35508
|
+
returnReadTimestamp?: (boolean|null);
|
|
35058
35509
|
}
|
|
35059
35510
|
|
|
35060
|
-
/** Represents a
|
|
35061
|
-
class
|
|
35511
|
+
/** Represents a ReadOnly. */
|
|
35512
|
+
class ReadOnly implements IReadOnly {
|
|
35062
35513
|
|
|
35063
35514
|
/**
|
|
35064
|
-
* Constructs a new
|
|
35515
|
+
* Constructs a new ReadOnly.
|
|
35065
35516
|
* @param [properties] Properties to set
|
|
35066
35517
|
*/
|
|
35067
|
-
constructor(properties?: google.spanner.v1.
|
|
35068
|
-
|
|
35069
|
-
/** Part tag. */
|
|
35070
|
-
public tag: number;
|
|
35071
|
-
|
|
35072
|
-
/** Part order. */
|
|
35073
|
-
public order: (google.spanner.v1.KeyRecipe.Part.Order|keyof typeof google.spanner.v1.KeyRecipe.Part.Order);
|
|
35518
|
+
constructor(properties?: google.spanner.v1.TransactionOptions.IReadOnly);
|
|
35074
35519
|
|
|
35075
|
-
/**
|
|
35076
|
-
public
|
|
35520
|
+
/** ReadOnly strong. */
|
|
35521
|
+
public strong?: (boolean|null);
|
|
35077
35522
|
|
|
35078
|
-
/**
|
|
35079
|
-
public
|
|
35523
|
+
/** ReadOnly minReadTimestamp. */
|
|
35524
|
+
public minReadTimestamp?: (google.protobuf.ITimestamp|null);
|
|
35080
35525
|
|
|
35081
|
-
/**
|
|
35082
|
-
public
|
|
35526
|
+
/** ReadOnly maxStaleness. */
|
|
35527
|
+
public maxStaleness?: (google.protobuf.IDuration|null);
|
|
35083
35528
|
|
|
35084
|
-
/**
|
|
35085
|
-
public
|
|
35529
|
+
/** ReadOnly readTimestamp. */
|
|
35530
|
+
public readTimestamp?: (google.protobuf.ITimestamp|null);
|
|
35086
35531
|
|
|
35087
|
-
/**
|
|
35088
|
-
public
|
|
35532
|
+
/** ReadOnly exactStaleness. */
|
|
35533
|
+
public exactStaleness?: (google.protobuf.IDuration|null);
|
|
35089
35534
|
|
|
35090
|
-
/**
|
|
35091
|
-
public
|
|
35535
|
+
/** ReadOnly returnReadTimestamp. */
|
|
35536
|
+
public returnReadTimestamp: boolean;
|
|
35092
35537
|
|
|
35093
|
-
/**
|
|
35094
|
-
public
|
|
35538
|
+
/** ReadOnly timestampBound. */
|
|
35539
|
+
public timestampBound?: ("strong"|"minReadTimestamp"|"maxStaleness"|"readTimestamp"|"exactStaleness");
|
|
35095
35540
|
|
|
35096
35541
|
/**
|
|
35097
|
-
* Creates a new
|
|
35542
|
+
* Creates a new ReadOnly instance using the specified properties.
|
|
35098
35543
|
* @param [properties] Properties to set
|
|
35099
|
-
* @returns
|
|
35544
|
+
* @returns ReadOnly instance
|
|
35100
35545
|
*/
|
|
35101
|
-
public static create(properties?: google.spanner.v1.
|
|
35546
|
+
public static create(properties?: google.spanner.v1.TransactionOptions.IReadOnly): google.spanner.v1.TransactionOptions.ReadOnly;
|
|
35102
35547
|
|
|
35103
35548
|
/**
|
|
35104
|
-
* Encodes the specified
|
|
35105
|
-
* @param message
|
|
35549
|
+
* Encodes the specified ReadOnly message. Does not implicitly {@link google.spanner.v1.TransactionOptions.ReadOnly.verify|verify} messages.
|
|
35550
|
+
* @param message ReadOnly message or plain object to encode
|
|
35106
35551
|
* @param [writer] Writer to encode to
|
|
35107
35552
|
* @returns Writer
|
|
35108
35553
|
*/
|
|
35109
|
-
public static encode(message: google.spanner.v1.
|
|
35554
|
+
public static encode(message: google.spanner.v1.TransactionOptions.IReadOnly, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35110
35555
|
|
|
35111
35556
|
/**
|
|
35112
|
-
* Encodes the specified
|
|
35113
|
-
* @param message
|
|
35557
|
+
* Encodes the specified ReadOnly message, length delimited. Does not implicitly {@link google.spanner.v1.TransactionOptions.ReadOnly.verify|verify} messages.
|
|
35558
|
+
* @param message ReadOnly message or plain object to encode
|
|
35114
35559
|
* @param [writer] Writer to encode to
|
|
35115
35560
|
* @returns Writer
|
|
35116
35561
|
*/
|
|
35117
|
-
public static encodeDelimited(message: google.spanner.v1.
|
|
35562
|
+
public static encodeDelimited(message: google.spanner.v1.TransactionOptions.IReadOnly, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35118
35563
|
|
|
35119
35564
|
/**
|
|
35120
|
-
* Decodes a
|
|
35565
|
+
* Decodes a ReadOnly message from the specified reader or buffer.
|
|
35121
35566
|
* @param reader Reader or buffer to decode from
|
|
35122
35567
|
* @param [length] Message length if known beforehand
|
|
35123
|
-
* @returns
|
|
35568
|
+
* @returns ReadOnly
|
|
35124
35569
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35125
35570
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35126
35571
|
*/
|
|
35127
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.
|
|
35572
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.TransactionOptions.ReadOnly;
|
|
35128
35573
|
|
|
35129
35574
|
/**
|
|
35130
|
-
* Decodes a
|
|
35575
|
+
* Decodes a ReadOnly message from the specified reader or buffer, length delimited.
|
|
35131
35576
|
* @param reader Reader or buffer to decode from
|
|
35132
|
-
* @returns
|
|
35577
|
+
* @returns ReadOnly
|
|
35133
35578
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35134
35579
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35135
35580
|
*/
|
|
35136
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.
|
|
35581
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.TransactionOptions.ReadOnly;
|
|
35137
35582
|
|
|
35138
35583
|
/**
|
|
35139
|
-
* Verifies a
|
|
35584
|
+
* Verifies a ReadOnly message.
|
|
35140
35585
|
* @param message Plain object to verify
|
|
35141
35586
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
35142
35587
|
*/
|
|
35143
35588
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
35144
35589
|
|
|
35145
35590
|
/**
|
|
35146
|
-
* Creates a
|
|
35591
|
+
* Creates a ReadOnly message from a plain object. Also converts values to their respective internal types.
|
|
35147
35592
|
* @param object Plain object
|
|
35148
|
-
* @returns
|
|
35593
|
+
* @returns ReadOnly
|
|
35149
35594
|
*/
|
|
35150
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.v1.
|
|
35595
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.TransactionOptions.ReadOnly;
|
|
35151
35596
|
|
|
35152
35597
|
/**
|
|
35153
|
-
* Creates a plain object from a
|
|
35154
|
-
* @param message
|
|
35598
|
+
* Creates a plain object from a ReadOnly message. Also converts values to other types if specified.
|
|
35599
|
+
* @param message ReadOnly
|
|
35155
35600
|
* @param [options] Conversion options
|
|
35156
35601
|
* @returns Plain object
|
|
35157
35602
|
*/
|
|
35158
|
-
public static toObject(message: google.spanner.v1.
|
|
35603
|
+
public static toObject(message: google.spanner.v1.TransactionOptions.ReadOnly, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
35159
35604
|
|
|
35160
35605
|
/**
|
|
35161
|
-
* Converts this
|
|
35606
|
+
* Converts this ReadOnly to JSON.
|
|
35162
35607
|
* @returns JSON object
|
|
35163
35608
|
*/
|
|
35164
35609
|
public toJSON(): { [k: string]: any };
|
|
35165
35610
|
|
|
35166
35611
|
/**
|
|
35167
|
-
* Gets the default type url for
|
|
35612
|
+
* Gets the default type url for ReadOnly
|
|
35168
35613
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
35169
35614
|
* @returns The default type url
|
|
35170
35615
|
*/
|
|
35171
35616
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
35172
35617
|
}
|
|
35173
35618
|
|
|
35174
|
-
|
|
35175
|
-
|
|
35176
|
-
|
|
35177
|
-
|
|
35178
|
-
|
|
35179
|
-
ASCENDING = 1,
|
|
35180
|
-
DESCENDING = 2
|
|
35181
|
-
}
|
|
35182
|
-
|
|
35183
|
-
/** NullOrder enum. */
|
|
35184
|
-
enum NullOrder {
|
|
35185
|
-
NULL_ORDER_UNSPECIFIED = 0,
|
|
35186
|
-
NULLS_FIRST = 1,
|
|
35187
|
-
NULLS_LAST = 2,
|
|
35188
|
-
NOT_NULL = 3
|
|
35189
|
-
}
|
|
35619
|
+
/** IsolationLevel enum. */
|
|
35620
|
+
enum IsolationLevel {
|
|
35621
|
+
ISOLATION_LEVEL_UNSPECIFIED = 0,
|
|
35622
|
+
SERIALIZABLE = 1,
|
|
35623
|
+
REPEATABLE_READ = 2
|
|
35190
35624
|
}
|
|
35191
35625
|
}
|
|
35192
35626
|
|
|
35193
|
-
/** Properties of a
|
|
35194
|
-
interface
|
|
35627
|
+
/** Properties of a Transaction. */
|
|
35628
|
+
interface ITransaction {
|
|
35195
35629
|
|
|
35196
|
-
/**
|
|
35197
|
-
|
|
35630
|
+
/** Transaction id */
|
|
35631
|
+
id?: (Uint8Array|Buffer|string|null);
|
|
35198
35632
|
|
|
35199
|
-
/**
|
|
35200
|
-
|
|
35633
|
+
/** Transaction readTimestamp */
|
|
35634
|
+
readTimestamp?: (google.protobuf.ITimestamp|null);
|
|
35635
|
+
|
|
35636
|
+
/** Transaction precommitToken */
|
|
35637
|
+
precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
|
|
35638
|
+
|
|
35639
|
+
/** Transaction cacheUpdate */
|
|
35640
|
+
cacheUpdate?: (google.spanner.v1.ICacheUpdate|null);
|
|
35201
35641
|
}
|
|
35202
35642
|
|
|
35203
|
-
/** Represents a
|
|
35204
|
-
class
|
|
35643
|
+
/** Represents a Transaction. */
|
|
35644
|
+
class Transaction implements ITransaction {
|
|
35205
35645
|
|
|
35206
35646
|
/**
|
|
35207
|
-
* Constructs a new
|
|
35647
|
+
* Constructs a new Transaction.
|
|
35208
35648
|
* @param [properties] Properties to set
|
|
35209
35649
|
*/
|
|
35210
|
-
constructor(properties?: google.spanner.v1.
|
|
35650
|
+
constructor(properties?: google.spanner.v1.ITransaction);
|
|
35211
35651
|
|
|
35212
|
-
/**
|
|
35213
|
-
public
|
|
35652
|
+
/** Transaction id. */
|
|
35653
|
+
public id: (Uint8Array|Buffer|string);
|
|
35214
35654
|
|
|
35215
|
-
/**
|
|
35216
|
-
public
|
|
35655
|
+
/** Transaction readTimestamp. */
|
|
35656
|
+
public readTimestamp?: (google.protobuf.ITimestamp|null);
|
|
35657
|
+
|
|
35658
|
+
/** Transaction precommitToken. */
|
|
35659
|
+
public precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
|
|
35660
|
+
|
|
35661
|
+
/** Transaction cacheUpdate. */
|
|
35662
|
+
public cacheUpdate?: (google.spanner.v1.ICacheUpdate|null);
|
|
35217
35663
|
|
|
35218
35664
|
/**
|
|
35219
|
-
* Creates a new
|
|
35665
|
+
* Creates a new Transaction instance using the specified properties.
|
|
35220
35666
|
* @param [properties] Properties to set
|
|
35221
|
-
* @returns
|
|
35667
|
+
* @returns Transaction instance
|
|
35222
35668
|
*/
|
|
35223
|
-
public static create(properties?: google.spanner.v1.
|
|
35669
|
+
public static create(properties?: google.spanner.v1.ITransaction): google.spanner.v1.Transaction;
|
|
35224
35670
|
|
|
35225
35671
|
/**
|
|
35226
|
-
* Encodes the specified
|
|
35227
|
-
* @param message
|
|
35672
|
+
* Encodes the specified Transaction message. Does not implicitly {@link google.spanner.v1.Transaction.verify|verify} messages.
|
|
35673
|
+
* @param message Transaction message or plain object to encode
|
|
35228
35674
|
* @param [writer] Writer to encode to
|
|
35229
35675
|
* @returns Writer
|
|
35230
35676
|
*/
|
|
35231
|
-
public static encode(message: google.spanner.v1.
|
|
35677
|
+
public static encode(message: google.spanner.v1.ITransaction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35232
35678
|
|
|
35233
35679
|
/**
|
|
35234
|
-
* Encodes the specified
|
|
35235
|
-
* @param message
|
|
35680
|
+
* Encodes the specified Transaction message, length delimited. Does not implicitly {@link google.spanner.v1.Transaction.verify|verify} messages.
|
|
35681
|
+
* @param message Transaction message or plain object to encode
|
|
35236
35682
|
* @param [writer] Writer to encode to
|
|
35237
35683
|
* @returns Writer
|
|
35238
35684
|
*/
|
|
35239
|
-
public static encodeDelimited(message: google.spanner.v1.
|
|
35685
|
+
public static encodeDelimited(message: google.spanner.v1.ITransaction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35240
35686
|
|
|
35241
35687
|
/**
|
|
35242
|
-
* Decodes a
|
|
35688
|
+
* Decodes a Transaction message from the specified reader or buffer.
|
|
35243
35689
|
* @param reader Reader or buffer to decode from
|
|
35244
35690
|
* @param [length] Message length if known beforehand
|
|
35245
|
-
* @returns
|
|
35691
|
+
* @returns Transaction
|
|
35246
35692
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35247
35693
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35248
35694
|
*/
|
|
35249
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.
|
|
35695
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.Transaction;
|
|
35250
35696
|
|
|
35251
35697
|
/**
|
|
35252
|
-
* Decodes a
|
|
35698
|
+
* Decodes a Transaction message from the specified reader or buffer, length delimited.
|
|
35253
35699
|
* @param reader Reader or buffer to decode from
|
|
35254
|
-
* @returns
|
|
35700
|
+
* @returns Transaction
|
|
35255
35701
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35256
35702
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35257
35703
|
*/
|
|
35258
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.
|
|
35704
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.Transaction;
|
|
35259
35705
|
|
|
35260
35706
|
/**
|
|
35261
|
-
* Verifies a
|
|
35707
|
+
* Verifies a Transaction message.
|
|
35262
35708
|
* @param message Plain object to verify
|
|
35263
35709
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
35264
35710
|
*/
|
|
35265
35711
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
35266
35712
|
|
|
35267
35713
|
/**
|
|
35268
|
-
* Creates a
|
|
35714
|
+
* Creates a Transaction message from a plain object. Also converts values to their respective internal types.
|
|
35269
35715
|
* @param object Plain object
|
|
35270
|
-
* @returns
|
|
35716
|
+
* @returns Transaction
|
|
35271
35717
|
*/
|
|
35272
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.v1.
|
|
35718
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.Transaction;
|
|
35273
35719
|
|
|
35274
35720
|
/**
|
|
35275
|
-
* Creates a plain object from a
|
|
35276
|
-
* @param message
|
|
35721
|
+
* Creates a plain object from a Transaction message. Also converts values to other types if specified.
|
|
35722
|
+
* @param message Transaction
|
|
35277
35723
|
* @param [options] Conversion options
|
|
35278
35724
|
* @returns Plain object
|
|
35279
35725
|
*/
|
|
35280
|
-
public static toObject(message: google.spanner.v1.
|
|
35726
|
+
public static toObject(message: google.spanner.v1.Transaction, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
35281
35727
|
|
|
35282
35728
|
/**
|
|
35283
|
-
* Converts this
|
|
35729
|
+
* Converts this Transaction to JSON.
|
|
35284
35730
|
* @returns JSON object
|
|
35285
35731
|
*/
|
|
35286
35732
|
public toJSON(): { [k: string]: any };
|
|
35287
35733
|
|
|
35288
35734
|
/**
|
|
35289
|
-
* Gets the default type url for
|
|
35735
|
+
* Gets the default type url for Transaction
|
|
35290
35736
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
35291
35737
|
* @returns The default type url
|
|
35292
35738
|
*/
|
|
35293
35739
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
35294
35740
|
}
|
|
35295
35741
|
|
|
35296
|
-
/** Properties of a
|
|
35297
|
-
interface
|
|
35298
|
-
|
|
35299
|
-
/** CacheUpdate databaseId */
|
|
35300
|
-
databaseId?: (number|Long|string|null);
|
|
35742
|
+
/** Properties of a TransactionSelector. */
|
|
35743
|
+
interface ITransactionSelector {
|
|
35301
35744
|
|
|
35302
|
-
/**
|
|
35303
|
-
|
|
35745
|
+
/** TransactionSelector singleUse */
|
|
35746
|
+
singleUse?: (google.spanner.v1.ITransactionOptions|null);
|
|
35304
35747
|
|
|
35305
|
-
/**
|
|
35306
|
-
|
|
35748
|
+
/** TransactionSelector id */
|
|
35749
|
+
id?: (Uint8Array|Buffer|string|null);
|
|
35307
35750
|
|
|
35308
|
-
/**
|
|
35309
|
-
|
|
35751
|
+
/** TransactionSelector begin */
|
|
35752
|
+
begin?: (google.spanner.v1.ITransactionOptions|null);
|
|
35310
35753
|
}
|
|
35311
35754
|
|
|
35312
|
-
/** Represents a
|
|
35313
|
-
class
|
|
35755
|
+
/** Represents a TransactionSelector. */
|
|
35756
|
+
class TransactionSelector implements ITransactionSelector {
|
|
35314
35757
|
|
|
35315
35758
|
/**
|
|
35316
|
-
* Constructs a new
|
|
35759
|
+
* Constructs a new TransactionSelector.
|
|
35317
35760
|
* @param [properties] Properties to set
|
|
35318
35761
|
*/
|
|
35319
|
-
constructor(properties?: google.spanner.v1.
|
|
35762
|
+
constructor(properties?: google.spanner.v1.ITransactionSelector);
|
|
35320
35763
|
|
|
35321
|
-
/**
|
|
35322
|
-
public
|
|
35764
|
+
/** TransactionSelector singleUse. */
|
|
35765
|
+
public singleUse?: (google.spanner.v1.ITransactionOptions|null);
|
|
35323
35766
|
|
|
35324
|
-
/**
|
|
35325
|
-
public
|
|
35767
|
+
/** TransactionSelector id. */
|
|
35768
|
+
public id?: (Uint8Array|Buffer|string|null);
|
|
35326
35769
|
|
|
35327
|
-
/**
|
|
35328
|
-
public
|
|
35770
|
+
/** TransactionSelector begin. */
|
|
35771
|
+
public begin?: (google.spanner.v1.ITransactionOptions|null);
|
|
35329
35772
|
|
|
35330
|
-
/**
|
|
35331
|
-
public
|
|
35773
|
+
/** TransactionSelector selector. */
|
|
35774
|
+
public selector?: ("singleUse"|"id"|"begin");
|
|
35332
35775
|
|
|
35333
35776
|
/**
|
|
35334
|
-
* Creates a new
|
|
35777
|
+
* Creates a new TransactionSelector instance using the specified properties.
|
|
35335
35778
|
* @param [properties] Properties to set
|
|
35336
|
-
* @returns
|
|
35779
|
+
* @returns TransactionSelector instance
|
|
35337
35780
|
*/
|
|
35338
|
-
public static create(properties?: google.spanner.v1.
|
|
35781
|
+
public static create(properties?: google.spanner.v1.ITransactionSelector): google.spanner.v1.TransactionSelector;
|
|
35339
35782
|
|
|
35340
35783
|
/**
|
|
35341
|
-
* Encodes the specified
|
|
35342
|
-
* @param message
|
|
35784
|
+
* Encodes the specified TransactionSelector message. Does not implicitly {@link google.spanner.v1.TransactionSelector.verify|verify} messages.
|
|
35785
|
+
* @param message TransactionSelector message or plain object to encode
|
|
35343
35786
|
* @param [writer] Writer to encode to
|
|
35344
35787
|
* @returns Writer
|
|
35345
35788
|
*/
|
|
35346
|
-
public static encode(message: google.spanner.v1.
|
|
35789
|
+
public static encode(message: google.spanner.v1.ITransactionSelector, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35347
35790
|
|
|
35348
35791
|
/**
|
|
35349
|
-
* Encodes the specified
|
|
35350
|
-
* @param message
|
|
35792
|
+
* Encodes the specified TransactionSelector message, length delimited. Does not implicitly {@link google.spanner.v1.TransactionSelector.verify|verify} messages.
|
|
35793
|
+
* @param message TransactionSelector message or plain object to encode
|
|
35351
35794
|
* @param [writer] Writer to encode to
|
|
35352
35795
|
* @returns Writer
|
|
35353
35796
|
*/
|
|
35354
|
-
public static encodeDelimited(message: google.spanner.v1.
|
|
35797
|
+
public static encodeDelimited(message: google.spanner.v1.ITransactionSelector, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35355
35798
|
|
|
35356
35799
|
/**
|
|
35357
|
-
* Decodes a
|
|
35800
|
+
* Decodes a TransactionSelector message from the specified reader or buffer.
|
|
35358
35801
|
* @param reader Reader or buffer to decode from
|
|
35359
35802
|
* @param [length] Message length if known beforehand
|
|
35360
|
-
* @returns
|
|
35803
|
+
* @returns TransactionSelector
|
|
35361
35804
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35362
35805
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35363
35806
|
*/
|
|
35364
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.
|
|
35807
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.TransactionSelector;
|
|
35365
35808
|
|
|
35366
35809
|
/**
|
|
35367
|
-
* Decodes a
|
|
35810
|
+
* Decodes a TransactionSelector message from the specified reader or buffer, length delimited.
|
|
35368
35811
|
* @param reader Reader or buffer to decode from
|
|
35369
|
-
* @returns
|
|
35812
|
+
* @returns TransactionSelector
|
|
35370
35813
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35371
35814
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35372
35815
|
*/
|
|
35373
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.
|
|
35816
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.TransactionSelector;
|
|
35374
35817
|
|
|
35375
35818
|
/**
|
|
35376
|
-
* Verifies a
|
|
35819
|
+
* Verifies a TransactionSelector message.
|
|
35377
35820
|
* @param message Plain object to verify
|
|
35378
35821
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
35379
35822
|
*/
|
|
35380
35823
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
35381
35824
|
|
|
35382
35825
|
/**
|
|
35383
|
-
* Creates a
|
|
35826
|
+
* Creates a TransactionSelector message from a plain object. Also converts values to their respective internal types.
|
|
35384
35827
|
* @param object Plain object
|
|
35385
|
-
* @returns
|
|
35828
|
+
* @returns TransactionSelector
|
|
35386
35829
|
*/
|
|
35387
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.v1.
|
|
35830
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.TransactionSelector;
|
|
35388
35831
|
|
|
35389
35832
|
/**
|
|
35390
|
-
* Creates a plain object from a
|
|
35391
|
-
* @param message
|
|
35833
|
+
* Creates a plain object from a TransactionSelector message. Also converts values to other types if specified.
|
|
35834
|
+
* @param message TransactionSelector
|
|
35392
35835
|
* @param [options] Conversion options
|
|
35393
35836
|
* @returns Plain object
|
|
35394
35837
|
*/
|
|
35395
|
-
public static toObject(message: google.spanner.v1.
|
|
35838
|
+
public static toObject(message: google.spanner.v1.TransactionSelector, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
35396
35839
|
|
|
35397
35840
|
/**
|
|
35398
|
-
* Converts this
|
|
35841
|
+
* Converts this TransactionSelector to JSON.
|
|
35399
35842
|
* @returns JSON object
|
|
35400
35843
|
*/
|
|
35401
35844
|
public toJSON(): { [k: string]: any };
|
|
35402
35845
|
|
|
35403
|
-
/**
|
|
35404
|
-
* Gets the default type url for
|
|
35405
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
35406
|
-
* @returns The default type url
|
|
35407
|
-
*/
|
|
35408
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
35409
|
-
}
|
|
35410
|
-
|
|
35411
|
-
/** Properties of a RoutingHint. */
|
|
35412
|
-
interface IRoutingHint {
|
|
35413
|
-
|
|
35414
|
-
/** RoutingHint operationUid */
|
|
35415
|
-
operationUid?: (number|Long|string|null);
|
|
35416
|
-
|
|
35417
|
-
/** RoutingHint databaseId */
|
|
35418
|
-
databaseId?: (number|Long|string|null);
|
|
35419
|
-
|
|
35420
|
-
/** RoutingHint schemaGeneration */
|
|
35421
|
-
schemaGeneration?: (Uint8Array|Buffer|string|null);
|
|
35422
|
-
|
|
35423
|
-
/** RoutingHint key */
|
|
35424
|
-
key?: (Uint8Array|Buffer|string|null);
|
|
35425
|
-
|
|
35426
|
-
/** RoutingHint limitKey */
|
|
35427
|
-
limitKey?: (Uint8Array|Buffer|string|null);
|
|
35428
|
-
|
|
35429
|
-
/** RoutingHint groupUid */
|
|
35430
|
-
groupUid?: (number|Long|string|null);
|
|
35431
|
-
|
|
35432
|
-
/** RoutingHint splitId */
|
|
35433
|
-
splitId?: (number|Long|string|null);
|
|
35434
|
-
|
|
35435
|
-
/** RoutingHint tabletUid */
|
|
35436
|
-
tabletUid?: (number|Long|string|null);
|
|
35437
|
-
|
|
35438
|
-
/** RoutingHint skippedTabletUid */
|
|
35439
|
-
skippedTabletUid?: (google.spanner.v1.RoutingHint.ISkippedTablet[]|null);
|
|
35440
|
-
|
|
35441
|
-
/** RoutingHint clientLocation */
|
|
35442
|
-
clientLocation?: (string|null);
|
|
35443
|
-
}
|
|
35444
|
-
|
|
35445
|
-
/** Represents a RoutingHint. */
|
|
35446
|
-
class RoutingHint implements IRoutingHint {
|
|
35447
|
-
|
|
35448
|
-
/**
|
|
35449
|
-
* Constructs a new RoutingHint.
|
|
35450
|
-
* @param [properties] Properties to set
|
|
35451
|
-
*/
|
|
35452
|
-
constructor(properties?: google.spanner.v1.IRoutingHint);
|
|
35453
|
-
|
|
35454
|
-
/** RoutingHint operationUid. */
|
|
35455
|
-
public operationUid: (number|Long|string);
|
|
35456
|
-
|
|
35457
|
-
/** RoutingHint databaseId. */
|
|
35458
|
-
public databaseId: (number|Long|string);
|
|
35459
|
-
|
|
35460
|
-
/** RoutingHint schemaGeneration. */
|
|
35461
|
-
public schemaGeneration: (Uint8Array|Buffer|string);
|
|
35846
|
+
/**
|
|
35847
|
+
* Gets the default type url for TransactionSelector
|
|
35848
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
35849
|
+
* @returns The default type url
|
|
35850
|
+
*/
|
|
35851
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
35852
|
+
}
|
|
35462
35853
|
|
|
35463
|
-
|
|
35464
|
-
|
|
35854
|
+
/** Properties of a MultiplexedSessionPrecommitToken. */
|
|
35855
|
+
interface IMultiplexedSessionPrecommitToken {
|
|
35465
35856
|
|
|
35466
|
-
/**
|
|
35467
|
-
|
|
35857
|
+
/** MultiplexedSessionPrecommitToken precommitToken */
|
|
35858
|
+
precommitToken?: (Uint8Array|Buffer|string|null);
|
|
35468
35859
|
|
|
35469
|
-
/**
|
|
35470
|
-
|
|
35860
|
+
/** MultiplexedSessionPrecommitToken seqNum */
|
|
35861
|
+
seqNum?: (number|null);
|
|
35862
|
+
}
|
|
35471
35863
|
|
|
35472
|
-
|
|
35473
|
-
|
|
35864
|
+
/** Represents a MultiplexedSessionPrecommitToken. */
|
|
35865
|
+
class MultiplexedSessionPrecommitToken implements IMultiplexedSessionPrecommitToken {
|
|
35474
35866
|
|
|
35475
|
-
/**
|
|
35476
|
-
|
|
35867
|
+
/**
|
|
35868
|
+
* Constructs a new MultiplexedSessionPrecommitToken.
|
|
35869
|
+
* @param [properties] Properties to set
|
|
35870
|
+
*/
|
|
35871
|
+
constructor(properties?: google.spanner.v1.IMultiplexedSessionPrecommitToken);
|
|
35477
35872
|
|
|
35478
|
-
/**
|
|
35479
|
-
public
|
|
35873
|
+
/** MultiplexedSessionPrecommitToken precommitToken. */
|
|
35874
|
+
public precommitToken: (Uint8Array|Buffer|string);
|
|
35480
35875
|
|
|
35481
|
-
/**
|
|
35482
|
-
public
|
|
35876
|
+
/** MultiplexedSessionPrecommitToken seqNum. */
|
|
35877
|
+
public seqNum: number;
|
|
35483
35878
|
|
|
35484
35879
|
/**
|
|
35485
|
-
* Creates a new
|
|
35880
|
+
* Creates a new MultiplexedSessionPrecommitToken instance using the specified properties.
|
|
35486
35881
|
* @param [properties] Properties to set
|
|
35487
|
-
* @returns
|
|
35882
|
+
* @returns MultiplexedSessionPrecommitToken instance
|
|
35488
35883
|
*/
|
|
35489
|
-
public static create(properties?: google.spanner.v1.
|
|
35884
|
+
public static create(properties?: google.spanner.v1.IMultiplexedSessionPrecommitToken): google.spanner.v1.MultiplexedSessionPrecommitToken;
|
|
35490
35885
|
|
|
35491
35886
|
/**
|
|
35492
|
-
* Encodes the specified
|
|
35493
|
-
* @param message
|
|
35887
|
+
* Encodes the specified MultiplexedSessionPrecommitToken message. Does not implicitly {@link google.spanner.v1.MultiplexedSessionPrecommitToken.verify|verify} messages.
|
|
35888
|
+
* @param message MultiplexedSessionPrecommitToken message or plain object to encode
|
|
35494
35889
|
* @param [writer] Writer to encode to
|
|
35495
35890
|
* @returns Writer
|
|
35496
35891
|
*/
|
|
35497
|
-
public static encode(message: google.spanner.v1.
|
|
35892
|
+
public static encode(message: google.spanner.v1.IMultiplexedSessionPrecommitToken, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35498
35893
|
|
|
35499
35894
|
/**
|
|
35500
|
-
* Encodes the specified
|
|
35501
|
-
* @param message
|
|
35895
|
+
* Encodes the specified MultiplexedSessionPrecommitToken message, length delimited. Does not implicitly {@link google.spanner.v1.MultiplexedSessionPrecommitToken.verify|verify} messages.
|
|
35896
|
+
* @param message MultiplexedSessionPrecommitToken message or plain object to encode
|
|
35502
35897
|
* @param [writer] Writer to encode to
|
|
35503
35898
|
* @returns Writer
|
|
35504
35899
|
*/
|
|
35505
|
-
public static encodeDelimited(message: google.spanner.v1.
|
|
35900
|
+
public static encodeDelimited(message: google.spanner.v1.IMultiplexedSessionPrecommitToken, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35506
35901
|
|
|
35507
35902
|
/**
|
|
35508
|
-
* Decodes a
|
|
35903
|
+
* Decodes a MultiplexedSessionPrecommitToken message from the specified reader or buffer.
|
|
35509
35904
|
* @param reader Reader or buffer to decode from
|
|
35510
35905
|
* @param [length] Message length if known beforehand
|
|
35511
|
-
* @returns
|
|
35906
|
+
* @returns MultiplexedSessionPrecommitToken
|
|
35512
35907
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35513
35908
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35514
35909
|
*/
|
|
35515
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.
|
|
35910
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.MultiplexedSessionPrecommitToken;
|
|
35516
35911
|
|
|
35517
35912
|
/**
|
|
35518
|
-
* Decodes a
|
|
35913
|
+
* Decodes a MultiplexedSessionPrecommitToken message from the specified reader or buffer, length delimited.
|
|
35519
35914
|
* @param reader Reader or buffer to decode from
|
|
35520
|
-
* @returns
|
|
35915
|
+
* @returns MultiplexedSessionPrecommitToken
|
|
35521
35916
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35522
35917
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35523
35918
|
*/
|
|
35524
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.
|
|
35919
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.MultiplexedSessionPrecommitToken;
|
|
35525
35920
|
|
|
35526
35921
|
/**
|
|
35527
|
-
* Verifies a
|
|
35922
|
+
* Verifies a MultiplexedSessionPrecommitToken message.
|
|
35528
35923
|
* @param message Plain object to verify
|
|
35529
35924
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
35530
35925
|
*/
|
|
35531
35926
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
35532
35927
|
|
|
35533
35928
|
/**
|
|
35534
|
-
* Creates a
|
|
35929
|
+
* Creates a MultiplexedSessionPrecommitToken message from a plain object. Also converts values to their respective internal types.
|
|
35535
35930
|
* @param object Plain object
|
|
35536
|
-
* @returns
|
|
35931
|
+
* @returns MultiplexedSessionPrecommitToken
|
|
35537
35932
|
*/
|
|
35538
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.v1.
|
|
35933
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.MultiplexedSessionPrecommitToken;
|
|
35539
35934
|
|
|
35540
35935
|
/**
|
|
35541
|
-
* Creates a plain object from a
|
|
35542
|
-
* @param message
|
|
35936
|
+
* Creates a plain object from a MultiplexedSessionPrecommitToken message. Also converts values to other types if specified.
|
|
35937
|
+
* @param message MultiplexedSessionPrecommitToken
|
|
35543
35938
|
* @param [options] Conversion options
|
|
35544
35939
|
* @returns Plain object
|
|
35545
35940
|
*/
|
|
35546
|
-
public static toObject(message: google.spanner.v1.
|
|
35941
|
+
public static toObject(message: google.spanner.v1.MultiplexedSessionPrecommitToken, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
35547
35942
|
|
|
35548
35943
|
/**
|
|
35549
|
-
* Converts this
|
|
35944
|
+
* Converts this MultiplexedSessionPrecommitToken to JSON.
|
|
35550
35945
|
* @returns JSON object
|
|
35551
35946
|
*/
|
|
35552
35947
|
public toJSON(): { [k: string]: any };
|
|
35553
35948
|
|
|
35554
35949
|
/**
|
|
35555
|
-
* Gets the default type url for
|
|
35950
|
+
* Gets the default type url for MultiplexedSessionPrecommitToken
|
|
35556
35951
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
35557
35952
|
* @returns The default type url
|
|
35558
35953
|
*/
|
|
35559
35954
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
35560
35955
|
}
|
|
35561
35956
|
|
|
35562
|
-
|
|
35563
|
-
|
|
35564
|
-
/** Properties of a SkippedTablet. */
|
|
35565
|
-
interface ISkippedTablet {
|
|
35566
|
-
|
|
35567
|
-
/** SkippedTablet tabletUid */
|
|
35568
|
-
tabletUid?: (number|Long|string|null);
|
|
35569
|
-
|
|
35570
|
-
/** SkippedTablet incarnation */
|
|
35571
|
-
incarnation?: (Uint8Array|Buffer|string|null);
|
|
35572
|
-
}
|
|
35573
|
-
|
|
35574
|
-
/** Represents a SkippedTablet. */
|
|
35575
|
-
class SkippedTablet implements ISkippedTablet {
|
|
35576
|
-
|
|
35577
|
-
/**
|
|
35578
|
-
* Constructs a new SkippedTablet.
|
|
35579
|
-
* @param [properties] Properties to set
|
|
35580
|
-
*/
|
|
35581
|
-
constructor(properties?: google.spanner.v1.RoutingHint.ISkippedTablet);
|
|
35582
|
-
|
|
35583
|
-
/** SkippedTablet tabletUid. */
|
|
35584
|
-
public tabletUid: (number|Long|string);
|
|
35585
|
-
|
|
35586
|
-
/** SkippedTablet incarnation. */
|
|
35587
|
-
public incarnation: (Uint8Array|Buffer|string);
|
|
35588
|
-
|
|
35589
|
-
/**
|
|
35590
|
-
* Creates a new SkippedTablet instance using the specified properties.
|
|
35591
|
-
* @param [properties] Properties to set
|
|
35592
|
-
* @returns SkippedTablet instance
|
|
35593
|
-
*/
|
|
35594
|
-
public static create(properties?: google.spanner.v1.RoutingHint.ISkippedTablet): google.spanner.v1.RoutingHint.SkippedTablet;
|
|
35595
|
-
|
|
35596
|
-
/**
|
|
35597
|
-
* Encodes the specified SkippedTablet message. Does not implicitly {@link google.spanner.v1.RoutingHint.SkippedTablet.verify|verify} messages.
|
|
35598
|
-
* @param message SkippedTablet message or plain object to encode
|
|
35599
|
-
* @param [writer] Writer to encode to
|
|
35600
|
-
* @returns Writer
|
|
35601
|
-
*/
|
|
35602
|
-
public static encode(message: google.spanner.v1.RoutingHint.ISkippedTablet, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35603
|
-
|
|
35604
|
-
/**
|
|
35605
|
-
* Encodes the specified SkippedTablet message, length delimited. Does not implicitly {@link google.spanner.v1.RoutingHint.SkippedTablet.verify|verify} messages.
|
|
35606
|
-
* @param message SkippedTablet message or plain object to encode
|
|
35607
|
-
* @param [writer] Writer to encode to
|
|
35608
|
-
* @returns Writer
|
|
35609
|
-
*/
|
|
35610
|
-
public static encodeDelimited(message: google.spanner.v1.RoutingHint.ISkippedTablet, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35611
|
-
|
|
35612
|
-
/**
|
|
35613
|
-
* Decodes a SkippedTablet message from the specified reader or buffer.
|
|
35614
|
-
* @param reader Reader or buffer to decode from
|
|
35615
|
-
* @param [length] Message length if known beforehand
|
|
35616
|
-
* @returns SkippedTablet
|
|
35617
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35618
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35619
|
-
*/
|
|
35620
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.RoutingHint.SkippedTablet;
|
|
35621
|
-
|
|
35622
|
-
/**
|
|
35623
|
-
* Decodes a SkippedTablet message from the specified reader or buffer, length delimited.
|
|
35624
|
-
* @param reader Reader or buffer to decode from
|
|
35625
|
-
* @returns SkippedTablet
|
|
35626
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35627
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35628
|
-
*/
|
|
35629
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.RoutingHint.SkippedTablet;
|
|
35630
|
-
|
|
35631
|
-
/**
|
|
35632
|
-
* Verifies a SkippedTablet message.
|
|
35633
|
-
* @param message Plain object to verify
|
|
35634
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
35635
|
-
*/
|
|
35636
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
35637
|
-
|
|
35638
|
-
/**
|
|
35639
|
-
* Creates a SkippedTablet message from a plain object. Also converts values to their respective internal types.
|
|
35640
|
-
* @param object Plain object
|
|
35641
|
-
* @returns SkippedTablet
|
|
35642
|
-
*/
|
|
35643
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.v1.RoutingHint.SkippedTablet;
|
|
35644
|
-
|
|
35645
|
-
/**
|
|
35646
|
-
* Creates a plain object from a SkippedTablet message. Also converts values to other types if specified.
|
|
35647
|
-
* @param message SkippedTablet
|
|
35648
|
-
* @param [options] Conversion options
|
|
35649
|
-
* @returns Plain object
|
|
35650
|
-
*/
|
|
35651
|
-
public static toObject(message: google.spanner.v1.RoutingHint.SkippedTablet, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
35652
|
-
|
|
35653
|
-
/**
|
|
35654
|
-
* Converts this SkippedTablet to JSON.
|
|
35655
|
-
* @returns JSON object
|
|
35656
|
-
*/
|
|
35657
|
-
public toJSON(): { [k: string]: any };
|
|
35658
|
-
|
|
35659
|
-
/**
|
|
35660
|
-
* Gets the default type url for SkippedTablet
|
|
35661
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
35662
|
-
* @returns The default type url
|
|
35663
|
-
*/
|
|
35664
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
35665
|
-
}
|
|
35666
|
-
}
|
|
35667
|
-
|
|
35668
|
-
/** Properties of a Type. */
|
|
35669
|
-
interface IType {
|
|
35670
|
-
|
|
35671
|
-
/** Type code */
|
|
35672
|
-
code?: (google.spanner.v1.TypeCode|keyof typeof google.spanner.v1.TypeCode|null);
|
|
35957
|
+
/** Properties of a KeyRange. */
|
|
35958
|
+
interface IKeyRange {
|
|
35673
35959
|
|
|
35674
|
-
/**
|
|
35675
|
-
|
|
35960
|
+
/** KeyRange startClosed */
|
|
35961
|
+
startClosed?: (google.protobuf.IListValue|null);
|
|
35676
35962
|
|
|
35677
|
-
/**
|
|
35678
|
-
|
|
35963
|
+
/** KeyRange startOpen */
|
|
35964
|
+
startOpen?: (google.protobuf.IListValue|null);
|
|
35679
35965
|
|
|
35680
|
-
/**
|
|
35681
|
-
|
|
35966
|
+
/** KeyRange endClosed */
|
|
35967
|
+
endClosed?: (google.protobuf.IListValue|null);
|
|
35682
35968
|
|
|
35683
|
-
/**
|
|
35684
|
-
|
|
35969
|
+
/** KeyRange endOpen */
|
|
35970
|
+
endOpen?: (google.protobuf.IListValue|null);
|
|
35685
35971
|
}
|
|
35686
35972
|
|
|
35687
|
-
/** Represents a
|
|
35688
|
-
class
|
|
35973
|
+
/** Represents a KeyRange. */
|
|
35974
|
+
class KeyRange implements IKeyRange {
|
|
35689
35975
|
|
|
35690
35976
|
/**
|
|
35691
|
-
* Constructs a new
|
|
35977
|
+
* Constructs a new KeyRange.
|
|
35692
35978
|
* @param [properties] Properties to set
|
|
35693
35979
|
*/
|
|
35694
|
-
constructor(properties?: google.spanner.v1.
|
|
35980
|
+
constructor(properties?: google.spanner.v1.IKeyRange);
|
|
35695
35981
|
|
|
35696
|
-
/**
|
|
35697
|
-
public
|
|
35982
|
+
/** KeyRange startClosed. */
|
|
35983
|
+
public startClosed?: (google.protobuf.IListValue|null);
|
|
35698
35984
|
|
|
35699
|
-
/**
|
|
35700
|
-
public
|
|
35985
|
+
/** KeyRange startOpen. */
|
|
35986
|
+
public startOpen?: (google.protobuf.IListValue|null);
|
|
35701
35987
|
|
|
35702
|
-
/**
|
|
35703
|
-
public
|
|
35988
|
+
/** KeyRange endClosed. */
|
|
35989
|
+
public endClosed?: (google.protobuf.IListValue|null);
|
|
35704
35990
|
|
|
35705
|
-
/**
|
|
35706
|
-
public
|
|
35991
|
+
/** KeyRange endOpen. */
|
|
35992
|
+
public endOpen?: (google.protobuf.IListValue|null);
|
|
35707
35993
|
|
|
35708
|
-
/**
|
|
35709
|
-
public
|
|
35994
|
+
/** KeyRange startKeyType. */
|
|
35995
|
+
public startKeyType?: ("startClosed"|"startOpen");
|
|
35996
|
+
|
|
35997
|
+
/** KeyRange endKeyType. */
|
|
35998
|
+
public endKeyType?: ("endClosed"|"endOpen");
|
|
35710
35999
|
|
|
35711
36000
|
/**
|
|
35712
|
-
* Creates a new
|
|
36001
|
+
* Creates a new KeyRange instance using the specified properties.
|
|
35713
36002
|
* @param [properties] Properties to set
|
|
35714
|
-
* @returns
|
|
36003
|
+
* @returns KeyRange instance
|
|
35715
36004
|
*/
|
|
35716
|
-
public static create(properties?: google.spanner.v1.
|
|
36005
|
+
public static create(properties?: google.spanner.v1.IKeyRange): google.spanner.v1.KeyRange;
|
|
35717
36006
|
|
|
35718
|
-
/**
|
|
35719
|
-
* Encodes the specified
|
|
35720
|
-
* @param message
|
|
36007
|
+
/**
|
|
36008
|
+
* Encodes the specified KeyRange message. Does not implicitly {@link google.spanner.v1.KeyRange.verify|verify} messages.
|
|
36009
|
+
* @param message KeyRange message or plain object to encode
|
|
35721
36010
|
* @param [writer] Writer to encode to
|
|
35722
36011
|
* @returns Writer
|
|
35723
36012
|
*/
|
|
35724
|
-
public static encode(message: google.spanner.v1.
|
|
36013
|
+
public static encode(message: google.spanner.v1.IKeyRange, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35725
36014
|
|
|
35726
36015
|
/**
|
|
35727
|
-
* Encodes the specified
|
|
35728
|
-
* @param message
|
|
36016
|
+
* Encodes the specified KeyRange message, length delimited. Does not implicitly {@link google.spanner.v1.KeyRange.verify|verify} messages.
|
|
36017
|
+
* @param message KeyRange message or plain object to encode
|
|
35729
36018
|
* @param [writer] Writer to encode to
|
|
35730
36019
|
* @returns Writer
|
|
35731
36020
|
*/
|
|
35732
|
-
public static encodeDelimited(message: google.spanner.v1.
|
|
36021
|
+
public static encodeDelimited(message: google.spanner.v1.IKeyRange, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35733
36022
|
|
|
35734
36023
|
/**
|
|
35735
|
-
* Decodes a
|
|
36024
|
+
* Decodes a KeyRange message from the specified reader or buffer.
|
|
35736
36025
|
* @param reader Reader or buffer to decode from
|
|
35737
36026
|
* @param [length] Message length if known beforehand
|
|
35738
|
-
* @returns
|
|
36027
|
+
* @returns KeyRange
|
|
35739
36028
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35740
36029
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35741
36030
|
*/
|
|
35742
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.
|
|
36031
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.KeyRange;
|
|
35743
36032
|
|
|
35744
36033
|
/**
|
|
35745
|
-
* Decodes a
|
|
36034
|
+
* Decodes a KeyRange message from the specified reader or buffer, length delimited.
|
|
35746
36035
|
* @param reader Reader or buffer to decode from
|
|
35747
|
-
* @returns
|
|
36036
|
+
* @returns KeyRange
|
|
35748
36037
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35749
36038
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35750
36039
|
*/
|
|
35751
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.
|
|
36040
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.KeyRange;
|
|
35752
36041
|
|
|
35753
36042
|
/**
|
|
35754
|
-
* Verifies a
|
|
36043
|
+
* Verifies a KeyRange message.
|
|
35755
36044
|
* @param message Plain object to verify
|
|
35756
36045
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
35757
36046
|
*/
|
|
35758
36047
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
35759
36048
|
|
|
35760
36049
|
/**
|
|
35761
|
-
* Creates a
|
|
36050
|
+
* Creates a KeyRange message from a plain object. Also converts values to their respective internal types.
|
|
35762
36051
|
* @param object Plain object
|
|
35763
|
-
* @returns
|
|
36052
|
+
* @returns KeyRange
|
|
35764
36053
|
*/
|
|
35765
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.v1.
|
|
36054
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.KeyRange;
|
|
35766
36055
|
|
|
35767
36056
|
/**
|
|
35768
|
-
* Creates a plain object from a
|
|
35769
|
-
* @param message
|
|
36057
|
+
* Creates a plain object from a KeyRange message. Also converts values to other types if specified.
|
|
36058
|
+
* @param message KeyRange
|
|
35770
36059
|
* @param [options] Conversion options
|
|
35771
36060
|
* @returns Plain object
|
|
35772
36061
|
*/
|
|
35773
|
-
public static toObject(message: google.spanner.v1.
|
|
36062
|
+
public static toObject(message: google.spanner.v1.KeyRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
35774
36063
|
|
|
35775
36064
|
/**
|
|
35776
|
-
* Converts this
|
|
36065
|
+
* Converts this KeyRange to JSON.
|
|
35777
36066
|
* @returns JSON object
|
|
35778
36067
|
*/
|
|
35779
36068
|
public toJSON(): { [k: string]: any };
|
|
35780
36069
|
|
|
35781
36070
|
/**
|
|
35782
|
-
* Gets the default type url for
|
|
36071
|
+
* Gets the default type url for KeyRange
|
|
35783
36072
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
35784
36073
|
* @returns The default type url
|
|
35785
36074
|
*/
|
|
35786
36075
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
35787
36076
|
}
|
|
35788
36077
|
|
|
35789
|
-
/** Properties of a
|
|
35790
|
-
interface
|
|
36078
|
+
/** Properties of a KeySet. */
|
|
36079
|
+
interface IKeySet {
|
|
35791
36080
|
|
|
35792
|
-
/**
|
|
35793
|
-
|
|
36081
|
+
/** KeySet keys */
|
|
36082
|
+
keys?: (google.protobuf.IListValue[]|null);
|
|
36083
|
+
|
|
36084
|
+
/** KeySet ranges */
|
|
36085
|
+
ranges?: (google.spanner.v1.IKeyRange[]|null);
|
|
36086
|
+
|
|
36087
|
+
/** KeySet all */
|
|
36088
|
+
all?: (boolean|null);
|
|
35794
36089
|
}
|
|
35795
36090
|
|
|
35796
|
-
/** Represents a
|
|
35797
|
-
class
|
|
36091
|
+
/** Represents a KeySet. */
|
|
36092
|
+
class KeySet implements IKeySet {
|
|
35798
36093
|
|
|
35799
36094
|
/**
|
|
35800
|
-
* Constructs a new
|
|
36095
|
+
* Constructs a new KeySet.
|
|
35801
36096
|
* @param [properties] Properties to set
|
|
35802
36097
|
*/
|
|
35803
|
-
constructor(properties?: google.spanner.v1.
|
|
36098
|
+
constructor(properties?: google.spanner.v1.IKeySet);
|
|
35804
36099
|
|
|
35805
|
-
/**
|
|
35806
|
-
public
|
|
36100
|
+
/** KeySet keys. */
|
|
36101
|
+
public keys: google.protobuf.IListValue[];
|
|
36102
|
+
|
|
36103
|
+
/** KeySet ranges. */
|
|
36104
|
+
public ranges: google.spanner.v1.IKeyRange[];
|
|
36105
|
+
|
|
36106
|
+
/** KeySet all. */
|
|
36107
|
+
public all: boolean;
|
|
35807
36108
|
|
|
35808
36109
|
/**
|
|
35809
|
-
* Creates a new
|
|
36110
|
+
* Creates a new KeySet instance using the specified properties.
|
|
35810
36111
|
* @param [properties] Properties to set
|
|
35811
|
-
* @returns
|
|
36112
|
+
* @returns KeySet instance
|
|
35812
36113
|
*/
|
|
35813
|
-
public static create(properties?: google.spanner.v1.
|
|
36114
|
+
public static create(properties?: google.spanner.v1.IKeySet): google.spanner.v1.KeySet;
|
|
35814
36115
|
|
|
35815
36116
|
/**
|
|
35816
|
-
* Encodes the specified
|
|
35817
|
-
* @param message
|
|
36117
|
+
* Encodes the specified KeySet message. Does not implicitly {@link google.spanner.v1.KeySet.verify|verify} messages.
|
|
36118
|
+
* @param message KeySet message or plain object to encode
|
|
35818
36119
|
* @param [writer] Writer to encode to
|
|
35819
36120
|
* @returns Writer
|
|
35820
36121
|
*/
|
|
35821
|
-
public static encode(message: google.spanner.v1.
|
|
36122
|
+
public static encode(message: google.spanner.v1.IKeySet, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35822
36123
|
|
|
35823
36124
|
/**
|
|
35824
|
-
* Encodes the specified
|
|
35825
|
-
* @param message
|
|
36125
|
+
* Encodes the specified KeySet message, length delimited. Does not implicitly {@link google.spanner.v1.KeySet.verify|verify} messages.
|
|
36126
|
+
* @param message KeySet message or plain object to encode
|
|
35826
36127
|
* @param [writer] Writer to encode to
|
|
35827
36128
|
* @returns Writer
|
|
35828
36129
|
*/
|
|
35829
|
-
public static encodeDelimited(message: google.spanner.v1.
|
|
36130
|
+
public static encodeDelimited(message: google.spanner.v1.IKeySet, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35830
36131
|
|
|
35831
36132
|
/**
|
|
35832
|
-
* Decodes a
|
|
36133
|
+
* Decodes a KeySet message from the specified reader or buffer.
|
|
35833
36134
|
* @param reader Reader or buffer to decode from
|
|
35834
36135
|
* @param [length] Message length if known beforehand
|
|
35835
|
-
* @returns
|
|
36136
|
+
* @returns KeySet
|
|
35836
36137
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35837
36138
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35838
36139
|
*/
|
|
35839
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.
|
|
36140
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.KeySet;
|
|
35840
36141
|
|
|
35841
36142
|
/**
|
|
35842
|
-
* Decodes a
|
|
36143
|
+
* Decodes a KeySet message from the specified reader or buffer, length delimited.
|
|
35843
36144
|
* @param reader Reader or buffer to decode from
|
|
35844
|
-
* @returns
|
|
36145
|
+
* @returns KeySet
|
|
35845
36146
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35846
36147
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35847
36148
|
*/
|
|
35848
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.
|
|
36149
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.KeySet;
|
|
35849
36150
|
|
|
35850
36151
|
/**
|
|
35851
|
-
* Verifies a
|
|
36152
|
+
* Verifies a KeySet message.
|
|
35852
36153
|
* @param message Plain object to verify
|
|
35853
36154
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
35854
36155
|
*/
|
|
35855
36156
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
35856
36157
|
|
|
35857
36158
|
/**
|
|
35858
|
-
* Creates a
|
|
36159
|
+
* Creates a KeySet message from a plain object. Also converts values to their respective internal types.
|
|
35859
36160
|
* @param object Plain object
|
|
35860
|
-
* @returns
|
|
36161
|
+
* @returns KeySet
|
|
35861
36162
|
*/
|
|
35862
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.v1.
|
|
36163
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.KeySet;
|
|
35863
36164
|
|
|
35864
36165
|
/**
|
|
35865
|
-
* Creates a plain object from a
|
|
35866
|
-
* @param message
|
|
36166
|
+
* Creates a plain object from a KeySet message. Also converts values to other types if specified.
|
|
36167
|
+
* @param message KeySet
|
|
35867
36168
|
* @param [options] Conversion options
|
|
35868
36169
|
* @returns Plain object
|
|
35869
36170
|
*/
|
|
35870
|
-
public static toObject(message: google.spanner.v1.
|
|
36171
|
+
public static toObject(message: google.spanner.v1.KeySet, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
35871
36172
|
|
|
35872
36173
|
/**
|
|
35873
|
-
* Converts this
|
|
36174
|
+
* Converts this KeySet to JSON.
|
|
35874
36175
|
* @returns JSON object
|
|
35875
36176
|
*/
|
|
35876
36177
|
public toJSON(): { [k: string]: any };
|
|
35877
36178
|
|
|
35878
36179
|
/**
|
|
35879
|
-
* Gets the default type url for
|
|
36180
|
+
* Gets the default type url for KeySet
|
|
35880
36181
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
35881
36182
|
* @returns The default type url
|
|
35882
36183
|
*/
|
|
35883
36184
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
35884
36185
|
}
|
|
35885
36186
|
|
|
35886
|
-
namespace StructType {
|
|
35887
|
-
|
|
35888
|
-
/** Properties of a Field. */
|
|
35889
|
-
interface IField {
|
|
35890
|
-
|
|
35891
|
-
/** Field name */
|
|
35892
|
-
name?: (string|null);
|
|
35893
|
-
|
|
35894
|
-
/** Field type */
|
|
35895
|
-
type?: (google.spanner.v1.IType|null);
|
|
35896
|
-
}
|
|
35897
|
-
|
|
35898
|
-
/** Represents a Field. */
|
|
35899
|
-
class Field implements IField {
|
|
35900
|
-
|
|
35901
|
-
/**
|
|
35902
|
-
* Constructs a new Field.
|
|
35903
|
-
* @param [properties] Properties to set
|
|
35904
|
-
*/
|
|
35905
|
-
constructor(properties?: google.spanner.v1.StructType.IField);
|
|
35906
|
-
|
|
35907
|
-
/** Field name. */
|
|
35908
|
-
public name: string;
|
|
35909
|
-
|
|
35910
|
-
/** Field type. */
|
|
35911
|
-
public type?: (google.spanner.v1.IType|null);
|
|
35912
|
-
|
|
35913
|
-
/**
|
|
35914
|
-
* Creates a new Field instance using the specified properties.
|
|
35915
|
-
* @param [properties] Properties to set
|
|
35916
|
-
* @returns Field instance
|
|
35917
|
-
*/
|
|
35918
|
-
public static create(properties?: google.spanner.v1.StructType.IField): google.spanner.v1.StructType.Field;
|
|
35919
|
-
|
|
35920
|
-
/**
|
|
35921
|
-
* Encodes the specified Field message. Does not implicitly {@link google.spanner.v1.StructType.Field.verify|verify} messages.
|
|
35922
|
-
* @param message Field message or plain object to encode
|
|
35923
|
-
* @param [writer] Writer to encode to
|
|
35924
|
-
* @returns Writer
|
|
35925
|
-
*/
|
|
35926
|
-
public static encode(message: google.spanner.v1.StructType.IField, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35927
|
-
|
|
35928
|
-
/**
|
|
35929
|
-
* Encodes the specified Field message, length delimited. Does not implicitly {@link google.spanner.v1.StructType.Field.verify|verify} messages.
|
|
35930
|
-
* @param message Field message or plain object to encode
|
|
35931
|
-
* @param [writer] Writer to encode to
|
|
35932
|
-
* @returns Writer
|
|
35933
|
-
*/
|
|
35934
|
-
public static encodeDelimited(message: google.spanner.v1.StructType.IField, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35935
|
-
|
|
35936
|
-
/**
|
|
35937
|
-
* Decodes a Field message from the specified reader or buffer.
|
|
35938
|
-
* @param reader Reader or buffer to decode from
|
|
35939
|
-
* @param [length] Message length if known beforehand
|
|
35940
|
-
* @returns Field
|
|
35941
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35942
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35943
|
-
*/
|
|
35944
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.StructType.Field;
|
|
35945
|
-
|
|
35946
|
-
/**
|
|
35947
|
-
* Decodes a Field message from the specified reader or buffer, length delimited.
|
|
35948
|
-
* @param reader Reader or buffer to decode from
|
|
35949
|
-
* @returns Field
|
|
35950
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35951
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35952
|
-
*/
|
|
35953
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.StructType.Field;
|
|
35954
|
-
|
|
35955
|
-
/**
|
|
35956
|
-
* Verifies a Field message.
|
|
35957
|
-
* @param message Plain object to verify
|
|
35958
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
35959
|
-
*/
|
|
35960
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
35961
|
-
|
|
35962
|
-
/**
|
|
35963
|
-
* Creates a Field message from a plain object. Also converts values to their respective internal types.
|
|
35964
|
-
* @param object Plain object
|
|
35965
|
-
* @returns Field
|
|
35966
|
-
*/
|
|
35967
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.v1.StructType.Field;
|
|
35968
|
-
|
|
35969
|
-
/**
|
|
35970
|
-
* Creates a plain object from a Field message. Also converts values to other types if specified.
|
|
35971
|
-
* @param message Field
|
|
35972
|
-
* @param [options] Conversion options
|
|
35973
|
-
* @returns Plain object
|
|
35974
|
-
*/
|
|
35975
|
-
public static toObject(message: google.spanner.v1.StructType.Field, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
35976
|
-
|
|
35977
|
-
/**
|
|
35978
|
-
* Converts this Field to JSON.
|
|
35979
|
-
* @returns JSON object
|
|
35980
|
-
*/
|
|
35981
|
-
public toJSON(): { [k: string]: any };
|
|
35982
|
-
|
|
35983
|
-
/**
|
|
35984
|
-
* Gets the default type url for Field
|
|
35985
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
35986
|
-
* @returns The default type url
|
|
35987
|
-
*/
|
|
35988
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
35989
|
-
}
|
|
35990
|
-
}
|
|
35991
|
-
|
|
35992
|
-
/** TypeCode enum. */
|
|
35993
|
-
enum TypeCode {
|
|
35994
|
-
TYPE_CODE_UNSPECIFIED = 0,
|
|
35995
|
-
BOOL = 1,
|
|
35996
|
-
INT64 = 2,
|
|
35997
|
-
FLOAT64 = 3,
|
|
35998
|
-
FLOAT32 = 15,
|
|
35999
|
-
TIMESTAMP = 4,
|
|
36000
|
-
DATE = 5,
|
|
36001
|
-
STRING = 6,
|
|
36002
|
-
BYTES = 7,
|
|
36003
|
-
ARRAY = 8,
|
|
36004
|
-
STRUCT = 9,
|
|
36005
|
-
NUMERIC = 10,
|
|
36006
|
-
JSON = 11,
|
|
36007
|
-
PROTO = 13,
|
|
36008
|
-
ENUM = 14,
|
|
36009
|
-
INTERVAL = 16,
|
|
36010
|
-
UUID = 17
|
|
36011
|
-
}
|
|
36012
|
-
|
|
36013
|
-
/** TypeAnnotationCode enum. */
|
|
36014
|
-
enum TypeAnnotationCode {
|
|
36015
|
-
TYPE_ANNOTATION_CODE_UNSPECIFIED = 0,
|
|
36016
|
-
PG_NUMERIC = 2,
|
|
36017
|
-
PG_JSONB = 3,
|
|
36018
|
-
PG_OID = 4
|
|
36019
|
-
}
|
|
36020
|
-
|
|
36021
36187
|
/** Properties of a Mutation. */
|
|
36022
36188
|
interface IMutation {
|
|
36023
36189
|
|