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 Google Dataflow 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() |
String |
getCreateTime() |
String |
getCurrentState() |
String |
getCurrentStateTime() |
Environment |
getEnvironment() |
JobExecutionInfo |
getExecutionInfo() |
String |
getId() |
String |
getName() |
String |
getProjectId() |
String |
getRequestedState() |
List<Step> |
getSteps() |
String |
getType() |
Job |
set(String fieldName,
Object value) |
Job |
setCreateTime(String createTime) |
Job |
setCurrentState(String currentState) |
Job |
setCurrentStateTime(String currentStateTime) |
Job |
setEnvironment(Environment environment) |
Job |
setExecutionInfo(JobExecutionInfo executionInfo) |
Job |
setId(String id) |
Job |
setName(String name) |
Job |
setProjectId(String projectId) |
Job |
setRequestedState(String requestedState) |
Job |
setSteps(List<Step> steps) |
Job |
setType(String type) |
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getCreateTime()
null
for nonepublic Job setCreateTime(String createTime)
createTime
- createTime or null
for nonepublic String getCurrentState()
null
for nonepublic Job setCurrentState(String currentState)
currentState
- currentState or null
for nonepublic String getCurrentStateTime()
null
for nonepublic Job setCurrentStateTime(String currentStateTime)
currentStateTime
- currentStateTime or null
for nonepublic Environment getEnvironment()
null
for nonepublic Job setEnvironment(Environment environment)
environment
- environment or null
for nonepublic JobExecutionInfo getExecutionInfo()
null
for nonepublic Job setExecutionInfo(JobExecutionInfo executionInfo)
executionInfo
- executionInfo or null
for nonepublic String getId()
null
for nonepublic String getName()
null
for nonepublic String getProjectId()
null
for nonepublic Job setProjectId(String projectId)
projectId
- projectId or null
for nonepublic String getRequestedState()
null
for nonepublic Job setRequestedState(String requestedState)
requestedState
- requestedState or null
for nonepublic String getType()
null
for nonepublic Job set(String fieldName, Object value)
set
in class GenericJson
public Job clone()
clone
in class GenericJson