public class GrpcRegionalInventoryServiceStub extends RegionalInventoryServiceStub
gRPC stub implementation for the RegionalInventoryService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcRegionalInventoryServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcRegionalInventoryServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcRegionalInventoryServiceStub create(RegionalInventoryServiceStubSettings settings)
Constructors
GrpcRegionalInventoryServiceStub(RegionalInventoryServiceStubSettings settings, ClientContext clientContext)
protected GrpcRegionalInventoryServiceStub(RegionalInventoryServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcRegionalInventoryServiceStub, using the given settings. This is
protected so that it is easy to make a subclass, but otherwise, the static factory methods
should be preferred.
GrpcRegionalInventoryServiceStub(RegionalInventoryServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcRegionalInventoryServiceStub(RegionalInventoryServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcRegionalInventoryServiceStub, using the given settings. This is
protected so that it is easy to make a subclass, but otherwise, the static factory methods
should be preferred.
Methods
public boolean awaitTermination(long duration, TimeUnit unit)
public final void close()
Overrides
public UnaryCallable<DeleteRegionalInventoryRequest,Empty> deleteRegionalInventoryCallable()
Overrides
public GrpcOperationsStub getOperationsStub()
public UnaryCallable<InsertRegionalInventoryRequest,RegionalInventory> insertRegionalInventoryCallable()
Overrides
public boolean isShutdown()
public boolean isTerminated()
public UnaryCallable<ListRegionalInventoriesRequest,ListRegionalInventoriesResponse> listRegionalInventoriesCallable()
Overrides
listRegionalInventoriesPagedCallable()
public UnaryCallable<ListRegionalInventoriesRequest,RegionalInventoryServiceClient.ListRegionalInventoriesPagedResponse> listRegionalInventoriesPagedCallable()
Overrides
public void shutdownNow()