Package com.google.cloud.batch.v1
Class BatchServiceGrpc.BatchServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<BatchServiceGrpc.BatchServiceFutureStub>
com.google.cloud.batch.v1.BatchServiceGrpc.BatchServiceFutureStub
- Enclosing class:
- BatchServiceGrpc
public static final class BatchServiceGrpc.BatchServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<BatchServiceGrpc.BatchServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service BatchService.
Google Batch Service. The service manages user submitted batch jobs and allocates Google Compute Engine VM instances to run the jobs.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionprotected BatchServiceGrpc.BatchServiceFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<Operation>cancelJob(CancelJobRequest request) Cancel a Job.com.google.common.util.concurrent.ListenableFuture<Job>createJob(CreateJobRequest request) Create a Job.com.google.common.util.concurrent.ListenableFuture<Operation>deleteJob(DeleteJobRequest request) Delete a Job.com.google.common.util.concurrent.ListenableFuture<Job>getJob(GetJobRequest request) Get a Job specified by its resource name.com.google.common.util.concurrent.ListenableFuture<Task>getTask(GetTaskRequest request) Return a single Task.com.google.common.util.concurrent.ListenableFuture<ListJobsResponse>listJobs(ListJobsRequest request) List all Jobs for a project within a region.com.google.common.util.concurrent.ListenableFuture<ListTasksResponse>listTasks(ListTasksRequest request) List Tasks associated with a job.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected BatchServiceGrpc.BatchServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<BatchServiceGrpc.BatchServiceFutureStub>
-
createJob
Create a Job.
-
getJob
Get a Job specified by its resource name.
-
deleteJob
public com.google.common.util.concurrent.ListenableFuture<Operation> deleteJob(DeleteJobRequest request) Delete a Job.
-
cancelJob
public com.google.common.util.concurrent.ListenableFuture<Operation> cancelJob(CancelJobRequest request) Cancel a Job.
-
listJobs
public com.google.common.util.concurrent.ListenableFuture<ListJobsResponse> listJobs(ListJobsRequest request) List all Jobs for a project within a region.
-
getTask
Return a single Task.
-
listTasks
public com.google.common.util.concurrent.ListenableFuture<ListTasksResponse> listTasks(ListTasksRequest request) List Tasks associated with a job.
-