@googlemaps/routing 0.3.0 → 0.4.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.
@@ -20,6 +20,109 @@ export namespace google {
20
20
  /** Namespace protobuf. */
21
21
  namespace protobuf {
22
22
 
23
+ /** Properties of an Any. */
24
+ interface IAny {
25
+
26
+ /** Any type_url */
27
+ type_url?: (string|null);
28
+
29
+ /** Any value */
30
+ value?: (Uint8Array|string|null);
31
+ }
32
+
33
+ /** Represents an Any. */
34
+ class Any implements IAny {
35
+
36
+ /**
37
+ * Constructs a new Any.
38
+ * @param [properties] Properties to set
39
+ */
40
+ constructor(properties?: google.protobuf.IAny);
41
+
42
+ /** Any type_url. */
43
+ public type_url: string;
44
+
45
+ /** Any value. */
46
+ public value: (Uint8Array|string);
47
+
48
+ /**
49
+ * Creates a new Any instance using the specified properties.
50
+ * @param [properties] Properties to set
51
+ * @returns Any instance
52
+ */
53
+ public static create(properties?: google.protobuf.IAny): google.protobuf.Any;
54
+
55
+ /**
56
+ * Encodes the specified Any message. Does not implicitly {@link google.protobuf.Any.verify|verify} messages.
57
+ * @param message Any message or plain object to encode
58
+ * @param [writer] Writer to encode to
59
+ * @returns Writer
60
+ */
61
+ public static encode(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer;
62
+
63
+ /**
64
+ * Encodes the specified Any message, length delimited. Does not implicitly {@link google.protobuf.Any.verify|verify} messages.
65
+ * @param message Any message or plain object to encode
66
+ * @param [writer] Writer to encode to
67
+ * @returns Writer
68
+ */
69
+ public static encodeDelimited(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer;
70
+
71
+ /**
72
+ * Decodes an Any message from the specified reader or buffer.
73
+ * @param reader Reader or buffer to decode from
74
+ * @param [length] Message length if known beforehand
75
+ * @returns Any
76
+ * @throws {Error} If the payload is not a reader or valid buffer
77
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
78
+ */
79
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Any;
80
+
81
+ /**
82
+ * Decodes an Any message from the specified reader or buffer, length delimited.
83
+ * @param reader Reader or buffer to decode from
84
+ * @returns Any
85
+ * @throws {Error} If the payload is not a reader or valid buffer
86
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
87
+ */
88
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Any;
89
+
90
+ /**
91
+ * Verifies an Any message.
92
+ * @param message Plain object to verify
93
+ * @returns `null` if valid, otherwise the reason why it is not
94
+ */
95
+ public static verify(message: { [k: string]: any }): (string|null);
96
+
97
+ /**
98
+ * Creates an Any message from a plain object. Also converts values to their respective internal types.
99
+ * @param object Plain object
100
+ * @returns Any
101
+ */
102
+ public static fromObject(object: { [k: string]: any }): google.protobuf.Any;
103
+
104
+ /**
105
+ * Creates a plain object from an Any message. Also converts values to other types if specified.
106
+ * @param message Any
107
+ * @param [options] Conversion options
108
+ * @returns Plain object
109
+ */
110
+ public static toObject(message: google.protobuf.Any, options?: $protobuf.IConversionOptions): { [k: string]: any };
111
+
112
+ /**
113
+ * Converts this Any to JSON.
114
+ * @returns JSON object
115
+ */
116
+ public toJSON(): { [k: string]: any };
117
+
118
+ /**
119
+ * Gets the default type url for Any
120
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
121
+ * @returns The default type url
122
+ */
123
+ public static getTypeUrl(typeUrlPrefix?: string): string;
124
+ }
125
+
23
126
  /** Properties of a DoubleValue. */
24
127
  interface IDoubleValue {
25
128
 
@@ -3160,6 +3263,9 @@ export namespace google {
3160
3263
  /** MessageOptions mapEntry */
3161
3264
  mapEntry?: (boolean|null);
3162
3265
 
3266
+ /** MessageOptions deprecatedLegacyJsonFieldConflicts */
3267
+ deprecatedLegacyJsonFieldConflicts?: (boolean|null);
3268
+
3163
3269
  /** MessageOptions uninterpretedOption */
3164
3270
  uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
3165
3271
  }
@@ -3185,6 +3291,9 @@ export namespace google {
3185
3291
  /** MessageOptions mapEntry. */
3186
3292
  public mapEntry: boolean;
3187
3293
 
3294
+ /** MessageOptions deprecatedLegacyJsonFieldConflicts. */
3295
+ public deprecatedLegacyJsonFieldConflicts: boolean;
3296
+
3188
3297
  /** MessageOptions uninterpretedOption. */
3189
3298
  public uninterpretedOption: google.protobuf.IUninterpretedOption[];
3190
3299
 
@@ -3290,6 +3399,15 @@ export namespace google {
3290
3399
  /** FieldOptions weak */
3291
3400
  weak?: (boolean|null);
3292
3401
 
3402
+ /** FieldOptions debugRedact */
3403
+ debugRedact?: (boolean|null);
3404
+
3405
+ /** FieldOptions retention */
3406
+ retention?: (google.protobuf.FieldOptions.OptionRetention|keyof typeof google.protobuf.FieldOptions.OptionRetention|null);
3407
+
3408
+ /** FieldOptions target */
3409
+ target?: (google.protobuf.FieldOptions.OptionTargetType|keyof typeof google.protobuf.FieldOptions.OptionTargetType|null);
3410
+
3293
3411
  /** FieldOptions uninterpretedOption */
3294
3412
  uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
3295
3413
 
@@ -3327,6 +3445,15 @@ export namespace google {
3327
3445
  /** FieldOptions weak. */
3328
3446
  public weak: boolean;
3329
3447
 
3448
+ /** FieldOptions debugRedact. */
3449
+ public debugRedact: boolean;
3450
+
3451
+ /** FieldOptions retention. */
3452
+ public retention: (google.protobuf.FieldOptions.OptionRetention|keyof typeof google.protobuf.FieldOptions.OptionRetention);
3453
+
3454
+ /** FieldOptions target. */
3455
+ public target: (google.protobuf.FieldOptions.OptionTargetType|keyof typeof google.protobuf.FieldOptions.OptionTargetType);
3456
+
3330
3457
  /** FieldOptions uninterpretedOption. */
3331
3458
  public uninterpretedOption: google.protobuf.IUninterpretedOption[];
3332
3459
 
@@ -3423,6 +3550,27 @@ export namespace google {
3423
3550
  JS_STRING = 1,
3424
3551
  JS_NUMBER = 2
3425
3552
  }
3553
+
3554
+ /** OptionRetention enum. */
3555
+ enum OptionRetention {
3556
+ RETENTION_UNKNOWN = 0,
3557
+ RETENTION_RUNTIME = 1,
3558
+ RETENTION_SOURCE = 2
3559
+ }
3560
+
3561
+ /** OptionTargetType enum. */
3562
+ enum OptionTargetType {
3563
+ TARGET_TYPE_UNKNOWN = 0,
3564
+ TARGET_TYPE_FILE = 1,
3565
+ TARGET_TYPE_EXTENSION_RANGE = 2,
3566
+ TARGET_TYPE_MESSAGE = 3,
3567
+ TARGET_TYPE_FIELD = 4,
3568
+ TARGET_TYPE_ONEOF = 5,
3569
+ TARGET_TYPE_ENUM = 6,
3570
+ TARGET_TYPE_ENUM_ENTRY = 7,
3571
+ TARGET_TYPE_SERVICE = 8,
3572
+ TARGET_TYPE_METHOD = 9
3573
+ }
3426
3574
  }
3427
3575
 
3428
3576
  /** Properties of an OneofOptions. */
@@ -3531,6 +3679,9 @@ export namespace google {
3531
3679
  /** EnumOptions deprecated */
3532
3680
  deprecated?: (boolean|null);
3533
3681
 
3682
+ /** EnumOptions deprecatedLegacyJsonFieldConflicts */
3683
+ deprecatedLegacyJsonFieldConflicts?: (boolean|null);
3684
+
3534
3685
  /** EnumOptions uninterpretedOption */
3535
3686
  uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
3536
3687
  }
@@ -3550,6 +3701,9 @@ export namespace google {
3550
3701
  /** EnumOptions deprecated. */
3551
3702
  public deprecated: boolean;
3552
3703
 
3704
+ /** EnumOptions deprecatedLegacyJsonFieldConflicts. */
3705
+ public deprecatedLegacyJsonFieldConflicts: boolean;
3706
+
3553
3707
  /** EnumOptions uninterpretedOption. */
3554
3708
  public uninterpretedOption: google.protobuf.IUninterpretedOption[];
3555
3709
 
@@ -4761,109 +4915,6 @@ export namespace google {
4761
4915
  */
4762
4916
  public static getTypeUrl(typeUrlPrefix?: string): string;
4763
4917
  }
4764
-
4765
- /** Properties of an Any. */
4766
- interface IAny {
4767
-
4768
- /** Any type_url */
4769
- type_url?: (string|null);
4770
-
4771
- /** Any value */
4772
- value?: (Uint8Array|string|null);
4773
- }
4774
-
4775
- /** Represents an Any. */
4776
- class Any implements IAny {
4777
-
4778
- /**
4779
- * Constructs a new Any.
4780
- * @param [properties] Properties to set
4781
- */
4782
- constructor(properties?: google.protobuf.IAny);
4783
-
4784
- /** Any type_url. */
4785
- public type_url: string;
4786
-
4787
- /** Any value. */
4788
- public value: (Uint8Array|string);
4789
-
4790
- /**
4791
- * Creates a new Any instance using the specified properties.
4792
- * @param [properties] Properties to set
4793
- * @returns Any instance
4794
- */
4795
- public static create(properties?: google.protobuf.IAny): google.protobuf.Any;
4796
-
4797
- /**
4798
- * Encodes the specified Any message. Does not implicitly {@link google.protobuf.Any.verify|verify} messages.
4799
- * @param message Any message or plain object to encode
4800
- * @param [writer] Writer to encode to
4801
- * @returns Writer
4802
- */
4803
- public static encode(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer;
4804
-
4805
- /**
4806
- * Encodes the specified Any message, length delimited. Does not implicitly {@link google.protobuf.Any.verify|verify} messages.
4807
- * @param message Any message or plain object to encode
4808
- * @param [writer] Writer to encode to
4809
- * @returns Writer
4810
- */
4811
- public static encodeDelimited(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer;
4812
-
4813
- /**
4814
- * Decodes an Any message from the specified reader or buffer.
4815
- * @param reader Reader or buffer to decode from
4816
- * @param [length] Message length if known beforehand
4817
- * @returns Any
4818
- * @throws {Error} If the payload is not a reader or valid buffer
4819
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
4820
- */
4821
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Any;
4822
-
4823
- /**
4824
- * Decodes an Any message from the specified reader or buffer, length delimited.
4825
- * @param reader Reader or buffer to decode from
4826
- * @returns Any
4827
- * @throws {Error} If the payload is not a reader or valid buffer
4828
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
4829
- */
4830
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Any;
4831
-
4832
- /**
4833
- * Verifies an Any message.
4834
- * @param message Plain object to verify
4835
- * @returns `null` if valid, otherwise the reason why it is not
4836
- */
4837
- public static verify(message: { [k: string]: any }): (string|null);
4838
-
4839
- /**
4840
- * Creates an Any message from a plain object. Also converts values to their respective internal types.
4841
- * @param object Plain object
4842
- * @returns Any
4843
- */
4844
- public static fromObject(object: { [k: string]: any }): google.protobuf.Any;
4845
-
4846
- /**
4847
- * Creates a plain object from an Any message. Also converts values to other types if specified.
4848
- * @param message Any
4849
- * @param [options] Conversion options
4850
- * @returns Plain object
4851
- */
4852
- public static toObject(message: google.protobuf.Any, options?: $protobuf.IConversionOptions): { [k: string]: any };
4853
-
4854
- /**
4855
- * Converts this Any to JSON.
4856
- * @returns JSON object
4857
- */
4858
- public toJSON(): { [k: string]: any };
4859
-
4860
- /**
4861
- * Gets the default type url for Any
4862
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
4863
- * @returns The default type url
4864
- */
4865
- public static getTypeUrl(typeUrlPrefix?: string): string;
4866
- }
4867
4918
  }
4868
4919
 
4869
4920
  /** Namespace geo. */
@@ -5319,89 +5370,322 @@ export namespace google {
5319
5370
  FALLBACK_TRAFFIC_AWARE = 2
5320
5371
  }
5321
5372
 
5322
- /** Properties of a Location. */
5323
- interface ILocation {
5373
+ /** Properties of a GeocodingResults. */
5374
+ interface IGeocodingResults {
5324
5375
 
5325
- /** Location latLng */
5326
- latLng?: (google.type.ILatLng|null);
5376
+ /** GeocodingResults origin */
5377
+ origin?: (google.maps.routing.v2.IGeocodedWaypoint|null);
5327
5378
 
5328
- /** Location heading */
5329
- heading?: (google.protobuf.IInt32Value|null);
5379
+ /** GeocodingResults destination */
5380
+ destination?: (google.maps.routing.v2.IGeocodedWaypoint|null);
5381
+
5382
+ /** GeocodingResults intermediates */
5383
+ intermediates?: (google.maps.routing.v2.IGeocodedWaypoint[]|null);
5330
5384
  }
5331
5385
 
5332
- /** Represents a Location. */
5333
- class Location implements ILocation {
5386
+ /** Represents a GeocodingResults. */
5387
+ class GeocodingResults implements IGeocodingResults {
5334
5388
 
5335
5389
  /**
5336
- * Constructs a new Location.
5390
+ * Constructs a new GeocodingResults.
5337
5391
  * @param [properties] Properties to set
5338
5392
  */
5339
- constructor(properties?: google.maps.routing.v2.ILocation);
5393
+ constructor(properties?: google.maps.routing.v2.IGeocodingResults);
5340
5394
 
5341
- /** Location latLng. */
5342
- public latLng?: (google.type.ILatLng|null);
5395
+ /** GeocodingResults origin. */
5396
+ public origin?: (google.maps.routing.v2.IGeocodedWaypoint|null);
5343
5397
 
5344
- /** Location heading. */
5345
- public heading?: (google.protobuf.IInt32Value|null);
5398
+ /** GeocodingResults destination. */
5399
+ public destination?: (google.maps.routing.v2.IGeocodedWaypoint|null);
5400
+
5401
+ /** GeocodingResults intermediates. */
5402
+ public intermediates: google.maps.routing.v2.IGeocodedWaypoint[];
5346
5403
 
5347
5404
  /**
5348
- * Creates a new Location instance using the specified properties.
5405
+ * Creates a new GeocodingResults instance using the specified properties.
5349
5406
  * @param [properties] Properties to set
5350
- * @returns Location instance
5407
+ * @returns GeocodingResults instance
5351
5408
  */
5352
- public static create(properties?: google.maps.routing.v2.ILocation): google.maps.routing.v2.Location;
5409
+ public static create(properties?: google.maps.routing.v2.IGeocodingResults): google.maps.routing.v2.GeocodingResults;
5353
5410
 
5354
5411
  /**
5355
- * Encodes the specified Location message. Does not implicitly {@link google.maps.routing.v2.Location.verify|verify} messages.
5356
- * @param message Location message or plain object to encode
5412
+ * Encodes the specified GeocodingResults message. Does not implicitly {@link google.maps.routing.v2.GeocodingResults.verify|verify} messages.
5413
+ * @param message GeocodingResults message or plain object to encode
5357
5414
  * @param [writer] Writer to encode to
5358
5415
  * @returns Writer
5359
5416
  */
5360
- public static encode(message: google.maps.routing.v2.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
5417
+ public static encode(message: google.maps.routing.v2.IGeocodingResults, writer?: $protobuf.Writer): $protobuf.Writer;
5361
5418
 
5362
5419
  /**
5363
- * Encodes the specified Location message, length delimited. Does not implicitly {@link google.maps.routing.v2.Location.verify|verify} messages.
5364
- * @param message Location message or plain object to encode
5420
+ * Encodes the specified GeocodingResults message, length delimited. Does not implicitly {@link google.maps.routing.v2.GeocodingResults.verify|verify} messages.
5421
+ * @param message GeocodingResults message or plain object to encode
5365
5422
  * @param [writer] Writer to encode to
5366
5423
  * @returns Writer
5367
5424
  */
5368
- public static encodeDelimited(message: google.maps.routing.v2.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
5425
+ public static encodeDelimited(message: google.maps.routing.v2.IGeocodingResults, writer?: $protobuf.Writer): $protobuf.Writer;
5369
5426
 
5370
5427
  /**
5371
- * Decodes a Location message from the specified reader or buffer.
5428
+ * Decodes a GeocodingResults message from the specified reader or buffer.
5372
5429
  * @param reader Reader or buffer to decode from
5373
5430
  * @param [length] Message length if known beforehand
5374
- * @returns Location
5431
+ * @returns GeocodingResults
5375
5432
  * @throws {Error} If the payload is not a reader or valid buffer
5376
5433
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
5377
5434
  */
5378
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.routing.v2.Location;
5435
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.routing.v2.GeocodingResults;
5379
5436
 
5380
5437
  /**
5381
- * Decodes a Location message from the specified reader or buffer, length delimited.
5438
+ * Decodes a GeocodingResults message from the specified reader or buffer, length delimited.
5382
5439
  * @param reader Reader or buffer to decode from
5383
- * @returns Location
5440
+ * @returns GeocodingResults
5384
5441
  * @throws {Error} If the payload is not a reader or valid buffer
5385
5442
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
5386
5443
  */
5387
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.routing.v2.Location;
5444
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.routing.v2.GeocodingResults;
5388
5445
 
5389
5446
  /**
5390
- * Verifies a Location message.
5447
+ * Verifies a GeocodingResults message.
5391
5448
  * @param message Plain object to verify
5392
5449
  * @returns `null` if valid, otherwise the reason why it is not
5393
5450
  */
5394
5451
  public static verify(message: { [k: string]: any }): (string|null);
5395
5452
 
5396
5453
  /**
5397
- * Creates a Location message from a plain object. Also converts values to their respective internal types.
5454
+ * Creates a GeocodingResults message from a plain object. Also converts values to their respective internal types.
5398
5455
  * @param object Plain object
5399
- * @returns Location
5456
+ * @returns GeocodingResults
5400
5457
  */
5401
- public static fromObject(object: { [k: string]: any }): google.maps.routing.v2.Location;
5458
+ public static fromObject(object: { [k: string]: any }): google.maps.routing.v2.GeocodingResults;
5402
5459
 
5403
5460
  /**
5404
- * Creates a plain object from a Location message. Also converts values to other types if specified.
5461
+ * Creates a plain object from a GeocodingResults message. Also converts values to other types if specified.
5462
+ * @param message GeocodingResults
5463
+ * @param [options] Conversion options
5464
+ * @returns Plain object
5465
+ */
5466
+ public static toObject(message: google.maps.routing.v2.GeocodingResults, options?: $protobuf.IConversionOptions): { [k: string]: any };
5467
+
5468
+ /**
5469
+ * Converts this GeocodingResults to JSON.
5470
+ * @returns JSON object
5471
+ */
5472
+ public toJSON(): { [k: string]: any };
5473
+
5474
+ /**
5475
+ * Gets the default type url for GeocodingResults
5476
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
5477
+ * @returns The default type url
5478
+ */
5479
+ public static getTypeUrl(typeUrlPrefix?: string): string;
5480
+ }
5481
+
5482
+ /** Properties of a GeocodedWaypoint. */
5483
+ interface IGeocodedWaypoint {
5484
+
5485
+ /** GeocodedWaypoint geocoderStatus */
5486
+ geocoderStatus?: (google.rpc.IStatus|null);
5487
+
5488
+ /** GeocodedWaypoint intermediateWaypointRequestIndex */
5489
+ intermediateWaypointRequestIndex?: (number|null);
5490
+
5491
+ /** GeocodedWaypoint type */
5492
+ type?: (string[]|null);
5493
+
5494
+ /** GeocodedWaypoint partialMatch */
5495
+ partialMatch?: (boolean|null);
5496
+
5497
+ /** GeocodedWaypoint placeId */
5498
+ placeId?: (string|null);
5499
+ }
5500
+
5501
+ /** Represents a GeocodedWaypoint. */
5502
+ class GeocodedWaypoint implements IGeocodedWaypoint {
5503
+
5504
+ /**
5505
+ * Constructs a new GeocodedWaypoint.
5506
+ * @param [properties] Properties to set
5507
+ */
5508
+ constructor(properties?: google.maps.routing.v2.IGeocodedWaypoint);
5509
+
5510
+ /** GeocodedWaypoint geocoderStatus. */
5511
+ public geocoderStatus?: (google.rpc.IStatus|null);
5512
+
5513
+ /** GeocodedWaypoint intermediateWaypointRequestIndex. */
5514
+ public intermediateWaypointRequestIndex?: (number|null);
5515
+
5516
+ /** GeocodedWaypoint type. */
5517
+ public type: string[];
5518
+
5519
+ /** GeocodedWaypoint partialMatch. */
5520
+ public partialMatch: boolean;
5521
+
5522
+ /** GeocodedWaypoint placeId. */
5523
+ public placeId: string;
5524
+
5525
+ /** GeocodedWaypoint _intermediateWaypointRequestIndex. */
5526
+ public _intermediateWaypointRequestIndex?: "intermediateWaypointRequestIndex";
5527
+
5528
+ /**
5529
+ * Creates a new GeocodedWaypoint instance using the specified properties.
5530
+ * @param [properties] Properties to set
5531
+ * @returns GeocodedWaypoint instance
5532
+ */
5533
+ public static create(properties?: google.maps.routing.v2.IGeocodedWaypoint): google.maps.routing.v2.GeocodedWaypoint;
5534
+
5535
+ /**
5536
+ * Encodes the specified GeocodedWaypoint message. Does not implicitly {@link google.maps.routing.v2.GeocodedWaypoint.verify|verify} messages.
5537
+ * @param message GeocodedWaypoint message or plain object to encode
5538
+ * @param [writer] Writer to encode to
5539
+ * @returns Writer
5540
+ */
5541
+ public static encode(message: google.maps.routing.v2.IGeocodedWaypoint, writer?: $protobuf.Writer): $protobuf.Writer;
5542
+
5543
+ /**
5544
+ * Encodes the specified GeocodedWaypoint message, length delimited. Does not implicitly {@link google.maps.routing.v2.GeocodedWaypoint.verify|verify} messages.
5545
+ * @param message GeocodedWaypoint message or plain object to encode
5546
+ * @param [writer] Writer to encode to
5547
+ * @returns Writer
5548
+ */
5549
+ public static encodeDelimited(message: google.maps.routing.v2.IGeocodedWaypoint, writer?: $protobuf.Writer): $protobuf.Writer;
5550
+
5551
+ /**
5552
+ * Decodes a GeocodedWaypoint message from the specified reader or buffer.
5553
+ * @param reader Reader or buffer to decode from
5554
+ * @param [length] Message length if known beforehand
5555
+ * @returns GeocodedWaypoint
5556
+ * @throws {Error} If the payload is not a reader or valid buffer
5557
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5558
+ */
5559
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.routing.v2.GeocodedWaypoint;
5560
+
5561
+ /**
5562
+ * Decodes a GeocodedWaypoint message from the specified reader or buffer, length delimited.
5563
+ * @param reader Reader or buffer to decode from
5564
+ * @returns GeocodedWaypoint
5565
+ * @throws {Error} If the payload is not a reader or valid buffer
5566
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5567
+ */
5568
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.routing.v2.GeocodedWaypoint;
5569
+
5570
+ /**
5571
+ * Verifies a GeocodedWaypoint message.
5572
+ * @param message Plain object to verify
5573
+ * @returns `null` if valid, otherwise the reason why it is not
5574
+ */
5575
+ public static verify(message: { [k: string]: any }): (string|null);
5576
+
5577
+ /**
5578
+ * Creates a GeocodedWaypoint message from a plain object. Also converts values to their respective internal types.
5579
+ * @param object Plain object
5580
+ * @returns GeocodedWaypoint
5581
+ */
5582
+ public static fromObject(object: { [k: string]: any }): google.maps.routing.v2.GeocodedWaypoint;
5583
+
5584
+ /**
5585
+ * Creates a plain object from a GeocodedWaypoint message. Also converts values to other types if specified.
5586
+ * @param message GeocodedWaypoint
5587
+ * @param [options] Conversion options
5588
+ * @returns Plain object
5589
+ */
5590
+ public static toObject(message: google.maps.routing.v2.GeocodedWaypoint, options?: $protobuf.IConversionOptions): { [k: string]: any };
5591
+
5592
+ /**
5593
+ * Converts this GeocodedWaypoint to JSON.
5594
+ * @returns JSON object
5595
+ */
5596
+ public toJSON(): { [k: string]: any };
5597
+
5598
+ /**
5599
+ * Gets the default type url for GeocodedWaypoint
5600
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
5601
+ * @returns The default type url
5602
+ */
5603
+ public static getTypeUrl(typeUrlPrefix?: string): string;
5604
+ }
5605
+
5606
+ /** Properties of a Location. */
5607
+ interface ILocation {
5608
+
5609
+ /** Location latLng */
5610
+ latLng?: (google.type.ILatLng|null);
5611
+
5612
+ /** Location heading */
5613
+ heading?: (google.protobuf.IInt32Value|null);
5614
+ }
5615
+
5616
+ /** Represents a Location. */
5617
+ class Location implements ILocation {
5618
+
5619
+ /**
5620
+ * Constructs a new Location.
5621
+ * @param [properties] Properties to set
5622
+ */
5623
+ constructor(properties?: google.maps.routing.v2.ILocation);
5624
+
5625
+ /** Location latLng. */
5626
+ public latLng?: (google.type.ILatLng|null);
5627
+
5628
+ /** Location heading. */
5629
+ public heading?: (google.protobuf.IInt32Value|null);
5630
+
5631
+ /**
5632
+ * Creates a new Location instance using the specified properties.
5633
+ * @param [properties] Properties to set
5634
+ * @returns Location instance
5635
+ */
5636
+ public static create(properties?: google.maps.routing.v2.ILocation): google.maps.routing.v2.Location;
5637
+
5638
+ /**
5639
+ * Encodes the specified Location message. Does not implicitly {@link google.maps.routing.v2.Location.verify|verify} messages.
5640
+ * @param message Location message or plain object to encode
5641
+ * @param [writer] Writer to encode to
5642
+ * @returns Writer
5643
+ */
5644
+ public static encode(message: google.maps.routing.v2.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
5645
+
5646
+ /**
5647
+ * Encodes the specified Location message, length delimited. Does not implicitly {@link google.maps.routing.v2.Location.verify|verify} messages.
5648
+ * @param message Location message or plain object to encode
5649
+ * @param [writer] Writer to encode to
5650
+ * @returns Writer
5651
+ */
5652
+ public static encodeDelimited(message: google.maps.routing.v2.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
5653
+
5654
+ /**
5655
+ * Decodes a Location message from the specified reader or buffer.
5656
+ * @param reader Reader or buffer to decode from
5657
+ * @param [length] Message length if known beforehand
5658
+ * @returns Location
5659
+ * @throws {Error} If the payload is not a reader or valid buffer
5660
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5661
+ */
5662
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.routing.v2.Location;
5663
+
5664
+ /**
5665
+ * Decodes a Location message from the specified reader or buffer, length delimited.
5666
+ * @param reader Reader or buffer to decode from
5667
+ * @returns Location
5668
+ * @throws {Error} If the payload is not a reader or valid buffer
5669
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5670
+ */
5671
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.routing.v2.Location;
5672
+
5673
+ /**
5674
+ * Verifies a Location message.
5675
+ * @param message Plain object to verify
5676
+ * @returns `null` if valid, otherwise the reason why it is not
5677
+ */
5678
+ public static verify(message: { [k: string]: any }): (string|null);
5679
+
5680
+ /**
5681
+ * Creates a Location message from a plain object. Also converts values to their respective internal types.
5682
+ * @param object Plain object
5683
+ * @returns Location
5684
+ */
5685
+ public static fromObject(object: { [k: string]: any }): google.maps.routing.v2.Location;
5686
+
5687
+ /**
5688
+ * Creates a plain object from a Location message. Also converts values to other types if specified.
5405
5689
  * @param message Location
5406
5690
  * @param [options] Conversion options
5407
5691
  * @returns Plain object
@@ -7241,6 +7525,9 @@ export namespace google {
7241
7525
 
7242
7526
  /** ComputeRoutesResponse fallbackInfo */
7243
7527
  fallbackInfo?: (google.maps.routing.v2.IFallbackInfo|null);
7528
+
7529
+ /** ComputeRoutesResponse geocodingResults */
7530
+ geocodingResults?: (google.maps.routing.v2.IGeocodingResults|null);
7244
7531
  }
7245
7532
 
7246
7533
  /** Represents a ComputeRoutesResponse. */
@@ -7258,6 +7545,9 @@ export namespace google {
7258
7545
  /** ComputeRoutesResponse fallbackInfo. */
7259
7546
  public fallbackInfo?: (google.maps.routing.v2.IFallbackInfo|null);
7260
7547
 
7548
+ /** ComputeRoutesResponse geocodingResults. */
7549
+ public geocodingResults?: (google.maps.routing.v2.IGeocodingResults|null);
7550
+
7261
7551
  /**
7262
7552
  * Creates a new ComputeRoutesResponse instance using the specified properties.
7263
7553
  * @param [properties] Properties to set
@@ -7854,6 +8144,9 @@ export namespace google {
7854
8144
  /** Waypoint placeId */
7855
8145
  placeId?: (string|null);
7856
8146
 
8147
+ /** Waypoint address */
8148
+ address?: (string|null);
8149
+
7857
8150
  /** Waypoint via */
7858
8151
  via?: (boolean|null);
7859
8152
 
@@ -7879,6 +8172,9 @@ export namespace google {
7879
8172
  /** Waypoint placeId. */
7880
8173
  public placeId?: (string|null);
7881
8174
 
8175
+ /** Waypoint address. */
8176
+ public address?: (string|null);
8177
+
7882
8178
  /** Waypoint via. */
7883
8179
  public via: boolean;
7884
8180
 
@@ -7889,7 +8185,7 @@ export namespace google {
7889
8185
  public sideOfRoad: boolean;
7890
8186
 
7891
8187
  /** Waypoint locationType. */
7892
- public locationType?: ("location"|"placeId");
8188
+ public locationType?: ("location"|"placeId"|"address");
7893
8189
 
7894
8190
  /**
7895
8191
  * Creates a new Waypoint instance using the specified properties.
@@ -7972,93 +8268,206 @@ export namespace google {
7972
8268
  }
7973
8269
  }
7974
8270
 
7975
- /** Namespace api. */
7976
- namespace api {
8271
+ /** Namespace rpc. */
8272
+ namespace rpc {
7977
8273
 
7978
- /** Properties of a Http. */
7979
- interface IHttp {
8274
+ /** Properties of a Status. */
8275
+ interface IStatus {
7980
8276
 
7981
- /** Http rules */
7982
- rules?: (google.api.IHttpRule[]|null);
8277
+ /** Status code */
8278
+ code?: (number|null);
7983
8279
 
7984
- /** Http fullyDecodeReservedExpansion */
7985
- fullyDecodeReservedExpansion?: (boolean|null);
8280
+ /** Status message */
8281
+ message?: (string|null);
8282
+
8283
+ /** Status details */
8284
+ details?: (google.protobuf.IAny[]|null);
7986
8285
  }
7987
8286
 
7988
- /** Represents a Http. */
7989
- class Http implements IHttp {
8287
+ /** Represents a Status. */
8288
+ class Status implements IStatus {
7990
8289
 
7991
8290
  /**
7992
- * Constructs a new Http.
8291
+ * Constructs a new Status.
7993
8292
  * @param [properties] Properties to set
7994
8293
  */
7995
- constructor(properties?: google.api.IHttp);
8294
+ constructor(properties?: google.rpc.IStatus);
7996
8295
 
7997
- /** Http rules. */
7998
- public rules: google.api.IHttpRule[];
8296
+ /** Status code. */
8297
+ public code: number;
7999
8298
 
8000
- /** Http fullyDecodeReservedExpansion. */
8001
- public fullyDecodeReservedExpansion: boolean;
8299
+ /** Status message. */
8300
+ public message: string;
8301
+
8302
+ /** Status details. */
8303
+ public details: google.protobuf.IAny[];
8002
8304
 
8003
8305
  /**
8004
- * Creates a new Http instance using the specified properties.
8306
+ * Creates a new Status instance using the specified properties.
8005
8307
  * @param [properties] Properties to set
8006
- * @returns Http instance
8308
+ * @returns Status instance
8007
8309
  */
8008
- public static create(properties?: google.api.IHttp): google.api.Http;
8310
+ public static create(properties?: google.rpc.IStatus): google.rpc.Status;
8009
8311
 
8010
8312
  /**
8011
- * Encodes the specified Http message. Does not implicitly {@link google.api.Http.verify|verify} messages.
8012
- * @param message Http message or plain object to encode
8313
+ * Encodes the specified Status message. Does not implicitly {@link google.rpc.Status.verify|verify} messages.
8314
+ * @param message Status message or plain object to encode
8013
8315
  * @param [writer] Writer to encode to
8014
8316
  * @returns Writer
8015
8317
  */
8016
- public static encode(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
8318
+ public static encode(message: google.rpc.IStatus, writer?: $protobuf.Writer): $protobuf.Writer;
8017
8319
 
8018
8320
  /**
8019
- * Encodes the specified Http message, length delimited. Does not implicitly {@link google.api.Http.verify|verify} messages.
8020
- * @param message Http message or plain object to encode
8321
+ * Encodes the specified Status message, length delimited. Does not implicitly {@link google.rpc.Status.verify|verify} messages.
8322
+ * @param message Status message or plain object to encode
8021
8323
  * @param [writer] Writer to encode to
8022
8324
  * @returns Writer
8023
8325
  */
8024
- public static encodeDelimited(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
8326
+ public static encodeDelimited(message: google.rpc.IStatus, writer?: $protobuf.Writer): $protobuf.Writer;
8025
8327
 
8026
8328
  /**
8027
- * Decodes a Http message from the specified reader or buffer.
8329
+ * Decodes a Status message from the specified reader or buffer.
8028
8330
  * @param reader Reader or buffer to decode from
8029
8331
  * @param [length] Message length if known beforehand
8030
- * @returns Http
8332
+ * @returns Status
8031
8333
  * @throws {Error} If the payload is not a reader or valid buffer
8032
8334
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
8033
8335
  */
8034
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Http;
8336
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.rpc.Status;
8035
8337
 
8036
8338
  /**
8037
- * Decodes a Http message from the specified reader or buffer, length delimited.
8339
+ * Decodes a Status message from the specified reader or buffer, length delimited.
8038
8340
  * @param reader Reader or buffer to decode from
8039
- * @returns Http
8341
+ * @returns Status
8040
8342
  * @throws {Error} If the payload is not a reader or valid buffer
8041
8343
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
8042
8344
  */
8043
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Http;
8345
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.rpc.Status;
8044
8346
 
8045
8347
  /**
8046
- * Verifies a Http message.
8348
+ * Verifies a Status message.
8047
8349
  * @param message Plain object to verify
8048
8350
  * @returns `null` if valid, otherwise the reason why it is not
8049
8351
  */
8050
8352
  public static verify(message: { [k: string]: any }): (string|null);
8051
8353
 
8052
8354
  /**
8053
- * Creates a Http message from a plain object. Also converts values to their respective internal types.
8355
+ * Creates a Status message from a plain object. Also converts values to their respective internal types.
8054
8356
  * @param object Plain object
8055
- * @returns Http
8357
+ * @returns Status
8056
8358
  */
8057
- public static fromObject(object: { [k: string]: any }): google.api.Http;
8359
+ public static fromObject(object: { [k: string]: any }): google.rpc.Status;
8058
8360
 
8059
8361
  /**
8060
- * Creates a plain object from a Http message. Also converts values to other types if specified.
8061
- * @param message Http
8362
+ * Creates a plain object from a Status message. Also converts values to other types if specified.
8363
+ * @param message Status
8364
+ * @param [options] Conversion options
8365
+ * @returns Plain object
8366
+ */
8367
+ public static toObject(message: google.rpc.Status, options?: $protobuf.IConversionOptions): { [k: string]: any };
8368
+
8369
+ /**
8370
+ * Converts this Status to JSON.
8371
+ * @returns JSON object
8372
+ */
8373
+ public toJSON(): { [k: string]: any };
8374
+
8375
+ /**
8376
+ * Gets the default type url for Status
8377
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
8378
+ * @returns The default type url
8379
+ */
8380
+ public static getTypeUrl(typeUrlPrefix?: string): string;
8381
+ }
8382
+ }
8383
+
8384
+ /** Namespace api. */
8385
+ namespace api {
8386
+
8387
+ /** Properties of a Http. */
8388
+ interface IHttp {
8389
+
8390
+ /** Http rules */
8391
+ rules?: (google.api.IHttpRule[]|null);
8392
+
8393
+ /** Http fullyDecodeReservedExpansion */
8394
+ fullyDecodeReservedExpansion?: (boolean|null);
8395
+ }
8396
+
8397
+ /** Represents a Http. */
8398
+ class Http implements IHttp {
8399
+
8400
+ /**
8401
+ * Constructs a new Http.
8402
+ * @param [properties] Properties to set
8403
+ */
8404
+ constructor(properties?: google.api.IHttp);
8405
+
8406
+ /** Http rules. */
8407
+ public rules: google.api.IHttpRule[];
8408
+
8409
+ /** Http fullyDecodeReservedExpansion. */
8410
+ public fullyDecodeReservedExpansion: boolean;
8411
+
8412
+ /**
8413
+ * Creates a new Http instance using the specified properties.
8414
+ * @param [properties] Properties to set
8415
+ * @returns Http instance
8416
+ */
8417
+ public static create(properties?: google.api.IHttp): google.api.Http;
8418
+
8419
+ /**
8420
+ * Encodes the specified Http message. Does not implicitly {@link google.api.Http.verify|verify} messages.
8421
+ * @param message Http message or plain object to encode
8422
+ * @param [writer] Writer to encode to
8423
+ * @returns Writer
8424
+ */
8425
+ public static encode(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
8426
+
8427
+ /**
8428
+ * Encodes the specified Http message, length delimited. Does not implicitly {@link google.api.Http.verify|verify} messages.
8429
+ * @param message Http message or plain object to encode
8430
+ * @param [writer] Writer to encode to
8431
+ * @returns Writer
8432
+ */
8433
+ public static encodeDelimited(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
8434
+
8435
+ /**
8436
+ * Decodes a Http message from the specified reader or buffer.
8437
+ * @param reader Reader or buffer to decode from
8438
+ * @param [length] Message length if known beforehand
8439
+ * @returns Http
8440
+ * @throws {Error} If the payload is not a reader or valid buffer
8441
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8442
+ */
8443
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Http;
8444
+
8445
+ /**
8446
+ * Decodes a Http message from the specified reader or buffer, length delimited.
8447
+ * @param reader Reader or buffer to decode from
8448
+ * @returns Http
8449
+ * @throws {Error} If the payload is not a reader or valid buffer
8450
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8451
+ */
8452
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Http;
8453
+
8454
+ /**
8455
+ * Verifies a Http message.
8456
+ * @param message Plain object to verify
8457
+ * @returns `null` if valid, otherwise the reason why it is not
8458
+ */
8459
+ public static verify(message: { [k: string]: any }): (string|null);
8460
+
8461
+ /**
8462
+ * Creates a Http message from a plain object. Also converts values to their respective internal types.
8463
+ * @param object Plain object
8464
+ * @returns Http
8465
+ */
8466
+ public static fromObject(object: { [k: string]: any }): google.api.Http;
8467
+
8468
+ /**
8469
+ * Creates a plain object from a Http message. Also converts values to other types if specified.
8470
+ * @param message Http
8062
8471
  * @param [options] Conversion options
8063
8472
  * @returns Plain object
8064
8473
  */
@@ -8335,129 +8744,1458 @@ export namespace google {
8335
8744
  public static getTypeUrl(typeUrlPrefix?: string): string;
8336
8745
  }
8337
8746
 
8338
- /** FieldBehavior enum. */
8339
- enum FieldBehavior {
8340
- FIELD_BEHAVIOR_UNSPECIFIED = 0,
8341
- OPTIONAL = 1,
8342
- REQUIRED = 2,
8343
- OUTPUT_ONLY = 3,
8344
- INPUT_ONLY = 4,
8345
- IMMUTABLE = 5,
8346
- UNORDERED_LIST = 6,
8347
- NON_EMPTY_DEFAULT = 7
8747
+ /** Properties of a CommonLanguageSettings. */
8748
+ interface ICommonLanguageSettings {
8749
+
8750
+ /** CommonLanguageSettings referenceDocsUri */
8751
+ referenceDocsUri?: (string|null);
8752
+
8753
+ /** CommonLanguageSettings destinations */
8754
+ destinations?: (google.api.ClientLibraryDestination[]|null);
8348
8755
  }
8349
- }
8350
8756
 
8351
- /** Namespace rpc. */
8352
- namespace rpc {
8757
+ /** Represents a CommonLanguageSettings. */
8758
+ class CommonLanguageSettings implements ICommonLanguageSettings {
8353
8759
 
8354
- /** Properties of a Status. */
8355
- interface IStatus {
8760
+ /**
8761
+ * Constructs a new CommonLanguageSettings.
8762
+ * @param [properties] Properties to set
8763
+ */
8764
+ constructor(properties?: google.api.ICommonLanguageSettings);
8356
8765
 
8357
- /** Status code */
8358
- code?: (number|null);
8766
+ /** CommonLanguageSettings referenceDocsUri. */
8767
+ public referenceDocsUri: string;
8359
8768
 
8360
- /** Status message */
8361
- message?: (string|null);
8769
+ /** CommonLanguageSettings destinations. */
8770
+ public destinations: google.api.ClientLibraryDestination[];
8362
8771
 
8363
- /** Status details */
8364
- details?: (google.protobuf.IAny[]|null);
8772
+ /**
8773
+ * Creates a new CommonLanguageSettings instance using the specified properties.
8774
+ * @param [properties] Properties to set
8775
+ * @returns CommonLanguageSettings instance
8776
+ */
8777
+ public static create(properties?: google.api.ICommonLanguageSettings): google.api.CommonLanguageSettings;
8778
+
8779
+ /**
8780
+ * Encodes the specified CommonLanguageSettings message. Does not implicitly {@link google.api.CommonLanguageSettings.verify|verify} messages.
8781
+ * @param message CommonLanguageSettings message or plain object to encode
8782
+ * @param [writer] Writer to encode to
8783
+ * @returns Writer
8784
+ */
8785
+ public static encode(message: google.api.ICommonLanguageSettings, writer?: $protobuf.Writer): $protobuf.Writer;
8786
+
8787
+ /**
8788
+ * Encodes the specified CommonLanguageSettings message, length delimited. Does not implicitly {@link google.api.CommonLanguageSettings.verify|verify} messages.
8789
+ * @param message CommonLanguageSettings message or plain object to encode
8790
+ * @param [writer] Writer to encode to
8791
+ * @returns Writer
8792
+ */
8793
+ public static encodeDelimited(message: google.api.ICommonLanguageSettings, writer?: $protobuf.Writer): $protobuf.Writer;
8794
+
8795
+ /**
8796
+ * Decodes a CommonLanguageSettings message from the specified reader or buffer.
8797
+ * @param reader Reader or buffer to decode from
8798
+ * @param [length] Message length if known beforehand
8799
+ * @returns CommonLanguageSettings
8800
+ * @throws {Error} If the payload is not a reader or valid buffer
8801
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8802
+ */
8803
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CommonLanguageSettings;
8804
+
8805
+ /**
8806
+ * Decodes a CommonLanguageSettings message from the specified reader or buffer, length delimited.
8807
+ * @param reader Reader or buffer to decode from
8808
+ * @returns CommonLanguageSettings
8809
+ * @throws {Error} If the payload is not a reader or valid buffer
8810
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8811
+ */
8812
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CommonLanguageSettings;
8813
+
8814
+ /**
8815
+ * Verifies a CommonLanguageSettings message.
8816
+ * @param message Plain object to verify
8817
+ * @returns `null` if valid, otherwise the reason why it is not
8818
+ */
8819
+ public static verify(message: { [k: string]: any }): (string|null);
8820
+
8821
+ /**
8822
+ * Creates a CommonLanguageSettings message from a plain object. Also converts values to their respective internal types.
8823
+ * @param object Plain object
8824
+ * @returns CommonLanguageSettings
8825
+ */
8826
+ public static fromObject(object: { [k: string]: any }): google.api.CommonLanguageSettings;
8827
+
8828
+ /**
8829
+ * Creates a plain object from a CommonLanguageSettings message. Also converts values to other types if specified.
8830
+ * @param message CommonLanguageSettings
8831
+ * @param [options] Conversion options
8832
+ * @returns Plain object
8833
+ */
8834
+ public static toObject(message: google.api.CommonLanguageSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
8835
+
8836
+ /**
8837
+ * Converts this CommonLanguageSettings to JSON.
8838
+ * @returns JSON object
8839
+ */
8840
+ public toJSON(): { [k: string]: any };
8841
+
8842
+ /**
8843
+ * Gets the default type url for CommonLanguageSettings
8844
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
8845
+ * @returns The default type url
8846
+ */
8847
+ public static getTypeUrl(typeUrlPrefix?: string): string;
8365
8848
  }
8366
8849
 
8367
- /** Represents a Status. */
8368
- class Status implements IStatus {
8850
+ /** Properties of a ClientLibrarySettings. */
8851
+ interface IClientLibrarySettings {
8852
+
8853
+ /** ClientLibrarySettings version */
8854
+ version?: (string|null);
8855
+
8856
+ /** ClientLibrarySettings launchStage */
8857
+ launchStage?: (google.api.LaunchStage|keyof typeof google.api.LaunchStage|null);
8858
+
8859
+ /** ClientLibrarySettings restNumericEnums */
8860
+ restNumericEnums?: (boolean|null);
8861
+
8862
+ /** ClientLibrarySettings javaSettings */
8863
+ javaSettings?: (google.api.IJavaSettings|null);
8864
+
8865
+ /** ClientLibrarySettings cppSettings */
8866
+ cppSettings?: (google.api.ICppSettings|null);
8867
+
8868
+ /** ClientLibrarySettings phpSettings */
8869
+ phpSettings?: (google.api.IPhpSettings|null);
8870
+
8871
+ /** ClientLibrarySettings pythonSettings */
8872
+ pythonSettings?: (google.api.IPythonSettings|null);
8873
+
8874
+ /** ClientLibrarySettings nodeSettings */
8875
+ nodeSettings?: (google.api.INodeSettings|null);
8876
+
8877
+ /** ClientLibrarySettings dotnetSettings */
8878
+ dotnetSettings?: (google.api.IDotnetSettings|null);
8879
+
8880
+ /** ClientLibrarySettings rubySettings */
8881
+ rubySettings?: (google.api.IRubySettings|null);
8882
+
8883
+ /** ClientLibrarySettings goSettings */
8884
+ goSettings?: (google.api.IGoSettings|null);
8885
+ }
8886
+
8887
+ /** Represents a ClientLibrarySettings. */
8888
+ class ClientLibrarySettings implements IClientLibrarySettings {
8369
8889
 
8370
8890
  /**
8371
- * Constructs a new Status.
8891
+ * Constructs a new ClientLibrarySettings.
8372
8892
  * @param [properties] Properties to set
8373
8893
  */
8374
- constructor(properties?: google.rpc.IStatus);
8894
+ constructor(properties?: google.api.IClientLibrarySettings);
8375
8895
 
8376
- /** Status code. */
8377
- public code: number;
8896
+ /** ClientLibrarySettings version. */
8897
+ public version: string;
8378
8898
 
8379
- /** Status message. */
8380
- public message: string;
8899
+ /** ClientLibrarySettings launchStage. */
8900
+ public launchStage: (google.api.LaunchStage|keyof typeof google.api.LaunchStage);
8381
8901
 
8382
- /** Status details. */
8383
- public details: google.protobuf.IAny[];
8902
+ /** ClientLibrarySettings restNumericEnums. */
8903
+ public restNumericEnums: boolean;
8904
+
8905
+ /** ClientLibrarySettings javaSettings. */
8906
+ public javaSettings?: (google.api.IJavaSettings|null);
8907
+
8908
+ /** ClientLibrarySettings cppSettings. */
8909
+ public cppSettings?: (google.api.ICppSettings|null);
8910
+
8911
+ /** ClientLibrarySettings phpSettings. */
8912
+ public phpSettings?: (google.api.IPhpSettings|null);
8913
+
8914
+ /** ClientLibrarySettings pythonSettings. */
8915
+ public pythonSettings?: (google.api.IPythonSettings|null);
8916
+
8917
+ /** ClientLibrarySettings nodeSettings. */
8918
+ public nodeSettings?: (google.api.INodeSettings|null);
8919
+
8920
+ /** ClientLibrarySettings dotnetSettings. */
8921
+ public dotnetSettings?: (google.api.IDotnetSettings|null);
8922
+
8923
+ /** ClientLibrarySettings rubySettings. */
8924
+ public rubySettings?: (google.api.IRubySettings|null);
8925
+
8926
+ /** ClientLibrarySettings goSettings. */
8927
+ public goSettings?: (google.api.IGoSettings|null);
8384
8928
 
8385
8929
  /**
8386
- * Creates a new Status instance using the specified properties.
8930
+ * Creates a new ClientLibrarySettings instance using the specified properties.
8387
8931
  * @param [properties] Properties to set
8388
- * @returns Status instance
8932
+ * @returns ClientLibrarySettings instance
8389
8933
  */
8390
- public static create(properties?: google.rpc.IStatus): google.rpc.Status;
8934
+ public static create(properties?: google.api.IClientLibrarySettings): google.api.ClientLibrarySettings;
8391
8935
 
8392
8936
  /**
8393
- * Encodes the specified Status message. Does not implicitly {@link google.rpc.Status.verify|verify} messages.
8394
- * @param message Status message or plain object to encode
8937
+ * Encodes the specified ClientLibrarySettings message. Does not implicitly {@link google.api.ClientLibrarySettings.verify|verify} messages.
8938
+ * @param message ClientLibrarySettings message or plain object to encode
8395
8939
  * @param [writer] Writer to encode to
8396
8940
  * @returns Writer
8397
8941
  */
8398
- public static encode(message: google.rpc.IStatus, writer?: $protobuf.Writer): $protobuf.Writer;
8942
+ public static encode(message: google.api.IClientLibrarySettings, writer?: $protobuf.Writer): $protobuf.Writer;
8399
8943
 
8400
8944
  /**
8401
- * Encodes the specified Status message, length delimited. Does not implicitly {@link google.rpc.Status.verify|verify} messages.
8402
- * @param message Status message or plain object to encode
8945
+ * Encodes the specified ClientLibrarySettings message, length delimited. Does not implicitly {@link google.api.ClientLibrarySettings.verify|verify} messages.
8946
+ * @param message ClientLibrarySettings message or plain object to encode
8403
8947
  * @param [writer] Writer to encode to
8404
8948
  * @returns Writer
8405
8949
  */
8406
- public static encodeDelimited(message: google.rpc.IStatus, writer?: $protobuf.Writer): $protobuf.Writer;
8950
+ public static encodeDelimited(message: google.api.IClientLibrarySettings, writer?: $protobuf.Writer): $protobuf.Writer;
8407
8951
 
8408
8952
  /**
8409
- * Decodes a Status message from the specified reader or buffer.
8953
+ * Decodes a ClientLibrarySettings message from the specified reader or buffer.
8410
8954
  * @param reader Reader or buffer to decode from
8411
8955
  * @param [length] Message length if known beforehand
8412
- * @returns Status
8956
+ * @returns ClientLibrarySettings
8413
8957
  * @throws {Error} If the payload is not a reader or valid buffer
8414
8958
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
8415
8959
  */
8416
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.rpc.Status;
8960
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ClientLibrarySettings;
8417
8961
 
8418
8962
  /**
8419
- * Decodes a Status message from the specified reader or buffer, length delimited.
8963
+ * Decodes a ClientLibrarySettings message from the specified reader or buffer, length delimited.
8420
8964
  * @param reader Reader or buffer to decode from
8421
- * @returns Status
8965
+ * @returns ClientLibrarySettings
8422
8966
  * @throws {Error} If the payload is not a reader or valid buffer
8423
8967
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
8424
8968
  */
8425
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.rpc.Status;
8969
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ClientLibrarySettings;
8426
8970
 
8427
8971
  /**
8428
- * Verifies a Status message.
8972
+ * Verifies a ClientLibrarySettings message.
8429
8973
  * @param message Plain object to verify
8430
8974
  * @returns `null` if valid, otherwise the reason why it is not
8431
8975
  */
8432
8976
  public static verify(message: { [k: string]: any }): (string|null);
8433
8977
 
8434
8978
  /**
8435
- * Creates a Status message from a plain object. Also converts values to their respective internal types.
8979
+ * Creates a ClientLibrarySettings message from a plain object. Also converts values to their respective internal types.
8436
8980
  * @param object Plain object
8437
- * @returns Status
8981
+ * @returns ClientLibrarySettings
8438
8982
  */
8439
- public static fromObject(object: { [k: string]: any }): google.rpc.Status;
8983
+ public static fromObject(object: { [k: string]: any }): google.api.ClientLibrarySettings;
8440
8984
 
8441
8985
  /**
8442
- * Creates a plain object from a Status message. Also converts values to other types if specified.
8443
- * @param message Status
8986
+ * Creates a plain object from a ClientLibrarySettings message. Also converts values to other types if specified.
8987
+ * @param message ClientLibrarySettings
8444
8988
  * @param [options] Conversion options
8445
8989
  * @returns Plain object
8446
8990
  */
8447
- public static toObject(message: google.rpc.Status, options?: $protobuf.IConversionOptions): { [k: string]: any };
8991
+ public static toObject(message: google.api.ClientLibrarySettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
8448
8992
 
8449
8993
  /**
8450
- * Converts this Status to JSON.
8994
+ * Converts this ClientLibrarySettings to JSON.
8451
8995
  * @returns JSON object
8452
8996
  */
8453
8997
  public toJSON(): { [k: string]: any };
8454
8998
 
8455
8999
  /**
8456
- * Gets the default type url for Status
9000
+ * Gets the default type url for ClientLibrarySettings
8457
9001
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
8458
9002
  * @returns The default type url
8459
9003
  */
8460
9004
  public static getTypeUrl(typeUrlPrefix?: string): string;
8461
9005
  }
9006
+
9007
+ /** Properties of a Publishing. */
9008
+ interface IPublishing {
9009
+
9010
+ /** Publishing methodSettings */
9011
+ methodSettings?: (google.api.IMethodSettings[]|null);
9012
+
9013
+ /** Publishing newIssueUri */
9014
+ newIssueUri?: (string|null);
9015
+
9016
+ /** Publishing documentationUri */
9017
+ documentationUri?: (string|null);
9018
+
9019
+ /** Publishing apiShortName */
9020
+ apiShortName?: (string|null);
9021
+
9022
+ /** Publishing githubLabel */
9023
+ githubLabel?: (string|null);
9024
+
9025
+ /** Publishing codeownerGithubTeams */
9026
+ codeownerGithubTeams?: (string[]|null);
9027
+
9028
+ /** Publishing docTagPrefix */
9029
+ docTagPrefix?: (string|null);
9030
+
9031
+ /** Publishing organization */
9032
+ organization?: (google.api.ClientLibraryOrganization|keyof typeof google.api.ClientLibraryOrganization|null);
9033
+
9034
+ /** Publishing librarySettings */
9035
+ librarySettings?: (google.api.IClientLibrarySettings[]|null);
9036
+ }
9037
+
9038
+ /** Represents a Publishing. */
9039
+ class Publishing implements IPublishing {
9040
+
9041
+ /**
9042
+ * Constructs a new Publishing.
9043
+ * @param [properties] Properties to set
9044
+ */
9045
+ constructor(properties?: google.api.IPublishing);
9046
+
9047
+ /** Publishing methodSettings. */
9048
+ public methodSettings: google.api.IMethodSettings[];
9049
+
9050
+ /** Publishing newIssueUri. */
9051
+ public newIssueUri: string;
9052
+
9053
+ /** Publishing documentationUri. */
9054
+ public documentationUri: string;
9055
+
9056
+ /** Publishing apiShortName. */
9057
+ public apiShortName: string;
9058
+
9059
+ /** Publishing githubLabel. */
9060
+ public githubLabel: string;
9061
+
9062
+ /** Publishing codeownerGithubTeams. */
9063
+ public codeownerGithubTeams: string[];
9064
+
9065
+ /** Publishing docTagPrefix. */
9066
+ public docTagPrefix: string;
9067
+
9068
+ /** Publishing organization. */
9069
+ public organization: (google.api.ClientLibraryOrganization|keyof typeof google.api.ClientLibraryOrganization);
9070
+
9071
+ /** Publishing librarySettings. */
9072
+ public librarySettings: google.api.IClientLibrarySettings[];
9073
+
9074
+ /**
9075
+ * Creates a new Publishing instance using the specified properties.
9076
+ * @param [properties] Properties to set
9077
+ * @returns Publishing instance
9078
+ */
9079
+ public static create(properties?: google.api.IPublishing): google.api.Publishing;
9080
+
9081
+ /**
9082
+ * Encodes the specified Publishing message. Does not implicitly {@link google.api.Publishing.verify|verify} messages.
9083
+ * @param message Publishing message or plain object to encode
9084
+ * @param [writer] Writer to encode to
9085
+ * @returns Writer
9086
+ */
9087
+ public static encode(message: google.api.IPublishing, writer?: $protobuf.Writer): $protobuf.Writer;
9088
+
9089
+ /**
9090
+ * Encodes the specified Publishing message, length delimited. Does not implicitly {@link google.api.Publishing.verify|verify} messages.
9091
+ * @param message Publishing message or plain object to encode
9092
+ * @param [writer] Writer to encode to
9093
+ * @returns Writer
9094
+ */
9095
+ public static encodeDelimited(message: google.api.IPublishing, writer?: $protobuf.Writer): $protobuf.Writer;
9096
+
9097
+ /**
9098
+ * Decodes a Publishing message from the specified reader or buffer.
9099
+ * @param reader Reader or buffer to decode from
9100
+ * @param [length] Message length if known beforehand
9101
+ * @returns Publishing
9102
+ * @throws {Error} If the payload is not a reader or valid buffer
9103
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9104
+ */
9105
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Publishing;
9106
+
9107
+ /**
9108
+ * Decodes a Publishing message from the specified reader or buffer, length delimited.
9109
+ * @param reader Reader or buffer to decode from
9110
+ * @returns Publishing
9111
+ * @throws {Error} If the payload is not a reader or valid buffer
9112
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9113
+ */
9114
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Publishing;
9115
+
9116
+ /**
9117
+ * Verifies a Publishing message.
9118
+ * @param message Plain object to verify
9119
+ * @returns `null` if valid, otherwise the reason why it is not
9120
+ */
9121
+ public static verify(message: { [k: string]: any }): (string|null);
9122
+
9123
+ /**
9124
+ * Creates a Publishing message from a plain object. Also converts values to their respective internal types.
9125
+ * @param object Plain object
9126
+ * @returns Publishing
9127
+ */
9128
+ public static fromObject(object: { [k: string]: any }): google.api.Publishing;
9129
+
9130
+ /**
9131
+ * Creates a plain object from a Publishing message. Also converts values to other types if specified.
9132
+ * @param message Publishing
9133
+ * @param [options] Conversion options
9134
+ * @returns Plain object
9135
+ */
9136
+ public static toObject(message: google.api.Publishing, options?: $protobuf.IConversionOptions): { [k: string]: any };
9137
+
9138
+ /**
9139
+ * Converts this Publishing to JSON.
9140
+ * @returns JSON object
9141
+ */
9142
+ public toJSON(): { [k: string]: any };
9143
+
9144
+ /**
9145
+ * Gets the default type url for Publishing
9146
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9147
+ * @returns The default type url
9148
+ */
9149
+ public static getTypeUrl(typeUrlPrefix?: string): string;
9150
+ }
9151
+
9152
+ /** Properties of a JavaSettings. */
9153
+ interface IJavaSettings {
9154
+
9155
+ /** JavaSettings libraryPackage */
9156
+ libraryPackage?: (string|null);
9157
+
9158
+ /** JavaSettings serviceClassNames */
9159
+ serviceClassNames?: ({ [k: string]: string }|null);
9160
+
9161
+ /** JavaSettings common */
9162
+ common?: (google.api.ICommonLanguageSettings|null);
9163
+ }
9164
+
9165
+ /** Represents a JavaSettings. */
9166
+ class JavaSettings implements IJavaSettings {
9167
+
9168
+ /**
9169
+ * Constructs a new JavaSettings.
9170
+ * @param [properties] Properties to set
9171
+ */
9172
+ constructor(properties?: google.api.IJavaSettings);
9173
+
9174
+ /** JavaSettings libraryPackage. */
9175
+ public libraryPackage: string;
9176
+
9177
+ /** JavaSettings serviceClassNames. */
9178
+ public serviceClassNames: { [k: string]: string };
9179
+
9180
+ /** JavaSettings common. */
9181
+ public common?: (google.api.ICommonLanguageSettings|null);
9182
+
9183
+ /**
9184
+ * Creates a new JavaSettings instance using the specified properties.
9185
+ * @param [properties] Properties to set
9186
+ * @returns JavaSettings instance
9187
+ */
9188
+ public static create(properties?: google.api.IJavaSettings): google.api.JavaSettings;
9189
+
9190
+ /**
9191
+ * Encodes the specified JavaSettings message. Does not implicitly {@link google.api.JavaSettings.verify|verify} messages.
9192
+ * @param message JavaSettings message or plain object to encode
9193
+ * @param [writer] Writer to encode to
9194
+ * @returns Writer
9195
+ */
9196
+ public static encode(message: google.api.IJavaSettings, writer?: $protobuf.Writer): $protobuf.Writer;
9197
+
9198
+ /**
9199
+ * Encodes the specified JavaSettings message, length delimited. Does not implicitly {@link google.api.JavaSettings.verify|verify} messages.
9200
+ * @param message JavaSettings message or plain object to encode
9201
+ * @param [writer] Writer to encode to
9202
+ * @returns Writer
9203
+ */
9204
+ public static encodeDelimited(message: google.api.IJavaSettings, writer?: $protobuf.Writer): $protobuf.Writer;
9205
+
9206
+ /**
9207
+ * Decodes a JavaSettings message from the specified reader or buffer.
9208
+ * @param reader Reader or buffer to decode from
9209
+ * @param [length] Message length if known beforehand
9210
+ * @returns JavaSettings
9211
+ * @throws {Error} If the payload is not a reader or valid buffer
9212
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9213
+ */
9214
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.JavaSettings;
9215
+
9216
+ /**
9217
+ * Decodes a JavaSettings message from the specified reader or buffer, length delimited.
9218
+ * @param reader Reader or buffer to decode from
9219
+ * @returns JavaSettings
9220
+ * @throws {Error} If the payload is not a reader or valid buffer
9221
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9222
+ */
9223
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.JavaSettings;
9224
+
9225
+ /**
9226
+ * Verifies a JavaSettings message.
9227
+ * @param message Plain object to verify
9228
+ * @returns `null` if valid, otherwise the reason why it is not
9229
+ */
9230
+ public static verify(message: { [k: string]: any }): (string|null);
9231
+
9232
+ /**
9233
+ * Creates a JavaSettings message from a plain object. Also converts values to their respective internal types.
9234
+ * @param object Plain object
9235
+ * @returns JavaSettings
9236
+ */
9237
+ public static fromObject(object: { [k: string]: any }): google.api.JavaSettings;
9238
+
9239
+ /**
9240
+ * Creates a plain object from a JavaSettings message. Also converts values to other types if specified.
9241
+ * @param message JavaSettings
9242
+ * @param [options] Conversion options
9243
+ * @returns Plain object
9244
+ */
9245
+ public static toObject(message: google.api.JavaSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
9246
+
9247
+ /**
9248
+ * Converts this JavaSettings to JSON.
9249
+ * @returns JSON object
9250
+ */
9251
+ public toJSON(): { [k: string]: any };
9252
+
9253
+ /**
9254
+ * Gets the default type url for JavaSettings
9255
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9256
+ * @returns The default type url
9257
+ */
9258
+ public static getTypeUrl(typeUrlPrefix?: string): string;
9259
+ }
9260
+
9261
+ /** Properties of a CppSettings. */
9262
+ interface ICppSettings {
9263
+
9264
+ /** CppSettings common */
9265
+ common?: (google.api.ICommonLanguageSettings|null);
9266
+ }
9267
+
9268
+ /** Represents a CppSettings. */
9269
+ class CppSettings implements ICppSettings {
9270
+
9271
+ /**
9272
+ * Constructs a new CppSettings.
9273
+ * @param [properties] Properties to set
9274
+ */
9275
+ constructor(properties?: google.api.ICppSettings);
9276
+
9277
+ /** CppSettings common. */
9278
+ public common?: (google.api.ICommonLanguageSettings|null);
9279
+
9280
+ /**
9281
+ * Creates a new CppSettings instance using the specified properties.
9282
+ * @param [properties] Properties to set
9283
+ * @returns CppSettings instance
9284
+ */
9285
+ public static create(properties?: google.api.ICppSettings): google.api.CppSettings;
9286
+
9287
+ /**
9288
+ * Encodes the specified CppSettings message. Does not implicitly {@link google.api.CppSettings.verify|verify} messages.
9289
+ * @param message CppSettings message or plain object to encode
9290
+ * @param [writer] Writer to encode to
9291
+ * @returns Writer
9292
+ */
9293
+ public static encode(message: google.api.ICppSettings, writer?: $protobuf.Writer): $protobuf.Writer;
9294
+
9295
+ /**
9296
+ * Encodes the specified CppSettings message, length delimited. Does not implicitly {@link google.api.CppSettings.verify|verify} messages.
9297
+ * @param message CppSettings message or plain object to encode
9298
+ * @param [writer] Writer to encode to
9299
+ * @returns Writer
9300
+ */
9301
+ public static encodeDelimited(message: google.api.ICppSettings, writer?: $protobuf.Writer): $protobuf.Writer;
9302
+
9303
+ /**
9304
+ * Decodes a CppSettings message from the specified reader or buffer.
9305
+ * @param reader Reader or buffer to decode from
9306
+ * @param [length] Message length if known beforehand
9307
+ * @returns CppSettings
9308
+ * @throws {Error} If the payload is not a reader or valid buffer
9309
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9310
+ */
9311
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CppSettings;
9312
+
9313
+ /**
9314
+ * Decodes a CppSettings message from the specified reader or buffer, length delimited.
9315
+ * @param reader Reader or buffer to decode from
9316
+ * @returns CppSettings
9317
+ * @throws {Error} If the payload is not a reader or valid buffer
9318
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9319
+ */
9320
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CppSettings;
9321
+
9322
+ /**
9323
+ * Verifies a CppSettings message.
9324
+ * @param message Plain object to verify
9325
+ * @returns `null` if valid, otherwise the reason why it is not
9326
+ */
9327
+ public static verify(message: { [k: string]: any }): (string|null);
9328
+
9329
+ /**
9330
+ * Creates a CppSettings message from a plain object. Also converts values to their respective internal types.
9331
+ * @param object Plain object
9332
+ * @returns CppSettings
9333
+ */
9334
+ public static fromObject(object: { [k: string]: any }): google.api.CppSettings;
9335
+
9336
+ /**
9337
+ * Creates a plain object from a CppSettings message. Also converts values to other types if specified.
9338
+ * @param message CppSettings
9339
+ * @param [options] Conversion options
9340
+ * @returns Plain object
9341
+ */
9342
+ public static toObject(message: google.api.CppSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
9343
+
9344
+ /**
9345
+ * Converts this CppSettings to JSON.
9346
+ * @returns JSON object
9347
+ */
9348
+ public toJSON(): { [k: string]: any };
9349
+
9350
+ /**
9351
+ * Gets the default type url for CppSettings
9352
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9353
+ * @returns The default type url
9354
+ */
9355
+ public static getTypeUrl(typeUrlPrefix?: string): string;
9356
+ }
9357
+
9358
+ /** Properties of a PhpSettings. */
9359
+ interface IPhpSettings {
9360
+
9361
+ /** PhpSettings common */
9362
+ common?: (google.api.ICommonLanguageSettings|null);
9363
+ }
9364
+
9365
+ /** Represents a PhpSettings. */
9366
+ class PhpSettings implements IPhpSettings {
9367
+
9368
+ /**
9369
+ * Constructs a new PhpSettings.
9370
+ * @param [properties] Properties to set
9371
+ */
9372
+ constructor(properties?: google.api.IPhpSettings);
9373
+
9374
+ /** PhpSettings common. */
9375
+ public common?: (google.api.ICommonLanguageSettings|null);
9376
+
9377
+ /**
9378
+ * Creates a new PhpSettings instance using the specified properties.
9379
+ * @param [properties] Properties to set
9380
+ * @returns PhpSettings instance
9381
+ */
9382
+ public static create(properties?: google.api.IPhpSettings): google.api.PhpSettings;
9383
+
9384
+ /**
9385
+ * Encodes the specified PhpSettings message. Does not implicitly {@link google.api.PhpSettings.verify|verify} messages.
9386
+ * @param message PhpSettings message or plain object to encode
9387
+ * @param [writer] Writer to encode to
9388
+ * @returns Writer
9389
+ */
9390
+ public static encode(message: google.api.IPhpSettings, writer?: $protobuf.Writer): $protobuf.Writer;
9391
+
9392
+ /**
9393
+ * Encodes the specified PhpSettings message, length delimited. Does not implicitly {@link google.api.PhpSettings.verify|verify} messages.
9394
+ * @param message PhpSettings message or plain object to encode
9395
+ * @param [writer] Writer to encode to
9396
+ * @returns Writer
9397
+ */
9398
+ public static encodeDelimited(message: google.api.IPhpSettings, writer?: $protobuf.Writer): $protobuf.Writer;
9399
+
9400
+ /**
9401
+ * Decodes a PhpSettings message from the specified reader or buffer.
9402
+ * @param reader Reader or buffer to decode from
9403
+ * @param [length] Message length if known beforehand
9404
+ * @returns PhpSettings
9405
+ * @throws {Error} If the payload is not a reader or valid buffer
9406
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9407
+ */
9408
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.PhpSettings;
9409
+
9410
+ /**
9411
+ * Decodes a PhpSettings message from the specified reader or buffer, length delimited.
9412
+ * @param reader Reader or buffer to decode from
9413
+ * @returns PhpSettings
9414
+ * @throws {Error} If the payload is not a reader or valid buffer
9415
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9416
+ */
9417
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.PhpSettings;
9418
+
9419
+ /**
9420
+ * Verifies a PhpSettings message.
9421
+ * @param message Plain object to verify
9422
+ * @returns `null` if valid, otherwise the reason why it is not
9423
+ */
9424
+ public static verify(message: { [k: string]: any }): (string|null);
9425
+
9426
+ /**
9427
+ * Creates a PhpSettings message from a plain object. Also converts values to their respective internal types.
9428
+ * @param object Plain object
9429
+ * @returns PhpSettings
9430
+ */
9431
+ public static fromObject(object: { [k: string]: any }): google.api.PhpSettings;
9432
+
9433
+ /**
9434
+ * Creates a plain object from a PhpSettings message. Also converts values to other types if specified.
9435
+ * @param message PhpSettings
9436
+ * @param [options] Conversion options
9437
+ * @returns Plain object
9438
+ */
9439
+ public static toObject(message: google.api.PhpSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
9440
+
9441
+ /**
9442
+ * Converts this PhpSettings to JSON.
9443
+ * @returns JSON object
9444
+ */
9445
+ public toJSON(): { [k: string]: any };
9446
+
9447
+ /**
9448
+ * Gets the default type url for PhpSettings
9449
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9450
+ * @returns The default type url
9451
+ */
9452
+ public static getTypeUrl(typeUrlPrefix?: string): string;
9453
+ }
9454
+
9455
+ /** Properties of a PythonSettings. */
9456
+ interface IPythonSettings {
9457
+
9458
+ /** PythonSettings common */
9459
+ common?: (google.api.ICommonLanguageSettings|null);
9460
+ }
9461
+
9462
+ /** Represents a PythonSettings. */
9463
+ class PythonSettings implements IPythonSettings {
9464
+
9465
+ /**
9466
+ * Constructs a new PythonSettings.
9467
+ * @param [properties] Properties to set
9468
+ */
9469
+ constructor(properties?: google.api.IPythonSettings);
9470
+
9471
+ /** PythonSettings common. */
9472
+ public common?: (google.api.ICommonLanguageSettings|null);
9473
+
9474
+ /**
9475
+ * Creates a new PythonSettings instance using the specified properties.
9476
+ * @param [properties] Properties to set
9477
+ * @returns PythonSettings instance
9478
+ */
9479
+ public static create(properties?: google.api.IPythonSettings): google.api.PythonSettings;
9480
+
9481
+ /**
9482
+ * Encodes the specified PythonSettings message. Does not implicitly {@link google.api.PythonSettings.verify|verify} messages.
9483
+ * @param message PythonSettings message or plain object to encode
9484
+ * @param [writer] Writer to encode to
9485
+ * @returns Writer
9486
+ */
9487
+ public static encode(message: google.api.IPythonSettings, writer?: $protobuf.Writer): $protobuf.Writer;
9488
+
9489
+ /**
9490
+ * Encodes the specified PythonSettings message, length delimited. Does not implicitly {@link google.api.PythonSettings.verify|verify} messages.
9491
+ * @param message PythonSettings message or plain object to encode
9492
+ * @param [writer] Writer to encode to
9493
+ * @returns Writer
9494
+ */
9495
+ public static encodeDelimited(message: google.api.IPythonSettings, writer?: $protobuf.Writer): $protobuf.Writer;
9496
+
9497
+ /**
9498
+ * Decodes a PythonSettings message from the specified reader or buffer.
9499
+ * @param reader Reader or buffer to decode from
9500
+ * @param [length] Message length if known beforehand
9501
+ * @returns PythonSettings
9502
+ * @throws {Error} If the payload is not a reader or valid buffer
9503
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9504
+ */
9505
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.PythonSettings;
9506
+
9507
+ /**
9508
+ * Decodes a PythonSettings message from the specified reader or buffer, length delimited.
9509
+ * @param reader Reader or buffer to decode from
9510
+ * @returns PythonSettings
9511
+ * @throws {Error} If the payload is not a reader or valid buffer
9512
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9513
+ */
9514
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.PythonSettings;
9515
+
9516
+ /**
9517
+ * Verifies a PythonSettings message.
9518
+ * @param message Plain object to verify
9519
+ * @returns `null` if valid, otherwise the reason why it is not
9520
+ */
9521
+ public static verify(message: { [k: string]: any }): (string|null);
9522
+
9523
+ /**
9524
+ * Creates a PythonSettings message from a plain object. Also converts values to their respective internal types.
9525
+ * @param object Plain object
9526
+ * @returns PythonSettings
9527
+ */
9528
+ public static fromObject(object: { [k: string]: any }): google.api.PythonSettings;
9529
+
9530
+ /**
9531
+ * Creates a plain object from a PythonSettings message. Also converts values to other types if specified.
9532
+ * @param message PythonSettings
9533
+ * @param [options] Conversion options
9534
+ * @returns Plain object
9535
+ */
9536
+ public static toObject(message: google.api.PythonSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
9537
+
9538
+ /**
9539
+ * Converts this PythonSettings to JSON.
9540
+ * @returns JSON object
9541
+ */
9542
+ public toJSON(): { [k: string]: any };
9543
+
9544
+ /**
9545
+ * Gets the default type url for PythonSettings
9546
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9547
+ * @returns The default type url
9548
+ */
9549
+ public static getTypeUrl(typeUrlPrefix?: string): string;
9550
+ }
9551
+
9552
+ /** Properties of a NodeSettings. */
9553
+ interface INodeSettings {
9554
+
9555
+ /** NodeSettings common */
9556
+ common?: (google.api.ICommonLanguageSettings|null);
9557
+ }
9558
+
9559
+ /** Represents a NodeSettings. */
9560
+ class NodeSettings implements INodeSettings {
9561
+
9562
+ /**
9563
+ * Constructs a new NodeSettings.
9564
+ * @param [properties] Properties to set
9565
+ */
9566
+ constructor(properties?: google.api.INodeSettings);
9567
+
9568
+ /** NodeSettings common. */
9569
+ public common?: (google.api.ICommonLanguageSettings|null);
9570
+
9571
+ /**
9572
+ * Creates a new NodeSettings instance using the specified properties.
9573
+ * @param [properties] Properties to set
9574
+ * @returns NodeSettings instance
9575
+ */
9576
+ public static create(properties?: google.api.INodeSettings): google.api.NodeSettings;
9577
+
9578
+ /**
9579
+ * Encodes the specified NodeSettings message. Does not implicitly {@link google.api.NodeSettings.verify|verify} messages.
9580
+ * @param message NodeSettings message or plain object to encode
9581
+ * @param [writer] Writer to encode to
9582
+ * @returns Writer
9583
+ */
9584
+ public static encode(message: google.api.INodeSettings, writer?: $protobuf.Writer): $protobuf.Writer;
9585
+
9586
+ /**
9587
+ * Encodes the specified NodeSettings message, length delimited. Does not implicitly {@link google.api.NodeSettings.verify|verify} messages.
9588
+ * @param message NodeSettings message or plain object to encode
9589
+ * @param [writer] Writer to encode to
9590
+ * @returns Writer
9591
+ */
9592
+ public static encodeDelimited(message: google.api.INodeSettings, writer?: $protobuf.Writer): $protobuf.Writer;
9593
+
9594
+ /**
9595
+ * Decodes a NodeSettings message from the specified reader or buffer.
9596
+ * @param reader Reader or buffer to decode from
9597
+ * @param [length] Message length if known beforehand
9598
+ * @returns NodeSettings
9599
+ * @throws {Error} If the payload is not a reader or valid buffer
9600
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9601
+ */
9602
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.NodeSettings;
9603
+
9604
+ /**
9605
+ * Decodes a NodeSettings message from the specified reader or buffer, length delimited.
9606
+ * @param reader Reader or buffer to decode from
9607
+ * @returns NodeSettings
9608
+ * @throws {Error} If the payload is not a reader or valid buffer
9609
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9610
+ */
9611
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.NodeSettings;
9612
+
9613
+ /**
9614
+ * Verifies a NodeSettings message.
9615
+ * @param message Plain object to verify
9616
+ * @returns `null` if valid, otherwise the reason why it is not
9617
+ */
9618
+ public static verify(message: { [k: string]: any }): (string|null);
9619
+
9620
+ /**
9621
+ * Creates a NodeSettings message from a plain object. Also converts values to their respective internal types.
9622
+ * @param object Plain object
9623
+ * @returns NodeSettings
9624
+ */
9625
+ public static fromObject(object: { [k: string]: any }): google.api.NodeSettings;
9626
+
9627
+ /**
9628
+ * Creates a plain object from a NodeSettings message. Also converts values to other types if specified.
9629
+ * @param message NodeSettings
9630
+ * @param [options] Conversion options
9631
+ * @returns Plain object
9632
+ */
9633
+ public static toObject(message: google.api.NodeSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
9634
+
9635
+ /**
9636
+ * Converts this NodeSettings to JSON.
9637
+ * @returns JSON object
9638
+ */
9639
+ public toJSON(): { [k: string]: any };
9640
+
9641
+ /**
9642
+ * Gets the default type url for NodeSettings
9643
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9644
+ * @returns The default type url
9645
+ */
9646
+ public static getTypeUrl(typeUrlPrefix?: string): string;
9647
+ }
9648
+
9649
+ /** Properties of a DotnetSettings. */
9650
+ interface IDotnetSettings {
9651
+
9652
+ /** DotnetSettings common */
9653
+ common?: (google.api.ICommonLanguageSettings|null);
9654
+ }
9655
+
9656
+ /** Represents a DotnetSettings. */
9657
+ class DotnetSettings implements IDotnetSettings {
9658
+
9659
+ /**
9660
+ * Constructs a new DotnetSettings.
9661
+ * @param [properties] Properties to set
9662
+ */
9663
+ constructor(properties?: google.api.IDotnetSettings);
9664
+
9665
+ /** DotnetSettings common. */
9666
+ public common?: (google.api.ICommonLanguageSettings|null);
9667
+
9668
+ /**
9669
+ * Creates a new DotnetSettings instance using the specified properties.
9670
+ * @param [properties] Properties to set
9671
+ * @returns DotnetSettings instance
9672
+ */
9673
+ public static create(properties?: google.api.IDotnetSettings): google.api.DotnetSettings;
9674
+
9675
+ /**
9676
+ * Encodes the specified DotnetSettings message. Does not implicitly {@link google.api.DotnetSettings.verify|verify} messages.
9677
+ * @param message DotnetSettings message or plain object to encode
9678
+ * @param [writer] Writer to encode to
9679
+ * @returns Writer
9680
+ */
9681
+ public static encode(message: google.api.IDotnetSettings, writer?: $protobuf.Writer): $protobuf.Writer;
9682
+
9683
+ /**
9684
+ * Encodes the specified DotnetSettings message, length delimited. Does not implicitly {@link google.api.DotnetSettings.verify|verify} messages.
9685
+ * @param message DotnetSettings message or plain object to encode
9686
+ * @param [writer] Writer to encode to
9687
+ * @returns Writer
9688
+ */
9689
+ public static encodeDelimited(message: google.api.IDotnetSettings, writer?: $protobuf.Writer): $protobuf.Writer;
9690
+
9691
+ /**
9692
+ * Decodes a DotnetSettings message from the specified reader or buffer.
9693
+ * @param reader Reader or buffer to decode from
9694
+ * @param [length] Message length if known beforehand
9695
+ * @returns DotnetSettings
9696
+ * @throws {Error} If the payload is not a reader or valid buffer
9697
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9698
+ */
9699
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.DotnetSettings;
9700
+
9701
+ /**
9702
+ * Decodes a DotnetSettings message from the specified reader or buffer, length delimited.
9703
+ * @param reader Reader or buffer to decode from
9704
+ * @returns DotnetSettings
9705
+ * @throws {Error} If the payload is not a reader or valid buffer
9706
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9707
+ */
9708
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.DotnetSettings;
9709
+
9710
+ /**
9711
+ * Verifies a DotnetSettings message.
9712
+ * @param message Plain object to verify
9713
+ * @returns `null` if valid, otherwise the reason why it is not
9714
+ */
9715
+ public static verify(message: { [k: string]: any }): (string|null);
9716
+
9717
+ /**
9718
+ * Creates a DotnetSettings message from a plain object. Also converts values to their respective internal types.
9719
+ * @param object Plain object
9720
+ * @returns DotnetSettings
9721
+ */
9722
+ public static fromObject(object: { [k: string]: any }): google.api.DotnetSettings;
9723
+
9724
+ /**
9725
+ * Creates a plain object from a DotnetSettings message. Also converts values to other types if specified.
9726
+ * @param message DotnetSettings
9727
+ * @param [options] Conversion options
9728
+ * @returns Plain object
9729
+ */
9730
+ public static toObject(message: google.api.DotnetSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
9731
+
9732
+ /**
9733
+ * Converts this DotnetSettings to JSON.
9734
+ * @returns JSON object
9735
+ */
9736
+ public toJSON(): { [k: string]: any };
9737
+
9738
+ /**
9739
+ * Gets the default type url for DotnetSettings
9740
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9741
+ * @returns The default type url
9742
+ */
9743
+ public static getTypeUrl(typeUrlPrefix?: string): string;
9744
+ }
9745
+
9746
+ /** Properties of a RubySettings. */
9747
+ interface IRubySettings {
9748
+
9749
+ /** RubySettings common */
9750
+ common?: (google.api.ICommonLanguageSettings|null);
9751
+ }
9752
+
9753
+ /** Represents a RubySettings. */
9754
+ class RubySettings implements IRubySettings {
9755
+
9756
+ /**
9757
+ * Constructs a new RubySettings.
9758
+ * @param [properties] Properties to set
9759
+ */
9760
+ constructor(properties?: google.api.IRubySettings);
9761
+
9762
+ /** RubySettings common. */
9763
+ public common?: (google.api.ICommonLanguageSettings|null);
9764
+
9765
+ /**
9766
+ * Creates a new RubySettings instance using the specified properties.
9767
+ * @param [properties] Properties to set
9768
+ * @returns RubySettings instance
9769
+ */
9770
+ public static create(properties?: google.api.IRubySettings): google.api.RubySettings;
9771
+
9772
+ /**
9773
+ * Encodes the specified RubySettings message. Does not implicitly {@link google.api.RubySettings.verify|verify} messages.
9774
+ * @param message RubySettings message or plain object to encode
9775
+ * @param [writer] Writer to encode to
9776
+ * @returns Writer
9777
+ */
9778
+ public static encode(message: google.api.IRubySettings, writer?: $protobuf.Writer): $protobuf.Writer;
9779
+
9780
+ /**
9781
+ * Encodes the specified RubySettings message, length delimited. Does not implicitly {@link google.api.RubySettings.verify|verify} messages.
9782
+ * @param message RubySettings message or plain object to encode
9783
+ * @param [writer] Writer to encode to
9784
+ * @returns Writer
9785
+ */
9786
+ public static encodeDelimited(message: google.api.IRubySettings, writer?: $protobuf.Writer): $protobuf.Writer;
9787
+
9788
+ /**
9789
+ * Decodes a RubySettings message from the specified reader or buffer.
9790
+ * @param reader Reader or buffer to decode from
9791
+ * @param [length] Message length if known beforehand
9792
+ * @returns RubySettings
9793
+ * @throws {Error} If the payload is not a reader or valid buffer
9794
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9795
+ */
9796
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.RubySettings;
9797
+
9798
+ /**
9799
+ * Decodes a RubySettings message from the specified reader or buffer, length delimited.
9800
+ * @param reader Reader or buffer to decode from
9801
+ * @returns RubySettings
9802
+ * @throws {Error} If the payload is not a reader or valid buffer
9803
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9804
+ */
9805
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.RubySettings;
9806
+
9807
+ /**
9808
+ * Verifies a RubySettings message.
9809
+ * @param message Plain object to verify
9810
+ * @returns `null` if valid, otherwise the reason why it is not
9811
+ */
9812
+ public static verify(message: { [k: string]: any }): (string|null);
9813
+
9814
+ /**
9815
+ * Creates a RubySettings message from a plain object. Also converts values to their respective internal types.
9816
+ * @param object Plain object
9817
+ * @returns RubySettings
9818
+ */
9819
+ public static fromObject(object: { [k: string]: any }): google.api.RubySettings;
9820
+
9821
+ /**
9822
+ * Creates a plain object from a RubySettings message. Also converts values to other types if specified.
9823
+ * @param message RubySettings
9824
+ * @param [options] Conversion options
9825
+ * @returns Plain object
9826
+ */
9827
+ public static toObject(message: google.api.RubySettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
9828
+
9829
+ /**
9830
+ * Converts this RubySettings to JSON.
9831
+ * @returns JSON object
9832
+ */
9833
+ public toJSON(): { [k: string]: any };
9834
+
9835
+ /**
9836
+ * Gets the default type url for RubySettings
9837
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9838
+ * @returns The default type url
9839
+ */
9840
+ public static getTypeUrl(typeUrlPrefix?: string): string;
9841
+ }
9842
+
9843
+ /** Properties of a GoSettings. */
9844
+ interface IGoSettings {
9845
+
9846
+ /** GoSettings common */
9847
+ common?: (google.api.ICommonLanguageSettings|null);
9848
+ }
9849
+
9850
+ /** Represents a GoSettings. */
9851
+ class GoSettings implements IGoSettings {
9852
+
9853
+ /**
9854
+ * Constructs a new GoSettings.
9855
+ * @param [properties] Properties to set
9856
+ */
9857
+ constructor(properties?: google.api.IGoSettings);
9858
+
9859
+ /** GoSettings common. */
9860
+ public common?: (google.api.ICommonLanguageSettings|null);
9861
+
9862
+ /**
9863
+ * Creates a new GoSettings instance using the specified properties.
9864
+ * @param [properties] Properties to set
9865
+ * @returns GoSettings instance
9866
+ */
9867
+ public static create(properties?: google.api.IGoSettings): google.api.GoSettings;
9868
+
9869
+ /**
9870
+ * Encodes the specified GoSettings message. Does not implicitly {@link google.api.GoSettings.verify|verify} messages.
9871
+ * @param message GoSettings message or plain object to encode
9872
+ * @param [writer] Writer to encode to
9873
+ * @returns Writer
9874
+ */
9875
+ public static encode(message: google.api.IGoSettings, writer?: $protobuf.Writer): $protobuf.Writer;
9876
+
9877
+ /**
9878
+ * Encodes the specified GoSettings message, length delimited. Does not implicitly {@link google.api.GoSettings.verify|verify} messages.
9879
+ * @param message GoSettings message or plain object to encode
9880
+ * @param [writer] Writer to encode to
9881
+ * @returns Writer
9882
+ */
9883
+ public static encodeDelimited(message: google.api.IGoSettings, writer?: $protobuf.Writer): $protobuf.Writer;
9884
+
9885
+ /**
9886
+ * Decodes a GoSettings message from the specified reader or buffer.
9887
+ * @param reader Reader or buffer to decode from
9888
+ * @param [length] Message length if known beforehand
9889
+ * @returns GoSettings
9890
+ * @throws {Error} If the payload is not a reader or valid buffer
9891
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9892
+ */
9893
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.GoSettings;
9894
+
9895
+ /**
9896
+ * Decodes a GoSettings message from the specified reader or buffer, length delimited.
9897
+ * @param reader Reader or buffer to decode from
9898
+ * @returns GoSettings
9899
+ * @throws {Error} If the payload is not a reader or valid buffer
9900
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9901
+ */
9902
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.GoSettings;
9903
+
9904
+ /**
9905
+ * Verifies a GoSettings message.
9906
+ * @param message Plain object to verify
9907
+ * @returns `null` if valid, otherwise the reason why it is not
9908
+ */
9909
+ public static verify(message: { [k: string]: any }): (string|null);
9910
+
9911
+ /**
9912
+ * Creates a GoSettings message from a plain object. Also converts values to their respective internal types.
9913
+ * @param object Plain object
9914
+ * @returns GoSettings
9915
+ */
9916
+ public static fromObject(object: { [k: string]: any }): google.api.GoSettings;
9917
+
9918
+ /**
9919
+ * Creates a plain object from a GoSettings message. Also converts values to other types if specified.
9920
+ * @param message GoSettings
9921
+ * @param [options] Conversion options
9922
+ * @returns Plain object
9923
+ */
9924
+ public static toObject(message: google.api.GoSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
9925
+
9926
+ /**
9927
+ * Converts this GoSettings to JSON.
9928
+ * @returns JSON object
9929
+ */
9930
+ public toJSON(): { [k: string]: any };
9931
+
9932
+ /**
9933
+ * Gets the default type url for GoSettings
9934
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9935
+ * @returns The default type url
9936
+ */
9937
+ public static getTypeUrl(typeUrlPrefix?: string): string;
9938
+ }
9939
+
9940
+ /** Properties of a MethodSettings. */
9941
+ interface IMethodSettings {
9942
+
9943
+ /** MethodSettings selector */
9944
+ selector?: (string|null);
9945
+
9946
+ /** MethodSettings longRunning */
9947
+ longRunning?: (google.api.MethodSettings.ILongRunning|null);
9948
+ }
9949
+
9950
+ /** Represents a MethodSettings. */
9951
+ class MethodSettings implements IMethodSettings {
9952
+
9953
+ /**
9954
+ * Constructs a new MethodSettings.
9955
+ * @param [properties] Properties to set
9956
+ */
9957
+ constructor(properties?: google.api.IMethodSettings);
9958
+
9959
+ /** MethodSettings selector. */
9960
+ public selector: string;
9961
+
9962
+ /** MethodSettings longRunning. */
9963
+ public longRunning?: (google.api.MethodSettings.ILongRunning|null);
9964
+
9965
+ /**
9966
+ * Creates a new MethodSettings instance using the specified properties.
9967
+ * @param [properties] Properties to set
9968
+ * @returns MethodSettings instance
9969
+ */
9970
+ public static create(properties?: google.api.IMethodSettings): google.api.MethodSettings;
9971
+
9972
+ /**
9973
+ * Encodes the specified MethodSettings message. Does not implicitly {@link google.api.MethodSettings.verify|verify} messages.
9974
+ * @param message MethodSettings message or plain object to encode
9975
+ * @param [writer] Writer to encode to
9976
+ * @returns Writer
9977
+ */
9978
+ public static encode(message: google.api.IMethodSettings, writer?: $protobuf.Writer): $protobuf.Writer;
9979
+
9980
+ /**
9981
+ * Encodes the specified MethodSettings message, length delimited. Does not implicitly {@link google.api.MethodSettings.verify|verify} messages.
9982
+ * @param message MethodSettings message or plain object to encode
9983
+ * @param [writer] Writer to encode to
9984
+ * @returns Writer
9985
+ */
9986
+ public static encodeDelimited(message: google.api.IMethodSettings, writer?: $protobuf.Writer): $protobuf.Writer;
9987
+
9988
+ /**
9989
+ * Decodes a MethodSettings message from the specified reader or buffer.
9990
+ * @param reader Reader or buffer to decode from
9991
+ * @param [length] Message length if known beforehand
9992
+ * @returns MethodSettings
9993
+ * @throws {Error} If the payload is not a reader or valid buffer
9994
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9995
+ */
9996
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.MethodSettings;
9997
+
9998
+ /**
9999
+ * Decodes a MethodSettings message from the specified reader or buffer, length delimited.
10000
+ * @param reader Reader or buffer to decode from
10001
+ * @returns MethodSettings
10002
+ * @throws {Error} If the payload is not a reader or valid buffer
10003
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
10004
+ */
10005
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.MethodSettings;
10006
+
10007
+ /**
10008
+ * Verifies a MethodSettings message.
10009
+ * @param message Plain object to verify
10010
+ * @returns `null` if valid, otherwise the reason why it is not
10011
+ */
10012
+ public static verify(message: { [k: string]: any }): (string|null);
10013
+
10014
+ /**
10015
+ * Creates a MethodSettings message from a plain object. Also converts values to their respective internal types.
10016
+ * @param object Plain object
10017
+ * @returns MethodSettings
10018
+ */
10019
+ public static fromObject(object: { [k: string]: any }): google.api.MethodSettings;
10020
+
10021
+ /**
10022
+ * Creates a plain object from a MethodSettings message. Also converts values to other types if specified.
10023
+ * @param message MethodSettings
10024
+ * @param [options] Conversion options
10025
+ * @returns Plain object
10026
+ */
10027
+ public static toObject(message: google.api.MethodSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
10028
+
10029
+ /**
10030
+ * Converts this MethodSettings to JSON.
10031
+ * @returns JSON object
10032
+ */
10033
+ public toJSON(): { [k: string]: any };
10034
+
10035
+ /**
10036
+ * Gets the default type url for MethodSettings
10037
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
10038
+ * @returns The default type url
10039
+ */
10040
+ public static getTypeUrl(typeUrlPrefix?: string): string;
10041
+ }
10042
+
10043
+ namespace MethodSettings {
10044
+
10045
+ /** Properties of a LongRunning. */
10046
+ interface ILongRunning {
10047
+
10048
+ /** LongRunning initialPollDelay */
10049
+ initialPollDelay?: (google.protobuf.IDuration|null);
10050
+
10051
+ /** LongRunning pollDelayMultiplier */
10052
+ pollDelayMultiplier?: (number|null);
10053
+
10054
+ /** LongRunning maxPollDelay */
10055
+ maxPollDelay?: (google.protobuf.IDuration|null);
10056
+
10057
+ /** LongRunning totalPollTimeout */
10058
+ totalPollTimeout?: (google.protobuf.IDuration|null);
10059
+ }
10060
+
10061
+ /** Represents a LongRunning. */
10062
+ class LongRunning implements ILongRunning {
10063
+
10064
+ /**
10065
+ * Constructs a new LongRunning.
10066
+ * @param [properties] Properties to set
10067
+ */
10068
+ constructor(properties?: google.api.MethodSettings.ILongRunning);
10069
+
10070
+ /** LongRunning initialPollDelay. */
10071
+ public initialPollDelay?: (google.protobuf.IDuration|null);
10072
+
10073
+ /** LongRunning pollDelayMultiplier. */
10074
+ public pollDelayMultiplier: number;
10075
+
10076
+ /** LongRunning maxPollDelay. */
10077
+ public maxPollDelay?: (google.protobuf.IDuration|null);
10078
+
10079
+ /** LongRunning totalPollTimeout. */
10080
+ public totalPollTimeout?: (google.protobuf.IDuration|null);
10081
+
10082
+ /**
10083
+ * Creates a new LongRunning instance using the specified properties.
10084
+ * @param [properties] Properties to set
10085
+ * @returns LongRunning instance
10086
+ */
10087
+ public static create(properties?: google.api.MethodSettings.ILongRunning): google.api.MethodSettings.LongRunning;
10088
+
10089
+ /**
10090
+ * Encodes the specified LongRunning message. Does not implicitly {@link google.api.MethodSettings.LongRunning.verify|verify} messages.
10091
+ * @param message LongRunning message or plain object to encode
10092
+ * @param [writer] Writer to encode to
10093
+ * @returns Writer
10094
+ */
10095
+ public static encode(message: google.api.MethodSettings.ILongRunning, writer?: $protobuf.Writer): $protobuf.Writer;
10096
+
10097
+ /**
10098
+ * Encodes the specified LongRunning message, length delimited. Does not implicitly {@link google.api.MethodSettings.LongRunning.verify|verify} messages.
10099
+ * @param message LongRunning message or plain object to encode
10100
+ * @param [writer] Writer to encode to
10101
+ * @returns Writer
10102
+ */
10103
+ public static encodeDelimited(message: google.api.MethodSettings.ILongRunning, writer?: $protobuf.Writer): $protobuf.Writer;
10104
+
10105
+ /**
10106
+ * Decodes a LongRunning message from the specified reader or buffer.
10107
+ * @param reader Reader or buffer to decode from
10108
+ * @param [length] Message length if known beforehand
10109
+ * @returns LongRunning
10110
+ * @throws {Error} If the payload is not a reader or valid buffer
10111
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
10112
+ */
10113
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.MethodSettings.LongRunning;
10114
+
10115
+ /**
10116
+ * Decodes a LongRunning message from the specified reader or buffer, length delimited.
10117
+ * @param reader Reader or buffer to decode from
10118
+ * @returns LongRunning
10119
+ * @throws {Error} If the payload is not a reader or valid buffer
10120
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
10121
+ */
10122
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.MethodSettings.LongRunning;
10123
+
10124
+ /**
10125
+ * Verifies a LongRunning message.
10126
+ * @param message Plain object to verify
10127
+ * @returns `null` if valid, otherwise the reason why it is not
10128
+ */
10129
+ public static verify(message: { [k: string]: any }): (string|null);
10130
+
10131
+ /**
10132
+ * Creates a LongRunning message from a plain object. Also converts values to their respective internal types.
10133
+ * @param object Plain object
10134
+ * @returns LongRunning
10135
+ */
10136
+ public static fromObject(object: { [k: string]: any }): google.api.MethodSettings.LongRunning;
10137
+
10138
+ /**
10139
+ * Creates a plain object from a LongRunning message. Also converts values to other types if specified.
10140
+ * @param message LongRunning
10141
+ * @param [options] Conversion options
10142
+ * @returns Plain object
10143
+ */
10144
+ public static toObject(message: google.api.MethodSettings.LongRunning, options?: $protobuf.IConversionOptions): { [k: string]: any };
10145
+
10146
+ /**
10147
+ * Converts this LongRunning to JSON.
10148
+ * @returns JSON object
10149
+ */
10150
+ public toJSON(): { [k: string]: any };
10151
+
10152
+ /**
10153
+ * Gets the default type url for LongRunning
10154
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
10155
+ * @returns The default type url
10156
+ */
10157
+ public static getTypeUrl(typeUrlPrefix?: string): string;
10158
+ }
10159
+ }
10160
+
10161
+ /** ClientLibraryOrganization enum. */
10162
+ enum ClientLibraryOrganization {
10163
+ CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED = 0,
10164
+ CLOUD = 1,
10165
+ ADS = 2,
10166
+ PHOTOS = 3,
10167
+ STREET_VIEW = 4
10168
+ }
10169
+
10170
+ /** ClientLibraryDestination enum. */
10171
+ enum ClientLibraryDestination {
10172
+ CLIENT_LIBRARY_DESTINATION_UNSPECIFIED = 0,
10173
+ GITHUB = 10,
10174
+ PACKAGE_MANAGER = 20
10175
+ }
10176
+
10177
+ /** LaunchStage enum. */
10178
+ enum LaunchStage {
10179
+ LAUNCH_STAGE_UNSPECIFIED = 0,
10180
+ UNIMPLEMENTED = 6,
10181
+ PRELAUNCH = 7,
10182
+ EARLY_ACCESS = 1,
10183
+ ALPHA = 2,
10184
+ BETA = 3,
10185
+ GA = 4,
10186
+ DEPRECATED = 5
10187
+ }
10188
+
10189
+ /** FieldBehavior enum. */
10190
+ enum FieldBehavior {
10191
+ FIELD_BEHAVIOR_UNSPECIFIED = 0,
10192
+ OPTIONAL = 1,
10193
+ REQUIRED = 2,
10194
+ OUTPUT_ONLY = 3,
10195
+ INPUT_ONLY = 4,
10196
+ IMMUTABLE = 5,
10197
+ UNORDERED_LIST = 6,
10198
+ NON_EMPTY_DEFAULT = 7
10199
+ }
8462
10200
  }
8463
10201
  }