Class RegionalInventoryServiceGrpc (0.21.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
Type Description
String

Static Methods

bindService(RegionalInventoryServiceGrpc.AsyncService service)

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

getDeleteRegionalInventoryMethod()

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

getInsertRegionalInventoryMethod()

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

getListRegionalInventoriesMethod()

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

getServiceDescriptor()

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