@google-cloud/spanner 7.2.0 → 7.3.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/CHANGELOG.md CHANGED
@@ -4,6 +4,21 @@
4
4
 
5
5
  [1]: https://www.npmjs.com/package/nodejs-spanner?activeTab=versions
6
6
 
7
+ ## [7.3.0](https://github.com/googleapis/nodejs-spanner/compare/v7.2.0...v7.3.0) (2024-02-08)
8
+
9
+
10
+ ### Features
11
+
12
+ * **spanner:** Add maxCommitDelay support ([#1992](https://github.com/googleapis/nodejs-spanner/issues/1992)) ([9f84408](https://github.com/googleapis/nodejs-spanner/commit/9f8440843fd8926a37ec300a318dad33b83b4f97))
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * **deps:** Update dependency google-gax to v4.1.0 ([#1981](https://github.com/googleapis/nodejs-spanner/issues/1981)) ([2a36150](https://github.com/googleapis/nodejs-spanner/commit/2a36150cb61e9abeef073724189cc651d29d8776))
18
+ * **deps:** Update dependency google-gax to v4.2.0 ([#1988](https://github.com/googleapis/nodejs-spanner/issues/1988)) ([005589a](https://github.com/googleapis/nodejs-spanner/commit/005589a7727ee87948a55a6c7710f5150fc1c6a7))
19
+ * **deps:** Update dependency google-gax to v4.2.1 ([#1989](https://github.com/googleapis/nodejs-spanner/issues/1989)) ([d2ae995](https://github.com/googleapis/nodejs-spanner/commit/d2ae9952e7449ce2321e69a6be36c9d50d863095))
20
+ * **deps:** Update dependency google-gax to v4.3.0 ([#1990](https://github.com/googleapis/nodejs-spanner/issues/1990)) ([e625753](https://github.com/googleapis/nodejs-spanner/commit/e625753a37393f32d9e449aa7324763082f6c923))
21
+
7
22
  ## [7.2.0](https://github.com/googleapis/nodejs-spanner/compare/v7.1.0...v7.2.0) (2024-01-11)
8
23
 
9
24
 
@@ -572,6 +572,23 @@ message CreateDatabaseRequest {
572
572
 
573
573
  // Optional. The dialect of the Cloud Spanner Database.
574
574
  DatabaseDialect database_dialect = 5 [(google.api.field_behavior) = OPTIONAL];
575
+
576
+ // Optional. Proto descriptors used by CREATE/ALTER PROTO BUNDLE statements in
577
+ // 'extra_statements' above.
578
+ // Contains a protobuf-serialized
579
+ // [google.protobuf.FileDescriptorSet](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.proto).
580
+ // To generate it, [install](https://grpc.io/docs/protoc-installation/) and
581
+ // run `protoc` with --include_imports and --descriptor_set_out. For example,
582
+ // to generate for moon/shot/app.proto, run
583
+ // ```
584
+ // $protoc --proto_path=/app_path --proto_path=/lib_path \
585
+ // --include_imports \
586
+ // --descriptor_set_out=descriptors.data \
587
+ // moon/shot/app.proto
588
+ // ```
589
+ // For more details, see protobuffer [self
590
+ // description](https://developers.google.com/protocol-buffers/docs/techniques#self-description).
591
+ bytes proto_descriptors = 6 [(google.api.field_behavior) = OPTIONAL];
575
592
  }
576
593
 
577
594
  // Metadata type for the operation returned by
@@ -674,6 +691,22 @@ message UpdateDatabaseDdlRequest {
674
691
  // [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] returns
675
692
  // `ALREADY_EXISTS`.
676
693
  string operation_id = 3;
694
+
695
+ // Optional. Proto descriptors used by CREATE/ALTER PROTO BUNDLE statements.
696
+ // Contains a protobuf-serialized
697
+ // [google.protobuf.FileDescriptorSet](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.proto).
698
+ // To generate it, [install](https://grpc.io/docs/protoc-installation/) and
699
+ // run `protoc` with --include_imports and --descriptor_set_out. For example,
700
+ // to generate for moon/shot/app.proto, run
701
+ // ```
702
+ // $protoc --proto_path=/app_path --proto_path=/lib_path \
703
+ // --include_imports \
704
+ // --descriptor_set_out=descriptors.data \
705
+ // moon/shot/app.proto
706
+ // ```
707
+ // For more details, see protobuffer [self
708
+ // description](https://developers.google.com/protocol-buffers/docs/techniques#self-description).
709
+ bytes proto_descriptors = 4 [(google.api.field_behavior) = OPTIONAL];
677
710
  }
678
711
 
679
712
  // Action information extracted from a DDL statement. This proto is used to
@@ -762,6 +795,13 @@ message GetDatabaseDdlResponse {
762
795
  // A list of formatted DDL statements defining the schema of the database
763
796
  // specified in the request.
764
797
  repeated string statements = 1;
798
+
799
+ // Proto descriptors stored in the database.
800
+ // Contains a protobuf-serialized
801
+ // [google.protobuf.FileDescriptorSet](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.proto).
802
+ // For more details, see protobuffer [self
803
+ // description](https://developers.google.com/protocol-buffers/docs/techniques#self-description).
804
+ bytes proto_descriptors = 2;
765
805
  }
766
806
 
767
807
  // The request for
@@ -22,6 +22,7 @@ import "google/api/annotations.proto";
22
22
  import "google/api/client.proto";
23
23
  import "google/api/field_behavior.proto";
24
24
  import "google/api/resource.proto";
25
+ import "google/protobuf/duration.proto";
25
26
  import "google/protobuf/empty.proto";
26
27
  import "google/protobuf/struct.proto";
27
28
  import "google/protobuf/timestamp.proto";
@@ -927,9 +928,10 @@ message PartitionQueryRequest {
927
928
 
928
929
  // Required. The query request to generate partitions for. The request will
929
930
  // fail if the query is not root partitionable. For a query to be root
930
- // partitionable, it needs to satisfy a few conditions. For example, the first
931
- // operator in the query execution plan must be a distributed union operator.
932
- // For more information about other conditions, see [Read data in
931
+ // partitionable, it needs to satisfy a few conditions. For example, if the
932
+ // query execution plan contains a distributed union operator, then it must be
933
+ // the first operator in the plan. For more information about other
934
+ // conditions, see [Read data in
933
935
  // parallel](https://cloud.google.com/spanner/docs/reads#read_data_in_parallel).
934
936
  //
935
937
  // The query request must not contain DML commands, such as INSERT, UPDATE, or
@@ -1163,6 +1165,14 @@ message CommitRequest {
1163
1165
  // Default value is `false`.
1164
1166
  bool return_commit_stats = 5;
1165
1167
 
1168
+ // Optional. The amount of latency this request is willing to incur in order
1169
+ // to improve throughput. If this field is not set, Spanner assumes requests
1170
+ // are relatively latency sensitive and automatically determines an
1171
+ // appropriate delay time. You can specify a batching delay value between 0
1172
+ // and 500 ms.
1173
+ google.protobuf.Duration max_commit_delay = 8
1174
+ [(google.api.field_behavior) = OPTIONAL];
1175
+
1166
1176
  // Common options for this request.
1167
1177
  RequestOptions request_options = 6;
1168
1178
  }
@@ -47,6 +47,13 @@ message Type {
47
47
  // typically is not needed to process the content of a value (it doesn't
48
48
  // affect serialization) and clients can ignore it on the read path.
49
49
  TypeAnnotationCode type_annotation = 4;
50
+
51
+ // If [code][google.spanner.v1.Type.code] ==
52
+ // [PROTO][google.spanner.v1.TypeCode.PROTO] or
53
+ // [code][google.spanner.v1.Type.code] ==
54
+ // [ENUM][google.spanner.v1.TypeCode.ENUM], then `proto_type_fqn` is the fully
55
+ // qualified name of the proto type representing the proto/enum definition.
56
+ string proto_type_fqn = 5;
50
57
  }
51
58
 
52
59
  // `StructType` defines the fields of a [STRUCT][google.spanner.v1.TypeCode.STRUCT] type.
@@ -96,6 +103,10 @@ enum TypeCode {
96
103
  // `"-Infinity"`.
97
104
  FLOAT64 = 3;
98
105
 
106
+ // Encoded as `number`, or the strings `"NaN"`, `"Infinity"`, or
107
+ // `"-Infinity"`.
108
+ FLOAT32 = 15;
109
+
99
110
  // Encoded as `string` in RFC 3339 timestamp format. The time zone
100
111
  // must be present, and must be `"Z"`.
101
112
  //
@@ -145,6 +156,13 @@ enum TypeCode {
145
156
  // preserved.
146
157
  // - JSON array elements will have their order preserved.
147
158
  JSON = 11;
159
+
160
+ // Encoded as a base64-encoded `string`, as described in RFC 4648,
161
+ // section 4.
162
+ PROTO = 13;
163
+
164
+ // Encoded as `string`, in decimal format.
165
+ ENUM = 14;
148
166
  }
149
167
 
150
168
  // `TypeAnnotationCode` is used as a part of [Type][google.spanner.v1.Type] to
@@ -220,6 +220,21 @@ export namespace google {
220
220
  public static getTypeUrl(typeUrlPrefix?: string): string;
221
221
  }
222
222
 
223
+ /** Edition enum. */
224
+ enum Edition {
225
+ EDITION_UNKNOWN = 0,
226
+ EDITION_PROTO2 = 998,
227
+ EDITION_PROTO3 = 999,
228
+ EDITION_2023 = 1000,
229
+ EDITION_2024 = 1001,
230
+ EDITION_1_TEST_ONLY = 1,
231
+ EDITION_2_TEST_ONLY = 2,
232
+ EDITION_99997_TEST_ONLY = 99997,
233
+ EDITION_99998_TEST_ONLY = 99998,
234
+ EDITION_99999_TEST_ONLY = 99999,
235
+ EDITION_MAX = 2147483647
236
+ }
237
+
223
238
  /** Properties of a FileDescriptorProto. */
224
239
  interface IFileDescriptorProto {
225
240
 
@@ -260,7 +275,7 @@ export namespace google {
260
275
  syntax?: (string|null);
261
276
 
262
277
  /** FileDescriptorProto edition */
263
- edition?: (string|null);
278
+ edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
264
279
  }
265
280
 
266
281
  /** Represents a FileDescriptorProto. */
@@ -309,7 +324,7 @@ export namespace google {
309
324
  public syntax: string;
310
325
 
311
326
  /** FileDescriptorProto edition. */
312
- public edition: string;
327
+ public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
313
328
 
314
329
  /**
315
330
  * Creates a new FileDescriptorProto instance using the specified properties.
@@ -1184,8 +1199,8 @@ export namespace google {
1184
1199
  /** Label enum. */
1185
1200
  enum Label {
1186
1201
  LABEL_OPTIONAL = 1,
1187
- LABEL_REQUIRED = 2,
1188
- LABEL_REPEATED = 3
1202
+ LABEL_REPEATED = 3,
1203
+ LABEL_REQUIRED = 2
1189
1204
  }
1190
1205
  }
1191
1206
 
@@ -1897,9 +1912,6 @@ export namespace google {
1897
1912
  /** FileOptions pyGenericServices */
1898
1913
  pyGenericServices?: (boolean|null);
1899
1914
 
1900
- /** FileOptions phpGenericServices */
1901
- phpGenericServices?: (boolean|null);
1902
-
1903
1915
  /** FileOptions deprecated */
1904
1916
  deprecated?: (boolean|null);
1905
1917
 
@@ -1976,9 +1988,6 @@ export namespace google {
1976
1988
  /** FileOptions pyGenericServices. */
1977
1989
  public pyGenericServices: boolean;
1978
1990
 
1979
- /** FileOptions phpGenericServices. */
1980
- public phpGenericServices: boolean;
1981
-
1982
1991
  /** FileOptions deprecated. */
1983
1992
  public deprecated: boolean;
1984
1993
 
@@ -2452,7 +2461,7 @@ export namespace google {
2452
2461
  interface IEditionDefault {
2453
2462
 
2454
2463
  /** EditionDefault edition */
2455
- edition?: (string|null);
2464
+ edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
2456
2465
 
2457
2466
  /** EditionDefault value */
2458
2467
  value?: (string|null);
@@ -2468,7 +2477,7 @@ export namespace google {
2468
2477
  constructor(properties?: google.protobuf.FieldOptions.IEditionDefault);
2469
2478
 
2470
2479
  /** EditionDefault edition. */
2471
- public edition: string;
2480
+ public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
2472
2481
 
2473
2482
  /** EditionDefault value. */
2474
2483
  public value: string;
@@ -3391,17 +3400,14 @@ export namespace google {
3391
3400
  /** FeatureSet repeatedFieldEncoding */
3392
3401
  repeatedFieldEncoding?: (google.protobuf.FeatureSet.RepeatedFieldEncoding|keyof typeof google.protobuf.FeatureSet.RepeatedFieldEncoding|null);
3393
3402
 
3394
- /** FeatureSet stringFieldValidation */
3395
- stringFieldValidation?: (google.protobuf.FeatureSet.StringFieldValidation|keyof typeof google.protobuf.FeatureSet.StringFieldValidation|null);
3403
+ /** FeatureSet utf8Validation */
3404
+ utf8Validation?: (google.protobuf.FeatureSet.Utf8Validation|keyof typeof google.protobuf.FeatureSet.Utf8Validation|null);
3396
3405
 
3397
3406
  /** FeatureSet messageEncoding */
3398
3407
  messageEncoding?: (google.protobuf.FeatureSet.MessageEncoding|keyof typeof google.protobuf.FeatureSet.MessageEncoding|null);
3399
3408
 
3400
3409
  /** FeatureSet jsonFormat */
3401
3410
  jsonFormat?: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat|null);
3402
-
3403
- /** FeatureSet rawFeatures */
3404
- rawFeatures?: (google.protobuf.IFeatureSet|null);
3405
3411
  }
3406
3412
 
3407
3413
  /** Represents a FeatureSet. */
@@ -3422,8 +3428,8 @@ export namespace google {
3422
3428
  /** FeatureSet repeatedFieldEncoding. */
3423
3429
  public repeatedFieldEncoding: (google.protobuf.FeatureSet.RepeatedFieldEncoding|keyof typeof google.protobuf.FeatureSet.RepeatedFieldEncoding);
3424
3430
 
3425
- /** FeatureSet stringFieldValidation. */
3426
- public stringFieldValidation: (google.protobuf.FeatureSet.StringFieldValidation|keyof typeof google.protobuf.FeatureSet.StringFieldValidation);
3431
+ /** FeatureSet utf8Validation. */
3432
+ public utf8Validation: (google.protobuf.FeatureSet.Utf8Validation|keyof typeof google.protobuf.FeatureSet.Utf8Validation);
3427
3433
 
3428
3434
  /** FeatureSet messageEncoding. */
3429
3435
  public messageEncoding: (google.protobuf.FeatureSet.MessageEncoding|keyof typeof google.protobuf.FeatureSet.MessageEncoding);
@@ -3431,9 +3437,6 @@ export namespace google {
3431
3437
  /** FeatureSet jsonFormat. */
3432
3438
  public jsonFormat: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat);
3433
3439
 
3434
- /** FeatureSet rawFeatures. */
3435
- public rawFeatures?: (google.protobuf.IFeatureSet|null);
3436
-
3437
3440
  /**
3438
3441
  * Creates a new FeatureSet instance using the specified properties.
3439
3442
  * @param [properties] Properties to set
@@ -3536,11 +3539,10 @@ export namespace google {
3536
3539
  EXPANDED = 2
3537
3540
  }
3538
3541
 
3539
- /** StringFieldValidation enum. */
3540
- enum StringFieldValidation {
3541
- STRING_FIELD_VALIDATION_UNKNOWN = 0,
3542
- MANDATORY = 1,
3543
- HINT = 2,
3542
+ /** Utf8Validation enum. */
3543
+ enum Utf8Validation {
3544
+ UTF8_VALIDATION_UNKNOWN = 0,
3545
+ VERIFY = 2,
3544
3546
  NONE = 3
3545
3547
  }
3546
3548
 
@@ -3559,6 +3561,221 @@ export namespace google {
3559
3561
  }
3560
3562
  }
3561
3563
 
3564
+ /** Properties of a FeatureSetDefaults. */
3565
+ interface IFeatureSetDefaults {
3566
+
3567
+ /** FeatureSetDefaults defaults */
3568
+ defaults?: (google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault[]|null);
3569
+
3570
+ /** FeatureSetDefaults minimumEdition */
3571
+ minimumEdition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
3572
+
3573
+ /** FeatureSetDefaults maximumEdition */
3574
+ maximumEdition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
3575
+ }
3576
+
3577
+ /** Represents a FeatureSetDefaults. */
3578
+ class FeatureSetDefaults implements IFeatureSetDefaults {
3579
+
3580
+ /**
3581
+ * Constructs a new FeatureSetDefaults.
3582
+ * @param [properties] Properties to set
3583
+ */
3584
+ constructor(properties?: google.protobuf.IFeatureSetDefaults);
3585
+
3586
+ /** FeatureSetDefaults defaults. */
3587
+ public defaults: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault[];
3588
+
3589
+ /** FeatureSetDefaults minimumEdition. */
3590
+ public minimumEdition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
3591
+
3592
+ /** FeatureSetDefaults maximumEdition. */
3593
+ public maximumEdition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
3594
+
3595
+ /**
3596
+ * Creates a new FeatureSetDefaults instance using the specified properties.
3597
+ * @param [properties] Properties to set
3598
+ * @returns FeatureSetDefaults instance
3599
+ */
3600
+ public static create(properties?: google.protobuf.IFeatureSetDefaults): google.protobuf.FeatureSetDefaults;
3601
+
3602
+ /**
3603
+ * Encodes the specified FeatureSetDefaults message. Does not implicitly {@link google.protobuf.FeatureSetDefaults.verify|verify} messages.
3604
+ * @param message FeatureSetDefaults message or plain object to encode
3605
+ * @param [writer] Writer to encode to
3606
+ * @returns Writer
3607
+ */
3608
+ public static encode(message: google.protobuf.IFeatureSetDefaults, writer?: $protobuf.Writer): $protobuf.Writer;
3609
+
3610
+ /**
3611
+ * Encodes the specified FeatureSetDefaults message, length delimited. Does not implicitly {@link google.protobuf.FeatureSetDefaults.verify|verify} messages.
3612
+ * @param message FeatureSetDefaults message or plain object to encode
3613
+ * @param [writer] Writer to encode to
3614
+ * @returns Writer
3615
+ */
3616
+ public static encodeDelimited(message: google.protobuf.IFeatureSetDefaults, writer?: $protobuf.Writer): $protobuf.Writer;
3617
+
3618
+ /**
3619
+ * Decodes a FeatureSetDefaults message from the specified reader or buffer.
3620
+ * @param reader Reader or buffer to decode from
3621
+ * @param [length] Message length if known beforehand
3622
+ * @returns FeatureSetDefaults
3623
+ * @throws {Error} If the payload is not a reader or valid buffer
3624
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3625
+ */
3626
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSetDefaults;
3627
+
3628
+ /**
3629
+ * Decodes a FeatureSetDefaults message from the specified reader or buffer, length delimited.
3630
+ * @param reader Reader or buffer to decode from
3631
+ * @returns FeatureSetDefaults
3632
+ * @throws {Error} If the payload is not a reader or valid buffer
3633
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3634
+ */
3635
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSetDefaults;
3636
+
3637
+ /**
3638
+ * Verifies a FeatureSetDefaults message.
3639
+ * @param message Plain object to verify
3640
+ * @returns `null` if valid, otherwise the reason why it is not
3641
+ */
3642
+ public static verify(message: { [k: string]: any }): (string|null);
3643
+
3644
+ /**
3645
+ * Creates a FeatureSetDefaults message from a plain object. Also converts values to their respective internal types.
3646
+ * @param object Plain object
3647
+ * @returns FeatureSetDefaults
3648
+ */
3649
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSetDefaults;
3650
+
3651
+ /**
3652
+ * Creates a plain object from a FeatureSetDefaults message. Also converts values to other types if specified.
3653
+ * @param message FeatureSetDefaults
3654
+ * @param [options] Conversion options
3655
+ * @returns Plain object
3656
+ */
3657
+ public static toObject(message: google.protobuf.FeatureSetDefaults, options?: $protobuf.IConversionOptions): { [k: string]: any };
3658
+
3659
+ /**
3660
+ * Converts this FeatureSetDefaults to JSON.
3661
+ * @returns JSON object
3662
+ */
3663
+ public toJSON(): { [k: string]: any };
3664
+
3665
+ /**
3666
+ * Gets the default type url for FeatureSetDefaults
3667
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3668
+ * @returns The default type url
3669
+ */
3670
+ public static getTypeUrl(typeUrlPrefix?: string): string;
3671
+ }
3672
+
3673
+ namespace FeatureSetDefaults {
3674
+
3675
+ /** Properties of a FeatureSetEditionDefault. */
3676
+ interface IFeatureSetEditionDefault {
3677
+
3678
+ /** FeatureSetEditionDefault edition */
3679
+ edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
3680
+
3681
+ /** FeatureSetEditionDefault features */
3682
+ features?: (google.protobuf.IFeatureSet|null);
3683
+ }
3684
+
3685
+ /** Represents a FeatureSetEditionDefault. */
3686
+ class FeatureSetEditionDefault implements IFeatureSetEditionDefault {
3687
+
3688
+ /**
3689
+ * Constructs a new FeatureSetEditionDefault.
3690
+ * @param [properties] Properties to set
3691
+ */
3692
+ constructor(properties?: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault);
3693
+
3694
+ /** FeatureSetEditionDefault edition. */
3695
+ public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
3696
+
3697
+ /** FeatureSetEditionDefault features. */
3698
+ public features?: (google.protobuf.IFeatureSet|null);
3699
+
3700
+ /**
3701
+ * Creates a new FeatureSetEditionDefault instance using the specified properties.
3702
+ * @param [properties] Properties to set
3703
+ * @returns FeatureSetEditionDefault instance
3704
+ */
3705
+ public static create(properties?: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault;
3706
+
3707
+ /**
3708
+ * Encodes the specified FeatureSetEditionDefault message. Does not implicitly {@link google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.verify|verify} messages.
3709
+ * @param message FeatureSetEditionDefault message or plain object to encode
3710
+ * @param [writer] Writer to encode to
3711
+ * @returns Writer
3712
+ */
3713
+ public static encode(message: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer;
3714
+
3715
+ /**
3716
+ * Encodes the specified FeatureSetEditionDefault message, length delimited. Does not implicitly {@link google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.verify|verify} messages.
3717
+ * @param message FeatureSetEditionDefault message or plain object to encode
3718
+ * @param [writer] Writer to encode to
3719
+ * @returns Writer
3720
+ */
3721
+ public static encodeDelimited(message: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer;
3722
+
3723
+ /**
3724
+ * Decodes a FeatureSetEditionDefault message from the specified reader or buffer.
3725
+ * @param reader Reader or buffer to decode from
3726
+ * @param [length] Message length if known beforehand
3727
+ * @returns FeatureSetEditionDefault
3728
+ * @throws {Error} If the payload is not a reader or valid buffer
3729
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3730
+ */
3731
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault;
3732
+
3733
+ /**
3734
+ * Decodes a FeatureSetEditionDefault message from the specified reader or buffer, length delimited.
3735
+ * @param reader Reader or buffer to decode from
3736
+ * @returns FeatureSetEditionDefault
3737
+ * @throws {Error} If the payload is not a reader or valid buffer
3738
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3739
+ */
3740
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault;
3741
+
3742
+ /**
3743
+ * Verifies a FeatureSetEditionDefault message.
3744
+ * @param message Plain object to verify
3745
+ * @returns `null` if valid, otherwise the reason why it is not
3746
+ */
3747
+ public static verify(message: { [k: string]: any }): (string|null);
3748
+
3749
+ /**
3750
+ * Creates a FeatureSetEditionDefault message from a plain object. Also converts values to their respective internal types.
3751
+ * @param object Plain object
3752
+ * @returns FeatureSetEditionDefault
3753
+ */
3754
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault;
3755
+
3756
+ /**
3757
+ * Creates a plain object from a FeatureSetEditionDefault message. Also converts values to other types if specified.
3758
+ * @param message FeatureSetEditionDefault
3759
+ * @param [options] Conversion options
3760
+ * @returns Plain object
3761
+ */
3762
+ public static toObject(message: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault, options?: $protobuf.IConversionOptions): { [k: string]: any };
3763
+
3764
+ /**
3765
+ * Converts this FeatureSetEditionDefault to JSON.
3766
+ * @returns JSON object
3767
+ */
3768
+ public toJSON(): { [k: string]: any };
3769
+
3770
+ /**
3771
+ * Gets the default type url for FeatureSetEditionDefault
3772
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3773
+ * @returns The default type url
3774
+ */
3775
+ public static getTypeUrl(typeUrlPrefix?: string): string;
3776
+ }
3777
+ }
3778
+
3562
3779
  /** Properties of a SourceCodeInfo. */
3563
3780
  interface ISourceCodeInfo {
3564
3781
 
@@ -9308,6 +9525,9 @@ export namespace google {
9308
9525
 
9309
9526
  /** CreateDatabaseRequest databaseDialect */
9310
9527
  databaseDialect?: (google.spanner.admin.database.v1.DatabaseDialect|keyof typeof google.spanner.admin.database.v1.DatabaseDialect|null);
9528
+
9529
+ /** CreateDatabaseRequest protoDescriptors */
9530
+ protoDescriptors?: (Uint8Array|string|null);
9311
9531
  }
9312
9532
 
9313
9533
  /** Represents a CreateDatabaseRequest. */
@@ -9334,6 +9554,9 @@ export namespace google {
9334
9554
  /** CreateDatabaseRequest databaseDialect. */
9335
9555
  public databaseDialect: (google.spanner.admin.database.v1.DatabaseDialect|keyof typeof google.spanner.admin.database.v1.DatabaseDialect);
9336
9556
 
9557
+ /** CreateDatabaseRequest protoDescriptors. */
9558
+ public protoDescriptors: (Uint8Array|string);
9559
+
9337
9560
  /**
9338
9561
  * Creates a new CreateDatabaseRequest instance using the specified properties.
9339
9562
  * @param [properties] Properties to set
@@ -9829,6 +10052,9 @@ export namespace google {
9829
10052
 
9830
10053
  /** UpdateDatabaseDdlRequest operationId */
9831
10054
  operationId?: (string|null);
10055
+
10056
+ /** UpdateDatabaseDdlRequest protoDescriptors */
10057
+ protoDescriptors?: (Uint8Array|string|null);
9832
10058
  }
9833
10059
 
9834
10060
  /** Represents an UpdateDatabaseDdlRequest. */
@@ -9849,6 +10075,9 @@ export namespace google {
9849
10075
  /** UpdateDatabaseDdlRequest operationId. */
9850
10076
  public operationId: string;
9851
10077
 
10078
+ /** UpdateDatabaseDdlRequest protoDescriptors. */
10079
+ public protoDescriptors: (Uint8Array|string);
10080
+
9852
10081
  /**
9853
10082
  * Creates a new UpdateDatabaseDdlRequest instance using the specified properties.
9854
10083
  * @param [properties] Properties to set
@@ -10362,6 +10591,9 @@ export namespace google {
10362
10591
 
10363
10592
  /** GetDatabaseDdlResponse statements */
10364
10593
  statements?: (string[]|null);
10594
+
10595
+ /** GetDatabaseDdlResponse protoDescriptors */
10596
+ protoDescriptors?: (Uint8Array|string|null);
10365
10597
  }
10366
10598
 
10367
10599
  /** Represents a GetDatabaseDdlResponse. */
@@ -10376,6 +10608,9 @@ export namespace google {
10376
10608
  /** GetDatabaseDdlResponse statements. */
10377
10609
  public statements: string[];
10378
10610
 
10611
+ /** GetDatabaseDdlResponse protoDescriptors. */
10612
+ public protoDescriptors: (Uint8Array|string);
10613
+
10379
10614
  /**
10380
10615
  * Creates a new GetDatabaseDdlResponse instance using the specified properties.
10381
10616
  * @param [properties] Properties to set
@@ -16975,6 +17210,9 @@ export namespace google {
16975
17210
 
16976
17211
  /** Type typeAnnotation */
16977
17212
  typeAnnotation?: (google.spanner.v1.TypeAnnotationCode|keyof typeof google.spanner.v1.TypeAnnotationCode|null);
17213
+
17214
+ /** Type protoTypeFqn */
17215
+ protoTypeFqn?: (string|null);
16978
17216
  }
16979
17217
 
16980
17218
  /** Represents a Type. */
@@ -16998,6 +17236,9 @@ export namespace google {
16998
17236
  /** Type typeAnnotation. */
16999
17237
  public typeAnnotation: (google.spanner.v1.TypeAnnotationCode|keyof typeof google.spanner.v1.TypeAnnotationCode);
17000
17238
 
17239
+ /** Type protoTypeFqn. */
17240
+ public protoTypeFqn: string;
17241
+
17001
17242
  /**
17002
17243
  * Creates a new Type instance using the specified properties.
17003
17244
  * @param [properties] Properties to set
@@ -17285,6 +17526,7 @@ export namespace google {
17285
17526
  BOOL = 1,
17286
17527
  INT64 = 2,
17287
17528
  FLOAT64 = 3,
17529
+ FLOAT32 = 15,
17288
17530
  TIMESTAMP = 4,
17289
17531
  DATE = 5,
17290
17532
  STRING = 6,
@@ -17292,7 +17534,9 @@ export namespace google {
17292
17534
  ARRAY = 8,
17293
17535
  STRUCT = 9,
17294
17536
  NUMERIC = 10,
17295
- JSON = 11
17537
+ JSON = 11,
17538
+ PROTO = 13,
17539
+ ENUM = 14
17296
17540
  }
17297
17541
 
17298
17542
  /** TypeAnnotationCode enum. */
@@ -20518,6 +20762,9 @@ export namespace google {
20518
20762
  /** CommitRequest returnCommitStats */
20519
20763
  returnCommitStats?: (boolean|null);
20520
20764
 
20765
+ /** CommitRequest maxCommitDelay */
20766
+ maxCommitDelay?: (google.protobuf.IDuration|null);
20767
+
20521
20768
  /** CommitRequest requestOptions */
20522
20769
  requestOptions?: (google.spanner.v1.IRequestOptions|null);
20523
20770
  }
@@ -20546,6 +20793,9 @@ export namespace google {
20546
20793
  /** CommitRequest returnCommitStats. */
20547
20794
  public returnCommitStats: boolean;
20548
20795
 
20796
+ /** CommitRequest maxCommitDelay. */
20797
+ public maxCommitDelay?: (google.protobuf.IDuration|null);
20798
+
20549
20799
  /** CommitRequest requestOptions. */
20550
20800
  public requestOptions?: (google.spanner.v1.IRequestOptions|null);
20551
20801
 
@@ -21065,7 +21315,8 @@ export namespace google {
21065
21315
  INPUT_ONLY = 4,
21066
21316
  IMMUTABLE = 5,
21067
21317
  UNORDERED_LIST = 6,
21068
- NON_EMPTY_DEFAULT = 7
21318
+ NON_EMPTY_DEFAULT = 7,
21319
+ IDENTIFIER = 8
21069
21320
  }
21070
21321
 
21071
21322
  /** Properties of a ResourceDescriptor. */
@@ -22917,6 +23168,9 @@ export namespace google {
22917
23168
 
22918
23169
  /** MethodSettings longRunning */
22919
23170
  longRunning?: (google.api.MethodSettings.ILongRunning|null);
23171
+
23172
+ /** MethodSettings autoPopulatedFields */
23173
+ autoPopulatedFields?: (string[]|null);
22920
23174
  }
22921
23175
 
22922
23176
  /** Represents a MethodSettings. */
@@ -22934,6 +23188,9 @@ export namespace google {
22934
23188
  /** MethodSettings longRunning. */
22935
23189
  public longRunning?: (google.api.MethodSettings.ILongRunning|null);
22936
23190
 
23191
+ /** MethodSettings autoPopulatedFields. */
23192
+ public autoPopulatedFields: string[];
23193
+
22937
23194
  /**
22938
23195
  * Creates a new MethodSettings instance using the specified properties.
22939
23196
  * @param [properties] Properties to set