@google-cloud/spanner 8.0.0 → 8.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/build/protos/google/spanner/admin/database/v1/spanner_database_admin.proto +35 -0
- package/build/protos/google/spanner/v1/change_stream.proto +451 -0
- package/build/protos/google/spanner/v1/commit_response.proto +9 -4
- package/build/protos/google/spanner/v1/transaction.proto +40 -356
- package/build/protos/protos.d.ts +2087 -4
- package/build/protos/protos.js +6191 -349
- package/build/protos/protos.json +556 -25
- package/build/src/batch-transaction.js +2 -2
- package/build/src/codec.js +20 -21
- package/build/src/common-grpc/service.js +10 -10
- package/build/src/common.d.ts +1 -0
- package/build/src/common.js +9 -1
- package/build/src/database.d.ts +3 -2
- package/build/src/database.js +16 -14
- package/build/src/helper.d.ts +90 -0
- package/build/src/helper.js +154 -0
- package/build/src/index.d.ts +36 -1
- package/build/src/index.js +179 -8
- package/build/src/instrument.js +3 -2
- package/build/src/metrics/constants.d.ts +36 -0
- package/build/src/metrics/constants.js +106 -0
- package/build/src/metrics/external-types.d.ts +20 -0
- package/build/src/metrics/external-types.js +32 -0
- package/build/src/metrics/interceptor.d.ts +13 -0
- package/build/src/metrics/interceptor.js +87 -0
- package/build/src/metrics/metrics-tracer-factory.d.ts +165 -0
- package/build/src/metrics/metrics-tracer-factory.js +389 -0
- package/build/src/metrics/metrics-tracer.d.ts +204 -0
- package/build/src/metrics/metrics-tracer.js +371 -0
- package/build/src/metrics/spanner-metrics-exporter.d.ts +35 -0
- package/build/src/metrics/spanner-metrics-exporter.js +119 -0
- package/build/src/metrics/transform.d.ts +144 -0
- package/build/src/metrics/transform.js +272 -0
- package/build/src/multiplexed-session.d.ts +1 -1
- package/build/src/multiplexed-session.js +2 -4
- package/build/src/partial-result-stream.js +9 -5
- package/build/src/session-factory.d.ts +34 -0
- package/build/src/session-factory.js +30 -0
- package/build/src/session-pool.js +1 -2
- package/build/src/table.d.ts +2 -0
- package/build/src/table.js +5 -0
- package/build/src/transaction-runner.d.ts +6 -0
- package/build/src/transaction-runner.js +8 -0
- package/build/src/transaction.d.ts +44 -1
- package/build/src/transaction.js +202 -49
- package/build/src/v1/database_admin_client.d.ts +34 -0
- package/build/src/v1/database_admin_client.js +167 -1
- package/build/src/v1/database_admin_client_config.json +4 -0
- package/build/src/v1/instance_admin_client.d.ts +120 -0
- package/build/src/v1/instance_admin_client.js +312 -13
- package/build/src/v1/spanner_client.js +108 -0
- package/build/src/v1/spanner_proto_list.json +1 -0
- package/package.json +15 -8
package/build/protos/protos.d.ts
CHANGED
|
@@ -223,6 +223,7 @@ export namespace google {
|
|
|
223
223
|
/** Edition enum. */
|
|
224
224
|
enum Edition {
|
|
225
225
|
EDITION_UNKNOWN = 0,
|
|
226
|
+
EDITION_LEGACY = 900,
|
|
226
227
|
EDITION_PROTO2 = 998,
|
|
227
228
|
EDITION_PROTO3 = 999,
|
|
228
229
|
EDITION_2023 = 1000,
|
|
@@ -253,6 +254,9 @@ export namespace google {
|
|
|
253
254
|
/** FileDescriptorProto weakDependency */
|
|
254
255
|
weakDependency?: (number[]|null);
|
|
255
256
|
|
|
257
|
+
/** FileDescriptorProto optionDependency */
|
|
258
|
+
optionDependency?: (string[]|null);
|
|
259
|
+
|
|
256
260
|
/** FileDescriptorProto messageType */
|
|
257
261
|
messageType?: (google.protobuf.IDescriptorProto[]|null);
|
|
258
262
|
|
|
@@ -302,6 +306,9 @@ export namespace google {
|
|
|
302
306
|
/** FileDescriptorProto weakDependency. */
|
|
303
307
|
public weakDependency: number[];
|
|
304
308
|
|
|
309
|
+
/** FileDescriptorProto optionDependency. */
|
|
310
|
+
public optionDependency: string[];
|
|
311
|
+
|
|
305
312
|
/** FileDescriptorProto messageType. */
|
|
306
313
|
public messageType: google.protobuf.IDescriptorProto[];
|
|
307
314
|
|
|
@@ -436,6 +443,9 @@ export namespace google {
|
|
|
436
443
|
|
|
437
444
|
/** DescriptorProto reservedName */
|
|
438
445
|
reservedName?: (string[]|null);
|
|
446
|
+
|
|
447
|
+
/** DescriptorProto visibility */
|
|
448
|
+
visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|null);
|
|
439
449
|
}
|
|
440
450
|
|
|
441
451
|
/** Represents a DescriptorProto. */
|
|
@@ -477,6 +487,9 @@ export namespace google {
|
|
|
477
487
|
/** DescriptorProto reservedName. */
|
|
478
488
|
public reservedName: string[];
|
|
479
489
|
|
|
490
|
+
/** DescriptorProto visibility. */
|
|
491
|
+
public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility);
|
|
492
|
+
|
|
480
493
|
/**
|
|
481
494
|
* Creates a new DescriptorProto instance using the specified properties.
|
|
482
495
|
* @param [properties] Properties to set
|
|
@@ -1324,6 +1337,9 @@ export namespace google {
|
|
|
1324
1337
|
|
|
1325
1338
|
/** EnumDescriptorProto reservedName */
|
|
1326
1339
|
reservedName?: (string[]|null);
|
|
1340
|
+
|
|
1341
|
+
/** EnumDescriptorProto visibility */
|
|
1342
|
+
visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|null);
|
|
1327
1343
|
}
|
|
1328
1344
|
|
|
1329
1345
|
/** Represents an EnumDescriptorProto. */
|
|
@@ -1350,6 +1366,9 @@ export namespace google {
|
|
|
1350
1366
|
/** EnumDescriptorProto reservedName. */
|
|
1351
1367
|
public reservedName: string[];
|
|
1352
1368
|
|
|
1369
|
+
/** EnumDescriptorProto visibility. */
|
|
1370
|
+
public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility);
|
|
1371
|
+
|
|
1353
1372
|
/**
|
|
1354
1373
|
* Creates a new EnumDescriptorProto instance using the specified properties.
|
|
1355
1374
|
* @param [properties] Properties to set
|
|
@@ -2284,6 +2303,9 @@ export namespace google {
|
|
|
2284
2303
|
/** FieldOptions features */
|
|
2285
2304
|
features?: (google.protobuf.IFeatureSet|null);
|
|
2286
2305
|
|
|
2306
|
+
/** FieldOptions featureSupport */
|
|
2307
|
+
featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null);
|
|
2308
|
+
|
|
2287
2309
|
/** FieldOptions uninterpretedOption */
|
|
2288
2310
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
2289
2311
|
|
|
@@ -2339,6 +2361,9 @@ export namespace google {
|
|
|
2339
2361
|
/** FieldOptions features. */
|
|
2340
2362
|
public features?: (google.protobuf.IFeatureSet|null);
|
|
2341
2363
|
|
|
2364
|
+
/** FieldOptions featureSupport. */
|
|
2365
|
+
public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null);
|
|
2366
|
+
|
|
2342
2367
|
/** FieldOptions uninterpretedOption. */
|
|
2343
2368
|
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
2344
2369
|
|
|
@@ -2559,6 +2584,121 @@ export namespace google {
|
|
|
2559
2584
|
*/
|
|
2560
2585
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2561
2586
|
}
|
|
2587
|
+
|
|
2588
|
+
/** Properties of a FeatureSupport. */
|
|
2589
|
+
interface IFeatureSupport {
|
|
2590
|
+
|
|
2591
|
+
/** FeatureSupport editionIntroduced */
|
|
2592
|
+
editionIntroduced?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
|
|
2593
|
+
|
|
2594
|
+
/** FeatureSupport editionDeprecated */
|
|
2595
|
+
editionDeprecated?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
|
|
2596
|
+
|
|
2597
|
+
/** FeatureSupport deprecationWarning */
|
|
2598
|
+
deprecationWarning?: (string|null);
|
|
2599
|
+
|
|
2600
|
+
/** FeatureSupport editionRemoved */
|
|
2601
|
+
editionRemoved?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
|
|
2602
|
+
}
|
|
2603
|
+
|
|
2604
|
+
/** Represents a FeatureSupport. */
|
|
2605
|
+
class FeatureSupport implements IFeatureSupport {
|
|
2606
|
+
|
|
2607
|
+
/**
|
|
2608
|
+
* Constructs a new FeatureSupport.
|
|
2609
|
+
* @param [properties] Properties to set
|
|
2610
|
+
*/
|
|
2611
|
+
constructor(properties?: google.protobuf.FieldOptions.IFeatureSupport);
|
|
2612
|
+
|
|
2613
|
+
/** FeatureSupport editionIntroduced. */
|
|
2614
|
+
public editionIntroduced: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
|
|
2615
|
+
|
|
2616
|
+
/** FeatureSupport editionDeprecated. */
|
|
2617
|
+
public editionDeprecated: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
|
|
2618
|
+
|
|
2619
|
+
/** FeatureSupport deprecationWarning. */
|
|
2620
|
+
public deprecationWarning: string;
|
|
2621
|
+
|
|
2622
|
+
/** FeatureSupport editionRemoved. */
|
|
2623
|
+
public editionRemoved: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
|
|
2624
|
+
|
|
2625
|
+
/**
|
|
2626
|
+
* Creates a new FeatureSupport instance using the specified properties.
|
|
2627
|
+
* @param [properties] Properties to set
|
|
2628
|
+
* @returns FeatureSupport instance
|
|
2629
|
+
*/
|
|
2630
|
+
public static create(properties?: google.protobuf.FieldOptions.IFeatureSupport): google.protobuf.FieldOptions.FeatureSupport;
|
|
2631
|
+
|
|
2632
|
+
/**
|
|
2633
|
+
* Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages.
|
|
2634
|
+
* @param message FeatureSupport message or plain object to encode
|
|
2635
|
+
* @param [writer] Writer to encode to
|
|
2636
|
+
* @returns Writer
|
|
2637
|
+
*/
|
|
2638
|
+
public static encode(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2639
|
+
|
|
2640
|
+
/**
|
|
2641
|
+
* Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages.
|
|
2642
|
+
* @param message FeatureSupport message or plain object to encode
|
|
2643
|
+
* @param [writer] Writer to encode to
|
|
2644
|
+
* @returns Writer
|
|
2645
|
+
*/
|
|
2646
|
+
public static encodeDelimited(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2647
|
+
|
|
2648
|
+
/**
|
|
2649
|
+
* Decodes a FeatureSupport message from the specified reader or buffer.
|
|
2650
|
+
* @param reader Reader or buffer to decode from
|
|
2651
|
+
* @param [length] Message length if known beforehand
|
|
2652
|
+
* @returns FeatureSupport
|
|
2653
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2654
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2655
|
+
*/
|
|
2656
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions.FeatureSupport;
|
|
2657
|
+
|
|
2658
|
+
/**
|
|
2659
|
+
* Decodes a FeatureSupport message from the specified reader or buffer, length delimited.
|
|
2660
|
+
* @param reader Reader or buffer to decode from
|
|
2661
|
+
* @returns FeatureSupport
|
|
2662
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2663
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2664
|
+
*/
|
|
2665
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions.FeatureSupport;
|
|
2666
|
+
|
|
2667
|
+
/**
|
|
2668
|
+
* Verifies a FeatureSupport message.
|
|
2669
|
+
* @param message Plain object to verify
|
|
2670
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2671
|
+
*/
|
|
2672
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2673
|
+
|
|
2674
|
+
/**
|
|
2675
|
+
* Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types.
|
|
2676
|
+
* @param object Plain object
|
|
2677
|
+
* @returns FeatureSupport
|
|
2678
|
+
*/
|
|
2679
|
+
public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions.FeatureSupport;
|
|
2680
|
+
|
|
2681
|
+
/**
|
|
2682
|
+
* Creates a plain object from a FeatureSupport message. Also converts values to other types if specified.
|
|
2683
|
+
* @param message FeatureSupport
|
|
2684
|
+
* @param [options] Conversion options
|
|
2685
|
+
* @returns Plain object
|
|
2686
|
+
*/
|
|
2687
|
+
public static toObject(message: google.protobuf.FieldOptions.FeatureSupport, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2688
|
+
|
|
2689
|
+
/**
|
|
2690
|
+
* Converts this FeatureSupport to JSON.
|
|
2691
|
+
* @returns JSON object
|
|
2692
|
+
*/
|
|
2693
|
+
public toJSON(): { [k: string]: any };
|
|
2694
|
+
|
|
2695
|
+
/**
|
|
2696
|
+
* Gets the default type url for FeatureSupport
|
|
2697
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2698
|
+
* @returns The default type url
|
|
2699
|
+
*/
|
|
2700
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2701
|
+
}
|
|
2562
2702
|
}
|
|
2563
2703
|
|
|
2564
2704
|
/** Properties of an OneofOptions. */
|
|
@@ -2797,6 +2937,9 @@ export namespace google {
|
|
|
2797
2937
|
/** EnumValueOptions debugRedact */
|
|
2798
2938
|
debugRedact?: (boolean|null);
|
|
2799
2939
|
|
|
2940
|
+
/** EnumValueOptions featureSupport */
|
|
2941
|
+
featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null);
|
|
2942
|
+
|
|
2800
2943
|
/** EnumValueOptions uninterpretedOption */
|
|
2801
2944
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
2802
2945
|
}
|
|
@@ -2819,6 +2962,9 @@ export namespace google {
|
|
|
2819
2962
|
/** EnumValueOptions debugRedact. */
|
|
2820
2963
|
public debugRedact: boolean;
|
|
2821
2964
|
|
|
2965
|
+
/** EnumValueOptions featureSupport. */
|
|
2966
|
+
public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null);
|
|
2967
|
+
|
|
2822
2968
|
/** EnumValueOptions uninterpretedOption. */
|
|
2823
2969
|
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
2824
2970
|
|
|
@@ -3411,6 +3557,12 @@ export namespace google {
|
|
|
3411
3557
|
|
|
3412
3558
|
/** FeatureSet jsonFormat */
|
|
3413
3559
|
jsonFormat?: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat|null);
|
|
3560
|
+
|
|
3561
|
+
/** FeatureSet enforceNamingStyle */
|
|
3562
|
+
enforceNamingStyle?: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle|null);
|
|
3563
|
+
|
|
3564
|
+
/** FeatureSet defaultSymbolVisibility */
|
|
3565
|
+
defaultSymbolVisibility?: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null);
|
|
3414
3566
|
}
|
|
3415
3567
|
|
|
3416
3568
|
/** Represents a FeatureSet. */
|
|
@@ -3440,6 +3592,12 @@ export namespace google {
|
|
|
3440
3592
|
/** FeatureSet jsonFormat. */
|
|
3441
3593
|
public jsonFormat: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat);
|
|
3442
3594
|
|
|
3595
|
+
/** FeatureSet enforceNamingStyle. */
|
|
3596
|
+
public enforceNamingStyle: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle);
|
|
3597
|
+
|
|
3598
|
+
/** FeatureSet defaultSymbolVisibility. */
|
|
3599
|
+
public defaultSymbolVisibility: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility);
|
|
3600
|
+
|
|
3443
3601
|
/**
|
|
3444
3602
|
* Creates a new FeatureSet instance using the specified properties.
|
|
3445
3603
|
* @param [properties] Properties to set
|
|
@@ -3562,6 +3720,116 @@ export namespace google {
|
|
|
3562
3720
|
ALLOW = 1,
|
|
3563
3721
|
LEGACY_BEST_EFFORT = 2
|
|
3564
3722
|
}
|
|
3723
|
+
|
|
3724
|
+
/** EnforceNamingStyle enum. */
|
|
3725
|
+
enum EnforceNamingStyle {
|
|
3726
|
+
ENFORCE_NAMING_STYLE_UNKNOWN = 0,
|
|
3727
|
+
STYLE2024 = 1,
|
|
3728
|
+
STYLE_LEGACY = 2
|
|
3729
|
+
}
|
|
3730
|
+
|
|
3731
|
+
/** Properties of a VisibilityFeature. */
|
|
3732
|
+
interface IVisibilityFeature {
|
|
3733
|
+
}
|
|
3734
|
+
|
|
3735
|
+
/** Represents a VisibilityFeature. */
|
|
3736
|
+
class VisibilityFeature implements IVisibilityFeature {
|
|
3737
|
+
|
|
3738
|
+
/**
|
|
3739
|
+
* Constructs a new VisibilityFeature.
|
|
3740
|
+
* @param [properties] Properties to set
|
|
3741
|
+
*/
|
|
3742
|
+
constructor(properties?: google.protobuf.FeatureSet.IVisibilityFeature);
|
|
3743
|
+
|
|
3744
|
+
/**
|
|
3745
|
+
* Creates a new VisibilityFeature instance using the specified properties.
|
|
3746
|
+
* @param [properties] Properties to set
|
|
3747
|
+
* @returns VisibilityFeature instance
|
|
3748
|
+
*/
|
|
3749
|
+
public static create(properties?: google.protobuf.FeatureSet.IVisibilityFeature): google.protobuf.FeatureSet.VisibilityFeature;
|
|
3750
|
+
|
|
3751
|
+
/**
|
|
3752
|
+
* Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages.
|
|
3753
|
+
* @param message VisibilityFeature message or plain object to encode
|
|
3754
|
+
* @param [writer] Writer to encode to
|
|
3755
|
+
* @returns Writer
|
|
3756
|
+
*/
|
|
3757
|
+
public static encode(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3758
|
+
|
|
3759
|
+
/**
|
|
3760
|
+
* Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages.
|
|
3761
|
+
* @param message VisibilityFeature message or plain object to encode
|
|
3762
|
+
* @param [writer] Writer to encode to
|
|
3763
|
+
* @returns Writer
|
|
3764
|
+
*/
|
|
3765
|
+
public static encodeDelimited(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3766
|
+
|
|
3767
|
+
/**
|
|
3768
|
+
* Decodes a VisibilityFeature message from the specified reader or buffer.
|
|
3769
|
+
* @param reader Reader or buffer to decode from
|
|
3770
|
+
* @param [length] Message length if known beforehand
|
|
3771
|
+
* @returns VisibilityFeature
|
|
3772
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3773
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3774
|
+
*/
|
|
3775
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSet.VisibilityFeature;
|
|
3776
|
+
|
|
3777
|
+
/**
|
|
3778
|
+
* Decodes a VisibilityFeature message from the specified reader or buffer, length delimited.
|
|
3779
|
+
* @param reader Reader or buffer to decode from
|
|
3780
|
+
* @returns VisibilityFeature
|
|
3781
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3782
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3783
|
+
*/
|
|
3784
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSet.VisibilityFeature;
|
|
3785
|
+
|
|
3786
|
+
/**
|
|
3787
|
+
* Verifies a VisibilityFeature message.
|
|
3788
|
+
* @param message Plain object to verify
|
|
3789
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3790
|
+
*/
|
|
3791
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3792
|
+
|
|
3793
|
+
/**
|
|
3794
|
+
* Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types.
|
|
3795
|
+
* @param object Plain object
|
|
3796
|
+
* @returns VisibilityFeature
|
|
3797
|
+
*/
|
|
3798
|
+
public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSet.VisibilityFeature;
|
|
3799
|
+
|
|
3800
|
+
/**
|
|
3801
|
+
* Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified.
|
|
3802
|
+
* @param message VisibilityFeature
|
|
3803
|
+
* @param [options] Conversion options
|
|
3804
|
+
* @returns Plain object
|
|
3805
|
+
*/
|
|
3806
|
+
public static toObject(message: google.protobuf.FeatureSet.VisibilityFeature, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3807
|
+
|
|
3808
|
+
/**
|
|
3809
|
+
* Converts this VisibilityFeature to JSON.
|
|
3810
|
+
* @returns JSON object
|
|
3811
|
+
*/
|
|
3812
|
+
public toJSON(): { [k: string]: any };
|
|
3813
|
+
|
|
3814
|
+
/**
|
|
3815
|
+
* Gets the default type url for VisibilityFeature
|
|
3816
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3817
|
+
* @returns The default type url
|
|
3818
|
+
*/
|
|
3819
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3820
|
+
}
|
|
3821
|
+
|
|
3822
|
+
namespace VisibilityFeature {
|
|
3823
|
+
|
|
3824
|
+
/** DefaultSymbolVisibility enum. */
|
|
3825
|
+
enum DefaultSymbolVisibility {
|
|
3826
|
+
DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0,
|
|
3827
|
+
EXPORT_ALL = 1,
|
|
3828
|
+
EXPORT_TOP_LEVEL = 2,
|
|
3829
|
+
LOCAL_ALL = 3,
|
|
3830
|
+
STRICT = 4
|
|
3831
|
+
}
|
|
3832
|
+
}
|
|
3565
3833
|
}
|
|
3566
3834
|
|
|
3567
3835
|
/** Properties of a FeatureSetDefaults. */
|
|
@@ -3681,8 +3949,11 @@ export namespace google {
|
|
|
3681
3949
|
/** FeatureSetEditionDefault edition */
|
|
3682
3950
|
edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
|
|
3683
3951
|
|
|
3684
|
-
/** FeatureSetEditionDefault
|
|
3685
|
-
|
|
3952
|
+
/** FeatureSetEditionDefault overridableFeatures */
|
|
3953
|
+
overridableFeatures?: (google.protobuf.IFeatureSet|null);
|
|
3954
|
+
|
|
3955
|
+
/** FeatureSetEditionDefault fixedFeatures */
|
|
3956
|
+
fixedFeatures?: (google.protobuf.IFeatureSet|null);
|
|
3686
3957
|
}
|
|
3687
3958
|
|
|
3688
3959
|
/** Represents a FeatureSetEditionDefault. */
|
|
@@ -3697,8 +3968,11 @@ export namespace google {
|
|
|
3697
3968
|
/** FeatureSetEditionDefault edition. */
|
|
3698
3969
|
public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
|
|
3699
3970
|
|
|
3700
|
-
/** FeatureSetEditionDefault
|
|
3701
|
-
public
|
|
3971
|
+
/** FeatureSetEditionDefault overridableFeatures. */
|
|
3972
|
+
public overridableFeatures?: (google.protobuf.IFeatureSet|null);
|
|
3973
|
+
|
|
3974
|
+
/** FeatureSetEditionDefault fixedFeatures. */
|
|
3975
|
+
public fixedFeatures?: (google.protobuf.IFeatureSet|null);
|
|
3702
3976
|
|
|
3703
3977
|
/**
|
|
3704
3978
|
* Creates a new FeatureSetEditionDefault instance using the specified properties.
|
|
@@ -4231,6 +4505,13 @@ export namespace google {
|
|
|
4231
4505
|
}
|
|
4232
4506
|
}
|
|
4233
4507
|
|
|
4508
|
+
/** SymbolVisibility enum. */
|
|
4509
|
+
enum SymbolVisibility {
|
|
4510
|
+
VISIBILITY_UNSET = 0,
|
|
4511
|
+
VISIBILITY_LOCAL = 1,
|
|
4512
|
+
VISIBILITY_EXPORT = 2
|
|
4513
|
+
}
|
|
4514
|
+
|
|
4234
4515
|
/** Properties of an Any. */
|
|
4235
4516
|
interface IAny {
|
|
4236
4517
|
|
|
@@ -5374,6 +5655,24 @@ export namespace google {
|
|
|
5374
5655
|
|
|
5375
5656
|
/** Violation description */
|
|
5376
5657
|
description?: (string|null);
|
|
5658
|
+
|
|
5659
|
+
/** Violation apiService */
|
|
5660
|
+
apiService?: (string|null);
|
|
5661
|
+
|
|
5662
|
+
/** Violation quotaMetric */
|
|
5663
|
+
quotaMetric?: (string|null);
|
|
5664
|
+
|
|
5665
|
+
/** Violation quotaId */
|
|
5666
|
+
quotaId?: (string|null);
|
|
5667
|
+
|
|
5668
|
+
/** Violation quotaDimensions */
|
|
5669
|
+
quotaDimensions?: ({ [k: string]: string }|null);
|
|
5670
|
+
|
|
5671
|
+
/** Violation quotaValue */
|
|
5672
|
+
quotaValue?: (number|Long|string|null);
|
|
5673
|
+
|
|
5674
|
+
/** Violation futureQuotaValue */
|
|
5675
|
+
futureQuotaValue?: (number|Long|string|null);
|
|
5377
5676
|
}
|
|
5378
5677
|
|
|
5379
5678
|
/** Represents a Violation. */
|
|
@@ -5391,6 +5690,24 @@ export namespace google {
|
|
|
5391
5690
|
/** Violation description. */
|
|
5392
5691
|
public description: string;
|
|
5393
5692
|
|
|
5693
|
+
/** Violation apiService. */
|
|
5694
|
+
public apiService: string;
|
|
5695
|
+
|
|
5696
|
+
/** Violation quotaMetric. */
|
|
5697
|
+
public quotaMetric: string;
|
|
5698
|
+
|
|
5699
|
+
/** Violation quotaId. */
|
|
5700
|
+
public quotaId: string;
|
|
5701
|
+
|
|
5702
|
+
/** Violation quotaDimensions. */
|
|
5703
|
+
public quotaDimensions: { [k: string]: string };
|
|
5704
|
+
|
|
5705
|
+
/** Violation quotaValue. */
|
|
5706
|
+
public quotaValue: (number|Long|string);
|
|
5707
|
+
|
|
5708
|
+
/** Violation futureQuotaValue. */
|
|
5709
|
+
public futureQuotaValue?: (number|Long|string|null);
|
|
5710
|
+
|
|
5394
5711
|
/**
|
|
5395
5712
|
* Creates a new Violation instance using the specified properties.
|
|
5396
5713
|
* @param [properties] Properties to set
|
|
@@ -5786,6 +6103,12 @@ export namespace google {
|
|
|
5786
6103
|
|
|
5787
6104
|
/** FieldViolation description */
|
|
5788
6105
|
description?: (string|null);
|
|
6106
|
+
|
|
6107
|
+
/** FieldViolation reason */
|
|
6108
|
+
reason?: (string|null);
|
|
6109
|
+
|
|
6110
|
+
/** FieldViolation localizedMessage */
|
|
6111
|
+
localizedMessage?: (google.rpc.ILocalizedMessage|null);
|
|
5789
6112
|
}
|
|
5790
6113
|
|
|
5791
6114
|
/** Represents a FieldViolation. */
|
|
@@ -5803,6 +6126,12 @@ export namespace google {
|
|
|
5803
6126
|
/** FieldViolation description. */
|
|
5804
6127
|
public description: string;
|
|
5805
6128
|
|
|
6129
|
+
/** FieldViolation reason. */
|
|
6130
|
+
public reason: string;
|
|
6131
|
+
|
|
6132
|
+
/** FieldViolation localizedMessage. */
|
|
6133
|
+
public localizedMessage?: (google.rpc.ILocalizedMessage|null);
|
|
6134
|
+
|
|
5806
6135
|
/**
|
|
5807
6136
|
* Creates a new FieldViolation instance using the specified properties.
|
|
5808
6137
|
* @param [properties] Properties to set
|
|
@@ -10260,6 +10589,20 @@ export namespace google {
|
|
|
10260
10589
|
* @returns Promise
|
|
10261
10590
|
*/
|
|
10262
10591
|
public listBackupSchedules(request: google.spanner.admin.database.v1.IListBackupSchedulesRequest): Promise<google.spanner.admin.database.v1.ListBackupSchedulesResponse>;
|
|
10592
|
+
|
|
10593
|
+
/**
|
|
10594
|
+
* Calls InternalUpdateGraphOperation.
|
|
10595
|
+
* @param request InternalUpdateGraphOperationRequest message or plain object
|
|
10596
|
+
* @param callback Node-style callback called with the error, if any, and InternalUpdateGraphOperationResponse
|
|
10597
|
+
*/
|
|
10598
|
+
public internalUpdateGraphOperation(request: google.spanner.admin.database.v1.IInternalUpdateGraphOperationRequest, callback: google.spanner.admin.database.v1.DatabaseAdmin.InternalUpdateGraphOperationCallback): void;
|
|
10599
|
+
|
|
10600
|
+
/**
|
|
10601
|
+
* Calls InternalUpdateGraphOperation.
|
|
10602
|
+
* @param request InternalUpdateGraphOperationRequest message or plain object
|
|
10603
|
+
* @returns Promise
|
|
10604
|
+
*/
|
|
10605
|
+
public internalUpdateGraphOperation(request: google.spanner.admin.database.v1.IInternalUpdateGraphOperationRequest): Promise<google.spanner.admin.database.v1.InternalUpdateGraphOperationResponse>;
|
|
10263
10606
|
}
|
|
10264
10607
|
|
|
10265
10608
|
namespace DatabaseAdmin {
|
|
@@ -10445,6 +10788,13 @@ export namespace google {
|
|
|
10445
10788
|
* @param [response] ListBackupSchedulesResponse
|
|
10446
10789
|
*/
|
|
10447
10790
|
type ListBackupSchedulesCallback = (error: (Error|null), response?: google.spanner.admin.database.v1.ListBackupSchedulesResponse) => void;
|
|
10791
|
+
|
|
10792
|
+
/**
|
|
10793
|
+
* Callback as used by {@link google.spanner.admin.database.v1.DatabaseAdmin|internalUpdateGraphOperation}.
|
|
10794
|
+
* @param error Error, if any
|
|
10795
|
+
* @param [response] InternalUpdateGraphOperationResponse
|
|
10796
|
+
*/
|
|
10797
|
+
type InternalUpdateGraphOperationCallback = (error: (Error|null), response?: google.spanner.admin.database.v1.InternalUpdateGraphOperationResponse) => void;
|
|
10448
10798
|
}
|
|
10449
10799
|
|
|
10450
10800
|
/** Properties of a RestoreInfo. */
|
|
@@ -11486,6 +11836,9 @@ export namespace google {
|
|
|
11486
11836
|
|
|
11487
11837
|
/** UpdateDatabaseDdlRequest protoDescriptors */
|
|
11488
11838
|
protoDescriptors?: (Uint8Array|Buffer|string|null);
|
|
11839
|
+
|
|
11840
|
+
/** UpdateDatabaseDdlRequest throughputMode */
|
|
11841
|
+
throughputMode?: (boolean|null);
|
|
11489
11842
|
}
|
|
11490
11843
|
|
|
11491
11844
|
/** Represents an UpdateDatabaseDdlRequest. */
|
|
@@ -11509,6 +11862,9 @@ export namespace google {
|
|
|
11509
11862
|
/** UpdateDatabaseDdlRequest protoDescriptors. */
|
|
11510
11863
|
public protoDescriptors: (Uint8Array|Buffer|string);
|
|
11511
11864
|
|
|
11865
|
+
/** UpdateDatabaseDdlRequest throughputMode. */
|
|
11866
|
+
public throughputMode: boolean;
|
|
11867
|
+
|
|
11512
11868
|
/**
|
|
11513
11869
|
* Creates a new UpdateDatabaseDdlRequest instance using the specified properties.
|
|
11514
11870
|
* @param [properties] Properties to set
|
|
@@ -13538,6 +13894,218 @@ export namespace google {
|
|
|
13538
13894
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
13539
13895
|
}
|
|
13540
13896
|
}
|
|
13897
|
+
|
|
13898
|
+
/** Properties of an InternalUpdateGraphOperationRequest. */
|
|
13899
|
+
interface IInternalUpdateGraphOperationRequest {
|
|
13900
|
+
|
|
13901
|
+
/** InternalUpdateGraphOperationRequest database */
|
|
13902
|
+
database?: (string|null);
|
|
13903
|
+
|
|
13904
|
+
/** InternalUpdateGraphOperationRequest operationId */
|
|
13905
|
+
operationId?: (string|null);
|
|
13906
|
+
|
|
13907
|
+
/** InternalUpdateGraphOperationRequest vmIdentityToken */
|
|
13908
|
+
vmIdentityToken?: (string|null);
|
|
13909
|
+
|
|
13910
|
+
/** InternalUpdateGraphOperationRequest progress */
|
|
13911
|
+
progress?: (number|null);
|
|
13912
|
+
|
|
13913
|
+
/** InternalUpdateGraphOperationRequest status */
|
|
13914
|
+
status?: (google.rpc.IStatus|null);
|
|
13915
|
+
}
|
|
13916
|
+
|
|
13917
|
+
/** Represents an InternalUpdateGraphOperationRequest. */
|
|
13918
|
+
class InternalUpdateGraphOperationRequest implements IInternalUpdateGraphOperationRequest {
|
|
13919
|
+
|
|
13920
|
+
/**
|
|
13921
|
+
* Constructs a new InternalUpdateGraphOperationRequest.
|
|
13922
|
+
* @param [properties] Properties to set
|
|
13923
|
+
*/
|
|
13924
|
+
constructor(properties?: google.spanner.admin.database.v1.IInternalUpdateGraphOperationRequest);
|
|
13925
|
+
|
|
13926
|
+
/** InternalUpdateGraphOperationRequest database. */
|
|
13927
|
+
public database: string;
|
|
13928
|
+
|
|
13929
|
+
/** InternalUpdateGraphOperationRequest operationId. */
|
|
13930
|
+
public operationId: string;
|
|
13931
|
+
|
|
13932
|
+
/** InternalUpdateGraphOperationRequest vmIdentityToken. */
|
|
13933
|
+
public vmIdentityToken: string;
|
|
13934
|
+
|
|
13935
|
+
/** InternalUpdateGraphOperationRequest progress. */
|
|
13936
|
+
public progress: number;
|
|
13937
|
+
|
|
13938
|
+
/** InternalUpdateGraphOperationRequest status. */
|
|
13939
|
+
public status?: (google.rpc.IStatus|null);
|
|
13940
|
+
|
|
13941
|
+
/**
|
|
13942
|
+
* Creates a new InternalUpdateGraphOperationRequest instance using the specified properties.
|
|
13943
|
+
* @param [properties] Properties to set
|
|
13944
|
+
* @returns InternalUpdateGraphOperationRequest instance
|
|
13945
|
+
*/
|
|
13946
|
+
public static create(properties?: google.spanner.admin.database.v1.IInternalUpdateGraphOperationRequest): google.spanner.admin.database.v1.InternalUpdateGraphOperationRequest;
|
|
13947
|
+
|
|
13948
|
+
/**
|
|
13949
|
+
* Encodes the specified InternalUpdateGraphOperationRequest message. Does not implicitly {@link google.spanner.admin.database.v1.InternalUpdateGraphOperationRequest.verify|verify} messages.
|
|
13950
|
+
* @param message InternalUpdateGraphOperationRequest message or plain object to encode
|
|
13951
|
+
* @param [writer] Writer to encode to
|
|
13952
|
+
* @returns Writer
|
|
13953
|
+
*/
|
|
13954
|
+
public static encode(message: google.spanner.admin.database.v1.IInternalUpdateGraphOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13955
|
+
|
|
13956
|
+
/**
|
|
13957
|
+
* Encodes the specified InternalUpdateGraphOperationRequest message, length delimited. Does not implicitly {@link google.spanner.admin.database.v1.InternalUpdateGraphOperationRequest.verify|verify} messages.
|
|
13958
|
+
* @param message InternalUpdateGraphOperationRequest message or plain object to encode
|
|
13959
|
+
* @param [writer] Writer to encode to
|
|
13960
|
+
* @returns Writer
|
|
13961
|
+
*/
|
|
13962
|
+
public static encodeDelimited(message: google.spanner.admin.database.v1.IInternalUpdateGraphOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13963
|
+
|
|
13964
|
+
/**
|
|
13965
|
+
* Decodes an InternalUpdateGraphOperationRequest message from the specified reader or buffer.
|
|
13966
|
+
* @param reader Reader or buffer to decode from
|
|
13967
|
+
* @param [length] Message length if known beforehand
|
|
13968
|
+
* @returns InternalUpdateGraphOperationRequest
|
|
13969
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13970
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13971
|
+
*/
|
|
13972
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.database.v1.InternalUpdateGraphOperationRequest;
|
|
13973
|
+
|
|
13974
|
+
/**
|
|
13975
|
+
* Decodes an InternalUpdateGraphOperationRequest message from the specified reader or buffer, length delimited.
|
|
13976
|
+
* @param reader Reader or buffer to decode from
|
|
13977
|
+
* @returns InternalUpdateGraphOperationRequest
|
|
13978
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13979
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13980
|
+
*/
|
|
13981
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.database.v1.InternalUpdateGraphOperationRequest;
|
|
13982
|
+
|
|
13983
|
+
/**
|
|
13984
|
+
* Verifies an InternalUpdateGraphOperationRequest message.
|
|
13985
|
+
* @param message Plain object to verify
|
|
13986
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
13987
|
+
*/
|
|
13988
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
13989
|
+
|
|
13990
|
+
/**
|
|
13991
|
+
* Creates an InternalUpdateGraphOperationRequest message from a plain object. Also converts values to their respective internal types.
|
|
13992
|
+
* @param object Plain object
|
|
13993
|
+
* @returns InternalUpdateGraphOperationRequest
|
|
13994
|
+
*/
|
|
13995
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.admin.database.v1.InternalUpdateGraphOperationRequest;
|
|
13996
|
+
|
|
13997
|
+
/**
|
|
13998
|
+
* Creates a plain object from an InternalUpdateGraphOperationRequest message. Also converts values to other types if specified.
|
|
13999
|
+
* @param message InternalUpdateGraphOperationRequest
|
|
14000
|
+
* @param [options] Conversion options
|
|
14001
|
+
* @returns Plain object
|
|
14002
|
+
*/
|
|
14003
|
+
public static toObject(message: google.spanner.admin.database.v1.InternalUpdateGraphOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
14004
|
+
|
|
14005
|
+
/**
|
|
14006
|
+
* Converts this InternalUpdateGraphOperationRequest to JSON.
|
|
14007
|
+
* @returns JSON object
|
|
14008
|
+
*/
|
|
14009
|
+
public toJSON(): { [k: string]: any };
|
|
14010
|
+
|
|
14011
|
+
/**
|
|
14012
|
+
* Gets the default type url for InternalUpdateGraphOperationRequest
|
|
14013
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
14014
|
+
* @returns The default type url
|
|
14015
|
+
*/
|
|
14016
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
14017
|
+
}
|
|
14018
|
+
|
|
14019
|
+
/** Properties of an InternalUpdateGraphOperationResponse. */
|
|
14020
|
+
interface IInternalUpdateGraphOperationResponse {
|
|
14021
|
+
}
|
|
14022
|
+
|
|
14023
|
+
/** Represents an InternalUpdateGraphOperationResponse. */
|
|
14024
|
+
class InternalUpdateGraphOperationResponse implements IInternalUpdateGraphOperationResponse {
|
|
14025
|
+
|
|
14026
|
+
/**
|
|
14027
|
+
* Constructs a new InternalUpdateGraphOperationResponse.
|
|
14028
|
+
* @param [properties] Properties to set
|
|
14029
|
+
*/
|
|
14030
|
+
constructor(properties?: google.spanner.admin.database.v1.IInternalUpdateGraphOperationResponse);
|
|
14031
|
+
|
|
14032
|
+
/**
|
|
14033
|
+
* Creates a new InternalUpdateGraphOperationResponse instance using the specified properties.
|
|
14034
|
+
* @param [properties] Properties to set
|
|
14035
|
+
* @returns InternalUpdateGraphOperationResponse instance
|
|
14036
|
+
*/
|
|
14037
|
+
public static create(properties?: google.spanner.admin.database.v1.IInternalUpdateGraphOperationResponse): google.spanner.admin.database.v1.InternalUpdateGraphOperationResponse;
|
|
14038
|
+
|
|
14039
|
+
/**
|
|
14040
|
+
* Encodes the specified InternalUpdateGraphOperationResponse message. Does not implicitly {@link google.spanner.admin.database.v1.InternalUpdateGraphOperationResponse.verify|verify} messages.
|
|
14041
|
+
* @param message InternalUpdateGraphOperationResponse message or plain object to encode
|
|
14042
|
+
* @param [writer] Writer to encode to
|
|
14043
|
+
* @returns Writer
|
|
14044
|
+
*/
|
|
14045
|
+
public static encode(message: google.spanner.admin.database.v1.IInternalUpdateGraphOperationResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14046
|
+
|
|
14047
|
+
/**
|
|
14048
|
+
* Encodes the specified InternalUpdateGraphOperationResponse message, length delimited. Does not implicitly {@link google.spanner.admin.database.v1.InternalUpdateGraphOperationResponse.verify|verify} messages.
|
|
14049
|
+
* @param message InternalUpdateGraphOperationResponse message or plain object to encode
|
|
14050
|
+
* @param [writer] Writer to encode to
|
|
14051
|
+
* @returns Writer
|
|
14052
|
+
*/
|
|
14053
|
+
public static encodeDelimited(message: google.spanner.admin.database.v1.IInternalUpdateGraphOperationResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14054
|
+
|
|
14055
|
+
/**
|
|
14056
|
+
* Decodes an InternalUpdateGraphOperationResponse message from the specified reader or buffer.
|
|
14057
|
+
* @param reader Reader or buffer to decode from
|
|
14058
|
+
* @param [length] Message length if known beforehand
|
|
14059
|
+
* @returns InternalUpdateGraphOperationResponse
|
|
14060
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14061
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14062
|
+
*/
|
|
14063
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.admin.database.v1.InternalUpdateGraphOperationResponse;
|
|
14064
|
+
|
|
14065
|
+
/**
|
|
14066
|
+
* Decodes an InternalUpdateGraphOperationResponse message from the specified reader or buffer, length delimited.
|
|
14067
|
+
* @param reader Reader or buffer to decode from
|
|
14068
|
+
* @returns InternalUpdateGraphOperationResponse
|
|
14069
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14070
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14071
|
+
*/
|
|
14072
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.admin.database.v1.InternalUpdateGraphOperationResponse;
|
|
14073
|
+
|
|
14074
|
+
/**
|
|
14075
|
+
* Verifies an InternalUpdateGraphOperationResponse message.
|
|
14076
|
+
* @param message Plain object to verify
|
|
14077
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
14078
|
+
*/
|
|
14079
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
14080
|
+
|
|
14081
|
+
/**
|
|
14082
|
+
* Creates an InternalUpdateGraphOperationResponse message from a plain object. Also converts values to their respective internal types.
|
|
14083
|
+
* @param object Plain object
|
|
14084
|
+
* @returns InternalUpdateGraphOperationResponse
|
|
14085
|
+
*/
|
|
14086
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.admin.database.v1.InternalUpdateGraphOperationResponse;
|
|
14087
|
+
|
|
14088
|
+
/**
|
|
14089
|
+
* Creates a plain object from an InternalUpdateGraphOperationResponse message. Also converts values to other types if specified.
|
|
14090
|
+
* @param message InternalUpdateGraphOperationResponse
|
|
14091
|
+
* @param [options] Conversion options
|
|
14092
|
+
* @returns Plain object
|
|
14093
|
+
*/
|
|
14094
|
+
public static toObject(message: google.spanner.admin.database.v1.InternalUpdateGraphOperationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
14095
|
+
|
|
14096
|
+
/**
|
|
14097
|
+
* Converts this InternalUpdateGraphOperationResponse to JSON.
|
|
14098
|
+
* @returns JSON object
|
|
14099
|
+
*/
|
|
14100
|
+
public toJSON(): { [k: string]: any };
|
|
14101
|
+
|
|
14102
|
+
/**
|
|
14103
|
+
* Gets the default type url for InternalUpdateGraphOperationResponse
|
|
14104
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
14105
|
+
* @returns The default type url
|
|
14106
|
+
*/
|
|
14107
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
14108
|
+
}
|
|
13541
14109
|
}
|
|
13542
14110
|
}
|
|
13543
14111
|
|
|
@@ -32274,6 +32842,9 @@ export namespace google {
|
|
|
32274
32842
|
|
|
32275
32843
|
/** CommitResponse precommitToken */
|
|
32276
32844
|
precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
|
|
32845
|
+
|
|
32846
|
+
/** CommitResponse snapshotTimestamp */
|
|
32847
|
+
snapshotTimestamp?: (google.protobuf.ITimestamp|null);
|
|
32277
32848
|
}
|
|
32278
32849
|
|
|
32279
32850
|
/** Represents a CommitResponse. */
|
|
@@ -32294,6 +32865,9 @@ export namespace google {
|
|
|
32294
32865
|
/** CommitResponse precommitToken. */
|
|
32295
32866
|
public precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
|
|
32296
32867
|
|
|
32868
|
+
/** CommitResponse snapshotTimestamp. */
|
|
32869
|
+
public snapshotTimestamp?: (google.protobuf.ITimestamp|null);
|
|
32870
|
+
|
|
32297
32871
|
/** CommitResponse MultiplexedSessionRetry. */
|
|
32298
32872
|
public MultiplexedSessionRetry?: "precommitToken";
|
|
32299
32873
|
|
|
@@ -35115,6 +35689,1282 @@ export namespace google {
|
|
|
35115
35689
|
PG_JSONB = 3,
|
|
35116
35690
|
PG_OID = 4
|
|
35117
35691
|
}
|
|
35692
|
+
|
|
35693
|
+
/** Properties of a ChangeStreamRecord. */
|
|
35694
|
+
interface IChangeStreamRecord {
|
|
35695
|
+
|
|
35696
|
+
/** ChangeStreamRecord dataChangeRecord */
|
|
35697
|
+
dataChangeRecord?: (google.spanner.v1.ChangeStreamRecord.IDataChangeRecord|null);
|
|
35698
|
+
|
|
35699
|
+
/** ChangeStreamRecord heartbeatRecord */
|
|
35700
|
+
heartbeatRecord?: (google.spanner.v1.ChangeStreamRecord.IHeartbeatRecord|null);
|
|
35701
|
+
|
|
35702
|
+
/** ChangeStreamRecord partitionStartRecord */
|
|
35703
|
+
partitionStartRecord?: (google.spanner.v1.ChangeStreamRecord.IPartitionStartRecord|null);
|
|
35704
|
+
|
|
35705
|
+
/** ChangeStreamRecord partitionEndRecord */
|
|
35706
|
+
partitionEndRecord?: (google.spanner.v1.ChangeStreamRecord.IPartitionEndRecord|null);
|
|
35707
|
+
|
|
35708
|
+
/** ChangeStreamRecord partitionEventRecord */
|
|
35709
|
+
partitionEventRecord?: (google.spanner.v1.ChangeStreamRecord.IPartitionEventRecord|null);
|
|
35710
|
+
}
|
|
35711
|
+
|
|
35712
|
+
/** Represents a ChangeStreamRecord. */
|
|
35713
|
+
class ChangeStreamRecord implements IChangeStreamRecord {
|
|
35714
|
+
|
|
35715
|
+
/**
|
|
35716
|
+
* Constructs a new ChangeStreamRecord.
|
|
35717
|
+
* @param [properties] Properties to set
|
|
35718
|
+
*/
|
|
35719
|
+
constructor(properties?: google.spanner.v1.IChangeStreamRecord);
|
|
35720
|
+
|
|
35721
|
+
/** ChangeStreamRecord dataChangeRecord. */
|
|
35722
|
+
public dataChangeRecord?: (google.spanner.v1.ChangeStreamRecord.IDataChangeRecord|null);
|
|
35723
|
+
|
|
35724
|
+
/** ChangeStreamRecord heartbeatRecord. */
|
|
35725
|
+
public heartbeatRecord?: (google.spanner.v1.ChangeStreamRecord.IHeartbeatRecord|null);
|
|
35726
|
+
|
|
35727
|
+
/** ChangeStreamRecord partitionStartRecord. */
|
|
35728
|
+
public partitionStartRecord?: (google.spanner.v1.ChangeStreamRecord.IPartitionStartRecord|null);
|
|
35729
|
+
|
|
35730
|
+
/** ChangeStreamRecord partitionEndRecord. */
|
|
35731
|
+
public partitionEndRecord?: (google.spanner.v1.ChangeStreamRecord.IPartitionEndRecord|null);
|
|
35732
|
+
|
|
35733
|
+
/** ChangeStreamRecord partitionEventRecord. */
|
|
35734
|
+
public partitionEventRecord?: (google.spanner.v1.ChangeStreamRecord.IPartitionEventRecord|null);
|
|
35735
|
+
|
|
35736
|
+
/** ChangeStreamRecord record. */
|
|
35737
|
+
public record?: ("dataChangeRecord"|"heartbeatRecord"|"partitionStartRecord"|"partitionEndRecord"|"partitionEventRecord");
|
|
35738
|
+
|
|
35739
|
+
/**
|
|
35740
|
+
* Creates a new ChangeStreamRecord instance using the specified properties.
|
|
35741
|
+
* @param [properties] Properties to set
|
|
35742
|
+
* @returns ChangeStreamRecord instance
|
|
35743
|
+
*/
|
|
35744
|
+
public static create(properties?: google.spanner.v1.IChangeStreamRecord): google.spanner.v1.ChangeStreamRecord;
|
|
35745
|
+
|
|
35746
|
+
/**
|
|
35747
|
+
* Encodes the specified ChangeStreamRecord message. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.verify|verify} messages.
|
|
35748
|
+
* @param message ChangeStreamRecord message or plain object to encode
|
|
35749
|
+
* @param [writer] Writer to encode to
|
|
35750
|
+
* @returns Writer
|
|
35751
|
+
*/
|
|
35752
|
+
public static encode(message: google.spanner.v1.IChangeStreamRecord, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35753
|
+
|
|
35754
|
+
/**
|
|
35755
|
+
* Encodes the specified ChangeStreamRecord message, length delimited. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.verify|verify} messages.
|
|
35756
|
+
* @param message ChangeStreamRecord message or plain object to encode
|
|
35757
|
+
* @param [writer] Writer to encode to
|
|
35758
|
+
* @returns Writer
|
|
35759
|
+
*/
|
|
35760
|
+
public static encodeDelimited(message: google.spanner.v1.IChangeStreamRecord, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35761
|
+
|
|
35762
|
+
/**
|
|
35763
|
+
* Decodes a ChangeStreamRecord message from the specified reader or buffer.
|
|
35764
|
+
* @param reader Reader or buffer to decode from
|
|
35765
|
+
* @param [length] Message length if known beforehand
|
|
35766
|
+
* @returns ChangeStreamRecord
|
|
35767
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35768
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35769
|
+
*/
|
|
35770
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.ChangeStreamRecord;
|
|
35771
|
+
|
|
35772
|
+
/**
|
|
35773
|
+
* Decodes a ChangeStreamRecord message from the specified reader or buffer, length delimited.
|
|
35774
|
+
* @param reader Reader or buffer to decode from
|
|
35775
|
+
* @returns ChangeStreamRecord
|
|
35776
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35777
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35778
|
+
*/
|
|
35779
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.ChangeStreamRecord;
|
|
35780
|
+
|
|
35781
|
+
/**
|
|
35782
|
+
* Verifies a ChangeStreamRecord message.
|
|
35783
|
+
* @param message Plain object to verify
|
|
35784
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
35785
|
+
*/
|
|
35786
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
35787
|
+
|
|
35788
|
+
/**
|
|
35789
|
+
* Creates a ChangeStreamRecord message from a plain object. Also converts values to their respective internal types.
|
|
35790
|
+
* @param object Plain object
|
|
35791
|
+
* @returns ChangeStreamRecord
|
|
35792
|
+
*/
|
|
35793
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.ChangeStreamRecord;
|
|
35794
|
+
|
|
35795
|
+
/**
|
|
35796
|
+
* Creates a plain object from a ChangeStreamRecord message. Also converts values to other types if specified.
|
|
35797
|
+
* @param message ChangeStreamRecord
|
|
35798
|
+
* @param [options] Conversion options
|
|
35799
|
+
* @returns Plain object
|
|
35800
|
+
*/
|
|
35801
|
+
public static toObject(message: google.spanner.v1.ChangeStreamRecord, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
35802
|
+
|
|
35803
|
+
/**
|
|
35804
|
+
* Converts this ChangeStreamRecord to JSON.
|
|
35805
|
+
* @returns JSON object
|
|
35806
|
+
*/
|
|
35807
|
+
public toJSON(): { [k: string]: any };
|
|
35808
|
+
|
|
35809
|
+
/**
|
|
35810
|
+
* Gets the default type url for ChangeStreamRecord
|
|
35811
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
35812
|
+
* @returns The default type url
|
|
35813
|
+
*/
|
|
35814
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
35815
|
+
}
|
|
35816
|
+
|
|
35817
|
+
namespace ChangeStreamRecord {
|
|
35818
|
+
|
|
35819
|
+
/** Properties of a DataChangeRecord. */
|
|
35820
|
+
interface IDataChangeRecord {
|
|
35821
|
+
|
|
35822
|
+
/** DataChangeRecord commitTimestamp */
|
|
35823
|
+
commitTimestamp?: (google.protobuf.ITimestamp|null);
|
|
35824
|
+
|
|
35825
|
+
/** DataChangeRecord recordSequence */
|
|
35826
|
+
recordSequence?: (string|null);
|
|
35827
|
+
|
|
35828
|
+
/** DataChangeRecord serverTransactionId */
|
|
35829
|
+
serverTransactionId?: (string|null);
|
|
35830
|
+
|
|
35831
|
+
/** DataChangeRecord isLastRecordInTransactionInPartition */
|
|
35832
|
+
isLastRecordInTransactionInPartition?: (boolean|null);
|
|
35833
|
+
|
|
35834
|
+
/** DataChangeRecord table */
|
|
35835
|
+
table?: (string|null);
|
|
35836
|
+
|
|
35837
|
+
/** DataChangeRecord columnMetadata */
|
|
35838
|
+
columnMetadata?: (google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IColumnMetadata[]|null);
|
|
35839
|
+
|
|
35840
|
+
/** DataChangeRecord mods */
|
|
35841
|
+
mods?: (google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IMod[]|null);
|
|
35842
|
+
|
|
35843
|
+
/** DataChangeRecord modType */
|
|
35844
|
+
modType?: (google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModType|keyof typeof google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModType|null);
|
|
35845
|
+
|
|
35846
|
+
/** DataChangeRecord valueCaptureType */
|
|
35847
|
+
valueCaptureType?: (google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ValueCaptureType|keyof typeof google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ValueCaptureType|null);
|
|
35848
|
+
|
|
35849
|
+
/** DataChangeRecord numberOfRecordsInTransaction */
|
|
35850
|
+
numberOfRecordsInTransaction?: (number|null);
|
|
35851
|
+
|
|
35852
|
+
/** DataChangeRecord numberOfPartitionsInTransaction */
|
|
35853
|
+
numberOfPartitionsInTransaction?: (number|null);
|
|
35854
|
+
|
|
35855
|
+
/** DataChangeRecord transactionTag */
|
|
35856
|
+
transactionTag?: (string|null);
|
|
35857
|
+
|
|
35858
|
+
/** DataChangeRecord isSystemTransaction */
|
|
35859
|
+
isSystemTransaction?: (boolean|null);
|
|
35860
|
+
}
|
|
35861
|
+
|
|
35862
|
+
/** Represents a DataChangeRecord. */
|
|
35863
|
+
class DataChangeRecord implements IDataChangeRecord {
|
|
35864
|
+
|
|
35865
|
+
/**
|
|
35866
|
+
* Constructs a new DataChangeRecord.
|
|
35867
|
+
* @param [properties] Properties to set
|
|
35868
|
+
*/
|
|
35869
|
+
constructor(properties?: google.spanner.v1.ChangeStreamRecord.IDataChangeRecord);
|
|
35870
|
+
|
|
35871
|
+
/** DataChangeRecord commitTimestamp. */
|
|
35872
|
+
public commitTimestamp?: (google.protobuf.ITimestamp|null);
|
|
35873
|
+
|
|
35874
|
+
/** DataChangeRecord recordSequence. */
|
|
35875
|
+
public recordSequence: string;
|
|
35876
|
+
|
|
35877
|
+
/** DataChangeRecord serverTransactionId. */
|
|
35878
|
+
public serverTransactionId: string;
|
|
35879
|
+
|
|
35880
|
+
/** DataChangeRecord isLastRecordInTransactionInPartition. */
|
|
35881
|
+
public isLastRecordInTransactionInPartition: boolean;
|
|
35882
|
+
|
|
35883
|
+
/** DataChangeRecord table. */
|
|
35884
|
+
public table: string;
|
|
35885
|
+
|
|
35886
|
+
/** DataChangeRecord columnMetadata. */
|
|
35887
|
+
public columnMetadata: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IColumnMetadata[];
|
|
35888
|
+
|
|
35889
|
+
/** DataChangeRecord mods. */
|
|
35890
|
+
public mods: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IMod[];
|
|
35891
|
+
|
|
35892
|
+
/** DataChangeRecord modType. */
|
|
35893
|
+
public modType: (google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModType|keyof typeof google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModType);
|
|
35894
|
+
|
|
35895
|
+
/** DataChangeRecord valueCaptureType. */
|
|
35896
|
+
public valueCaptureType: (google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ValueCaptureType|keyof typeof google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ValueCaptureType);
|
|
35897
|
+
|
|
35898
|
+
/** DataChangeRecord numberOfRecordsInTransaction. */
|
|
35899
|
+
public numberOfRecordsInTransaction: number;
|
|
35900
|
+
|
|
35901
|
+
/** DataChangeRecord numberOfPartitionsInTransaction. */
|
|
35902
|
+
public numberOfPartitionsInTransaction: number;
|
|
35903
|
+
|
|
35904
|
+
/** DataChangeRecord transactionTag. */
|
|
35905
|
+
public transactionTag: string;
|
|
35906
|
+
|
|
35907
|
+
/** DataChangeRecord isSystemTransaction. */
|
|
35908
|
+
public isSystemTransaction: boolean;
|
|
35909
|
+
|
|
35910
|
+
/**
|
|
35911
|
+
* Creates a new DataChangeRecord instance using the specified properties.
|
|
35912
|
+
* @param [properties] Properties to set
|
|
35913
|
+
* @returns DataChangeRecord instance
|
|
35914
|
+
*/
|
|
35915
|
+
public static create(properties?: google.spanner.v1.ChangeStreamRecord.IDataChangeRecord): google.spanner.v1.ChangeStreamRecord.DataChangeRecord;
|
|
35916
|
+
|
|
35917
|
+
/**
|
|
35918
|
+
* Encodes the specified DataChangeRecord message. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.DataChangeRecord.verify|verify} messages.
|
|
35919
|
+
* @param message DataChangeRecord message or plain object to encode
|
|
35920
|
+
* @param [writer] Writer to encode to
|
|
35921
|
+
* @returns Writer
|
|
35922
|
+
*/
|
|
35923
|
+
public static encode(message: google.spanner.v1.ChangeStreamRecord.IDataChangeRecord, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35924
|
+
|
|
35925
|
+
/**
|
|
35926
|
+
* Encodes the specified DataChangeRecord message, length delimited. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.DataChangeRecord.verify|verify} messages.
|
|
35927
|
+
* @param message DataChangeRecord message or plain object to encode
|
|
35928
|
+
* @param [writer] Writer to encode to
|
|
35929
|
+
* @returns Writer
|
|
35930
|
+
*/
|
|
35931
|
+
public static encodeDelimited(message: google.spanner.v1.ChangeStreamRecord.IDataChangeRecord, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35932
|
+
|
|
35933
|
+
/**
|
|
35934
|
+
* Decodes a DataChangeRecord message from the specified reader or buffer.
|
|
35935
|
+
* @param reader Reader or buffer to decode from
|
|
35936
|
+
* @param [length] Message length if known beforehand
|
|
35937
|
+
* @returns DataChangeRecord
|
|
35938
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35939
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35940
|
+
*/
|
|
35941
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.ChangeStreamRecord.DataChangeRecord;
|
|
35942
|
+
|
|
35943
|
+
/**
|
|
35944
|
+
* Decodes a DataChangeRecord message from the specified reader or buffer, length delimited.
|
|
35945
|
+
* @param reader Reader or buffer to decode from
|
|
35946
|
+
* @returns DataChangeRecord
|
|
35947
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35948
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35949
|
+
*/
|
|
35950
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.ChangeStreamRecord.DataChangeRecord;
|
|
35951
|
+
|
|
35952
|
+
/**
|
|
35953
|
+
* Verifies a DataChangeRecord message.
|
|
35954
|
+
* @param message Plain object to verify
|
|
35955
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
35956
|
+
*/
|
|
35957
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
35958
|
+
|
|
35959
|
+
/**
|
|
35960
|
+
* Creates a DataChangeRecord message from a plain object. Also converts values to their respective internal types.
|
|
35961
|
+
* @param object Plain object
|
|
35962
|
+
* @returns DataChangeRecord
|
|
35963
|
+
*/
|
|
35964
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.ChangeStreamRecord.DataChangeRecord;
|
|
35965
|
+
|
|
35966
|
+
/**
|
|
35967
|
+
* Creates a plain object from a DataChangeRecord message. Also converts values to other types if specified.
|
|
35968
|
+
* @param message DataChangeRecord
|
|
35969
|
+
* @param [options] Conversion options
|
|
35970
|
+
* @returns Plain object
|
|
35971
|
+
*/
|
|
35972
|
+
public static toObject(message: google.spanner.v1.ChangeStreamRecord.DataChangeRecord, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
35973
|
+
|
|
35974
|
+
/**
|
|
35975
|
+
* Converts this DataChangeRecord to JSON.
|
|
35976
|
+
* @returns JSON object
|
|
35977
|
+
*/
|
|
35978
|
+
public toJSON(): { [k: string]: any };
|
|
35979
|
+
|
|
35980
|
+
/**
|
|
35981
|
+
* Gets the default type url for DataChangeRecord
|
|
35982
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
35983
|
+
* @returns The default type url
|
|
35984
|
+
*/
|
|
35985
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
35986
|
+
}
|
|
35987
|
+
|
|
35988
|
+
namespace DataChangeRecord {
|
|
35989
|
+
|
|
35990
|
+
/** Properties of a ColumnMetadata. */
|
|
35991
|
+
interface IColumnMetadata {
|
|
35992
|
+
|
|
35993
|
+
/** ColumnMetadata name */
|
|
35994
|
+
name?: (string|null);
|
|
35995
|
+
|
|
35996
|
+
/** ColumnMetadata type */
|
|
35997
|
+
type?: (google.spanner.v1.IType|null);
|
|
35998
|
+
|
|
35999
|
+
/** ColumnMetadata isPrimaryKey */
|
|
36000
|
+
isPrimaryKey?: (boolean|null);
|
|
36001
|
+
|
|
36002
|
+
/** ColumnMetadata ordinalPosition */
|
|
36003
|
+
ordinalPosition?: (number|Long|string|null);
|
|
36004
|
+
}
|
|
36005
|
+
|
|
36006
|
+
/** Represents a ColumnMetadata. */
|
|
36007
|
+
class ColumnMetadata implements IColumnMetadata {
|
|
36008
|
+
|
|
36009
|
+
/**
|
|
36010
|
+
* Constructs a new ColumnMetadata.
|
|
36011
|
+
* @param [properties] Properties to set
|
|
36012
|
+
*/
|
|
36013
|
+
constructor(properties?: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IColumnMetadata);
|
|
36014
|
+
|
|
36015
|
+
/** ColumnMetadata name. */
|
|
36016
|
+
public name: string;
|
|
36017
|
+
|
|
36018
|
+
/** ColumnMetadata type. */
|
|
36019
|
+
public type?: (google.spanner.v1.IType|null);
|
|
36020
|
+
|
|
36021
|
+
/** ColumnMetadata isPrimaryKey. */
|
|
36022
|
+
public isPrimaryKey: boolean;
|
|
36023
|
+
|
|
36024
|
+
/** ColumnMetadata ordinalPosition. */
|
|
36025
|
+
public ordinalPosition: (number|Long|string);
|
|
36026
|
+
|
|
36027
|
+
/**
|
|
36028
|
+
* Creates a new ColumnMetadata instance using the specified properties.
|
|
36029
|
+
* @param [properties] Properties to set
|
|
36030
|
+
* @returns ColumnMetadata instance
|
|
36031
|
+
*/
|
|
36032
|
+
public static create(properties?: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IColumnMetadata): google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ColumnMetadata;
|
|
36033
|
+
|
|
36034
|
+
/**
|
|
36035
|
+
* Encodes the specified ColumnMetadata message. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ColumnMetadata.verify|verify} messages.
|
|
36036
|
+
* @param message ColumnMetadata message or plain object to encode
|
|
36037
|
+
* @param [writer] Writer to encode to
|
|
36038
|
+
* @returns Writer
|
|
36039
|
+
*/
|
|
36040
|
+
public static encode(message: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IColumnMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
36041
|
+
|
|
36042
|
+
/**
|
|
36043
|
+
* Encodes the specified ColumnMetadata message, length delimited. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ColumnMetadata.verify|verify} messages.
|
|
36044
|
+
* @param message ColumnMetadata message or plain object to encode
|
|
36045
|
+
* @param [writer] Writer to encode to
|
|
36046
|
+
* @returns Writer
|
|
36047
|
+
*/
|
|
36048
|
+
public static encodeDelimited(message: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IColumnMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
36049
|
+
|
|
36050
|
+
/**
|
|
36051
|
+
* Decodes a ColumnMetadata message from the specified reader or buffer.
|
|
36052
|
+
* @param reader Reader or buffer to decode from
|
|
36053
|
+
* @param [length] Message length if known beforehand
|
|
36054
|
+
* @returns ColumnMetadata
|
|
36055
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
36056
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
36057
|
+
*/
|
|
36058
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ColumnMetadata;
|
|
36059
|
+
|
|
36060
|
+
/**
|
|
36061
|
+
* Decodes a ColumnMetadata message from the specified reader or buffer, length delimited.
|
|
36062
|
+
* @param reader Reader or buffer to decode from
|
|
36063
|
+
* @returns ColumnMetadata
|
|
36064
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
36065
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
36066
|
+
*/
|
|
36067
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ColumnMetadata;
|
|
36068
|
+
|
|
36069
|
+
/**
|
|
36070
|
+
* Verifies a ColumnMetadata message.
|
|
36071
|
+
* @param message Plain object to verify
|
|
36072
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
36073
|
+
*/
|
|
36074
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
36075
|
+
|
|
36076
|
+
/**
|
|
36077
|
+
* Creates a ColumnMetadata message from a plain object. Also converts values to their respective internal types.
|
|
36078
|
+
* @param object Plain object
|
|
36079
|
+
* @returns ColumnMetadata
|
|
36080
|
+
*/
|
|
36081
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ColumnMetadata;
|
|
36082
|
+
|
|
36083
|
+
/**
|
|
36084
|
+
* Creates a plain object from a ColumnMetadata message. Also converts values to other types if specified.
|
|
36085
|
+
* @param message ColumnMetadata
|
|
36086
|
+
* @param [options] Conversion options
|
|
36087
|
+
* @returns Plain object
|
|
36088
|
+
*/
|
|
36089
|
+
public static toObject(message: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ColumnMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
36090
|
+
|
|
36091
|
+
/**
|
|
36092
|
+
* Converts this ColumnMetadata to JSON.
|
|
36093
|
+
* @returns JSON object
|
|
36094
|
+
*/
|
|
36095
|
+
public toJSON(): { [k: string]: any };
|
|
36096
|
+
|
|
36097
|
+
/**
|
|
36098
|
+
* Gets the default type url for ColumnMetadata
|
|
36099
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
36100
|
+
* @returns The default type url
|
|
36101
|
+
*/
|
|
36102
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
36103
|
+
}
|
|
36104
|
+
|
|
36105
|
+
/** Properties of a ModValue. */
|
|
36106
|
+
interface IModValue {
|
|
36107
|
+
|
|
36108
|
+
/** ModValue columnMetadataIndex */
|
|
36109
|
+
columnMetadataIndex?: (number|null);
|
|
36110
|
+
|
|
36111
|
+
/** ModValue value */
|
|
36112
|
+
value?: (google.protobuf.IValue|null);
|
|
36113
|
+
}
|
|
36114
|
+
|
|
36115
|
+
/** Represents a ModValue. */
|
|
36116
|
+
class ModValue implements IModValue {
|
|
36117
|
+
|
|
36118
|
+
/**
|
|
36119
|
+
* Constructs a new ModValue.
|
|
36120
|
+
* @param [properties] Properties to set
|
|
36121
|
+
*/
|
|
36122
|
+
constructor(properties?: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IModValue);
|
|
36123
|
+
|
|
36124
|
+
/** ModValue columnMetadataIndex. */
|
|
36125
|
+
public columnMetadataIndex: number;
|
|
36126
|
+
|
|
36127
|
+
/** ModValue value. */
|
|
36128
|
+
public value?: (google.protobuf.IValue|null);
|
|
36129
|
+
|
|
36130
|
+
/**
|
|
36131
|
+
* Creates a new ModValue instance using the specified properties.
|
|
36132
|
+
* @param [properties] Properties to set
|
|
36133
|
+
* @returns ModValue instance
|
|
36134
|
+
*/
|
|
36135
|
+
public static create(properties?: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IModValue): google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModValue;
|
|
36136
|
+
|
|
36137
|
+
/**
|
|
36138
|
+
* Encodes the specified ModValue message. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModValue.verify|verify} messages.
|
|
36139
|
+
* @param message ModValue message or plain object to encode
|
|
36140
|
+
* @param [writer] Writer to encode to
|
|
36141
|
+
* @returns Writer
|
|
36142
|
+
*/
|
|
36143
|
+
public static encode(message: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IModValue, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
36144
|
+
|
|
36145
|
+
/**
|
|
36146
|
+
* Encodes the specified ModValue message, length delimited. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModValue.verify|verify} messages.
|
|
36147
|
+
* @param message ModValue message or plain object to encode
|
|
36148
|
+
* @param [writer] Writer to encode to
|
|
36149
|
+
* @returns Writer
|
|
36150
|
+
*/
|
|
36151
|
+
public static encodeDelimited(message: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IModValue, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
36152
|
+
|
|
36153
|
+
/**
|
|
36154
|
+
* Decodes a ModValue message from the specified reader or buffer.
|
|
36155
|
+
* @param reader Reader or buffer to decode from
|
|
36156
|
+
* @param [length] Message length if known beforehand
|
|
36157
|
+
* @returns ModValue
|
|
36158
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
36159
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
36160
|
+
*/
|
|
36161
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModValue;
|
|
36162
|
+
|
|
36163
|
+
/**
|
|
36164
|
+
* Decodes a ModValue message from the specified reader or buffer, length delimited.
|
|
36165
|
+
* @param reader Reader or buffer to decode from
|
|
36166
|
+
* @returns ModValue
|
|
36167
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
36168
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
36169
|
+
*/
|
|
36170
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModValue;
|
|
36171
|
+
|
|
36172
|
+
/**
|
|
36173
|
+
* Verifies a ModValue message.
|
|
36174
|
+
* @param message Plain object to verify
|
|
36175
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
36176
|
+
*/
|
|
36177
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
36178
|
+
|
|
36179
|
+
/**
|
|
36180
|
+
* Creates a ModValue message from a plain object. Also converts values to their respective internal types.
|
|
36181
|
+
* @param object Plain object
|
|
36182
|
+
* @returns ModValue
|
|
36183
|
+
*/
|
|
36184
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModValue;
|
|
36185
|
+
|
|
36186
|
+
/**
|
|
36187
|
+
* Creates a plain object from a ModValue message. Also converts values to other types if specified.
|
|
36188
|
+
* @param message ModValue
|
|
36189
|
+
* @param [options] Conversion options
|
|
36190
|
+
* @returns Plain object
|
|
36191
|
+
*/
|
|
36192
|
+
public static toObject(message: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.ModValue, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
36193
|
+
|
|
36194
|
+
/**
|
|
36195
|
+
* Converts this ModValue to JSON.
|
|
36196
|
+
* @returns JSON object
|
|
36197
|
+
*/
|
|
36198
|
+
public toJSON(): { [k: string]: any };
|
|
36199
|
+
|
|
36200
|
+
/**
|
|
36201
|
+
* Gets the default type url for ModValue
|
|
36202
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
36203
|
+
* @returns The default type url
|
|
36204
|
+
*/
|
|
36205
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
36206
|
+
}
|
|
36207
|
+
|
|
36208
|
+
/** Properties of a Mod. */
|
|
36209
|
+
interface IMod {
|
|
36210
|
+
|
|
36211
|
+
/** Mod keys */
|
|
36212
|
+
keys?: (google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IModValue[]|null);
|
|
36213
|
+
|
|
36214
|
+
/** Mod oldValues */
|
|
36215
|
+
oldValues?: (google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IModValue[]|null);
|
|
36216
|
+
|
|
36217
|
+
/** Mod newValues */
|
|
36218
|
+
newValues?: (google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IModValue[]|null);
|
|
36219
|
+
}
|
|
36220
|
+
|
|
36221
|
+
/** Represents a Mod. */
|
|
36222
|
+
class Mod implements IMod {
|
|
36223
|
+
|
|
36224
|
+
/**
|
|
36225
|
+
* Constructs a new Mod.
|
|
36226
|
+
* @param [properties] Properties to set
|
|
36227
|
+
*/
|
|
36228
|
+
constructor(properties?: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IMod);
|
|
36229
|
+
|
|
36230
|
+
/** Mod keys. */
|
|
36231
|
+
public keys: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IModValue[];
|
|
36232
|
+
|
|
36233
|
+
/** Mod oldValues. */
|
|
36234
|
+
public oldValues: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IModValue[];
|
|
36235
|
+
|
|
36236
|
+
/** Mod newValues. */
|
|
36237
|
+
public newValues: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IModValue[];
|
|
36238
|
+
|
|
36239
|
+
/**
|
|
36240
|
+
* Creates a new Mod instance using the specified properties.
|
|
36241
|
+
* @param [properties] Properties to set
|
|
36242
|
+
* @returns Mod instance
|
|
36243
|
+
*/
|
|
36244
|
+
public static create(properties?: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IMod): google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Mod;
|
|
36245
|
+
|
|
36246
|
+
/**
|
|
36247
|
+
* Encodes the specified Mod message. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Mod.verify|verify} messages.
|
|
36248
|
+
* @param message Mod message or plain object to encode
|
|
36249
|
+
* @param [writer] Writer to encode to
|
|
36250
|
+
* @returns Writer
|
|
36251
|
+
*/
|
|
36252
|
+
public static encode(message: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IMod, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
36253
|
+
|
|
36254
|
+
/**
|
|
36255
|
+
* Encodes the specified Mod message, length delimited. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Mod.verify|verify} messages.
|
|
36256
|
+
* @param message Mod message or plain object to encode
|
|
36257
|
+
* @param [writer] Writer to encode to
|
|
36258
|
+
* @returns Writer
|
|
36259
|
+
*/
|
|
36260
|
+
public static encodeDelimited(message: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.IMod, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
36261
|
+
|
|
36262
|
+
/**
|
|
36263
|
+
* Decodes a Mod message from the specified reader or buffer.
|
|
36264
|
+
* @param reader Reader or buffer to decode from
|
|
36265
|
+
* @param [length] Message length if known beforehand
|
|
36266
|
+
* @returns Mod
|
|
36267
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
36268
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
36269
|
+
*/
|
|
36270
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Mod;
|
|
36271
|
+
|
|
36272
|
+
/**
|
|
36273
|
+
* Decodes a Mod message from the specified reader or buffer, length delimited.
|
|
36274
|
+
* @param reader Reader or buffer to decode from
|
|
36275
|
+
* @returns Mod
|
|
36276
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
36277
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
36278
|
+
*/
|
|
36279
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Mod;
|
|
36280
|
+
|
|
36281
|
+
/**
|
|
36282
|
+
* Verifies a Mod message.
|
|
36283
|
+
* @param message Plain object to verify
|
|
36284
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
36285
|
+
*/
|
|
36286
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
36287
|
+
|
|
36288
|
+
/**
|
|
36289
|
+
* Creates a Mod message from a plain object. Also converts values to their respective internal types.
|
|
36290
|
+
* @param object Plain object
|
|
36291
|
+
* @returns Mod
|
|
36292
|
+
*/
|
|
36293
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Mod;
|
|
36294
|
+
|
|
36295
|
+
/**
|
|
36296
|
+
* Creates a plain object from a Mod message. Also converts values to other types if specified.
|
|
36297
|
+
* @param message Mod
|
|
36298
|
+
* @param [options] Conversion options
|
|
36299
|
+
* @returns Plain object
|
|
36300
|
+
*/
|
|
36301
|
+
public static toObject(message: google.spanner.v1.ChangeStreamRecord.DataChangeRecord.Mod, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
36302
|
+
|
|
36303
|
+
/**
|
|
36304
|
+
* Converts this Mod to JSON.
|
|
36305
|
+
* @returns JSON object
|
|
36306
|
+
*/
|
|
36307
|
+
public toJSON(): { [k: string]: any };
|
|
36308
|
+
|
|
36309
|
+
/**
|
|
36310
|
+
* Gets the default type url for Mod
|
|
36311
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
36312
|
+
* @returns The default type url
|
|
36313
|
+
*/
|
|
36314
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
36315
|
+
}
|
|
36316
|
+
|
|
36317
|
+
/** ModType enum. */
|
|
36318
|
+
enum ModType {
|
|
36319
|
+
MOD_TYPE_UNSPECIFIED = 0,
|
|
36320
|
+
INSERT = 10,
|
|
36321
|
+
UPDATE = 20,
|
|
36322
|
+
DELETE = 30
|
|
36323
|
+
}
|
|
36324
|
+
|
|
36325
|
+
/** ValueCaptureType enum. */
|
|
36326
|
+
enum ValueCaptureType {
|
|
36327
|
+
VALUE_CAPTURE_TYPE_UNSPECIFIED = 0,
|
|
36328
|
+
OLD_AND_NEW_VALUES = 10,
|
|
36329
|
+
NEW_VALUES = 20,
|
|
36330
|
+
NEW_ROW = 30,
|
|
36331
|
+
NEW_ROW_AND_OLD_VALUES = 40
|
|
36332
|
+
}
|
|
36333
|
+
}
|
|
36334
|
+
|
|
36335
|
+
/** Properties of a HeartbeatRecord. */
|
|
36336
|
+
interface IHeartbeatRecord {
|
|
36337
|
+
|
|
36338
|
+
/** HeartbeatRecord timestamp */
|
|
36339
|
+
timestamp?: (google.protobuf.ITimestamp|null);
|
|
36340
|
+
}
|
|
36341
|
+
|
|
36342
|
+
/** Represents a HeartbeatRecord. */
|
|
36343
|
+
class HeartbeatRecord implements IHeartbeatRecord {
|
|
36344
|
+
|
|
36345
|
+
/**
|
|
36346
|
+
* Constructs a new HeartbeatRecord.
|
|
36347
|
+
* @param [properties] Properties to set
|
|
36348
|
+
*/
|
|
36349
|
+
constructor(properties?: google.spanner.v1.ChangeStreamRecord.IHeartbeatRecord);
|
|
36350
|
+
|
|
36351
|
+
/** HeartbeatRecord timestamp. */
|
|
36352
|
+
public timestamp?: (google.protobuf.ITimestamp|null);
|
|
36353
|
+
|
|
36354
|
+
/**
|
|
36355
|
+
* Creates a new HeartbeatRecord instance using the specified properties.
|
|
36356
|
+
* @param [properties] Properties to set
|
|
36357
|
+
* @returns HeartbeatRecord instance
|
|
36358
|
+
*/
|
|
36359
|
+
public static create(properties?: google.spanner.v1.ChangeStreamRecord.IHeartbeatRecord): google.spanner.v1.ChangeStreamRecord.HeartbeatRecord;
|
|
36360
|
+
|
|
36361
|
+
/**
|
|
36362
|
+
* Encodes the specified HeartbeatRecord message. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.HeartbeatRecord.verify|verify} messages.
|
|
36363
|
+
* @param message HeartbeatRecord message or plain object to encode
|
|
36364
|
+
* @param [writer] Writer to encode to
|
|
36365
|
+
* @returns Writer
|
|
36366
|
+
*/
|
|
36367
|
+
public static encode(message: google.spanner.v1.ChangeStreamRecord.IHeartbeatRecord, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
36368
|
+
|
|
36369
|
+
/**
|
|
36370
|
+
* Encodes the specified HeartbeatRecord message, length delimited. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.HeartbeatRecord.verify|verify} messages.
|
|
36371
|
+
* @param message HeartbeatRecord message or plain object to encode
|
|
36372
|
+
* @param [writer] Writer to encode to
|
|
36373
|
+
* @returns Writer
|
|
36374
|
+
*/
|
|
36375
|
+
public static encodeDelimited(message: google.spanner.v1.ChangeStreamRecord.IHeartbeatRecord, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
36376
|
+
|
|
36377
|
+
/**
|
|
36378
|
+
* Decodes a HeartbeatRecord message from the specified reader or buffer.
|
|
36379
|
+
* @param reader Reader or buffer to decode from
|
|
36380
|
+
* @param [length] Message length if known beforehand
|
|
36381
|
+
* @returns HeartbeatRecord
|
|
36382
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
36383
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
36384
|
+
*/
|
|
36385
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.ChangeStreamRecord.HeartbeatRecord;
|
|
36386
|
+
|
|
36387
|
+
/**
|
|
36388
|
+
* Decodes a HeartbeatRecord message from the specified reader or buffer, length delimited.
|
|
36389
|
+
* @param reader Reader or buffer to decode from
|
|
36390
|
+
* @returns HeartbeatRecord
|
|
36391
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
36392
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
36393
|
+
*/
|
|
36394
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.ChangeStreamRecord.HeartbeatRecord;
|
|
36395
|
+
|
|
36396
|
+
/**
|
|
36397
|
+
* Verifies a HeartbeatRecord message.
|
|
36398
|
+
* @param message Plain object to verify
|
|
36399
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
36400
|
+
*/
|
|
36401
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
36402
|
+
|
|
36403
|
+
/**
|
|
36404
|
+
* Creates a HeartbeatRecord message from a plain object. Also converts values to their respective internal types.
|
|
36405
|
+
* @param object Plain object
|
|
36406
|
+
* @returns HeartbeatRecord
|
|
36407
|
+
*/
|
|
36408
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.ChangeStreamRecord.HeartbeatRecord;
|
|
36409
|
+
|
|
36410
|
+
/**
|
|
36411
|
+
* Creates a plain object from a HeartbeatRecord message. Also converts values to other types if specified.
|
|
36412
|
+
* @param message HeartbeatRecord
|
|
36413
|
+
* @param [options] Conversion options
|
|
36414
|
+
* @returns Plain object
|
|
36415
|
+
*/
|
|
36416
|
+
public static toObject(message: google.spanner.v1.ChangeStreamRecord.HeartbeatRecord, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
36417
|
+
|
|
36418
|
+
/**
|
|
36419
|
+
* Converts this HeartbeatRecord to JSON.
|
|
36420
|
+
* @returns JSON object
|
|
36421
|
+
*/
|
|
36422
|
+
public toJSON(): { [k: string]: any };
|
|
36423
|
+
|
|
36424
|
+
/**
|
|
36425
|
+
* Gets the default type url for HeartbeatRecord
|
|
36426
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
36427
|
+
* @returns The default type url
|
|
36428
|
+
*/
|
|
36429
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
36430
|
+
}
|
|
36431
|
+
|
|
36432
|
+
/** Properties of a PartitionStartRecord. */
|
|
36433
|
+
interface IPartitionStartRecord {
|
|
36434
|
+
|
|
36435
|
+
/** PartitionStartRecord startTimestamp */
|
|
36436
|
+
startTimestamp?: (google.protobuf.ITimestamp|null);
|
|
36437
|
+
|
|
36438
|
+
/** PartitionStartRecord recordSequence */
|
|
36439
|
+
recordSequence?: (string|null);
|
|
36440
|
+
|
|
36441
|
+
/** PartitionStartRecord partitionTokens */
|
|
36442
|
+
partitionTokens?: (string[]|null);
|
|
36443
|
+
}
|
|
36444
|
+
|
|
36445
|
+
/** Represents a PartitionStartRecord. */
|
|
36446
|
+
class PartitionStartRecord implements IPartitionStartRecord {
|
|
36447
|
+
|
|
36448
|
+
/**
|
|
36449
|
+
* Constructs a new PartitionStartRecord.
|
|
36450
|
+
* @param [properties] Properties to set
|
|
36451
|
+
*/
|
|
36452
|
+
constructor(properties?: google.spanner.v1.ChangeStreamRecord.IPartitionStartRecord);
|
|
36453
|
+
|
|
36454
|
+
/** PartitionStartRecord startTimestamp. */
|
|
36455
|
+
public startTimestamp?: (google.protobuf.ITimestamp|null);
|
|
36456
|
+
|
|
36457
|
+
/** PartitionStartRecord recordSequence. */
|
|
36458
|
+
public recordSequence: string;
|
|
36459
|
+
|
|
36460
|
+
/** PartitionStartRecord partitionTokens. */
|
|
36461
|
+
public partitionTokens: string[];
|
|
36462
|
+
|
|
36463
|
+
/**
|
|
36464
|
+
* Creates a new PartitionStartRecord instance using the specified properties.
|
|
36465
|
+
* @param [properties] Properties to set
|
|
36466
|
+
* @returns PartitionStartRecord instance
|
|
36467
|
+
*/
|
|
36468
|
+
public static create(properties?: google.spanner.v1.ChangeStreamRecord.IPartitionStartRecord): google.spanner.v1.ChangeStreamRecord.PartitionStartRecord;
|
|
36469
|
+
|
|
36470
|
+
/**
|
|
36471
|
+
* Encodes the specified PartitionStartRecord message. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.PartitionStartRecord.verify|verify} messages.
|
|
36472
|
+
* @param message PartitionStartRecord message or plain object to encode
|
|
36473
|
+
* @param [writer] Writer to encode to
|
|
36474
|
+
* @returns Writer
|
|
36475
|
+
*/
|
|
36476
|
+
public static encode(message: google.spanner.v1.ChangeStreamRecord.IPartitionStartRecord, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
36477
|
+
|
|
36478
|
+
/**
|
|
36479
|
+
* Encodes the specified PartitionStartRecord message, length delimited. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.PartitionStartRecord.verify|verify} messages.
|
|
36480
|
+
* @param message PartitionStartRecord message or plain object to encode
|
|
36481
|
+
* @param [writer] Writer to encode to
|
|
36482
|
+
* @returns Writer
|
|
36483
|
+
*/
|
|
36484
|
+
public static encodeDelimited(message: google.spanner.v1.ChangeStreamRecord.IPartitionStartRecord, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
36485
|
+
|
|
36486
|
+
/**
|
|
36487
|
+
* Decodes a PartitionStartRecord message from the specified reader or buffer.
|
|
36488
|
+
* @param reader Reader or buffer to decode from
|
|
36489
|
+
* @param [length] Message length if known beforehand
|
|
36490
|
+
* @returns PartitionStartRecord
|
|
36491
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
36492
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
36493
|
+
*/
|
|
36494
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.ChangeStreamRecord.PartitionStartRecord;
|
|
36495
|
+
|
|
36496
|
+
/**
|
|
36497
|
+
* Decodes a PartitionStartRecord message from the specified reader or buffer, length delimited.
|
|
36498
|
+
* @param reader Reader or buffer to decode from
|
|
36499
|
+
* @returns PartitionStartRecord
|
|
36500
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
36501
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
36502
|
+
*/
|
|
36503
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.ChangeStreamRecord.PartitionStartRecord;
|
|
36504
|
+
|
|
36505
|
+
/**
|
|
36506
|
+
* Verifies a PartitionStartRecord message.
|
|
36507
|
+
* @param message Plain object to verify
|
|
36508
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
36509
|
+
*/
|
|
36510
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
36511
|
+
|
|
36512
|
+
/**
|
|
36513
|
+
* Creates a PartitionStartRecord message from a plain object. Also converts values to their respective internal types.
|
|
36514
|
+
* @param object Plain object
|
|
36515
|
+
* @returns PartitionStartRecord
|
|
36516
|
+
*/
|
|
36517
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.ChangeStreamRecord.PartitionStartRecord;
|
|
36518
|
+
|
|
36519
|
+
/**
|
|
36520
|
+
* Creates a plain object from a PartitionStartRecord message. Also converts values to other types if specified.
|
|
36521
|
+
* @param message PartitionStartRecord
|
|
36522
|
+
* @param [options] Conversion options
|
|
36523
|
+
* @returns Plain object
|
|
36524
|
+
*/
|
|
36525
|
+
public static toObject(message: google.spanner.v1.ChangeStreamRecord.PartitionStartRecord, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
36526
|
+
|
|
36527
|
+
/**
|
|
36528
|
+
* Converts this PartitionStartRecord to JSON.
|
|
36529
|
+
* @returns JSON object
|
|
36530
|
+
*/
|
|
36531
|
+
public toJSON(): { [k: string]: any };
|
|
36532
|
+
|
|
36533
|
+
/**
|
|
36534
|
+
* Gets the default type url for PartitionStartRecord
|
|
36535
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
36536
|
+
* @returns The default type url
|
|
36537
|
+
*/
|
|
36538
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
36539
|
+
}
|
|
36540
|
+
|
|
36541
|
+
/** Properties of a PartitionEndRecord. */
|
|
36542
|
+
interface IPartitionEndRecord {
|
|
36543
|
+
|
|
36544
|
+
/** PartitionEndRecord endTimestamp */
|
|
36545
|
+
endTimestamp?: (google.protobuf.ITimestamp|null);
|
|
36546
|
+
|
|
36547
|
+
/** PartitionEndRecord recordSequence */
|
|
36548
|
+
recordSequence?: (string|null);
|
|
36549
|
+
|
|
36550
|
+
/** PartitionEndRecord partitionToken */
|
|
36551
|
+
partitionToken?: (string|null);
|
|
36552
|
+
}
|
|
36553
|
+
|
|
36554
|
+
/** Represents a PartitionEndRecord. */
|
|
36555
|
+
class PartitionEndRecord implements IPartitionEndRecord {
|
|
36556
|
+
|
|
36557
|
+
/**
|
|
36558
|
+
* Constructs a new PartitionEndRecord.
|
|
36559
|
+
* @param [properties] Properties to set
|
|
36560
|
+
*/
|
|
36561
|
+
constructor(properties?: google.spanner.v1.ChangeStreamRecord.IPartitionEndRecord);
|
|
36562
|
+
|
|
36563
|
+
/** PartitionEndRecord endTimestamp. */
|
|
36564
|
+
public endTimestamp?: (google.protobuf.ITimestamp|null);
|
|
36565
|
+
|
|
36566
|
+
/** PartitionEndRecord recordSequence. */
|
|
36567
|
+
public recordSequence: string;
|
|
36568
|
+
|
|
36569
|
+
/** PartitionEndRecord partitionToken. */
|
|
36570
|
+
public partitionToken: string;
|
|
36571
|
+
|
|
36572
|
+
/**
|
|
36573
|
+
* Creates a new PartitionEndRecord instance using the specified properties.
|
|
36574
|
+
* @param [properties] Properties to set
|
|
36575
|
+
* @returns PartitionEndRecord instance
|
|
36576
|
+
*/
|
|
36577
|
+
public static create(properties?: google.spanner.v1.ChangeStreamRecord.IPartitionEndRecord): google.spanner.v1.ChangeStreamRecord.PartitionEndRecord;
|
|
36578
|
+
|
|
36579
|
+
/**
|
|
36580
|
+
* Encodes the specified PartitionEndRecord message. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.PartitionEndRecord.verify|verify} messages.
|
|
36581
|
+
* @param message PartitionEndRecord message or plain object to encode
|
|
36582
|
+
* @param [writer] Writer to encode to
|
|
36583
|
+
* @returns Writer
|
|
36584
|
+
*/
|
|
36585
|
+
public static encode(message: google.spanner.v1.ChangeStreamRecord.IPartitionEndRecord, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
36586
|
+
|
|
36587
|
+
/**
|
|
36588
|
+
* Encodes the specified PartitionEndRecord message, length delimited. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.PartitionEndRecord.verify|verify} messages.
|
|
36589
|
+
* @param message PartitionEndRecord message or plain object to encode
|
|
36590
|
+
* @param [writer] Writer to encode to
|
|
36591
|
+
* @returns Writer
|
|
36592
|
+
*/
|
|
36593
|
+
public static encodeDelimited(message: google.spanner.v1.ChangeStreamRecord.IPartitionEndRecord, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
36594
|
+
|
|
36595
|
+
/**
|
|
36596
|
+
* Decodes a PartitionEndRecord message from the specified reader or buffer.
|
|
36597
|
+
* @param reader Reader or buffer to decode from
|
|
36598
|
+
* @param [length] Message length if known beforehand
|
|
36599
|
+
* @returns PartitionEndRecord
|
|
36600
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
36601
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
36602
|
+
*/
|
|
36603
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.ChangeStreamRecord.PartitionEndRecord;
|
|
36604
|
+
|
|
36605
|
+
/**
|
|
36606
|
+
* Decodes a PartitionEndRecord message from the specified reader or buffer, length delimited.
|
|
36607
|
+
* @param reader Reader or buffer to decode from
|
|
36608
|
+
* @returns PartitionEndRecord
|
|
36609
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
36610
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
36611
|
+
*/
|
|
36612
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.ChangeStreamRecord.PartitionEndRecord;
|
|
36613
|
+
|
|
36614
|
+
/**
|
|
36615
|
+
* Verifies a PartitionEndRecord message.
|
|
36616
|
+
* @param message Plain object to verify
|
|
36617
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
36618
|
+
*/
|
|
36619
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
36620
|
+
|
|
36621
|
+
/**
|
|
36622
|
+
* Creates a PartitionEndRecord message from a plain object. Also converts values to their respective internal types.
|
|
36623
|
+
* @param object Plain object
|
|
36624
|
+
* @returns PartitionEndRecord
|
|
36625
|
+
*/
|
|
36626
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.ChangeStreamRecord.PartitionEndRecord;
|
|
36627
|
+
|
|
36628
|
+
/**
|
|
36629
|
+
* Creates a plain object from a PartitionEndRecord message. Also converts values to other types if specified.
|
|
36630
|
+
* @param message PartitionEndRecord
|
|
36631
|
+
* @param [options] Conversion options
|
|
36632
|
+
* @returns Plain object
|
|
36633
|
+
*/
|
|
36634
|
+
public static toObject(message: google.spanner.v1.ChangeStreamRecord.PartitionEndRecord, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
36635
|
+
|
|
36636
|
+
/**
|
|
36637
|
+
* Converts this PartitionEndRecord to JSON.
|
|
36638
|
+
* @returns JSON object
|
|
36639
|
+
*/
|
|
36640
|
+
public toJSON(): { [k: string]: any };
|
|
36641
|
+
|
|
36642
|
+
/**
|
|
36643
|
+
* Gets the default type url for PartitionEndRecord
|
|
36644
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
36645
|
+
* @returns The default type url
|
|
36646
|
+
*/
|
|
36647
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
36648
|
+
}
|
|
36649
|
+
|
|
36650
|
+
/** Properties of a PartitionEventRecord. */
|
|
36651
|
+
interface IPartitionEventRecord {
|
|
36652
|
+
|
|
36653
|
+
/** PartitionEventRecord commitTimestamp */
|
|
36654
|
+
commitTimestamp?: (google.protobuf.ITimestamp|null);
|
|
36655
|
+
|
|
36656
|
+
/** PartitionEventRecord recordSequence */
|
|
36657
|
+
recordSequence?: (string|null);
|
|
36658
|
+
|
|
36659
|
+
/** PartitionEventRecord partitionToken */
|
|
36660
|
+
partitionToken?: (string|null);
|
|
36661
|
+
|
|
36662
|
+
/** PartitionEventRecord moveInEvents */
|
|
36663
|
+
moveInEvents?: (google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.IMoveInEvent[]|null);
|
|
36664
|
+
|
|
36665
|
+
/** PartitionEventRecord moveOutEvents */
|
|
36666
|
+
moveOutEvents?: (google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.IMoveOutEvent[]|null);
|
|
36667
|
+
}
|
|
36668
|
+
|
|
36669
|
+
/** Represents a PartitionEventRecord. */
|
|
36670
|
+
class PartitionEventRecord implements IPartitionEventRecord {
|
|
36671
|
+
|
|
36672
|
+
/**
|
|
36673
|
+
* Constructs a new PartitionEventRecord.
|
|
36674
|
+
* @param [properties] Properties to set
|
|
36675
|
+
*/
|
|
36676
|
+
constructor(properties?: google.spanner.v1.ChangeStreamRecord.IPartitionEventRecord);
|
|
36677
|
+
|
|
36678
|
+
/** PartitionEventRecord commitTimestamp. */
|
|
36679
|
+
public commitTimestamp?: (google.protobuf.ITimestamp|null);
|
|
36680
|
+
|
|
36681
|
+
/** PartitionEventRecord recordSequence. */
|
|
36682
|
+
public recordSequence: string;
|
|
36683
|
+
|
|
36684
|
+
/** PartitionEventRecord partitionToken. */
|
|
36685
|
+
public partitionToken: string;
|
|
36686
|
+
|
|
36687
|
+
/** PartitionEventRecord moveInEvents. */
|
|
36688
|
+
public moveInEvents: google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.IMoveInEvent[];
|
|
36689
|
+
|
|
36690
|
+
/** PartitionEventRecord moveOutEvents. */
|
|
36691
|
+
public moveOutEvents: google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.IMoveOutEvent[];
|
|
36692
|
+
|
|
36693
|
+
/**
|
|
36694
|
+
* Creates a new PartitionEventRecord instance using the specified properties.
|
|
36695
|
+
* @param [properties] Properties to set
|
|
36696
|
+
* @returns PartitionEventRecord instance
|
|
36697
|
+
*/
|
|
36698
|
+
public static create(properties?: google.spanner.v1.ChangeStreamRecord.IPartitionEventRecord): google.spanner.v1.ChangeStreamRecord.PartitionEventRecord;
|
|
36699
|
+
|
|
36700
|
+
/**
|
|
36701
|
+
* Encodes the specified PartitionEventRecord message. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.verify|verify} messages.
|
|
36702
|
+
* @param message PartitionEventRecord message or plain object to encode
|
|
36703
|
+
* @param [writer] Writer to encode to
|
|
36704
|
+
* @returns Writer
|
|
36705
|
+
*/
|
|
36706
|
+
public static encode(message: google.spanner.v1.ChangeStreamRecord.IPartitionEventRecord, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
36707
|
+
|
|
36708
|
+
/**
|
|
36709
|
+
* Encodes the specified PartitionEventRecord message, length delimited. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.verify|verify} messages.
|
|
36710
|
+
* @param message PartitionEventRecord message or plain object to encode
|
|
36711
|
+
* @param [writer] Writer to encode to
|
|
36712
|
+
* @returns Writer
|
|
36713
|
+
*/
|
|
36714
|
+
public static encodeDelimited(message: google.spanner.v1.ChangeStreamRecord.IPartitionEventRecord, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
36715
|
+
|
|
36716
|
+
/**
|
|
36717
|
+
* Decodes a PartitionEventRecord message from the specified reader or buffer.
|
|
36718
|
+
* @param reader Reader or buffer to decode from
|
|
36719
|
+
* @param [length] Message length if known beforehand
|
|
36720
|
+
* @returns PartitionEventRecord
|
|
36721
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
36722
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
36723
|
+
*/
|
|
36724
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.ChangeStreamRecord.PartitionEventRecord;
|
|
36725
|
+
|
|
36726
|
+
/**
|
|
36727
|
+
* Decodes a PartitionEventRecord message from the specified reader or buffer, length delimited.
|
|
36728
|
+
* @param reader Reader or buffer to decode from
|
|
36729
|
+
* @returns PartitionEventRecord
|
|
36730
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
36731
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
36732
|
+
*/
|
|
36733
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.ChangeStreamRecord.PartitionEventRecord;
|
|
36734
|
+
|
|
36735
|
+
/**
|
|
36736
|
+
* Verifies a PartitionEventRecord message.
|
|
36737
|
+
* @param message Plain object to verify
|
|
36738
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
36739
|
+
*/
|
|
36740
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
36741
|
+
|
|
36742
|
+
/**
|
|
36743
|
+
* Creates a PartitionEventRecord message from a plain object. Also converts values to their respective internal types.
|
|
36744
|
+
* @param object Plain object
|
|
36745
|
+
* @returns PartitionEventRecord
|
|
36746
|
+
*/
|
|
36747
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.ChangeStreamRecord.PartitionEventRecord;
|
|
36748
|
+
|
|
36749
|
+
/**
|
|
36750
|
+
* Creates a plain object from a PartitionEventRecord message. Also converts values to other types if specified.
|
|
36751
|
+
* @param message PartitionEventRecord
|
|
36752
|
+
* @param [options] Conversion options
|
|
36753
|
+
* @returns Plain object
|
|
36754
|
+
*/
|
|
36755
|
+
public static toObject(message: google.spanner.v1.ChangeStreamRecord.PartitionEventRecord, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
36756
|
+
|
|
36757
|
+
/**
|
|
36758
|
+
* Converts this PartitionEventRecord to JSON.
|
|
36759
|
+
* @returns JSON object
|
|
36760
|
+
*/
|
|
36761
|
+
public toJSON(): { [k: string]: any };
|
|
36762
|
+
|
|
36763
|
+
/**
|
|
36764
|
+
* Gets the default type url for PartitionEventRecord
|
|
36765
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
36766
|
+
* @returns The default type url
|
|
36767
|
+
*/
|
|
36768
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
36769
|
+
}
|
|
36770
|
+
|
|
36771
|
+
namespace PartitionEventRecord {
|
|
36772
|
+
|
|
36773
|
+
/** Properties of a MoveInEvent. */
|
|
36774
|
+
interface IMoveInEvent {
|
|
36775
|
+
|
|
36776
|
+
/** MoveInEvent sourcePartitionToken */
|
|
36777
|
+
sourcePartitionToken?: (string|null);
|
|
36778
|
+
}
|
|
36779
|
+
|
|
36780
|
+
/** Represents a MoveInEvent. */
|
|
36781
|
+
class MoveInEvent implements IMoveInEvent {
|
|
36782
|
+
|
|
36783
|
+
/**
|
|
36784
|
+
* Constructs a new MoveInEvent.
|
|
36785
|
+
* @param [properties] Properties to set
|
|
36786
|
+
*/
|
|
36787
|
+
constructor(properties?: google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.IMoveInEvent);
|
|
36788
|
+
|
|
36789
|
+
/** MoveInEvent sourcePartitionToken. */
|
|
36790
|
+
public sourcePartitionToken: string;
|
|
36791
|
+
|
|
36792
|
+
/**
|
|
36793
|
+
* Creates a new MoveInEvent instance using the specified properties.
|
|
36794
|
+
* @param [properties] Properties to set
|
|
36795
|
+
* @returns MoveInEvent instance
|
|
36796
|
+
*/
|
|
36797
|
+
public static create(properties?: google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.IMoveInEvent): google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveInEvent;
|
|
36798
|
+
|
|
36799
|
+
/**
|
|
36800
|
+
* Encodes the specified MoveInEvent message. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveInEvent.verify|verify} messages.
|
|
36801
|
+
* @param message MoveInEvent message or plain object to encode
|
|
36802
|
+
* @param [writer] Writer to encode to
|
|
36803
|
+
* @returns Writer
|
|
36804
|
+
*/
|
|
36805
|
+
public static encode(message: google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.IMoveInEvent, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
36806
|
+
|
|
36807
|
+
/**
|
|
36808
|
+
* Encodes the specified MoveInEvent message, length delimited. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveInEvent.verify|verify} messages.
|
|
36809
|
+
* @param message MoveInEvent message or plain object to encode
|
|
36810
|
+
* @param [writer] Writer to encode to
|
|
36811
|
+
* @returns Writer
|
|
36812
|
+
*/
|
|
36813
|
+
public static encodeDelimited(message: google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.IMoveInEvent, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
36814
|
+
|
|
36815
|
+
/**
|
|
36816
|
+
* Decodes a MoveInEvent message from the specified reader or buffer.
|
|
36817
|
+
* @param reader Reader or buffer to decode from
|
|
36818
|
+
* @param [length] Message length if known beforehand
|
|
36819
|
+
* @returns MoveInEvent
|
|
36820
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
36821
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
36822
|
+
*/
|
|
36823
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveInEvent;
|
|
36824
|
+
|
|
36825
|
+
/**
|
|
36826
|
+
* Decodes a MoveInEvent message from the specified reader or buffer, length delimited.
|
|
36827
|
+
* @param reader Reader or buffer to decode from
|
|
36828
|
+
* @returns MoveInEvent
|
|
36829
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
36830
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
36831
|
+
*/
|
|
36832
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveInEvent;
|
|
36833
|
+
|
|
36834
|
+
/**
|
|
36835
|
+
* Verifies a MoveInEvent message.
|
|
36836
|
+
* @param message Plain object to verify
|
|
36837
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
36838
|
+
*/
|
|
36839
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
36840
|
+
|
|
36841
|
+
/**
|
|
36842
|
+
* Creates a MoveInEvent message from a plain object. Also converts values to their respective internal types.
|
|
36843
|
+
* @param object Plain object
|
|
36844
|
+
* @returns MoveInEvent
|
|
36845
|
+
*/
|
|
36846
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveInEvent;
|
|
36847
|
+
|
|
36848
|
+
/**
|
|
36849
|
+
* Creates a plain object from a MoveInEvent message. Also converts values to other types if specified.
|
|
36850
|
+
* @param message MoveInEvent
|
|
36851
|
+
* @param [options] Conversion options
|
|
36852
|
+
* @returns Plain object
|
|
36853
|
+
*/
|
|
36854
|
+
public static toObject(message: google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveInEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
36855
|
+
|
|
36856
|
+
/**
|
|
36857
|
+
* Converts this MoveInEvent to JSON.
|
|
36858
|
+
* @returns JSON object
|
|
36859
|
+
*/
|
|
36860
|
+
public toJSON(): { [k: string]: any };
|
|
36861
|
+
|
|
36862
|
+
/**
|
|
36863
|
+
* Gets the default type url for MoveInEvent
|
|
36864
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
36865
|
+
* @returns The default type url
|
|
36866
|
+
*/
|
|
36867
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
36868
|
+
}
|
|
36869
|
+
|
|
36870
|
+
/** Properties of a MoveOutEvent. */
|
|
36871
|
+
interface IMoveOutEvent {
|
|
36872
|
+
|
|
36873
|
+
/** MoveOutEvent destinationPartitionToken */
|
|
36874
|
+
destinationPartitionToken?: (string|null);
|
|
36875
|
+
}
|
|
36876
|
+
|
|
36877
|
+
/** Represents a MoveOutEvent. */
|
|
36878
|
+
class MoveOutEvent implements IMoveOutEvent {
|
|
36879
|
+
|
|
36880
|
+
/**
|
|
36881
|
+
* Constructs a new MoveOutEvent.
|
|
36882
|
+
* @param [properties] Properties to set
|
|
36883
|
+
*/
|
|
36884
|
+
constructor(properties?: google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.IMoveOutEvent);
|
|
36885
|
+
|
|
36886
|
+
/** MoveOutEvent destinationPartitionToken. */
|
|
36887
|
+
public destinationPartitionToken: string;
|
|
36888
|
+
|
|
36889
|
+
/**
|
|
36890
|
+
* Creates a new MoveOutEvent instance using the specified properties.
|
|
36891
|
+
* @param [properties] Properties to set
|
|
36892
|
+
* @returns MoveOutEvent instance
|
|
36893
|
+
*/
|
|
36894
|
+
public static create(properties?: google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.IMoveOutEvent): google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveOutEvent;
|
|
36895
|
+
|
|
36896
|
+
/**
|
|
36897
|
+
* Encodes the specified MoveOutEvent message. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveOutEvent.verify|verify} messages.
|
|
36898
|
+
* @param message MoveOutEvent message or plain object to encode
|
|
36899
|
+
* @param [writer] Writer to encode to
|
|
36900
|
+
* @returns Writer
|
|
36901
|
+
*/
|
|
36902
|
+
public static encode(message: google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.IMoveOutEvent, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
36903
|
+
|
|
36904
|
+
/**
|
|
36905
|
+
* Encodes the specified MoveOutEvent message, length delimited. Does not implicitly {@link google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveOutEvent.verify|verify} messages.
|
|
36906
|
+
* @param message MoveOutEvent message or plain object to encode
|
|
36907
|
+
* @param [writer] Writer to encode to
|
|
36908
|
+
* @returns Writer
|
|
36909
|
+
*/
|
|
36910
|
+
public static encodeDelimited(message: google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.IMoveOutEvent, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
36911
|
+
|
|
36912
|
+
/**
|
|
36913
|
+
* Decodes a MoveOutEvent message from the specified reader or buffer.
|
|
36914
|
+
* @param reader Reader or buffer to decode from
|
|
36915
|
+
* @param [length] Message length if known beforehand
|
|
36916
|
+
* @returns MoveOutEvent
|
|
36917
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
36918
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
36919
|
+
*/
|
|
36920
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveOutEvent;
|
|
36921
|
+
|
|
36922
|
+
/**
|
|
36923
|
+
* Decodes a MoveOutEvent message from the specified reader or buffer, length delimited.
|
|
36924
|
+
* @param reader Reader or buffer to decode from
|
|
36925
|
+
* @returns MoveOutEvent
|
|
36926
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
36927
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
36928
|
+
*/
|
|
36929
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveOutEvent;
|
|
36930
|
+
|
|
36931
|
+
/**
|
|
36932
|
+
* Verifies a MoveOutEvent message.
|
|
36933
|
+
* @param message Plain object to verify
|
|
36934
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
36935
|
+
*/
|
|
36936
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
36937
|
+
|
|
36938
|
+
/**
|
|
36939
|
+
* Creates a MoveOutEvent message from a plain object. Also converts values to their respective internal types.
|
|
36940
|
+
* @param object Plain object
|
|
36941
|
+
* @returns MoveOutEvent
|
|
36942
|
+
*/
|
|
36943
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveOutEvent;
|
|
36944
|
+
|
|
36945
|
+
/**
|
|
36946
|
+
* Creates a plain object from a MoveOutEvent message. Also converts values to other types if specified.
|
|
36947
|
+
* @param message MoveOutEvent
|
|
36948
|
+
* @param [options] Conversion options
|
|
36949
|
+
* @returns Plain object
|
|
36950
|
+
*/
|
|
36951
|
+
public static toObject(message: google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveOutEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
36952
|
+
|
|
36953
|
+
/**
|
|
36954
|
+
* Converts this MoveOutEvent to JSON.
|
|
36955
|
+
* @returns JSON object
|
|
36956
|
+
*/
|
|
36957
|
+
public toJSON(): { [k: string]: any };
|
|
36958
|
+
|
|
36959
|
+
/**
|
|
36960
|
+
* Gets the default type url for MoveOutEvent
|
|
36961
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
36962
|
+
* @returns The default type url
|
|
36963
|
+
*/
|
|
36964
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
36965
|
+
}
|
|
36966
|
+
}
|
|
36967
|
+
}
|
|
35118
36968
|
}
|
|
35119
36969
|
}
|
|
35120
36970
|
|
|
@@ -35754,6 +37604,9 @@ export namespace google {
|
|
|
35754
37604
|
|
|
35755
37605
|
/** CommonLanguageSettings destinations */
|
|
35756
37606
|
destinations?: (google.api.ClientLibraryDestination[]|null);
|
|
37607
|
+
|
|
37608
|
+
/** CommonLanguageSettings selectiveGapicGeneration */
|
|
37609
|
+
selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|null);
|
|
35757
37610
|
}
|
|
35758
37611
|
|
|
35759
37612
|
/** Represents a CommonLanguageSettings. */
|
|
@@ -35771,6 +37624,9 @@ export namespace google {
|
|
|
35771
37624
|
/** CommonLanguageSettings destinations. */
|
|
35772
37625
|
public destinations: google.api.ClientLibraryDestination[];
|
|
35773
37626
|
|
|
37627
|
+
/** CommonLanguageSettings selectiveGapicGeneration. */
|
|
37628
|
+
public selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|null);
|
|
37629
|
+
|
|
35774
37630
|
/**
|
|
35775
37631
|
* Creates a new CommonLanguageSettings instance using the specified properties.
|
|
35776
37632
|
* @param [properties] Properties to set
|
|
@@ -36471,6 +38327,9 @@ export namespace google {
|
|
|
36471
38327
|
|
|
36472
38328
|
/** PythonSettings common */
|
|
36473
38329
|
common?: (google.api.ICommonLanguageSettings|null);
|
|
38330
|
+
|
|
38331
|
+
/** PythonSettings experimentalFeatures */
|
|
38332
|
+
experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|null);
|
|
36474
38333
|
}
|
|
36475
38334
|
|
|
36476
38335
|
/** Represents a PythonSettings. */
|
|
@@ -36485,6 +38344,9 @@ export namespace google {
|
|
|
36485
38344
|
/** PythonSettings common. */
|
|
36486
38345
|
public common?: (google.api.ICommonLanguageSettings|null);
|
|
36487
38346
|
|
|
38347
|
+
/** PythonSettings experimentalFeatures. */
|
|
38348
|
+
public experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|null);
|
|
38349
|
+
|
|
36488
38350
|
/**
|
|
36489
38351
|
* Creates a new PythonSettings instance using the specified properties.
|
|
36490
38352
|
* @param [properties] Properties to set
|
|
@@ -36563,6 +38425,118 @@ export namespace google {
|
|
|
36563
38425
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
36564
38426
|
}
|
|
36565
38427
|
|
|
38428
|
+
namespace PythonSettings {
|
|
38429
|
+
|
|
38430
|
+
/** Properties of an ExperimentalFeatures. */
|
|
38431
|
+
interface IExperimentalFeatures {
|
|
38432
|
+
|
|
38433
|
+
/** ExperimentalFeatures restAsyncIoEnabled */
|
|
38434
|
+
restAsyncIoEnabled?: (boolean|null);
|
|
38435
|
+
|
|
38436
|
+
/** ExperimentalFeatures protobufPythonicTypesEnabled */
|
|
38437
|
+
protobufPythonicTypesEnabled?: (boolean|null);
|
|
38438
|
+
|
|
38439
|
+
/** ExperimentalFeatures unversionedPackageDisabled */
|
|
38440
|
+
unversionedPackageDisabled?: (boolean|null);
|
|
38441
|
+
}
|
|
38442
|
+
|
|
38443
|
+
/** Represents an ExperimentalFeatures. */
|
|
38444
|
+
class ExperimentalFeatures implements IExperimentalFeatures {
|
|
38445
|
+
|
|
38446
|
+
/**
|
|
38447
|
+
* Constructs a new ExperimentalFeatures.
|
|
38448
|
+
* @param [properties] Properties to set
|
|
38449
|
+
*/
|
|
38450
|
+
constructor(properties?: google.api.PythonSettings.IExperimentalFeatures);
|
|
38451
|
+
|
|
38452
|
+
/** ExperimentalFeatures restAsyncIoEnabled. */
|
|
38453
|
+
public restAsyncIoEnabled: boolean;
|
|
38454
|
+
|
|
38455
|
+
/** ExperimentalFeatures protobufPythonicTypesEnabled. */
|
|
38456
|
+
public protobufPythonicTypesEnabled: boolean;
|
|
38457
|
+
|
|
38458
|
+
/** ExperimentalFeatures unversionedPackageDisabled. */
|
|
38459
|
+
public unversionedPackageDisabled: boolean;
|
|
38460
|
+
|
|
38461
|
+
/**
|
|
38462
|
+
* Creates a new ExperimentalFeatures instance using the specified properties.
|
|
38463
|
+
* @param [properties] Properties to set
|
|
38464
|
+
* @returns ExperimentalFeatures instance
|
|
38465
|
+
*/
|
|
38466
|
+
public static create(properties?: google.api.PythonSettings.IExperimentalFeatures): google.api.PythonSettings.ExperimentalFeatures;
|
|
38467
|
+
|
|
38468
|
+
/**
|
|
38469
|
+
* Encodes the specified ExperimentalFeatures message. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages.
|
|
38470
|
+
* @param message ExperimentalFeatures message or plain object to encode
|
|
38471
|
+
* @param [writer] Writer to encode to
|
|
38472
|
+
* @returns Writer
|
|
38473
|
+
*/
|
|
38474
|
+
public static encode(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
38475
|
+
|
|
38476
|
+
/**
|
|
38477
|
+
* Encodes the specified ExperimentalFeatures message, length delimited. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages.
|
|
38478
|
+
* @param message ExperimentalFeatures message or plain object to encode
|
|
38479
|
+
* @param [writer] Writer to encode to
|
|
38480
|
+
* @returns Writer
|
|
38481
|
+
*/
|
|
38482
|
+
public static encodeDelimited(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
38483
|
+
|
|
38484
|
+
/**
|
|
38485
|
+
* Decodes an ExperimentalFeatures message from the specified reader or buffer.
|
|
38486
|
+
* @param reader Reader or buffer to decode from
|
|
38487
|
+
* @param [length] Message length if known beforehand
|
|
38488
|
+
* @returns ExperimentalFeatures
|
|
38489
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
38490
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
38491
|
+
*/
|
|
38492
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.PythonSettings.ExperimentalFeatures;
|
|
38493
|
+
|
|
38494
|
+
/**
|
|
38495
|
+
* Decodes an ExperimentalFeatures message from the specified reader or buffer, length delimited.
|
|
38496
|
+
* @param reader Reader or buffer to decode from
|
|
38497
|
+
* @returns ExperimentalFeatures
|
|
38498
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
38499
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
38500
|
+
*/
|
|
38501
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.PythonSettings.ExperimentalFeatures;
|
|
38502
|
+
|
|
38503
|
+
/**
|
|
38504
|
+
* Verifies an ExperimentalFeatures message.
|
|
38505
|
+
* @param message Plain object to verify
|
|
38506
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
38507
|
+
*/
|
|
38508
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
38509
|
+
|
|
38510
|
+
/**
|
|
38511
|
+
* Creates an ExperimentalFeatures message from a plain object. Also converts values to their respective internal types.
|
|
38512
|
+
* @param object Plain object
|
|
38513
|
+
* @returns ExperimentalFeatures
|
|
38514
|
+
*/
|
|
38515
|
+
public static fromObject(object: { [k: string]: any }): google.api.PythonSettings.ExperimentalFeatures;
|
|
38516
|
+
|
|
38517
|
+
/**
|
|
38518
|
+
* Creates a plain object from an ExperimentalFeatures message. Also converts values to other types if specified.
|
|
38519
|
+
* @param message ExperimentalFeatures
|
|
38520
|
+
* @param [options] Conversion options
|
|
38521
|
+
* @returns Plain object
|
|
38522
|
+
*/
|
|
38523
|
+
public static toObject(message: google.api.PythonSettings.ExperimentalFeatures, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
38524
|
+
|
|
38525
|
+
/**
|
|
38526
|
+
* Converts this ExperimentalFeatures to JSON.
|
|
38527
|
+
* @returns JSON object
|
|
38528
|
+
*/
|
|
38529
|
+
public toJSON(): { [k: string]: any };
|
|
38530
|
+
|
|
38531
|
+
/**
|
|
38532
|
+
* Gets the default type url for ExperimentalFeatures
|
|
38533
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
38534
|
+
* @returns The default type url
|
|
38535
|
+
*/
|
|
38536
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
38537
|
+
}
|
|
38538
|
+
}
|
|
38539
|
+
|
|
36566
38540
|
/** Properties of a NodeSettings. */
|
|
36567
38541
|
interface INodeSettings {
|
|
36568
38542
|
|
|
@@ -36889,6 +38863,9 @@ export namespace google {
|
|
|
36889
38863
|
|
|
36890
38864
|
/** GoSettings common */
|
|
36891
38865
|
common?: (google.api.ICommonLanguageSettings|null);
|
|
38866
|
+
|
|
38867
|
+
/** GoSettings renamedServices */
|
|
38868
|
+
renamedServices?: ({ [k: string]: string }|null);
|
|
36892
38869
|
}
|
|
36893
38870
|
|
|
36894
38871
|
/** Represents a GoSettings. */
|
|
@@ -36903,6 +38880,9 @@ export namespace google {
|
|
|
36903
38880
|
/** GoSettings common. */
|
|
36904
38881
|
public common?: (google.api.ICommonLanguageSettings|null);
|
|
36905
38882
|
|
|
38883
|
+
/** GoSettings renamedServices. */
|
|
38884
|
+
public renamedServices: { [k: string]: string };
|
|
38885
|
+
|
|
36906
38886
|
/**
|
|
36907
38887
|
* Creates a new GoSettings instance using the specified properties.
|
|
36908
38888
|
* @param [properties] Properties to set
|
|
@@ -37227,6 +39207,109 @@ export namespace google {
|
|
|
37227
39207
|
PACKAGE_MANAGER = 20
|
|
37228
39208
|
}
|
|
37229
39209
|
|
|
39210
|
+
/** Properties of a SelectiveGapicGeneration. */
|
|
39211
|
+
interface ISelectiveGapicGeneration {
|
|
39212
|
+
|
|
39213
|
+
/** SelectiveGapicGeneration methods */
|
|
39214
|
+
methods?: (string[]|null);
|
|
39215
|
+
|
|
39216
|
+
/** SelectiveGapicGeneration generateOmittedAsInternal */
|
|
39217
|
+
generateOmittedAsInternal?: (boolean|null);
|
|
39218
|
+
}
|
|
39219
|
+
|
|
39220
|
+
/** Represents a SelectiveGapicGeneration. */
|
|
39221
|
+
class SelectiveGapicGeneration implements ISelectiveGapicGeneration {
|
|
39222
|
+
|
|
39223
|
+
/**
|
|
39224
|
+
* Constructs a new SelectiveGapicGeneration.
|
|
39225
|
+
* @param [properties] Properties to set
|
|
39226
|
+
*/
|
|
39227
|
+
constructor(properties?: google.api.ISelectiveGapicGeneration);
|
|
39228
|
+
|
|
39229
|
+
/** SelectiveGapicGeneration methods. */
|
|
39230
|
+
public methods: string[];
|
|
39231
|
+
|
|
39232
|
+
/** SelectiveGapicGeneration generateOmittedAsInternal. */
|
|
39233
|
+
public generateOmittedAsInternal: boolean;
|
|
39234
|
+
|
|
39235
|
+
/**
|
|
39236
|
+
* Creates a new SelectiveGapicGeneration instance using the specified properties.
|
|
39237
|
+
* @param [properties] Properties to set
|
|
39238
|
+
* @returns SelectiveGapicGeneration instance
|
|
39239
|
+
*/
|
|
39240
|
+
public static create(properties?: google.api.ISelectiveGapicGeneration): google.api.SelectiveGapicGeneration;
|
|
39241
|
+
|
|
39242
|
+
/**
|
|
39243
|
+
* Encodes the specified SelectiveGapicGeneration message. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages.
|
|
39244
|
+
* @param message SelectiveGapicGeneration message or plain object to encode
|
|
39245
|
+
* @param [writer] Writer to encode to
|
|
39246
|
+
* @returns Writer
|
|
39247
|
+
*/
|
|
39248
|
+
public static encode(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
39249
|
+
|
|
39250
|
+
/**
|
|
39251
|
+
* Encodes the specified SelectiveGapicGeneration message, length delimited. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages.
|
|
39252
|
+
* @param message SelectiveGapicGeneration message or plain object to encode
|
|
39253
|
+
* @param [writer] Writer to encode to
|
|
39254
|
+
* @returns Writer
|
|
39255
|
+
*/
|
|
39256
|
+
public static encodeDelimited(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
39257
|
+
|
|
39258
|
+
/**
|
|
39259
|
+
* Decodes a SelectiveGapicGeneration message from the specified reader or buffer.
|
|
39260
|
+
* @param reader Reader or buffer to decode from
|
|
39261
|
+
* @param [length] Message length if known beforehand
|
|
39262
|
+
* @returns SelectiveGapicGeneration
|
|
39263
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
39264
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
39265
|
+
*/
|
|
39266
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.SelectiveGapicGeneration;
|
|
39267
|
+
|
|
39268
|
+
/**
|
|
39269
|
+
* Decodes a SelectiveGapicGeneration message from the specified reader or buffer, length delimited.
|
|
39270
|
+
* @param reader Reader or buffer to decode from
|
|
39271
|
+
* @returns SelectiveGapicGeneration
|
|
39272
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
39273
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
39274
|
+
*/
|
|
39275
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.SelectiveGapicGeneration;
|
|
39276
|
+
|
|
39277
|
+
/**
|
|
39278
|
+
* Verifies a SelectiveGapicGeneration message.
|
|
39279
|
+
* @param message Plain object to verify
|
|
39280
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
39281
|
+
*/
|
|
39282
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
39283
|
+
|
|
39284
|
+
/**
|
|
39285
|
+
* Creates a SelectiveGapicGeneration message from a plain object. Also converts values to their respective internal types.
|
|
39286
|
+
* @param object Plain object
|
|
39287
|
+
* @returns SelectiveGapicGeneration
|
|
39288
|
+
*/
|
|
39289
|
+
public static fromObject(object: { [k: string]: any }): google.api.SelectiveGapicGeneration;
|
|
39290
|
+
|
|
39291
|
+
/**
|
|
39292
|
+
* Creates a plain object from a SelectiveGapicGeneration message. Also converts values to other types if specified.
|
|
39293
|
+
* @param message SelectiveGapicGeneration
|
|
39294
|
+
* @param [options] Conversion options
|
|
39295
|
+
* @returns Plain object
|
|
39296
|
+
*/
|
|
39297
|
+
public static toObject(message: google.api.SelectiveGapicGeneration, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
39298
|
+
|
|
39299
|
+
/**
|
|
39300
|
+
* Converts this SelectiveGapicGeneration to JSON.
|
|
39301
|
+
* @returns JSON object
|
|
39302
|
+
*/
|
|
39303
|
+
public toJSON(): { [k: string]: any };
|
|
39304
|
+
|
|
39305
|
+
/**
|
|
39306
|
+
* Gets the default type url for SelectiveGapicGeneration
|
|
39307
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
39308
|
+
* @returns The default type url
|
|
39309
|
+
*/
|
|
39310
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
39311
|
+
}
|
|
39312
|
+
|
|
37230
39313
|
/** LaunchStage enum. */
|
|
37231
39314
|
enum LaunchStage {
|
|
37232
39315
|
LAUNCH_STAGE_UNSPECIFIED = 0,
|