public final class JobStatus 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 |
---|
JobStatus() |
Modifier and Type | Method and Description |
---|---|
JobStatus |
clone() |
ErrorProto |
getErrorResult()
[Output-only] Final error result of the job.
|
List<ErrorProto> |
getErrors()
[Output-only] All errors encountered during the running of the job.
|
String |
getState()
[Output-only] Running state of the job.
|
JobStatus |
set(String fieldName,
Object value) |
JobStatus |
setErrorResult(ErrorProto errorResult)
[Output-only] Final error result of the job.
|
JobStatus |
setErrors(List<ErrorProto> errors)
[Output-only] All errors encountered during the running of the job.
|
JobStatus |
setState(String state)
[Output-only] Running state of the job.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public ErrorProto getErrorResult()
null
for nonepublic JobStatus setErrorResult(ErrorProto errorResult)
errorResult
- errorResult or null
for nonepublic List<ErrorProto> getErrors()
null
for nonepublic JobStatus setErrors(List<ErrorProto> errors)
errors
- errors or null
for nonepublic String getState()
null
for nonepublic JobStatus setState(String state)
state
- state or null
for nonepublic JobStatus set(String fieldName, Object value)
set
in class GenericJson
public JobStatus clone()
clone
in class GenericJson