BigQuery API v2 (revision 81)



com.google.api.services.bigquery.model
Class Table

java.lang.Object
  extended by java.util.AbstractMap<String,Object>
      extended by com.google.api.client.util.GenericData
          extended by com.google.api.client.json.GenericJson
              extended by com.google.api.services.bigquery.model.Table
All Implemented Interfaces:
Cloneable, Map<String,Object>

public final class Table
extends GenericJson

Model definition for Table.

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()

Author:
Google, Inc.

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
Table()
           
 
Method Summary
 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.
 
Methods inherited from class com.google.api.client.json.GenericJson
clone, getFactory, setFactory, toPrettyString, toString
 
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
 
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Table

public Table()
Method Detail

getCreationTime

public Long getCreationTime()
[Output-only] The time when this table was created, in milliseconds since the epoch. The value returned may be null.


setCreationTime

public Table setCreationTime(Long creationTime)
[Output-only] The time when this table was created, in milliseconds since the epoch. The value set may be null.


getDescription

public String getDescription()
[Optional] A user-friendly description of this table. The value returned may be null.


setDescription

public Table setDescription(String description)
[Optional] A user-friendly description of this table. The value set may be null.


getEtag

public String getEtag()
[Output-only] A hash of this resource. The value returned may be null.


setEtag

public Table setEtag(String etag)
[Output-only] A hash of this resource. The value set may be null.


getExpirationTime

public Long getExpirationTime()
[Optional] The time when this table expires, in milliseconds since the epoch. If not present, the table will persist indefinitely. Expired tables will be deleted and their storage reclaimed. The value returned may be null.


setExpirationTime

public Table setExpirationTime(Long expirationTime)
[Optional] The time when this table expires, in milliseconds since the epoch. If not present, the table will persist indefinitely. Expired tables will be deleted and their storage reclaimed. The value set may be null.


getFriendlyName

public String getFriendlyName()
[Optional] A descriptive name for this table. The value returned may be null.


setFriendlyName

public Table setFriendlyName(String friendlyName)
[Optional] A descriptive name for this table. The value set may be null.


getId

public String getId()
[Output-only] An opaque ID uniquely identifying the table. The value returned may be null.


setId

public Table setId(String id)
[Output-only] An opaque ID uniquely identifying the table. The value set may be null.


getKind

public String getKind()
[Output-only] The type of the resource. The value returned may be null.


setKind

public Table setKind(String kind)
[Output-only] The type of the resource. The value set may be null.


getLastModifiedTime

public Long getLastModifiedTime()
[Output-only] The time when this table was last modified, in milliseconds since the epoch. The value returned may be null.


setLastModifiedTime

public Table setLastModifiedTime(Long lastModifiedTime)
[Output-only] The time when this table was last modified, in milliseconds since the epoch. The value set may be null.


getNumBytes

public Long getNumBytes()
[Output-only] The size of the table in bytes. The value returned may be null.


setNumBytes

public Table setNumBytes(Long numBytes)
[Output-only] The size of the table in bytes. The value set may be null.


getNumRows

public com.google.common.primitives.UnsignedLong getNumRows()
[Output-only] The number of rows of data in this table. The value returned may be null.


setNumRows

public Table setNumRows(com.google.common.primitives.UnsignedLong numRows)
[Output-only] The number of rows of data in this table. The value set may be null.


getSchema

public TableSchema getSchema()
[Optional] Describes the schema of this table. The value returned may be null.


setSchema

public Table setSchema(TableSchema schema)
[Optional] Describes the schema of this table. The value set may be null.


getSelfLink

public String getSelfLink()
[Output-only] A URL that can be used to access this resource again. The value returned may be null.


setSelfLink

public Table setSelfLink(String selfLink)
[Output-only] A URL that can be used to access this resource again. The value set may be null.


getTableReference

public TableReference getTableReference()
[Required] Reference describing the ID of this table. The value returned may be null.


setTableReference

public Table setTableReference(TableReference tableReference)
[Required] Reference describing the ID of this table. The value set may be null.