- 0.54.0 (latest)
- 0.53.0
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.2
- 0.2.2
- 0.1.1
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.BatchServiceFutureStubMethods
build(Channel channel, CallOptions callOptions)
protected BatchServiceGrpc.BatchServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters | |
---|---|
Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
Returns | |
---|---|
Type | Description |
BatchServiceGrpc.BatchServiceFutureStub |
cancelJob(CancelJobRequest request)
public ListenableFuture<Operation> cancelJob(CancelJobRequest request)
Cancel a Job.
Parameter | |
---|---|
Name | Description |
request |
CancelJobRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
createJob(CreateJobRequest request)
public ListenableFuture<Job> createJob(CreateJobRequest request)
Create a Job.
Parameter | |
---|---|
Name | Description |
request |
CreateJobRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Job> |
createResourceAllowance(CreateResourceAllowanceRequest request)
public ListenableFuture<ResourceAllowance> createResourceAllowance(CreateResourceAllowanceRequest request)
Create a Resource Allowance.
Parameter | |
---|---|
Name | Description |
request |
CreateResourceAllowanceRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ResourceAllowance> |
deleteJob(DeleteJobRequest request)
public ListenableFuture<Operation> deleteJob(DeleteJobRequest request)
Delete a Job.
Parameter | |
---|---|
Name | Description |
request |
DeleteJobRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
deleteResourceAllowance(DeleteResourceAllowanceRequest request)
public ListenableFuture<Operation> deleteResourceAllowance(DeleteResourceAllowanceRequest request)
Delete a ResourceAllowance.
Parameter | |
---|---|
Name | Description |
request |
DeleteResourceAllowanceRequest |
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.
Parameter | |
---|---|
Name | Description |
request |
GetJobRequest |
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.
Parameter | |
---|---|
Name | Description |
request |
GetResourceAllowanceRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ResourceAllowance> |
getTask(GetTaskRequest request)
public ListenableFuture<Task> getTask(GetTaskRequest request)
Return a single Task.
Parameter | |
---|---|
Name | Description |
request |
GetTaskRequest |
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.
Parameter | |
---|---|
Name | Description |
request |
ListJobsRequest |
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.
Parameter | |
---|---|
Name | Description |
request |
ListResourceAllowancesRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ListResourceAllowancesResponse> |
listTasks(ListTasksRequest request)
public ListenableFuture<ListTasksResponse> listTasks(ListTasksRequest request)
List Tasks associated with a job.
Parameter | |
---|---|
Name | Description |
request |
ListTasksRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ListTasksResponse> |
updateJob(UpdateJobRequest request)
public ListenableFuture<Job> updateJob(UpdateJobRequest request)
Update a Job.
Parameter | |
---|---|
Name | Description |
request |
UpdateJobRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Job> |
updateResourceAllowance(UpdateResourceAllowanceRequest request)
public ListenableFuture<ResourceAllowance> updateResourceAllowance(UpdateResourceAllowanceRequest request)
Update a Resource Allowance.
Parameter | |
---|---|
Name | Description |
request |
UpdateResourceAllowanceRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ResourceAllowance> |