public final class BatchServiceGrpc
Google Batch Service.
The service manages user submitted batch jobs and allocates Google Compute
Engine VM instances to run the jobs.
Static Fields
SERVICE_NAME
public static final String SERVICE_NAME
Field Value |
---|
Type | Description |
String | |
Static Methods
bindService(BatchServiceGrpc.AsyncService service)
public static final ServerServiceDefinition bindService(BatchServiceGrpc.AsyncService service)
Returns |
---|
Type | Description |
io.grpc.ServerServiceDefinition | |
getCreateJobMethod()
public static MethodDescriptor<CreateJobRequest,Job> getCreateJobMethod()
getCreateResourceAllowanceMethod()
public static MethodDescriptor<CreateResourceAllowanceRequest,ResourceAllowance> getCreateResourceAllowanceMethod()
getDeleteJobMethod()
public static MethodDescriptor<DeleteJobRequest,Operation> getDeleteJobMethod()
getDeleteResourceAllowanceMethod()
public static MethodDescriptor<DeleteResourceAllowanceRequest,Operation> getDeleteResourceAllowanceMethod()
getGetJobMethod()
public static MethodDescriptor<GetJobRequest,Job> getGetJobMethod()
getGetResourceAllowanceMethod()
public static MethodDescriptor<GetResourceAllowanceRequest,ResourceAllowance> getGetResourceAllowanceMethod()
getGetTaskMethod()
public static MethodDescriptor<GetTaskRequest,Task> getGetTaskMethod()
getListJobsMethod()
public static MethodDescriptor<ListJobsRequest,ListJobsResponse> getListJobsMethod()
getListResourceAllowancesMethod()
public static MethodDescriptor<ListResourceAllowancesRequest,ListResourceAllowancesResponse> getListResourceAllowancesMethod()
getListTasksMethod()
public static MethodDescriptor<ListTasksRequest,ListTasksResponse> getListTasksMethod()
getServiceDescriptor()
public static ServiceDescriptor getServiceDescriptor()
Returns |
---|
Type | Description |
io.grpc.ServiceDescriptor | |
getUpdateResourceAllowanceMethod()
public static MethodDescriptor<UpdateResourceAllowanceRequest,ResourceAllowance> getUpdateResourceAllowanceMethod()
newBlockingStub(Channel channel)
public static BatchServiceGrpc.BatchServiceBlockingStub newBlockingStub(Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
Parameter |
---|
Name | Description |
channel | io.grpc.Channel
|
newFutureStub(Channel channel)
public static BatchServiceGrpc.BatchServiceFutureStub newFutureStub(Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
Parameter |
---|
Name | Description |
channel | io.grpc.Channel
|
newStub(Channel channel)
public static BatchServiceGrpc.BatchServiceStub newStub(Channel channel)
Creates a new async stub that supports all call types for the service
Parameter |
---|
Name | Description |
channel | io.grpc.Channel
|