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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
TableFieldSchema() |
Modifier and Type | Method and Description |
---|---|
TableFieldSchema |
clone() |
String |
getDescription()
[Optional] The field 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 |
set(String fieldName,
Object value) |
TableFieldSchema |
setDescription(String description)
[Optional] The field description.
|
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.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getDescription()
null
for nonepublic TableFieldSchema setDescription(String description)
description
- description or null
for nonepublic List<TableFieldSchema> getFields()
null
for nonepublic TableFieldSchema setFields(List<TableFieldSchema> fields)
fields
- fields or null
for nonepublic String getMode()
null
for nonepublic TableFieldSchema setMode(String mode)
mode
- mode or null
for nonepublic String getName()
null
for nonepublic TableFieldSchema setName(String name)
name
- name or null
for nonepublic String getType()
null
for nonepublic TableFieldSchema setType(String type)
type
- type or null
for nonepublic TableFieldSchema set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public TableFieldSchema clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2018 Google. All rights reserved.