Class LocalInventoryServiceGrpc (0.11.0)

public final class LocalInventoryServiceGrpc

Service to manage local inventory for products

Inheritance

java.lang.Object > LocalInventoryServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(LocalInventoryServiceGrpc.AsyncService service)

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

getDeleteLocalInventoryMethod()

public static MethodDescriptor<DeleteLocalInventoryRequest,Empty> getDeleteLocalInventoryMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteLocalInventoryRequest,Empty>

getInsertLocalInventoryMethod()

public static MethodDescriptor<InsertLocalInventoryRequest,LocalInventory> getInsertLocalInventoryMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<InsertLocalInventoryRequest,LocalInventory>

getListLocalInventoriesMethod()

public static MethodDescriptor<ListLocalInventoriesRequest,ListLocalInventoriesResponse> getListLocalInventoriesMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListLocalInventoriesRequest,ListLocalInventoriesResponse>

getServiceDescriptor()

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

newBlockingStub(Channel channel)

public static LocalInventoryServiceGrpc.LocalInventoryServiceBlockingStub 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
LocalInventoryServiceGrpc.LocalInventoryServiceBlockingStub

newFutureStub(Channel channel)

public static LocalInventoryServiceGrpc.LocalInventoryServiceFutureStub newFutureStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
LocalInventoryServiceGrpc.LocalInventoryServiceFutureStub

newStub(Channel channel)

public static LocalInventoryServiceGrpc.LocalInventoryServiceStub newStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
LocalInventoryServiceGrpc.LocalInventoryServiceStub