public final class Job extends GenericJson
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
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Job() |
Modifier and Type | Method and Description |
---|---|
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.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public JobConfiguration getConfiguration()
null
for nonepublic Job setConfiguration(JobConfiguration configuration)
configuration
- configuration or null
for nonepublic String getEtag()
null
for nonepublic Job setEtag(String etag)
etag
- etag or null
for nonepublic String getId()
null
for nonepublic Job setId(String id)
id
- id or null
for nonepublic JobReference getJobReference()
null
for nonepublic Job setJobReference(JobReference jobReference)
jobReference
- jobReference or null
for nonepublic String getKind()
null
for nonepublic Job setKind(String kind)
kind
- kind or null
for nonepublic String getSelfLink()
null
for nonepublic Job setSelfLink(String selfLink)
selfLink
- selfLink or null
for nonepublic JobStatistics getStatistics()
null
for nonepublic Job setStatistics(JobStatistics statistics)
statistics
- statistics or null
for nonepublic JobStatus getStatus()
null
for nonepublic Job setStatus(JobStatus status)
status
- status or null
for nonepublic Job set(String fieldName, Object value)
set
in class GenericJson
public Job clone()
clone
in class GenericJson