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

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
Job()
           
 
Method Summary
 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 The value returned may be null.
 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 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 The value set may be null.
 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
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

Job

public Job()
Method Detail

getConfiguration

public JobConfiguration getConfiguration()
[Required] Describes the job configuration. The value returned may be null.


setConfiguration

public Job setConfiguration(JobConfiguration configuration)
[Required] Describes the job configuration. 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 Job setEtag(String etag)
[Output-only] A hash of this resource. The value set may be null.


getId

public String getId()
[Output-only] Opaque ID field of the job The value returned may be null.


setId

public Job setId(String id)
[Output-only] Opaque ID field of the job The value set may be null.


getJobReference

public JobReference getJobReference()
[Optional] Reference describing the unique-per-user name of the job. The value returned may be null.


setJobReference

public Job setJobReference(JobReference jobReference)
[Optional] Reference describing the unique-per-user name of the job. 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 Job setKind(String kind)
[Output-only] The type of the resource. 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 Job setSelfLink(String selfLink)
[Output-only] A URL that can be used to access this resource again. The value set may be null.


getStatistics

public JobStatistics getStatistics()
[Output-only] Information about the job, including starting time and ending time of the job. The value returned may be null.


setStatistics

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


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. The value returned may be null.


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. The value set may be null.