public final class TableFieldSchema
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: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
TableFieldSchema() |
| Modifier and Type | Method and Description |
|---|---|
TableFieldSchema |
clone() |
java.lang.String |
getDescription()
[Optional] The field description.
|
java.util.List<TableFieldSchema> |
getFields()
[Optional] Describes the nested schema fields if the type property is set to RECORD.
|
java.lang.String |
getMode()
[Optional] The field mode.
|
java.lang.String |
getName()
[Required] The field name.
|
java.lang.String |
getType()
[Required] The field data type.
|
TableFieldSchema |
set(java.lang.String fieldName,
java.lang.Object value) |
TableFieldSchema |
setDescription(java.lang.String description)
[Optional] The field description.
|
TableFieldSchema |
setFields(java.util.List<TableFieldSchema> fields)
[Optional] Describes the nested schema fields if the type property is set to RECORD.
|
TableFieldSchema |
setMode(java.lang.String mode)
[Optional] The field mode.
|
TableFieldSchema |
setName(java.lang.String name)
[Required] The field name.
|
TableFieldSchema |
setType(java.lang.String type)
[Required] The field data type.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getDescription()
null for nonepublic TableFieldSchema setDescription(java.lang.String description)
description - description or null for nonepublic java.util.List<TableFieldSchema> getFields()
null for nonepublic TableFieldSchema setFields(java.util.List<TableFieldSchema> fields)
fields - fields or null for nonepublic java.lang.String getMode()
null for nonepublic TableFieldSchema setMode(java.lang.String mode)
mode - mode or null for nonepublic java.lang.String getName()
null for nonepublic TableFieldSchema setName(java.lang.String name)
name - name or null for nonepublic java.lang.String getType()
null for nonepublic TableFieldSchema setType(java.lang.String type)
type - type or null for nonepublic TableFieldSchema set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic TableFieldSchema clone()
clone in class com.google.api.client.json.GenericJson