public final class QueryParameterType
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 BigQuery API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
Modifier and Type | Class and Description |
---|---|
static class |
QueryParameterType.StructTypes
Model definition for QueryParameterTypeStructTypes.
|
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
QueryParameterType() |
Modifier and Type | Method and Description |
---|---|
QueryParameterType |
clone() |
QueryParameterType |
getArrayType()
[Optional] The type of the array's elements, if this is an array.
|
java.util.List<QueryParameterType.StructTypes> |
getStructTypes()
[Optional] The types of the fields of this struct, in order, if this is a struct.
|
java.lang.String |
getType()
[Required] The top level type of this field.
|
QueryParameterType |
set(java.lang.String fieldName,
java.lang.Object value) |
QueryParameterType |
setArrayType(QueryParameterType arrayType)
[Optional] The type of the array's elements, if this is an array.
|
QueryParameterType |
setStructTypes(java.util.List<QueryParameterType.StructTypes> structTypes)
[Optional] The types of the fields of this struct, in order, if this is a struct.
|
QueryParameterType |
setType(java.lang.String type)
[Required] The top level type of this field.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public QueryParameterType getArrayType()
null
for nonepublic QueryParameterType setArrayType(QueryParameterType arrayType)
arrayType
- arrayType or null
for nonepublic java.util.List<QueryParameterType.StructTypes> getStructTypes()
null
for nonepublic QueryParameterType setStructTypes(java.util.List<QueryParameterType.StructTypes> structTypes)
structTypes
- structTypes or null
for nonepublic java.lang.String getType()
null
for nonepublic QueryParameterType setType(java.lang.String type)
type
- type or null
for nonepublic QueryParameterType set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public QueryParameterType clone()
clone
in class com.google.api.client.json.GenericJson