BigQuery API v2 (revision 77)



com.google.api.services.bigquery.model
Class JobList.Jobs

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.JobList.Jobs
All Implemented Interfaces:
Cloneable, Map<String,Object>
Enclosing class:
JobList

public static final class JobList.Jobs
extends GenericJson

Model definition for JobListJobs.


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
JobList.Jobs()
           
 
Method Summary
 JobList.Jobs clone()
           
 JobConfiguration getConfiguration()
          [Full-projection-only] Specifies the job configuration.
 ErrorProto getErrorResult()
          A result object that will be present only if the job has failed.
 String getId()
          Unique opaque ID of the job.
 JobReference getJobReference()
          Job reference uniquely identifying the job.
 String getKind()
          The resource type.
 String getState()
          Running state of the job.
 JobStatistics getStatistics()
          [Output-only] Information about the job, including starting time and ending time of the job.
 JobStatus getStatus()
          [Full-projection-only] Describes the state of the job.
 JobList.Jobs set(String fieldName, Object value)
           
 JobList.Jobs setConfiguration(JobConfiguration configuration)
          [Full-projection-only] Specifies the job configuration.
 JobList.Jobs setErrorResult(ErrorProto errorResult)
          A result object that will be present only if the job has failed.
 JobList.Jobs setId(String id)
          Unique opaque ID of the job.
 JobList.Jobs setJobReference(JobReference jobReference)
          Job reference uniquely identifying the job.
 JobList.Jobs setKind(String kind)
          The resource type.
 JobList.Jobs setState(String state)
          Running state of the job.
 JobList.Jobs setStatistics(JobStatistics statistics)
          [Output-only] Information about the job, including starting time and ending time of the job.
 JobList.Jobs setStatus(JobStatus status)
          [Full-projection-only] Describes the state of 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

JobList.Jobs

public JobList.Jobs()
Method Detail

getConfiguration

public JobConfiguration getConfiguration()
[Full-projection-only] Specifies the job configuration.

Returns:
value or null for none

setConfiguration

public JobList.Jobs setConfiguration(JobConfiguration configuration)
[Full-projection-only] Specifies the job configuration.

Parameters:
configuration - configuration or null for none

getErrorResult

public ErrorProto getErrorResult()
A result object that will be present only if the job has failed.

Returns:
value or null for none

setErrorResult

public JobList.Jobs setErrorResult(ErrorProto errorResult)
A result object that will be present only if the job has failed.

Parameters:
errorResult - errorResult or null for none

getId

public String getId()
Unique opaque ID of the job.

Returns:
value or null for none

setId

public JobList.Jobs setId(String id)
Unique opaque ID of the job.

Parameters:
id - id or null for none

getJobReference

public JobReference getJobReference()
Job reference uniquely identifying the job.

Returns:
value or null for none

setJobReference

public JobList.Jobs setJobReference(JobReference jobReference)
Job reference uniquely identifying the job.

Parameters:
jobReference - jobReference or null for none

getKind

public String getKind()
The resource type.

Returns:
value or null for none

setKind

public JobList.Jobs setKind(String kind)
The resource type.

Parameters:
kind - kind or null for none

getState

public String getState()
Running state of the job. When the state is DONE, errorResult can be checked to determine whether the job succeeded or failed.

Returns:
value or null for none

setState

public JobList.Jobs setState(String state)
Running state of the job. When the state is DONE, errorResult can be checked to determine whether the job succeeded or failed.

Parameters:
state - state 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 JobList.Jobs 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()
[Full-projection-only] Describes the state of the job.

Returns:
value or null for none

setStatus

public JobList.Jobs setStatus(JobStatus status)
[Full-projection-only] Describes the state of the job.

Parameters:
status - status or null for none

set

public JobList.Jobs set(String fieldName,
                        Object value)
Overrides:
set in class GenericJson

clone

public JobList.Jobs clone()
Overrides:
clone in class GenericJson