public final class GoogleMapsPlacesV1SearchTextResponse
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 |
|---|
GoogleMapsPlacesV1SearchTextResponse() |
| Modifier and Type | Method and Description |
|---|---|
GoogleMapsPlacesV1SearchTextResponse |
clone() |
List<GoogleMapsPlacesV1ContextualContent> |
getContextualContents()
Experimental: See https://developers.google.com/maps/documentation/places/web-
service/experimental/places-generative for more details.
|
String |
getNextPageToken()
A token that can be sent as `page_token` to retrieve the next page.
|
List<GoogleMapsPlacesV1Place> |
getPlaces()
A list of places that meet the user's text search criteria.
|
List<GoogleMapsPlacesV1RoutingSummary> |
getRoutingSummaries()
A list of routing summaries where each entry associates to the corresponding place in the same
index in the `places` field.
|
String |
getSearchUri()
A link allows the user to search with the same text query as specified in the request on Google
Maps.
|
GoogleMapsPlacesV1SearchTextResponse |
set(String fieldName,
Object value) |
GoogleMapsPlacesV1SearchTextResponse |
setContextualContents(List<GoogleMapsPlacesV1ContextualContent> contextualContents)
Experimental: See https://developers.google.com/maps/documentation/places/web-
service/experimental/places-generative for more details.
|
GoogleMapsPlacesV1SearchTextResponse |
setNextPageToken(String nextPageToken)
A token that can be sent as `page_token` to retrieve the next page.
|
GoogleMapsPlacesV1SearchTextResponse |
setPlaces(List<GoogleMapsPlacesV1Place> places)
A list of places that meet the user's text search criteria.
|
GoogleMapsPlacesV1SearchTextResponse |
setRoutingSummaries(List<GoogleMapsPlacesV1RoutingSummary> routingSummaries)
A list of routing summaries where each entry associates to the corresponding place in the same
index in the `places` field.
|
GoogleMapsPlacesV1SearchTextResponse |
setSearchUri(String searchUri)
A link allows the user to search with the same text query as specified in the request on Google
Maps.
|
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 GoogleMapsPlacesV1SearchTextResponse()
public List<GoogleMapsPlacesV1ContextualContent> getContextualContents()
null for nonepublic GoogleMapsPlacesV1SearchTextResponse setContextualContents(List<GoogleMapsPlacesV1ContextualContent> contextualContents)
contextualContents - contextualContents or null for nonepublic String getNextPageToken()
null for nonepublic GoogleMapsPlacesV1SearchTextResponse setNextPageToken(String nextPageToken)
nextPageToken - nextPageToken or null for nonepublic List<GoogleMapsPlacesV1Place> getPlaces()
null for nonepublic GoogleMapsPlacesV1SearchTextResponse setPlaces(List<GoogleMapsPlacesV1Place> places)
places - places or null for nonepublic List<GoogleMapsPlacesV1RoutingSummary> getRoutingSummaries()
null for nonepublic GoogleMapsPlacesV1SearchTextResponse setRoutingSummaries(List<GoogleMapsPlacesV1RoutingSummary> routingSummaries)
routingSummaries - routingSummaries or null for nonepublic String getSearchUri()
null for nonepublic GoogleMapsPlacesV1SearchTextResponse setSearchUri(String searchUri)
searchUri - searchUri or null for nonepublic GoogleMapsPlacesV1SearchTextResponse set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleMapsPlacesV1SearchTextResponse clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.