Class LocalInventoryServiceGrpc (0.24.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
Type Description
String

Static Methods

bindService(LocalInventoryServiceGrpc.AsyncService service)

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

getDeleteLocalInventoryMethod()

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

getInsertLocalInventoryMethod()

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

getListLocalInventoriesMethod()

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

getServiceDescriptor()

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