BigQuery API v2 (revision 87)



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

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.TableReference
All Implemented Interfaces:
Cloneable, Map<String,Object>

public final class TableReference
extends GenericJson

Model definition for TableReference.

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-http-java-client/wiki/JSON

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
TableReference()
           
 
Method Summary
 TableReference clone()
           
 String getDatasetId()
          [Required] ID of the dataset containing the table.
 String getProjectId()
          [Required] ID of the project billed for storage of the table.
 String getTableId()
          [Required] ID of the table.
 TableReference set(String fieldName, Object value)
           
 TableReference setDatasetId(String datasetId)
          [Required] ID of the dataset containing the table.
 TableReference setProjectId(String projectId)
          [Required] ID of the project billed for storage of the table.
 TableReference setTableId(String tableId)
          [Required] ID of the table.
 
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
 
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, 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

TableReference

public TableReference()
Method Detail

getDatasetId

public String getDatasetId()
[Required] ID of the dataset containing the table.

Returns:
value or null for none

setDatasetId

public TableReference setDatasetId(String datasetId)
[Required] ID of the dataset containing the table.

Parameters:
datasetId - datasetId or null for none

getProjectId

public String getProjectId()
[Required] ID of the project billed for storage of the table.

Returns:
value or null for none

setProjectId

public TableReference setProjectId(String projectId)
[Required] ID of the project billed for storage of the table.

Parameters:
projectId - projectId or null for none

getTableId

public String getTableId()
[Required] ID of the table.

Returns:
value or null for none

setTableId

public TableReference setTableId(String tableId)
[Required] ID of the table.

Parameters:
tableId - tableId or null for none

set

public TableReference set(String fieldName,
                          Object value)
Overrides:
set in class GenericJson

clone

public TableReference clone()
Overrides:
clone in class GenericJson