@googlemaps/places 2.5.0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -82,7 +82,6 @@ Samples are in the [`samples/`][homepage_samples] directory. Each sample's `READ
82
82
  | get place | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-maps-places/samples/generated/v1/places.get_place.js) |
83
83
  | search nearby | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-maps-places/samples/generated/v1/places.search_nearby.js) |
84
84
  | search text | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-maps-places/samples/generated/v1/places.search_text.js) |
85
- | maps | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-maps-places/samples/generated/v1/snippet_metadata_google.maps.places.v1.json) |
86
85
 
87
86
 
88
87
  ## Supported Node.js Versions
@@ -11287,6 +11287,9 @@ export namespace google {
11287
11287
 
11288
11288
  /** PhpSettings common */
11289
11289
  common?: (google.api.ICommonLanguageSettings|null);
11290
+
11291
+ /** PhpSettings libraryPackage */
11292
+ libraryPackage?: (string|null);
11290
11293
  }
11291
11294
 
11292
11295
  /** Represents a PhpSettings. */
@@ -11301,6 +11304,9 @@ export namespace google {
11301
11304
  /** PhpSettings common. */
11302
11305
  public common?: (google.api.ICommonLanguageSettings|null);
11303
11306
 
11307
+ /** PhpSettings libraryPackage. */
11308
+ public libraryPackage: string;
11309
+
11304
11310
  /**
11305
11311
  * Creates a new PhpSettings instance using the specified properties.
11306
11312
  * @param [properties] Properties to set
@@ -12029,6 +12035,9 @@ export namespace google {
12029
12035
 
12030
12036
  /** MethodSettings autoPopulatedFields */
12031
12037
  autoPopulatedFields?: (string[]|null);
12038
+
12039
+ /** MethodSettings batching */
12040
+ batching?: (google.api.IBatchingConfigProto|null);
12032
12041
  }
12033
12042
 
12034
12043
  /** Represents a MethodSettings. */
