Class RegionalInventoryServiceGrpc (0.7.0)

public final class RegionalInventoryServiceGrpc

Service to manage regional inventory for products. There is also separate regions resource and API to manage regions definitions.

Inheritance

java.lang.Object > RegionalInventoryServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(RegionalInventoryServiceGrpc.AsyncService service)

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

getDeleteRegionalInventoryMethod()

public static MethodDescriptor<DeleteRegionalInventoryRequest,Empty> getDeleteRegionalInventoryMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteRegionalInventoryRequest,Empty>

getInsertRegionalInventoryMethod()

public static MethodDescriptor<InsertRegionalInventoryRequest,RegionalInventory> getInsertRegionalInventoryMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<InsertRegionalInventoryRequest,RegionalInventory>

getListRegionalInventoriesMethod()

public static MethodDescriptor<ListRegionalInventoriesRequest,ListRegionalInventoriesResponse> getListRegionalInventoriesMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListRegionalInventoriesRequest,ListRegionalInventoriesResponse>

getServiceDescriptor()

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

newBlockingStub(Channel channel)

public static RegionalInventoryServiceGrpc.RegionalInventoryServiceBlockingStub 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
RegionalInventoryServiceGrpc.RegionalInventoryServiceBlockingStub

newFutureStub(Channel channel)

public static RegionalInventoryServiceGrpc.RegionalInventoryServiceFutureStub newFutureStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
RegionalInventoryServiceGrpc.RegionalInventoryServiceFutureStub

newStub(Channel channel)

public static RegionalInventoryServiceGrpc.RegionalInventoryServiceStub newStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
RegionalInventoryServiceGrpc.RegionalInventoryServiceStub