public final class GoogleMapsPlacesV1Review
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Places API (New). For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GoogleMapsPlacesV1Review() |
| Modifier and Type | Method and Description |
|---|---|
GoogleMapsPlacesV1Review |
clone() |
GoogleMapsPlacesV1AuthorAttribution |
getAuthorAttribution()
This review's author.
|
String |
getFlagContentUri()
A link where users can flag a problem with the review.
|
String |
getGoogleMapsUri()
A link to show the review on Google Maps.
|
String |
getName()
A reference representing this place review which may be used to look up this place review again
(also called the API "resource" name: `places/{place_id}/reviews/{review}`).
|
GoogleTypeLocalizedText |
getOriginalText()
The review text in its original language.
|
String |
getPublishTime()
Timestamp for the review.
|
Double |
getRating()
A number between 1.0 and 5.0, also called the number of stars.
|
String |
getRelativePublishTimeDescription()
A string of formatted recent time, expressing the review time relative to the current time in a
form appropriate for the language and country.
|
GoogleTypeLocalizedText |
getText()
The localized text of the review.
|
GoogleTypeDate |
getVisitDate()
The date when the author visited the place.
|
GoogleMapsPlacesV1Review |
set(String fieldName,
Object value) |
GoogleMapsPlacesV1Review |
setAuthorAttribution(GoogleMapsPlacesV1AuthorAttribution authorAttribution)
This review's author.
|
GoogleMapsPlacesV1Review |
setFlagContentUri(String flagContentUri)
A link where users can flag a problem with the review.
|
GoogleMapsPlacesV1Review |
setGoogleMapsUri(String googleMapsUri)
A link to show the review on Google Maps.
|
GoogleMapsPlacesV1Review |
setName(String name)
A reference representing this place review which may be used to look up this place review again
(also called the API "resource" name: `places/{place_id}/reviews/{review}`).
|
GoogleMapsPlacesV1Review |
setOriginalText(GoogleTypeLocalizedText originalText)
The review text in its original language.
|
GoogleMapsPlacesV1Review |
setPublishTime(String publishTime)
Timestamp for the review.
|
GoogleMapsPlacesV1Review |
setRating(Double rating)
A number between 1.0 and 5.0, also called the number of stars.
|
GoogleMapsPlacesV1Review |
setRelativePublishTimeDescription(String relativePublishTimeDescription)
A string of formatted recent time, expressing the review time relative to the current time in a
form appropriate for the language and country.
|
GoogleMapsPlacesV1Review |
setText(GoogleTypeLocalizedText text)
The localized text of the review.
|
GoogleMapsPlacesV1Review |
setVisitDate(GoogleTypeDate visitDate)
The date when the author visited the place.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic GoogleMapsPlacesV1AuthorAttribution getAuthorAttribution()
null for nonepublic GoogleMapsPlacesV1Review setAuthorAttribution(GoogleMapsPlacesV1AuthorAttribution authorAttribution)
authorAttribution - authorAttribution or null for nonepublic String getFlagContentUri()
null for nonepublic GoogleMapsPlacesV1Review setFlagContentUri(String flagContentUri)
flagContentUri - flagContentUri or null for nonepublic String getGoogleMapsUri()
null for nonepublic GoogleMapsPlacesV1Review setGoogleMapsUri(String googleMapsUri)
googleMapsUri - googleMapsUri or null for nonepublic String getName()
null for nonepublic GoogleMapsPlacesV1Review setName(String name)
name - name or null for nonepublic GoogleTypeLocalizedText getOriginalText()
null for nonepublic GoogleMapsPlacesV1Review setOriginalText(GoogleTypeLocalizedText originalText)
originalText - originalText or null for nonepublic String getPublishTime()
null for nonepublic GoogleMapsPlacesV1Review setPublishTime(String publishTime)
publishTime - publishTime or null for nonepublic Double getRating()
null for nonepublic GoogleMapsPlacesV1Review setRating(Double rating)
rating - rating or null for nonepublic String getRelativePublishTimeDescription()
null for nonepublic GoogleMapsPlacesV1Review setRelativePublishTimeDescription(String relativePublishTimeDescription)
relativePublishTimeDescription - relativePublishTimeDescription or null for nonepublic GoogleTypeLocalizedText getText()
null for nonepublic GoogleMapsPlacesV1Review setText(GoogleTypeLocalizedText text)
text - text or null for nonepublic GoogleTypeDate getVisitDate()
null for nonepublic GoogleMapsPlacesV1Review setVisitDate(GoogleTypeDate visitDate)
visitDate - visitDate or null for nonepublic GoogleMapsPlacesV1Review set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleMapsPlacesV1Review clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.