@googlemaps/places 1.2.0 → 1.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.
- package/CHANGELOG.md +14 -0
- package/README.md +1 -0
- package/build/protos/google/maps/places/v1/place.proto +7 -5
- package/build/protos/google/maps/places/v1/places_service.proto +322 -6
- package/build/protos/protos.d.ts +2358 -348
- package/build/protos/protos.js +15820 -9944
- package/build/protos/protos.json +636 -16
- package/build/src/v1/places_client.d.ts +131 -4
- package/build/src/v1/places_client.js +27 -7
- package/build/src/v1/places_client.js.map +1 -1
- package/build/src/v1/places_client_config.json +4 -0
- package/package.json +4 -4
package/build/protos/protos.d.ts
CHANGED
|
@@ -220,6 +220,21 @@ export namespace google {
|
|
|
220
220
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
+
/** Edition enum. */
|
|
224
|
+
enum Edition {
|
|
225
|
+
EDITION_UNKNOWN = 0,
|
|
226
|
+
EDITION_PROTO2 = 998,
|
|
227
|
+
EDITION_PROTO3 = 999,
|
|
228
|
+
EDITION_2023 = 1000,
|
|
229
|
+
EDITION_2024 = 1001,
|
|
230
|
+
EDITION_1_TEST_ONLY = 1,
|
|
231
|
+
EDITION_2_TEST_ONLY = 2,
|
|
232
|
+
EDITION_99997_TEST_ONLY = 99997,
|
|
233
|
+
EDITION_99998_TEST_ONLY = 99998,
|
|
234
|
+
EDITION_99999_TEST_ONLY = 99999,
|
|
235
|
+
EDITION_MAX = 2147483647
|
|
236
|
+
}
|
|
237
|
+
|
|
223
238
|
/** Properties of a FileDescriptorProto. */
|
|
224
239
|
interface IFileDescriptorProto {
|
|
225
240
|
|
|
@@ -260,7 +275,7 @@ export namespace google {
|
|
|
260
275
|
syntax?: (string|null);
|
|
261
276
|
|
|
262
277
|
/** FileDescriptorProto edition */
|
|
263
|
-
edition?: (
|
|
278
|
+
edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
|
|
264
279
|
}
|
|
265
280
|
|
|
266
281
|
/** Represents a FileDescriptorProto. */
|
|
@@ -309,7 +324,7 @@ export namespace google {
|
|
|
309
324
|
public syntax: string;
|
|
310
325
|
|
|
311
326
|
/** FileDescriptorProto edition. */
|
|
312
|
-
public edition:
|
|
327
|
+
public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
|
|
313
328
|
|
|
314
329
|
/**
|
|
315
330
|
* Creates a new FileDescriptorProto instance using the specified properties.
|
|
@@ -760,6 +775,15 @@ export namespace google {
|
|
|
760
775
|
|
|
761
776
|
/** ExtensionRangeOptions uninterpretedOption */
|
|
762
777
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
778
|
+
|
|
779
|
+
/** ExtensionRangeOptions declaration */
|
|
780
|
+
declaration?: (google.protobuf.ExtensionRangeOptions.IDeclaration[]|null);
|
|
781
|
+
|
|
782
|
+
/** ExtensionRangeOptions features */
|
|
783
|
+
features?: (google.protobuf.IFeatureSet|null);
|
|
784
|
+
|
|
785
|
+
/** ExtensionRangeOptions verification */
|
|
786
|
+
verification?: (google.protobuf.ExtensionRangeOptions.VerificationState|keyof typeof google.protobuf.ExtensionRangeOptions.VerificationState|null);
|
|
763
787
|
}
|
|
764
788
|
|
|
765
789
|
/** Represents an ExtensionRangeOptions. */
|
|
@@ -774,6 +798,15 @@ export namespace google {
|
|
|
774
798
|
/** ExtensionRangeOptions uninterpretedOption. */
|
|
775
799
|
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
776
800
|
|
|
801
|
+
/** ExtensionRangeOptions declaration. */
|
|
802
|
+
public declaration: google.protobuf.ExtensionRangeOptions.IDeclaration[];
|
|
803
|
+
|
|
804
|
+
/** ExtensionRangeOptions features. */
|
|
805
|
+
public features?: (google.protobuf.IFeatureSet|null);
|
|
806
|
+
|
|
807
|
+
/** ExtensionRangeOptions verification. */
|
|
808
|
+
public verification: (google.protobuf.ExtensionRangeOptions.VerificationState|keyof typeof google.protobuf.ExtensionRangeOptions.VerificationState);
|
|
809
|
+
|
|
777
810
|
/**
|
|
778
811
|
* Creates a new ExtensionRangeOptions instance using the specified properties.
|
|
779
812
|
* @param [properties] Properties to set
|
|
@@ -852,6 +885,136 @@ export namespace google {
|
|
|
852
885
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
853
886
|
}
|
|
854
887
|
|
|
888
|
+
namespace ExtensionRangeOptions {
|
|
889
|
+
|
|
890
|
+
/** Properties of a Declaration. */
|
|
891
|
+
interface IDeclaration {
|
|
892
|
+
|
|
893
|
+
/** Declaration number */
|
|
894
|
+
number?: (number|null);
|
|
895
|
+
|
|
896
|
+
/** Declaration fullName */
|
|
897
|
+
fullName?: (string|null);
|
|
898
|
+
|
|
899
|
+
/** Declaration type */
|
|
900
|
+
type?: (string|null);
|
|
901
|
+
|
|
902
|
+
/** Declaration reserved */
|
|
903
|
+
reserved?: (boolean|null);
|
|
904
|
+
|
|
905
|
+
/** Declaration repeated */
|
|
906
|
+
repeated?: (boolean|null);
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
/** Represents a Declaration. */
|
|
910
|
+
class Declaration implements IDeclaration {
|
|
911
|
+
|
|
912
|
+
/**
|
|
913
|
+
* Constructs a new Declaration.
|
|
914
|
+
* @param [properties] Properties to set
|
|
915
|
+
*/
|
|
916
|
+
constructor(properties?: google.protobuf.ExtensionRangeOptions.IDeclaration);
|
|
917
|
+
|
|
918
|
+
/** Declaration number. */
|
|
919
|
+
public number: number;
|
|
920
|
+
|
|
921
|
+
/** Declaration fullName. */
|
|
922
|
+
public fullName: string;
|
|
923
|
+
|
|
924
|
+
/** Declaration type. */
|
|
925
|
+
public type: string;
|
|
926
|
+
|
|
927
|
+
/** Declaration reserved. */
|
|
928
|
+
public reserved: boolean;
|
|
929
|
+
|
|
930
|
+
/** Declaration repeated. */
|
|
931
|
+
public repeated: boolean;
|
|
932
|
+
|
|
933
|
+
/**
|
|
934
|
+
* Creates a new Declaration instance using the specified properties.
|
|
935
|
+
* @param [properties] Properties to set
|
|
936
|
+
* @returns Declaration instance
|
|
937
|
+
*/
|
|
938
|
+
public static create(properties?: google.protobuf.ExtensionRangeOptions.IDeclaration): google.protobuf.ExtensionRangeOptions.Declaration;
|
|
939
|
+
|
|
940
|
+
/**
|
|
941
|
+
* Encodes the specified Declaration message. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.Declaration.verify|verify} messages.
|
|
942
|
+
* @param message Declaration message or plain object to encode
|
|
943
|
+
* @param [writer] Writer to encode to
|
|
944
|
+
* @returns Writer
|
|
945
|
+
*/
|
|
946
|
+
public static encode(message: google.protobuf.ExtensionRangeOptions.IDeclaration, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
947
|
+
|
|
948
|
+
/**
|
|
949
|
+
* Encodes the specified Declaration message, length delimited. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.Declaration.verify|verify} messages.
|
|
950
|
+
* @param message Declaration message or plain object to encode
|
|
951
|
+
* @param [writer] Writer to encode to
|
|
952
|
+
* @returns Writer
|
|
953
|
+
*/
|
|
954
|
+
public static encodeDelimited(message: google.protobuf.ExtensionRangeOptions.IDeclaration, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
955
|
+
|
|
956
|
+
/**
|
|
957
|
+
* Decodes a Declaration message from the specified reader or buffer.
|
|
958
|
+
* @param reader Reader or buffer to decode from
|
|
959
|
+
* @param [length] Message length if known beforehand
|
|
960
|
+
* @returns Declaration
|
|
961
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
962
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
963
|
+
*/
|
|
964
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ExtensionRangeOptions.Declaration;
|
|
965
|
+
|
|
966
|
+
/**
|
|
967
|
+
* Decodes a Declaration message from the specified reader or buffer, length delimited.
|
|
968
|
+
* @param reader Reader or buffer to decode from
|
|
969
|
+
* @returns Declaration
|
|
970
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
971
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
972
|
+
*/
|
|
973
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ExtensionRangeOptions.Declaration;
|
|
974
|
+
|
|
975
|
+
/**
|
|
976
|
+
* Verifies a Declaration message.
|
|
977
|
+
* @param message Plain object to verify
|
|
978
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
979
|
+
*/
|
|
980
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
981
|
+
|
|
982
|
+
/**
|
|
983
|
+
* Creates a Declaration message from a plain object. Also converts values to their respective internal types.
|
|
984
|
+
* @param object Plain object
|
|
985
|
+
* @returns Declaration
|
|
986
|
+
*/
|
|
987
|
+
public static fromObject(object: { [k: string]: any }): google.protobuf.ExtensionRangeOptions.Declaration;
|
|
988
|
+
|
|
989
|
+
/**
|
|
990
|
+
* Creates a plain object from a Declaration message. Also converts values to other types if specified.
|
|
991
|
+
* @param message Declaration
|
|
992
|
+
* @param [options] Conversion options
|
|
993
|
+
* @returns Plain object
|
|
994
|
+
*/
|
|
995
|
+
public static toObject(message: google.protobuf.ExtensionRangeOptions.Declaration, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
996
|
+
|
|
997
|
+
/**
|
|
998
|
+
* Converts this Declaration to JSON.
|
|
999
|
+
* @returns JSON object
|
|
1000
|
+
*/
|
|
1001
|
+
public toJSON(): { [k: string]: any };
|
|
1002
|
+
|
|
1003
|
+
/**
|
|
1004
|
+
* Gets the default type url for Declaration
|
|
1005
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1006
|
+
* @returns The default type url
|
|
1007
|
+
*/
|
|
1008
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
/** VerificationState enum. */
|
|
1012
|
+
enum VerificationState {
|
|
1013
|
+
DECLARATION = 0,
|
|
1014
|
+
UNVERIFIED = 1
|
|
1015
|
+
}
|
|
1016
|
+
}
|
|
1017
|
+
|
|
855
1018
|
/** Properties of a FieldDescriptorProto. */
|
|
856
1019
|
interface IFieldDescriptorProto {
|
|
857
1020
|
|
|
@@ -1036,8 +1199,8 @@ export namespace google {
|
|
|
1036
1199
|
/** Label enum. */
|
|
1037
1200
|
enum Label {
|
|
1038
1201
|
LABEL_OPTIONAL = 1,
|
|
1039
|
-
|
|
1040
|
-
|
|
1202
|
+
LABEL_REPEATED = 3,
|
|
1203
|
+
LABEL_REQUIRED = 2
|
|
1041
1204
|
}
|
|
1042
1205
|
}
|
|
1043
1206
|
|
|
@@ -1749,9 +1912,6 @@ export namespace google {
|
|
|
1749
1912
|
/** FileOptions pyGenericServices */
|
|
1750
1913
|
pyGenericServices?: (boolean|null);
|
|
1751
1914
|
|
|
1752
|
-
/** FileOptions phpGenericServices */
|
|
1753
|
-
phpGenericServices?: (boolean|null);
|
|
1754
|
-
|
|
1755
1915
|
/** FileOptions deprecated */
|
|
1756
1916
|
deprecated?: (boolean|null);
|
|
1757
1917
|
|
|
@@ -1779,6 +1939,9 @@ export namespace google {
|
|
|
1779
1939
|
/** FileOptions rubyPackage */
|
|
1780
1940
|
rubyPackage?: (string|null);
|
|
1781
1941
|
|
|
1942
|
+
/** FileOptions features */
|
|
1943
|
+
features?: (google.protobuf.IFeatureSet|null);
|
|
1944
|
+
|
|
1782
1945
|
/** FileOptions uninterpretedOption */
|
|
1783
1946
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
1784
1947
|
|
|
@@ -1825,9 +1988,6 @@ export namespace google {
|
|
|
1825
1988
|
/** FileOptions pyGenericServices. */
|
|
1826
1989
|
public pyGenericServices: boolean;
|
|
1827
1990
|
|
|
1828
|
-
/** FileOptions phpGenericServices. */
|
|
1829
|
-
public phpGenericServices: boolean;
|
|
1830
|
-
|
|
1831
1991
|
/** FileOptions deprecated. */
|
|
1832
1992
|
public deprecated: boolean;
|
|
1833
1993
|
|
|
@@ -1855,6 +2015,9 @@ export namespace google {
|
|
|
1855
2015
|
/** FileOptions rubyPackage. */
|
|
1856
2016
|
public rubyPackage: string;
|
|
1857
2017
|
|
|
2018
|
+
/** FileOptions features. */
|
|
2019
|
+
public features?: (google.protobuf.IFeatureSet|null);
|
|
2020
|
+
|
|
1858
2021
|
/** FileOptions uninterpretedOption. */
|
|
1859
2022
|
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
1860
2023
|
|
|
@@ -1964,6 +2127,9 @@ export namespace google {
|
|
|
1964
2127
|
/** MessageOptions deprecatedLegacyJsonFieldConflicts */
|
|
1965
2128
|
deprecatedLegacyJsonFieldConflicts?: (boolean|null);
|
|
1966
2129
|
|
|
2130
|
+
/** MessageOptions features */
|
|
2131
|
+
features?: (google.protobuf.IFeatureSet|null);
|
|
2132
|
+
|
|
1967
2133
|
/** MessageOptions uninterpretedOption */
|
|
1968
2134
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
1969
2135
|
|
|
@@ -1995,6 +2161,9 @@ export namespace google {
|
|
|
1995
2161
|
/** MessageOptions deprecatedLegacyJsonFieldConflicts. */
|
|
1996
2162
|
public deprecatedLegacyJsonFieldConflicts: boolean;
|
|
1997
2163
|
|
|
2164
|
+
/** MessageOptions features. */
|
|
2165
|
+
public features?: (google.protobuf.IFeatureSet|null);
|
|
2166
|
+
|
|
1998
2167
|
/** MessageOptions uninterpretedOption. */
|
|
1999
2168
|
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
2000
2169
|
|
|
@@ -2106,8 +2275,14 @@ export namespace google {
|
|
|
2106
2275
|
/** FieldOptions retention */
|
|
2107
2276
|
retention?: (google.protobuf.FieldOptions.OptionRetention|keyof typeof google.protobuf.FieldOptions.OptionRetention|null);
|
|
2108
2277
|
|
|
2109
|
-
/** FieldOptions
|
|
2110
|
-
|
|
2278
|
+
/** FieldOptions targets */
|
|
2279
|
+
targets?: (google.protobuf.FieldOptions.OptionTargetType[]|null);
|
|
2280
|
+
|
|
2281
|
+
/** FieldOptions editionDefaults */
|
|
2282
|
+
editionDefaults?: (google.protobuf.FieldOptions.IEditionDefault[]|null);
|
|
2283
|
+
|
|
2284
|
+
/** FieldOptions features */
|
|
2285
|
+
features?: (google.protobuf.IFeatureSet|null);
|
|
2111
2286
|
|
|
2112
2287
|
/** FieldOptions uninterpretedOption */
|
|
2113
2288
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
@@ -2155,8 +2330,14 @@ export namespace google {
|
|
|
2155
2330
|
/** FieldOptions retention. */
|
|
2156
2331
|
public retention: (google.protobuf.FieldOptions.OptionRetention|keyof typeof google.protobuf.FieldOptions.OptionRetention);
|
|
2157
2332
|
|
|
2158
|
-
/** FieldOptions
|
|
2159
|
-
public
|
|
2333
|
+
/** FieldOptions targets. */
|
|
2334
|
+
public targets: google.protobuf.FieldOptions.OptionTargetType[];
|
|
2335
|
+
|
|
2336
|
+
/** FieldOptions editionDefaults. */
|
|
2337
|
+
public editionDefaults: google.protobuf.FieldOptions.IEditionDefault[];
|
|
2338
|
+
|
|
2339
|
+
/** FieldOptions features. */
|
|
2340
|
+
public features?: (google.protobuf.IFeatureSet|null);
|
|
2160
2341
|
|
|
2161
2342
|
/** FieldOptions uninterpretedOption. */
|
|
2162
2343
|
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
@@ -2275,11 +2456,117 @@ export namespace google {
|
|
|
2275
2456
|
TARGET_TYPE_SERVICE = 8,
|
|
2276
2457
|
TARGET_TYPE_METHOD = 9
|
|
2277
2458
|
}
|
|
2459
|
+
|
|
2460
|
+
/** Properties of an EditionDefault. */
|
|
2461
|
+
interface IEditionDefault {
|
|
2462
|
+
|
|
2463
|
+
/** EditionDefault edition */
|
|
2464
|
+
edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
|
|
2465
|
+
|
|
2466
|
+
/** EditionDefault value */
|
|
2467
|
+
value?: (string|null);
|
|
2468
|
+
}
|
|
2469
|
+
|
|
2470
|
+
/** Represents an EditionDefault. */
|
|
2471
|
+
class EditionDefault implements IEditionDefault {
|
|
2472
|
+
|
|
2473
|
+
/**
|
|
2474
|
+
* Constructs a new EditionDefault.
|
|
2475
|
+
* @param [properties] Properties to set
|
|
2476
|
+
*/
|
|
2477
|
+
constructor(properties?: google.protobuf.FieldOptions.IEditionDefault);
|
|
2478
|
+
|
|
2479
|
+
/** EditionDefault edition. */
|
|
2480
|
+
public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
|
|
2481
|
+
|
|
2482
|
+
/** EditionDefault value. */
|
|
2483
|
+
public value: string;
|
|
2484
|
+
|
|
2485
|
+
/**
|
|
2486
|
+
* Creates a new EditionDefault instance using the specified properties.
|
|
2487
|
+
* @param [properties] Properties to set
|
|
2488
|
+
* @returns EditionDefault instance
|
|
2489
|
+
*/
|
|
2490
|
+
public static create(properties?: google.protobuf.FieldOptions.IEditionDefault): google.protobuf.FieldOptions.EditionDefault;
|
|
2491
|
+
|
|
2492
|
+
/**
|
|
2493
|
+
* Encodes the specified EditionDefault message. Does not implicitly {@link google.protobuf.FieldOptions.EditionDefault.verify|verify} messages.
|
|
2494
|
+
* @param message EditionDefault message or plain object to encode
|
|
2495
|
+
* @param [writer] Writer to encode to
|
|
2496
|
+
* @returns Writer
|
|
2497
|
+
*/
|
|
2498
|
+
public static encode(message: google.protobuf.FieldOptions.IEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2499
|
+
|
|
2500
|
+
/**
|
|
2501
|
+
* Encodes the specified EditionDefault message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.EditionDefault.verify|verify} messages.
|
|
2502
|
+
* @param message EditionDefault message or plain object to encode
|
|
2503
|
+
* @param [writer] Writer to encode to
|
|
2504
|
+
* @returns Writer
|
|
2505
|
+
*/
|
|
2506
|
+
public static encodeDelimited(message: google.protobuf.FieldOptions.IEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2507
|
+
|
|
2508
|
+
/**
|
|
2509
|
+
* Decodes an EditionDefault message from the specified reader or buffer.
|
|
2510
|
+
* @param reader Reader or buffer to decode from
|
|
2511
|
+
* @param [length] Message length if known beforehand
|
|
2512
|
+
* @returns EditionDefault
|
|
2513
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2514
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2515
|
+
*/
|
|
2516
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions.EditionDefault;
|
|
2517
|
+
|
|
2518
|
+
/**
|
|
2519
|
+
* Decodes an EditionDefault message from the specified reader or buffer, length delimited.
|
|
2520
|
+
* @param reader Reader or buffer to decode from
|
|
2521
|
+
* @returns EditionDefault
|
|
2522
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2523
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2524
|
+
*/
|
|
2525
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions.EditionDefault;
|
|
2526
|
+
|
|
2527
|
+
/**
|
|
2528
|
+
* Verifies an EditionDefault message.
|
|
2529
|
+
* @param message Plain object to verify
|
|
2530
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2531
|
+
*/
|
|
2532
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2533
|
+
|
|
2534
|
+
/**
|
|
2535
|
+
* Creates an EditionDefault message from a plain object. Also converts values to their respective internal types.
|
|
2536
|
+
* @param object Plain object
|
|
2537
|
+
* @returns EditionDefault
|
|
2538
|
+
*/
|
|
2539
|
+
public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions.EditionDefault;
|
|
2540
|
+
|
|
2541
|
+
/**
|
|
2542
|
+
* Creates a plain object from an EditionDefault message. Also converts values to other types if specified.
|
|
2543
|
+
* @param message EditionDefault
|
|
2544
|
+
* @param [options] Conversion options
|
|
2545
|
+
* @returns Plain object
|
|
2546
|
+
*/
|
|
2547
|
+
public static toObject(message: google.protobuf.FieldOptions.EditionDefault, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2548
|
+
|
|
2549
|
+
/**
|
|
2550
|
+
* Converts this EditionDefault to JSON.
|
|
2551
|
+
* @returns JSON object
|
|
2552
|
+
*/
|
|
2553
|
+
public toJSON(): { [k: string]: any };
|
|
2554
|
+
|
|
2555
|
+
/**
|
|
2556
|
+
* Gets the default type url for EditionDefault
|
|
2557
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2558
|
+
* @returns The default type url
|
|
2559
|
+
*/
|
|
2560
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2561
|
+
}
|
|
2278
2562
|
}
|
|
2279
2563
|
|
|
2280
2564
|
/** Properties of an OneofOptions. */
|
|
2281
2565
|
interface IOneofOptions {
|
|
2282
2566
|
|
|
2567
|
+
/** OneofOptions features */
|
|
2568
|
+
features?: (google.protobuf.IFeatureSet|null);
|
|
2569
|
+
|
|
2283
2570
|
/** OneofOptions uninterpretedOption */
|
|
2284
2571
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
2285
2572
|
}
|
|
@@ -2293,6 +2580,9 @@ export namespace google {
|
|
|
2293
2580
|
*/
|
|
2294
2581
|
constructor(properties?: google.protobuf.IOneofOptions);
|
|
2295
2582
|
|
|
2583
|
+
/** OneofOptions features. */
|
|
2584
|
+
public features?: (google.protobuf.IFeatureSet|null);
|
|
2585
|
+
|
|
2296
2586
|
/** OneofOptions uninterpretedOption. */
|
|
2297
2587
|
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
2298
2588
|
|
|
@@ -2386,6 +2676,9 @@ export namespace google {
|
|
|
2386
2676
|
/** EnumOptions deprecatedLegacyJsonFieldConflicts */
|
|
2387
2677
|
deprecatedLegacyJsonFieldConflicts?: (boolean|null);
|
|
2388
2678
|
|
|
2679
|
+
/** EnumOptions features */
|
|
2680
|
+
features?: (google.protobuf.IFeatureSet|null);
|
|
2681
|
+
|
|
2389
2682
|
/** EnumOptions uninterpretedOption */
|
|
2390
2683
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
2391
2684
|
}
|
|
@@ -2408,6 +2701,9 @@ export namespace google {
|
|
|
2408
2701
|
/** EnumOptions deprecatedLegacyJsonFieldConflicts. */
|
|
2409
2702
|
public deprecatedLegacyJsonFieldConflicts: boolean;
|
|
2410
2703
|
|
|
2704
|
+
/** EnumOptions features. */
|
|
2705
|
+
public features?: (google.protobuf.IFeatureSet|null);
|
|
2706
|
+
|
|
2411
2707
|
/** EnumOptions uninterpretedOption. */
|
|
2412
2708
|
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
2413
2709
|
|
|
@@ -2495,6 +2791,12 @@ export namespace google {
|
|
|
2495
2791
|
/** EnumValueOptions deprecated */
|
|
2496
2792
|
deprecated?: (boolean|null);
|
|
2497
2793
|
|
|
2794
|
+
/** EnumValueOptions features */
|
|
2795
|
+
features?: (google.protobuf.IFeatureSet|null);
|
|
2796
|
+
|
|
2797
|
+
/** EnumValueOptions debugRedact */
|
|
2798
|
+
debugRedact?: (boolean|null);
|
|
2799
|
+
|
|
2498
2800
|
/** EnumValueOptions uninterpretedOption */
|
|
2499
2801
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
2500
2802
|
}
|
|
@@ -2511,6 +2813,12 @@ export namespace google {
|
|
|
2511
2813
|
/** EnumValueOptions deprecated. */
|
|
2512
2814
|
public deprecated: boolean;
|
|
2513
2815
|
|
|
2816
|
+
/** EnumValueOptions features. */
|
|
2817
|
+
public features?: (google.protobuf.IFeatureSet|null);
|
|
2818
|
+
|
|
2819
|
+
/** EnumValueOptions debugRedact. */
|
|
2820
|
+
public debugRedact: boolean;
|
|
2821
|
+
|
|
2514
2822
|
/** EnumValueOptions uninterpretedOption. */
|
|
2515
2823
|
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
2516
2824
|
|
|
@@ -2595,6 +2903,9 @@ export namespace google {
|
|
|
2595
2903
|
/** Properties of a ServiceOptions. */
|
|
2596
2904
|
interface IServiceOptions {
|
|
2597
2905
|
|
|
2906
|
+
/** ServiceOptions features */
|
|
2907
|
+
features?: (google.protobuf.IFeatureSet|null);
|
|
2908
|
+
|
|
2598
2909
|
/** ServiceOptions deprecated */
|
|
2599
2910
|
deprecated?: (boolean|null);
|
|
2600
2911
|
|
|
@@ -2617,6 +2928,9 @@ export namespace google {
|
|
|
2617
2928
|
*/
|
|
2618
2929
|
constructor(properties?: google.protobuf.IServiceOptions);
|
|
2619
2930
|
|
|
2931
|
+
/** ServiceOptions features. */
|
|
2932
|
+
public features?: (google.protobuf.IFeatureSet|null);
|
|
2933
|
+
|
|
2620
2934
|
/** ServiceOptions deprecated. */
|
|
2621
2935
|
public deprecated: boolean;
|
|
2622
2936
|
|
|
@@ -2710,6 +3024,9 @@ export namespace google {
|
|
|
2710
3024
|
/** MethodOptions idempotencyLevel */
|
|
2711
3025
|
idempotencyLevel?: (google.protobuf.MethodOptions.IdempotencyLevel|keyof typeof google.protobuf.MethodOptions.IdempotencyLevel|null);
|
|
2712
3026
|
|
|
3027
|
+
/** MethodOptions features */
|
|
3028
|
+
features?: (google.protobuf.IFeatureSet|null);
|
|
3029
|
+
|
|
2713
3030
|
/** MethodOptions uninterpretedOption */
|
|
2714
3031
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
2715
3032
|
|
|
@@ -2735,6 +3052,9 @@ export namespace google {
|
|
|
2735
3052
|
/** MethodOptions idempotencyLevel. */
|
|
2736
3053
|
public idempotencyLevel: (google.protobuf.MethodOptions.IdempotencyLevel|keyof typeof google.protobuf.MethodOptions.IdempotencyLevel);
|
|
2737
3054
|
|
|
3055
|
+
/** MethodOptions features. */
|
|
3056
|
+
public features?: (google.protobuf.IFeatureSet|null);
|
|
3057
|
+
|
|
2738
3058
|
/** MethodOptions uninterpretedOption. */
|
|
2739
3059
|
public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
2740
3060
|
|
|
@@ -3065,220 +3385,387 @@ export namespace google {
|
|
|
3065
3385
|
}
|
|
3066
3386
|
}
|
|
3067
3387
|
|
|
3068
|
-
/** Properties of a
|
|
3069
|
-
interface
|
|
3388
|
+
/** Properties of a FeatureSet. */
|
|
3389
|
+
interface IFeatureSet {
|
|
3070
3390
|
|
|
3071
|
-
/**
|
|
3072
|
-
|
|
3391
|
+
/** FeatureSet fieldPresence */
|
|
3392
|
+
fieldPresence?: (google.protobuf.FeatureSet.FieldPresence|keyof typeof google.protobuf.FeatureSet.FieldPresence|null);
|
|
3393
|
+
|
|
3394
|
+
/** FeatureSet enumType */
|
|
3395
|
+
enumType?: (google.protobuf.FeatureSet.EnumType|keyof typeof google.protobuf.FeatureSet.EnumType|null);
|
|
3396
|
+
|
|
3397
|
+
/** FeatureSet repeatedFieldEncoding */
|
|
3398
|
+
repeatedFieldEncoding?: (google.protobuf.FeatureSet.RepeatedFieldEncoding|keyof typeof google.protobuf.FeatureSet.RepeatedFieldEncoding|null);
|
|
3399
|
+
|
|
3400
|
+
/** FeatureSet utf8Validation */
|
|
3401
|
+
utf8Validation?: (google.protobuf.FeatureSet.Utf8Validation|keyof typeof google.protobuf.FeatureSet.Utf8Validation|null);
|
|
3402
|
+
|
|
3403
|
+
/** FeatureSet messageEncoding */
|
|
3404
|
+
messageEncoding?: (google.protobuf.FeatureSet.MessageEncoding|keyof typeof google.protobuf.FeatureSet.MessageEncoding|null);
|
|
3405
|
+
|
|
3406
|
+
/** FeatureSet jsonFormat */
|
|
3407
|
+
jsonFormat?: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat|null);
|
|
3073
3408
|
}
|
|
3074
3409
|
|
|
3075
|
-
/** Represents a
|
|
3076
|
-
class
|
|
3410
|
+
/** Represents a FeatureSet. */
|
|
3411
|
+
class FeatureSet implements IFeatureSet {
|
|
3077
3412
|
|
|
3078
3413
|
/**
|
|
3079
|
-
* Constructs a new
|
|
3414
|
+
* Constructs a new FeatureSet.
|
|
3080
3415
|
* @param [properties] Properties to set
|
|
3081
3416
|
*/
|
|
3082
|
-
constructor(properties?: google.protobuf.
|
|
3417
|
+
constructor(properties?: google.protobuf.IFeatureSet);
|
|
3083
3418
|
|
|
3084
|
-
/**
|
|
3085
|
-
public
|
|
3419
|
+
/** FeatureSet fieldPresence. */
|
|
3420
|
+
public fieldPresence: (google.protobuf.FeatureSet.FieldPresence|keyof typeof google.protobuf.FeatureSet.FieldPresence);
|
|
3421
|
+
|
|
3422
|
+
/** FeatureSet enumType. */
|
|
3423
|
+
public enumType: (google.protobuf.FeatureSet.EnumType|keyof typeof google.protobuf.FeatureSet.EnumType);
|
|
3424
|
+
|
|
3425
|
+
/** FeatureSet repeatedFieldEncoding. */
|
|
3426
|
+
public repeatedFieldEncoding: (google.protobuf.FeatureSet.RepeatedFieldEncoding|keyof typeof google.protobuf.FeatureSet.RepeatedFieldEncoding);
|
|
3427
|
+
|
|
3428
|
+
/** FeatureSet utf8Validation. */
|
|
3429
|
+
public utf8Validation: (google.protobuf.FeatureSet.Utf8Validation|keyof typeof google.protobuf.FeatureSet.Utf8Validation);
|
|
3430
|
+
|
|
3431
|
+
/** FeatureSet messageEncoding. */
|
|
3432
|
+
public messageEncoding: (google.protobuf.FeatureSet.MessageEncoding|keyof typeof google.protobuf.FeatureSet.MessageEncoding);
|
|
3433
|
+
|
|
3434
|
+
/** FeatureSet jsonFormat. */
|
|
3435
|
+
public jsonFormat: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat);
|
|
3086
3436
|
|
|
3087
3437
|
/**
|
|
3088
|
-
* Creates a new
|
|
3438
|
+
* Creates a new FeatureSet instance using the specified properties.
|
|
3089
3439
|
* @param [properties] Properties to set
|
|
3090
|
-
* @returns
|
|
3440
|
+
* @returns FeatureSet instance
|
|
3091
3441
|
*/
|
|
3092
|
-
public static create(properties?: google.protobuf.
|
|
3442
|
+
public static create(properties?: google.protobuf.IFeatureSet): google.protobuf.FeatureSet;
|
|
3093
3443
|
|
|
3094
3444
|
/**
|
|
3095
|
-
* Encodes the specified
|
|
3096
|
-
* @param message
|
|
3445
|
+
* Encodes the specified FeatureSet message. Does not implicitly {@link google.protobuf.FeatureSet.verify|verify} messages.
|
|
3446
|
+
* @param message FeatureSet message or plain object to encode
|
|
3097
3447
|
* @param [writer] Writer to encode to
|
|
3098
3448
|
* @returns Writer
|
|
3099
3449
|
*/
|
|
3100
|
-
public static encode(message: google.protobuf.
|
|
3450
|
+
public static encode(message: google.protobuf.IFeatureSet, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3101
3451
|
|
|
3102
3452
|
/**
|
|
3103
|
-
* Encodes the specified
|
|
3104
|
-
* @param message
|
|
3453
|
+
* Encodes the specified FeatureSet message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.verify|verify} messages.
|
|
3454
|
+
* @param message FeatureSet message or plain object to encode
|
|
3105
3455
|
* @param [writer] Writer to encode to
|
|
3106
3456
|
* @returns Writer
|
|
3107
3457
|
*/
|
|
3108
|
-
public static encodeDelimited(message: google.protobuf.
|
|
3458
|
+
public static encodeDelimited(message: google.protobuf.IFeatureSet, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3109
3459
|
|
|
3110
3460
|
/**
|
|
3111
|
-
* Decodes a
|
|
3461
|
+
* Decodes a FeatureSet message from the specified reader or buffer.
|
|
3112
3462
|
* @param reader Reader or buffer to decode from
|
|
3113
3463
|
* @param [length] Message length if known beforehand
|
|
3114
|
-
* @returns
|
|
3464
|
+
* @returns FeatureSet
|
|
3115
3465
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3116
3466
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3117
3467
|
*/
|
|
3118
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.
|
|
3468
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSet;
|
|
3119
3469
|
|
|
3120
3470
|
/**
|
|
3121
|
-
* Decodes a
|
|
3471
|
+
* Decodes a FeatureSet message from the specified reader or buffer, length delimited.
|
|
3122
3472
|
* @param reader Reader or buffer to decode from
|
|
3123
|
-
* @returns
|
|
3473
|
+
* @returns FeatureSet
|
|
3124
3474
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3125
3475
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3126
3476
|
*/
|
|
3127
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.
|
|
3477
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSet;
|
|
3128
3478
|
|
|
3129
3479
|
/**
|
|
3130
|
-
* Verifies a
|
|
3480
|
+
* Verifies a FeatureSet message.
|
|
3131
3481
|
* @param message Plain object to verify
|
|
3132
3482
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
3133
3483
|
*/
|
|
3134
3484
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
3135
3485
|
|
|
3136
3486
|
/**
|
|
3137
|
-
* Creates a
|
|
3487
|
+
* Creates a FeatureSet message from a plain object. Also converts values to their respective internal types.
|
|
3138
3488
|
* @param object Plain object
|
|
3139
|
-
* @returns
|
|
3489
|
+
* @returns FeatureSet
|
|
3140
3490
|
*/
|
|
3141
|
-
public static fromObject(object: { [k: string]: any }): google.protobuf.
|
|
3491
|
+
public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSet;
|
|
3142
3492
|
|
|
3143
3493
|
/**
|
|
3144
|
-
* Creates a plain object from a
|
|
3145
|
-
* @param message
|
|
3494
|
+
* Creates a plain object from a FeatureSet message. Also converts values to other types if specified.
|
|
3495
|
+
* @param message FeatureSet
|
|
3146
3496
|
* @param [options] Conversion options
|
|
3147
3497
|
* @returns Plain object
|
|
3148
3498
|
*/
|
|
3149
|
-
public static toObject(message: google.protobuf.
|
|
3499
|
+
public static toObject(message: google.protobuf.FeatureSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3150
3500
|
|
|
3151
3501
|
/**
|
|
3152
|
-
* Converts this
|
|
3502
|
+
* Converts this FeatureSet to JSON.
|
|
3153
3503
|
* @returns JSON object
|
|
3154
3504
|
*/
|
|
3155
3505
|
public toJSON(): { [k: string]: any };
|
|
3156
3506
|
|
|
3157
3507
|
/**
|
|
3158
|
-
* Gets the default type url for
|
|
3508
|
+
* Gets the default type url for FeatureSet
|
|
3159
3509
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3160
3510
|
* @returns The default type url
|
|
3161
3511
|
*/
|
|
3162
3512
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3163
3513
|
}
|
|
3164
3514
|
|
|
3165
|
-
namespace
|
|
3515
|
+
namespace FeatureSet {
|
|
3166
3516
|
|
|
3167
|
-
/**
|
|
3168
|
-
|
|
3517
|
+
/** FieldPresence enum. */
|
|
3518
|
+
enum FieldPresence {
|
|
3519
|
+
FIELD_PRESENCE_UNKNOWN = 0,
|
|
3520
|
+
EXPLICIT = 1,
|
|
3521
|
+
IMPLICIT = 2,
|
|
3522
|
+
LEGACY_REQUIRED = 3
|
|
3523
|
+
}
|
|
3169
3524
|
|
|
3170
|
-
|
|
3171
|
-
|
|
3525
|
+
/** EnumType enum. */
|
|
3526
|
+
enum EnumType {
|
|
3527
|
+
ENUM_TYPE_UNKNOWN = 0,
|
|
3528
|
+
OPEN = 1,
|
|
3529
|
+
CLOSED = 2
|
|
3530
|
+
}
|
|
3172
3531
|
|
|
3173
|
-
|
|
3174
|
-
|
|
3532
|
+
/** RepeatedFieldEncoding enum. */
|
|
3533
|
+
enum RepeatedFieldEncoding {
|
|
3534
|
+
REPEATED_FIELD_ENCODING_UNKNOWN = 0,
|
|
3535
|
+
PACKED = 1,
|
|
3536
|
+
EXPANDED = 2
|
|
3537
|
+
}
|
|
3175
3538
|
|
|
3176
|
-
|
|
3177
|
-
|
|
3539
|
+
/** Utf8Validation enum. */
|
|
3540
|
+
enum Utf8Validation {
|
|
3541
|
+
UTF8_VALIDATION_UNKNOWN = 0,
|
|
3542
|
+
VERIFY = 2,
|
|
3543
|
+
NONE = 3
|
|
3544
|
+
}
|
|
3178
3545
|
|
|
3179
|
-
|
|
3180
|
-
|
|
3546
|
+
/** MessageEncoding enum. */
|
|
3547
|
+
enum MessageEncoding {
|
|
3548
|
+
MESSAGE_ENCODING_UNKNOWN = 0,
|
|
3549
|
+
LENGTH_PREFIXED = 1,
|
|
3550
|
+
DELIMITED = 2
|
|
3551
|
+
}
|
|
3181
3552
|
|
|
3182
|
-
|
|
3183
|
-
|
|
3553
|
+
/** JsonFormat enum. */
|
|
3554
|
+
enum JsonFormat {
|
|
3555
|
+
JSON_FORMAT_UNKNOWN = 0,
|
|
3556
|
+
ALLOW = 1,
|
|
3557
|
+
LEGACY_BEST_EFFORT = 2
|
|
3184
3558
|
}
|
|
3559
|
+
}
|
|
3185
3560
|
|
|
3186
|
-
|
|
3187
|
-
|
|
3561
|
+
/** Properties of a FeatureSetDefaults. */
|
|
3562
|
+
interface IFeatureSetDefaults {
|
|
3188
3563
|
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
* @param [properties] Properties to set
|
|
3192
|
-
*/
|
|
3193
|
-
constructor(properties?: google.protobuf.SourceCodeInfo.ILocation);
|
|
3564
|
+
/** FeatureSetDefaults defaults */
|
|
3565
|
+
defaults?: (google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault[]|null);
|
|
3194
3566
|
|
|
3195
|
-
|
|
3196
|
-
|
|
3567
|
+
/** FeatureSetDefaults minimumEdition */
|
|
3568
|
+
minimumEdition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
|
|
3197
3569
|
|
|
3198
|
-
|
|
3199
|
-
|
|
3570
|
+
/** FeatureSetDefaults maximumEdition */
|
|
3571
|
+
maximumEdition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
|
|
3572
|
+
}
|
|
3200
3573
|
|
|
3201
|
-
|
|
3202
|
-
|
|
3574
|
+
/** Represents a FeatureSetDefaults. */
|
|
3575
|
+
class FeatureSetDefaults implements IFeatureSetDefaults {
|
|
3203
3576
|
|
|
3204
|
-
|
|
3205
|
-
|
|
3577
|
+
/**
|
|
3578
|
+
* Constructs a new FeatureSetDefaults.
|
|
3579
|
+
* @param [properties] Properties to set
|
|
3580
|
+
*/
|
|
3581
|
+
constructor(properties?: google.protobuf.IFeatureSetDefaults);
|
|
3206
3582
|
|
|
3207
|
-
|
|
3208
|
-
|
|
3583
|
+
/** FeatureSetDefaults defaults. */
|
|
3584
|
+
public defaults: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault[];
|
|
3585
|
+
|
|
3586
|
+
/** FeatureSetDefaults minimumEdition. */
|
|
3587
|
+
public minimumEdition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
|
|
3588
|
+
|
|
3589
|
+
/** FeatureSetDefaults maximumEdition. */
|
|
3590
|
+
public maximumEdition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
|
|
3591
|
+
|
|
3592
|
+
/**
|
|
3593
|
+
* Creates a new FeatureSetDefaults instance using the specified properties.
|
|
3594
|
+
* @param [properties] Properties to set
|
|
3595
|
+
* @returns FeatureSetDefaults instance
|
|
3596
|
+
*/
|
|
3597
|
+
public static create(properties?: google.protobuf.IFeatureSetDefaults): google.protobuf.FeatureSetDefaults;
|
|
3598
|
+
|
|
3599
|
+
/**
|
|
3600
|
+
* Encodes the specified FeatureSetDefaults message. Does not implicitly {@link google.protobuf.FeatureSetDefaults.verify|verify} messages.
|
|
3601
|
+
* @param message FeatureSetDefaults message or plain object to encode
|
|
3602
|
+
* @param [writer] Writer to encode to
|
|
3603
|
+
* @returns Writer
|
|
3604
|
+
*/
|
|
3605
|
+
public static encode(message: google.protobuf.IFeatureSetDefaults, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3606
|
+
|
|
3607
|
+
/**
|
|
3608
|
+
* Encodes the specified FeatureSetDefaults message, length delimited. Does not implicitly {@link google.protobuf.FeatureSetDefaults.verify|verify} messages.
|
|
3609
|
+
* @param message FeatureSetDefaults message or plain object to encode
|
|
3610
|
+
* @param [writer] Writer to encode to
|
|
3611
|
+
* @returns Writer
|
|
3612
|
+
*/
|
|
3613
|
+
public static encodeDelimited(message: google.protobuf.IFeatureSetDefaults, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3614
|
+
|
|
3615
|
+
/**
|
|
3616
|
+
* Decodes a FeatureSetDefaults message from the specified reader or buffer.
|
|
3617
|
+
* @param reader Reader or buffer to decode from
|
|
3618
|
+
* @param [length] Message length if known beforehand
|
|
3619
|
+
* @returns FeatureSetDefaults
|
|
3620
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3621
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3622
|
+
*/
|
|
3623
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSetDefaults;
|
|
3624
|
+
|
|
3625
|
+
/**
|
|
3626
|
+
* Decodes a FeatureSetDefaults message from the specified reader or buffer, length delimited.
|
|
3627
|
+
* @param reader Reader or buffer to decode from
|
|
3628
|
+
* @returns FeatureSetDefaults
|
|
3629
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3630
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3631
|
+
*/
|
|
3632
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSetDefaults;
|
|
3633
|
+
|
|
3634
|
+
/**
|
|
3635
|
+
* Verifies a FeatureSetDefaults message.
|
|
3636
|
+
* @param message Plain object to verify
|
|
3637
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3638
|
+
*/
|
|
3639
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3640
|
+
|
|
3641
|
+
/**
|
|
3642
|
+
* Creates a FeatureSetDefaults message from a plain object. Also converts values to their respective internal types.
|
|
3643
|
+
* @param object Plain object
|
|
3644
|
+
* @returns FeatureSetDefaults
|
|
3645
|
+
*/
|
|
3646
|
+
public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSetDefaults;
|
|
3647
|
+
|
|
3648
|
+
/**
|
|
3649
|
+
* Creates a plain object from a FeatureSetDefaults message. Also converts values to other types if specified.
|
|
3650
|
+
* @param message FeatureSetDefaults
|
|
3651
|
+
* @param [options] Conversion options
|
|
3652
|
+
* @returns Plain object
|
|
3653
|
+
*/
|
|
3654
|
+
public static toObject(message: google.protobuf.FeatureSetDefaults, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3655
|
+
|
|
3656
|
+
/**
|
|
3657
|
+
* Converts this FeatureSetDefaults to JSON.
|
|
3658
|
+
* @returns JSON object
|
|
3659
|
+
*/
|
|
3660
|
+
public toJSON(): { [k: string]: any };
|
|
3661
|
+
|
|
3662
|
+
/**
|
|
3663
|
+
* Gets the default type url for FeatureSetDefaults
|
|
3664
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3665
|
+
* @returns The default type url
|
|
3666
|
+
*/
|
|
3667
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3668
|
+
}
|
|
3669
|
+
|
|
3670
|
+
namespace FeatureSetDefaults {
|
|
3671
|
+
|
|
3672
|
+
/** Properties of a FeatureSetEditionDefault. */
|
|
3673
|
+
interface IFeatureSetEditionDefault {
|
|
3674
|
+
|
|
3675
|
+
/** FeatureSetEditionDefault edition */
|
|
3676
|
+
edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
|
|
3677
|
+
|
|
3678
|
+
/** FeatureSetEditionDefault features */
|
|
3679
|
+
features?: (google.protobuf.IFeatureSet|null);
|
|
3680
|
+
}
|
|
3681
|
+
|
|
3682
|
+
/** Represents a FeatureSetEditionDefault. */
|
|
3683
|
+
class FeatureSetEditionDefault implements IFeatureSetEditionDefault {
|
|
3209
3684
|
|
|
3210
3685
|
/**
|
|
3211
|
-
*
|
|
3686
|
+
* Constructs a new FeatureSetEditionDefault.
|
|
3212
3687
|
* @param [properties] Properties to set
|
|
3213
|
-
* @returns Location instance
|
|
3214
3688
|
*/
|
|
3215
|
-
|
|
3689
|
+
constructor(properties?: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault);
|
|
3690
|
+
|
|
3691
|
+
/** FeatureSetEditionDefault edition. */
|
|
3692
|
+
public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
|
|
3693
|
+
|
|
3694
|
+
/** FeatureSetEditionDefault features. */
|
|
3695
|
+
public features?: (google.protobuf.IFeatureSet|null);
|
|
3216
3696
|
|
|
3217
3697
|
/**
|
|
3218
|
-
*
|
|
3219
|
-
* @param
|
|
3698
|
+
* Creates a new FeatureSetEditionDefault instance using the specified properties.
|
|
3699
|
+
* @param [properties] Properties to set
|
|
3700
|
+
* @returns FeatureSetEditionDefault instance
|
|
3701
|
+
*/
|
|
3702
|
+
public static create(properties?: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault;
|
|
3703
|
+
|
|
3704
|
+
/**
|
|
3705
|
+
* Encodes the specified FeatureSetEditionDefault message. Does not implicitly {@link google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.verify|verify} messages.
|
|
3706
|
+
* @param message FeatureSetEditionDefault message or plain object to encode
|
|
3220
3707
|
* @param [writer] Writer to encode to
|
|
3221
3708
|
* @returns Writer
|
|
3222
3709
|
*/
|
|
3223
|
-
public static encode(message: google.protobuf.
|
|
3710
|
+
public static encode(message: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3224
3711
|
|
|
3225
3712
|
/**
|
|
3226
|
-
* Encodes the specified
|
|
3227
|
-
* @param message
|
|
3713
|
+
* Encodes the specified FeatureSetEditionDefault message, length delimited. Does not implicitly {@link google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.verify|verify} messages.
|
|
3714
|
+
* @param message FeatureSetEditionDefault message or plain object to encode
|
|
3228
3715
|
* @param [writer] Writer to encode to
|
|
3229
3716
|
* @returns Writer
|
|
3230
3717
|
*/
|
|
3231
|
-
public static encodeDelimited(message: google.protobuf.
|
|
3718
|
+
public static encodeDelimited(message: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3232
3719
|
|
|
3233
3720
|
/**
|
|
3234
|
-
* Decodes a
|
|
3721
|
+
* Decodes a FeatureSetEditionDefault message from the specified reader or buffer.
|
|
3235
3722
|
* @param reader Reader or buffer to decode from
|
|
3236
3723
|
* @param [length] Message length if known beforehand
|
|
3237
|
-
* @returns
|
|
3724
|
+
* @returns FeatureSetEditionDefault
|
|
3238
3725
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3239
3726
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3240
3727
|
*/
|
|
3241
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.
|
|
3728
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault;
|
|
3242
3729
|
|
|
3243
3730
|
/**
|
|
3244
|
-
* Decodes a
|
|
3731
|
+
* Decodes a FeatureSetEditionDefault message from the specified reader or buffer, length delimited.
|
|
3245
3732
|
* @param reader Reader or buffer to decode from
|
|
3246
|
-
* @returns
|
|
3733
|
+
* @returns FeatureSetEditionDefault
|
|
3247
3734
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3248
3735
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3249
3736
|
*/
|
|
3250
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.
|
|
3737
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault;
|
|
3251
3738
|
|
|
3252
3739
|
/**
|
|
3253
|
-
* Verifies a
|
|
3740
|
+
* Verifies a FeatureSetEditionDefault message.
|
|
3254
3741
|
* @param message Plain object to verify
|
|
3255
3742
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
3256
3743
|
*/
|
|
3257
3744
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
3258
3745
|
|
|
3259
3746
|
/**
|
|
3260
|
-
* Creates a
|
|
3747
|
+
* Creates a FeatureSetEditionDefault message from a plain object. Also converts values to their respective internal types.
|
|
3261
3748
|
* @param object Plain object
|
|
3262
|
-
* @returns
|
|
3749
|
+
* @returns FeatureSetEditionDefault
|
|
3263
3750
|
*/
|
|
3264
|
-
public static fromObject(object: { [k: string]: any }): google.protobuf.
|
|
3751
|
+
public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault;
|
|
3265
3752
|
|
|
3266
3753
|
/**
|
|
3267
|
-
* Creates a plain object from a
|
|
3268
|
-
* @param message
|
|
3754
|
+
* Creates a plain object from a FeatureSetEditionDefault message. Also converts values to other types if specified.
|
|
3755
|
+
* @param message FeatureSetEditionDefault
|
|
3269
3756
|
* @param [options] Conversion options
|
|
3270
3757
|
* @returns Plain object
|
|
3271
3758
|
*/
|
|
3272
|
-
public static toObject(message: google.protobuf.
|
|
3759
|
+
public static toObject(message: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3273
3760
|
|
|
3274
3761
|
/**
|
|
3275
|
-
* Converts this
|
|
3762
|
+
* Converts this FeatureSetEditionDefault to JSON.
|
|
3276
3763
|
* @returns JSON object
|
|
3277
3764
|
*/
|
|
3278
3765
|
public toJSON(): { [k: string]: any };
|
|
3279
3766
|
|
|
3280
3767
|
/**
|
|
3281
|
-
* Gets the default type url for
|
|
3768
|
+
* Gets the default type url for FeatureSetEditionDefault
|
|
3282
3769
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3283
3770
|
* @returns The default type url
|
|
3284
3771
|
*/
|
|
@@ -3286,214 +3773,435 @@ export namespace google {
|
|
|
3286
3773
|
}
|
|
3287
3774
|
}
|
|
3288
3775
|
|
|
3289
|
-
/** Properties of a
|
|
3290
|
-
interface
|
|
3776
|
+
/** Properties of a SourceCodeInfo. */
|
|
3777
|
+
interface ISourceCodeInfo {
|
|
3291
3778
|
|
|
3292
|
-
/**
|
|
3293
|
-
|
|
3779
|
+
/** SourceCodeInfo location */
|
|
3780
|
+
location?: (google.protobuf.SourceCodeInfo.ILocation[]|null);
|
|
3294
3781
|
}
|
|
3295
3782
|
|
|
3296
|
-
/** Represents a
|
|
3297
|
-
class
|
|
3783
|
+
/** Represents a SourceCodeInfo. */
|
|
3784
|
+
class SourceCodeInfo implements ISourceCodeInfo {
|
|
3298
3785
|
|
|
3299
3786
|
/**
|
|
3300
|
-
* Constructs a new
|
|
3787
|
+
* Constructs a new SourceCodeInfo.
|
|
3301
3788
|
* @param [properties] Properties to set
|
|
3302
3789
|
*/
|
|
3303
|
-
constructor(properties?: google.protobuf.
|
|
3790
|
+
constructor(properties?: google.protobuf.ISourceCodeInfo);
|
|
3304
3791
|
|
|
3305
|
-
/**
|
|
3306
|
-
public
|
|
3792
|
+
/** SourceCodeInfo location. */
|
|
3793
|
+
public location: google.protobuf.SourceCodeInfo.ILocation[];
|
|
3307
3794
|
|
|
3308
3795
|
/**
|
|
3309
|
-
* Creates a new
|
|
3796
|
+
* Creates a new SourceCodeInfo instance using the specified properties.
|
|
3310
3797
|
* @param [properties] Properties to set
|
|
3311
|
-
* @returns
|
|
3798
|
+
* @returns SourceCodeInfo instance
|
|
3312
3799
|
*/
|
|
3313
|
-
public static create(properties?: google.protobuf.
|
|
3800
|
+
public static create(properties?: google.protobuf.ISourceCodeInfo): google.protobuf.SourceCodeInfo;
|
|
3314
3801
|
|
|
3315
3802
|
/**
|
|
3316
|
-
* Encodes the specified
|
|
3317
|
-
* @param message
|
|
3803
|
+
* Encodes the specified SourceCodeInfo message. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages.
|
|
3804
|
+
* @param message SourceCodeInfo message or plain object to encode
|
|
3318
3805
|
* @param [writer] Writer to encode to
|
|
3319
3806
|
* @returns Writer
|
|
3320
3807
|
*/
|
|
3321
|
-
public static encode(message: google.protobuf.
|
|
3808
|
+
public static encode(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3322
3809
|
|
|
3323
3810
|
/**
|
|
3324
|
-
* Encodes the specified
|
|
3325
|
-
* @param message
|
|
3811
|
+
* Encodes the specified SourceCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages.
|
|
3812
|
+
* @param message SourceCodeInfo message or plain object to encode
|
|
3326
3813
|
* @param [writer] Writer to encode to
|
|
3327
3814
|
* @returns Writer
|
|
3328
3815
|
*/
|
|
3329
|
-
public static encodeDelimited(message: google.protobuf.
|
|
3816
|
+
public static encodeDelimited(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3330
3817
|
|
|
3331
3818
|
/**
|
|
3332
|
-
* Decodes a
|
|
3819
|
+
* Decodes a SourceCodeInfo message from the specified reader or buffer.
|
|
3333
3820
|
* @param reader Reader or buffer to decode from
|
|
3334
3821
|
* @param [length] Message length if known beforehand
|
|
3335
|
-
* @returns
|
|
3822
|
+
* @returns SourceCodeInfo
|
|
3336
3823
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3337
3824
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3338
3825
|
*/
|
|
3339
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.
|
|
3826
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo;
|
|
3340
3827
|
|
|
3341
3828
|
/**
|
|
3342
|
-
* Decodes a
|
|
3829
|
+
* Decodes a SourceCodeInfo message from the specified reader or buffer, length delimited.
|
|
3343
3830
|
* @param reader Reader or buffer to decode from
|
|
3344
|
-
* @returns
|
|
3831
|
+
* @returns SourceCodeInfo
|
|
3345
3832
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3346
3833
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3347
3834
|
*/
|
|
3348
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.
|
|
3835
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo;
|
|
3349
3836
|
|
|
3350
3837
|
/**
|
|
3351
|
-
* Verifies a
|
|
3838
|
+
* Verifies a SourceCodeInfo message.
|
|
3352
3839
|
* @param message Plain object to verify
|
|
3353
3840
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
3354
3841
|
*/
|
|
3355
3842
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
3356
3843
|
|
|
3357
3844
|
/**
|
|
3358
|
-
* Creates a
|
|
3845
|
+
* Creates a SourceCodeInfo message from a plain object. Also converts values to their respective internal types.
|
|
3359
3846
|
* @param object Plain object
|
|
3360
|
-
* @returns
|
|
3847
|
+
* @returns SourceCodeInfo
|
|
3361
3848
|
*/
|
|
3362
|
-
public static fromObject(object: { [k: string]: any }): google.protobuf.
|
|
3849
|
+
public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo;
|
|
3363
3850
|
|
|
3364
3851
|
/**
|
|
3365
|
-
* Creates a plain object from a
|
|
3366
|
-
* @param message
|
|
3852
|
+
* Creates a plain object from a SourceCodeInfo message. Also converts values to other types if specified.
|
|
3853
|
+
* @param message SourceCodeInfo
|
|
3367
3854
|
* @param [options] Conversion options
|
|
3368
3855
|
* @returns Plain object
|
|
3369
3856
|
*/
|
|
3370
|
-
public static toObject(message: google.protobuf.
|
|
3857
|
+
public static toObject(message: google.protobuf.SourceCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3371
3858
|
|
|
3372
3859
|
/**
|
|
3373
|
-
* Converts this
|
|
3860
|
+
* Converts this SourceCodeInfo to JSON.
|
|
3374
3861
|
* @returns JSON object
|
|
3375
3862
|
*/
|
|
3376
3863
|
public toJSON(): { [k: string]: any };
|
|
3377
3864
|
|
|
3378
3865
|
/**
|
|
3379
|
-
* Gets the default type url for
|
|
3866
|
+
* Gets the default type url for SourceCodeInfo
|
|
3380
3867
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3381
3868
|
* @returns The default type url
|
|
3382
3869
|
*/
|
|
3383
3870
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3384
3871
|
}
|
|
3385
3872
|
|
|
3386
|
-
namespace
|
|
3873
|
+
namespace SourceCodeInfo {
|
|
3387
3874
|
|
|
3388
|
-
/** Properties of
|
|
3389
|
-
interface
|
|
3875
|
+
/** Properties of a Location. */
|
|
3876
|
+
interface ILocation {
|
|
3390
3877
|
|
|
3391
|
-
/**
|
|
3878
|
+
/** Location path */
|
|
3392
3879
|
path?: (number[]|null);
|
|
3393
3880
|
|
|
3394
|
-
/**
|
|
3395
|
-
|
|
3881
|
+
/** Location span */
|
|
3882
|
+
span?: (number[]|null);
|
|
3396
3883
|
|
|
3397
|
-
/**
|
|
3398
|
-
|
|
3884
|
+
/** Location leadingComments */
|
|
3885
|
+
leadingComments?: (string|null);
|
|
3399
3886
|
|
|
3400
|
-
/**
|
|
3401
|
-
|
|
3887
|
+
/** Location trailingComments */
|
|
3888
|
+
trailingComments?: (string|null);
|
|
3402
3889
|
|
|
3403
|
-
/**
|
|
3404
|
-
|
|
3890
|
+
/** Location leadingDetachedComments */
|
|
3891
|
+
leadingDetachedComments?: (string[]|null);
|
|
3405
3892
|
}
|
|
3406
3893
|
|
|
3407
|
-
/** Represents
|
|
3408
|
-
class
|
|
3894
|
+
/** Represents a Location. */
|
|
3895
|
+
class Location implements ILocation {
|
|
3409
3896
|
|
|
3410
3897
|
/**
|
|
3411
|
-
* Constructs a new
|
|
3898
|
+
* Constructs a new Location.
|
|
3412
3899
|
* @param [properties] Properties to set
|
|
3413
3900
|
*/
|
|
3414
|
-
constructor(properties?: google.protobuf.
|
|
3901
|
+
constructor(properties?: google.protobuf.SourceCodeInfo.ILocation);
|
|
3415
3902
|
|
|
3416
|
-
/**
|
|
3903
|
+
/** Location path. */
|
|
3417
3904
|
public path: number[];
|
|
3418
3905
|
|
|
3419
|
-
/**
|
|
3420
|
-
public
|
|
3906
|
+
/** Location span. */
|
|
3907
|
+
public span: number[];
|
|
3421
3908
|
|
|
3422
|
-
/**
|
|
3423
|
-
public
|
|
3909
|
+
/** Location leadingComments. */
|
|
3910
|
+
public leadingComments: string;
|
|
3424
3911
|
|
|
3425
|
-
/**
|
|
3426
|
-
public
|
|
3912
|
+
/** Location trailingComments. */
|
|
3913
|
+
public trailingComments: string;
|
|
3427
3914
|
|
|
3428
|
-
/**
|
|
3429
|
-
public
|
|
3915
|
+
/** Location leadingDetachedComments. */
|
|
3916
|
+
public leadingDetachedComments: string[];
|
|
3430
3917
|
|
|
3431
3918
|
/**
|
|
3432
|
-
* Creates a new
|
|
3919
|
+
* Creates a new Location instance using the specified properties.
|
|
3433
3920
|
* @param [properties] Properties to set
|
|
3434
|
-
* @returns
|
|
3921
|
+
* @returns Location instance
|
|
3435
3922
|
*/
|
|
3436
|
-
public static create(properties?: google.protobuf.
|
|
3923
|
+
public static create(properties?: google.protobuf.SourceCodeInfo.ILocation): google.protobuf.SourceCodeInfo.Location;
|
|
3437
3924
|
|
|
3438
3925
|
/**
|
|
3439
|
-
* Encodes the specified
|
|
3440
|
-
* @param message
|
|
3926
|
+
* Encodes the specified Location message. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages.
|
|
3927
|
+
* @param message Location message or plain object to encode
|
|
3441
3928
|
* @param [writer] Writer to encode to
|
|
3442
3929
|
* @returns Writer
|
|
3443
3930
|
*/
|
|
3444
|
-
public static encode(message: google.protobuf.
|
|
3931
|
+
public static encode(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3445
3932
|
|
|
3446
3933
|
/**
|
|
3447
|
-
* Encodes the specified
|
|
3448
|
-
* @param message
|
|
3934
|
+
* Encodes the specified Location message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages.
|
|
3935
|
+
* @param message Location message or plain object to encode
|
|
3449
3936
|
* @param [writer] Writer to encode to
|
|
3450
3937
|
* @returns Writer
|
|
3451
3938
|
*/
|
|
3452
|
-
public static encodeDelimited(message: google.protobuf.
|
|
3939
|
+
public static encodeDelimited(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3453
3940
|
|
|
3454
3941
|
/**
|
|
3455
|
-
* Decodes
|
|
3942
|
+
* Decodes a Location message from the specified reader or buffer.
|
|
3456
3943
|
* @param reader Reader or buffer to decode from
|
|
3457
3944
|
* @param [length] Message length if known beforehand
|
|
3458
|
-
* @returns
|
|
3945
|
+
* @returns Location
|
|
3459
3946
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3460
3947
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3461
3948
|
*/
|
|
3462
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.
|
|
3949
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo.Location;
|
|
3463
3950
|
|
|
3464
3951
|
/**
|
|
3465
|
-
* Decodes
|
|
3952
|
+
* Decodes a Location message from the specified reader or buffer, length delimited.
|
|
3466
3953
|
* @param reader Reader or buffer to decode from
|
|
3467
|
-
* @returns
|
|
3954
|
+
* @returns Location
|
|
3468
3955
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3469
3956
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3470
3957
|
*/
|
|
3471
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.
|
|
3958
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo.Location;
|
|
3472
3959
|
|
|
3473
3960
|
/**
|
|
3474
|
-
* Verifies
|
|
3961
|
+
* Verifies a Location message.
|
|
3475
3962
|
* @param message Plain object to verify
|
|
3476
3963
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
3477
3964
|
*/
|
|
3478
3965
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
3479
3966
|
|
|
3480
3967
|
/**
|
|
3481
|
-
* Creates
|
|
3968
|
+
* Creates a Location message from a plain object. Also converts values to their respective internal types.
|
|
3482
3969
|
* @param object Plain object
|
|
3483
|
-
* @returns
|
|
3970
|
+
* @returns Location
|
|
3484
3971
|
*/
|
|
3485
|
-
public static fromObject(object: { [k: string]: any }): google.protobuf.
|
|
3972
|
+
public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo.Location;
|
|
3486
3973
|
|
|
3487
3974
|
/**
|
|
3488
|
-
* Creates a plain object from
|
|
3489
|
-
* @param message
|
|
3975
|
+
* Creates a plain object from a Location message. Also converts values to other types if specified.
|
|
3976
|
+
* @param message Location
|
|
3490
3977
|
* @param [options] Conversion options
|
|
3491
3978
|
* @returns Plain object
|
|
3492
3979
|
*/
|
|
3493
|
-
public static toObject(message: google.protobuf.
|
|
3980
|
+
public static toObject(message: google.protobuf.SourceCodeInfo.Location, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3494
3981
|
|
|
3495
3982
|
/**
|
|
3496
|
-
* Converts this
|
|
3983
|
+
* Converts this Location to JSON.
|
|
3984
|
+
* @returns JSON object
|
|
3985
|
+
*/
|
|
3986
|
+
public toJSON(): { [k: string]: any };
|
|
3987
|
+
|
|
3988
|
+
/**
|
|
3989
|
+
* Gets the default type url for Location
|
|
3990
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3991
|
+
* @returns The default type url
|
|
3992
|
+
*/
|
|
3993
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3994
|
+
}
|
|
3995
|
+
}
|
|
3996
|
+
|
|
3997
|
+
/** Properties of a GeneratedCodeInfo. */
|
|
3998
|
+
interface IGeneratedCodeInfo {
|
|
3999
|
+
|
|
4000
|
+
/** GeneratedCodeInfo annotation */
|
|
4001
|
+
annotation?: (google.protobuf.GeneratedCodeInfo.IAnnotation[]|null);
|
|
4002
|
+
}
|
|
4003
|
+
|
|
4004
|
+
/** Represents a GeneratedCodeInfo. */
|
|
4005
|
+
class GeneratedCodeInfo implements IGeneratedCodeInfo {
|
|
4006
|
+
|
|
4007
|
+
/**
|
|
4008
|
+
* Constructs a new GeneratedCodeInfo.
|
|
4009
|
+
* @param [properties] Properties to set
|
|
4010
|
+
*/
|
|
4011
|
+
constructor(properties?: google.protobuf.IGeneratedCodeInfo);
|
|
4012
|
+
|
|
4013
|
+
/** GeneratedCodeInfo annotation. */
|
|
4014
|
+
public annotation: google.protobuf.GeneratedCodeInfo.IAnnotation[];
|
|
4015
|
+
|
|
4016
|
+
/**
|
|
4017
|
+
* Creates a new GeneratedCodeInfo instance using the specified properties.
|
|
4018
|
+
* @param [properties] Properties to set
|
|
4019
|
+
* @returns GeneratedCodeInfo instance
|
|
4020
|
+
*/
|
|
4021
|
+
public static create(properties?: google.protobuf.IGeneratedCodeInfo): google.protobuf.GeneratedCodeInfo;
|
|
4022
|
+
|
|
4023
|
+
/**
|
|
4024
|
+
* Encodes the specified GeneratedCodeInfo message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages.
|
|
4025
|
+
* @param message GeneratedCodeInfo message or plain object to encode
|
|
4026
|
+
* @param [writer] Writer to encode to
|
|
4027
|
+
* @returns Writer
|
|
4028
|
+
*/
|
|
4029
|
+
public static encode(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4030
|
+
|
|
4031
|
+
/**
|
|
4032
|
+
* Encodes the specified GeneratedCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages.
|
|
4033
|
+
* @param message GeneratedCodeInfo message or plain object to encode
|
|
4034
|
+
* @param [writer] Writer to encode to
|
|
4035
|
+
* @returns Writer
|
|
4036
|
+
*/
|
|
4037
|
+
public static encodeDelimited(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4038
|
+
|
|
4039
|
+
/**
|
|
4040
|
+
* Decodes a GeneratedCodeInfo message from the specified reader or buffer.
|
|
4041
|
+
* @param reader Reader or buffer to decode from
|
|
4042
|
+
* @param [length] Message length if known beforehand
|
|
4043
|
+
* @returns GeneratedCodeInfo
|
|
4044
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4045
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4046
|
+
*/
|
|
4047
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo;
|
|
4048
|
+
|
|
4049
|
+
/**
|
|
4050
|
+
* Decodes a GeneratedCodeInfo message from the specified reader or buffer, length delimited.
|
|
4051
|
+
* @param reader Reader or buffer to decode from
|
|
4052
|
+
* @returns GeneratedCodeInfo
|
|
4053
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4054
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4055
|
+
*/
|
|
4056
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo;
|
|
4057
|
+
|
|
4058
|
+
/**
|
|
4059
|
+
* Verifies a GeneratedCodeInfo message.
|
|
4060
|
+
* @param message Plain object to verify
|
|
4061
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
4062
|
+
*/
|
|
4063
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
4064
|
+
|
|
4065
|
+
/**
|
|
4066
|
+
* Creates a GeneratedCodeInfo message from a plain object. Also converts values to their respective internal types.
|
|
4067
|
+
* @param object Plain object
|
|
4068
|
+
* @returns GeneratedCodeInfo
|
|
4069
|
+
*/
|
|
4070
|
+
public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo;
|
|
4071
|
+
|
|
4072
|
+
/**
|
|
4073
|
+
* Creates a plain object from a GeneratedCodeInfo message. Also converts values to other types if specified.
|
|
4074
|
+
* @param message GeneratedCodeInfo
|
|
4075
|
+
* @param [options] Conversion options
|
|
4076
|
+
* @returns Plain object
|
|
4077
|
+
*/
|
|
4078
|
+
public static toObject(message: google.protobuf.GeneratedCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4079
|
+
|
|
4080
|
+
/**
|
|
4081
|
+
* Converts this GeneratedCodeInfo to JSON.
|
|
4082
|
+
* @returns JSON object
|
|
4083
|
+
*/
|
|
4084
|
+
public toJSON(): { [k: string]: any };
|
|
4085
|
+
|
|
4086
|
+
/**
|
|
4087
|
+
* Gets the default type url for GeneratedCodeInfo
|
|
4088
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
4089
|
+
* @returns The default type url
|
|
4090
|
+
*/
|
|
4091
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
4092
|
+
}
|
|
4093
|
+
|
|
4094
|
+
namespace GeneratedCodeInfo {
|
|
4095
|
+
|
|
4096
|
+
/** Properties of an Annotation. */
|
|
4097
|
+
interface IAnnotation {
|
|
4098
|
+
|
|
4099
|
+
/** Annotation path */
|
|
4100
|
+
path?: (number[]|null);
|
|
4101
|
+
|
|
4102
|
+
/** Annotation sourceFile */
|
|
4103
|
+
sourceFile?: (string|null);
|
|
4104
|
+
|
|
4105
|
+
/** Annotation begin */
|
|
4106
|
+
begin?: (number|null);
|
|
4107
|
+
|
|
4108
|
+
/** Annotation end */
|
|
4109
|
+
end?: (number|null);
|
|
4110
|
+
|
|
4111
|
+
/** Annotation semantic */
|
|
4112
|
+
semantic?: (google.protobuf.GeneratedCodeInfo.Annotation.Semantic|keyof typeof google.protobuf.GeneratedCodeInfo.Annotation.Semantic|null);
|
|
4113
|
+
}
|
|
4114
|
+
|
|
4115
|
+
/** Represents an Annotation. */
|
|
4116
|
+
class Annotation implements IAnnotation {
|
|
4117
|
+
|
|
4118
|
+
/**
|
|
4119
|
+
* Constructs a new Annotation.
|
|
4120
|
+
* @param [properties] Properties to set
|
|
4121
|
+
*/
|
|
4122
|
+
constructor(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation);
|
|
4123
|
+
|
|
4124
|
+
/** Annotation path. */
|
|
4125
|
+
public path: number[];
|
|
4126
|
+
|
|
4127
|
+
/** Annotation sourceFile. */
|
|
4128
|
+
public sourceFile: string;
|
|
4129
|
+
|
|
4130
|
+
/** Annotation begin. */
|
|
4131
|
+
public begin: number;
|
|
4132
|
+
|
|
4133
|
+
/** Annotation end. */
|
|
4134
|
+
public end: number;
|
|
4135
|
+
|
|
4136
|
+
/** Annotation semantic. */
|
|
4137
|
+
public semantic: (google.protobuf.GeneratedCodeInfo.Annotation.Semantic|keyof typeof google.protobuf.GeneratedCodeInfo.Annotation.Semantic);
|
|
4138
|
+
|
|
4139
|
+
/**
|
|
4140
|
+
* Creates a new Annotation instance using the specified properties.
|
|
4141
|
+
* @param [properties] Properties to set
|
|
4142
|
+
* @returns Annotation instance
|
|
4143
|
+
*/
|
|
4144
|
+
public static create(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation): google.protobuf.GeneratedCodeInfo.Annotation;
|
|
4145
|
+
|
|
4146
|
+
/**
|
|
4147
|
+
* Encodes the specified Annotation message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages.
|
|
4148
|
+
* @param message Annotation message or plain object to encode
|
|
4149
|
+
* @param [writer] Writer to encode to
|
|
4150
|
+
* @returns Writer
|
|
4151
|
+
*/
|
|
4152
|
+
public static encode(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4153
|
+
|
|
4154
|
+
/**
|
|
4155
|
+
* Encodes the specified Annotation message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages.
|
|
4156
|
+
* @param message Annotation message or plain object to encode
|
|
4157
|
+
* @param [writer] Writer to encode to
|
|
4158
|
+
* @returns Writer
|
|
4159
|
+
*/
|
|
4160
|
+
public static encodeDelimited(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4161
|
+
|
|
4162
|
+
/**
|
|
4163
|
+
* Decodes an Annotation message from the specified reader or buffer.
|
|
4164
|
+
* @param reader Reader or buffer to decode from
|
|
4165
|
+
* @param [length] Message length if known beforehand
|
|
4166
|
+
* @returns Annotation
|
|
4167
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4168
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4169
|
+
*/
|
|
4170
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo.Annotation;
|
|
4171
|
+
|
|
4172
|
+
/**
|
|
4173
|
+
* Decodes an Annotation message from the specified reader or buffer, length delimited.
|
|
4174
|
+
* @param reader Reader or buffer to decode from
|
|
4175
|
+
* @returns Annotation
|
|
4176
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4177
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4178
|
+
*/
|
|
4179
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo.Annotation;
|
|
4180
|
+
|
|
4181
|
+
/**
|
|
4182
|
+
* Verifies an Annotation message.
|
|
4183
|
+
* @param message Plain object to verify
|
|
4184
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
4185
|
+
*/
|
|
4186
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
4187
|
+
|
|
4188
|
+
/**
|
|
4189
|
+
* Creates an Annotation message from a plain object. Also converts values to their respective internal types.
|
|
4190
|
+
* @param object Plain object
|
|
4191
|
+
* @returns Annotation
|
|
4192
|
+
*/
|
|
4193
|
+
public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo.Annotation;
|
|
4194
|
+
|
|
4195
|
+
/**
|
|
4196
|
+
* Creates a plain object from an Annotation message. Also converts values to other types if specified.
|
|
4197
|
+
* @param message Annotation
|
|
4198
|
+
* @param [options] Conversion options
|
|
4199
|
+
* @returns Plain object
|
|
4200
|
+
*/
|
|
4201
|
+
public static toObject(message: google.protobuf.GeneratedCodeInfo.Annotation, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4202
|
+
|
|
4203
|
+
/**
|
|
4204
|
+
* Converts this Annotation to JSON.
|
|
3497
4205
|
* @returns JSON object
|
|
3498
4206
|
*/
|
|
3499
4207
|
public toJSON(): { [k: string]: any };
|
|
@@ -7058,6 +7766,20 @@ export namespace google {
|
|
|
7058
7766
|
* @returns Promise
|
|
7059
7767
|
*/
|
|
7060
7768
|
public getPlace(request: google.maps.places.v1.IGetPlaceRequest): Promise<google.maps.places.v1.Place>;
|
|
7769
|
+
|
|
7770
|
+
/**
|
|
7771
|
+
* Calls AutocompletePlaces.
|
|
7772
|
+
* @param request AutocompletePlacesRequest message or plain object
|
|
7773
|
+
* @param callback Node-style callback called with the error, if any, and AutocompletePlacesResponse
|
|
7774
|
+
*/
|
|
7775
|
+
public autocompletePlaces(request: google.maps.places.v1.IAutocompletePlacesRequest, callback: google.maps.places.v1.Places.AutocompletePlacesCallback): void;
|
|
7776
|
+
|
|
7777
|
+
/**
|
|
7778
|
+
* Calls AutocompletePlaces.
|
|
7779
|
+
* @param request AutocompletePlacesRequest message or plain object
|
|
7780
|
+
* @returns Promise
|
|
7781
|
+
*/
|
|
7782
|
+
public autocompletePlaces(request: google.maps.places.v1.IAutocompletePlacesRequest): Promise<google.maps.places.v1.AutocompletePlacesResponse>;
|
|
7061
7783
|
}
|
|
7062
7784
|
|
|
7063
7785
|
namespace Places {
|
|
@@ -7089,6 +7811,13 @@ export namespace google {
|
|
|
7089
7811
|
* @param [response] Place
|
|
7090
7812
|
*/
|
|
7091
7813
|
type GetPlaceCallback = (error: (Error|null), response?: google.maps.places.v1.Place) => void;
|
|
7814
|
+
|
|
7815
|
+
/**
|
|
7816
|
+
* Callback as used by {@link google.maps.places.v1.Places|autocompletePlaces}.
|
|
7817
|
+
* @param error Error, if any
|
|
7818
|
+
* @param [response] AutocompletePlacesResponse
|
|
7819
|
+
*/
|
|
7820
|
+
type AutocompletePlacesCallback = (error: (Error|null), response?: google.maps.places.v1.AutocompletePlacesResponse) => void;
|
|
7092
7821
|
}
|
|
7093
7822
|
|
|
7094
7823
|
/** Properties of a SearchNearbyRequest. */
|
|
@@ -7481,6 +8210,9 @@ export namespace google {
|
|
|
7481
8210
|
|
|
7482
8211
|
/** SearchTextRequest locationRestriction */
|
|
7483
8212
|
locationRestriction?: (google.maps.places.v1.SearchTextRequest.ILocationRestriction|null);
|
|
8213
|
+
|
|
8214
|
+
/** SearchTextRequest evOptions */
|
|
8215
|
+
evOptions?: (google.maps.places.v1.SearchTextRequest.IEVOptions|null);
|
|
7484
8216
|
}
|
|
7485
8217
|
|
|
7486
8218
|
/** Represents a SearchTextRequest. */
|
|
@@ -7528,6 +8260,9 @@ export namespace google {
|
|
|
7528
8260
|
/** SearchTextRequest locationRestriction. */
|
|
7529
8261
|
public locationRestriction?: (google.maps.places.v1.SearchTextRequest.ILocationRestriction|null);
|
|
7530
8262
|
|
|
8263
|
+
/** SearchTextRequest evOptions. */
|
|
8264
|
+
public evOptions?: (google.maps.places.v1.SearchTextRequest.IEVOptions|null);
|
|
8265
|
+
|
|
7531
8266
|
/**
|
|
7532
8267
|
* Creates a new SearchTextRequest instance using the specified properties.
|
|
7533
8268
|
* @param [properties] Properties to set
|
|
@@ -7820,30 +8555,133 @@ export namespace google {
|
|
|
7820
8555
|
*/
|
|
7821
8556
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
7822
8557
|
}
|
|
7823
|
-
}
|
|
7824
8558
|
|
|
7825
|
-
|
|
7826
|
-
|
|
8559
|
+
/** Properties of a EVOptions. */
|
|
8560
|
+
interface IEVOptions {
|
|
7827
8561
|
|
|
7828
|
-
|
|
7829
|
-
|
|
7830
|
-
}
|
|
8562
|
+
/** EVOptions minimumChargingRateKw */
|
|
8563
|
+
minimumChargingRateKw?: (number|null);
|
|
7831
8564
|
|
|
7832
|
-
|
|
7833
|
-
|
|
8565
|
+
/** EVOptions connectorTypes */
|
|
8566
|
+
connectorTypes?: (google.maps.places.v1.EVConnectorType[]|null);
|
|
8567
|
+
}
|
|
7834
8568
|
|
|
7835
|
-
/**
|
|
7836
|
-
|
|
7837
|
-
* @param [properties] Properties to set
|
|
7838
|
-
*/
|
|
7839
|
-
constructor(properties?: google.maps.places.v1.ISearchTextResponse);
|
|
8569
|
+
/** Represents a EVOptions. */
|
|
8570
|
+
class EVOptions implements IEVOptions {
|
|
7840
8571
|
|
|
7841
|
-
|
|
7842
|
-
|
|
8572
|
+
/**
|
|
8573
|
+
* Constructs a new EVOptions.
|
|
8574
|
+
* @param [properties] Properties to set
|
|
8575
|
+
*/
|
|
8576
|
+
constructor(properties?: google.maps.places.v1.SearchTextRequest.IEVOptions);
|
|
7843
8577
|
|
|
7844
|
-
|
|
7845
|
-
|
|
7846
|
-
|
|
8578
|
+
/** EVOptions minimumChargingRateKw. */
|
|
8579
|
+
public minimumChargingRateKw: number;
|
|
8580
|
+
|
|
8581
|
+
/** EVOptions connectorTypes. */
|
|
8582
|
+
public connectorTypes: google.maps.places.v1.EVConnectorType[];
|
|
8583
|
+
|
|
8584
|
+
/**
|
|
8585
|
+
* Creates a new EVOptions instance using the specified properties.
|
|
8586
|
+
* @param [properties] Properties to set
|
|
8587
|
+
* @returns EVOptions instance
|
|
8588
|
+
*/
|
|
8589
|
+
public static create(properties?: google.maps.places.v1.SearchTextRequest.IEVOptions): google.maps.places.v1.SearchTextRequest.EVOptions;
|
|
8590
|
+
|
|
8591
|
+
/**
|
|
8592
|
+
* Encodes the specified EVOptions message. Does not implicitly {@link google.maps.places.v1.SearchTextRequest.EVOptions.verify|verify} messages.
|
|
8593
|
+
* @param message EVOptions message or plain object to encode
|
|
8594
|
+
* @param [writer] Writer to encode to
|
|
8595
|
+
* @returns Writer
|
|
8596
|
+
*/
|
|
8597
|
+
public static encode(message: google.maps.places.v1.SearchTextRequest.IEVOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8598
|
+
|
|
8599
|
+
/**
|
|
8600
|
+
* Encodes the specified EVOptions message, length delimited. Does not implicitly {@link google.maps.places.v1.SearchTextRequest.EVOptions.verify|verify} messages.
|
|
8601
|
+
* @param message EVOptions message or plain object to encode
|
|
8602
|
+
* @param [writer] Writer to encode to
|
|
8603
|
+
* @returns Writer
|
|
8604
|
+
*/
|
|
8605
|
+
public static encodeDelimited(message: google.maps.places.v1.SearchTextRequest.IEVOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8606
|
+
|
|
8607
|
+
/**
|
|
8608
|
+
* Decodes a EVOptions message from the specified reader or buffer.
|
|
8609
|
+
* @param reader Reader or buffer to decode from
|
|
8610
|
+
* @param [length] Message length if known beforehand
|
|
8611
|
+
* @returns EVOptions
|
|
8612
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8613
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8614
|
+
*/
|
|
8615
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.SearchTextRequest.EVOptions;
|
|
8616
|
+
|
|
8617
|
+
/**
|
|
8618
|
+
* Decodes a EVOptions message from the specified reader or buffer, length delimited.
|
|
8619
|
+
* @param reader Reader or buffer to decode from
|
|
8620
|
+
* @returns EVOptions
|
|
8621
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8622
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8623
|
+
*/
|
|
8624
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.SearchTextRequest.EVOptions;
|
|
8625
|
+
|
|
8626
|
+
/**
|
|
8627
|
+
* Verifies a EVOptions message.
|
|
8628
|
+
* @param message Plain object to verify
|
|
8629
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
8630
|
+
*/
|
|
8631
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
8632
|
+
|
|
8633
|
+
/**
|
|
8634
|
+
* Creates a EVOptions message from a plain object. Also converts values to their respective internal types.
|
|
8635
|
+
* @param object Plain object
|
|
8636
|
+
* @returns EVOptions
|
|
8637
|
+
*/
|
|
8638
|
+
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.SearchTextRequest.EVOptions;
|
|
8639
|
+
|
|
8640
|
+
/**
|
|
8641
|
+
* Creates a plain object from a EVOptions message. Also converts values to other types if specified.
|
|
8642
|
+
* @param message EVOptions
|
|
8643
|
+
* @param [options] Conversion options
|
|
8644
|
+
* @returns Plain object
|
|
8645
|
+
*/
|
|
8646
|
+
public static toObject(message: google.maps.places.v1.SearchTextRequest.EVOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
8647
|
+
|
|
8648
|
+
/**
|
|
8649
|
+
* Converts this EVOptions to JSON.
|
|
8650
|
+
* @returns JSON object
|
|
8651
|
+
*/
|
|
8652
|
+
public toJSON(): { [k: string]: any };
|
|
8653
|
+
|
|
8654
|
+
/**
|
|
8655
|
+
* Gets the default type url for EVOptions
|
|
8656
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
8657
|
+
* @returns The default type url
|
|
8658
|
+
*/
|
|
8659
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
8660
|
+
}
|
|
8661
|
+
}
|
|
8662
|
+
|
|
8663
|
+
/** Properties of a SearchTextResponse. */
|
|
8664
|
+
interface ISearchTextResponse {
|
|
8665
|
+
|
|
8666
|
+
/** SearchTextResponse places */
|
|
8667
|
+
places?: (google.maps.places.v1.IPlace[]|null);
|
|
8668
|
+
}
|
|
8669
|
+
|
|
8670
|
+
/** Represents a SearchTextResponse. */
|
|
8671
|
+
class SearchTextResponse implements ISearchTextResponse {
|
|
8672
|
+
|
|
8673
|
+
/**
|
|
8674
|
+
* Constructs a new SearchTextResponse.
|
|
8675
|
+
* @param [properties] Properties to set
|
|
8676
|
+
*/
|
|
8677
|
+
constructor(properties?: google.maps.places.v1.ISearchTextResponse);
|
|
8678
|
+
|
|
8679
|
+
/** SearchTextResponse places. */
|
|
8680
|
+
public places: google.maps.places.v1.IPlace[];
|
|
8681
|
+
|
|
8682
|
+
/**
|
|
8683
|
+
* Creates a new SearchTextResponse instance using the specified properties.
|
|
8684
|
+
* @param [properties] Properties to set
|
|
7847
8685
|
* @returns SearchTextResponse instance
|
|
7848
8686
|
*/
|
|
7849
8687
|
public static create(properties?: google.maps.places.v1.ISearchTextResponse): google.maps.places.v1.SearchTextResponse;
|
|
@@ -8074,176 +8912,1302 @@ export namespace google {
|
|
|
8074
8912
|
*/
|
|
8075
8913
|
public static encode(message: google.maps.places.v1.IPhotoMedia, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8076
8914
|
|
|
8077
|
-
/**
|
|
8078
|
-
* Encodes the specified PhotoMedia message, length delimited. Does not implicitly {@link google.maps.places.v1.PhotoMedia.verify|verify} messages.
|
|
8079
|
-
* @param message PhotoMedia message or plain object to encode
|
|
8080
|
-
* @param [writer] Writer to encode to
|
|
8081
|
-
* @returns Writer
|
|
8082
|
-
*/
|
|
8083
|
-
public static encodeDelimited(message: google.maps.places.v1.IPhotoMedia, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8915
|
+
/**
|
|
8916
|
+
* Encodes the specified PhotoMedia message, length delimited. Does not implicitly {@link google.maps.places.v1.PhotoMedia.verify|verify} messages.
|
|
8917
|
+
* @param message PhotoMedia message or plain object to encode
|
|
8918
|
+
* @param [writer] Writer to encode to
|
|
8919
|
+
* @returns Writer
|
|
8920
|
+
*/
|
|
8921
|
+
public static encodeDelimited(message: google.maps.places.v1.IPhotoMedia, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8922
|
+
|
|
8923
|
+
/**
|
|
8924
|
+
* Decodes a PhotoMedia message from the specified reader or buffer.
|
|
8925
|
+
* @param reader Reader or buffer to decode from
|
|
8926
|
+
* @param [length] Message length if known beforehand
|
|
8927
|
+
* @returns PhotoMedia
|
|
8928
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8929
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8930
|
+
*/
|
|
8931
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.PhotoMedia;
|
|
8932
|
+
|
|
8933
|
+
/**
|
|
8934
|
+
* Decodes a PhotoMedia message from the specified reader or buffer, length delimited.
|
|
8935
|
+
* @param reader Reader or buffer to decode from
|
|
8936
|
+
* @returns PhotoMedia
|
|
8937
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8938
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8939
|
+
*/
|
|
8940
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.PhotoMedia;
|
|
8941
|
+
|
|
8942
|
+
/**
|
|
8943
|
+
* Verifies a PhotoMedia message.
|
|
8944
|
+
* @param message Plain object to verify
|
|
8945
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
8946
|
+
*/
|
|
8947
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
8948
|
+
|
|
8949
|
+
/**
|
|
8950
|
+
* Creates a PhotoMedia message from a plain object. Also converts values to their respective internal types.
|
|
8951
|
+
* @param object Plain object
|
|
8952
|
+
* @returns PhotoMedia
|
|
8953
|
+
*/
|
|
8954
|
+
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.PhotoMedia;
|
|
8955
|
+
|
|
8956
|
+
/**
|
|
8957
|
+
* Creates a plain object from a PhotoMedia message. Also converts values to other types if specified.
|
|
8958
|
+
* @param message PhotoMedia
|
|
8959
|
+
* @param [options] Conversion options
|
|
8960
|
+
* @returns Plain object
|
|
8961
|
+
*/
|
|
8962
|
+
public static toObject(message: google.maps.places.v1.PhotoMedia, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
8963
|
+
|
|
8964
|
+
/**
|
|
8965
|
+
* Converts this PhotoMedia to JSON.
|
|
8966
|
+
* @returns JSON object
|
|
8967
|
+
*/
|
|
8968
|
+
public toJSON(): { [k: string]: any };
|
|
8969
|
+
|
|
8970
|
+
/**
|
|
8971
|
+
* Gets the default type url for PhotoMedia
|
|
8972
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
8973
|
+
* @returns The default type url
|
|
8974
|
+
*/
|
|
8975
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
8976
|
+
}
|
|
8977
|
+
|
|
8978
|
+
/** Properties of a GetPlaceRequest. */
|
|
8979
|
+
interface IGetPlaceRequest {
|
|
8980
|
+
|
|
8981
|
+
/** GetPlaceRequest name */
|
|
8982
|
+
name?: (string|null);
|
|
8983
|
+
|
|
8984
|
+
/** GetPlaceRequest languageCode */
|
|
8985
|
+
languageCode?: (string|null);
|
|
8986
|
+
|
|
8987
|
+
/** GetPlaceRequest regionCode */
|
|
8988
|
+
regionCode?: (string|null);
|
|
8989
|
+
|
|
8990
|
+
/** GetPlaceRequest sessionToken */
|
|
8991
|
+
sessionToken?: (string|null);
|
|
8992
|
+
}
|
|
8993
|
+
|
|
8994
|
+
/** Represents a GetPlaceRequest. */
|
|
8995
|
+
class GetPlaceRequest implements IGetPlaceRequest {
|
|
8996
|
+
|
|
8997
|
+
/**
|
|
8998
|
+
* Constructs a new GetPlaceRequest.
|
|
8999
|
+
* @param [properties] Properties to set
|
|
9000
|
+
*/
|
|
9001
|
+
constructor(properties?: google.maps.places.v1.IGetPlaceRequest);
|
|
9002
|
+
|
|
9003
|
+
/** GetPlaceRequest name. */
|
|
9004
|
+
public name: string;
|
|
9005
|
+
|
|
9006
|
+
/** GetPlaceRequest languageCode. */
|
|
9007
|
+
public languageCode: string;
|
|
9008
|
+
|
|
9009
|
+
/** GetPlaceRequest regionCode. */
|
|
9010
|
+
public regionCode: string;
|
|
9011
|
+
|
|
9012
|
+
/** GetPlaceRequest sessionToken. */
|
|
9013
|
+
public sessionToken: string;
|
|
9014
|
+
|
|
9015
|
+
/**
|
|
9016
|
+
* Creates a new GetPlaceRequest instance using the specified properties.
|
|
9017
|
+
* @param [properties] Properties to set
|
|
9018
|
+
* @returns GetPlaceRequest instance
|
|
9019
|
+
*/
|
|
9020
|
+
public static create(properties?: google.maps.places.v1.IGetPlaceRequest): google.maps.places.v1.GetPlaceRequest;
|
|
9021
|
+
|
|
9022
|
+
/**
|
|
9023
|
+
* Encodes the specified GetPlaceRequest message. Does not implicitly {@link google.maps.places.v1.GetPlaceRequest.verify|verify} messages.
|
|
9024
|
+
* @param message GetPlaceRequest message or plain object to encode
|
|
9025
|
+
* @param [writer] Writer to encode to
|
|
9026
|
+
* @returns Writer
|
|
9027
|
+
*/
|
|
9028
|
+
public static encode(message: google.maps.places.v1.IGetPlaceRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9029
|
+
|
|
9030
|
+
/**
|
|
9031
|
+
* Encodes the specified GetPlaceRequest message, length delimited. Does not implicitly {@link google.maps.places.v1.GetPlaceRequest.verify|verify} messages.
|
|
9032
|
+
* @param message GetPlaceRequest message or plain object to encode
|
|
9033
|
+
* @param [writer] Writer to encode to
|
|
9034
|
+
* @returns Writer
|
|
9035
|
+
*/
|
|
9036
|
+
public static encodeDelimited(message: google.maps.places.v1.IGetPlaceRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9037
|
+
|
|
9038
|
+
/**
|
|
9039
|
+
* Decodes a GetPlaceRequest message from the specified reader or buffer.
|
|
9040
|
+
* @param reader Reader or buffer to decode from
|
|
9041
|
+
* @param [length] Message length if known beforehand
|
|
9042
|
+
* @returns GetPlaceRequest
|
|
9043
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9044
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9045
|
+
*/
|
|
9046
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.GetPlaceRequest;
|
|
9047
|
+
|
|
9048
|
+
/**
|
|
9049
|
+
* Decodes a GetPlaceRequest message from the specified reader or buffer, length delimited.
|
|
9050
|
+
* @param reader Reader or buffer to decode from
|
|
9051
|
+
* @returns GetPlaceRequest
|
|
9052
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9053
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9054
|
+
*/
|
|
9055
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.GetPlaceRequest;
|
|
9056
|
+
|
|
9057
|
+
/**
|
|
9058
|
+
* Verifies a GetPlaceRequest message.
|
|
9059
|
+
* @param message Plain object to verify
|
|
9060
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
9061
|
+
*/
|
|
9062
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
9063
|
+
|
|
9064
|
+
/**
|
|
9065
|
+
* Creates a GetPlaceRequest message from a plain object. Also converts values to their respective internal types.
|
|
9066
|
+
* @param object Plain object
|
|
9067
|
+
* @returns GetPlaceRequest
|
|
9068
|
+
*/
|
|
9069
|
+
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.GetPlaceRequest;
|
|
9070
|
+
|
|
9071
|
+
/**
|
|
9072
|
+
* Creates a plain object from a GetPlaceRequest message. Also converts values to other types if specified.
|
|
9073
|
+
* @param message GetPlaceRequest
|
|
9074
|
+
* @param [options] Conversion options
|
|
9075
|
+
* @returns Plain object
|
|
9076
|
+
*/
|
|
9077
|
+
public static toObject(message: google.maps.places.v1.GetPlaceRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
9078
|
+
|
|
9079
|
+
/**
|
|
9080
|
+
* Converts this GetPlaceRequest to JSON.
|
|
9081
|
+
* @returns JSON object
|
|
9082
|
+
*/
|
|
9083
|
+
public toJSON(): { [k: string]: any };
|
|
9084
|
+
|
|
9085
|
+
/**
|
|
9086
|
+
* Gets the default type url for GetPlaceRequest
|
|
9087
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
9088
|
+
* @returns The default type url
|
|
9089
|
+
*/
|
|
9090
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
9091
|
+
}
|
|
9092
|
+
|
|
9093
|
+
/** Properties of an AutocompletePlacesRequest. */
|
|
9094
|
+
interface IAutocompletePlacesRequest {
|
|
9095
|
+
|
|
9096
|
+
/** AutocompletePlacesRequest input */
|
|
9097
|
+
input?: (string|null);
|
|
9098
|
+
|
|
9099
|
+
/** AutocompletePlacesRequest locationBias */
|
|
9100
|
+
locationBias?: (google.maps.places.v1.AutocompletePlacesRequest.ILocationBias|null);
|
|
9101
|
+
|
|
9102
|
+
/** AutocompletePlacesRequest locationRestriction */
|
|
9103
|
+
locationRestriction?: (google.maps.places.v1.AutocompletePlacesRequest.ILocationRestriction|null);
|
|
9104
|
+
|
|
9105
|
+
/** AutocompletePlacesRequest includedPrimaryTypes */
|
|
9106
|
+
includedPrimaryTypes?: (string[]|null);
|
|
9107
|
+
|
|
9108
|
+
/** AutocompletePlacesRequest includedRegionCodes */
|
|
9109
|
+
includedRegionCodes?: (string[]|null);
|
|
9110
|
+
|
|
9111
|
+
/** AutocompletePlacesRequest languageCode */
|
|
9112
|
+
languageCode?: (string|null);
|
|
9113
|
+
|
|
9114
|
+
/** AutocompletePlacesRequest regionCode */
|
|
9115
|
+
regionCode?: (string|null);
|
|
9116
|
+
|
|
9117
|
+
/** AutocompletePlacesRequest origin */
|
|
9118
|
+
origin?: (google.type.ILatLng|null);
|
|
9119
|
+
|
|
9120
|
+
/** AutocompletePlacesRequest inputOffset */
|
|
9121
|
+
inputOffset?: (number|null);
|
|
9122
|
+
|
|
9123
|
+
/** AutocompletePlacesRequest includeQueryPredictions */
|
|
9124
|
+
includeQueryPredictions?: (boolean|null);
|
|
9125
|
+
|
|
9126
|
+
/** AutocompletePlacesRequest sessionToken */
|
|
9127
|
+
sessionToken?: (string|null);
|
|
9128
|
+
}
|
|
9129
|
+
|
|
9130
|
+
/** Represents an AutocompletePlacesRequest. */
|
|
9131
|
+
class AutocompletePlacesRequest implements IAutocompletePlacesRequest {
|
|
9132
|
+
|
|
9133
|
+
/**
|
|
9134
|
+
* Constructs a new AutocompletePlacesRequest.
|
|
9135
|
+
* @param [properties] Properties to set
|
|
9136
|
+
*/
|
|
9137
|
+
constructor(properties?: google.maps.places.v1.IAutocompletePlacesRequest);
|
|
9138
|
+
|
|
9139
|
+
/** AutocompletePlacesRequest input. */
|
|
9140
|
+
public input: string;
|
|
9141
|
+
|
|
9142
|
+
/** AutocompletePlacesRequest locationBias. */
|
|
9143
|
+
public locationBias?: (google.maps.places.v1.AutocompletePlacesRequest.ILocationBias|null);
|
|
9144
|
+
|
|
9145
|
+
/** AutocompletePlacesRequest locationRestriction. */
|
|
9146
|
+
public locationRestriction?: (google.maps.places.v1.AutocompletePlacesRequest.ILocationRestriction|null);
|
|
9147
|
+
|
|
9148
|
+
/** AutocompletePlacesRequest includedPrimaryTypes. */
|
|
9149
|
+
public includedPrimaryTypes: string[];
|
|
9150
|
+
|
|
9151
|
+
/** AutocompletePlacesRequest includedRegionCodes. */
|
|
9152
|
+
public includedRegionCodes: string[];
|
|
9153
|
+
|
|
9154
|
+
/** AutocompletePlacesRequest languageCode. */
|
|
9155
|
+
public languageCode: string;
|
|
9156
|
+
|
|
9157
|
+
/** AutocompletePlacesRequest regionCode. */
|
|
9158
|
+
public regionCode: string;
|
|
9159
|
+
|
|
9160
|
+
/** AutocompletePlacesRequest origin. */
|
|
9161
|
+
public origin?: (google.type.ILatLng|null);
|
|
9162
|
+
|
|
9163
|
+
/** AutocompletePlacesRequest inputOffset. */
|
|
9164
|
+
public inputOffset: number;
|
|
9165
|
+
|
|
9166
|
+
/** AutocompletePlacesRequest includeQueryPredictions. */
|
|
9167
|
+
public includeQueryPredictions: boolean;
|
|
9168
|
+
|
|
9169
|
+
/** AutocompletePlacesRequest sessionToken. */
|
|
9170
|
+
public sessionToken: string;
|
|
9171
|
+
|
|
9172
|
+
/**
|
|
9173
|
+
* Creates a new AutocompletePlacesRequest instance using the specified properties.
|
|
9174
|
+
* @param [properties] Properties to set
|
|
9175
|
+
* @returns AutocompletePlacesRequest instance
|
|
9176
|
+
*/
|
|
9177
|
+
public static create(properties?: google.maps.places.v1.IAutocompletePlacesRequest): google.maps.places.v1.AutocompletePlacesRequest;
|
|
9178
|
+
|
|
9179
|
+
/**
|
|
9180
|
+
* Encodes the specified AutocompletePlacesRequest message. Does not implicitly {@link google.maps.places.v1.AutocompletePlacesRequest.verify|verify} messages.
|
|
9181
|
+
* @param message AutocompletePlacesRequest message or plain object to encode
|
|
9182
|
+
* @param [writer] Writer to encode to
|
|
9183
|
+
* @returns Writer
|
|
9184
|
+
*/
|
|
9185
|
+
public static encode(message: google.maps.places.v1.IAutocompletePlacesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9186
|
+
|
|
9187
|
+
/**
|
|
9188
|
+
* Encodes the specified AutocompletePlacesRequest message, length delimited. Does not implicitly {@link google.maps.places.v1.AutocompletePlacesRequest.verify|verify} messages.
|
|
9189
|
+
* @param message AutocompletePlacesRequest message or plain object to encode
|
|
9190
|
+
* @param [writer] Writer to encode to
|
|
9191
|
+
* @returns Writer
|
|
9192
|
+
*/
|
|
9193
|
+
public static encodeDelimited(message: google.maps.places.v1.IAutocompletePlacesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9194
|
+
|
|
9195
|
+
/**
|
|
9196
|
+
* Decodes an AutocompletePlacesRequest message from the specified reader or buffer.
|
|
9197
|
+
* @param reader Reader or buffer to decode from
|
|
9198
|
+
* @param [length] Message length if known beforehand
|
|
9199
|
+
* @returns AutocompletePlacesRequest
|
|
9200
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9201
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9202
|
+
*/
|
|
9203
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.AutocompletePlacesRequest;
|
|
9204
|
+
|
|
9205
|
+
/**
|
|
9206
|
+
* Decodes an AutocompletePlacesRequest message from the specified reader or buffer, length delimited.
|
|
9207
|
+
* @param reader Reader or buffer to decode from
|
|
9208
|
+
* @returns AutocompletePlacesRequest
|
|
9209
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9210
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9211
|
+
*/
|
|
9212
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.AutocompletePlacesRequest;
|
|
9213
|
+
|
|
9214
|
+
/**
|
|
9215
|
+
* Verifies an AutocompletePlacesRequest message.
|
|
9216
|
+
* @param message Plain object to verify
|
|
9217
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
9218
|
+
*/
|
|
9219
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
9220
|
+
|
|
9221
|
+
/**
|
|
9222
|
+
* Creates an AutocompletePlacesRequest message from a plain object. Also converts values to their respective internal types.
|
|
9223
|
+
* @param object Plain object
|
|
9224
|
+
* @returns AutocompletePlacesRequest
|
|
9225
|
+
*/
|
|
9226
|
+
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.AutocompletePlacesRequest;
|
|
9227
|
+
|
|
9228
|
+
/**
|
|
9229
|
+
* Creates a plain object from an AutocompletePlacesRequest message. Also converts values to other types if specified.
|
|
9230
|
+
* @param message AutocompletePlacesRequest
|
|
9231
|
+
* @param [options] Conversion options
|
|
9232
|
+
* @returns Plain object
|
|
9233
|
+
*/
|
|
9234
|
+
public static toObject(message: google.maps.places.v1.AutocompletePlacesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
9235
|
+
|
|
9236
|
+
/**
|
|
9237
|
+
* Converts this AutocompletePlacesRequest to JSON.
|
|
9238
|
+
* @returns JSON object
|
|
9239
|
+
*/
|
|
9240
|
+
public toJSON(): { [k: string]: any };
|
|
9241
|
+
|
|
9242
|
+
/**
|
|
9243
|
+
* Gets the default type url for AutocompletePlacesRequest
|
|
9244
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
9245
|
+
* @returns The default type url
|
|
9246
|
+
*/
|
|
9247
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
9248
|
+
}
|
|
9249
|
+
|
|
9250
|
+
namespace AutocompletePlacesRequest {
|
|
9251
|
+
|
|
9252
|
+
/** Properties of a LocationBias. */
|
|
9253
|
+
interface ILocationBias {
|
|
9254
|
+
|
|
9255
|
+
/** LocationBias rectangle */
|
|
9256
|
+
rectangle?: (google.geo.type.IViewport|null);
|
|
9257
|
+
|
|
9258
|
+
/** LocationBias circle */
|
|
9259
|
+
circle?: (google.maps.places.v1.ICircle|null);
|
|
9260
|
+
}
|
|
9261
|
+
|
|
9262
|
+
/** Represents a LocationBias. */
|
|
9263
|
+
class LocationBias implements ILocationBias {
|
|
9264
|
+
|
|
9265
|
+
/**
|
|
9266
|
+
* Constructs a new LocationBias.
|
|
9267
|
+
* @param [properties] Properties to set
|
|
9268
|
+
*/
|
|
9269
|
+
constructor(properties?: google.maps.places.v1.AutocompletePlacesRequest.ILocationBias);
|
|
9270
|
+
|
|
9271
|
+
/** LocationBias rectangle. */
|
|
9272
|
+
public rectangle?: (google.geo.type.IViewport|null);
|
|
9273
|
+
|
|
9274
|
+
/** LocationBias circle. */
|
|
9275
|
+
public circle?: (google.maps.places.v1.ICircle|null);
|
|
9276
|
+
|
|
9277
|
+
/** LocationBias type. */
|
|
9278
|
+
public type?: ("rectangle"|"circle");
|
|
9279
|
+
|
|
9280
|
+
/**
|
|
9281
|
+
* Creates a new LocationBias instance using the specified properties.
|
|
9282
|
+
* @param [properties] Properties to set
|
|
9283
|
+
* @returns LocationBias instance
|
|
9284
|
+
*/
|
|
9285
|
+
public static create(properties?: google.maps.places.v1.AutocompletePlacesRequest.ILocationBias): google.maps.places.v1.AutocompletePlacesRequest.LocationBias;
|
|
9286
|
+
|
|
9287
|
+
/**
|
|
9288
|
+
* Encodes the specified LocationBias message. Does not implicitly {@link google.maps.places.v1.AutocompletePlacesRequest.LocationBias.verify|verify} messages.
|
|
9289
|
+
* @param message LocationBias message or plain object to encode
|
|
9290
|
+
* @param [writer] Writer to encode to
|
|
9291
|
+
* @returns Writer
|
|
9292
|
+
*/
|
|
9293
|
+
public static encode(message: google.maps.places.v1.AutocompletePlacesRequest.ILocationBias, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9294
|
+
|
|
9295
|
+
/**
|
|
9296
|
+
* Encodes the specified LocationBias message, length delimited. Does not implicitly {@link google.maps.places.v1.AutocompletePlacesRequest.LocationBias.verify|verify} messages.
|
|
9297
|
+
* @param message LocationBias message or plain object to encode
|
|
9298
|
+
* @param [writer] Writer to encode to
|
|
9299
|
+
* @returns Writer
|
|
9300
|
+
*/
|
|
9301
|
+
public static encodeDelimited(message: google.maps.places.v1.AutocompletePlacesRequest.ILocationBias, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9302
|
+
|
|
9303
|
+
/**
|
|
9304
|
+
* Decodes a LocationBias 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 LocationBias
|
|
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.maps.places.v1.AutocompletePlacesRequest.LocationBias;
|
|
9312
|
+
|
|
9313
|
+
/**
|
|
9314
|
+
* Decodes a LocationBias message from the specified reader or buffer, length delimited.
|
|
9315
|
+
* @param reader Reader or buffer to decode from
|
|
9316
|
+
* @returns LocationBias
|
|
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.maps.places.v1.AutocompletePlacesRequest.LocationBias;
|
|
9321
|
+
|
|
9322
|
+
/**
|
|
9323
|
+
* Verifies a LocationBias 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 LocationBias message from a plain object. Also converts values to their respective internal types.
|
|
9331
|
+
* @param object Plain object
|
|
9332
|
+
* @returns LocationBias
|
|
9333
|
+
*/
|
|
9334
|
+
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.AutocompletePlacesRequest.LocationBias;
|
|
9335
|
+
|
|
9336
|
+
/**
|
|
9337
|
+
* Creates a plain object from a LocationBias message. Also converts values to other types if specified.
|
|
9338
|
+
* @param message LocationBias
|
|
9339
|
+
* @param [options] Conversion options
|
|
9340
|
+
* @returns Plain object
|
|
9341
|
+
*/
|
|
9342
|
+
public static toObject(message: google.maps.places.v1.AutocompletePlacesRequest.LocationBias, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
9343
|
+
|
|
9344
|
+
/**
|
|
9345
|
+
* Converts this LocationBias to JSON.
|
|
9346
|
+
* @returns JSON object
|
|
9347
|
+
*/
|
|
9348
|
+
public toJSON(): { [k: string]: any };
|
|
9349
|
+
|
|
9350
|
+
/**
|
|
9351
|
+
* Gets the default type url for LocationBias
|
|
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 LocationRestriction. */
|
|
9359
|
+
interface ILocationRestriction {
|
|
9360
|
+
|
|
9361
|
+
/** LocationRestriction rectangle */
|
|
9362
|
+
rectangle?: (google.geo.type.IViewport|null);
|
|
9363
|
+
|
|
9364
|
+
/** LocationRestriction circle */
|
|
9365
|
+
circle?: (google.maps.places.v1.ICircle|null);
|
|
9366
|
+
}
|
|
9367
|
+
|
|
9368
|
+
/** Represents a LocationRestriction. */
|
|
9369
|
+
class LocationRestriction implements ILocationRestriction {
|
|
9370
|
+
|
|
9371
|
+
/**
|
|
9372
|
+
* Constructs a new LocationRestriction.
|
|
9373
|
+
* @param [properties] Properties to set
|
|
9374
|
+
*/
|
|
9375
|
+
constructor(properties?: google.maps.places.v1.AutocompletePlacesRequest.ILocationRestriction);
|
|
9376
|
+
|
|
9377
|
+
/** LocationRestriction rectangle. */
|
|
9378
|
+
public rectangle?: (google.geo.type.IViewport|null);
|
|
9379
|
+
|
|
9380
|
+
/** LocationRestriction circle. */
|
|
9381
|
+
public circle?: (google.maps.places.v1.ICircle|null);
|
|
9382
|
+
|
|
9383
|
+
/** LocationRestriction type. */
|
|
9384
|
+
public type?: ("rectangle"|"circle");
|
|
9385
|
+
|
|
9386
|
+
/**
|
|
9387
|
+
* Creates a new LocationRestriction instance using the specified properties.
|
|
9388
|
+
* @param [properties] Properties to set
|
|
9389
|
+
* @returns LocationRestriction instance
|
|
9390
|
+
*/
|
|
9391
|
+
public static create(properties?: google.maps.places.v1.AutocompletePlacesRequest.ILocationRestriction): google.maps.places.v1.AutocompletePlacesRequest.LocationRestriction;
|
|
9392
|
+
|
|
9393
|
+
/**
|
|
9394
|
+
* Encodes the specified LocationRestriction message. Does not implicitly {@link google.maps.places.v1.AutocompletePlacesRequest.LocationRestriction.verify|verify} messages.
|
|
9395
|
+
* @param message LocationRestriction message or plain object to encode
|
|
9396
|
+
* @param [writer] Writer to encode to
|
|
9397
|
+
* @returns Writer
|
|
9398
|
+
*/
|
|
9399
|
+
public static encode(message: google.maps.places.v1.AutocompletePlacesRequest.ILocationRestriction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9400
|
+
|
|
9401
|
+
/**
|
|
9402
|
+
* Encodes the specified LocationRestriction message, length delimited. Does not implicitly {@link google.maps.places.v1.AutocompletePlacesRequest.LocationRestriction.verify|verify} messages.
|
|
9403
|
+
* @param message LocationRestriction message or plain object to encode
|
|
9404
|
+
* @param [writer] Writer to encode to
|
|
9405
|
+
* @returns Writer
|
|
9406
|
+
*/
|
|
9407
|
+
public static encodeDelimited(message: google.maps.places.v1.AutocompletePlacesRequest.ILocationRestriction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9408
|
+
|
|
9409
|
+
/**
|
|
9410
|
+
* Decodes a LocationRestriction message from the specified reader or buffer.
|
|
9411
|
+
* @param reader Reader or buffer to decode from
|
|
9412
|
+
* @param [length] Message length if known beforehand
|
|
9413
|
+
* @returns LocationRestriction
|
|
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 decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.AutocompletePlacesRequest.LocationRestriction;
|
|
9418
|
+
|
|
9419
|
+
/**
|
|
9420
|
+
* Decodes a LocationRestriction message from the specified reader or buffer, length delimited.
|
|
9421
|
+
* @param reader Reader or buffer to decode from
|
|
9422
|
+
* @returns LocationRestriction
|
|
9423
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9424
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9425
|
+
*/
|
|
9426
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.AutocompletePlacesRequest.LocationRestriction;
|
|
9427
|
+
|
|
9428
|
+
/**
|
|
9429
|
+
* Verifies a LocationRestriction message.
|
|
9430
|
+
* @param message Plain object to verify
|
|
9431
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
9432
|
+
*/
|
|
9433
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
9434
|
+
|
|
9435
|
+
/**
|
|
9436
|
+
* Creates a LocationRestriction message from a plain object. Also converts values to their respective internal types.
|
|
9437
|
+
* @param object Plain object
|
|
9438
|
+
* @returns LocationRestriction
|
|
9439
|
+
*/
|
|
9440
|
+
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.AutocompletePlacesRequest.LocationRestriction;
|
|
9441
|
+
|
|
9442
|
+
/**
|
|
9443
|
+
* Creates a plain object from a LocationRestriction message. Also converts values to other types if specified.
|
|
9444
|
+
* @param message LocationRestriction
|
|
9445
|
+
* @param [options] Conversion options
|
|
9446
|
+
* @returns Plain object
|
|
9447
|
+
*/
|
|
9448
|
+
public static toObject(message: google.maps.places.v1.AutocompletePlacesRequest.LocationRestriction, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
9449
|
+
|
|
9450
|
+
/**
|
|
9451
|
+
* Converts this LocationRestriction to JSON.
|
|
9452
|
+
* @returns JSON object
|
|
9453
|
+
*/
|
|
9454
|
+
public toJSON(): { [k: string]: any };
|
|
9455
|
+
|
|
9456
|
+
/**
|
|
9457
|
+
* Gets the default type url for LocationRestriction
|
|
9458
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
9459
|
+
* @returns The default type url
|
|
9460
|
+
*/
|
|
9461
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
9462
|
+
}
|
|
9463
|
+
}
|
|
9464
|
+
|
|
9465
|
+
/** Properties of an AutocompletePlacesResponse. */
|
|
9466
|
+
interface IAutocompletePlacesResponse {
|
|
9467
|
+
|
|
9468
|
+
/** AutocompletePlacesResponse suggestions */
|
|
9469
|
+
suggestions?: (google.maps.places.v1.AutocompletePlacesResponse.ISuggestion[]|null);
|
|
9470
|
+
}
|
|
9471
|
+
|
|
9472
|
+
/** Represents an AutocompletePlacesResponse. */
|
|
9473
|
+
class AutocompletePlacesResponse implements IAutocompletePlacesResponse {
|
|
9474
|
+
|
|
9475
|
+
/**
|
|
9476
|
+
* Constructs a new AutocompletePlacesResponse.
|
|
9477
|
+
* @param [properties] Properties to set
|
|
9478
|
+
*/
|
|
9479
|
+
constructor(properties?: google.maps.places.v1.IAutocompletePlacesResponse);
|
|
9480
|
+
|
|
9481
|
+
/** AutocompletePlacesResponse suggestions. */
|
|
9482
|
+
public suggestions: google.maps.places.v1.AutocompletePlacesResponse.ISuggestion[];
|
|
9483
|
+
|
|
9484
|
+
/**
|
|
9485
|
+
* Creates a new AutocompletePlacesResponse instance using the specified properties.
|
|
9486
|
+
* @param [properties] Properties to set
|
|
9487
|
+
* @returns AutocompletePlacesResponse instance
|
|
9488
|
+
*/
|
|
9489
|
+
public static create(properties?: google.maps.places.v1.IAutocompletePlacesResponse): google.maps.places.v1.AutocompletePlacesResponse;
|
|
9490
|
+
|
|
9491
|
+
/**
|
|
9492
|
+
* Encodes the specified AutocompletePlacesResponse message. Does not implicitly {@link google.maps.places.v1.AutocompletePlacesResponse.verify|verify} messages.
|
|
9493
|
+
* @param message AutocompletePlacesResponse message or plain object to encode
|
|
9494
|
+
* @param [writer] Writer to encode to
|
|
9495
|
+
* @returns Writer
|
|
9496
|
+
*/
|
|
9497
|
+
public static encode(message: google.maps.places.v1.IAutocompletePlacesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9498
|
+
|
|
9499
|
+
/**
|
|
9500
|
+
* Encodes the specified AutocompletePlacesResponse message, length delimited. Does not implicitly {@link google.maps.places.v1.AutocompletePlacesResponse.verify|verify} messages.
|
|
9501
|
+
* @param message AutocompletePlacesResponse message or plain object to encode
|
|
9502
|
+
* @param [writer] Writer to encode to
|
|
9503
|
+
* @returns Writer
|
|
9504
|
+
*/
|
|
9505
|
+
public static encodeDelimited(message: google.maps.places.v1.IAutocompletePlacesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9506
|
+
|
|
9507
|
+
/**
|
|
9508
|
+
* Decodes an AutocompletePlacesResponse message from the specified reader or buffer.
|
|
9509
|
+
* @param reader Reader or buffer to decode from
|
|
9510
|
+
* @param [length] Message length if known beforehand
|
|
9511
|
+
* @returns AutocompletePlacesResponse
|
|
9512
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9513
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9514
|
+
*/
|
|
9515
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.AutocompletePlacesResponse;
|
|
9516
|
+
|
|
9517
|
+
/**
|
|
9518
|
+
* Decodes an AutocompletePlacesResponse message from the specified reader or buffer, length delimited.
|
|
9519
|
+
* @param reader Reader or buffer to decode from
|
|
9520
|
+
* @returns AutocompletePlacesResponse
|
|
9521
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9522
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9523
|
+
*/
|
|
9524
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.AutocompletePlacesResponse;
|
|
9525
|
+
|
|
9526
|
+
/**
|
|
9527
|
+
* Verifies an AutocompletePlacesResponse message.
|
|
9528
|
+
* @param message Plain object to verify
|
|
9529
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
9530
|
+
*/
|
|
9531
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
9532
|
+
|
|
9533
|
+
/**
|
|
9534
|
+
* Creates an AutocompletePlacesResponse message from a plain object. Also converts values to their respective internal types.
|
|
9535
|
+
* @param object Plain object
|
|
9536
|
+
* @returns AutocompletePlacesResponse
|
|
9537
|
+
*/
|
|
9538
|
+
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.AutocompletePlacesResponse;
|
|
9539
|
+
|
|
9540
|
+
/**
|
|
9541
|
+
* Creates a plain object from an AutocompletePlacesResponse message. Also converts values to other types if specified.
|
|
9542
|
+
* @param message AutocompletePlacesResponse
|
|
9543
|
+
* @param [options] Conversion options
|
|
9544
|
+
* @returns Plain object
|
|
9545
|
+
*/
|
|
9546
|
+
public static toObject(message: google.maps.places.v1.AutocompletePlacesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
9547
|
+
|
|
9548
|
+
/**
|
|
9549
|
+
* Converts this AutocompletePlacesResponse to JSON.
|
|
9550
|
+
* @returns JSON object
|
|
9551
|
+
*/
|
|
9552
|
+
public toJSON(): { [k: string]: any };
|
|
9553
|
+
|
|
9554
|
+
/**
|
|
9555
|
+
* Gets the default type url for AutocompletePlacesResponse
|
|
9556
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
9557
|
+
* @returns The default type url
|
|
9558
|
+
*/
|
|
9559
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
9560
|
+
}
|
|
9561
|
+
|
|
9562
|
+
namespace AutocompletePlacesResponse {
|
|
9563
|
+
|
|
9564
|
+
/** Properties of a Suggestion. */
|
|
9565
|
+
interface ISuggestion {
|
|
9566
|
+
|
|
9567
|
+
/** Suggestion placePrediction */
|
|
9568
|
+
placePrediction?: (google.maps.places.v1.AutocompletePlacesResponse.Suggestion.IPlacePrediction|null);
|
|
9569
|
+
|
|
9570
|
+
/** Suggestion queryPrediction */
|
|
9571
|
+
queryPrediction?: (google.maps.places.v1.AutocompletePlacesResponse.Suggestion.IQueryPrediction|null);
|
|
9572
|
+
}
|
|
9573
|
+
|
|
9574
|
+
/** Represents a Suggestion. */
|
|
9575
|
+
class Suggestion implements ISuggestion {
|
|
9576
|
+
|
|
9577
|
+
/**
|
|
9578
|
+
* Constructs a new Suggestion.
|
|
9579
|
+
* @param [properties] Properties to set
|
|
9580
|
+
*/
|
|
9581
|
+
constructor(properties?: google.maps.places.v1.AutocompletePlacesResponse.ISuggestion);
|
|
9582
|
+
|
|
9583
|
+
/** Suggestion placePrediction. */
|
|
9584
|
+
public placePrediction?: (google.maps.places.v1.AutocompletePlacesResponse.Suggestion.IPlacePrediction|null);
|
|
9585
|
+
|
|
9586
|
+
/** Suggestion queryPrediction. */
|
|
9587
|
+
public queryPrediction?: (google.maps.places.v1.AutocompletePlacesResponse.Suggestion.IQueryPrediction|null);
|
|
9588
|
+
|
|
9589
|
+
/** Suggestion kind. */
|
|
9590
|
+
public kind?: ("placePrediction"|"queryPrediction");
|
|
9591
|
+
|
|
9592
|
+
/**
|
|
9593
|
+
* Creates a new Suggestion instance using the specified properties.
|
|
9594
|
+
* @param [properties] Properties to set
|
|
9595
|
+
* @returns Suggestion instance
|
|
9596
|
+
*/
|
|
9597
|
+
public static create(properties?: google.maps.places.v1.AutocompletePlacesResponse.ISuggestion): google.maps.places.v1.AutocompletePlacesResponse.Suggestion;
|
|
9598
|
+
|
|
9599
|
+
/**
|
|
9600
|
+
* Encodes the specified Suggestion message. Does not implicitly {@link google.maps.places.v1.AutocompletePlacesResponse.Suggestion.verify|verify} messages.
|
|
9601
|
+
* @param message Suggestion message or plain object to encode
|
|
9602
|
+
* @param [writer] Writer to encode to
|
|
9603
|
+
* @returns Writer
|
|
9604
|
+
*/
|
|
9605
|
+
public static encode(message: google.maps.places.v1.AutocompletePlacesResponse.ISuggestion, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9606
|
+
|
|
9607
|
+
/**
|
|
9608
|
+
* Encodes the specified Suggestion message, length delimited. Does not implicitly {@link google.maps.places.v1.AutocompletePlacesResponse.Suggestion.verify|verify} messages.
|
|
9609
|
+
* @param message Suggestion message or plain object to encode
|
|
9610
|
+
* @param [writer] Writer to encode to
|
|
9611
|
+
* @returns Writer
|
|
9612
|
+
*/
|
|
9613
|
+
public static encodeDelimited(message: google.maps.places.v1.AutocompletePlacesResponse.ISuggestion, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9614
|
+
|
|
9615
|
+
/**
|
|
9616
|
+
* Decodes a Suggestion message from the specified reader or buffer.
|
|
9617
|
+
* @param reader Reader or buffer to decode from
|
|
9618
|
+
* @param [length] Message length if known beforehand
|
|
9619
|
+
* @returns Suggestion
|
|
9620
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9621
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9622
|
+
*/
|
|
9623
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.AutocompletePlacesResponse.Suggestion;
|
|
9624
|
+
|
|
9625
|
+
/**
|
|
9626
|
+
* Decodes a Suggestion message from the specified reader or buffer, length delimited.
|
|
9627
|
+
* @param reader Reader or buffer to decode from
|
|
9628
|
+
* @returns Suggestion
|
|
9629
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9630
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9631
|
+
*/
|
|
9632
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.AutocompletePlacesResponse.Suggestion;
|
|
9633
|
+
|
|
9634
|
+
/**
|
|
9635
|
+
* Verifies a Suggestion message.
|
|
9636
|
+
* @param message Plain object to verify
|
|
9637
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
9638
|
+
*/
|
|
9639
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
9640
|
+
|
|
9641
|
+
/**
|
|
9642
|
+
* Creates a Suggestion message from a plain object. Also converts values to their respective internal types.
|
|
9643
|
+
* @param object Plain object
|
|
9644
|
+
* @returns Suggestion
|
|
9645
|
+
*/
|
|
9646
|
+
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.AutocompletePlacesResponse.Suggestion;
|
|
9647
|
+
|
|
9648
|
+
/**
|
|
9649
|
+
* Creates a plain object from a Suggestion message. Also converts values to other types if specified.
|
|
9650
|
+
* @param message Suggestion
|
|
9651
|
+
* @param [options] Conversion options
|
|
9652
|
+
* @returns Plain object
|
|
9653
|
+
*/
|
|
9654
|
+
public static toObject(message: google.maps.places.v1.AutocompletePlacesResponse.Suggestion, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
9655
|
+
|
|
9656
|
+
/**
|
|
9657
|
+
* Converts this Suggestion to JSON.
|
|
9658
|
+
* @returns JSON object
|
|
9659
|
+
*/
|
|
9660
|
+
public toJSON(): { [k: string]: any };
|
|
9661
|
+
|
|
9662
|
+
/**
|
|
9663
|
+
* Gets the default type url for Suggestion
|
|
9664
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
9665
|
+
* @returns The default type url
|
|
9666
|
+
*/
|
|
9667
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
9668
|
+
}
|
|
9669
|
+
|
|
9670
|
+
namespace Suggestion {
|
|
9671
|
+
|
|
9672
|
+
/** Properties of a StringRange. */
|
|
9673
|
+
interface IStringRange {
|
|
9674
|
+
|
|
9675
|
+
/** StringRange startOffset */
|
|
9676
|
+
startOffset?: (number|null);
|
|
9677
|
+
|
|
9678
|
+
/** StringRange endOffset */
|
|
9679
|
+
endOffset?: (number|null);
|
|
9680
|
+
}
|
|
9681
|
+
|
|
9682
|
+
/** Represents a StringRange. */
|
|
9683
|
+
class StringRange implements IStringRange {
|
|
9684
|
+
|
|
9685
|
+
/**
|
|
9686
|
+
* Constructs a new StringRange.
|
|
9687
|
+
* @param [properties] Properties to set
|
|
9688
|
+
*/
|
|
9689
|
+
constructor(properties?: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.IStringRange);
|
|
9690
|
+
|
|
9691
|
+
/** StringRange startOffset. */
|
|
9692
|
+
public startOffset: number;
|
|
9693
|
+
|
|
9694
|
+
/** StringRange endOffset. */
|
|
9695
|
+
public endOffset: number;
|
|
9696
|
+
|
|
9697
|
+
/**
|
|
9698
|
+
* Creates a new StringRange instance using the specified properties.
|
|
9699
|
+
* @param [properties] Properties to set
|
|
9700
|
+
* @returns StringRange instance
|
|
9701
|
+
*/
|
|
9702
|
+
public static create(properties?: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.IStringRange): google.maps.places.v1.AutocompletePlacesResponse.Suggestion.StringRange;
|
|
9703
|
+
|
|
9704
|
+
/**
|
|
9705
|
+
* Encodes the specified StringRange message. Does not implicitly {@link google.maps.places.v1.AutocompletePlacesResponse.Suggestion.StringRange.verify|verify} messages.
|
|
9706
|
+
* @param message StringRange message or plain object to encode
|
|
9707
|
+
* @param [writer] Writer to encode to
|
|
9708
|
+
* @returns Writer
|
|
9709
|
+
*/
|
|
9710
|
+
public static encode(message: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.IStringRange, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9711
|
+
|
|
9712
|
+
/**
|
|
9713
|
+
* Encodes the specified StringRange message, length delimited. Does not implicitly {@link google.maps.places.v1.AutocompletePlacesResponse.Suggestion.StringRange.verify|verify} messages.
|
|
9714
|
+
* @param message StringRange message or plain object to encode
|
|
9715
|
+
* @param [writer] Writer to encode to
|
|
9716
|
+
* @returns Writer
|
|
9717
|
+
*/
|
|
9718
|
+
public static encodeDelimited(message: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.IStringRange, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9719
|
+
|
|
9720
|
+
/**
|
|
9721
|
+
* Decodes a StringRange message from the specified reader or buffer.
|
|
9722
|
+
* @param reader Reader or buffer to decode from
|
|
9723
|
+
* @param [length] Message length if known beforehand
|
|
9724
|
+
* @returns StringRange
|
|
9725
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9726
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9727
|
+
*/
|
|
9728
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.AutocompletePlacesResponse.Suggestion.StringRange;
|
|
9729
|
+
|
|
9730
|
+
/**
|
|
9731
|
+
* Decodes a StringRange message from the specified reader or buffer, length delimited.
|
|
9732
|
+
* @param reader Reader or buffer to decode from
|
|
9733
|
+
* @returns StringRange
|
|
9734
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9735
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9736
|
+
*/
|
|
9737
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.AutocompletePlacesResponse.Suggestion.StringRange;
|
|
9738
|
+
|
|
9739
|
+
/**
|
|
9740
|
+
* Verifies a StringRange message.
|
|
9741
|
+
* @param message Plain object to verify
|
|
9742
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
9743
|
+
*/
|
|
9744
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
9745
|
+
|
|
9746
|
+
/**
|
|
9747
|
+
* Creates a StringRange message from a plain object. Also converts values to their respective internal types.
|
|
9748
|
+
* @param object Plain object
|
|
9749
|
+
* @returns StringRange
|
|
9750
|
+
*/
|
|
9751
|
+
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.AutocompletePlacesResponse.Suggestion.StringRange;
|
|
9752
|
+
|
|
9753
|
+
/**
|
|
9754
|
+
* Creates a plain object from a StringRange message. Also converts values to other types if specified.
|
|
9755
|
+
* @param message StringRange
|
|
9756
|
+
* @param [options] Conversion options
|
|
9757
|
+
* @returns Plain object
|
|
9758
|
+
*/
|
|
9759
|
+
public static toObject(message: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.StringRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
9760
|
+
|
|
9761
|
+
/**
|
|
9762
|
+
* Converts this StringRange to JSON.
|
|
9763
|
+
* @returns JSON object
|
|
9764
|
+
*/
|
|
9765
|
+
public toJSON(): { [k: string]: any };
|
|
9766
|
+
|
|
9767
|
+
/**
|
|
9768
|
+
* Gets the default type url for StringRange
|
|
9769
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
9770
|
+
* @returns The default type url
|
|
9771
|
+
*/
|
|
9772
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
9773
|
+
}
|
|
9774
|
+
|
|
9775
|
+
/** Properties of a FormattableText. */
|
|
9776
|
+
interface IFormattableText {
|
|
9777
|
+
|
|
9778
|
+
/** FormattableText text */
|
|
9779
|
+
text?: (string|null);
|
|
9780
|
+
|
|
9781
|
+
/** FormattableText matches */
|
|
9782
|
+
matches?: (google.maps.places.v1.AutocompletePlacesResponse.Suggestion.IStringRange[]|null);
|
|
9783
|
+
}
|
|
9784
|
+
|
|
9785
|
+
/** Represents a FormattableText. */
|
|
9786
|
+
class FormattableText implements IFormattableText {
|
|
9787
|
+
|
|
9788
|
+
/**
|
|
9789
|
+
* Constructs a new FormattableText.
|
|
9790
|
+
* @param [properties] Properties to set
|
|
9791
|
+
*/
|
|
9792
|
+
constructor(properties?: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.IFormattableText);
|
|
9793
|
+
|
|
9794
|
+
/** FormattableText text. */
|
|
9795
|
+
public text: string;
|
|
9796
|
+
|
|
9797
|
+
/** FormattableText matches. */
|
|
9798
|
+
public matches: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.IStringRange[];
|
|
9799
|
+
|
|
9800
|
+
/**
|
|
9801
|
+
* Creates a new FormattableText instance using the specified properties.
|
|
9802
|
+
* @param [properties] Properties to set
|
|
9803
|
+
* @returns FormattableText instance
|
|
9804
|
+
*/
|
|
9805
|
+
public static create(properties?: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.IFormattableText): google.maps.places.v1.AutocompletePlacesResponse.Suggestion.FormattableText;
|
|
9806
|
+
|
|
9807
|
+
/**
|
|
9808
|
+
* Encodes the specified FormattableText message. Does not implicitly {@link google.maps.places.v1.AutocompletePlacesResponse.Suggestion.FormattableText.verify|verify} messages.
|
|
9809
|
+
* @param message FormattableText message or plain object to encode
|
|
9810
|
+
* @param [writer] Writer to encode to
|
|
9811
|
+
* @returns Writer
|
|
9812
|
+
*/
|
|
9813
|
+
public static encode(message: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.IFormattableText, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9814
|
+
|
|
9815
|
+
/**
|
|
9816
|
+
* Encodes the specified FormattableText message, length delimited. Does not implicitly {@link google.maps.places.v1.AutocompletePlacesResponse.Suggestion.FormattableText.verify|verify} messages.
|
|
9817
|
+
* @param message FormattableText message or plain object to encode
|
|
9818
|
+
* @param [writer] Writer to encode to
|
|
9819
|
+
* @returns Writer
|
|
9820
|
+
*/
|
|
9821
|
+
public static encodeDelimited(message: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.IFormattableText, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9822
|
+
|
|
9823
|
+
/**
|
|
9824
|
+
* Decodes a FormattableText message from the specified reader or buffer.
|
|
9825
|
+
* @param reader Reader or buffer to decode from
|
|
9826
|
+
* @param [length] Message length if known beforehand
|
|
9827
|
+
* @returns FormattableText
|
|
9828
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9829
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9830
|
+
*/
|
|
9831
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.AutocompletePlacesResponse.Suggestion.FormattableText;
|
|
9832
|
+
|
|
9833
|
+
/**
|
|
9834
|
+
* Decodes a FormattableText message from the specified reader or buffer, length delimited.
|
|
9835
|
+
* @param reader Reader or buffer to decode from
|
|
9836
|
+
* @returns FormattableText
|
|
9837
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9838
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9839
|
+
*/
|
|
9840
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.AutocompletePlacesResponse.Suggestion.FormattableText;
|
|
9841
|
+
|
|
9842
|
+
/**
|
|
9843
|
+
* Verifies a FormattableText message.
|
|
9844
|
+
* @param message Plain object to verify
|
|
9845
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
9846
|
+
*/
|
|
9847
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
9848
|
+
|
|
9849
|
+
/**
|
|
9850
|
+
* Creates a FormattableText message from a plain object. Also converts values to their respective internal types.
|
|
9851
|
+
* @param object Plain object
|
|
9852
|
+
* @returns FormattableText
|
|
9853
|
+
*/
|
|
9854
|
+
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.AutocompletePlacesResponse.Suggestion.FormattableText;
|
|
9855
|
+
|
|
9856
|
+
/**
|
|
9857
|
+
* Creates a plain object from a FormattableText message. Also converts values to other types if specified.
|
|
9858
|
+
* @param message FormattableText
|
|
9859
|
+
* @param [options] Conversion options
|
|
9860
|
+
* @returns Plain object
|
|
9861
|
+
*/
|
|
9862
|
+
public static toObject(message: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.FormattableText, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
9863
|
+
|
|
9864
|
+
/**
|
|
9865
|
+
* Converts this FormattableText to JSON.
|
|
9866
|
+
* @returns JSON object
|
|
9867
|
+
*/
|
|
9868
|
+
public toJSON(): { [k: string]: any };
|
|
9869
|
+
|
|
9870
|
+
/**
|
|
9871
|
+
* Gets the default type url for FormattableText
|
|
9872
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
9873
|
+
* @returns The default type url
|
|
9874
|
+
*/
|
|
9875
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
9876
|
+
}
|
|
9877
|
+
|
|
9878
|
+
/** Properties of a StructuredFormat. */
|
|
9879
|
+
interface IStructuredFormat {
|
|
9880
|
+
|
|
9881
|
+
/** StructuredFormat mainText */
|
|
9882
|
+
mainText?: (google.maps.places.v1.AutocompletePlacesResponse.Suggestion.IFormattableText|null);
|
|
9883
|
+
|
|
9884
|
+
/** StructuredFormat secondaryText */
|
|
9885
|
+
secondaryText?: (google.maps.places.v1.AutocompletePlacesResponse.Suggestion.IFormattableText|null);
|
|
9886
|
+
}
|
|
9887
|
+
|
|
9888
|
+
/** Represents a StructuredFormat. */
|
|
9889
|
+
class StructuredFormat implements IStructuredFormat {
|
|
9890
|
+
|
|
9891
|
+
/**
|
|
9892
|
+
* Constructs a new StructuredFormat.
|
|
9893
|
+
* @param [properties] Properties to set
|
|
9894
|
+
*/
|
|
9895
|
+
constructor(properties?: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.IStructuredFormat);
|
|
9896
|
+
|
|
9897
|
+
/** StructuredFormat mainText. */
|
|
9898
|
+
public mainText?: (google.maps.places.v1.AutocompletePlacesResponse.Suggestion.IFormattableText|null);
|
|
9899
|
+
|
|
9900
|
+
/** StructuredFormat secondaryText. */
|
|
9901
|
+
public secondaryText?: (google.maps.places.v1.AutocompletePlacesResponse.Suggestion.IFormattableText|null);
|
|
9902
|
+
|
|
9903
|
+
/**
|
|
9904
|
+
* Creates a new StructuredFormat instance using the specified properties.
|
|
9905
|
+
* @param [properties] Properties to set
|
|
9906
|
+
* @returns StructuredFormat instance
|
|
9907
|
+
*/
|
|
9908
|
+
public static create(properties?: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.IStructuredFormat): google.maps.places.v1.AutocompletePlacesResponse.Suggestion.StructuredFormat;
|
|
9909
|
+
|
|
9910
|
+
/**
|
|
9911
|
+
* Encodes the specified StructuredFormat message. Does not implicitly {@link google.maps.places.v1.AutocompletePlacesResponse.Suggestion.StructuredFormat.verify|verify} messages.
|
|
9912
|
+
* @param message StructuredFormat message or plain object to encode
|
|
9913
|
+
* @param [writer] Writer to encode to
|
|
9914
|
+
* @returns Writer
|
|
9915
|
+
*/
|
|
9916
|
+
public static encode(message: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.IStructuredFormat, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9917
|
+
|
|
9918
|
+
/**
|
|
9919
|
+
* Encodes the specified StructuredFormat message, length delimited. Does not implicitly {@link google.maps.places.v1.AutocompletePlacesResponse.Suggestion.StructuredFormat.verify|verify} messages.
|
|
9920
|
+
* @param message StructuredFormat message or plain object to encode
|
|
9921
|
+
* @param [writer] Writer to encode to
|
|
9922
|
+
* @returns Writer
|
|
9923
|
+
*/
|
|
9924
|
+
public static encodeDelimited(message: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.IStructuredFormat, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9925
|
+
|
|
9926
|
+
/**
|
|
9927
|
+
* Decodes a StructuredFormat message from the specified reader or buffer.
|
|
9928
|
+
* @param reader Reader or buffer to decode from
|
|
9929
|
+
* @param [length] Message length if known beforehand
|
|
9930
|
+
* @returns StructuredFormat
|
|
9931
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9932
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9933
|
+
*/
|
|
9934
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.AutocompletePlacesResponse.Suggestion.StructuredFormat;
|
|
9935
|
+
|
|
9936
|
+
/**
|
|
9937
|
+
* Decodes a StructuredFormat message from the specified reader or buffer, length delimited.
|
|
9938
|
+
* @param reader Reader or buffer to decode from
|
|
9939
|
+
* @returns StructuredFormat
|
|
9940
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9941
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9942
|
+
*/
|
|
9943
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.AutocompletePlacesResponse.Suggestion.StructuredFormat;
|
|
9944
|
+
|
|
9945
|
+
/**
|
|
9946
|
+
* Verifies a StructuredFormat message.
|
|
9947
|
+
* @param message Plain object to verify
|
|
9948
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
9949
|
+
*/
|
|
9950
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
9951
|
+
|
|
9952
|
+
/**
|
|
9953
|
+
* Creates a StructuredFormat message from a plain object. Also converts values to their respective internal types.
|
|
9954
|
+
* @param object Plain object
|
|
9955
|
+
* @returns StructuredFormat
|
|
9956
|
+
*/
|
|
9957
|
+
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.AutocompletePlacesResponse.Suggestion.StructuredFormat;
|
|
9958
|
+
|
|
9959
|
+
/**
|
|
9960
|
+
* Creates a plain object from a StructuredFormat message. Also converts values to other types if specified.
|
|
9961
|
+
* @param message StructuredFormat
|
|
9962
|
+
* @param [options] Conversion options
|
|
9963
|
+
* @returns Plain object
|
|
9964
|
+
*/
|
|
9965
|
+
public static toObject(message: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.StructuredFormat, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
9966
|
+
|
|
9967
|
+
/**
|
|
9968
|
+
* Converts this StructuredFormat to JSON.
|
|
9969
|
+
* @returns JSON object
|
|
9970
|
+
*/
|
|
9971
|
+
public toJSON(): { [k: string]: any };
|
|
9972
|
+
|
|
9973
|
+
/**
|
|
9974
|
+
* Gets the default type url for StructuredFormat
|
|
9975
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
9976
|
+
* @returns The default type url
|
|
9977
|
+
*/
|
|
9978
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
9979
|
+
}
|
|
9980
|
+
|
|
9981
|
+
/** Properties of a PlacePrediction. */
|
|
9982
|
+
interface IPlacePrediction {
|
|
9983
|
+
|
|
9984
|
+
/** PlacePrediction place */
|
|
9985
|
+
place?: (string|null);
|
|
9986
|
+
|
|
9987
|
+
/** PlacePrediction placeId */
|
|
9988
|
+
placeId?: (string|null);
|
|
9989
|
+
|
|
9990
|
+
/** PlacePrediction text */
|
|
9991
|
+
text?: (google.maps.places.v1.AutocompletePlacesResponse.Suggestion.IFormattableText|null);
|
|
9992
|
+
|
|
9993
|
+
/** PlacePrediction structuredFormat */
|
|
9994
|
+
structuredFormat?: (google.maps.places.v1.AutocompletePlacesResponse.Suggestion.IStructuredFormat|null);
|
|
9995
|
+
|
|
9996
|
+
/** PlacePrediction types */
|
|
9997
|
+
types?: (string[]|null);
|
|
9998
|
+
|
|
9999
|
+
/** PlacePrediction distanceMeters */
|
|
10000
|
+
distanceMeters?: (number|null);
|
|
10001
|
+
}
|
|
10002
|
+
|
|
10003
|
+
/** Represents a PlacePrediction. */
|
|
10004
|
+
class PlacePrediction implements IPlacePrediction {
|
|
10005
|
+
|
|
10006
|
+
/**
|
|
10007
|
+
* Constructs a new PlacePrediction.
|
|
10008
|
+
* @param [properties] Properties to set
|
|
10009
|
+
*/
|
|
10010
|
+
constructor(properties?: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.IPlacePrediction);
|
|
10011
|
+
|
|
10012
|
+
/** PlacePrediction place. */
|
|
10013
|
+
public place: string;
|
|
10014
|
+
|
|
10015
|
+
/** PlacePrediction placeId. */
|
|
10016
|
+
public placeId: string;
|
|
8084
10017
|
|
|
8085
|
-
|
|
8086
|
-
|
|
8087
|
-
* @param reader Reader or buffer to decode from
|
|
8088
|
-
* @param [length] Message length if known beforehand
|
|
8089
|
-
* @returns PhotoMedia
|
|
8090
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8091
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8092
|
-
*/
|
|
8093
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.PhotoMedia;
|
|
10018
|
+
/** PlacePrediction text. */
|
|
10019
|
+
public text?: (google.maps.places.v1.AutocompletePlacesResponse.Suggestion.IFormattableText|null);
|
|
8094
10020
|
|
|
8095
|
-
|
|
8096
|
-
|
|
8097
|
-
* @param reader Reader or buffer to decode from
|
|
8098
|
-
* @returns PhotoMedia
|
|
8099
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8100
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8101
|
-
*/
|
|
8102
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.PhotoMedia;
|
|
10021
|
+
/** PlacePrediction structuredFormat. */
|
|
10022
|
+
public structuredFormat?: (google.maps.places.v1.AutocompletePlacesResponse.Suggestion.IStructuredFormat|null);
|
|
8103
10023
|
|
|
8104
|
-
|
|
8105
|
-
|
|
8106
|
-
* @param message Plain object to verify
|
|
8107
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
8108
|
-
*/
|
|
8109
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
10024
|
+
/** PlacePrediction types. */
|
|
10025
|
+
public types: string[];
|
|
8110
10026
|
|
|
8111
|
-
|
|
8112
|
-
|
|
8113
|
-
* @param object Plain object
|
|
8114
|
-
* @returns PhotoMedia
|
|
8115
|
-
*/
|
|
8116
|
-
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.PhotoMedia;
|
|
10027
|
+
/** PlacePrediction distanceMeters. */
|
|
10028
|
+
public distanceMeters: number;
|
|
8117
10029
|
|
|
8118
|
-
|
|
8119
|
-
|
|
8120
|
-
|
|
8121
|
-
|
|
8122
|
-
|
|
8123
|
-
|
|
8124
|
-
public static toObject(message: google.maps.places.v1.PhotoMedia, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
10030
|
+
/**
|
|
10031
|
+
* Creates a new PlacePrediction instance using the specified properties.
|
|
10032
|
+
* @param [properties] Properties to set
|
|
10033
|
+
* @returns PlacePrediction instance
|
|
10034
|
+
*/
|
|
10035
|
+
public static create(properties?: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.IPlacePrediction): google.maps.places.v1.AutocompletePlacesResponse.Suggestion.PlacePrediction;
|
|
8125
10036
|
|
|
8126
|
-
|
|
8127
|
-
|
|
8128
|
-
|
|
8129
|
-
|
|
8130
|
-
|
|
10037
|
+
/**
|
|
10038
|
+
* Encodes the specified PlacePrediction message. Does not implicitly {@link google.maps.places.v1.AutocompletePlacesResponse.Suggestion.PlacePrediction.verify|verify} messages.
|
|
10039
|
+
* @param message PlacePrediction message or plain object to encode
|
|
10040
|
+
* @param [writer] Writer to encode to
|
|
10041
|
+
* @returns Writer
|
|
10042
|
+
*/
|
|
10043
|
+
public static encode(message: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.IPlacePrediction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8131
10044
|
|
|
8132
|
-
|
|
8133
|
-
|
|
8134
|
-
|
|
8135
|
-
|
|
8136
|
-
|
|
8137
|
-
|
|
8138
|
-
|
|
10045
|
+
/**
|
|
10046
|
+
* Encodes the specified PlacePrediction message, length delimited. Does not implicitly {@link google.maps.places.v1.AutocompletePlacesResponse.Suggestion.PlacePrediction.verify|verify} messages.
|
|
10047
|
+
* @param message PlacePrediction message or plain object to encode
|
|
10048
|
+
* @param [writer] Writer to encode to
|
|
10049
|
+
* @returns Writer
|
|
10050
|
+
*/
|
|
10051
|
+
public static encodeDelimited(message: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.IPlacePrediction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8139
10052
|
|
|
8140
|
-
|
|
8141
|
-
|
|
10053
|
+
/**
|
|
10054
|
+
* Decodes a PlacePrediction message from the specified reader or buffer.
|
|
10055
|
+
* @param reader Reader or buffer to decode from
|
|
10056
|
+
* @param [length] Message length if known beforehand
|
|
10057
|
+
* @returns PlacePrediction
|
|
10058
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10059
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10060
|
+
*/
|
|
10061
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.AutocompletePlacesResponse.Suggestion.PlacePrediction;
|
|
8142
10062
|
|
|
8143
|
-
|
|
8144
|
-
|
|
10063
|
+
/**
|
|
10064
|
+
* Decodes a PlacePrediction message from the specified reader or buffer, length delimited.
|
|
10065
|
+
* @param reader Reader or buffer to decode from
|
|
10066
|
+
* @returns PlacePrediction
|
|
10067
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10068
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10069
|
+
*/
|
|
10070
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.AutocompletePlacesResponse.Suggestion.PlacePrediction;
|
|
8145
10071
|
|
|
8146
|
-
|
|
8147
|
-
|
|
10072
|
+
/**
|
|
10073
|
+
* Verifies a PlacePrediction message.
|
|
10074
|
+
* @param message Plain object to verify
|
|
10075
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
10076
|
+
*/
|
|
10077
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
8148
10078
|
|
|
8149
|
-
|
|
8150
|
-
|
|
8151
|
-
|
|
10079
|
+
/**
|
|
10080
|
+
* Creates a PlacePrediction message from a plain object. Also converts values to their respective internal types.
|
|
10081
|
+
* @param object Plain object
|
|
10082
|
+
* @returns PlacePrediction
|
|
10083
|
+
*/
|
|
10084
|
+
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.AutocompletePlacesResponse.Suggestion.PlacePrediction;
|
|
8152
10085
|
|
|
8153
|
-
|
|
8154
|
-
|
|
10086
|
+
/**
|
|
10087
|
+
* Creates a plain object from a PlacePrediction message. Also converts values to other types if specified.
|
|
10088
|
+
* @param message PlacePrediction
|
|
10089
|
+
* @param [options] Conversion options
|
|
10090
|
+
* @returns Plain object
|
|
10091
|
+
*/
|
|
10092
|
+
public static toObject(message: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.PlacePrediction, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
8155
10093
|
|
|
8156
|
-
|
|
8157
|
-
|
|
8158
|
-
|
|
8159
|
-
|
|
8160
|
-
|
|
10094
|
+
/**
|
|
10095
|
+
* Converts this PlacePrediction to JSON.
|
|
10096
|
+
* @returns JSON object
|
|
10097
|
+
*/
|
|
10098
|
+
public toJSON(): { [k: string]: any };
|
|
8161
10099
|
|
|
8162
|
-
|
|
8163
|
-
|
|
10100
|
+
/**
|
|
10101
|
+
* Gets the default type url for PlacePrediction
|
|
10102
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
10103
|
+
* @returns The default type url
|
|
10104
|
+
*/
|
|
10105
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
10106
|
+
}
|
|
8164
10107
|
|
|
8165
|
-
|
|
8166
|
-
|
|
10108
|
+
/** Properties of a QueryPrediction. */
|
|
10109
|
+
interface IQueryPrediction {
|
|
8167
10110
|
|
|
8168
|
-
|
|
8169
|
-
|
|
10111
|
+
/** QueryPrediction text */
|
|
10112
|
+
text?: (google.maps.places.v1.AutocompletePlacesResponse.Suggestion.IFormattableText|null);
|
|
8170
10113
|
|
|
8171
|
-
|
|
8172
|
-
|
|
8173
|
-
|
|
8174
|
-
* @returns GetPlaceRequest instance
|
|
8175
|
-
*/
|
|
8176
|
-
public static create(properties?: google.maps.places.v1.IGetPlaceRequest): google.maps.places.v1.GetPlaceRequest;
|
|
10114
|
+
/** QueryPrediction structuredFormat */
|
|
10115
|
+
structuredFormat?: (google.maps.places.v1.AutocompletePlacesResponse.Suggestion.IStructuredFormat|null);
|
|
10116
|
+
}
|
|
8177
10117
|
|
|
8178
|
-
|
|
8179
|
-
|
|
8180
|
-
* @param message GetPlaceRequest message or plain object to encode
|
|
8181
|
-
* @param [writer] Writer to encode to
|
|
8182
|
-
* @returns Writer
|
|
8183
|
-
*/
|
|
8184
|
-
public static encode(message: google.maps.places.v1.IGetPlaceRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
10118
|
+
/** Represents a QueryPrediction. */
|
|
10119
|
+
class QueryPrediction implements IQueryPrediction {
|
|
8185
10120
|
|
|
8186
|
-
|
|
8187
|
-
|
|
8188
|
-
|
|
8189
|
-
|
|
8190
|
-
|
|
8191
|
-
*/
|
|
8192
|
-
public static encodeDelimited(message: google.maps.places.v1.IGetPlaceRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
10121
|
+
/**
|
|
10122
|
+
* Constructs a new QueryPrediction.
|
|
10123
|
+
* @param [properties] Properties to set
|
|
10124
|
+
*/
|
|
10125
|
+
constructor(properties?: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.IQueryPrediction);
|
|
8193
10126
|
|
|
8194
|
-
|
|
8195
|
-
|
|
8196
|
-
* @param reader Reader or buffer to decode from
|
|
8197
|
-
* @param [length] Message length if known beforehand
|
|
8198
|
-
* @returns GetPlaceRequest
|
|
8199
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8200
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8201
|
-
*/
|
|
8202
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.GetPlaceRequest;
|
|
10127
|
+
/** QueryPrediction text. */
|
|
10128
|
+
public text?: (google.maps.places.v1.AutocompletePlacesResponse.Suggestion.IFormattableText|null);
|
|
8203
10129
|
|
|
8204
|
-
|
|
8205
|
-
|
|
8206
|
-
* @param reader Reader or buffer to decode from
|
|
8207
|
-
* @returns GetPlaceRequest
|
|
8208
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8209
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8210
|
-
*/
|
|
8211
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.GetPlaceRequest;
|
|
10130
|
+
/** QueryPrediction structuredFormat. */
|
|
10131
|
+
public structuredFormat?: (google.maps.places.v1.AutocompletePlacesResponse.Suggestion.IStructuredFormat|null);
|
|
8212
10132
|
|
|
8213
|
-
|
|
8214
|
-
|
|
8215
|
-
|
|
8216
|
-
|
|
8217
|
-
|
|
8218
|
-
|
|
10133
|
+
/**
|
|
10134
|
+
* Creates a new QueryPrediction instance using the specified properties.
|
|
10135
|
+
* @param [properties] Properties to set
|
|
10136
|
+
* @returns QueryPrediction instance
|
|
10137
|
+
*/
|
|
10138
|
+
public static create(properties?: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.IQueryPrediction): google.maps.places.v1.AutocompletePlacesResponse.Suggestion.QueryPrediction;
|
|
8219
10139
|
|
|
8220
|
-
|
|
8221
|
-
|
|
8222
|
-
|
|
8223
|
-
|
|
8224
|
-
|
|
8225
|
-
|
|
10140
|
+
/**
|
|
10141
|
+
* Encodes the specified QueryPrediction message. Does not implicitly {@link google.maps.places.v1.AutocompletePlacesResponse.Suggestion.QueryPrediction.verify|verify} messages.
|
|
10142
|
+
* @param message QueryPrediction message or plain object to encode
|
|
10143
|
+
* @param [writer] Writer to encode to
|
|
10144
|
+
* @returns Writer
|
|
10145
|
+
*/
|
|
10146
|
+
public static encode(message: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.IQueryPrediction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8226
10147
|
|
|
8227
|
-
|
|
8228
|
-
|
|
8229
|
-
|
|
8230
|
-
|
|
8231
|
-
|
|
8232
|
-
|
|
8233
|
-
|
|
10148
|
+
/**
|
|
10149
|
+
* Encodes the specified QueryPrediction message, length delimited. Does not implicitly {@link google.maps.places.v1.AutocompletePlacesResponse.Suggestion.QueryPrediction.verify|verify} messages.
|
|
10150
|
+
* @param message QueryPrediction message or plain object to encode
|
|
10151
|
+
* @param [writer] Writer to encode to
|
|
10152
|
+
* @returns Writer
|
|
10153
|
+
*/
|
|
10154
|
+
public static encodeDelimited(message: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.IQueryPrediction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8234
10155
|
|
|
8235
|
-
|
|
8236
|
-
|
|
8237
|
-
|
|
8238
|
-
|
|
8239
|
-
|
|
10156
|
+
/**
|
|
10157
|
+
* Decodes a QueryPrediction message from the specified reader or buffer.
|
|
10158
|
+
* @param reader Reader or buffer to decode from
|
|
10159
|
+
* @param [length] Message length if known beforehand
|
|
10160
|
+
* @returns QueryPrediction
|
|
10161
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10162
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10163
|
+
*/
|
|
10164
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.AutocompletePlacesResponse.Suggestion.QueryPrediction;
|
|
8240
10165
|
|
|
8241
|
-
|
|
8242
|
-
|
|
8243
|
-
|
|
8244
|
-
|
|
8245
|
-
|
|
8246
|
-
|
|
10166
|
+
/**
|
|
10167
|
+
* Decodes a QueryPrediction message from the specified reader or buffer, length delimited.
|
|
10168
|
+
* @param reader Reader or buffer to decode from
|
|
10169
|
+
* @returns QueryPrediction
|
|
10170
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10171
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10172
|
+
*/
|
|
10173
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.AutocompletePlacesResponse.Suggestion.QueryPrediction;
|
|
10174
|
+
|
|
10175
|
+
/**
|
|
10176
|
+
* Verifies a QueryPrediction message.
|
|
10177
|
+
* @param message Plain object to verify
|
|
10178
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
10179
|
+
*/
|
|
10180
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
10181
|
+
|
|
10182
|
+
/**
|
|
10183
|
+
* Creates a QueryPrediction message from a plain object. Also converts values to their respective internal types.
|
|
10184
|
+
* @param object Plain object
|
|
10185
|
+
* @returns QueryPrediction
|
|
10186
|
+
*/
|
|
10187
|
+
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.AutocompletePlacesResponse.Suggestion.QueryPrediction;
|
|
10188
|
+
|
|
10189
|
+
/**
|
|
10190
|
+
* Creates a plain object from a QueryPrediction message. Also converts values to other types if specified.
|
|
10191
|
+
* @param message QueryPrediction
|
|
10192
|
+
* @param [options] Conversion options
|
|
10193
|
+
* @returns Plain object
|
|
10194
|
+
*/
|
|
10195
|
+
public static toObject(message: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.QueryPrediction, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
10196
|
+
|
|
10197
|
+
/**
|
|
10198
|
+
* Converts this QueryPrediction to JSON.
|
|
10199
|
+
* @returns JSON object
|
|
10200
|
+
*/
|
|
10201
|
+
public toJSON(): { [k: string]: any };
|
|
10202
|
+
|
|
10203
|
+
/**
|
|
10204
|
+
* Gets the default type url for QueryPrediction
|
|
10205
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
10206
|
+
* @returns The default type url
|
|
10207
|
+
*/
|
|
10208
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
10209
|
+
}
|
|
10210
|
+
}
|
|
8247
10211
|
}
|
|
8248
10212
|
}
|
|
8249
10213
|
}
|
|
@@ -8261,7 +10225,8 @@ export namespace google {
|
|
|
8261
10225
|
INPUT_ONLY = 4,
|
|
8262
10226
|
IMMUTABLE = 5,
|
|
8263
10227
|
UNORDERED_LIST = 6,
|
|
8264
|
-
NON_EMPTY_DEFAULT = 7
|
|
10228
|
+
NON_EMPTY_DEFAULT = 7,
|
|
10229
|
+
IDENTIFIER = 8
|
|
8265
10230
|
}
|
|
8266
10231
|
|
|
8267
10232
|
/** Properties of a ResourceDescriptor. */
|
|
@@ -9165,6 +11130,9 @@ export namespace google {
|
|
|
9165
11130
|
|
|
9166
11131
|
/** Publishing librarySettings */
|
|
9167
11132
|
librarySettings?: (google.api.IClientLibrarySettings[]|null);
|
|
11133
|
+
|
|
11134
|
+
/** Publishing protoReferenceDocumentationUri */
|
|
11135
|
+
protoReferenceDocumentationUri?: (string|null);
|
|
9168
11136
|
}
|
|
9169
11137
|
|
|
9170
11138
|
/** Represents a Publishing. */
|
|
@@ -9203,6 +11171,9 @@ export namespace google {
|
|
|
9203
11171
|
/** Publishing librarySettings. */
|
|
9204
11172
|
public librarySettings: google.api.IClientLibrarySettings[];
|
|
9205
11173
|
|
|
11174
|
+
/** Publishing protoReferenceDocumentationUri. */
|
|
11175
|
+
public protoReferenceDocumentationUri: string;
|
|
11176
|
+
|
|
9206
11177
|
/**
|
|
9207
11178
|
* Creates a new Publishing instance using the specified properties.
|
|
9208
11179
|
* @param [properties] Properties to set
|
|
@@ -9783,6 +11754,21 @@ export namespace google {
|
|
|
9783
11754
|
|
|
9784
11755
|
/** DotnetSettings common */
|
|
9785
11756
|
common?: (google.api.ICommonLanguageSettings|null);
|
|
11757
|
+
|
|
11758
|
+
/** DotnetSettings renamedServices */
|
|
11759
|
+
renamedServices?: ({ [k: string]: string }|null);
|
|
11760
|
+
|
|
11761
|
+
/** DotnetSettings renamedResources */
|
|
11762
|
+
renamedResources?: ({ [k: string]: string }|null);
|
|
11763
|
+
|
|
11764
|
+
/** DotnetSettings ignoredResources */
|
|
11765
|
+
ignoredResources?: (string[]|null);
|
|
11766
|
+
|
|
11767
|
+
/** DotnetSettings forcedNamespaceAliases */
|
|
11768
|
+
forcedNamespaceAliases?: (string[]|null);
|
|
11769
|
+
|
|
11770
|
+
/** DotnetSettings handwrittenSignatures */
|
|
11771
|
+
handwrittenSignatures?: (string[]|null);
|
|
9786
11772
|
}
|
|
9787
11773
|
|
|
9788
11774
|
/** Represents a DotnetSettings. */
|
|
@@ -9797,6 +11783,21 @@ export namespace google {
|
|
|
9797
11783
|
/** DotnetSettings common. */
|
|
9798
11784
|
public common?: (google.api.ICommonLanguageSettings|null);
|
|
9799
11785
|
|
|
11786
|
+
/** DotnetSettings renamedServices. */
|
|
11787
|
+
public renamedServices: { [k: string]: string };
|
|
11788
|
+
|
|
11789
|
+
/** DotnetSettings renamedResources. */
|
|
11790
|
+
public renamedResources: { [k: string]: string };
|
|
11791
|
+
|
|
11792
|
+
/** DotnetSettings ignoredResources. */
|
|
11793
|
+
public ignoredResources: string[];
|
|
11794
|
+
|
|
11795
|
+
/** DotnetSettings forcedNamespaceAliases. */
|
|
11796
|
+
public forcedNamespaceAliases: string[];
|
|
11797
|
+
|
|
11798
|
+
/** DotnetSettings handwrittenSignatures. */
|
|
11799
|
+
public handwrittenSignatures: string[];
|
|
11800
|
+
|
|
9800
11801
|
/**
|
|
9801
11802
|
* Creates a new DotnetSettings instance using the specified properties.
|
|
9802
11803
|
* @param [properties] Properties to set
|
|
@@ -10077,6 +12078,9 @@ export namespace google {
|
|
|
10077
12078
|
|
|
10078
12079
|
/** MethodSettings longRunning */
|
|
10079
12080
|
longRunning?: (google.api.MethodSettings.ILongRunning|null);
|
|
12081
|
+
|
|
12082
|
+
/** MethodSettings autoPopulatedFields */
|
|
12083
|
+
autoPopulatedFields?: (string[]|null);
|
|
10080
12084
|
}
|
|
10081
12085
|
|
|
10082
12086
|
/** Represents a MethodSettings. */
|
|
@@ -10094,6 +12098,9 @@ export namespace google {
|
|
|
10094
12098
|
/** MethodSettings longRunning. */
|
|
10095
12099
|
public longRunning?: (google.api.MethodSettings.ILongRunning|null);
|
|
10096
12100
|
|
|
12101
|
+
/** MethodSettings autoPopulatedFields. */
|
|
12102
|
+
public autoPopulatedFields: string[];
|
|
12103
|
+
|
|
10097
12104
|
/**
|
|
10098
12105
|
* Creates a new MethodSettings instance using the specified properties.
|
|
10099
12106
|
* @param [properties] Properties to set
|
|
@@ -10296,7 +12303,10 @@ export namespace google {
|
|
|
10296
12303
|
CLOUD = 1,
|
|
10297
12304
|
ADS = 2,
|
|
10298
12305
|
PHOTOS = 3,
|
|
10299
|
-
STREET_VIEW = 4
|
|
12306
|
+
STREET_VIEW = 4,
|
|
12307
|
+
SHOPPING = 5,
|
|
12308
|
+
GEO = 6,
|
|
12309
|
+
GENERATIVE_AI = 7
|
|
10300
12310
|
}
|
|
10301
12311
|
|
|
10302
12312
|
/** ClientLibraryDestination enum. */
|