public static final class JobControllerGrpc.JobControllerFutureStub extends AbstractFutureStub<JobControllerGrpc.JobControllerFutureStub>
The JobController provides methods to manage jobs.
AbstractStub.StubFactory<T extends AbstractStub<T>>
Modifier and Type | Method and Description |
---|---|
protected JobControllerGrpc.JobControllerFutureStub |
build(Channel channel,
CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<Job> |
cancelJob(CancelJobRequest request)
Starts a job cancellation request.
|
com.google.common.util.concurrent.ListenableFuture<Empty> |
deleteJob(DeleteJobRequest request)
Deletes the job from the project.
|
com.google.common.util.concurrent.ListenableFuture<Job> |
getJob(GetJobRequest request)
Gets the resource representation for a job in a project.
|
com.google.common.util.concurrent.ListenableFuture<ListJobsResponse> |
listJobs(ListJobsRequest request)
Lists regions/{region}/jobs in a project.
|
com.google.common.util.concurrent.ListenableFuture<Job> |
submitJob(SubmitJobRequest request)
Submits a job to a cluster.
|
com.google.common.util.concurrent.ListenableFuture<Operation> |
submitJobAsOperation(SubmitJobRequest request)
Submits job to a cluster.
|
com.google.common.util.concurrent.ListenableFuture<Job> |
updateJob(UpdateJobRequest request)
Updates a job in a project.
|
newStub, newStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
protected JobControllerGrpc.JobControllerFutureStub build(Channel channel, CallOptions callOptions)
build
in class AbstractStub<JobControllerGrpc.JobControllerFutureStub>
public com.google.common.util.concurrent.ListenableFuture<Job> submitJob(SubmitJobRequest request)
Submits a job to a cluster.
public com.google.common.util.concurrent.ListenableFuture<Operation> submitJobAsOperation(SubmitJobRequest request)
Submits job to a cluster.
public com.google.common.util.concurrent.ListenableFuture<Job> getJob(GetJobRequest request)
Gets the resource representation for a job in a project.
public com.google.common.util.concurrent.ListenableFuture<ListJobsResponse> listJobs(ListJobsRequest request)
Lists regions/{region}/jobs in a project.
public com.google.common.util.concurrent.ListenableFuture<Job> updateJob(UpdateJobRequest request)
Updates a job in a project.
public com.google.common.util.concurrent.ListenableFuture<Job> cancelJob(CancelJobRequest request)
Starts a job cancellation request. To access the job resource after cancellation, call [regions/{region}/jobs.list](https://cloud.google.com/dataproc/docs/reference/rest/v1/projects.regions.jobs/list) or [regions/{region}/jobs.get](https://cloud.google.com/dataproc/docs/reference/rest/v1/projects.regions.jobs/get).
public com.google.common.util.concurrent.ListenableFuture<Empty> deleteJob(DeleteJobRequest request)
Deletes the job from the project. If the job is active, the delete fails, and the response returns `FAILED_PRECONDITION`.
Copyright © 2022 Google LLC. All rights reserved.