Class BatchControllerGrpc (4.29.0)

public final class BatchControllerGrpc

The BatchController provides methods to manage batch workloads.

Inheritance

java.lang.Object > BatchControllerGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(BatchControllerGrpc.AsyncService service)

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

getCreateBatchMethod()

public static MethodDescriptor<CreateBatchRequest,Operation> getCreateBatchMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateBatchRequest,Operation>

getDeleteBatchMethod()

public static MethodDescriptor<DeleteBatchRequest,Empty> getDeleteBatchMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteBatchRequest,Empty>

getGetBatchMethod()

public static MethodDescriptor<GetBatchRequest,Batch> getGetBatchMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetBatchRequest,Batch>

getListBatchesMethod()

public static MethodDescriptor<ListBatchesRequest,ListBatchesResponse> getListBatchesMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListBatchesRequest,ListBatchesResponse>

getServiceDescriptor()

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

newBlockingStub(Channel channel)

public static BatchControllerGrpc.BatchControllerBlockingStub 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
BatchControllerGrpc.BatchControllerBlockingStub

newFutureStub(Channel channel)

public static BatchControllerGrpc.BatchControllerFutureStub newFutureStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
BatchControllerGrpc.BatchControllerFutureStub

newStub(Channel channel)

public static BatchControllerGrpc.BatchControllerStub newStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
BatchControllerGrpc.BatchControllerStub