public final class GoogleMapsPlacesV1SearchNearbyRequest
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 |
|---|
GoogleMapsPlacesV1SearchNearbyRequest() |
| Modifier and Type | Method and Description |
|---|---|
GoogleMapsPlacesV1SearchNearbyRequest |
clone() |
List<String> |
getExcludedPrimaryTypes()
Excluded primary Place type (e.g.
|
List<String> |
getExcludedTypes()
Excluded Place type (eg, "restaurant" or "gas_station") from
https://developers.google.com/maps/documentation/places/web-service/place-types.
|
List<String> |
getIncludedPrimaryTypes()
Included primary Place type (e.g.
|
List<String> |
getIncludedTypes()
Included Place type (eg, "restaurant" or "gas_station") from
https://developers.google.com/maps/documentation/places/web-service/place-types.
|
Boolean |
getIncludeFutureOpeningBusinesses()
Optional.
|
String |
getLanguageCode()
Place details will be displayed with the preferred language if available.
|
GoogleMapsPlacesV1SearchNearbyRequestLocationRestriction |
getLocationRestriction()
Required.
|
Integer |
getMaxResultCount()
Maximum number of results to return.
|
String |
getRankPreference()
How results will be ranked in the response.
|
String |
getRegionCode()
The Unicode country/region code (CLDR) of the location where the request is coming from.
|
GoogleMapsPlacesV1RoutingParameters |
getRoutingParameters()
Optional.
|
GoogleMapsPlacesV1SearchNearbyRequest |
set(String fieldName,
Object value) |
GoogleMapsPlacesV1SearchNearbyRequest |
setExcludedPrimaryTypes(List<String> excludedPrimaryTypes)
Excluded primary Place type (e.g.
|
GoogleMapsPlacesV1SearchNearbyRequest |
setExcludedTypes(List<String> excludedTypes)
Excluded Place type (eg, "restaurant" or "gas_station") from
https://developers.google.com/maps/documentation/places/web-service/place-types.
|
GoogleMapsPlacesV1SearchNearbyRequest |
setIncludedPrimaryTypes(List<String> includedPrimaryTypes)
Included primary Place type (e.g.
|
GoogleMapsPlacesV1SearchNearbyRequest |
setIncludedTypes(List<String> includedTypes)
Included Place type (eg, "restaurant" or "gas_station") from
https://developers.google.com/maps/documentation/places/web-service/place-types.
|
GoogleMapsPlacesV1SearchNearbyRequest |
setIncludeFutureOpeningBusinesses(Boolean includeFutureOpeningBusinesses)
Optional.
|
GoogleMapsPlacesV1SearchNearbyRequest |
setLanguageCode(String languageCode)
Place details will be displayed with the preferred language if available.
|
GoogleMapsPlacesV1SearchNearbyRequest |
setLocationRestriction(GoogleMapsPlacesV1SearchNearbyRequestLocationRestriction locationRestriction)
Required.
|
GoogleMapsPlacesV1SearchNearbyRequest |
setMaxResultCount(Integer maxResultCount)
Maximum number of results to return.
|
GoogleMapsPlacesV1SearchNearbyRequest |
setRankPreference(String rankPreference)
How results will be ranked in the response.
|
GoogleMapsPlacesV1SearchNearbyRequest |
setRegionCode(String regionCode)
The Unicode country/region code (CLDR) of the location where the request is coming from.
|
GoogleMapsPlacesV1SearchNearbyRequest |
setRoutingParameters(GoogleMapsPlacesV1RoutingParameters routingParameters)
Optional.
|
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 GoogleMapsPlacesV1SearchNearbyRequest()
public List<String> getExcludedPrimaryTypes()
null for nonepublic GoogleMapsPlacesV1SearchNearbyRequest setExcludedPrimaryTypes(List<String> excludedPrimaryTypes)
excludedPrimaryTypes - excludedPrimaryTypes or null for nonepublic List<String> getExcludedTypes()
null for nonepublic GoogleMapsPlacesV1SearchNearbyRequest setExcludedTypes(List<String> excludedTypes)
excludedTypes - excludedTypes or null for nonepublic Boolean getIncludeFutureOpeningBusinesses()
null for nonepublic GoogleMapsPlacesV1SearchNearbyRequest setIncludeFutureOpeningBusinesses(Boolean includeFutureOpeningBusinesses)
includeFutureOpeningBusinesses - includeFutureOpeningBusinesses or null for nonepublic List<String> getIncludedPrimaryTypes()
null for nonepublic GoogleMapsPlacesV1SearchNearbyRequest setIncludedPrimaryTypes(List<String> includedPrimaryTypes)
includedPrimaryTypes - includedPrimaryTypes or null for nonepublic List<String> getIncludedTypes()
null for nonepublic GoogleMapsPlacesV1SearchNearbyRequest setIncludedTypes(List<String> includedTypes)
includedTypes - includedTypes or null for nonepublic String getLanguageCode()
null for nonepublic GoogleMapsPlacesV1SearchNearbyRequest setLanguageCode(String languageCode)
languageCode - languageCode or null for nonepublic GoogleMapsPlacesV1SearchNearbyRequestLocationRestriction getLocationRestriction()
null for nonepublic GoogleMapsPlacesV1SearchNearbyRequest setLocationRestriction(GoogleMapsPlacesV1SearchNearbyRequestLocationRestriction locationRestriction)
locationRestriction - locationRestriction or null for nonepublic Integer getMaxResultCount()
null for nonepublic GoogleMapsPlacesV1SearchNearbyRequest setMaxResultCount(Integer maxResultCount)
maxResultCount - maxResultCount or null for nonepublic String getRankPreference()
null for nonepublic GoogleMapsPlacesV1SearchNearbyRequest setRankPreference(String rankPreference)
rankPreference - rankPreference or null for nonepublic String getRegionCode()
null for nonepublic GoogleMapsPlacesV1SearchNearbyRequest setRegionCode(String regionCode)
regionCode - regionCode or null for nonepublic GoogleMapsPlacesV1RoutingParameters getRoutingParameters()
null for nonepublic GoogleMapsPlacesV1SearchNearbyRequest setRoutingParameters(GoogleMapsPlacesV1RoutingParameters routingParameters)
routingParameters - routingParameters or null for nonepublic GoogleMapsPlacesV1SearchNearbyRequest set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleMapsPlacesV1SearchNearbyRequest clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.