public static final class JobControllerGrpc.JobControllerBlockingStub extends io.grpc.stub.AbstractStub<JobControllerGrpc.JobControllerBlockingStub>
The JobController provides methods to manage jobs.
Modifier and Type | Method and Description |
---|---|
protected JobControllerGrpc.JobControllerBlockingStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
Job |
cancelJob(CancelJobRequest request)
Starts a job cancellation request.
|
Empty |
deleteJob(DeleteJobRequest request)
Deletes the job from the project.
|
Job |
getJob(GetJobRequest request)
Gets the resource representation for a job in a project.
|
ListJobsResponse |
listJobs(ListJobsRequest request)
Lists regions/{region}/jobs in a project.
|
Job |
submitJob(SubmitJobRequest request)
Submits a job to a cluster.
|
Job |
updateJob(UpdateJobRequest request)
Updates a job in a project.
|
protected JobControllerGrpc.JobControllerBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<JobControllerGrpc.JobControllerBlockingStub>
public Job submitJob(SubmitJobRequest request)
Submits a job to a cluster.
public Job getJob(GetJobRequest request)
Gets the resource representation for a job in a project.
public ListJobsResponse listJobs(ListJobsRequest request)
Lists regions/{region}/jobs in a project.
public Job updateJob(UpdateJobRequest request)
Updates a job in a project.
public Job cancelJob(CancelJobRequest request)
Starts a job cancellation request. To access the job resource after cancellation, call [regions/{region}/jobs.list](/dataproc/docs/reference/rest/v1/projects.regions.jobs/list) or [regions/{region}/jobs.get](/dataproc/docs/reference/rest/v1/projects.regions.jobs/get).
public Empty deleteJob(DeleteJobRequest request)
Deletes the job from the project. If the job is active, the delete fails, and the response returns `FAILED_PRECONDITION`.