Package com.google.cloud.batch.v1alpha
Class BatchServiceGrpc.BatchServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<BatchServiceGrpc.BatchServiceFutureStub>
com.google.cloud.batch.v1alpha.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<ResourceAllowance>Create a Resource Allowance.com.google.common.util.concurrent.ListenableFuture<Operation>deleteJob(DeleteJobRequest request) Delete a Job.com.google.common.util.concurrent.ListenableFuture<Operation>Delete a ResourceAllowance.com.google.common.util.concurrent.ListenableFuture<Job>getJob(GetJobRequest request) Get a Job specified by its resource name.com.google.common.util.concurrent.ListenableFuture<ResourceAllowance>Get a ResourceAllowance 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<ListResourceAllowancesResponse>List all ResourceAllowances for a project within a region.com.google.common.util.concurrent.ListenableFuture<ListTasksResponse>listTasks(ListTasksRequest request) List Tasks associated with a job.com.google.common.util.concurrent.ListenableFuture<Job>updateJob(UpdateJobRequest request) Update a Job.com.google.common.util.concurrent.ListenableFuture<ResourceAllowance>Update a Resource Allowance.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.
-
updateJob
Update 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.
-
createResourceAllowance
public com.google.common.util.concurrent.ListenableFuture<ResourceAllowance> createResourceAllowance(CreateResourceAllowanceRequest request) Create a Resource Allowance.
-
getResourceAllowance
public com.google.common.util.concurrent.ListenableFuture<ResourceAllowance> getResourceAllowance(GetResourceAllowanceRequest request) Get a ResourceAllowance specified by its resource name.
-
deleteResourceAllowance
public com.google.common.util.concurrent.ListenableFuture<Operation> deleteResourceAllowance(DeleteResourceAllowanceRequest request) Delete a ResourceAllowance.
-
listResourceAllowances
public com.google.common.util.concurrent.ListenableFuture<ListResourceAllowancesResponse> listResourceAllowances(ListResourceAllowancesRequest request) List all ResourceAllowances for a project within a region.
-
updateResourceAllowance
public com.google.common.util.concurrent.ListenableFuture<ResourceAllowance> updateResourceAllowance(UpdateResourceAllowanceRequest request) Update a Resource Allowance.
-