public final class UpdateSchemaRequest
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 |
---|
UpdateSchemaRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateSchemaRequest |
clone() |
DebugOptions |
getDebugOptions()
Common debug options.
|
Schema |
getSchema()
The new schema for the source.
|
java.lang.Boolean |
getValidateOnly()
If true, the schema will be checked for validity, but will not be registered with the data
source, even if valid.
|
UpdateSchemaRequest |
set(java.lang.String fieldName,
java.lang.Object value) |
UpdateSchemaRequest |
setDebugOptions(DebugOptions debugOptions)
Common debug options.
|
UpdateSchemaRequest |
setSchema(Schema schema)
The new schema for the source.
|
UpdateSchemaRequest |
setValidateOnly(java.lang.Boolean validateOnly)
If true, the schema will be checked for validity, but will not be registered with the data
source, even if valid.
|
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 UpdateSchemaRequest setDebugOptions(DebugOptions debugOptions)
debugOptions
- debugOptions or null
for nonepublic Schema getSchema()
null
for nonepublic UpdateSchemaRequest setSchema(Schema schema)
schema
- schema or null
for nonepublic java.lang.Boolean getValidateOnly()
null
for nonepublic UpdateSchemaRequest setValidateOnly(java.lang.Boolean validateOnly)
validateOnly
- validateOnly or null
for nonepublic UpdateSchemaRequest set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public UpdateSchemaRequest clone()
clone
in class com.google.api.client.json.GenericJson