BigQuery API v2 (revision 76)



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

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

public final class Job
extends GenericJson

Model definition for Job.

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
Job()
           
 
Method Summary
 Job clone()
           
 JobConfiguration getConfiguration()
          [Required] Describes the job configuration.
 String getEtag()
          [Output-only] A hash of this resource.
 String getId()
          [Output-only] Opaque ID field of the job
 JobReference getJobReference()
          [Optional] Reference describing the unique-per-user name of the job.
 String getKind()
          [Output-only] The type of the resource.
 String getSelfLink()
          [Output-only] A URL that can be used to access this resource again.
 JobStatistics getStatistics()
          [Output-only] Information about the job, including starting time and ending time of the job.
 JobStatus getStatus()
          [Output-only] The status of this job.
 Job set(String fieldName, Object value)
           
 Job setConfiguration(JobConfiguration configuration)
          [Required] Describes the job configuration.
 Job setEtag(String etag)
          [Output-only] A hash of this resource.
 Job setId(String id)
          [Output-only] Opaque ID field of the job
 Job setJobReference(JobReference jobReference)
          [Optional] Reference describing the unique-per-user name of the job.
 Job setKind(String kind)
          [Output-only] The type of the resource.
 Job setSelfLink(String selfLink)
          [Output-only] A URL that can be used to access this resource again.
 Job setStatistics(JobStatistics statistics)
          [Output-only] Information about the job, including starting time and ending time of the job.
 Job setStatus(JobStatus status)
          [Output-only] The status of this 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

Job

public Job()
Method Detail

getConfiguration

public JobConfiguration getConfiguration()
[Required] Describes the job configuration.

Returns:
value or null for none

setConfiguration

public Job setConfiguration(JobConfiguration configuration)
[Required] Describes the job configuration.

Parameters:
configuration - configuration or null for none

getEtag

public String getEtag()
[Output-only] A hash of this resource.

Returns:
value or null for none

setEtag

public Job setEtag(String etag)
[Output-only] A hash of this resource.

Parameters:
etag - etag or null for none

getId

public String getId()
[Output-only] Opaque ID field of the job

Returns:
value or null for none

setId

public Job setId(String id)
[Output-only] Opaque ID field of the job

Parameters:
id - id or null for none

getJobReference

public JobReference getJobReference()
[Optional] Reference describing the unique-per-user name of the job.

Returns:
value or null for none

setJobReference

public Job setJobReference(JobReference jobReference)
[Optional] Reference describing the unique-per-user name of the job.

Parameters:
jobReference - jobReference or null for none

getKind

public String getKind()
[Output-only] The type of the resource.

Returns:
value or null for none

setKind

public Job setKind(String kind)
[Output-only] The type of the resource.

Parameters:
kind - kind or null for none

getSelfLink

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

Returns:
value or null for none

setSelfLink

public Job setSelfLink(String selfLink)
[Output-only] A URL that can be used to access this resource again.

Parameters:
selfLink - selfLink or null for none

getStatistics

public JobStatistics getStatistics()
[Output-only] Information about the job, including starting time and ending time of the job.

Returns:
value or null for none

setStatistics

public Job setStatistics(JobStatistics statistics)
[Output-only] Information about the job, including starting time and ending time of the job.

Parameters:
statistics - statistics or null for none

getStatus

public JobStatus getStatus()
[Output-only] The status of this job. Examine this value when polling an asynchronous job to see if the job is complete.

Returns:
value or null for none

setStatus

public Job setStatus(JobStatus status)
[Output-only] The status of this job. Examine this value when polling an asynchronous job to see if the job is complete.

Parameters:
status - status or null for none

set

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

clone

public Job clone()
Overrides:
clone in class GenericJson