public static final class BatchServiceGrpc.BatchServiceFutureStub extends 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.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractFutureStub >
BatchServiceGrpc.BatchServiceFutureStub
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
build(Channel channel, CallOptions callOptions)
protected BatchServiceGrpc.BatchServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters |
Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createJob(CreateJobRequest request)
public ListenableFuture<Job> createJob(CreateJobRequest request)
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Job> |
|
createResourceAllowance(CreateResourceAllowanceRequest request)
public ListenableFuture<ResourceAllowance> createResourceAllowance(CreateResourceAllowanceRequest request)
Create a Resource Allowance.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<ResourceAllowance> |
|
deleteJob(DeleteJobRequest request)
public ListenableFuture<Operation> deleteJob(DeleteJobRequest request)
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
deleteResourceAllowance(DeleteResourceAllowanceRequest request)
public ListenableFuture<Operation> deleteResourceAllowance(DeleteResourceAllowanceRequest request)
Delete a ResourceAllowance.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
getJob(GetJobRequest request)
public ListenableFuture<Job> getJob(GetJobRequest request)
Get a Job specified by its resource name.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Job> |
|
getResourceAllowance(GetResourceAllowanceRequest request)
public ListenableFuture<ResourceAllowance> getResourceAllowance(GetResourceAllowanceRequest request)
Get a ResourceAllowance specified by its resource name.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<ResourceAllowance> |
|
getTask(GetTaskRequest request)
public ListenableFuture<Task> getTask(GetTaskRequest request)
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Task> |
|
listJobs(ListJobsRequest request)
public ListenableFuture<ListJobsResponse> listJobs(ListJobsRequest request)
List all Jobs for a project within a region.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<ListJobsResponse> |
|
listResourceAllowances(ListResourceAllowancesRequest request)
public ListenableFuture<ListResourceAllowancesResponse> listResourceAllowances(ListResourceAllowancesRequest request)
List all ResourceAllowances for a project within a region.
listTasks(ListTasksRequest request)
public ListenableFuture<ListTasksResponse> listTasks(ListTasksRequest request)
List Tasks associated with a job.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<ListTasksResponse> |
|
updateJob(UpdateJobRequest request)
public ListenableFuture<Job> updateJob(UpdateJobRequest request)
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Job> |
|
updateResourceAllowance(UpdateResourceAllowanceRequest request)
public ListenableFuture<ResourceAllowance> updateResourceAllowance(UpdateResourceAllowanceRequest request)
Update a Resource Allowance.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<ResourceAllowance> |
|