public final class Job
extends com.google.api.client.json.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
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
Job() |
Modifier and Type | Method and Description |
---|---|
Job |
clone() |
java.lang.String |
getClientRequestId()
The client's unique identifier of the job, re-used across retried attempts.
|
java.lang.String |
getCreateTime()
The timestamp when the job was initially created.
|
java.lang.String |
getCurrentState()
The current state of the job.
|
java.lang.String |
getCurrentStateTime()
The timestamp associated with the current state.
|
Environment |
getEnvironment()
The environment for the job.
|
JobExecutionInfo |
getExecutionInfo()
Deprecated.
|
java.lang.String |
getId()
The unique ID of this job.
|
java.util.Map<java.lang.String,java.lang.String> |
getLabels()
User-defined labels for this job.
|
java.lang.String |
getLocation()
The location that contains this job.
|
java.lang.String |
getName()
The user-specified Cloud Dataflow job name.
|
PipelineDescription |
getPipelineDescription()
Preliminary field: The format of this data may change at any time.
|
java.lang.String |
getProjectId()
The ID of the Cloud Platform project that the job belongs to.
|
java.lang.String |
getReplacedByJobId()
If another job is an update of this job (and thus, this job is in `JOB_STATE_UPDATED`), this
field contains the ID of that job.
|
java.lang.String |
getReplaceJobId()
If this job is an update of an existing job, this field is the job ID of the job it replaced.
|
java.lang.String |
getRequestedState()
The job's requested state.
|
java.util.List<Step> |
getSteps()
The top-level steps that constitute the entire job.
|
java.util.List<java.lang.String> |
getTempFiles()
A set of files the system should be aware of that are used for temporary storage.
|
java.util.Map<java.lang.String,java.lang.String> |
getTransformNameMapping()
The map of transform name prefixes of the job to be replaced to the corresponding name prefixes
of the new job.
|
java.lang.String |
getType()
The type of Cloud Dataflow job.
|
Job |
set(java.lang.String fieldName,
java.lang.Object value) |
Job |
setClientRequestId(java.lang.String clientRequestId)
The client's unique identifier of the job, re-used across retried attempts.
|
Job |
setCreateTime(java.lang.String createTime)
The timestamp when the job was initially created.
|
Job |
setCurrentState(java.lang.String currentState)
The current state of the job.
|
Job |
setCurrentStateTime(java.lang.String currentStateTime)
The timestamp associated with the current state.
|
Job |
setEnvironment(Environment environment)
The environment for the job.
|
Job |
setExecutionInfo(JobExecutionInfo executionInfo)
Deprecated.
|
Job |
setId(java.lang.String id)
The unique ID of this job.
|
Job |
setLabels(java.util.Map<java.lang.String,java.lang.String> labels)
User-defined labels for this job.
|
Job |
setLocation(java.lang.String location)
The location that contains this job.
|
Job |
setName(java.lang.String name)
The user-specified Cloud Dataflow job name.
|
Job |
setPipelineDescription(PipelineDescription pipelineDescription)
Preliminary field: The format of this data may change at any time.
|
Job |
setProjectId(java.lang.String projectId)
The ID of the Cloud Platform project that the job belongs to.
|
Job |
setReplacedByJobId(java.lang.String replacedByJobId)
If another job is an update of this job (and thus, this job is in `JOB_STATE_UPDATED`), this
field contains the ID of that job.
|
Job |
setReplaceJobId(java.lang.String replaceJobId)
If this job is an update of an existing job, this field is the job ID of the job it replaced.
|
Job |
setRequestedState(java.lang.String requestedState)
The job's requested state.
|
Job |
setSteps(java.util.List<Step> steps)
The top-level steps that constitute the entire job.
|
Job |
setTempFiles(java.util.List<java.lang.String> tempFiles)
A set of files the system should be aware of that are used for temporary storage.
|
Job |
setTransformNameMapping(java.util.Map<java.lang.String,java.lang.String> transformNameMapping)
The map of transform name prefixes of the job to be replaced to the corresponding name prefixes
of the new job.
|
Job |
setType(java.lang.String type)
The type of Cloud Dataflow job.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.String getClientRequestId()
null
for nonepublic Job setClientRequestId(java.lang.String clientRequestId)
clientRequestId
- clientRequestId or null
for nonepublic java.lang.String getCreateTime()
null
for nonepublic Job setCreateTime(java.lang.String createTime)
createTime
- createTime or null
for nonepublic java.lang.String getCurrentState()
null
for nonepublic Job setCurrentState(java.lang.String currentState)
currentState
- currentState or null
for nonepublic java.lang.String getCurrentStateTime()
null
for nonepublic Job setCurrentStateTime(java.lang.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 java.lang.String getId()
null
for nonepublic Job setId(java.lang.String id)
id
- id or null
for nonepublic java.util.Map<java.lang.String,java.lang.String> getLabels()
null
for nonepublic Job setLabels(java.util.Map<java.lang.String,java.lang.String> labels)
labels
- labels or null
for nonepublic java.lang.String getLocation()
null
for nonepublic Job setLocation(java.lang.String location)
location
- location or null
for nonepublic java.lang.String getName()
null
for nonepublic Job setName(java.lang.String name)
name
- name or null
for nonepublic PipelineDescription getPipelineDescription()
null
for nonepublic Job setPipelineDescription(PipelineDescription pipelineDescription)
pipelineDescription
- pipelineDescription or null
for nonepublic java.lang.String getProjectId()
null
for nonepublic Job setProjectId(java.lang.String projectId)
projectId
- projectId or null
for nonepublic java.lang.String getReplaceJobId()
null
for nonepublic Job setReplaceJobId(java.lang.String replaceJobId)
replaceJobId
- replaceJobId or null
for nonepublic java.lang.String getReplacedByJobId()
null
for nonepublic Job setReplacedByJobId(java.lang.String replacedByJobId)
replacedByJobId
- replacedByJobId or null
for nonepublic java.lang.String getRequestedState()
null
for nonepublic Job setRequestedState(java.lang.String requestedState)
requestedState
- requestedState or null
for nonepublic java.util.List<Step> getSteps()
null
for nonepublic Job setSteps(java.util.List<Step> steps)
steps
- steps or null
for nonepublic java.util.List<java.lang.String> getTempFiles()
null
for nonepublic Job setTempFiles(java.util.List<java.lang.String> tempFiles)
tempFiles
- tempFiles or null
for nonepublic java.util.Map<java.lang.String,java.lang.String> getTransformNameMapping()
null
for nonepublic Job setTransformNameMapping(java.util.Map<java.lang.String,java.lang.String> transformNameMapping)
transformNameMapping
- transformNameMapping or null
for nonepublic java.lang.String getType()
null
for nonepublic Job setType(java.lang.String type)
type
- type or null
for nonepublic Job set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Job clone()
clone
in class com.google.api.client.json.GenericJson