Class BatchControllerGrpc (4.46.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
Type Description
String

Static Methods

bindService(BatchControllerGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(BatchControllerGrpc.AsyncService service)
Parameter
Name Description
service BatchControllerGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getCreateBatchMethod()

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

getDeleteBatchMethod()

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

getGetBatchMethod()

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

getListBatchesMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
BatchControllerGrpc.BatchControllerStub