BigQuery API v2 (revision 77)



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

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

public final class JobReference
extends GenericJson

Model definition for JobReference.

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

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
JobReference()
           
 
Method Summary
 JobReference clone()
           
 String getJobId()
          [Required] ID of the job.
 String getProjectId()
          [Required] Project ID being billed for the job.
 JobReference set(String fieldName, Object value)
           
 JobReference setJobId(String jobId)
          [Required] ID of the job.
 JobReference setProjectId(String projectId)
          [Required] Project ID being billed for the job.
 
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

JobReference

public JobReference()
Method Detail

getJobId

public String getJobId()
[Required] ID of the job.

Returns:
value or null for none

setJobId

public JobReference setJobId(String jobId)
[Required] ID of the job.

Parameters:
jobId - jobId or null for none

getProjectId

public String getProjectId()
[Required] Project ID being billed for the job.

Returns:
value or null for none

setProjectId

public JobReference setProjectId(String projectId)
[Required] Project ID being billed for the job.

Parameters:
projectId - projectId or null for none

set

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

clone

public JobReference clone()
Overrides:
clone in class GenericJson