public class DataflowTemplateJob extends DataflowPipelineJob
DataflowPipelineJob
that is returned when --templateRunner
is set.PipelineResult.State
jobId, STATUS_BACKOFF_FACTORY, transformStepNames
Constructor and Description |
---|
DataflowTemplateJob() |
Modifier and Type | Method and Description |
---|---|
PipelineResult.State |
cancel()
Cancels the pipeline execution.
|
java.lang.String |
getJobId()
Get the id of this job.
|
java.lang.String |
getProjectId()
Get the project this job exists in.
|
DataflowPipelineJob |
getReplacedByJob()
Returns a new
DataflowPipelineJob for the job that replaced this one, if applicable. |
PipelineResult.State |
getState()
Retrieves the current state of the pipeline execution.
|
getDataflowOptions, getPipelineProto, getRegion, metrics, waitUntilFinish, waitUntilFinish, waitUntilFinish
public java.lang.String getJobId()
DataflowPipelineJob
getJobId
in class DataflowPipelineJob
public java.lang.String getProjectId()
DataflowPipelineJob
getProjectId
in class DataflowPipelineJob
public DataflowPipelineJob getReplacedByJob()
DataflowPipelineJob
DataflowPipelineJob
for the job that replaced this one, if applicable.getReplacedByJob
in class DataflowPipelineJob
public PipelineResult.State cancel()
PipelineResult
cancel
in interface PipelineResult
cancel
in class DataflowPipelineJob
public PipelineResult.State getState()
PipelineResult
getState
in interface PipelineResult
getState
in class DataflowPipelineJob
PipelineResult.State
representing the state of this pipeline.