public final class SearchGoogleLocationsRequest
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 Google My Business API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
SearchGoogleLocationsRequest() |
Modifier and Type | Method and Description |
---|---|
SearchGoogleLocationsRequest |
clone() |
Location |
getLocation()
Location to search for.
|
java.lang.String |
getQuery()
Text query to search for.
|
java.lang.Integer |
getResultCount()
The number of matches to return.
|
SearchGoogleLocationsRequest |
set(java.lang.String fieldName,
java.lang.Object value) |
SearchGoogleLocationsRequest |
setLocation(Location location)
Location to search for.
|
SearchGoogleLocationsRequest |
setQuery(java.lang.String query)
Text query to search for.
|
SearchGoogleLocationsRequest |
setResultCount(java.lang.Integer resultCount)
The number of matches to return.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Location getLocation()
null
for nonepublic SearchGoogleLocationsRequest setLocation(Location location)
location
- location or null
for nonepublic java.lang.String getQuery()
null
for nonepublic SearchGoogleLocationsRequest setQuery(java.lang.String query)
query
- query or null
for nonepublic java.lang.Integer getResultCount()
null
for nonepublic SearchGoogleLocationsRequest setResultCount(java.lang.Integer resultCount)
resultCount
- resultCount or null
for nonepublic SearchGoogleLocationsRequest set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public SearchGoogleLocationsRequest clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011-2018 Google. All Rights Reserved.