public final class Table 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 |
---|
Table() |
Modifier and Type | Method and Description |
---|---|
Long |
getCreationTime()
[Output-only] The time when this table was created, in milliseconds since the epoch.
|
String |
getDescription()
[Optional] A user-friendly description of this table.
|
String |
getEtag()
[Output-only] A hash of this resource.
|
Long |
getExpirationTime()
[Optional] The time when this table expires, in milliseconds since the epoch.
|
String |
getFriendlyName()
[Optional] A descriptive name for this table.
|
String |
getId()
[Output-only] An opaque ID uniquely identifying the table.
|
String |
getKind()
[Output-only] The type of the resource.
|
Long |
getLastModifiedTime()
[Output-only] The time when this table was last modified, in milliseconds since the epoch.
|
Long |
getNumBytes()
[Output-only] The size of the table in bytes.
|
com.google.common.primitives.UnsignedLong |
getNumRows()
[Output-only] The number of rows of data in this table.
|
TableSchema |
getSchema()
[Optional] Describes the schema of this table.
|
String |
getSelfLink()
[Output-only] A URL that can be used to access this resource again.
|
TableReference |
getTableReference()
[Required] Reference describing the ID of this table.
|
Table |
setCreationTime(Long creationTime)
[Output-only] The time when this table was created, in milliseconds since the epoch.
|
Table |
setDescription(String description)
[Optional] A user-friendly description of this table.
|
Table |
setEtag(String etag)
[Output-only] A hash of this resource.
|
Table |
setExpirationTime(Long expirationTime)
[Optional] The time when this table expires, in milliseconds since the epoch.
|
Table |
setFriendlyName(String friendlyName)
[Optional] A descriptive name for this table.
|
Table |
setId(String id)
[Output-only] An opaque ID uniquely identifying the table.
|
Table |
setKind(String kind)
[Output-only] The type of the resource.
|
Table |
setLastModifiedTime(Long lastModifiedTime)
[Output-only] The time when this table was last modified, in milliseconds since the epoch.
|
Table |
setNumBytes(Long numBytes)
[Output-only] The size of the table in bytes.
|
Table |
setNumRows(com.google.common.primitives.UnsignedLong numRows)
[Output-only] The number of rows of data in this table.
|
Table |
setSchema(TableSchema schema)
[Optional] Describes the schema of this table.
|
Table |
setSelfLink(String selfLink)
[Output-only] A URL that can be used to access this resource again.
|
Table |
setTableReference(TableReference tableReference)
[Required] Reference describing the ID of this table.
|
clone, getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Long getCreationTime()
null
.public Table setCreationTime(Long creationTime)
null
.public String getDescription()
null
.public Table setDescription(String description)
null
.public String getEtag()
null
.public Table setEtag(String etag)
null
.public Long getExpirationTime()
null
.public Table setExpirationTime(Long expirationTime)
null
.public String getFriendlyName()
null
.public Table setFriendlyName(String friendlyName)
null
.public String getId()
null
.public Table setId(String id)
null
.public String getKind()
null
.public Table setKind(String kind)
null
.public Long getLastModifiedTime()
null
.public Table setLastModifiedTime(Long lastModifiedTime)
null
.public Long getNumBytes()
null
.public Table setNumBytes(Long numBytes)
null
.public com.google.common.primitives.UnsignedLong getNumRows()
null
.public Table setNumRows(com.google.common.primitives.UnsignedLong numRows)
null
.public TableSchema getSchema()
null
.public Table setSchema(TableSchema schema)
null
.public String getSelfLink()
null
.public Table setSelfLink(String selfLink)
null
.public TableReference getTableReference()
null
.public Table setTableReference(TableReference tableReference)
null
.