public final class FindMatchingLocationsRequest
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 |
---|
FindMatchingLocationsRequest() |
Modifier and Type | Method and Description |
---|---|
FindMatchingLocationsRequest |
clone() |
java.lang.String |
getLanguageCode()
The preferred language for the matching location (in BCP-47 format).
|
java.lang.String |
getMaxCacheDuration()
Indicates the duration of acceptable cache-age.
|
java.lang.Integer |
getNumResults()
The number of matches to return.
|
FindMatchingLocationsRequest |
set(java.lang.String fieldName,
java.lang.Object value) |
FindMatchingLocationsRequest |
setLanguageCode(java.lang.String languageCode)
The preferred language for the matching location (in BCP-47 format).
|
FindMatchingLocationsRequest |
setMaxCacheDuration(java.lang.String maxCacheDuration)
Indicates the duration of acceptable cache-age.
|
FindMatchingLocationsRequest |
setNumResults(java.lang.Integer numResults)
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 java.lang.String getLanguageCode()
null
for nonepublic FindMatchingLocationsRequest setLanguageCode(java.lang.String languageCode)
languageCode
- languageCode or null
for nonepublic java.lang.String getMaxCacheDuration()
null
for nonepublic FindMatchingLocationsRequest setMaxCacheDuration(java.lang.String maxCacheDuration)
maxCacheDuration
- maxCacheDuration or null
for nonepublic java.lang.Integer getNumResults()
null
for nonepublic FindMatchingLocationsRequest setNumResults(java.lang.Integer numResults)
numResults
- numResults or null
for nonepublic FindMatchingLocationsRequest set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public FindMatchingLocationsRequest clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011-2018 Google. All Rights Reserved.