public final class GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionPlacePrediction
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 |
|---|
GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionPlacePrediction() |
| Modifier and Type | Method and Description |
|---|---|
GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionPlacePrediction |
clone() |
Integer |
getDistanceMeters()
The length of the geodesic in meters from `origin` if `origin` is specified.
|
String |
getPlace()
The resource name of the suggested Place.
|
String |
getPlaceId()
The unique identifier of the suggested Place.
|
GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStructuredFormat |
getStructuredFormat()
A breakdown of the Place prediction into main text containing the name of the Place and
secondary text containing additional disambiguating features (such as a city or region).
|
GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText |
getText()
Contains the human-readable name for the returned result.
|
List<String> |
getTypes()
List of types that apply to this Place from Table A or Table B in
https://developers.google.com/maps/documentation/places/web-service/place-types.
|
GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionPlacePrediction |
set(String fieldName,
Object value) |
GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionPlacePrediction |
setDistanceMeters(Integer distanceMeters)
The length of the geodesic in meters from `origin` if `origin` is specified.
|
GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionPlacePrediction |
setPlace(String place)
The resource name of the suggested Place.
|
GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionPlacePrediction |
setPlaceId(String placeId)
The unique identifier of the suggested Place.
|
GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionPlacePrediction |
setStructuredFormat(GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStructuredFormat structuredFormat)
A breakdown of the Place prediction into main text containing the name of the Place and
secondary text containing additional disambiguating features (such as a city or region).
|
GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionPlacePrediction |
setText(GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText text)
Contains the human-readable name for the returned result.
|
GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionPlacePrediction |
setTypes(List<String> types)
List of types that apply to this Place from Table A or Table B in
https://developers.google.com/maps/documentation/places/web-service/place-types.
|
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 GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionPlacePrediction()
public Integer getDistanceMeters()
null for nonepublic GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionPlacePrediction setDistanceMeters(Integer distanceMeters)
distanceMeters - distanceMeters or null for nonepublic String getPlace()
null for nonepublic GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionPlacePrediction setPlace(String place)
place - place or null for nonepublic String getPlaceId()
null for nonepublic GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionPlacePrediction setPlaceId(String placeId)
placeId - placeId or null for nonepublic GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStructuredFormat getStructuredFormat()
null for nonepublic GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionPlacePrediction setStructuredFormat(GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStructuredFormat structuredFormat)
structuredFormat - structuredFormat or null for nonepublic GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText getText()
null for nonepublic GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionPlacePrediction setText(GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText text)
text - text or null for nonepublic List<String> getTypes()
null for nonepublic GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionPlacePrediction setTypes(List<String> types)
types - types or null for nonepublic GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionPlacePrediction set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionPlacePrediction clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.