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 Dataflow API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Job() |
| Modifier and Type | Method and Description |
|---|---|
Job |
clone() |
String |
getClientRequestId()
The client's unique identifier of the job, re-used across retried attempts.
|
String |
getCreatedFromSnapshotId()
If this is specified, the job's initial state is populated from the given snapshot.
|
String |
getCreateTime()
The timestamp when the job was initially created.
|
String |
getCurrentState()
The current state of the job.
|
String |
getCurrentStateTime()
The timestamp associated with the current state.
|
Environment |
getEnvironment()
The environment for the job.
|
JobExecutionInfo |
getExecutionInfo()
Deprecated.
|
String |
getId()
The unique ID of this job.
|
JobMetadata |
getJobMetadata()
This field is populated by the Dataflow service to support filtering jobs by the metadata
values provided here.
|
Map<String,String> |
getLabels()
User-defined labels for this job.
|
String |
getLocation()
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
that contains this job.
|
String |
getName()
The user-specified Cloud Dataflow job name.
|
PipelineDescription |
getPipelineDescription()
Preliminary field: The format of this data may change at any time.
|
String |
getProjectId()
The ID of the Cloud Platform project that the job belongs to.
|
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.
|
String |
getReplaceJobId()
If this job is an update of an existing job, this field is the job ID of the job it replaced.
|
String |
getRequestedState()
The job's requested state.
|
Boolean |
getSatisfiesPzs()
Reserved for future use.
|
List<ExecutionStageState> |
getStageStates()
This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
|
String |
getStartTime()
The timestamp when the job was started (transitioned to JOB_STATE_PENDING).
|
List<Step> |
getSteps()
Exactly one of step or steps_location should be specified.
|
String |
getStepsLocation()
The Cloud Storage location where the steps are stored.
|
List<String> |
getTempFiles()
A set of files the system should be aware of that are used for temporary storage.
|
Map<String,String> |
getTransformNameMapping()
The map of transform name prefixes of the job to be replaced to the corresponding name prefixes
of the new job.
|
String |
getType()
The type of Cloud Dataflow job.
|
Job |
set(String fieldName,
Object value) |
Job |
setClientRequestId(String clientRequestId)
The client's unique identifier of the job, re-used across retried attempts.
|
Job |
setCreatedFromSnapshotId(String createdFromSnapshotId)
If this is specified, the job's initial state is populated from the given snapshot.
|
Job |
setCreateTime(String createTime)
The timestamp when the job was initially created.
|
Job |
setCurrentState(String currentState)
The current state of the job.
|
Job |
setCurrentStateTime(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(String id)
The unique ID of this job.
|
Job |
setJobMetadata(JobMetadata jobMetadata)
This field is populated by the Dataflow service to support filtering jobs by the metadata
values provided here.
|
Job |
setLabels(Map<String,String> labels)
User-defined labels for this job.
|
Job |
setLocation(String location)
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
that contains this job.
|
Job |
setName(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(String projectId)
The ID of the Cloud Platform project that the job belongs to.
|
Job |
setReplacedByJobId(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(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(String requestedState)
The job's requested state.
|
Job |
setSatisfiesPzs(Boolean satisfiesPzs)
Reserved for future use.
|
Job |
setStageStates(List<ExecutionStageState> stageStates)
This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
|
Job |
setStartTime(String startTime)
The timestamp when the job was started (transitioned to JOB_STATE_PENDING).
|
Job |
setSteps(List<Step> steps)
Exactly one of step or steps_location should be specified.
|
Job |
setStepsLocation(String stepsLocation)
The Cloud Storage location where the steps are stored.
|
Job |
setTempFiles(List<String> tempFiles)
A set of files the system should be aware of that are used for temporary storage.
|
Job |
setTransformNameMapping(Map<String,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(String type)
The type of Cloud Dataflow job.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getClientRequestId()
null for nonepublic Job setClientRequestId(String clientRequestId)
clientRequestId - clientRequestId or null for nonepublic String getCreateTime()
null for nonepublic Job setCreateTime(String createTime)
createTime - createTime or null for nonepublic String getCreatedFromSnapshotId()
null for nonepublic Job setCreatedFromSnapshotId(String createdFromSnapshotId)
createdFromSnapshotId - createdFromSnapshotId 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 Job setId(String id)
id - id or null for nonepublic JobMetadata getJobMetadata()
null for nonepublic Job setJobMetadata(JobMetadata jobMetadata)
jobMetadata - jobMetadata or null for nonepublic Map<String,String> getLabels()
null for nonepublic Job setLabels(Map<String,String> labels)
labels - labels or null for nonepublic String getLocation()
null for nonepublic Job setLocation(String location)
location - location or null for nonepublic String getName()
null for nonepublic Job setName(String name)
name - name or null for nonepublic PipelineDescription getPipelineDescription()
null for nonepublic Job setPipelineDescription(PipelineDescription pipelineDescription)
pipelineDescription - pipelineDescription or null for nonepublic String getProjectId()
null for nonepublic Job setProjectId(String projectId)
projectId - projectId or null for nonepublic String getReplaceJobId()
null for nonepublic Job setReplaceJobId(String replaceJobId)
replaceJobId - replaceJobId or null for nonepublic String getReplacedByJobId()
null for nonepublic Job setReplacedByJobId(String replacedByJobId)
replacedByJobId - replacedByJobId or null for nonepublic String getRequestedState()
null for nonepublic Job setRequestedState(String requestedState)
requestedState - requestedState or null for nonepublic Boolean getSatisfiesPzs()
null for nonepublic Job setSatisfiesPzs(Boolean satisfiesPzs)
satisfiesPzs - satisfiesPzs or null for nonepublic List<ExecutionStageState> getStageStates()
null for nonepublic Job setStageStates(List<ExecutionStageState> stageStates)
stageStates - stageStates or null for nonepublic String getStartTime()
null for nonepublic Job setStartTime(String startTime)
startTime - startTime or null for nonepublic List<Step> getSteps()
null for nonepublic Job setSteps(List<Step> steps)
steps - steps or null for nonepublic String getStepsLocation()
null for nonepublic Job setStepsLocation(String stepsLocation)
stepsLocation - stepsLocation or null for nonepublic List<String> getTempFiles()
null for nonepublic Job setTempFiles(List<String> tempFiles)
tempFiles - tempFiles or null for nonepublic Map<String,String> getTransformNameMapping()
null for nonepublic Job setTransformNameMapping(Map<String,String> transformNameMapping)
transformNameMapping - transformNameMapping or null for nonepublic String getType()
null for nonepublic Job setType(String type)
type - type or null for nonepublic Job set(String fieldName, Object value)
set in class GenericJsonpublic Job clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.