@googlemaps/places 2.1.1 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/protos/google/maps/places/v1/address_descriptor.proto +1 -1
- package/build/protos/google/maps/places/v1/attribution.proto +1 -1
- package/build/protos/google/maps/places/v1/content_block.proto +7 -11
- package/build/protos/google/maps/places/v1/contextual_content.proto +4 -4
- package/build/protos/google/maps/places/v1/ev_charging.proto +1 -1
- package/build/protos/google/maps/places/v1/fuel_options.proto +1 -1
- package/build/protos/google/maps/places/v1/geometry.proto +1 -1
- package/build/protos/google/maps/places/v1/photo.proto +1 -1
- package/build/protos/google/maps/places/v1/place.proto +90 -2
- package/build/protos/google/maps/places/v1/places_service.proto +1 -1
- package/build/protos/google/maps/places/v1/polyline.proto +1 -1
- package/build/protos/google/maps/places/v1/price_range.proto +1 -1
- package/build/protos/google/maps/places/v1/review.proto +5 -1
- package/build/protos/google/maps/places/v1/route_modifiers.proto +1 -1
- package/build/protos/google/maps/places/v1/routing_preference.proto +1 -1
- package/build/protos/google/maps/places/v1/routing_summary.proto +1 -1
- package/build/protos/google/maps/places/v1/travel_mode.proto +1 -1
- package/build/protos/protos.d.ts +798 -314
- package/build/protos/protos.js +6524 -5314
- package/build/protos/protos.json +169 -66
- package/build/src/v1/index.js +1 -1
- package/build/src/v1/places_client.js +1 -1
- package/package.json +1 -1
package/build/protos/protos.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2026 Google LLC
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -1464,14 +1464,11 @@ export namespace google {
|
|
|
1464
1464
|
/** Properties of a ContentBlock. */
|
|
1465
1465
|
interface IContentBlock {
|
|
1466
1466
|
|
|
1467
|
-
/** ContentBlock topic */
|
|
1468
|
-
topic?: (string|null);
|
|
1469
|
-
|
|
1470
1467
|
/** ContentBlock content */
|
|
1471
1468
|
content?: (google.type.ILocalizedText|null);
|
|
1472
1469
|
|
|
1473
|
-
/** ContentBlock
|
|
1474
|
-
|
|
1470
|
+
/** ContentBlock referencedPlaces */
|
|
1471
|
+
referencedPlaces?: (string[]|null);
|
|
1475
1472
|
}
|
|
1476
1473
|
|
|
1477
1474
|
/** Represents a ContentBlock. */
|
|
@@ -1483,14 +1480,11 @@ export namespace google {
|
|
|
1483
1480
|
*/
|
|
1484
1481
|
constructor(properties?: google.maps.places.v1.IContentBlock);
|
|
1485
1482
|
|
|
1486
|
-
/** ContentBlock topic. */
|
|
1487
|
-
public topic: string;
|
|
1488
|
-
|
|
1489
1483
|
/** ContentBlock content. */
|
|
1490
1484
|
public content?: (google.type.ILocalizedText|null);
|
|
1491
1485
|
|
|
1492
|
-
/** ContentBlock
|
|
1493
|
-
public
|
|
1486
|
+
/** ContentBlock referencedPlaces. */
|
|
1487
|
+
public referencedPlaces: string[];
|
|
1494
1488
|
|
|
1495
1489
|
/**
|
|
1496
1490
|
* Creates a new ContentBlock instance using the specified properties.
|
|
@@ -1570,254 +1564,6 @@ export namespace google {
|
|
|
1570
1564
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1571
1565
|
}
|
|
1572
1566
|
|
|
1573
|
-
/** Properties of a References. */
|
|
1574
|
-
interface IReferences {
|
|
1575
|
-
|
|
1576
|
-
/** References reviews */
|
|
1577
|
-
reviews?: (google.maps.places.v1.IReview[]|null);
|
|
1578
|
-
|
|
1579
|
-
/** References places */
|
|
1580
|
-
places?: (string[]|null);
|
|
1581
|
-
}
|
|
1582
|
-
|
|
1583
|
-
/** Represents a References. */
|
|
1584
|
-
class References implements IReferences {
|
|
1585
|
-
|
|
1586
|
-
/**
|
|
1587
|
-
* Constructs a new References.
|
|
1588
|
-
* @param [properties] Properties to set
|
|
1589
|
-
*/
|
|
1590
|
-
constructor(properties?: google.maps.places.v1.IReferences);
|
|
1591
|
-
|
|
1592
|
-
/** References reviews. */
|
|
1593
|
-
public reviews: google.maps.places.v1.IReview[];
|
|
1594
|
-
|
|
1595
|
-
/** References places. */
|
|
1596
|
-
public places: string[];
|
|
1597
|
-
|
|
1598
|
-
/**
|
|
1599
|
-
* Creates a new References instance using the specified properties.
|
|
1600
|
-
* @param [properties] Properties to set
|
|
1601
|
-
* @returns References instance
|
|
1602
|
-
*/
|
|
1603
|
-
public static create(properties?: google.maps.places.v1.IReferences): google.maps.places.v1.References;
|
|
1604
|
-
|
|
1605
|
-
/**
|
|
1606
|
-
* Encodes the specified References message. Does not implicitly {@link google.maps.places.v1.References.verify|verify} messages.
|
|
1607
|
-
* @param message References message or plain object to encode
|
|
1608
|
-
* @param [writer] Writer to encode to
|
|
1609
|
-
* @returns Writer
|
|
1610
|
-
*/
|
|
1611
|
-
public static encode(message: google.maps.places.v1.IReferences, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1612
|
-
|
|
1613
|
-
/**
|
|
1614
|
-
* Encodes the specified References message, length delimited. Does not implicitly {@link google.maps.places.v1.References.verify|verify} messages.
|
|
1615
|
-
* @param message References message or plain object to encode
|
|
1616
|
-
* @param [writer] Writer to encode to
|
|
1617
|
-
* @returns Writer
|
|
1618
|
-
*/
|
|
1619
|
-
public static encodeDelimited(message: google.maps.places.v1.IReferences, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1620
|
-
|
|
1621
|
-
/**
|
|
1622
|
-
* Decodes a References message from the specified reader or buffer.
|
|
1623
|
-
* @param reader Reader or buffer to decode from
|
|
1624
|
-
* @param [length] Message length if known beforehand
|
|
1625
|
-
* @returns References
|
|
1626
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1627
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1628
|
-
*/
|
|
1629
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.References;
|
|
1630
|
-
|
|
1631
|
-
/**
|
|
1632
|
-
* Decodes a References message from the specified reader or buffer, length delimited.
|
|
1633
|
-
* @param reader Reader or buffer to decode from
|
|
1634
|
-
* @returns References
|
|
1635
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1636
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1637
|
-
*/
|
|
1638
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.References;
|
|
1639
|
-
|
|
1640
|
-
/**
|
|
1641
|
-
* Verifies a References message.
|
|
1642
|
-
* @param message Plain object to verify
|
|
1643
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
1644
|
-
*/
|
|
1645
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
1646
|
-
|
|
1647
|
-
/**
|
|
1648
|
-
* Creates a References message from a plain object. Also converts values to their respective internal types.
|
|
1649
|
-
* @param object Plain object
|
|
1650
|
-
* @returns References
|
|
1651
|
-
*/
|
|
1652
|
-
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.References;
|
|
1653
|
-
|
|
1654
|
-
/**
|
|
1655
|
-
* Creates a plain object from a References message. Also converts values to other types if specified.
|
|
1656
|
-
* @param message References
|
|
1657
|
-
* @param [options] Conversion options
|
|
1658
|
-
* @returns Plain object
|
|
1659
|
-
*/
|
|
1660
|
-
public static toObject(message: google.maps.places.v1.References, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1661
|
-
|
|
1662
|
-
/**
|
|
1663
|
-
* Converts this References to JSON.
|
|
1664
|
-
* @returns JSON object
|
|
1665
|
-
*/
|
|
1666
|
-
public toJSON(): { [k: string]: any };
|
|
1667
|
-
|
|
1668
|
-
/**
|
|
1669
|
-
* Gets the default type url for References
|
|
1670
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1671
|
-
* @returns The default type url
|
|
1672
|
-
*/
|
|
1673
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1674
|
-
}
|
|
1675
|
-
|
|
1676
|
-
/** Properties of a Review. */
|
|
1677
|
-
interface IReview {
|
|
1678
|
-
|
|
1679
|
-
/** Review name */
|
|
1680
|
-
name?: (string|null);
|
|
1681
|
-
|
|
1682
|
-
/** Review relativePublishTimeDescription */
|
|
1683
|
-
relativePublishTimeDescription?: (string|null);
|
|
1684
|
-
|
|
1685
|
-
/** Review text */
|
|
1686
|
-
text?: (google.type.ILocalizedText|null);
|
|
1687
|
-
|
|
1688
|
-
/** Review originalText */
|
|
1689
|
-
originalText?: (google.type.ILocalizedText|null);
|
|
1690
|
-
|
|
1691
|
-
/** Review rating */
|
|
1692
|
-
rating?: (number|null);
|
|
1693
|
-
|
|
1694
|
-
/** Review authorAttribution */
|
|
1695
|
-
authorAttribution?: (google.maps.places.v1.IAuthorAttribution|null);
|
|
1696
|
-
|
|
1697
|
-
/** Review publishTime */
|
|
1698
|
-
publishTime?: (google.protobuf.ITimestamp|null);
|
|
1699
|
-
|
|
1700
|
-
/** Review flagContentUri */
|
|
1701
|
-
flagContentUri?: (string|null);
|
|
1702
|
-
|
|
1703
|
-
/** Review googleMapsUri */
|
|
1704
|
-
googleMapsUri?: (string|null);
|
|
1705
|
-
}
|
|
1706
|
-
|
|
1707
|
-
/** Represents a Review. */
|
|
1708
|
-
class Review implements IReview {
|
|
1709
|
-
|
|
1710
|
-
/**
|
|
1711
|
-
* Constructs a new Review.
|
|
1712
|
-
* @param [properties] Properties to set
|
|
1713
|
-
*/
|
|
1714
|
-
constructor(properties?: google.maps.places.v1.IReview);
|
|
1715
|
-
|
|
1716
|
-
/** Review name. */
|
|
1717
|
-
public name: string;
|
|
1718
|
-
|
|
1719
|
-
/** Review relativePublishTimeDescription. */
|
|
1720
|
-
public relativePublishTimeDescription: string;
|
|
1721
|
-
|
|
1722
|
-
/** Review text. */
|
|
1723
|
-
public text?: (google.type.ILocalizedText|null);
|
|
1724
|
-
|
|
1725
|
-
/** Review originalText. */
|
|
1726
|
-
public originalText?: (google.type.ILocalizedText|null);
|
|
1727
|
-
|
|
1728
|
-
/** Review rating. */
|
|
1729
|
-
public rating: number;
|
|
1730
|
-
|
|
1731
|
-
/** Review authorAttribution. */
|
|
1732
|
-
public authorAttribution?: (google.maps.places.v1.IAuthorAttribution|null);
|
|
1733
|
-
|
|
1734
|
-
/** Review publishTime. */
|
|
1735
|
-
public publishTime?: (google.protobuf.ITimestamp|null);
|
|
1736
|
-
|
|
1737
|
-
/** Review flagContentUri. */
|
|
1738
|
-
public flagContentUri: string;
|
|
1739
|
-
|
|
1740
|
-
/** Review googleMapsUri. */
|
|
1741
|
-
public googleMapsUri: string;
|
|
1742
|
-
|
|
1743
|
-
/**
|
|
1744
|
-
* Creates a new Review instance using the specified properties.
|
|
1745
|
-
* @param [properties] Properties to set
|
|
1746
|
-
* @returns Review instance
|
|
1747
|
-
*/
|
|
1748
|
-
public static create(properties?: google.maps.places.v1.IReview): google.maps.places.v1.Review;
|
|
1749
|
-
|
|
1750
|
-
/**
|
|
1751
|
-
* Encodes the specified Review message. Does not implicitly {@link google.maps.places.v1.Review.verify|verify} messages.
|
|
1752
|
-
* @param message Review message or plain object to encode
|
|
1753
|
-
* @param [writer] Writer to encode to
|
|
1754
|
-
* @returns Writer
|
|
1755
|
-
*/
|
|
1756
|
-
public static encode(message: google.maps.places.v1.IReview, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1757
|
-
|
|
1758
|
-
/**
|
|
1759
|
-
* Encodes the specified Review message, length delimited. Does not implicitly {@link google.maps.places.v1.Review.verify|verify} messages.
|
|
1760
|
-
* @param message Review message or plain object to encode
|
|
1761
|
-
* @param [writer] Writer to encode to
|
|
1762
|
-
* @returns Writer
|
|
1763
|
-
*/
|
|
1764
|
-
public static encodeDelimited(message: google.maps.places.v1.IReview, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1765
|
-
|
|
1766
|
-
/**
|
|
1767
|
-
* Decodes a Review message from the specified reader or buffer.
|
|
1768
|
-
* @param reader Reader or buffer to decode from
|
|
1769
|
-
* @param [length] Message length if known beforehand
|
|
1770
|
-
* @returns Review
|
|
1771
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1772
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1773
|
-
*/
|
|
1774
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.Review;
|
|
1775
|
-
|
|
1776
|
-
/**
|
|
1777
|
-
* Decodes a Review message from the specified reader or buffer, length delimited.
|
|
1778
|
-
* @param reader Reader or buffer to decode from
|
|
1779
|
-
* @returns Review
|
|
1780
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1781
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1782
|
-
*/
|
|
1783
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.Review;
|
|
1784
|
-
|
|
1785
|
-
/**
|
|
1786
|
-
* Verifies a Review message.
|
|
1787
|
-
* @param message Plain object to verify
|
|
1788
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
1789
|
-
*/
|
|
1790
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
1791
|
-
|
|
1792
|
-
/**
|
|
1793
|
-
* Creates a Review message from a plain object. Also converts values to their respective internal types.
|
|
1794
|
-
* @param object Plain object
|
|
1795
|
-
* @returns Review
|
|
1796
|
-
*/
|
|
1797
|
-
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.Review;
|
|
1798
|
-
|
|
1799
|
-
/**
|
|
1800
|
-
* Creates a plain object from a Review message. Also converts values to other types if specified.
|
|
1801
|
-
* @param message Review
|
|
1802
|
-
* @param [options] Conversion options
|
|
1803
|
-
* @returns Plain object
|
|
1804
|
-
*/
|
|
1805
|
-
public static toObject(message: google.maps.places.v1.Review, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1806
|
-
|
|
1807
|
-
/**
|
|
1808
|
-
* Converts this Review to JSON.
|
|
1809
|
-
* @returns JSON object
|
|
1810
|
-
*/
|
|
1811
|
-
public toJSON(): { [k: string]: any };
|
|
1812
|
-
|
|
1813
|
-
/**
|
|
1814
|
-
* Gets the default type url for Review
|
|
1815
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1816
|
-
* @returns The default type url
|
|
1817
|
-
*/
|
|
1818
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1819
|
-
}
|
|
1820
|
-
|
|
1821
1567
|
/** Properties of a ContextualContent. */
|
|
1822
1568
|
interface IContextualContent {
|
|
1823
1569
|
|
|
@@ -2478,112 +2224,263 @@ export namespace google {
|
|
|
2478
2224
|
/** Photo authorAttributions */
|
|
2479
2225
|
authorAttributions?: (google.maps.places.v1.IAuthorAttribution[]|null);
|
|
2480
2226
|
|
|
2481
|
-
/** Photo flagContentUri */
|
|
2227
|
+
/** Photo flagContentUri */
|
|
2228
|
+
flagContentUri?: (string|null);
|
|
2229
|
+
|
|
2230
|
+
/** Photo googleMapsUri */
|
|
2231
|
+
googleMapsUri?: (string|null);
|
|
2232
|
+
}
|
|
2233
|
+
|
|
2234
|
+
/** Represents a Photo. */
|
|
2235
|
+
class Photo implements IPhoto {
|
|
2236
|
+
|
|
2237
|
+
/**
|
|
2238
|
+
* Constructs a new Photo.
|
|
2239
|
+
* @param [properties] Properties to set
|
|
2240
|
+
*/
|
|
2241
|
+
constructor(properties?: google.maps.places.v1.IPhoto);
|
|
2242
|
+
|
|
2243
|
+
/** Photo name. */
|
|
2244
|
+
public name: string;
|
|
2245
|
+
|
|
2246
|
+
/** Photo widthPx. */
|
|
2247
|
+
public widthPx: number;
|
|
2248
|
+
|
|
2249
|
+
/** Photo heightPx. */
|
|
2250
|
+
public heightPx: number;
|
|
2251
|
+
|
|
2252
|
+
/** Photo authorAttributions. */
|
|
2253
|
+
public authorAttributions: google.maps.places.v1.IAuthorAttribution[];
|
|
2254
|
+
|
|
2255
|
+
/** Photo flagContentUri. */
|
|
2256
|
+
public flagContentUri: string;
|
|
2257
|
+
|
|
2258
|
+
/** Photo googleMapsUri. */
|
|
2259
|
+
public googleMapsUri: string;
|
|
2260
|
+
|
|
2261
|
+
/**
|
|
2262
|
+
* Creates a new Photo instance using the specified properties.
|
|
2263
|
+
* @param [properties] Properties to set
|
|
2264
|
+
* @returns Photo instance
|
|
2265
|
+
*/
|
|
2266
|
+
public static create(properties?: google.maps.places.v1.IPhoto): google.maps.places.v1.Photo;
|
|
2267
|
+
|
|
2268
|
+
/**
|
|
2269
|
+
* Encodes the specified Photo message. Does not implicitly {@link google.maps.places.v1.Photo.verify|verify} messages.
|
|
2270
|
+
* @param message Photo message or plain object to encode
|
|
2271
|
+
* @param [writer] Writer to encode to
|
|
2272
|
+
* @returns Writer
|
|
2273
|
+
*/
|
|
2274
|
+
public static encode(message: google.maps.places.v1.IPhoto, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2275
|
+
|
|
2276
|
+
/**
|
|
2277
|
+
* Encodes the specified Photo message, length delimited. Does not implicitly {@link google.maps.places.v1.Photo.verify|verify} messages.
|
|
2278
|
+
* @param message Photo message or plain object to encode
|
|
2279
|
+
* @param [writer] Writer to encode to
|
|
2280
|
+
* @returns Writer
|
|
2281
|
+
*/
|
|
2282
|
+
public static encodeDelimited(message: google.maps.places.v1.IPhoto, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2283
|
+
|
|
2284
|
+
/**
|
|
2285
|
+
* Decodes a Photo message from the specified reader or buffer.
|
|
2286
|
+
* @param reader Reader or buffer to decode from
|
|
2287
|
+
* @param [length] Message length if known beforehand
|
|
2288
|
+
* @returns Photo
|
|
2289
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2290
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2291
|
+
*/
|
|
2292
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.Photo;
|
|
2293
|
+
|
|
2294
|
+
/**
|
|
2295
|
+
* Decodes a Photo message from the specified reader or buffer, length delimited.
|
|
2296
|
+
* @param reader Reader or buffer to decode from
|
|
2297
|
+
* @returns Photo
|
|
2298
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2299
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2300
|
+
*/
|
|
2301
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.Photo;
|
|
2302
|
+
|
|
2303
|
+
/**
|
|
2304
|
+
* Verifies a Photo message.
|
|
2305
|
+
* @param message Plain object to verify
|
|
2306
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2307
|
+
*/
|
|
2308
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2309
|
+
|
|
2310
|
+
/**
|
|
2311
|
+
* Creates a Photo message from a plain object. Also converts values to their respective internal types.
|
|
2312
|
+
* @param object Plain object
|
|
2313
|
+
* @returns Photo
|
|
2314
|
+
*/
|
|
2315
|
+
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.Photo;
|
|
2316
|
+
|
|
2317
|
+
/**
|
|
2318
|
+
* Creates a plain object from a Photo message. Also converts values to other types if specified.
|
|
2319
|
+
* @param message Photo
|
|
2320
|
+
* @param [options] Conversion options
|
|
2321
|
+
* @returns Plain object
|
|
2322
|
+
*/
|
|
2323
|
+
public static toObject(message: google.maps.places.v1.Photo, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2324
|
+
|
|
2325
|
+
/**
|
|
2326
|
+
* Converts this Photo to JSON.
|
|
2327
|
+
* @returns JSON object
|
|
2328
|
+
*/
|
|
2329
|
+
public toJSON(): { [k: string]: any };
|
|
2330
|
+
|
|
2331
|
+
/**
|
|
2332
|
+
* Gets the default type url for Photo
|
|
2333
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2334
|
+
* @returns The default type url
|
|
2335
|
+
*/
|
|
2336
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2337
|
+
}
|
|
2338
|
+
|
|
2339
|
+
/** Properties of a Review. */
|
|
2340
|
+
interface IReview {
|
|
2341
|
+
|
|
2342
|
+
/** Review name */
|
|
2343
|
+
name?: (string|null);
|
|
2344
|
+
|
|
2345
|
+
/** Review relativePublishTimeDescription */
|
|
2346
|
+
relativePublishTimeDescription?: (string|null);
|
|
2347
|
+
|
|
2348
|
+
/** Review text */
|
|
2349
|
+
text?: (google.type.ILocalizedText|null);
|
|
2350
|
+
|
|
2351
|
+
/** Review originalText */
|
|
2352
|
+
originalText?: (google.type.ILocalizedText|null);
|
|
2353
|
+
|
|
2354
|
+
/** Review rating */
|
|
2355
|
+
rating?: (number|null);
|
|
2356
|
+
|
|
2357
|
+
/** Review authorAttribution */
|
|
2358
|
+
authorAttribution?: (google.maps.places.v1.IAuthorAttribution|null);
|
|
2359
|
+
|
|
2360
|
+
/** Review publishTime */
|
|
2361
|
+
publishTime?: (google.protobuf.ITimestamp|null);
|
|
2362
|
+
|
|
2363
|
+
/** Review flagContentUri */
|
|
2482
2364
|
flagContentUri?: (string|null);
|
|
2483
2365
|
|
|
2484
|
-
/**
|
|
2366
|
+
/** Review googleMapsUri */
|
|
2485
2367
|
googleMapsUri?: (string|null);
|
|
2368
|
+
|
|
2369
|
+
/** Review visitDate */
|
|
2370
|
+
visitDate?: (google.type.IDate|null);
|
|
2486
2371
|
}
|
|
2487
2372
|
|
|
2488
|
-
/** Represents a
|
|
2489
|
-
class
|
|
2373
|
+
/** Represents a Review. */
|
|
2374
|
+
class Review implements IReview {
|
|
2490
2375
|
|
|
2491
2376
|
/**
|
|
2492
|
-
* Constructs a new
|
|
2377
|
+
* Constructs a new Review.
|
|
2493
2378
|
* @param [properties] Properties to set
|
|
2494
2379
|
*/
|
|
2495
|
-
constructor(properties?: google.maps.places.v1.
|
|
2380
|
+
constructor(properties?: google.maps.places.v1.IReview);
|
|
2496
2381
|
|
|
2497
|
-
/**
|
|
2382
|
+
/** Review name. */
|
|
2498
2383
|
public name: string;
|
|
2499
2384
|
|
|
2500
|
-
/**
|
|
2501
|
-
public
|
|
2385
|
+
/** Review relativePublishTimeDescription. */
|
|
2386
|
+
public relativePublishTimeDescription: string;
|
|
2502
2387
|
|
|
2503
|
-
/**
|
|
2504
|
-
public
|
|
2388
|
+
/** Review text. */
|
|
2389
|
+
public text?: (google.type.ILocalizedText|null);
|
|
2505
2390
|
|
|
2506
|
-
/**
|
|
2507
|
-
public
|
|
2391
|
+
/** Review originalText. */
|
|
2392
|
+
public originalText?: (google.type.ILocalizedText|null);
|
|
2508
2393
|
|
|
2509
|
-
/**
|
|
2394
|
+
/** Review rating. */
|
|
2395
|
+
public rating: number;
|
|
2396
|
+
|
|
2397
|
+
/** Review authorAttribution. */
|
|
2398
|
+
public authorAttribution?: (google.maps.places.v1.IAuthorAttribution|null);
|
|
2399
|
+
|
|
2400
|
+
/** Review publishTime. */
|
|
2401
|
+
public publishTime?: (google.protobuf.ITimestamp|null);
|
|
2402
|
+
|
|
2403
|
+
/** Review flagContentUri. */
|
|
2510
2404
|
public flagContentUri: string;
|
|
2511
2405
|
|
|
2512
|
-
/**
|
|
2406
|
+
/** Review googleMapsUri. */
|
|
2513
2407
|
public googleMapsUri: string;
|
|
2514
2408
|
|
|
2409
|
+
/** Review visitDate. */
|
|
2410
|
+
public visitDate?: (google.type.IDate|null);
|
|
2411
|
+
|
|
2515
2412
|
/**
|
|
2516
|
-
* Creates a new
|
|
2413
|
+
* Creates a new Review instance using the specified properties.
|
|
2517
2414
|
* @param [properties] Properties to set
|
|
2518
|
-
* @returns
|
|
2415
|
+
* @returns Review instance
|
|
2519
2416
|
*/
|
|
2520
|
-
public static create(properties?: google.maps.places.v1.
|
|
2417
|
+
public static create(properties?: google.maps.places.v1.IReview): google.maps.places.v1.Review;
|
|
2521
2418
|
|
|
2522
2419
|
/**
|
|
2523
|
-
* Encodes the specified
|
|
2524
|
-
* @param message
|
|
2420
|
+
* Encodes the specified Review message. Does not implicitly {@link google.maps.places.v1.Review.verify|verify} messages.
|
|
2421
|
+
* @param message Review message or plain object to encode
|
|
2525
2422
|
* @param [writer] Writer to encode to
|
|
2526
2423
|
* @returns Writer
|
|
2527
2424
|
*/
|
|
2528
|
-
public static encode(message: google.maps.places.v1.
|
|
2425
|
+
public static encode(message: google.maps.places.v1.IReview, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2529
2426
|
|
|
2530
2427
|
/**
|
|
2531
|
-
* Encodes the specified
|
|
2532
|
-
* @param message
|
|
2428
|
+
* Encodes the specified Review message, length delimited. Does not implicitly {@link google.maps.places.v1.Review.verify|verify} messages.
|
|
2429
|
+
* @param message Review message or plain object to encode
|
|
2533
2430
|
* @param [writer] Writer to encode to
|
|
2534
2431
|
* @returns Writer
|
|
2535
2432
|
*/
|
|
2536
|
-
public static encodeDelimited(message: google.maps.places.v1.
|
|
2433
|
+
public static encodeDelimited(message: google.maps.places.v1.IReview, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2537
2434
|
|
|
2538
2435
|
/**
|
|
2539
|
-
* Decodes a
|
|
2436
|
+
* Decodes a Review message from the specified reader or buffer.
|
|
2540
2437
|
* @param reader Reader or buffer to decode from
|
|
2541
2438
|
* @param [length] Message length if known beforehand
|
|
2542
|
-
* @returns
|
|
2439
|
+
* @returns Review
|
|
2543
2440
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2544
2441
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2545
2442
|
*/
|
|
2546
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.
|
|
2443
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.Review;
|
|
2547
2444
|
|
|
2548
2445
|
/**
|
|
2549
|
-
* Decodes a
|
|
2446
|
+
* Decodes a Review message from the specified reader or buffer, length delimited.
|
|
2550
2447
|
* @param reader Reader or buffer to decode from
|
|
2551
|
-
* @returns
|
|
2448
|
+
* @returns Review
|
|
2552
2449
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2553
2450
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2554
2451
|
*/
|
|
2555
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.
|
|
2452
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.Review;
|
|
2556
2453
|
|
|
2557
2454
|
/**
|
|
2558
|
-
* Verifies a
|
|
2455
|
+
* Verifies a Review message.
|
|
2559
2456
|
* @param message Plain object to verify
|
|
2560
2457
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
2561
2458
|
*/
|
|
2562
2459
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
2563
2460
|
|
|
2564
2461
|
/**
|
|
2565
|
-
* Creates a
|
|
2462
|
+
* Creates a Review message from a plain object. Also converts values to their respective internal types.
|
|
2566
2463
|
* @param object Plain object
|
|
2567
|
-
* @returns
|
|
2464
|
+
* @returns Review
|
|
2568
2465
|
*/
|
|
2569
|
-
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.
|
|
2466
|
+
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.Review;
|
|
2570
2467
|
|
|
2571
2468
|
/**
|
|
2572
|
-
* Creates a plain object from a
|
|
2573
|
-
* @param message
|
|
2469
|
+
* Creates a plain object from a Review message. Also converts values to other types if specified.
|
|
2470
|
+
* @param message Review
|
|
2574
2471
|
* @param [options] Conversion options
|
|
2575
2472
|
* @returns Plain object
|
|
2576
2473
|
*/
|
|
2577
|
-
public static toObject(message: google.maps.places.v1.
|
|
2474
|
+
public static toObject(message: google.maps.places.v1.Review, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2578
2475
|
|
|
2579
2476
|
/**
|
|
2580
|
-
* Converts this
|
|
2477
|
+
* Converts this Review to JSON.
|
|
2581
2478
|
* @returns JSON object
|
|
2582
2479
|
*/
|
|
2583
2480
|
public toJSON(): { [k: string]: any };
|
|
2584
2481
|
|
|
2585
2482
|
/**
|
|
2586
|
-
* Gets the default type url for
|
|
2483
|
+
* Gets the default type url for Review
|
|
2587
2484
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2588
2485
|
* @returns The default type url
|
|
2589
2486
|
*/
|
|
@@ -3199,6 +3096,9 @@ export namespace google {
|
|
|
3199
3096
|
/** Place primaryTypeDisplayName */
|
|
3200
3097
|
primaryTypeDisplayName?: (google.type.ILocalizedText|null);
|
|
3201
3098
|
|
|
3099
|
+
/** Place googleMapsTypeLabel */
|
|
3100
|
+
googleMapsTypeLabel?: (google.type.ILocalizedText|null);
|
|
3101
|
+
|
|
3202
3102
|
/** Place nationalPhoneNumber */
|
|
3203
3103
|
nationalPhoneNumber?: (string|null);
|
|
3204
3104
|
|
|
@@ -3382,6 +3282,9 @@ export namespace google {
|
|
|
3382
3282
|
/** Place addressDescriptor */
|
|
3383
3283
|
addressDescriptor?: (google.maps.places.v1.IAddressDescriptor|null);
|
|
3384
3284
|
|
|
3285
|
+
/** Place googleMapsLinks */
|
|
3286
|
+
googleMapsLinks?: (google.maps.places.v1.Place.IGoogleMapsLinks|null);
|
|
3287
|
+
|
|
3385
3288
|
/** Place priceRange */
|
|
3386
3289
|
priceRange?: (google.maps.places.v1.IPriceRange|null);
|
|
3387
3290
|
|
|
@@ -3393,6 +3296,15 @@ export namespace google {
|
|
|
3393
3296
|
|
|
3394
3297
|
/** Place neighborhoodSummary */
|
|
3395
3298
|
neighborhoodSummary?: (google.maps.places.v1.Place.INeighborhoodSummary|null);
|
|
3299
|
+
|
|
3300
|
+
/** Place consumerAlert */
|
|
3301
|
+
consumerAlert?: (google.maps.places.v1.Place.IConsumerAlert|null);
|
|
3302
|
+
|
|
3303
|
+
/** Place movedPlace */
|
|
3304
|
+
movedPlace?: (string|null);
|
|
3305
|
+
|
|
3306
|
+
/** Place movedPlaceId */
|
|
3307
|
+
movedPlaceId?: (string|null);
|
|
3396
3308
|
}
|
|
3397
3309
|
|
|
3398
3310
|
/** Represents a Place. */
|
|
@@ -3422,6 +3334,9 @@ export namespace google {
|
|
|
3422
3334
|
/** Place primaryTypeDisplayName. */
|
|
3423
3335
|
public primaryTypeDisplayName?: (google.type.ILocalizedText|null);
|
|
3424
3336
|
|
|
3337
|
+
/** Place googleMapsTypeLabel. */
|
|
3338
|
+
public googleMapsTypeLabel?: (google.type.ILocalizedText|null);
|
|
3339
|
+
|
|
3425
3340
|
/** Place nationalPhoneNumber. */
|
|
3426
3341
|
public nationalPhoneNumber: string;
|
|
3427
3342
|
|
|
@@ -3605,6 +3520,9 @@ export namespace google {
|
|
|
3605
3520
|
/** Place addressDescriptor. */
|
|
3606
3521
|
public addressDescriptor?: (google.maps.places.v1.IAddressDescriptor|null);
|
|
3607
3522
|
|
|
3523
|
+
/** Place googleMapsLinks. */
|
|
3524
|
+
public googleMapsLinks?: (google.maps.places.v1.Place.IGoogleMapsLinks|null);
|
|
3525
|
+
|
|
3608
3526
|
/** Place priceRange. */
|
|
3609
3527
|
public priceRange?: (google.maps.places.v1.IPriceRange|null);
|
|
3610
3528
|
|
|
@@ -3617,6 +3535,15 @@ export namespace google {
|
|
|
3617
3535
|
/** Place neighborhoodSummary. */
|
|
3618
3536
|
public neighborhoodSummary?: (google.maps.places.v1.Place.INeighborhoodSummary|null);
|
|
3619
3537
|
|
|
3538
|
+
/** Place consumerAlert. */
|
|
3539
|
+
public consumerAlert?: (google.maps.places.v1.Place.IConsumerAlert|null);
|
|
3540
|
+
|
|
3541
|
+
/** Place movedPlace. */
|
|
3542
|
+
public movedPlace: string;
|
|
3543
|
+
|
|
3544
|
+
/** Place movedPlaceId. */
|
|
3545
|
+
public movedPlaceId: string;
|
|
3546
|
+
|
|
3620
3547
|
/**
|
|
3621
3548
|
* Creates a new Place instance using the specified properties.
|
|
3622
3549
|
* @param [properties] Properties to set
|
|
@@ -5182,6 +5109,127 @@ export namespace google {
|
|
|
5182
5109
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5183
5110
|
}
|
|
5184
5111
|
|
|
5112
|
+
/** Properties of a GoogleMapsLinks. */
|
|
5113
|
+
interface IGoogleMapsLinks {
|
|
5114
|
+
|
|
5115
|
+
/** GoogleMapsLinks directionsUri */
|
|
5116
|
+
directionsUri?: (string|null);
|
|
5117
|
+
|
|
5118
|
+
/** GoogleMapsLinks placeUri */
|
|
5119
|
+
placeUri?: (string|null);
|
|
5120
|
+
|
|
5121
|
+
/** GoogleMapsLinks writeAReviewUri */
|
|
5122
|
+
writeAReviewUri?: (string|null);
|
|
5123
|
+
|
|
5124
|
+
/** GoogleMapsLinks reviewsUri */
|
|
5125
|
+
reviewsUri?: (string|null);
|
|
5126
|
+
|
|
5127
|
+
/** GoogleMapsLinks photosUri */
|
|
5128
|
+
photosUri?: (string|null);
|
|
5129
|
+
}
|
|
5130
|
+
|
|
5131
|
+
/** Represents a GoogleMapsLinks. */
|
|
5132
|
+
class GoogleMapsLinks implements IGoogleMapsLinks {
|
|
5133
|
+
|
|
5134
|
+
/**
|
|
5135
|
+
* Constructs a new GoogleMapsLinks.
|
|
5136
|
+
* @param [properties] Properties to set
|
|
5137
|
+
*/
|
|
5138
|
+
constructor(properties?: google.maps.places.v1.Place.IGoogleMapsLinks);
|
|
5139
|
+
|
|
5140
|
+
/** GoogleMapsLinks directionsUri. */
|
|
5141
|
+
public directionsUri: string;
|
|
5142
|
+
|
|
5143
|
+
/** GoogleMapsLinks placeUri. */
|
|
5144
|
+
public placeUri: string;
|
|
5145
|
+
|
|
5146
|
+
/** GoogleMapsLinks writeAReviewUri. */
|
|
5147
|
+
public writeAReviewUri: string;
|
|
5148
|
+
|
|
5149
|
+
/** GoogleMapsLinks reviewsUri. */
|
|
5150
|
+
public reviewsUri: string;
|
|
5151
|
+
|
|
5152
|
+
/** GoogleMapsLinks photosUri. */
|
|
5153
|
+
public photosUri: string;
|
|
5154
|
+
|
|
5155
|
+
/**
|
|
5156
|
+
* Creates a new GoogleMapsLinks instance using the specified properties.
|
|
5157
|
+
* @param [properties] Properties to set
|
|
5158
|
+
* @returns GoogleMapsLinks instance
|
|
5159
|
+
*/
|
|
5160
|
+
public static create(properties?: google.maps.places.v1.Place.IGoogleMapsLinks): google.maps.places.v1.Place.GoogleMapsLinks;
|
|
5161
|
+
|
|
5162
|
+
/**
|
|
5163
|
+
* Encodes the specified GoogleMapsLinks message. Does not implicitly {@link google.maps.places.v1.Place.GoogleMapsLinks.verify|verify} messages.
|
|
5164
|
+
* @param message GoogleMapsLinks message or plain object to encode
|
|
5165
|
+
* @param [writer] Writer to encode to
|
|
5166
|
+
* @returns Writer
|
|
5167
|
+
*/
|
|
5168
|
+
public static encode(message: google.maps.places.v1.Place.IGoogleMapsLinks, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5169
|
+
|
|
5170
|
+
/**
|
|
5171
|
+
* Encodes the specified GoogleMapsLinks message, length delimited. Does not implicitly {@link google.maps.places.v1.Place.GoogleMapsLinks.verify|verify} messages.
|
|
5172
|
+
* @param message GoogleMapsLinks message or plain object to encode
|
|
5173
|
+
* @param [writer] Writer to encode to
|
|
5174
|
+
* @returns Writer
|
|
5175
|
+
*/
|
|
5176
|
+
public static encodeDelimited(message: google.maps.places.v1.Place.IGoogleMapsLinks, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5177
|
+
|
|
5178
|
+
/**
|
|
5179
|
+
* Decodes a GoogleMapsLinks message from the specified reader or buffer.
|
|
5180
|
+
* @param reader Reader or buffer to decode from
|
|
5181
|
+
* @param [length] Message length if known beforehand
|
|
5182
|
+
* @returns GoogleMapsLinks
|
|
5183
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5184
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5185
|
+
*/
|
|
5186
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.Place.GoogleMapsLinks;
|
|
5187
|
+
|
|
5188
|
+
/**
|
|
5189
|
+
* Decodes a GoogleMapsLinks message from the specified reader or buffer, length delimited.
|
|
5190
|
+
* @param reader Reader or buffer to decode from
|
|
5191
|
+
* @returns GoogleMapsLinks
|
|
5192
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5193
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5194
|
+
*/
|
|
5195
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.Place.GoogleMapsLinks;
|
|
5196
|
+
|
|
5197
|
+
/**
|
|
5198
|
+
* Verifies a GoogleMapsLinks message.
|
|
5199
|
+
* @param message Plain object to verify
|
|
5200
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
5201
|
+
*/
|
|
5202
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5203
|
+
|
|
5204
|
+
/**
|
|
5205
|
+
* Creates a GoogleMapsLinks message from a plain object. Also converts values to their respective internal types.
|
|
5206
|
+
* @param object Plain object
|
|
5207
|
+
* @returns GoogleMapsLinks
|
|
5208
|
+
*/
|
|
5209
|
+
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.Place.GoogleMapsLinks;
|
|
5210
|
+
|
|
5211
|
+
/**
|
|
5212
|
+
* Creates a plain object from a GoogleMapsLinks message. Also converts values to other types if specified.
|
|
5213
|
+
* @param message GoogleMapsLinks
|
|
5214
|
+
* @param [options] Conversion options
|
|
5215
|
+
* @returns Plain object
|
|
5216
|
+
*/
|
|
5217
|
+
public static toObject(message: google.maps.places.v1.Place.GoogleMapsLinks, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5218
|
+
|
|
5219
|
+
/**
|
|
5220
|
+
* Converts this GoogleMapsLinks to JSON.
|
|
5221
|
+
* @returns JSON object
|
|
5222
|
+
*/
|
|
5223
|
+
public toJSON(): { [k: string]: any };
|
|
5224
|
+
|
|
5225
|
+
/**
|
|
5226
|
+
* Gets the default type url for GoogleMapsLinks
|
|
5227
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5228
|
+
* @returns The default type url
|
|
5229
|
+
*/
|
|
5230
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5231
|
+
}
|
|
5232
|
+
|
|
5185
5233
|
/** Properties of a ReviewSummary. */
|
|
5186
5234
|
interface IReviewSummary {
|
|
5187
5235
|
|
|
@@ -5193,6 +5241,9 @@ export namespace google {
|
|
|
5193
5241
|
|
|
5194
5242
|
/** ReviewSummary disclosureText */
|
|
5195
5243
|
disclosureText?: (google.type.ILocalizedText|null);
|
|
5244
|
+
|
|
5245
|
+
/** ReviewSummary reviewsUri */
|
|
5246
|
+
reviewsUri?: (string|null);
|
|
5196
5247
|
}
|
|
5197
5248
|
|
|
5198
5249
|
/** Represents a ReviewSummary. */
|
|
@@ -5213,6 +5264,9 @@ export namespace google {
|
|
|
5213
5264
|
/** ReviewSummary disclosureText. */
|
|
5214
5265
|
public disclosureText?: (google.type.ILocalizedText|null);
|
|
5215
5266
|
|
|
5267
|
+
/** ReviewSummary reviewsUri. */
|
|
5268
|
+
public reviewsUri: string;
|
|
5269
|
+
|
|
5216
5270
|
/**
|
|
5217
5271
|
* Creates a new ReviewSummary instance using the specified properties.
|
|
5218
5272
|
* @param [properties] Properties to set
|
|
@@ -5476,62 +5530,389 @@ export namespace google {
|
|
|
5476
5530
|
* @param [writer] Writer to encode to
|
|
5477
5531
|
* @returns Writer
|
|
5478
5532
|
*/
|
|
5479
|
-
public static encodeDelimited(message: google.maps.places.v1.Place.INeighborhoodSummary, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5533
|
+
public static encodeDelimited(message: google.maps.places.v1.Place.INeighborhoodSummary, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5534
|
+
|
|
5535
|
+
/**
|
|
5536
|
+
* Decodes a NeighborhoodSummary message from the specified reader or buffer.
|
|
5537
|
+
* @param reader Reader or buffer to decode from
|
|
5538
|
+
* @param [length] Message length if known beforehand
|
|
5539
|
+
* @returns NeighborhoodSummary
|
|
5540
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5541
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5542
|
+
*/
|
|
5543
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.Place.NeighborhoodSummary;
|
|
5544
|
+
|
|
5545
|
+
/**
|
|
5546
|
+
* Decodes a NeighborhoodSummary message from the specified reader or buffer, length delimited.
|
|
5547
|
+
* @param reader Reader or buffer to decode from
|
|
5548
|
+
* @returns NeighborhoodSummary
|
|
5549
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5550
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5551
|
+
*/
|
|
5552
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.Place.NeighborhoodSummary;
|
|
5553
|
+
|
|
5554
|
+
/**
|
|
5555
|
+
* Verifies a NeighborhoodSummary message.
|
|
5556
|
+
* @param message Plain object to verify
|
|
5557
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
5558
|
+
*/
|
|
5559
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5560
|
+
|
|
5561
|
+
/**
|
|
5562
|
+
* Creates a NeighborhoodSummary message from a plain object. Also converts values to their respective internal types.
|
|
5563
|
+
* @param object Plain object
|
|
5564
|
+
* @returns NeighborhoodSummary
|
|
5565
|
+
*/
|
|
5566
|
+
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.Place.NeighborhoodSummary;
|
|
5567
|
+
|
|
5568
|
+
/**
|
|
5569
|
+
* Creates a plain object from a NeighborhoodSummary message. Also converts values to other types if specified.
|
|
5570
|
+
* @param message NeighborhoodSummary
|
|
5571
|
+
* @param [options] Conversion options
|
|
5572
|
+
* @returns Plain object
|
|
5573
|
+
*/
|
|
5574
|
+
public static toObject(message: google.maps.places.v1.Place.NeighborhoodSummary, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5575
|
+
|
|
5576
|
+
/**
|
|
5577
|
+
* Converts this NeighborhoodSummary to JSON.
|
|
5578
|
+
* @returns JSON object
|
|
5579
|
+
*/
|
|
5580
|
+
public toJSON(): { [k: string]: any };
|
|
5581
|
+
|
|
5582
|
+
/**
|
|
5583
|
+
* Gets the default type url for NeighborhoodSummary
|
|
5584
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5585
|
+
* @returns The default type url
|
|
5586
|
+
*/
|
|
5587
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5588
|
+
}
|
|
5589
|
+
|
|
5590
|
+
/** Properties of a ConsumerAlert. */
|
|
5591
|
+
interface IConsumerAlert {
|
|
5592
|
+
|
|
5593
|
+
/** ConsumerAlert overview */
|
|
5594
|
+
overview?: (string|null);
|
|
5595
|
+
|
|
5596
|
+
/** ConsumerAlert details */
|
|
5597
|
+
details?: (google.maps.places.v1.Place.ConsumerAlert.IDetails|null);
|
|
5598
|
+
|
|
5599
|
+
/** ConsumerAlert languageCode */
|
|
5600
|
+
languageCode?: (string|null);
|
|
5601
|
+
}
|
|
5602
|
+
|
|
5603
|
+
/** Represents a ConsumerAlert. */
|
|
5604
|
+
class ConsumerAlert implements IConsumerAlert {
|
|
5605
|
+
|
|
5606
|
+
/**
|
|
5607
|
+
* Constructs a new ConsumerAlert.
|
|
5608
|
+
* @param [properties] Properties to set
|
|
5609
|
+
*/
|
|
5610
|
+
constructor(properties?: google.maps.places.v1.Place.IConsumerAlert);
|
|
5611
|
+
|
|
5612
|
+
/** ConsumerAlert overview. */
|
|
5613
|
+
public overview: string;
|
|
5614
|
+
|
|
5615
|
+
/** ConsumerAlert details. */
|
|
5616
|
+
public details?: (google.maps.places.v1.Place.ConsumerAlert.IDetails|null);
|
|
5617
|
+
|
|
5618
|
+
/** ConsumerAlert languageCode. */
|
|
5619
|
+
public languageCode: string;
|
|
5620
|
+
|
|
5621
|
+
/**
|
|
5622
|
+
* Creates a new ConsumerAlert instance using the specified properties.
|
|
5623
|
+
* @param [properties] Properties to set
|
|
5624
|
+
* @returns ConsumerAlert instance
|
|
5625
|
+
*/
|
|
5626
|
+
public static create(properties?: google.maps.places.v1.Place.IConsumerAlert): google.maps.places.v1.Place.ConsumerAlert;
|
|
5627
|
+
|
|
5628
|
+
/**
|
|
5629
|
+
* Encodes the specified ConsumerAlert message. Does not implicitly {@link google.maps.places.v1.Place.ConsumerAlert.verify|verify} messages.
|
|
5630
|
+
* @param message ConsumerAlert message or plain object to encode
|
|
5631
|
+
* @param [writer] Writer to encode to
|
|
5632
|
+
* @returns Writer
|
|
5633
|
+
*/
|
|
5634
|
+
public static encode(message: google.maps.places.v1.Place.IConsumerAlert, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5635
|
+
|
|
5636
|
+
/**
|
|
5637
|
+
* Encodes the specified ConsumerAlert message, length delimited. Does not implicitly {@link google.maps.places.v1.Place.ConsumerAlert.verify|verify} messages.
|
|
5638
|
+
* @param message ConsumerAlert message or plain object to encode
|
|
5639
|
+
* @param [writer] Writer to encode to
|
|
5640
|
+
* @returns Writer
|
|
5641
|
+
*/
|
|
5642
|
+
public static encodeDelimited(message: google.maps.places.v1.Place.IConsumerAlert, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5480
5643
|
|
|
5481
5644
|
/**
|
|
5482
|
-
* Decodes a
|
|
5645
|
+
* Decodes a ConsumerAlert message from the specified reader or buffer.
|
|
5483
5646
|
* @param reader Reader or buffer to decode from
|
|
5484
5647
|
* @param [length] Message length if known beforehand
|
|
5485
|
-
* @returns
|
|
5648
|
+
* @returns ConsumerAlert
|
|
5486
5649
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5487
5650
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5488
5651
|
*/
|
|
5489
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.Place.
|
|
5652
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.Place.ConsumerAlert;
|
|
5490
5653
|
|
|
5491
5654
|
/**
|
|
5492
|
-
* Decodes a
|
|
5655
|
+
* Decodes a ConsumerAlert message from the specified reader or buffer, length delimited.
|
|
5493
5656
|
* @param reader Reader or buffer to decode from
|
|
5494
|
-
* @returns
|
|
5657
|
+
* @returns ConsumerAlert
|
|
5495
5658
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5496
5659
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5497
5660
|
*/
|
|
5498
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.Place.
|
|
5661
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.Place.ConsumerAlert;
|
|
5499
5662
|
|
|
5500
5663
|
/**
|
|
5501
|
-
* Verifies a
|
|
5664
|
+
* Verifies a ConsumerAlert message.
|
|
5502
5665
|
* @param message Plain object to verify
|
|
5503
5666
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
5504
5667
|
*/
|
|
5505
5668
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
5506
5669
|
|
|
5507
5670
|
/**
|
|
5508
|
-
* Creates a
|
|
5671
|
+
* Creates a ConsumerAlert message from a plain object. Also converts values to their respective internal types.
|
|
5509
5672
|
* @param object Plain object
|
|
5510
|
-
* @returns
|
|
5673
|
+
* @returns ConsumerAlert
|
|
5511
5674
|
*/
|
|
5512
|
-
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.Place.
|
|
5675
|
+
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.Place.ConsumerAlert;
|
|
5513
5676
|
|
|
5514
5677
|
/**
|
|
5515
|
-
* Creates a plain object from a
|
|
5516
|
-
* @param message
|
|
5678
|
+
* Creates a plain object from a ConsumerAlert message. Also converts values to other types if specified.
|
|
5679
|
+
* @param message ConsumerAlert
|
|
5517
5680
|
* @param [options] Conversion options
|
|
5518
5681
|
* @returns Plain object
|
|
5519
5682
|
*/
|
|
5520
|
-
public static toObject(message: google.maps.places.v1.Place.
|
|
5683
|
+
public static toObject(message: google.maps.places.v1.Place.ConsumerAlert, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5521
5684
|
|
|
5522
5685
|
/**
|
|
5523
|
-
* Converts this
|
|
5686
|
+
* Converts this ConsumerAlert to JSON.
|
|
5524
5687
|
* @returns JSON object
|
|
5525
5688
|
*/
|
|
5526
5689
|
public toJSON(): { [k: string]: any };
|
|
5527
5690
|
|
|
5528
5691
|
/**
|
|
5529
|
-
* Gets the default type url for
|
|
5692
|
+
* Gets the default type url for ConsumerAlert
|
|
5530
5693
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5531
5694
|
* @returns The default type url
|
|
5532
5695
|
*/
|
|
5533
5696
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5534
5697
|
}
|
|
5698
|
+
|
|
5699
|
+
namespace ConsumerAlert {
|
|
5700
|
+
|
|
5701
|
+
/** Properties of a Details. */
|
|
5702
|
+
interface IDetails {
|
|
5703
|
+
|
|
5704
|
+
/** Details title */
|
|
5705
|
+
title?: (string|null);
|
|
5706
|
+
|
|
5707
|
+
/** Details description */
|
|
5708
|
+
description?: (string|null);
|
|
5709
|
+
|
|
5710
|
+
/** Details aboutLink */
|
|
5711
|
+
aboutLink?: (google.maps.places.v1.Place.ConsumerAlert.Details.ILink|null);
|
|
5712
|
+
}
|
|
5713
|
+
|
|
5714
|
+
/** Represents a Details. */
|
|
5715
|
+
class Details implements IDetails {
|
|
5716
|
+
|
|
5717
|
+
/**
|
|
5718
|
+
* Constructs a new Details.
|
|
5719
|
+
* @param [properties] Properties to set
|
|
5720
|
+
*/
|
|
5721
|
+
constructor(properties?: google.maps.places.v1.Place.ConsumerAlert.IDetails);
|
|
5722
|
+
|
|
5723
|
+
/** Details title. */
|
|
5724
|
+
public title: string;
|
|
5725
|
+
|
|
5726
|
+
/** Details description. */
|
|
5727
|
+
public description: string;
|
|
5728
|
+
|
|
5729
|
+
/** Details aboutLink. */
|
|
5730
|
+
public aboutLink?: (google.maps.places.v1.Place.ConsumerAlert.Details.ILink|null);
|
|
5731
|
+
|
|
5732
|
+
/**
|
|
5733
|
+
* Creates a new Details instance using the specified properties.
|
|
5734
|
+
* @param [properties] Properties to set
|
|
5735
|
+
* @returns Details instance
|
|
5736
|
+
*/
|
|
5737
|
+
public static create(properties?: google.maps.places.v1.Place.ConsumerAlert.IDetails): google.maps.places.v1.Place.ConsumerAlert.Details;
|
|
5738
|
+
|
|
5739
|
+
/**
|
|
5740
|
+
* Encodes the specified Details message. Does not implicitly {@link google.maps.places.v1.Place.ConsumerAlert.Details.verify|verify} messages.
|
|
5741
|
+
* @param message Details message or plain object to encode
|
|
5742
|
+
* @param [writer] Writer to encode to
|
|
5743
|
+
* @returns Writer
|
|
5744
|
+
*/
|
|
5745
|
+
public static encode(message: google.maps.places.v1.Place.ConsumerAlert.IDetails, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5746
|
+
|
|
5747
|
+
/**
|
|
5748
|
+
* Encodes the specified Details message, length delimited. Does not implicitly {@link google.maps.places.v1.Place.ConsumerAlert.Details.verify|verify} messages.
|
|
5749
|
+
* @param message Details message or plain object to encode
|
|
5750
|
+
* @param [writer] Writer to encode to
|
|
5751
|
+
* @returns Writer
|
|
5752
|
+
*/
|
|
5753
|
+
public static encodeDelimited(message: google.maps.places.v1.Place.ConsumerAlert.IDetails, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5754
|
+
|
|
5755
|
+
/**
|
|
5756
|
+
* Decodes a Details message from the specified reader or buffer.
|
|
5757
|
+
* @param reader Reader or buffer to decode from
|
|
5758
|
+
* @param [length] Message length if known beforehand
|
|
5759
|
+
* @returns Details
|
|
5760
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5761
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5762
|
+
*/
|
|
5763
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.Place.ConsumerAlert.Details;
|
|
5764
|
+
|
|
5765
|
+
/**
|
|
5766
|
+
* Decodes a Details message from the specified reader or buffer, length delimited.
|
|
5767
|
+
* @param reader Reader or buffer to decode from
|
|
5768
|
+
* @returns Details
|
|
5769
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5770
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5771
|
+
*/
|
|
5772
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.Place.ConsumerAlert.Details;
|
|
5773
|
+
|
|
5774
|
+
/**
|
|
5775
|
+
* Verifies a Details message.
|
|
5776
|
+
* @param message Plain object to verify
|
|
5777
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
5778
|
+
*/
|
|
5779
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5780
|
+
|
|
5781
|
+
/**
|
|
5782
|
+
* Creates a Details message from a plain object. Also converts values to their respective internal types.
|
|
5783
|
+
* @param object Plain object
|
|
5784
|
+
* @returns Details
|
|
5785
|
+
*/
|
|
5786
|
+
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.Place.ConsumerAlert.Details;
|
|
5787
|
+
|
|
5788
|
+
/**
|
|
5789
|
+
* Creates a plain object from a Details message. Also converts values to other types if specified.
|
|
5790
|
+
* @param message Details
|
|
5791
|
+
* @param [options] Conversion options
|
|
5792
|
+
* @returns Plain object
|
|
5793
|
+
*/
|
|
5794
|
+
public static toObject(message: google.maps.places.v1.Place.ConsumerAlert.Details, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5795
|
+
|
|
5796
|
+
/**
|
|
5797
|
+
* Converts this Details to JSON.
|
|
5798
|
+
* @returns JSON object
|
|
5799
|
+
*/
|
|
5800
|
+
public toJSON(): { [k: string]: any };
|
|
5801
|
+
|
|
5802
|
+
/**
|
|
5803
|
+
* Gets the default type url for Details
|
|
5804
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5805
|
+
* @returns The default type url
|
|
5806
|
+
*/
|
|
5807
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5808
|
+
}
|
|
5809
|
+
|
|
5810
|
+
namespace Details {
|
|
5811
|
+
|
|
5812
|
+
/** Properties of a Link. */
|
|
5813
|
+
interface ILink {
|
|
5814
|
+
|
|
5815
|
+
/** Link title */
|
|
5816
|
+
title?: (string|null);
|
|
5817
|
+
|
|
5818
|
+
/** Link uri */
|
|
5819
|
+
uri?: (string|null);
|
|
5820
|
+
}
|
|
5821
|
+
|
|
5822
|
+
/** Represents a Link. */
|
|
5823
|
+
class Link implements ILink {
|
|
5824
|
+
|
|
5825
|
+
/**
|
|
5826
|
+
* Constructs a new Link.
|
|
5827
|
+
* @param [properties] Properties to set
|
|
5828
|
+
*/
|
|
5829
|
+
constructor(properties?: google.maps.places.v1.Place.ConsumerAlert.Details.ILink);
|
|
5830
|
+
|
|
5831
|
+
/** Link title. */
|
|
5832
|
+
public title: string;
|
|
5833
|
+
|
|
5834
|
+
/** Link uri. */
|
|
5835
|
+
public uri: string;
|
|
5836
|
+
|
|
5837
|
+
/**
|
|
5838
|
+
* Creates a new Link instance using the specified properties.
|
|
5839
|
+
* @param [properties] Properties to set
|
|
5840
|
+
* @returns Link instance
|
|
5841
|
+
*/
|
|
5842
|
+
public static create(properties?: google.maps.places.v1.Place.ConsumerAlert.Details.ILink): google.maps.places.v1.Place.ConsumerAlert.Details.Link;
|
|
5843
|
+
|
|
5844
|
+
/**
|
|
5845
|
+
* Encodes the specified Link message. Does not implicitly {@link google.maps.places.v1.Place.ConsumerAlert.Details.Link.verify|verify} messages.
|
|
5846
|
+
* @param message Link message or plain object to encode
|
|
5847
|
+
* @param [writer] Writer to encode to
|
|
5848
|
+
* @returns Writer
|
|
5849
|
+
*/
|
|
5850
|
+
public static encode(message: google.maps.places.v1.Place.ConsumerAlert.Details.ILink, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5851
|
+
|
|
5852
|
+
/**
|
|
5853
|
+
* Encodes the specified Link message, length delimited. Does not implicitly {@link google.maps.places.v1.Place.ConsumerAlert.Details.Link.verify|verify} messages.
|
|
5854
|
+
* @param message Link message or plain object to encode
|
|
5855
|
+
* @param [writer] Writer to encode to
|
|
5856
|
+
* @returns Writer
|
|
5857
|
+
*/
|
|
5858
|
+
public static encodeDelimited(message: google.maps.places.v1.Place.ConsumerAlert.Details.ILink, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5859
|
+
|
|
5860
|
+
/**
|
|
5861
|
+
* Decodes a Link message from the specified reader or buffer.
|
|
5862
|
+
* @param reader Reader or buffer to decode from
|
|
5863
|
+
* @param [length] Message length if known beforehand
|
|
5864
|
+
* @returns Link
|
|
5865
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5866
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5867
|
+
*/
|
|
5868
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.Place.ConsumerAlert.Details.Link;
|
|
5869
|
+
|
|
5870
|
+
/**
|
|
5871
|
+
* Decodes a Link message from the specified reader or buffer, length delimited.
|
|
5872
|
+
* @param reader Reader or buffer to decode from
|
|
5873
|
+
* @returns Link
|
|
5874
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5875
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5876
|
+
*/
|
|
5877
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.Place.ConsumerAlert.Details.Link;
|
|
5878
|
+
|
|
5879
|
+
/**
|
|
5880
|
+
* Verifies a Link message.
|
|
5881
|
+
* @param message Plain object to verify
|
|
5882
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
5883
|
+
*/
|
|
5884
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5885
|
+
|
|
5886
|
+
/**
|
|
5887
|
+
* Creates a Link message from a plain object. Also converts values to their respective internal types.
|
|
5888
|
+
* @param object Plain object
|
|
5889
|
+
* @returns Link
|
|
5890
|
+
*/
|
|
5891
|
+
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.Place.ConsumerAlert.Details.Link;
|
|
5892
|
+
|
|
5893
|
+
/**
|
|
5894
|
+
* Creates a plain object from a Link message. Also converts values to other types if specified.
|
|
5895
|
+
* @param message Link
|
|
5896
|
+
* @param [options] Conversion options
|
|
5897
|
+
* @returns Plain object
|
|
5898
|
+
*/
|
|
5899
|
+
public static toObject(message: google.maps.places.v1.Place.ConsumerAlert.Details.Link, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5900
|
+
|
|
5901
|
+
/**
|
|
5902
|
+
* Converts this Link to JSON.
|
|
5903
|
+
* @returns JSON object
|
|
5904
|
+
*/
|
|
5905
|
+
public toJSON(): { [k: string]: any };
|
|
5906
|
+
|
|
5907
|
+
/**
|
|
5908
|
+
* Gets the default type url for Link
|
|
5909
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5910
|
+
* @returns The default type url
|
|
5911
|
+
*/
|
|
5912
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5913
|
+
}
|
|
5914
|
+
}
|
|
5915
|
+
}
|
|
5535
5916
|
}
|
|
5536
5917
|
|
|
5537
5918
|
/** PriceLevel enum. */
|
|
@@ -8866,6 +9247,109 @@ export namespace google {
|
|
|
8866
9247
|
WALK = 3,
|
|
8867
9248
|
TWO_WHEELER = 4
|
|
8868
9249
|
}
|
|
9250
|
+
|
|
9251
|
+
/** Properties of a References. */
|
|
9252
|
+
interface IReferences {
|
|
9253
|
+
|
|
9254
|
+
/** References reviews */
|
|
9255
|
+
reviews?: (google.maps.places.v1.IReview[]|null);
|
|
9256
|
+
|
|
9257
|
+
/** References places */
|
|
9258
|
+
places?: (string[]|null);
|
|
9259
|
+
}
|
|
9260
|
+
|
|
9261
|
+
/** Represents a References. */
|
|
9262
|
+
class References implements IReferences {
|
|
9263
|
+
|
|
9264
|
+
/**
|
|
9265
|
+
* Constructs a new References.
|
|
9266
|
+
* @param [properties] Properties to set
|
|
9267
|
+
*/
|
|
9268
|
+
constructor(properties?: google.maps.places.v1.IReferences);
|
|
9269
|
+
|
|
9270
|
+
/** References reviews. */
|
|
9271
|
+
public reviews: google.maps.places.v1.IReview[];
|
|
9272
|
+
|
|
9273
|
+
/** References places. */
|
|
9274
|
+
public places: string[];
|
|
9275
|
+
|
|
9276
|
+
/**
|
|
9277
|
+
* Creates a new References instance using the specified properties.
|
|
9278
|
+
* @param [properties] Properties to set
|
|
9279
|
+
* @returns References instance
|
|
9280
|
+
*/
|
|
9281
|
+
public static create(properties?: google.maps.places.v1.IReferences): google.maps.places.v1.References;
|
|
9282
|
+
|
|
9283
|
+
/**
|
|
9284
|
+
* Encodes the specified References message. Does not implicitly {@link google.maps.places.v1.References.verify|verify} messages.
|
|
9285
|
+
* @param message References message or plain object to encode
|
|
9286
|
+
* @param [writer] Writer to encode to
|
|
9287
|
+
* @returns Writer
|
|
9288
|
+
*/
|
|
9289
|
+
public static encode(message: google.maps.places.v1.IReferences, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9290
|
+
|
|
9291
|
+
/**
|
|
9292
|
+
* Encodes the specified References message, length delimited. Does not implicitly {@link google.maps.places.v1.References.verify|verify} messages.
|
|
9293
|
+
* @param message References message or plain object to encode
|
|
9294
|
+
* @param [writer] Writer to encode to
|
|
9295
|
+
* @returns Writer
|
|
9296
|
+
*/
|
|
9297
|
+
public static encodeDelimited(message: google.maps.places.v1.IReferences, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9298
|
+
|
|
9299
|
+
/**
|
|
9300
|
+
* Decodes a References message from the specified reader or buffer.
|
|
9301
|
+
* @param reader Reader or buffer to decode from
|
|
9302
|
+
* @param [length] Message length if known beforehand
|
|
9303
|
+
* @returns References
|
|
9304
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9305
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9306
|
+
*/
|
|
9307
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.maps.places.v1.References;
|
|
9308
|
+
|
|
9309
|
+
/**
|
|
9310
|
+
* Decodes a References message from the specified reader or buffer, length delimited.
|
|
9311
|
+
* @param reader Reader or buffer to decode from
|
|
9312
|
+
* @returns References
|
|
9313
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9314
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9315
|
+
*/
|
|
9316
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.maps.places.v1.References;
|
|
9317
|
+
|
|
9318
|
+
/**
|
|
9319
|
+
* Verifies a References message.
|
|
9320
|
+
* @param message Plain object to verify
|
|
9321
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
9322
|
+
*/
|
|
9323
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
9324
|
+
|
|
9325
|
+
/**
|
|
9326
|
+
* Creates a References message from a plain object. Also converts values to their respective internal types.
|
|
9327
|
+
* @param object Plain object
|
|
9328
|
+
* @returns References
|
|
9329
|
+
*/
|
|
9330
|
+
public static fromObject(object: { [k: string]: any }): google.maps.places.v1.References;
|
|
9331
|
+
|
|
9332
|
+
/**
|
|
9333
|
+
* Creates a plain object from a References message. Also converts values to other types if specified.
|
|
9334
|
+
* @param message References
|
|
9335
|
+
* @param [options] Conversion options
|
|
9336
|
+
* @returns Plain object
|
|
9337
|
+
*/
|
|
9338
|
+
public static toObject(message: google.maps.places.v1.References, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
9339
|
+
|
|
9340
|
+
/**
|
|
9341
|
+
* Converts this References to JSON.
|
|
9342
|
+
* @returns JSON object
|
|
9343
|
+
*/
|
|
9344
|
+
public toJSON(): { [k: string]: any };
|
|
9345
|
+
|
|
9346
|
+
/**
|
|
9347
|
+
* Gets the default type url for References
|
|
9348
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
9349
|
+
* @returns The default type url
|
|
9350
|
+
*/
|
|
9351
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
9352
|
+
}
|
|
8869
9353
|
}
|
|
8870
9354
|
}
|
|
8871
9355
|
}
|