@googlemaps/places 2.0.1 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +45 -77
- package/build/protos/google/maps/places/v1/address_descriptor.proto +144 -0
- package/build/protos/google/maps/places/v1/photo.proto +6 -0
- package/build/protos/google/maps/places/v1/place.proto +128 -47
- package/build/protos/google/maps/places/v1/places_service.proto +4 -3
- package/build/protos/google/maps/places/v1/review.proto +7 -0
- package/build/protos/protos.d.ts +864 -324
- package/build/protos/protos.js +7322 -5392
- package/build/protos/protos.json +286 -47
- package/build/src/v1/places_client.d.ts +4 -3
- package/build/src/v1/places_client.js +68 -68
- package/build/src/v1/places_client.js.map +1 -1
- package/build/src/v1/places_proto_list.json +1 -0
- package/package.json +4 -4
- package/CHANGELOG.md +0 -132
package/build/protos/protos.d.ts
CHANGED
|
@@ -337,218 +337,218 @@ export namespace google {
|
|
|
337
337
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
338
338
|
}
|
|
339
339
|
|
|
340
|
-
/** Properties of a
|
|
341
|
-
interface
|
|
340
|
+
/** Properties of a Date. */
|
|
341
|
+
interface IDate {
|
|
342
342
|
|
|
343
|
-
/**
|
|
344
|
-
|
|
343
|
+
/** Date year */
|
|
344
|
+
year?: (number|null);
|
|
345
345
|
|
|
346
|
-
/**
|
|
347
|
-
|
|
346
|
+
/** Date month */
|
|
347
|
+
month?: (number|null);
|
|
348
348
|
|
|
349
|
-
/**
|
|
350
|
-
|
|
349
|
+
/** Date day */
|
|
350
|
+
day?: (number|null);
|
|
351
351
|
}
|
|
352
352
|
|
|
353
|
-
/** Represents a
|
|
354
|
-
class
|
|
353
|
+
/** Represents a Date. */
|
|
354
|
+
class Date implements IDate {
|
|
355
355
|
|
|
356
356
|
/**
|
|
357
|
-
* Constructs a new
|
|
357
|
+
* Constructs a new Date.
|
|
358
358
|
* @param [properties] Properties to set
|
|
359
359
|
*/
|
|
360
|
-
constructor(properties?: google.type.
|
|
360
|
+
constructor(properties?: google.type.IDate);
|
|
361
361
|
|
|
362
|
-
/**
|
|
363
|
-
public
|
|
362
|
+
/** Date year. */
|
|
363
|
+
public year: number;
|
|
364
364
|
|
|
365
|
-
/**
|
|
366
|
-
public
|
|
365
|
+
/** Date month. */
|
|
366
|
+
public month: number;
|
|
367
367
|
|
|
368
|
-
/**
|
|
369
|
-
public
|
|
368
|
+
/** Date day. */
|
|
369
|
+
public day: number;
|
|
370
370
|
|
|
371
371
|
/**
|
|
372
|
-
* Creates a new
|
|
372
|
+
* Creates a new Date instance using the specified properties.
|
|
373
373
|
* @param [properties] Properties to set
|
|
374
|
-
* @returns
|
|
374
|
+
* @returns Date instance
|
|
375
375
|
*/
|
|
376
|
-
public static create(properties?: google.type.
|
|
376
|
+
public static create(properties?: google.type.IDate): google.type.Date;
|
|
377
377
|
|
|
378
378
|
/**
|
|
379
|
-
* Encodes the specified
|
|
380
|
-
* @param message
|
|
379
|
+
* Encodes the specified Date message. Does not implicitly {@link google.type.Date.verify|verify} messages.
|
|
380
|
+
* @param message Date message or plain object to encode
|
|
381
381
|
* @param [writer] Writer to encode to
|
|
382
382
|
* @returns Writer
|
|
383
383
|
*/
|
|
384
|
-
public static encode(message: google.type.
|
|
384
|
+
public static encode(message: google.type.IDate, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
385
385
|
|
|
386
386
|
/**
|
|
387
|
-
* Encodes the specified
|
|
388
|
-
* @param message
|
|
387
|
+
* Encodes the specified Date message, length delimited. Does not implicitly {@link google.type.Date.verify|verify} messages.
|
|
388
|
+
* @param message Date message or plain object to encode
|
|
389
389
|
* @param [writer] Writer to encode to
|
|
390
390
|
* @returns Writer
|
|
391
391
|
*/
|
|
392
|
-
public static encodeDelimited(message: google.type.
|
|
392
|
+
public static encodeDelimited(message: google.type.IDate, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
393
393
|
|
|
394
394
|
/**
|
|
395
|
-
* Decodes a
|
|
395
|
+
* Decodes a Date message from the specified reader or buffer.
|
|
396
396
|
* @param reader Reader or buffer to decode from
|
|
397
397
|
* @param [length] Message length if known beforehand
|
|
398
|
-
* @returns
|
|
398
|
+
* @returns Date
|
|
399
399
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
400
400
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
401
401
|
*/
|
|
402
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.type.
|
|
402
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.type.Date;
|
|
403
403
|
|
|
404
404
|
/**
|
|
405
|
-
* Decodes a
|
|
405
|
+
* Decodes a Date message from the specified reader or buffer, length delimited.
|
|
406
406
|
* @param reader Reader or buffer to decode from
|
|
407
|
-
* @returns
|
|
407
|
+
* @returns Date
|
|
408
408
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
409
409
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
410
410
|
*/
|
|
411
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.type.
|
|
411
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.type.Date;
|
|
412
412
|
|
|
413
413
|
/**
|
|
414
|
-
* Verifies a
|
|
414
|
+
* Verifies a Date message.
|
|
415
415
|
* @param message Plain object to verify
|
|
416
416
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
417
417
|
*/
|
|
418
418
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
419
419
|
|
|
420
420
|
/**
|
|
421
|
-
* Creates a
|
|
421
|
+
* Creates a Date message from a plain object. Also converts values to their respective internal types.
|
|
422
422
|
* @param object Plain object
|
|
423
|
-
* @returns
|
|
423
|
+
* @returns Date
|
|
424
424
|
*/
|
|
425
|
-
public static fromObject(object: { [k: string]: any }): google.type.
|
|
425
|
+
public static fromObject(object: { [k: string]: any }): google.type.Date;
|
|
426
426
|
|
|
427
427
|
/**
|
|
428
|
-
* Creates a plain object from a
|
|
429
|
-
* @param message
|
|
428
|
+
* Creates a plain object from a Date message. Also converts values to other types if specified.
|
|
429
|
+
* @param message Date
|
|
430
430
|
* @param [options] Conversion options
|
|
431
431
|
* @returns Plain object
|
|
432
432
|
*/
|
|
433
|
-
public static toObject(message: google.type.
|
|
433
|
+
public static toObject(message: google.type.Date, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
434
434
|
|
|
435
435
|
/**
|
|
436
|
-
* Converts this
|
|
436
|
+
* Converts this Date to JSON.
|
|
437
437
|
* @returns JSON object
|
|
438
438
|
*/
|
|
439
439
|
public toJSON(): { [k: string]: any };
|
|
440
440
|
|
|
441
441
|
/**
|
|
442
|
-
* Gets the default type url for
|
|
442
|
+
* Gets the default type url for Date
|
|
443
443
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
444
444
|
* @returns The default type url
|
|
445
445
|
*/
|
|
446
446
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
447
447
|
}
|
|
448
448
|
|
|
449
|
-
/** Properties of a
|
|
450
|
-
interface
|
|
449
|
+
/** Properties of a Money. */
|
|
450
|
+
interface IMoney {
|
|
451
451
|
|
|
452
|
-
/**
|
|
453
|
-
|
|
452
|
+
/** Money currencyCode */
|
|
453
|
+
currencyCode?: (string|null);
|
|
454
454
|
|
|
455
|
-
/**
|
|
456
|
-
|
|
455
|
+
/** Money units */
|
|
456
|
+
units?: (number|Long|string|null);
|
|
457
457
|
|
|
458
|
-
/**
|
|
459
|
-
|
|
458
|
+
/** Money nanos */
|
|
459
|
+
nanos?: (number|null);
|
|
460
460
|
}
|
|
461
461
|
|
|
462
|
-
/** Represents a
|
|
463
|
-
class
|
|
462
|
+
/** Represents a Money. */
|
|
463
|
+
class Money implements IMoney {
|
|
464
464
|
|
|
465
465
|
/**
|
|
466
|
-
* Constructs a new
|
|
466
|
+
* Constructs a new Money.
|
|
467
467
|
* @param [properties] Properties to set
|
|
468
468
|
*/
|
|
469
|
-
constructor(properties?: google.type.
|
|
469
|
+
constructor(properties?: google.type.IMoney);
|
|
470
470
|
|
|
471
|
-
/**
|
|
472
|
-
public
|
|
471
|
+
/** Money currencyCode. */
|
|
472
|
+
public currencyCode: string;
|
|
473
473
|
|
|
474
|
-
/**
|
|
475
|
-
public
|
|
474
|
+
/** Money units. */
|
|
475
|
+
public units: (number|Long|string);
|
|
476
476
|
|
|
477
|
-
/**
|
|
478
|
-
public
|
|
477
|
+
/** Money nanos. */
|
|
478
|
+
public nanos: number;
|
|
479
479
|
|
|
480
480
|
/**
|
|
481
|
-
* Creates a new
|
|
481
|
+
* Creates a new Money instance using the specified properties.
|
|
482
482
|
* @param [properties] Properties to set
|
|
483
|
-
* @returns
|
|
483
|
+
* @returns Money instance
|
|
484
484
|
*/
|
|
485
|
-
public static create(properties?: google.type.
|
|
485
|
+
public static create(properties?: google.type.IMoney): google.type.Money;
|
|
486
486
|
|
|
487
487
|
/**
|
|
488
|
-
* Encodes the specified
|
|
489
|
-
* @param message
|
|
488
|
+
* Encodes the specified Money message. Does not implicitly {@link google.type.Money.verify|verify} messages.
|
|
489
|
+
* @param message Money message or plain object to encode
|
|
490
490
|
* @param [writer] Writer to encode to
|
|
491
491
|
* @returns Writer
|
|
492
492
|
*/
|
|
493
|
-
public static encode(message: google.type.
|
|
493
|
+
public static encode(message: google.type.IMoney, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
494
494
|
|
|
495
495
|
/**
|
|
496
|
-
* Encodes the specified
|
|
497
|
-
* @param message
|
|
496
|
+
* Encodes the specified Money message, length delimited. Does not implicitly {@link google.type.Money.verify|verify} messages.
|
|
497
|
+
* @param message Money message or plain object to encode
|
|
498
498
|
* @param [writer] Writer to encode to
|
|
499
499
|
* @returns Writer
|
|
500
500
|
*/
|
|
501
|
-
public static encodeDelimited(message: google.type.
|
|
501
|
+
public static encodeDelimited(message: google.type.IMoney, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
502
502
|
|
|
503
503
|
/**
|
|
504
|
-
* Decodes a
|
|
504
|
+
* Decodes a Money message from the specified reader or buffer.
|
|
505
505
|
* @param reader Reader or buffer to decode from
|
|
506
506
|
* @param [length] Message length if known beforehand
|
|
507
|
-
* @returns
|
|
507
|
+
* @returns Money
|
|
508
508
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
509
509
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
510
510
|
*/
|
|
511
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.type.
|
|
511
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.type.Money;
|
|
512
512
|
|
|
513
513
|
/**
|
|
514
|
-
* Decodes a
|
|
514
|
+
* Decodes a Money message from the specified reader or buffer, length delimited.
|
|
515
515
|
* @param reader Reader or buffer to decode from
|
|
516
|
-
* @returns
|
|
516
|
+
* @returns Money
|
|
517
517
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
518
518
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
519
519
|
*/
|
|
520
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.type.
|
|
520
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.type.Money;
|
|
521
521
|
|
|
522
522
|
/**
|
|
523
|
-
* Verifies a
|
|
523
|
+
* Verifies a Money message.
|
|
524
524
|
* @param message Plain object to verify
|
|
525
525
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
526
526
|
*/
|
|
527
527
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
528
528
|
|
|
529
529
|
/**
|
|
530
|
-
* Creates a
|
|
530
|
+
* Creates a Money message from a plain object. Also converts values to their respective internal types.
|
|
531
531
|
* @param object Plain object
|
|
532
|
-
* @returns
|
|
532
|
+
* @returns Money
|
|
533
533
|
*/
|
|
534
|
-
public static fromObject(object: { [k: string]: any }): google.type.
|
|
534
|
+
public static fromObject(object: { [k: string]: any }): google.type.Money;
|
|
535
535
|
|
|
536
536
|
/**
|
|
537
|
-
* Creates a plain object from a
|
|
538
|
-
* @param message
|
|
537
|
+
* Creates a plain object from a Money message. Also converts values to other types if specified.
|
|
538
|
+
* @param message Money
|
|
539
539
|
* @param [options] Conversion options
|
|
540
540
|
* @returns Plain object
|
|
541
541
|
*/
|
|
542
|
-
public static toObject(message: google.type.
|
|
542
|
+
public static toObject(message: google.type.Money, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
543
543
|
|
|
544
544
|
/**
|
|
545
|
-
* Converts this
|
|
545
|
+
* Converts this Money to JSON.
|
|
546
546
|
* @returns JSON object
|
|
547
547
|
*/
|
|
548
548
|
public toJSON(): { [k: string]: any };
|
|
549
549
|
|
|
550
550
|
/**
|
|
551
|
-
* Gets the default type url for
|
|
551
|
+
* Gets the default type url for Money
|
|
552
552
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
553
553
|
* @returns The default type url
|
|
554
554
|
*/
|
|
@@ -973,6 +973,385 @@ export namespace google {
|
|
|
973
973
|
/** Namespace v1. */
|
|
974
974
|
namespace v1 {
|
|
975
975
|
|
|
976
|
+
/** Properties of an AddressDescriptor. */
|
|
977
|
+
interface IAddressDescriptor {
|
|
978
|
+
|
|
979
|
+
/** AddressDescriptor landmarks */
|
|
980
|
+
landmarks?: (google.maps.places.v1.AddressDescriptor.ILandmark[]|null);
|
|
981
|
+
|
|
982
|
+
/** AddressDescriptor areas */
|
|
983
|
+
areas?: (google.maps.places.v1.AddressDescriptor.IArea[]|null);
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
/** Represents an AddressDescriptor. */
|
|
987
|
+
class AddressDescriptor implements IAddressDescriptor {
|
|
988
|
+
|
|
989
|
+
/**
|
|
990
|
+
* Constructs a new AddressDescriptor.
|
|
991
|
+
* @param [properties] Properties to set
|
|
992
|
+
*/
|
|
993
|
+
constructor(properties?: google.maps.places.v1.IAddressDescriptor);
|
|
994
|
+
|
|
995
|
+
/** AddressDescriptor landmarks. */
|
|
996
|
+
public landmarks: google.maps.places.v1.AddressDescriptor.ILandmark[];
|
|
997
|
+
|
|
998
|
+
/** AddressDescriptor areas. */
|
|
999
|
+
public areas: google.maps.places.v1.AddressDescriptor.IArea[];
|
|
1000
|
+
|
|
1001
|
+
/**
|
|
1002
|
+
* Creates a new AddressDescriptor instance using the specified properties.
|
|
1003
|
+
* @param [properties] Properties to set
|
|
1004
|
+
* @returns AddressDescriptor instance
|
|
1005
|
+
*/
|
|
1006
|
+
public static create(properties?: google.maps.places.v1.IAddressDescriptor): google.maps.places.v1.AddressDescriptor;
|
|
1007
|
+
|
|
1008
|
+
/**
|
|
1009
|
+
* Encodes the specified AddressDescriptor message. Does not implicitly {@link google.maps.places.v1.AddressDescriptor.verify|verify} messages.
|
|
1010
|
+
* @param message AddressDescriptor message or plain object to encode
|
|
1011
|
+
* @param [writer] Writer to encode to
|
|
1012
|
+
* @returns Writer
|
|
1013
|
+
*/
|
|
1014
|
+
public static encode(message: google.maps.places.v1.IAddressDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1015
|
+
|
|
1016
|
+
/**
|
|
1017
|
+
* Encodes the specified AddressDescriptor message, length delimited. Does not implicitly {@link google.maps.places.v1.AddressDescriptor.verify|verify} messages.
|
|
1018
|
+
* @param message AddressDescriptor message or plain object to encode
|
|
1019
|
+
* @param [writer] Writer to encode to
|
|
1020
|
+
* @returns Writer
|
|
1021
|
+
*/
|
|
1022
|
+
public static encodeDelimited(message: google.maps.places.v1.IAddressDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1023
|
+
|
|
1024
|
+
/**
|
|
1025
|
+
* Decodes an AddressDescriptor message from the specified reader or buffer.
|
|
1026
|
+
* @param reader Reader or buffer to decode from
|
|
1027
|
+
* @param [length] Message length if known beforehand
|
|
1028
|
+
* @returns AddressDescriptor
|
|
1029
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1030
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1031
|
+
*/
|
|
1032
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.AddressDescriptor;
|
|
1033
|
+
|
|
1034
|
+
/**
|
|
1035
|
+
* Decodes an AddressDescriptor message from the specified reader or buffer, length delimited.
|
|
1036
|
+
* @param reader Reader or buffer to decode from
|
|
1037
|
+
* @returns AddressDescriptor
|
|
1038
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1039
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1040
|
+
*/
|
|
1041
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.AddressDescriptor;
|
|
1042
|
+
|
|
1043
|
+
/**
|
|
1044
|
+
* Verifies an AddressDescriptor message.
|
|
1045
|
+
* @param message Plain object to verify
|
|
1046
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1047
|
+
*/
|
|
1048
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1049
|
+
|
|
1050
|
+
/**
|
|
1051
|
+
* Creates an AddressDescriptor message from a plain object. Also converts values to their respective internal types.
|
|
1052
|
+
* @param object Plain object
|
|
1053
|
+
* @returns AddressDescriptor
|
|
1054
|
+
*/
|
|
1055
|
+
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.AddressDescriptor;
|
|
1056
|
+
|
|
1057
|
+
/**
|
|
1058
|
+
* Creates a plain object from an AddressDescriptor message. Also converts values to other types if specified.
|
|
1059
|
+
* @param message AddressDescriptor
|
|
1060
|
+
* @param [options] Conversion options
|
|
1061
|
+
* @returns Plain object
|
|
1062
|
+
*/
|
|
1063
|
+
public static toObject(message: google.maps.places.v1.AddressDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1064
|
+
|
|
1065
|
+
/**
|
|
1066
|
+
* Converts this AddressDescriptor to JSON.
|
|
1067
|
+
* @returns JSON object
|
|
1068
|
+
*/
|
|
1069
|
+
public toJSON(): { [k: string]: any };
|
|
1070
|
+
|
|
1071
|
+
/**
|
|
1072
|
+
* Gets the default type url for AddressDescriptor
|
|
1073
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1074
|
+
* @returns The default type url
|
|
1075
|
+
*/
|
|
1076
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
namespace AddressDescriptor {
|
|
1080
|
+
|
|
1081
|
+
/** Properties of a Landmark. */
|
|
1082
|
+
interface ILandmark {
|
|
1083
|
+
|
|
1084
|
+
/** Landmark name */
|
|
1085
|
+
name?: (string|null);
|
|
1086
|
+
|
|
1087
|
+
/** Landmark placeId */
|
|
1088
|
+
placeId?: (string|null);
|
|
1089
|
+
|
|
1090
|
+
/** Landmark displayName */
|
|
1091
|
+
displayName?: (google.type.ILocalizedText|null);
|
|
1092
|
+
|
|
1093
|
+
/** Landmark types */
|
|
1094
|
+
types?: (string[]|null);
|
|
1095
|
+
|
|
1096
|
+
/** Landmark spatialRelationship */
|
|
1097
|
+
spatialRelationship?: (google.maps.places.v1.AddressDescriptor.Landmark.SpatialRelationship|keyof typeof google.maps.places.v1.AddressDescriptor.Landmark.SpatialRelationship|null);
|
|
1098
|
+
|
|
1099
|
+
/** Landmark straightLineDistanceMeters */
|
|
1100
|
+
straightLineDistanceMeters?: (number|null);
|
|
1101
|
+
|
|
1102
|
+
/** Landmark travelDistanceMeters */
|
|
1103
|
+
travelDistanceMeters?: (number|null);
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
/** Represents a Landmark. */
|
|
1107
|
+
class Landmark implements ILandmark {
|
|
1108
|
+
|
|
1109
|
+
/**
|
|
1110
|
+
* Constructs a new Landmark.
|
|
1111
|
+
* @param [properties] Properties to set
|
|
1112
|
+
*/
|
|
1113
|
+
constructor(properties?: google.maps.places.v1.AddressDescriptor.ILandmark);
|
|
1114
|
+
|
|
1115
|
+
/** Landmark name. */
|
|
1116
|
+
public name: string;
|
|
1117
|
+
|
|
1118
|
+
/** Landmark placeId. */
|
|
1119
|
+
public placeId: string;
|
|
1120
|
+
|
|
1121
|
+
/** Landmark displayName. */
|
|
1122
|
+
public displayName?: (google.type.ILocalizedText|null);
|
|
1123
|
+
|
|
1124
|
+
/** Landmark types. */
|
|
1125
|
+
public types: string[];
|
|
1126
|
+
|
|
1127
|
+
/** Landmark spatialRelationship. */
|
|
1128
|
+
public spatialRelationship: (google.maps.places.v1.AddressDescriptor.Landmark.SpatialRelationship|keyof typeof google.maps.places.v1.AddressDescriptor.Landmark.SpatialRelationship);
|
|
1129
|
+
|
|
1130
|
+
/** Landmark straightLineDistanceMeters. */
|
|
1131
|
+
public straightLineDistanceMeters: number;
|
|
1132
|
+
|
|
1133
|
+
/** Landmark travelDistanceMeters. */
|
|
1134
|
+
public travelDistanceMeters?: (number|null);
|
|
1135
|
+
|
|
1136
|
+
/**
|
|
1137
|
+
* Creates a new Landmark instance using the specified properties.
|
|
1138
|
+
* @param [properties] Properties to set
|
|
1139
|
+
* @returns Landmark instance
|
|
1140
|
+
*/
|
|
1141
|
+
public static create(properties?: google.maps.places.v1.AddressDescriptor.ILandmark): google.maps.places.v1.AddressDescriptor.Landmark;
|
|
1142
|
+
|
|
1143
|
+
/**
|
|
1144
|
+
* Encodes the specified Landmark message. Does not implicitly {@link google.maps.places.v1.AddressDescriptor.Landmark.verify|verify} messages.
|
|
1145
|
+
* @param message Landmark message or plain object to encode
|
|
1146
|
+
* @param [writer] Writer to encode to
|
|
1147
|
+
* @returns Writer
|
|
1148
|
+
*/
|
|
1149
|
+
public static encode(message: google.maps.places.v1.AddressDescriptor.ILandmark, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1150
|
+
|
|
1151
|
+
/**
|
|
1152
|
+
* Encodes the specified Landmark message, length delimited. Does not implicitly {@link google.maps.places.v1.AddressDescriptor.Landmark.verify|verify} messages.
|
|
1153
|
+
* @param message Landmark message or plain object to encode
|
|
1154
|
+
* @param [writer] Writer to encode to
|
|
1155
|
+
* @returns Writer
|
|
1156
|
+
*/
|
|
1157
|
+
public static encodeDelimited(message: google.maps.places.v1.AddressDescriptor.ILandmark, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1158
|
+
|
|
1159
|
+
/**
|
|
1160
|
+
* Decodes a Landmark message from the specified reader or buffer.
|
|
1161
|
+
* @param reader Reader or buffer to decode from
|
|
1162
|
+
* @param [length] Message length if known beforehand
|
|
1163
|
+
* @returns Landmark
|
|
1164
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1165
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1166
|
+
*/
|
|
1167
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.AddressDescriptor.Landmark;
|
|
1168
|
+
|
|
1169
|
+
/**
|
|
1170
|
+
* Decodes a Landmark message from the specified reader or buffer, length delimited.
|
|
1171
|
+
* @param reader Reader or buffer to decode from
|
|
1172
|
+
* @returns Landmark
|
|
1173
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1174
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1175
|
+
*/
|
|
1176
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.AddressDescriptor.Landmark;
|
|
1177
|
+
|
|
1178
|
+
/**
|
|
1179
|
+
* Verifies a Landmark message.
|
|
1180
|
+
* @param message Plain object to verify
|
|
1181
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1182
|
+
*/
|
|
1183
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1184
|
+
|
|
1185
|
+
/**
|
|
1186
|
+
* Creates a Landmark message from a plain object. Also converts values to their respective internal types.
|
|
1187
|
+
* @param object Plain object
|
|
1188
|
+
* @returns Landmark
|
|
1189
|
+
*/
|
|
1190
|
+
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.AddressDescriptor.Landmark;
|
|
1191
|
+
|
|
1192
|
+
/**
|
|
1193
|
+
* Creates a plain object from a Landmark message. Also converts values to other types if specified.
|
|
1194
|
+
* @param message Landmark
|
|
1195
|
+
* @param [options] Conversion options
|
|
1196
|
+
* @returns Plain object
|
|
1197
|
+
*/
|
|
1198
|
+
public static toObject(message: google.maps.places.v1.AddressDescriptor.Landmark, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1199
|
+
|
|
1200
|
+
/**
|
|
1201
|
+
* Converts this Landmark to JSON.
|
|
1202
|
+
* @returns JSON object
|
|
1203
|
+
*/
|
|
1204
|
+
public toJSON(): { [k: string]: any };
|
|
1205
|
+
|
|
1206
|
+
/**
|
|
1207
|
+
* Gets the default type url for Landmark
|
|
1208
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1209
|
+
* @returns The default type url
|
|
1210
|
+
*/
|
|
1211
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1212
|
+
}
|
|
1213
|
+
|
|
1214
|
+
namespace Landmark {
|
|
1215
|
+
|
|
1216
|
+
/** SpatialRelationship enum. */
|
|
1217
|
+
enum SpatialRelationship {
|
|
1218
|
+
NEAR = 0,
|
|
1219
|
+
WITHIN = 1,
|
|
1220
|
+
BESIDE = 2,
|
|
1221
|
+
ACROSS_THE_ROAD = 3,
|
|
1222
|
+
DOWN_THE_ROAD = 4,
|
|
1223
|
+
AROUND_THE_CORNER = 5,
|
|
1224
|
+
BEHIND = 6
|
|
1225
|
+
}
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
/** Properties of an Area. */
|
|
1229
|
+
interface IArea {
|
|
1230
|
+
|
|
1231
|
+
/** Area name */
|
|
1232
|
+
name?: (string|null);
|
|
1233
|
+
|
|
1234
|
+
/** Area placeId */
|
|
1235
|
+
placeId?: (string|null);
|
|
1236
|
+
|
|
1237
|
+
/** Area displayName */
|
|
1238
|
+
displayName?: (google.type.ILocalizedText|null);
|
|
1239
|
+
|
|
1240
|
+
/** Area containment */
|
|
1241
|
+
containment?: (google.maps.places.v1.AddressDescriptor.Area.Containment|keyof typeof google.maps.places.v1.AddressDescriptor.Area.Containment|null);
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1244
|
+
/** Represents an Area. */
|
|
1245
|
+
class Area implements IArea {
|
|
1246
|
+
|
|
1247
|
+
/**
|
|
1248
|
+
* Constructs a new Area.
|
|
1249
|
+
* @param [properties] Properties to set
|
|
1250
|
+
*/
|
|
1251
|
+
constructor(properties?: google.maps.places.v1.AddressDescriptor.IArea);
|
|
1252
|
+
|
|
1253
|
+
/** Area name. */
|
|
1254
|
+
public name: string;
|
|
1255
|
+
|
|
1256
|
+
/** Area placeId. */
|
|
1257
|
+
public placeId: string;
|
|
1258
|
+
|
|
1259
|
+
/** Area displayName. */
|
|
1260
|
+
public displayName?: (google.type.ILocalizedText|null);
|
|
1261
|
+
|
|
1262
|
+
/** Area containment. */
|
|
1263
|
+
public containment: (google.maps.places.v1.AddressDescriptor.Area.Containment|keyof typeof google.maps.places.v1.AddressDescriptor.Area.Containment);
|
|
1264
|
+
|
|
1265
|
+
/**
|
|
1266
|
+
* Creates a new Area instance using the specified properties.
|
|
1267
|
+
* @param [properties] Properties to set
|
|
1268
|
+
* @returns Area instance
|
|
1269
|
+
*/
|
|
1270
|
+
public static create(properties?: google.maps.places.v1.AddressDescriptor.IArea): google.maps.places.v1.AddressDescriptor.Area;
|
|
1271
|
+
|
|
1272
|
+
/**
|
|
1273
|
+
* Encodes the specified Area message. Does not implicitly {@link google.maps.places.v1.AddressDescriptor.Area.verify|verify} messages.
|
|
1274
|
+
* @param message Area message or plain object to encode
|
|
1275
|
+
* @param [writer] Writer to encode to
|
|
1276
|
+
* @returns Writer
|
|
1277
|
+
*/
|
|
1278
|
+
public static encode(message: google.maps.places.v1.AddressDescriptor.IArea, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1279
|
+
|
|
1280
|
+
/**
|
|
1281
|
+
* Encodes the specified Area message, length delimited. Does not implicitly {@link google.maps.places.v1.AddressDescriptor.Area.verify|verify} messages.
|
|
1282
|
+
* @param message Area message or plain object to encode
|
|
1283
|
+
* @param [writer] Writer to encode to
|
|
1284
|
+
* @returns Writer
|
|
1285
|
+
*/
|
|
1286
|
+
public static encodeDelimited(message: google.maps.places.v1.AddressDescriptor.IArea, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1287
|
+
|
|
1288
|
+
/**
|
|
1289
|
+
* Decodes an Area message from the specified reader or buffer.
|
|
1290
|
+
* @param reader Reader or buffer to decode from
|
|
1291
|
+
* @param [length] Message length if known beforehand
|
|
1292
|
+
* @returns Area
|
|
1293
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1294
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1295
|
+
*/
|
|
1296
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.AddressDescriptor.Area;
|
|
1297
|
+
|
|
1298
|
+
/**
|
|
1299
|
+
* Decodes an Area message from the specified reader or buffer, length delimited.
|
|
1300
|
+
* @param reader Reader or buffer to decode from
|
|
1301
|
+
* @returns Area
|
|
1302
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1303
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1304
|
+
*/
|
|
1305
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.AddressDescriptor.Area;
|
|
1306
|
+
|
|
1307
|
+
/**
|
|
1308
|
+
* Verifies an Area message.
|
|
1309
|
+
* @param message Plain object to verify
|
|
1310
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1311
|
+
*/
|
|
1312
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1313
|
+
|
|
1314
|
+
/**
|
|
1315
|
+
* Creates an Area message from a plain object. Also converts values to their respective internal types.
|
|
1316
|
+
* @param object Plain object
|
|
1317
|
+
* @returns Area
|
|
1318
|
+
*/
|
|
1319
|
+
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.AddressDescriptor.Area;
|
|
1320
|
+
|
|
1321
|
+
/**
|
|
1322
|
+
* Creates a plain object from an Area message. Also converts values to other types if specified.
|
|
1323
|
+
* @param message Area
|
|
1324
|
+
* @param [options] Conversion options
|
|
1325
|
+
* @returns Plain object
|
|
1326
|
+
*/
|
|
1327
|
+
public static toObject(message: google.maps.places.v1.AddressDescriptor.Area, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1328
|
+
|
|
1329
|
+
/**
|
|
1330
|
+
* Converts this Area to JSON.
|
|
1331
|
+
* @returns JSON object
|
|
1332
|
+
*/
|
|
1333
|
+
public toJSON(): { [k: string]: any };
|
|
1334
|
+
|
|
1335
|
+
/**
|
|
1336
|
+
* Gets the default type url for Area
|
|
1337
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1338
|
+
* @returns The default type url
|
|
1339
|
+
*/
|
|
1340
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1341
|
+
}
|
|
1342
|
+
|
|
1343
|
+
namespace Area {
|
|
1344
|
+
|
|
1345
|
+
/** Containment enum. */
|
|
1346
|
+
enum Containment {
|
|
1347
|
+
CONTAINMENT_UNSPECIFIED = 0,
|
|
1348
|
+
WITHIN = 1,
|
|
1349
|
+
OUTSKIRTS = 2,
|
|
1350
|
+
NEAR = 3
|
|
1351
|
+
}
|
|
1352
|
+
}
|
|
1353
|
+
}
|
|
1354
|
+
|
|
976
1355
|
/** Properties of an AuthorAttribution. */
|
|
977
1356
|
interface IAuthorAttribution {
|
|
978
1357
|
|
|
@@ -1317,6 +1696,12 @@ export namespace google {
|
|
|
1317
1696
|
|
|
1318
1697
|
/** Review publishTime */
|
|
1319
1698
|
publishTime?: (google.protobuf.ITimestamp|null);
|
|
1699
|
+
|
|
1700
|
+
/** Review flagContentUri */
|
|
1701
|
+
flagContentUri?: (string|null);
|
|
1702
|
+
|
|
1703
|
+
/** Review googleMapsUri */
|
|
1704
|
+
googleMapsUri?: (string|null);
|
|
1320
1705
|
}
|
|
1321
1706
|
|
|
1322
1707
|
/** Represents a Review. */
|
|
@@ -1349,6 +1734,12 @@ export namespace google {
|
|
|
1349
1734
|
/** Review publishTime. */
|
|
1350
1735
|
public publishTime?: (google.protobuf.ITimestamp|null);
|
|
1351
1736
|
|
|
1737
|
+
/** Review flagContentUri. */
|
|
1738
|
+
public flagContentUri: string;
|
|
1739
|
+
|
|
1740
|
+
/** Review googleMapsUri. */
|
|
1741
|
+
public googleMapsUri: string;
|
|
1742
|
+
|
|
1352
1743
|
/**
|
|
1353
1744
|
* Creates a new Review instance using the specified properties.
|
|
1354
1745
|
* @param [properties] Properties to set
|
|
@@ -2086,6 +2477,12 @@ export namespace google {
|
|
|
2086
2477
|
|
|
2087
2478
|
/** Photo authorAttributions */
|
|
2088
2479
|
authorAttributions?: (google.maps.places.v1.IAuthorAttribution[]|null);
|
|
2480
|
+
|
|
2481
|
+
/** Photo flagContentUri */
|
|
2482
|
+
flagContentUri?: (string|null);
|
|
2483
|
+
|
|
2484
|
+
/** Photo googleMapsUri */
|
|
2485
|
+
googleMapsUri?: (string|null);
|
|
2089
2486
|
}
|
|
2090
2487
|
|
|
2091
2488
|
/** Represents a Photo. */
|
|
@@ -2109,6 +2506,12 @@ export namespace google {
|
|
|
2109
2506
|
/** Photo authorAttributions. */
|
|
2110
2507
|
public authorAttributions: google.maps.places.v1.IAuthorAttribution[];
|
|
2111
2508
|
|
|
2509
|
+
/** Photo flagContentUri. */
|
|
2510
|
+
public flagContentUri: string;
|
|
2511
|
+
|
|
2512
|
+
/** Photo googleMapsUri. */
|
|
2513
|
+
public googleMapsUri: string;
|
|
2514
|
+
|
|
2112
2515
|
/**
|
|
2113
2516
|
* Creates a new Photo instance using the specified properties.
|
|
2114
2517
|
* @param [properties] Properties to set
|
|
@@ -2341,12 +2744,6 @@ export namespace google {
|
|
|
2341
2744
|
/** ConnectorAggregation availabilityLastUpdateTime. */
|
|
2342
2745
|
public availabilityLastUpdateTime?: (google.protobuf.ITimestamp|null);
|
|
2343
2746
|
|
|
2344
|
-
/** ConnectorAggregation _availableCount. */
|
|
2345
|
-
public _availableCount?: "availableCount";
|
|
2346
|
-
|
|
2347
|
-
/** ConnectorAggregation _outOfServiceCount. */
|
|
2348
|
-
public _outOfServiceCount?: "outOfServiceCount";
|
|
2349
|
-
|
|
2350
2747
|
/**
|
|
2351
2748
|
* Creates a new ConnectorAggregation instance using the specified properties.
|
|
2352
2749
|
* @param [properties] Properties to set
|
|
@@ -2976,17 +3373,26 @@ export namespace google {
|
|
|
2976
3373
|
/** Place generativeSummary */
|
|
2977
3374
|
generativeSummary?: (google.maps.places.v1.Place.IGenerativeSummary|null);
|
|
2978
3375
|
|
|
2979
|
-
/** Place areaSummary */
|
|
2980
|
-
areaSummary?: (google.maps.places.v1.Place.IAreaSummary|null);
|
|
2981
|
-
|
|
2982
3376
|
/** Place containingPlaces */
|
|
2983
3377
|
containingPlaces?: (google.maps.places.v1.Place.IContainingPlace[]|null);
|
|
2984
3378
|
|
|
2985
3379
|
/** Place pureServiceAreaBusiness */
|
|
2986
3380
|
pureServiceAreaBusiness?: (boolean|null);
|
|
2987
3381
|
|
|
3382
|
+
/** Place addressDescriptor */
|
|
3383
|
+
addressDescriptor?: (google.maps.places.v1.IAddressDescriptor|null);
|
|
3384
|
+
|
|
2988
3385
|
/** Place priceRange */
|
|
2989
3386
|
priceRange?: (google.maps.places.v1.IPriceRange|null);
|
|
3387
|
+
|
|
3388
|
+
/** Place reviewSummary */
|
|
3389
|
+
reviewSummary?: (google.maps.places.v1.Place.IReviewSummary|null);
|
|
3390
|
+
|
|
3391
|
+
/** Place evChargeAmenitySummary */
|
|
3392
|
+
evChargeAmenitySummary?: (google.maps.places.v1.Place.IEvChargeAmenitySummary|null);
|
|
3393
|
+
|
|
3394
|
+
/** Place neighborhoodSummary */
|
|
3395
|
+
neighborhoodSummary?: (google.maps.places.v1.Place.INeighborhoodSummary|null);
|
|
2990
3396
|
}
|
|
2991
3397
|
|
|
2992
3398
|
/** Represents a Place. */
|
|
@@ -3181,107 +3587,35 @@ export namespace google {
|
|
|
3181
3587
|
/** Place accessibilityOptions. */
|
|
3182
3588
|
public accessibilityOptions?: (google.maps.places.v1.Place.IAccessibilityOptions|null);
|
|
3183
3589
|
|
|
3184
|
-
/** Place fuelOptions. */
|
|
3185
|
-
public fuelOptions?: (google.maps.places.v1.IFuelOptions|null);
|
|
3186
|
-
|
|
3187
|
-
/** Place evChargeOptions. */
|
|
3188
|
-
public evChargeOptions?: (google.maps.places.v1.IEVChargeOptions|null);
|
|
3189
|
-
|
|
3190
|
-
/** Place generativeSummary. */
|
|
3191
|
-
public generativeSummary?: (google.maps.places.v1.Place.IGenerativeSummary|null);
|
|
3192
|
-
|
|
3193
|
-
/** Place areaSummary. */
|
|
3194
|
-
public areaSummary?: (google.maps.places.v1.Place.IAreaSummary|null);
|
|
3195
|
-
|
|
3196
|
-
/** Place containingPlaces. */
|
|
3197
|
-
public containingPlaces: google.maps.places.v1.Place.IContainingPlace[];
|
|
3198
|
-
|
|
3199
|
-
/** Place pureServiceAreaBusiness. */
|
|
3200
|
-
public pureServiceAreaBusiness?: (boolean|null);
|
|
3201
|
-
|
|
3202
|
-
/** Place priceRange. */
|
|
3203
|
-
public priceRange?: (google.maps.places.v1.IPriceRange|null);
|
|
3204
|
-
|
|
3205
|
-
/** Place _utcOffsetMinutes. */
|
|
3206
|
-
public _utcOffsetMinutes?: "utcOffsetMinutes";
|
|
3207
|
-
|
|
3208
|
-
/** Place _userRatingCount. */
|
|
3209
|
-
public _userRatingCount?: "userRatingCount";
|
|
3210
|
-
|
|
3211
|
-
/** Place _takeout. */
|
|
3212
|
-
public _takeout?: "takeout";
|
|
3213
|
-
|
|
3214
|
-
/** Place _delivery. */
|
|
3215
|
-
public _delivery?: "delivery";
|
|
3216
|
-
|
|
3217
|
-
/** Place _dineIn. */
|
|
3218
|
-
public _dineIn?: "dineIn";
|
|
3219
|
-
|
|
3220
|
-
/** Place _curbsidePickup. */
|
|
3221
|
-
public _curbsidePickup?: "curbsidePickup";
|
|
3222
|
-
|
|
3223
|
-
/** Place _reservable. */
|
|
3224
|
-
public _reservable?: "reservable";
|
|
3225
|
-
|
|
3226
|
-
/** Place _servesBreakfast. */
|
|
3227
|
-
public _servesBreakfast?: "servesBreakfast";
|
|
3228
|
-
|
|
3229
|
-
/** Place _servesLunch. */
|
|
3230
|
-
public _servesLunch?: "servesLunch";
|
|
3231
|
-
|
|
3232
|
-
/** Place _servesDinner. */
|
|
3233
|
-
public _servesDinner?: "servesDinner";
|
|
3234
|
-
|
|
3235
|
-
/** Place _servesBeer. */
|
|
3236
|
-
public _servesBeer?: "servesBeer";
|
|
3237
|
-
|
|
3238
|
-
/** Place _servesWine. */
|
|
3239
|
-
public _servesWine?: "servesWine";
|
|
3240
|
-
|
|
3241
|
-
/** Place _servesBrunch. */
|
|
3242
|
-
public _servesBrunch?: "servesBrunch";
|
|
3243
|
-
|
|
3244
|
-
/** Place _servesVegetarianFood. */
|
|
3245
|
-
public _servesVegetarianFood?: "servesVegetarianFood";
|
|
3246
|
-
|
|
3247
|
-
/** Place _outdoorSeating. */
|
|
3248
|
-
public _outdoorSeating?: "outdoorSeating";
|
|
3249
|
-
|
|
3250
|
-
/** Place _liveMusic. */
|
|
3251
|
-
public _liveMusic?: "liveMusic";
|
|
3252
|
-
|
|
3253
|
-
/** Place _menuForChildren. */
|
|
3254
|
-
public _menuForChildren?: "menuForChildren";
|
|
3255
|
-
|
|
3256
|
-
/** Place _servesCocktails. */
|
|
3257
|
-
public _servesCocktails?: "servesCocktails";
|
|
3590
|
+
/** Place fuelOptions. */
|
|
3591
|
+
public fuelOptions?: (google.maps.places.v1.IFuelOptions|null);
|
|
3258
3592
|
|
|
3259
|
-
/** Place
|
|
3260
|
-
public
|
|
3593
|
+
/** Place evChargeOptions. */
|
|
3594
|
+
public evChargeOptions?: (google.maps.places.v1.IEVChargeOptions|null);
|
|
3261
3595
|
|
|
3262
|
-
/** Place
|
|
3263
|
-
public
|
|
3596
|
+
/** Place generativeSummary. */
|
|
3597
|
+
public generativeSummary?: (google.maps.places.v1.Place.IGenerativeSummary|null);
|
|
3264
3598
|
|
|
3265
|
-
/** Place
|
|
3266
|
-
public
|
|
3599
|
+
/** Place containingPlaces. */
|
|
3600
|
+
public containingPlaces: google.maps.places.v1.Place.IContainingPlace[];
|
|
3267
3601
|
|
|
3268
|
-
/** Place
|
|
3269
|
-
public
|
|
3602
|
+
/** Place pureServiceAreaBusiness. */
|
|
3603
|
+
public pureServiceAreaBusiness?: (boolean|null);
|
|
3270
3604
|
|
|
3271
|
-
/** Place
|
|
3272
|
-
public
|
|
3605
|
+
/** Place addressDescriptor. */
|
|
3606
|
+
public addressDescriptor?: (google.maps.places.v1.IAddressDescriptor|null);
|
|
3273
3607
|
|
|
3274
|
-
/** Place
|
|
3275
|
-
public
|
|
3608
|
+
/** Place priceRange. */
|
|
3609
|
+
public priceRange?: (google.maps.places.v1.IPriceRange|null);
|
|
3276
3610
|
|
|
3277
|
-
/** Place
|
|
3278
|
-
public
|
|
3611
|
+
/** Place reviewSummary. */
|
|
3612
|
+
public reviewSummary?: (google.maps.places.v1.Place.IReviewSummary|null);
|
|
3279
3613
|
|
|
3280
|
-
/** Place
|
|
3281
|
-
public
|
|
3614
|
+
/** Place evChargeAmenitySummary. */
|
|
3615
|
+
public evChargeAmenitySummary?: (google.maps.places.v1.Place.IEvChargeAmenitySummary|null);
|
|
3282
3616
|
|
|
3283
|
-
/** Place
|
|
3284
|
-
public
|
|
3617
|
+
/** Place neighborhoodSummary. */
|
|
3618
|
+
public neighborhoodSummary?: (google.maps.places.v1.Place.INeighborhoodSummary|null);
|
|
3285
3619
|
|
|
3286
3620
|
/**
|
|
3287
3621
|
* Creates a new Place instance using the specified properties.
|
|
@@ -3636,9 +3970,6 @@ export namespace google {
|
|
|
3636
3970
|
/** OpeningHours nextCloseTime. */
|
|
3637
3971
|
public nextCloseTime?: (google.protobuf.ITimestamp|null);
|
|
3638
3972
|
|
|
3639
|
-
/** OpeningHours _openNow. */
|
|
3640
|
-
public _openNow?: "openNow";
|
|
3641
|
-
|
|
3642
3973
|
/**
|
|
3643
3974
|
* Creates a new OpeningHours instance using the specified properties.
|
|
3644
3975
|
* @param [properties] Properties to set
|
|
@@ -3867,15 +4198,6 @@ export namespace google {
|
|
|
3867
4198
|
/** Point truncated. */
|
|
3868
4199
|
public truncated: boolean;
|
|
3869
4200
|
|
|
3870
|
-
/** Point _day. */
|
|
3871
|
-
public _day?: "day";
|
|
3872
|
-
|
|
3873
|
-
/** Point _hour. */
|
|
3874
|
-
public _hour?: "hour";
|
|
3875
|
-
|
|
3876
|
-
/** Point _minute. */
|
|
3877
|
-
public _minute?: "minute";
|
|
3878
|
-
|
|
3879
4201
|
/**
|
|
3880
4202
|
* Creates a new Point instance using the specified properties.
|
|
3881
4203
|
* @param [properties] Properties to set
|
|
@@ -4219,18 +4541,6 @@ export namespace google {
|
|
|
4219
4541
|
/** PaymentOptions acceptsNfc. */
|
|
4220
4542
|
public acceptsNfc?: (boolean|null);
|
|
4221
4543
|
|
|
4222
|
-
/** PaymentOptions _acceptsCreditCards. */
|
|
4223
|
-
public _acceptsCreditCards?: "acceptsCreditCards";
|
|
4224
|
-
|
|
4225
|
-
/** PaymentOptions _acceptsDebitCards. */
|
|
4226
|
-
public _acceptsDebitCards?: "acceptsDebitCards";
|
|
4227
|
-
|
|
4228
|
-
/** PaymentOptions _acceptsCashOnly. */
|
|
4229
|
-
public _acceptsCashOnly?: "acceptsCashOnly";
|
|
4230
|
-
|
|
4231
|
-
/** PaymentOptions _acceptsNfc. */
|
|
4232
|
-
public _acceptsNfc?: "acceptsNfc";
|
|
4233
|
-
|
|
4234
4544
|
/**
|
|
4235
4545
|
* Creates a new PaymentOptions instance using the specified properties.
|
|
4236
4546
|
* @param [properties] Properties to set
|
|
@@ -4364,27 +4674,6 @@ export namespace google {
|
|
|
4364
4674
|
/** ParkingOptions paidGarageParking. */
|
|
4365
4675
|
public paidGarageParking?: (boolean|null);
|
|
4366
4676
|
|
|
4367
|
-
/** ParkingOptions _freeParkingLot. */
|
|
4368
|
-
public _freeParkingLot?: "freeParkingLot";
|
|
4369
|
-
|
|
4370
|
-
/** ParkingOptions _paidParkingLot. */
|
|
4371
|
-
public _paidParkingLot?: "paidParkingLot";
|
|
4372
|
-
|
|
4373
|
-
/** ParkingOptions _freeStreetParking. */
|
|
4374
|
-
public _freeStreetParking?: "freeStreetParking";
|
|
4375
|
-
|
|
4376
|
-
/** ParkingOptions _paidStreetParking. */
|
|
4377
|
-
public _paidStreetParking?: "paidStreetParking";
|
|
4378
|
-
|
|
4379
|
-
/** ParkingOptions _valetParking. */
|
|
4380
|
-
public _valetParking?: "valetParking";
|
|
4381
|
-
|
|
4382
|
-
/** ParkingOptions _freeGarageParking. */
|
|
4383
|
-
public _freeGarageParking?: "freeGarageParking";
|
|
4384
|
-
|
|
4385
|
-
/** ParkingOptions _paidGarageParking. */
|
|
4386
|
-
public _paidGarageParking?: "paidGarageParking";
|
|
4387
|
-
|
|
4388
4677
|
/**
|
|
4389
4678
|
* Creates a new ParkingOptions instance using the specified properties.
|
|
4390
4679
|
* @param [properties] Properties to set
|
|
@@ -4603,18 +4892,6 @@ export namespace google {
|
|
|
4603
4892
|
/** AccessibilityOptions wheelchairAccessibleSeating. */
|
|
4604
4893
|
public wheelchairAccessibleSeating?: (boolean|null);
|
|
4605
4894
|
|
|
4606
|
-
/** AccessibilityOptions _wheelchairAccessibleParking. */
|
|
4607
|
-
public _wheelchairAccessibleParking?: "wheelchairAccessibleParking";
|
|
4608
|
-
|
|
4609
|
-
/** AccessibilityOptions _wheelchairAccessibleEntrance. */
|
|
4610
|
-
public _wheelchairAccessibleEntrance?: "wheelchairAccessibleEntrance";
|
|
4611
|
-
|
|
4612
|
-
/** AccessibilityOptions _wheelchairAccessibleRestroom. */
|
|
4613
|
-
public _wheelchairAccessibleRestroom?: "wheelchairAccessibleRestroom";
|
|
4614
|
-
|
|
4615
|
-
/** AccessibilityOptions _wheelchairAccessibleSeating. */
|
|
4616
|
-
public _wheelchairAccessibleSeating?: "wheelchairAccessibleSeating";
|
|
4617
|
-
|
|
4618
4895
|
/**
|
|
4619
4896
|
* Creates a new AccessibilityOptions instance using the specified properties.
|
|
4620
4897
|
* @param [properties] Properties to set
|
|
@@ -4699,11 +4976,11 @@ export namespace google {
|
|
|
4699
4976
|
/** GenerativeSummary overview */
|
|
4700
4977
|
overview?: (google.type.ILocalizedText|null);
|
|
4701
4978
|
|
|
4702
|
-
/** GenerativeSummary
|
|
4703
|
-
|
|
4979
|
+
/** GenerativeSummary overviewFlagContentUri */
|
|
4980
|
+
overviewFlagContentUri?: (string|null);
|
|
4704
4981
|
|
|
4705
|
-
/** GenerativeSummary
|
|
4706
|
-
|
|
4982
|
+
/** GenerativeSummary disclosureText */
|
|
4983
|
+
disclosureText?: (google.type.ILocalizedText|null);
|
|
4707
4984
|
}
|
|
4708
4985
|
|
|
4709
4986
|
/** Represents a GenerativeSummary. */
|
|
@@ -4718,11 +4995,11 @@ export namespace google {
|
|
|
4718
4995
|
/** GenerativeSummary overview. */
|
|
4719
4996
|
public overview?: (google.type.ILocalizedText|null);
|
|
4720
4997
|
|
|
4721
|
-
/** GenerativeSummary
|
|
4722
|
-
public
|
|
4998
|
+
/** GenerativeSummary overviewFlagContentUri. */
|
|
4999
|
+
public overviewFlagContentUri: string;
|
|
4723
5000
|
|
|
4724
|
-
/** GenerativeSummary
|
|
4725
|
-
public
|
|
5001
|
+
/** GenerativeSummary disclosureText. */
|
|
5002
|
+
public disclosureText?: (google.type.ILocalizedText|null);
|
|
4726
5003
|
|
|
4727
5004
|
/**
|
|
4728
5005
|
* Creates a new GenerativeSummary instance using the specified properties.
|
|
@@ -4802,200 +5079,454 @@ export namespace google {
|
|
|
4802
5079
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
4803
5080
|
}
|
|
4804
5081
|
|
|
4805
|
-
/** Properties of
|
|
4806
|
-
interface
|
|
5082
|
+
/** Properties of a ContainingPlace. */
|
|
5083
|
+
interface IContainingPlace {
|
|
5084
|
+
|
|
5085
|
+
/** ContainingPlace name */
|
|
5086
|
+
name?: (string|null);
|
|
4807
5087
|
|
|
4808
|
-
/**
|
|
4809
|
-
|
|
5088
|
+
/** ContainingPlace id */
|
|
5089
|
+
id?: (string|null);
|
|
4810
5090
|
}
|
|
4811
5091
|
|
|
4812
|
-
/** Represents
|
|
4813
|
-
class
|
|
5092
|
+
/** Represents a ContainingPlace. */
|
|
5093
|
+
class ContainingPlace implements IContainingPlace {
|
|
4814
5094
|
|
|
4815
5095
|
/**
|
|
4816
|
-
* Constructs a new
|
|
5096
|
+
* Constructs a new ContainingPlace.
|
|
4817
5097
|
* @param [properties] Properties to set
|
|
4818
5098
|
*/
|
|
4819
|
-
constructor(properties?: google.maps.places.v1.Place.
|
|
5099
|
+
constructor(properties?: google.maps.places.v1.Place.IContainingPlace);
|
|
5100
|
+
|
|
5101
|
+
/** ContainingPlace name. */
|
|
5102
|
+
public name: string;
|
|
4820
5103
|
|
|
4821
|
-
/**
|
|
4822
|
-
public
|
|
5104
|
+
/** ContainingPlace id. */
|
|
5105
|
+
public id: string;
|
|
4823
5106
|
|
|
4824
5107
|
/**
|
|
4825
|
-
* Creates a new
|
|
5108
|
+
* Creates a new ContainingPlace instance using the specified properties.
|
|
4826
5109
|
* @param [properties] Properties to set
|
|
4827
|
-
* @returns
|
|
5110
|
+
* @returns ContainingPlace instance
|
|
4828
5111
|
*/
|
|
4829
|
-
public static create(properties?: google.maps.places.v1.Place.
|
|
5112
|
+
public static create(properties?: google.maps.places.v1.Place.IContainingPlace): google.maps.places.v1.Place.ContainingPlace;
|
|
4830
5113
|
|
|
4831
5114
|
/**
|
|
4832
|
-
* Encodes the specified
|
|
4833
|
-
* @param message
|
|
5115
|
+
* Encodes the specified ContainingPlace message. Does not implicitly {@link google.maps.places.v1.Place.ContainingPlace.verify|verify} messages.
|
|
5116
|
+
* @param message ContainingPlace message or plain object to encode
|
|
4834
5117
|
* @param [writer] Writer to encode to
|
|
4835
5118
|
* @returns Writer
|
|
4836
5119
|
*/
|
|
4837
|
-
public static encode(message: google.maps.places.v1.Place.
|
|
5120
|
+
public static encode(message: google.maps.places.v1.Place.IContainingPlace, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4838
5121
|
|
|
4839
5122
|
/**
|
|
4840
|
-
* Encodes the specified
|
|
4841
|
-
* @param message
|
|
5123
|
+
* Encodes the specified ContainingPlace message, length delimited. Does not implicitly {@link google.maps.places.v1.Place.ContainingPlace.verify|verify} messages.
|
|
5124
|
+
* @param message ContainingPlace message or plain object to encode
|
|
4842
5125
|
* @param [writer] Writer to encode to
|
|
4843
5126
|
* @returns Writer
|
|
4844
5127
|
*/
|
|
4845
|
-
public static encodeDelimited(message: google.maps.places.v1.Place.
|
|
5128
|
+
public static encodeDelimited(message: google.maps.places.v1.Place.IContainingPlace, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4846
5129
|
|
|
4847
5130
|
/**
|
|
4848
|
-
* Decodes
|
|
5131
|
+
* Decodes a ContainingPlace message from the specified reader or buffer.
|
|
4849
5132
|
* @param reader Reader or buffer to decode from
|
|
4850
5133
|
* @param [length] Message length if known beforehand
|
|
4851
|
-
* @returns
|
|
5134
|
+
* @returns ContainingPlace
|
|
4852
5135
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4853
5136
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4854
5137
|
*/
|
|
4855
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.Place.
|
|
5138
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.Place.ContainingPlace;
|
|
4856
5139
|
|
|
4857
5140
|
/**
|
|
4858
|
-
* Decodes
|
|
5141
|
+
* Decodes a ContainingPlace message from the specified reader or buffer, length delimited.
|
|
4859
5142
|
* @param reader Reader or buffer to decode from
|
|
4860
|
-
* @returns
|
|
5143
|
+
* @returns ContainingPlace
|
|
4861
5144
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4862
5145
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4863
5146
|
*/
|
|
4864
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.Place.
|
|
5147
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.Place.ContainingPlace;
|
|
4865
5148
|
|
|
4866
5149
|
/**
|
|
4867
|
-
* Verifies
|
|
5150
|
+
* Verifies a ContainingPlace message.
|
|
4868
5151
|
* @param message Plain object to verify
|
|
4869
5152
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
4870
5153
|
*/
|
|
4871
5154
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
4872
5155
|
|
|
4873
5156
|
/**
|
|
4874
|
-
* Creates
|
|
5157
|
+
* Creates a ContainingPlace message from a plain object. Also converts values to their respective internal types.
|
|
4875
5158
|
* @param object Plain object
|
|
4876
|
-
* @returns
|
|
5159
|
+
* @returns ContainingPlace
|
|
4877
5160
|
*/
|
|
4878
|
-
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.Place.
|
|
5161
|
+
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.Place.ContainingPlace;
|
|
4879
5162
|
|
|
4880
5163
|
/**
|
|
4881
|
-
* Creates a plain object from
|
|
4882
|
-
* @param message
|
|
5164
|
+
* Creates a plain object from a ContainingPlace message. Also converts values to other types if specified.
|
|
5165
|
+
* @param message ContainingPlace
|
|
4883
5166
|
* @param [options] Conversion options
|
|
4884
5167
|
* @returns Plain object
|
|
4885
5168
|
*/
|
|
4886
|
-
public static toObject(message: google.maps.places.v1.Place.
|
|
5169
|
+
public static toObject(message: google.maps.places.v1.Place.ContainingPlace, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4887
5170
|
|
|
4888
5171
|
/**
|
|
4889
|
-
* Converts this
|
|
5172
|
+
* Converts this ContainingPlace to JSON.
|
|
4890
5173
|
* @returns JSON object
|
|
4891
5174
|
*/
|
|
4892
5175
|
public toJSON(): { [k: string]: any };
|
|
4893
5176
|
|
|
4894
5177
|
/**
|
|
4895
|
-
* Gets the default type url for
|
|
5178
|
+
* Gets the default type url for ContainingPlace
|
|
4896
5179
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
4897
5180
|
* @returns The default type url
|
|
4898
5181
|
*/
|
|
4899
5182
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
4900
5183
|
}
|
|
4901
5184
|
|
|
4902
|
-
/** Properties of a
|
|
4903
|
-
interface
|
|
5185
|
+
/** Properties of a ReviewSummary. */
|
|
5186
|
+
interface IReviewSummary {
|
|
4904
5187
|
|
|
4905
|
-
/**
|
|
4906
|
-
|
|
5188
|
+
/** ReviewSummary text */
|
|
5189
|
+
text?: (google.type.ILocalizedText|null);
|
|
4907
5190
|
|
|
4908
|
-
/**
|
|
4909
|
-
|
|
5191
|
+
/** ReviewSummary flagContentUri */
|
|
5192
|
+
flagContentUri?: (string|null);
|
|
5193
|
+
|
|
5194
|
+
/** ReviewSummary disclosureText */
|
|
5195
|
+
disclosureText?: (google.type.ILocalizedText|null);
|
|
4910
5196
|
}
|
|
4911
5197
|
|
|
4912
|
-
/** Represents a
|
|
4913
|
-
class
|
|
5198
|
+
/** Represents a ReviewSummary. */
|
|
5199
|
+
class ReviewSummary implements IReviewSummary {
|
|
4914
5200
|
|
|
4915
5201
|
/**
|
|
4916
|
-
* Constructs a new
|
|
5202
|
+
* Constructs a new ReviewSummary.
|
|
4917
5203
|
* @param [properties] Properties to set
|
|
4918
5204
|
*/
|
|
4919
|
-
constructor(properties?: google.maps.places.v1.Place.
|
|
5205
|
+
constructor(properties?: google.maps.places.v1.Place.IReviewSummary);
|
|
4920
5206
|
|
|
4921
|
-
/**
|
|
4922
|
-
public
|
|
5207
|
+
/** ReviewSummary text. */
|
|
5208
|
+
public text?: (google.type.ILocalizedText|null);
|
|
4923
5209
|
|
|
4924
|
-
/**
|
|
4925
|
-
public
|
|
5210
|
+
/** ReviewSummary flagContentUri. */
|
|
5211
|
+
public flagContentUri: string;
|
|
5212
|
+
|
|
5213
|
+
/** ReviewSummary disclosureText. */
|
|
5214
|
+
public disclosureText?: (google.type.ILocalizedText|null);
|
|
4926
5215
|
|
|
4927
5216
|
/**
|
|
4928
|
-
* Creates a new
|
|
5217
|
+
* Creates a new ReviewSummary instance using the specified properties.
|
|
4929
5218
|
* @param [properties] Properties to set
|
|
4930
|
-
* @returns
|
|
5219
|
+
* @returns ReviewSummary instance
|
|
4931
5220
|
*/
|
|
4932
|
-
public static create(properties?: google.maps.places.v1.Place.
|
|
5221
|
+
public static create(properties?: google.maps.places.v1.Place.IReviewSummary): google.maps.places.v1.Place.ReviewSummary;
|
|
4933
5222
|
|
|
4934
5223
|
/**
|
|
4935
|
-
* Encodes the specified
|
|
4936
|
-
* @param message
|
|
5224
|
+
* Encodes the specified ReviewSummary message. Does not implicitly {@link google.maps.places.v1.Place.ReviewSummary.verify|verify} messages.
|
|
5225
|
+
* @param message ReviewSummary message or plain object to encode
|
|
4937
5226
|
* @param [writer] Writer to encode to
|
|
4938
5227
|
* @returns Writer
|
|
4939
5228
|
*/
|
|
4940
|
-
public static encode(message: google.maps.places.v1.Place.
|
|
5229
|
+
public static encode(message: google.maps.places.v1.Place.IReviewSummary, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4941
5230
|
|
|
4942
5231
|
/**
|
|
4943
|
-
* Encodes the specified
|
|
4944
|
-
* @param message
|
|
5232
|
+
* Encodes the specified ReviewSummary message, length delimited. Does not implicitly {@link google.maps.places.v1.Place.ReviewSummary.verify|verify} messages.
|
|
5233
|
+
* @param message ReviewSummary message or plain object to encode
|
|
4945
5234
|
* @param [writer] Writer to encode to
|
|
4946
5235
|
* @returns Writer
|
|
4947
5236
|
*/
|
|
4948
|
-
public static encodeDelimited(message: google.maps.places.v1.Place.
|
|
5237
|
+
public static encodeDelimited(message: google.maps.places.v1.Place.IReviewSummary, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4949
5238
|
|
|
4950
5239
|
/**
|
|
4951
|
-
* Decodes a
|
|
5240
|
+
* Decodes a ReviewSummary message from the specified reader or buffer.
|
|
4952
5241
|
* @param reader Reader or buffer to decode from
|
|
4953
5242
|
* @param [length] Message length if known beforehand
|
|
4954
|
-
* @returns
|
|
5243
|
+
* @returns ReviewSummary
|
|
4955
5244
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4956
5245
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4957
5246
|
*/
|
|
4958
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.Place.
|
|
5247
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.Place.ReviewSummary;
|
|
4959
5248
|
|
|
4960
5249
|
/**
|
|
4961
|
-
* Decodes a
|
|
5250
|
+
* Decodes a ReviewSummary message from the specified reader or buffer, length delimited.
|
|
4962
5251
|
* @param reader Reader or buffer to decode from
|
|
4963
|
-
* @returns
|
|
5252
|
+
* @returns ReviewSummary
|
|
4964
5253
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4965
5254
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4966
5255
|
*/
|
|
4967
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.Place.
|
|
5256
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.Place.ReviewSummary;
|
|
4968
5257
|
|
|
4969
5258
|
/**
|
|
4970
|
-
* Verifies a
|
|
5259
|
+
* Verifies a ReviewSummary message.
|
|
4971
5260
|
* @param message Plain object to verify
|
|
4972
5261
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
4973
5262
|
*/
|
|
4974
5263
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
4975
5264
|
|
|
4976
5265
|
/**
|
|
4977
|
-
* Creates a
|
|
5266
|
+
* Creates a ReviewSummary message from a plain object. Also converts values to their respective internal types.
|
|
4978
5267
|
* @param object Plain object
|
|
4979
|
-
* @returns
|
|
5268
|
+
* @returns ReviewSummary
|
|
4980
5269
|
*/
|
|
4981
|
-
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.Place.
|
|
5270
|
+
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.Place.ReviewSummary;
|
|
4982
5271
|
|
|
4983
5272
|
/**
|
|
4984
|
-
* Creates a plain object from a
|
|
4985
|
-
* @param message
|
|
5273
|
+
* Creates a plain object from a ReviewSummary message. Also converts values to other types if specified.
|
|
5274
|
+
* @param message ReviewSummary
|
|
4986
5275
|
* @param [options] Conversion options
|
|
4987
5276
|
* @returns Plain object
|
|
4988
5277
|
*/
|
|
4989
|
-
public static toObject(message: google.maps.places.v1.Place.
|
|
5278
|
+
public static toObject(message: google.maps.places.v1.Place.ReviewSummary, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4990
5279
|
|
|
4991
5280
|
/**
|
|
4992
|
-
* Converts this
|
|
5281
|
+
* Converts this ReviewSummary to JSON.
|
|
4993
5282
|
* @returns JSON object
|
|
4994
5283
|
*/
|
|
4995
5284
|
public toJSON(): { [k: string]: any };
|
|
4996
5285
|
|
|
4997
5286
|
/**
|
|
4998
|
-
* Gets the default type url for
|
|
5287
|
+
* Gets the default type url for ReviewSummary
|
|
5288
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5289
|
+
* @returns The default type url
|
|
5290
|
+
*/
|
|
5291
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5292
|
+
}
|
|
5293
|
+
|
|
5294
|
+
/** Properties of an EvChargeAmenitySummary. */
|
|
5295
|
+
interface IEvChargeAmenitySummary {
|
|
5296
|
+
|
|
5297
|
+
/** EvChargeAmenitySummary overview */
|
|
5298
|
+
overview?: (google.maps.places.v1.IContentBlock|null);
|
|
5299
|
+
|
|
5300
|
+
/** EvChargeAmenitySummary coffee */
|
|
5301
|
+
coffee?: (google.maps.places.v1.IContentBlock|null);
|
|
5302
|
+
|
|
5303
|
+
/** EvChargeAmenitySummary restaurant */
|
|
5304
|
+
restaurant?: (google.maps.places.v1.IContentBlock|null);
|
|
5305
|
+
|
|
5306
|
+
/** EvChargeAmenitySummary store */
|
|
5307
|
+
store?: (google.maps.places.v1.IContentBlock|null);
|
|
5308
|
+
|
|
5309
|
+
/** EvChargeAmenitySummary flagContentUri */
|
|
5310
|
+
flagContentUri?: (string|null);
|
|
5311
|
+
|
|
5312
|
+
/** EvChargeAmenitySummary disclosureText */
|
|
5313
|
+
disclosureText?: (google.type.ILocalizedText|null);
|
|
5314
|
+
}
|
|
5315
|
+
|
|
5316
|
+
/** Represents an EvChargeAmenitySummary. */
|
|
5317
|
+
class EvChargeAmenitySummary implements IEvChargeAmenitySummary {
|
|
5318
|
+
|
|
5319
|
+
/**
|
|
5320
|
+
* Constructs a new EvChargeAmenitySummary.
|
|
5321
|
+
* @param [properties] Properties to set
|
|
5322
|
+
*/
|
|
5323
|
+
constructor(properties?: google.maps.places.v1.Place.IEvChargeAmenitySummary);
|
|
5324
|
+
|
|
5325
|
+
/** EvChargeAmenitySummary overview. */
|
|
5326
|
+
public overview?: (google.maps.places.v1.IContentBlock|null);
|
|
5327
|
+
|
|
5328
|
+
/** EvChargeAmenitySummary coffee. */
|
|
5329
|
+
public coffee?: (google.maps.places.v1.IContentBlock|null);
|
|
5330
|
+
|
|
5331
|
+
/** EvChargeAmenitySummary restaurant. */
|
|
5332
|
+
public restaurant?: (google.maps.places.v1.IContentBlock|null);
|
|
5333
|
+
|
|
5334
|
+
/** EvChargeAmenitySummary store. */
|
|
5335
|
+
public store?: (google.maps.places.v1.IContentBlock|null);
|
|
5336
|
+
|
|
5337
|
+
/** EvChargeAmenitySummary flagContentUri. */
|
|
5338
|
+
public flagContentUri: string;
|
|
5339
|
+
|
|
5340
|
+
/** EvChargeAmenitySummary disclosureText. */
|
|
5341
|
+
public disclosureText?: (google.type.ILocalizedText|null);
|
|
5342
|
+
|
|
5343
|
+
/**
|
|
5344
|
+
* Creates a new EvChargeAmenitySummary instance using the specified properties.
|
|
5345
|
+
* @param [properties] Properties to set
|
|
5346
|
+
* @returns EvChargeAmenitySummary instance
|
|
5347
|
+
*/
|
|
5348
|
+
public static create(properties?: google.maps.places.v1.Place.IEvChargeAmenitySummary): google.maps.places.v1.Place.EvChargeAmenitySummary;
|
|
5349
|
+
|
|
5350
|
+
/**
|
|
5351
|
+
* Encodes the specified EvChargeAmenitySummary message. Does not implicitly {@link google.maps.places.v1.Place.EvChargeAmenitySummary.verify|verify} messages.
|
|
5352
|
+
* @param message EvChargeAmenitySummary message or plain object to encode
|
|
5353
|
+
* @param [writer] Writer to encode to
|
|
5354
|
+
* @returns Writer
|
|
5355
|
+
*/
|
|
5356
|
+
public static encode(message: google.maps.places.v1.Place.IEvChargeAmenitySummary, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5357
|
+
|
|
5358
|
+
/**
|
|
5359
|
+
* Encodes the specified EvChargeAmenitySummary message, length delimited. Does not implicitly {@link google.maps.places.v1.Place.EvChargeAmenitySummary.verify|verify} messages.
|
|
5360
|
+
* @param message EvChargeAmenitySummary message or plain object to encode
|
|
5361
|
+
* @param [writer] Writer to encode to
|
|
5362
|
+
* @returns Writer
|
|
5363
|
+
*/
|
|
5364
|
+
public static encodeDelimited(message: google.maps.places.v1.Place.IEvChargeAmenitySummary, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5365
|
+
|
|
5366
|
+
/**
|
|
5367
|
+
* Decodes an EvChargeAmenitySummary message from the specified reader or buffer.
|
|
5368
|
+
* @param reader Reader or buffer to decode from
|
|
5369
|
+
* @param [length] Message length if known beforehand
|
|
5370
|
+
* @returns EvChargeAmenitySummary
|
|
5371
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5372
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5373
|
+
*/
|
|
5374
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.Place.EvChargeAmenitySummary;
|
|
5375
|
+
|
|
5376
|
+
/**
|
|
5377
|
+
* Decodes an EvChargeAmenitySummary message from the specified reader or buffer, length delimited.
|
|
5378
|
+
* @param reader Reader or buffer to decode from
|
|
5379
|
+
* @returns EvChargeAmenitySummary
|
|
5380
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5381
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5382
|
+
*/
|
|
5383
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.Place.EvChargeAmenitySummary;
|
|
5384
|
+
|
|
5385
|
+
/**
|
|
5386
|
+
* Verifies an EvChargeAmenitySummary message.
|
|
5387
|
+
* @param message Plain object to verify
|
|
5388
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
5389
|
+
*/
|
|
5390
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5391
|
+
|
|
5392
|
+
/**
|
|
5393
|
+
* Creates an EvChargeAmenitySummary message from a plain object. Also converts values to their respective internal types.
|
|
5394
|
+
* @param object Plain object
|
|
5395
|
+
* @returns EvChargeAmenitySummary
|
|
5396
|
+
*/
|
|
5397
|
+
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.Place.EvChargeAmenitySummary;
|
|
5398
|
+
|
|
5399
|
+
/**
|
|
5400
|
+
* Creates a plain object from an EvChargeAmenitySummary message. Also converts values to other types if specified.
|
|
5401
|
+
* @param message EvChargeAmenitySummary
|
|
5402
|
+
* @param [options] Conversion options
|
|
5403
|
+
* @returns Plain object
|
|
5404
|
+
*/
|
|
5405
|
+
public static toObject(message: google.maps.places.v1.Place.EvChargeAmenitySummary, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5406
|
+
|
|
5407
|
+
/**
|
|
5408
|
+
* Converts this EvChargeAmenitySummary to JSON.
|
|
5409
|
+
* @returns JSON object
|
|
5410
|
+
*/
|
|
5411
|
+
public toJSON(): { [k: string]: any };
|
|
5412
|
+
|
|
5413
|
+
/**
|
|
5414
|
+
* Gets the default type url for EvChargeAmenitySummary
|
|
5415
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5416
|
+
* @returns The default type url
|
|
5417
|
+
*/
|
|
5418
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5419
|
+
}
|
|
5420
|
+
|
|
5421
|
+
/** Properties of a NeighborhoodSummary. */
|
|
5422
|
+
interface INeighborhoodSummary {
|
|
5423
|
+
|
|
5424
|
+
/** NeighborhoodSummary overview */
|
|
5425
|
+
overview?: (google.maps.places.v1.IContentBlock|null);
|
|
5426
|
+
|
|
5427
|
+
/** NeighborhoodSummary description */
|
|
5428
|
+
description?: (google.maps.places.v1.IContentBlock|null);
|
|
5429
|
+
|
|
5430
|
+
/** NeighborhoodSummary flagContentUri */
|
|
5431
|
+
flagContentUri?: (string|null);
|
|
5432
|
+
|
|
5433
|
+
/** NeighborhoodSummary disclosureText */
|
|
5434
|
+
disclosureText?: (google.type.ILocalizedText|null);
|
|
5435
|
+
}
|
|
5436
|
+
|
|
5437
|
+
/** Represents a NeighborhoodSummary. */
|
|
5438
|
+
class NeighborhoodSummary implements INeighborhoodSummary {
|
|
5439
|
+
|
|
5440
|
+
/**
|
|
5441
|
+
* Constructs a new NeighborhoodSummary.
|
|
5442
|
+
* @param [properties] Properties to set
|
|
5443
|
+
*/
|
|
5444
|
+
constructor(properties?: google.maps.places.v1.Place.INeighborhoodSummary);
|
|
5445
|
+
|
|
5446
|
+
/** NeighborhoodSummary overview. */
|
|
5447
|
+
public overview?: (google.maps.places.v1.IContentBlock|null);
|
|
5448
|
+
|
|
5449
|
+
/** NeighborhoodSummary description. */
|
|
5450
|
+
public description?: (google.maps.places.v1.IContentBlock|null);
|
|
5451
|
+
|
|
5452
|
+
/** NeighborhoodSummary flagContentUri. */
|
|
5453
|
+
public flagContentUri: string;
|
|
5454
|
+
|
|
5455
|
+
/** NeighborhoodSummary disclosureText. */
|
|
5456
|
+
public disclosureText?: (google.type.ILocalizedText|null);
|
|
5457
|
+
|
|
5458
|
+
/**
|
|
5459
|
+
* Creates a new NeighborhoodSummary instance using the specified properties.
|
|
5460
|
+
* @param [properties] Properties to set
|
|
5461
|
+
* @returns NeighborhoodSummary instance
|
|
5462
|
+
*/
|
|
5463
|
+
public static create(properties?: google.maps.places.v1.Place.INeighborhoodSummary): google.maps.places.v1.Place.NeighborhoodSummary;
|
|
5464
|
+
|
|
5465
|
+
/**
|
|
5466
|
+
* Encodes the specified NeighborhoodSummary message. Does not implicitly {@link google.maps.places.v1.Place.NeighborhoodSummary.verify|verify} messages.
|
|
5467
|
+
* @param message NeighborhoodSummary message or plain object to encode
|
|
5468
|
+
* @param [writer] Writer to encode to
|
|
5469
|
+
* @returns Writer
|
|
5470
|
+
*/
|
|
5471
|
+
public static encode(message: google.maps.places.v1.Place.INeighborhoodSummary, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5472
|
+
|
|
5473
|
+
/**
|
|
5474
|
+
* Encodes the specified NeighborhoodSummary message, length delimited. Does not implicitly {@link google.maps.places.v1.Place.NeighborhoodSummary.verify|verify} messages.
|
|
5475
|
+
* @param message NeighborhoodSummary message or plain object to encode
|
|
5476
|
+
* @param [writer] Writer to encode to
|
|
5477
|
+
* @returns Writer
|
|
5478
|
+
*/
|
|
5479
|
+
public static encodeDelimited(message: google.maps.places.v1.Place.INeighborhoodSummary, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5480
|
+
|
|
5481
|
+
/**
|
|
5482
|
+
* Decodes a NeighborhoodSummary message from the specified reader or buffer.
|
|
5483
|
+
* @param reader Reader or buffer to decode from
|
|
5484
|
+
* @param [length] Message length if known beforehand
|
|
5485
|
+
* @returns NeighborhoodSummary
|
|
5486
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5487
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5488
|
+
*/
|
|
5489
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.Place.NeighborhoodSummary;
|
|
5490
|
+
|
|
5491
|
+
/**
|
|
5492
|
+
* Decodes a NeighborhoodSummary message from the specified reader or buffer, length delimited.
|
|
5493
|
+
* @param reader Reader or buffer to decode from
|
|
5494
|
+
* @returns NeighborhoodSummary
|
|
5495
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5496
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5497
|
+
*/
|
|
5498
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.Place.NeighborhoodSummary;
|
|
5499
|
+
|
|
5500
|
+
/**
|
|
5501
|
+
* Verifies a NeighborhoodSummary message.
|
|
5502
|
+
* @param message Plain object to verify
|
|
5503
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
5504
|
+
*/
|
|
5505
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5506
|
+
|
|
5507
|
+
/**
|
|
5508
|
+
* Creates a NeighborhoodSummary message from a plain object. Also converts values to their respective internal types.
|
|
5509
|
+
* @param object Plain object
|
|
5510
|
+
* @returns NeighborhoodSummary
|
|
5511
|
+
*/
|
|
5512
|
+
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.Place.NeighborhoodSummary;
|
|
5513
|
+
|
|
5514
|
+
/**
|
|
5515
|
+
* Creates a plain object from a NeighborhoodSummary message. Also converts values to other types if specified.
|
|
5516
|
+
* @param message NeighborhoodSummary
|
|
5517
|
+
* @param [options] Conversion options
|
|
5518
|
+
* @returns Plain object
|
|
5519
|
+
*/
|
|
5520
|
+
public static toObject(message: google.maps.places.v1.Place.NeighborhoodSummary, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5521
|
+
|
|
5522
|
+
/**
|
|
5523
|
+
* Converts this NeighborhoodSummary to JSON.
|
|
5524
|
+
* @returns JSON object
|
|
5525
|
+
*/
|
|
5526
|
+
public toJSON(): { [k: string]: any };
|
|
5527
|
+
|
|
5528
|
+
/**
|
|
5529
|
+
* Gets the default type url for NeighborhoodSummary
|
|
4999
5530
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5000
5531
|
* @returns The default type url
|
|
5001
5532
|
*/
|
|
@@ -9259,6 +9790,9 @@ export namespace google {
|
|
|
9259
9790
|
|
|
9260
9791
|
/** Publishing protoReferenceDocumentationUri */
|
|
9261
9792
|
protoReferenceDocumentationUri?: (string|null);
|
|
9793
|
+
|
|
9794
|
+
/** Publishing restReferenceDocumentationUri */
|
|
9795
|
+
restReferenceDocumentationUri?: (string|null);
|
|
9262
9796
|
}
|
|
9263
9797
|
|
|
9264
9798
|
/** Represents a Publishing. */
|
|
@@ -9300,6 +9834,9 @@ export namespace google {
|
|
|
9300
9834
|
/** Publishing protoReferenceDocumentationUri. */
|
|
9301
9835
|
public protoReferenceDocumentationUri: string;
|
|
9302
9836
|
|
|
9837
|
+
/** Publishing restReferenceDocumentationUri. */
|
|
9838
|
+
public restReferenceDocumentationUri: string;
|
|
9839
|
+
|
|
9303
9840
|
/**
|
|
9304
9841
|
* Creates a new Publishing instance using the specified properties.
|
|
9305
9842
|
* @param [properties] Properties to set
|
|
@@ -13252,6 +13789,9 @@ export namespace google {
|
|
|
13252
13789
|
|
|
13253
13790
|
/** ServiceOptions .google.api.oauthScopes */
|
|
13254
13791
|
".google.api.oauthScopes"?: (string|null);
|
|
13792
|
+
|
|
13793
|
+
/** ServiceOptions .google.api.apiVersion */
|
|
13794
|
+
".google.api.apiVersion"?: (string|null);
|
|
13255
13795
|
}
|
|
13256
13796
|
|
|
13257
13797
|
/** Represents a ServiceOptions. */
|
|
@@ -13500,7 +14040,7 @@ export namespace google {
|
|
|
13500
14040
|
doubleValue?: (number|null);
|
|
13501
14041
|
|
|
13502
14042
|
/** UninterpretedOption stringValue */
|
|
13503
|
-
stringValue?: (Uint8Array|string|null);
|
|
14043
|
+
stringValue?: (Uint8Array|Buffer|string|null);
|
|
13504
14044
|
|
|
13505
14045
|
/** UninterpretedOption aggregateValue */
|
|
13506
14046
|
aggregateValue?: (string|null);
|
|
@@ -13531,7 +14071,7 @@ export namespace google {
|
|
|
13531
14071
|
public doubleValue: number;
|
|
13532
14072
|
|
|
13533
14073
|
/** UninterpretedOption stringValue. */
|
|
13534
|
-
public stringValue: (Uint8Array|string);
|
|
14074
|
+
public stringValue: (Uint8Array|Buffer|string);
|
|
13535
14075
|
|
|
13536
14076
|
/** UninterpretedOption aggregateValue. */
|
|
13537
14077
|
public aggregateValue: string;
|