public final class RequestOptions
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 Cloud Search 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 |
---|
RequestOptions() |
Modifier and Type | Method and Description |
---|---|
RequestOptions |
clone() |
DebugOptions |
getDebugOptions()
Debug options of the request
|
java.lang.String |
getLanguageCode()
The BCP-47 language code, such as "en-US" or "sr-Latn".
|
java.lang.String |
getSearchApplicationId()
Id of the application created using SearchApplicationsService.
|
java.lang.String |
getTimeZone()
Current user's time zone id, such as "America/Los_Angeles" or "Australia/Sydney".
|
RequestOptions |
set(java.lang.String fieldName,
java.lang.Object value) |
RequestOptions |
setDebugOptions(DebugOptions debugOptions)
Debug options of the request
|
RequestOptions |
setLanguageCode(java.lang.String languageCode)
The BCP-47 language code, such as "en-US" or "sr-Latn".
|
RequestOptions |
setSearchApplicationId(java.lang.String searchApplicationId)
Id of the application created using SearchApplicationsService.
|
RequestOptions |
setTimeZone(java.lang.String timeZone)
Current user's time zone id, such as "America/Los_Angeles" or "Australia/Sydney".
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public DebugOptions getDebugOptions()
null
for nonepublic RequestOptions setDebugOptions(DebugOptions debugOptions)
debugOptions
- debugOptions or null
for nonepublic java.lang.String getLanguageCode()
null
for nonepublic RequestOptions setLanguageCode(java.lang.String languageCode)
languageCode
- languageCode or null
for nonepublic java.lang.String getSearchApplicationId()
null
for nonepublic RequestOptions setSearchApplicationId(java.lang.String searchApplicationId)
searchApplicationId
- searchApplicationId or null
for nonepublic java.lang.String getTimeZone()
null
for nonepublic RequestOptions setTimeZone(java.lang.String timeZone)
timeZone
- timeZone or null
for nonepublic RequestOptions set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public RequestOptions clone()
clone
in class com.google.api.client.json.GenericJson