Class BatchServiceGrpc (0.40.0)

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.

Inheritance

java.lang.Object > BatchServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(BatchServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(BatchServiceGrpc.AsyncService service)
Parameter
NameDescription
serviceBatchServiceGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getCreateJobMethod()

public static MethodDescriptor<CreateJobRequest,Job> getCreateJobMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateJobRequest,Job>

getCreateResourceAllowanceMethod()

public static MethodDescriptor<CreateResourceAllowanceRequest,ResourceAllowance> getCreateResourceAllowanceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateResourceAllowanceRequest,ResourceAllowance>

getDeleteJobMethod()

public static MethodDescriptor<DeleteJobRequest,Operation> getDeleteJobMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteJobRequest,Operation>

getDeleteResourceAllowanceMethod()

public static MethodDescriptor<DeleteResourceAllowanceRequest,Operation> getDeleteResourceAllowanceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteResourceAllowanceRequest,Operation>

getGetJobMethod()

public static MethodDescriptor<GetJobRequest,Job> getGetJobMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetJobRequest,Job>

getGetResourceAllowanceMethod()

public static MethodDescriptor<GetResourceAllowanceRequest,ResourceAllowance> getGetResourceAllowanceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetResourceAllowanceRequest,ResourceAllowance>

getGetTaskMethod()

public static MethodDescriptor<GetTaskRequest,Task> getGetTaskMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetTaskRequest,Task>

getListJobsMethod()

public static MethodDescriptor<ListJobsRequest,ListJobsResponse> getListJobsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListJobsRequest,ListJobsResponse>

getListResourceAllowancesMethod()

public static MethodDescriptor<ListResourceAllowancesRequest,ListResourceAllowancesResponse> getListResourceAllowancesMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListResourceAllowancesRequest,ListResourceAllowancesResponse>

getListTasksMethod()

public static MethodDescriptor<ListTasksRequest,ListTasksResponse> getListTasksMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListTasksRequest,ListTasksResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getUpdateResourceAllowanceMethod()

public static MethodDescriptor<UpdateResourceAllowanceRequest,ResourceAllowance> getUpdateResourceAllowanceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateResourceAllowanceRequest,ResourceAllowance>

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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
BatchServiceGrpc.BatchServiceBlockingStub

newFutureStub(Channel channel)

public static BatchServiceGrpc.BatchServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
BatchServiceGrpc.BatchServiceFutureStub

newStub(Channel channel)

public static BatchServiceGrpc.BatchServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
BatchServiceGrpc.BatchServiceStub