public abstract static class JobControllerGrpc.JobControllerImplBase
extends java.lang.Object
implements io.grpc.BindableService
The JobController provides methods to manage jobs.
Constructor and Description |
---|
JobControllerImplBase() |
Modifier and Type | Method and Description |
---|---|
io.grpc.ServerServiceDefinition |
bindService() |
void |
cancelJob(CancelJobRequest request,
io.grpc.stub.StreamObserver<Job> responseObserver)
Starts a job cancellation request.
|
void |
deleteJob(DeleteJobRequest request,
io.grpc.stub.StreamObserver<Empty> responseObserver)
Deletes the job from the project.
|
void |
getJob(GetJobRequest request,
io.grpc.stub.StreamObserver<Job> responseObserver)
Gets the resource representation for a job in a project.
|
void |
listJobs(ListJobsRequest request,
io.grpc.stub.StreamObserver<ListJobsResponse> responseObserver)
Lists regions/{region}/jobs in a project.
|
void |
submitJob(SubmitJobRequest request,
io.grpc.stub.StreamObserver<Job> responseObserver)
Submits a job to a cluster.
|
void |
updateJob(UpdateJobRequest request,
io.grpc.stub.StreamObserver<Job> responseObserver)
Updates a job in a project.
|
public void submitJob(SubmitJobRequest request, io.grpc.stub.StreamObserver<Job> responseObserver)
Submits a job to a cluster.
public void getJob(GetJobRequest request, io.grpc.stub.StreamObserver<Job> responseObserver)
Gets the resource representation for a job in a project.
public void listJobs(ListJobsRequest request, io.grpc.stub.StreamObserver<ListJobsResponse> responseObserver)
Lists regions/{region}/jobs in a project.
public void updateJob(UpdateJobRequest request, io.grpc.stub.StreamObserver<Job> responseObserver)
Updates a job in a project.
public void cancelJob(CancelJobRequest request, io.grpc.stub.StreamObserver<Job> responseObserver)
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 void deleteJob(DeleteJobRequest request, io.grpc.stub.StreamObserver<Empty> responseObserver)
Deletes the job from the project. If the job is active, the delete fails, and the response returns `FAILED_PRECONDITION`.
public final io.grpc.ServerServiceDefinition bindService()
bindService
in interface io.grpc.BindableService