public final class TableFieldSchema extends 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-api-java-client/wiki/Json
Upgrade warning: starting with version 1.12 getResponseHeaders()
is removed, instead use
JsonHttpRequest.getLastResponseHeaders()
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
TableFieldSchema() |
Modifier and Type | Method and Description |
---|---|
List<TableFieldSchema> |
getFields()
[Optional] Describes the nested schema fields if the type property is set to RECORD.
|
String |
getMode()
[Optional] The field mode.
|
String |
getName()
[Required] The field name.
|
String |
getType()
[Required] The field data type.
|
TableFieldSchema |
setFields(List<TableFieldSchema> fields)
[Optional] Describes the nested schema fields if the type property is set to RECORD.
|
TableFieldSchema |
setMode(String mode)
[Optional] The field mode.
|
TableFieldSchema |
setName(String name)
[Required] The field name.
|
TableFieldSchema |
setType(String type)
[Required] The field data type.
|
clone, getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public List<TableFieldSchema> getFields()
null
.public TableFieldSchema setFields(List<TableFieldSchema> fields)
null
.public String getMode()
null
.public TableFieldSchema setMode(String mode)
null
.public String getName()
null
.public TableFieldSchema setName(String name)
null
.public String getType()
null
.public TableFieldSchema setType(String type)
null
.