@@ -12049,6 +12058,9 @@ export namespace google {
12049
12058
  /** MethodSettings autoPopulatedFields. */
12050
12059
  public autoPopulatedFields: string[];
12051
12060
 
12061
+ /** MethodSettings batching. */
12062
+ public batching?: (google.api.IBatchingConfigProto|null);
12063
+
12052
12064
  /**
12053
12065
  * Creates a new MethodSettings instance using the specified properties.
12054
12066
  * @param [properties] Properties to set
@@ -12367,6 +12379,365 @@ export namespace google {
12367
12379
  public static getTypeUrl(typeUrlPrefix?: string): string;
12368
12380
  }
12369
12381
 
12382
+ /** Properties of a BatchingConfigProto. */
12383
+ interface IBatchingConfigProto {
12384
+
12385
+ /** BatchingConfigProto thresholds */
12386
+ thresholds?: (google.api.IBatchingSettingsProto|null);
12387
+
12388
+ /** BatchingConfigProto batchDescriptor */
12389
+ batchDescriptor?: (google.api.IBatchingDescriptorProto|null);
12390
+ }
12391
+
12392
+ /** Represents a BatchingConfigProto. */
12393
+ class BatchingConfigProto implements IBatchingConfigProto {
12394
+
12395
+ /**
12396
+ * Constructs a new BatchingConfigProto.
12397
+ * @param [properties] Properties to set
12398
+ */
12399
+ constructor(properties?: google.api.IBatchingConfigProto);
12400
+
12401
+ /** BatchingConfigProto thresholds. */
12402
+ public thresholds?: (google.api.IBatchingSettingsProto|null);
12403
+
12404
+ /** BatchingConfigProto batchDescriptor. */
12405
+ public batchDescriptor?: (google.api.IBatchingDescriptorProto|null);
12406
+
12407
+ /**
12408
+ * Creates a new BatchingConfigProto instance using the specified properties.
12409
+ * @param [properties] Properties to set
12410
+ * @returns BatchingConfigProto instance
12411
+ */
12412
+ public static create(properties?: google.api.IBatchingConfigProto): google.api.BatchingConfigProto;
12413
+
12414
+ /**
12415
+ * Encodes the specified BatchingConfigProto message. Does not implicitly {@link google.api.BatchingConfigProto.verify|verify} messages.
12416
+ * @param message BatchingConfigProto message or plain object to encode
12417
+ * @param [writer] Writer to encode to
12418
+ * @returns Writer
12419
+ */
12420
+ public static encode(message: google.api.IBatchingConfigProto, writer?: $protobuf.Writer): $protobuf.Writer;
12421
+
12422
+ /**
12423
+ * Encodes the specified BatchingConfigProto message, length delimited. Does not implicitly {@link google.api.BatchingConfigProto.verify|verify} messages.
12424
+ * @param message BatchingConfigProto message or plain object to encode
12425
+ * @param [writer] Writer to encode to
12426
+ * @returns Writer
12427
+ */
12428
+ public static encodeDelimited(message: google.api.IBatchingConfigProto, writer?: $protobuf.Writer): $protobuf.Writer;
12429
+
12430
+ /**
12431
+ * Decodes a BatchingConfigProto message from the specified reader or buffer.
12432
+ * @param reader Reader or buffer to decode from
12433
+ * @param [length] Message length if known beforehand
12434
+ * @returns BatchingConfigProto
12435
+ * @throws {Error} If the payload is not a reader or valid buffer
12436
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
12437
+ */
12438
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.BatchingConfigProto;
12439
+
12440
+ /**
12441
+ * Decodes a BatchingConfigProto message from the specified reader or buffer, length delimited.
12442
+ * @param reader Reader or buffer to decode from
12443
+ * @returns BatchingConfigProto
12444
+ * @throws {Error} If the payload is not a reader or valid buffer
12445
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
12446
+ */
12447
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.BatchingConfigProto;
12448
+
12449
+ /**
12450
+ * Verifies a BatchingConfigProto message.
12451
+ * @param message Plain object to verify
12452
+ * @returns `null` if valid, otherwise the reason why it is not
12453
+ */
12454
+ public static verify(message: { [k: string]: any }): (string|null);
12455
+
12456
+ /**
12457
+ * Creates a BatchingConfigProto message from a plain object. Also converts values to their respective internal types.
12458
+ * @param object Plain object
12459
+ * @returns BatchingConfigProto
12460
+ */
12461
+ public static fromObject(object: { [k: string]: any }): google.api.BatchingConfigProto;
12462
+
12463
+ /**
12464
+ * Creates a plain object from a BatchingConfigProto message. Also converts values to other types if specified.
12465
+ * @param message BatchingConfigProto
12466
+ * @param [options] Conversion options
12467
+ * @returns Plain object
12468
+ */
12469
+ public static toObject(message: google.api.BatchingConfigProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
12470
+
12471
+ /**
12472
+ * Converts this BatchingConfigProto to JSON.
12473
+ * @returns JSON object
12474
+ */
12475
+ public toJSON(): { [k: string]: any };
12476
+
12477
+ /**
12478
+ * Gets the default type url for BatchingConfigProto
12479
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
12480
+ * @returns The default type url
12481
+ */
12482
+ public static getTypeUrl(typeUrlPrefix?: string): string;
12483
+ }
12484
+
12485
+ /** Properties of a BatchingSettingsProto. */
12486
+ interface IBatchingSettingsProto {
12487
+
12488
+ /** BatchingSettingsProto elementCountThreshold */
12489
+ elementCountThreshold?: (number|null);
12490
+
12491
+ /** BatchingSettingsProto requestByteThreshold */
12492
+ requestByteThreshold?: (number|Long|string|null);
12493
+
12494
+ /** BatchingSettingsProto delayThreshold */
12495
+ delayThreshold?: (google.protobuf.IDuration|null);
12496
+
12497
+ /** BatchingSettingsProto elementCountLimit */
12498
+ elementCountLimit?: (number|null);
12499
+
12500
+ /** BatchingSettingsProto requestByteLimit */
12501
+ requestByteLimit?: (number|null);
12502
+
12503
+ /** BatchingSettingsProto flowControlElementLimit */
12504
+ flowControlElementLimit?: (number|null);
12505
+
12506
+ /** BatchingSettingsProto flowControlByteLimit */
12507
+ flowControlByteLimit?: (number|null);
12508
+
12509
+ /** BatchingSettingsProto flowControlLimitExceededBehavior */
12510
+ flowControlLimitExceededBehavior?: (google.api.FlowControlLimitExceededBehaviorProto|keyof typeof google.api.FlowControlLimitExceededBehaviorProto|null);
12511
+ }
12512
+
12513
+ /** Represents a BatchingSettingsProto. */
12514
+ class BatchingSettingsProto implements IBatchingSettingsProto {
12515
+
12516
+ /**
12517
+ * Constructs a new BatchingSettingsProto.
12518
+ * @param [properties] Properties to set
12519
+ */
12520
+ constructor(properties?: google.api.IBatchingSettingsProto);
12521
+
12522
+ /** BatchingSettingsProto elementCountThreshold. */
12523
+ public elementCountThreshold: number;
12524
+
12525
+ /** BatchingSettingsProto requestByteThreshold. */
12526
+ public requestByteThreshold: (number|Long|string);
12527
+
12528
+ /** BatchingSettingsProto delayThreshold. */
12529
+ public delayThreshold?: (google.protobuf.IDuration|null);
12530
+
12531
+ /** BatchingSettingsProto elementCountLimit. */
12532
+ public elementCountLimit: number;
12533
+
12534
+ /** BatchingSettingsProto requestByteLimit. */
12535
+ public requestByteLimit: number;
12536
+
12537
+ /** BatchingSettingsProto flowControlElementLimit. */
12538
+ public flowControlElementLimit: number;
12539
+
12540
+ /** BatchingSettingsProto flowControlByteLimit. */
12541
+ public flowControlByteLimit: number;
12542
+
12543
+ /** BatchingSettingsProto flowControlLimitExceededBehavior. */
12544
+ public flowControlLimitExceededBehavior: (google.api.FlowControlLimitExceededBehaviorProto|keyof typeof google.api.FlowControlLimitExceededBehaviorProto);
12545
+
12546
+ /**
12547
+ * Creates a new BatchingSettingsProto instance using the specified properties.
12548
+ * @param [properties] Properties to set
12549
+ * @returns BatchingSettingsProto instance
12550
+ */
12551
+ public static create(properties?: google.api.IBatchingSettingsProto): google.api.BatchingSettingsProto;
12552
+
12553
+ /**
12554
+ * Encodes the specified BatchingSettingsProto message. Does not implicitly {@link google.api.BatchingSettingsProto.verify|verify} messages.
12555
+ * @param message BatchingSettingsProto message or plain object to encode
12556
+ * @param [writer] Writer to encode to
12557
+ * @returns Writer
12558
+ */
12559
+ public static encode(message: google.api.IBatchingSettingsProto, writer?: $protobuf.Writer): $protobuf.Writer;
12560
+
12561
+ /**
12562
+ * Encodes the specified BatchingSettingsProto message, length delimited. Does not implicitly {@link google.api.BatchingSettingsProto.verify|verify} messages.
12563
+ * @param message BatchingSettingsProto message or plain object to encode
12564
+ * @param [writer] Writer to encode to
12565
+ * @returns Writer
12566
+ */
12567
+ public static encodeDelimited(message: google.api.IBatchingSettingsProto, writer?: $protobuf.Writer): $protobuf.Writer;
12568
+
12569
+ /**
12570
+ * Decodes a BatchingSettingsProto message from the specified reader or buffer.
12571
+ * @param reader Reader or buffer to decode from
12572
+ * @param [length] Message length if known beforehand
12573
+ * @returns BatchingSettingsProto
12574
+ * @throws {Error} If the payload is not a reader or valid buffer
12575
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
12576
+ */
12577
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.BatchingSettingsProto;
12578
+
12579
+ /**
12580
+ * Decodes a BatchingSettingsProto message from the specified reader or buffer, length delimited.
12581
+ * @param reader Reader or buffer to decode from
12582
+ * @returns BatchingSettingsProto
12583
+ * @throws {Error} If the payload is not a reader or valid buffer
12584
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
12585
+ */
12586
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.BatchingSettingsProto;
12587
+
12588
+ /**
12589
+ * Verifies a BatchingSettingsProto message.
12590
+ * @param message Plain object to verify
12591
+ * @returns `null` if valid, otherwise the reason why it is not
12592
+ */
12593
+ public static verify(message: { [k: string]: any }): (string|null);
12594
+
12595
+ /**
12596
+ * Creates a BatchingSettingsProto message from a plain object. Also converts values to their respective internal types.
12597
+ * @param object Plain object
12598
+ * @returns BatchingSettingsProto
12599
+ */
12600
+ public static fromObject(object: { [k: string]: any }): google.api.BatchingSettingsProto;
12601
+
12602
+ /**
12603
+ * Creates a plain object from a BatchingSettingsProto message. Also converts values to other types if specified.
12604
+ * @param message BatchingSettingsProto
12605
+ * @param [options] Conversion options
12606
+ * @returns Plain object
12607
+ */
12608
+ public static toObject(message: google.api.BatchingSettingsProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
12609
+
12610
+ /**
12611
+ * Converts this BatchingSettingsProto to JSON.
12612
+ * @returns JSON object
12613
+ */
12614
+ public toJSON(): { [k: string]: any };
12615
+
12616
+ /**
12617
+ * Gets the default type url for BatchingSettingsProto
12618
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
12619
+ * @returns The default type url
12620
+ */
12621
+ public static getTypeUrl(typeUrlPrefix?: string): string;
12622
+ }
12623
+
12624
+ /** FlowControlLimitExceededBehaviorProto enum. */
12625
+ enum FlowControlLimitExceededBehaviorProto {
12626
+ UNSET_BEHAVIOR = 0,
12627
+ THROW_EXCEPTION = 1,
12628
+ BLOCK = 2,
12629
+ IGNORE = 3
12630
+ }
12631
+
12632
+ /** Properties of a BatchingDescriptorProto. */
12633
+ interface IBatchingDescriptorProto {
12634
+
12635
+ /** BatchingDescriptorProto batchedField */
12636
+ batchedField?: (string|null);
12637
+
12638
+ /** BatchingDescriptorProto discriminatorFields */
12639
+ discriminatorFields?: (string[]|null);
12640
+
12641
+ /** BatchingDescriptorProto subresponseField */
12642
+ subresponseField?: (string|null);
12643
+ }
12644
+
12645
+ /** Represents a BatchingDescriptorProto. */
12646
+ class BatchingDescriptorProto implements IBatchingDescriptorProto {
12647
+
12648
+ /**
12649
+ * Constructs a new BatchingDescriptorProto.
12650
+ * @param [properties] Properties to set
12651
+ */
12652
+ constructor(properties?: google.api.IBatchingDescriptorProto);
12653
+
12654
+ /** BatchingDescriptorProto batchedField. */
12655
+ public batchedField: string;
12656
+
12657
+ /** BatchingDescriptorProto discriminatorFields. */
12658
+ public discriminatorFields: string[];
12659
+
12660
+ /** BatchingDescriptorProto subresponseField. */
12661
+ public subresponseField: string;
12662
+
12663
+ /**
12664
+ * Creates a new BatchingDescriptorProto instance using the specified properties.
12665
+ * @param [properties] Properties to set
12666
+ * @returns BatchingDescriptorProto instance
12667
+ */
12668
+ public static create(properties?: google.api.IBatchingDescriptorProto): google.api.BatchingDescriptorProto;
12669
+
12670
+ /**
12671
+ * Encodes the specified BatchingDescriptorProto message. Does not implicitly {@link google.api.BatchingDescriptorProto.verify|verify} messages.
12672
+ * @param message BatchingDescriptorProto message or plain object to encode
12673
+ * @param [writer] Writer to encode to
12674
+ * @returns Writer
12675
+ */
12676
+ public static encode(message: google.api.IBatchingDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
12677
+
12678
+ /**
12679
+ * Encodes the specified BatchingDescriptorProto message, length delimited. Does not implicitly {@link google.api.BatchingDescriptorProto.verify|verify} messages.
12680
+ * @param message BatchingDescriptorProto message or plain object to encode
12681
+ * @param [writer] Writer to encode to
12682
+ * @returns Writer
12683
+ */
12684
+ public static encodeDelimited(message: google.api.IBatchingDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
12685
+
12686
+ /**
12687
+ * Decodes a BatchingDescriptorProto message from the specified reader or buffer.
12688
+ * @param reader Reader or buffer to decode from
12689
+ * @param [length] Message length if known beforehand
12690
+ * @returns BatchingDescriptorProto
12691
+ * @throws {Error} If the payload is not a reader or valid buffer
12692
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
12693
+ */
12694
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.BatchingDescriptorProto;
12695
+
12696
+ /**
12697
+ * Decodes a BatchingDescriptorProto message from the specified reader or buffer, length delimited.
12698
+ * @param reader Reader or buffer to decode from
12699
+ * @returns BatchingDescriptorProto
12700
+ * @throws {Error} If the payload is not a reader or valid buffer
12701
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
12702
+ */
12703
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.BatchingDescriptorProto;
12704
+
12705
+ /**
12706
+ * Verifies a BatchingDescriptorProto message.
12707
+ * @param message Plain object to verify
12708
+ * @returns `null` if valid, otherwise the reason why it is not
12709
+ */
12710
+ public static verify(message: { [k: string]: any }): (string|null);
12711
+
12712
+ /**
12713
+ * Creates a BatchingDescriptorProto message from a plain object. Also converts values to their respective internal types.
12714
+ * @param object Plain object
12715
+ * @returns BatchingDescriptorProto
12716
+ */
12717
+ public static fromObject(object: { [k: string]: any }): google.api.BatchingDescriptorProto;
12718
+
12719
+ /**
12720
+ * Creates a plain object from a BatchingDescriptorProto message. Also converts values to other types if specified.
12721
+ * @param message BatchingDescriptorProto
12722
+ * @param [options] Conversion options
12723
+ * @returns Plain object
12724
+ */
12725
+ public static toObject(message: google.api.BatchingDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
12726
+
12727
+ /**
12728
+ * Converts this BatchingDescriptorProto to JSON.
12729
+ * @returns JSON object
12730
+ */
12731
+ public toJSON(): { [k: string]: any };
12732
+
12733
+ /**
12734
+ * Gets the default type url for BatchingDescriptorProto
12735
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
12736
+ * @returns The default type url
12737
+ */
12738
+ public static getTypeUrl(typeUrlPrefix?: string): string;
12739
+ }
12740
+
12370
12741
  /** LaunchStage enum. */
12371
12742
  enum LaunchStage {
12372
12743
  LAUNCH_STAGE_UNSPECIFIED = 0,
@@ -12488,6 +12859,8 @@ export namespace google {
12488
12859
  EDITION_PROTO3 = 999,
12489
12860
  EDITION_2023 = 1000,
12490
12861
  EDITION_2024 = 1001,
12862
+ EDITION_2026 = 1002,
12863
+ EDITION_UNSTABLE = 9999,
12491
12864
  EDITION_1_TEST_ONLY = 1,
12492
12865
  EDITION_2_TEST_ONLY = 2,
12493
12866
  EDITION_99997_TEST_ONLY = 99997,
@@ -14859,6 +15232,9 @@ export namespace google {
14859
15232
 
14860
15233
  /** FeatureSupport editionRemoved */
14861
15234
  editionRemoved?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
15235
+
15236
+ /** FeatureSupport removalError */
15237
+ removalError?: (string|null);
14862
15238
  }
14863
15239
 
14864
15240
  /** Represents a FeatureSupport. */
@@ -14882,6 +15258,9 @@ export namespace google {
14882
15258
  /** FeatureSupport editionRemoved. */
14883
15259
  public editionRemoved: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
14884
15260
 
15261
+ /** FeatureSupport removalError. */
15262
+ public removalError: string;
15263
+
14885
15264
  /**
14886
15265
  * Creates a new FeatureSupport instance using the specified properties.
14887
15266
  * @param [properties] Properties to set
@@ -15820,6 +16199,9 @@ export namespace google {
15820
16199
 
15821
16200
  /** FeatureSet defaultSymbolVisibility */
15822
16201
  defaultSymbolVisibility?: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null);
16202
+
16203
+ /** FeatureSet enforceProtoLimits */
16204
+ enforceProtoLimits?: (google.protobuf.FeatureSet.ProtoLimitsFeature.EnforceProtoLimits|keyof typeof google.protobuf.FeatureSet.ProtoLimitsFeature.EnforceProtoLimits|null);
15823
16205
  }
15824
16206
 
15825
16207
  /** Represents a FeatureSet. */
@@ -15855,6 +16237,9 @@ export namespace google {
15855
16237
  /** FeatureSet defaultSymbolVisibility. */
15856
16238
  public defaultSymbolVisibility: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility);
15857
16239
 
16240
+ /** FeatureSet enforceProtoLimits. */
16241
+ public enforceProtoLimits: (google.protobuf.FeatureSet.ProtoLimitsFeature.EnforceProtoLimits|keyof typeof google.protobuf.FeatureSet.ProtoLimitsFeature.EnforceProtoLimits);
16242
+
15858
16243
  /**
15859
16244
  * Creates a new FeatureSet instance using the specified properties.
15860
16245
  * @param [properties] Properties to set
@@ -15982,7 +16367,8 @@ export namespace google {
15982
16367
  enum EnforceNamingStyle {
15983
16368
  ENFORCE_NAMING_STYLE_UNKNOWN = 0,
15984
16369
  STYLE2024 = 1,
15985
- STYLE_LEGACY = 2
16370
+ STYLE_LEGACY = 2,
16371
+ STYLE2026 = 3
15986
16372
  }
15987
16373
 
15988
16374
  /** Properties of a VisibilityFeature. */
@@ -16087,6 +16473,107 @@ export namespace google {
16087
16473
  STRICT = 4
16088
16474
  }
16089
16475
  }
16476
+
16477
+ /** Properties of a ProtoLimitsFeature. */
16478
+ interface IProtoLimitsFeature {
16479
+ }
16480
+
16481
+ /** Represents a ProtoLimitsFeature. */
16482
+ class ProtoLimitsFeature implements IProtoLimitsFeature {
16483
+
16484
+ /**
16485
+ * Constructs a new ProtoLimitsFeature.
16486
+ * @param [properties] Properties to set
16487
+ */
16488
+ constructor(properties?: google.protobuf.FeatureSet.IProtoLimitsFeature);
16489
+
16490
+ /**
16491
+ * Creates a new ProtoLimitsFeature instance using the specified properties.
16492
+ * @param [properties] Properties to set
16493
+ * @returns ProtoLimitsFeature instance
16494
+ */
16495
+ public static create(properties?: google.protobuf.FeatureSet.IProtoLimitsFeature): google.protobuf.FeatureSet.ProtoLimitsFeature;
16496
+
16497
+ /**
16498
+ * Encodes the specified ProtoLimitsFeature message. Does not implicitly {@link google.protobuf.FeatureSet.ProtoLimitsFeature.verify|verify} messages.
16499
+ * @param message ProtoLimitsFeature message or plain object to encode
16500
+ * @param [writer] Writer to encode to
16501
+ * @returns Writer
16502
+ */
16503
+ public static encode(message: google.protobuf.FeatureSet.IProtoLimitsFeature, writer?: $protobuf.Writer): $protobuf.Writer;
16504
+
16505
+ /**
16506
+ * Encodes the specified ProtoLimitsFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.ProtoLimitsFeature.verify|verify} messages.
16507
+ * @param message ProtoLimitsFeature message or plain object to encode
16508
+ * @param [writer] Writer to encode to
16509
+ * @returns Writer
16510
+ */
16511
+ public static encodeDelimited(message: google.protobuf.FeatureSet.IProtoLimitsFeature, writer?: $protobuf.Writer): $protobuf.Writer;
16512
+
16513
+ /**
16514
+ * Decodes a ProtoLimitsFeature message from the specified reader or buffer.
16515
+ * @param reader Reader or buffer to decode from
16516
+ * @param [length] Message length if known beforehand
16517
+ * @returns ProtoLimitsFeature
16518
+ * @throws {Error} If the payload is not a reader or valid buffer
16519
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
16520
+ */
16521
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSet.ProtoLimitsFeature;
16522
+
16523
+ /**
16524
+ * Decodes a ProtoLimitsFeature message from the specified reader or buffer, length delimited.
16525
+ * @param reader Reader or buffer to decode from
16526
+ * @returns ProtoLimitsFeature
16527
+ * @throws {Error} If the payload is not a reader or valid buffer
16528
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
16529
+ */
16530
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSet.ProtoLimitsFeature;
16531
+
16532
+ /**
16533
+ * Verifies a ProtoLimitsFeature message.
16534
+ * @param message Plain object to verify
16535
+ * @returns `null` if valid, otherwise the reason why it is not
16536
+ */
16537
+ public static verify(message: { [k: string]: any }): (string|null);
16538
+
16539
+ /**
16540
+ * Creates a ProtoLimitsFeature message from a plain object. Also converts values to their respective internal types.
16541
+ * @param object Plain object
16542
+ * @returns ProtoLimitsFeature
16543
+ */
16544
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSet.ProtoLimitsFeature;
16545
+
16546
+ /**
16547
+ * Creates a plain object from a ProtoLimitsFeature message. Also converts values to other types if specified.
16548
+ * @param message ProtoLimitsFeature
16549
+ * @param [options] Conversion options
16550
+ * @returns Plain object
16551
+ */
16552
+ public static toObject(message: google.protobuf.FeatureSet.ProtoLimitsFeature, options?: $protobuf.IConversionOptions): { [k: string]: any };
16553
+
16554
+ /**
16555
+ * Converts this ProtoLimitsFeature to JSON.
16556
+ * @returns JSON object
16557
+ */
16558
+ public toJSON(): { [k: string]: any };
16559
+
16560
+ /**
16561
+ * Gets the default type url for ProtoLimitsFeature
16562
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
16563
+ * @returns The default type url
16564
+ */
16565
+ public static getTypeUrl(typeUrlPrefix?: string): string;
16566
+ }
16567
+
16568
+ namespace ProtoLimitsFeature {
16569
+
16570
+ /** EnforceProtoLimits enum. */
16571
+ enum EnforceProtoLimits {
16572
+ PROTO_LIMITS_UNKNOWN = 0,
16573
+ LEGACY_NO_EXPLICIT_LIMITS = 1,
16574
+ PROTO_LIMITS2026 = 2
16575
+ }
16576
+ }
16090
16577
  }
16091
16578
 
16092
16579
  /** Properties of a FeatureSetDefaults. */