public class HttpJsonRegionalInventoryServiceStub extends RegionalInventoryServiceStub
REST 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 HttpJsonRegionalInventoryServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonRegionalInventoryServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonRegionalInventoryServiceStub create(RegionalInventoryServiceStubSettings settings)
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonRegionalInventoryServiceStub(RegionalInventoryServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonRegionalInventoryServiceStub(RegionalInventoryServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonRegionalInventoryServiceStub, 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.
HttpJsonRegionalInventoryServiceStub(RegionalInventoryServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonRegionalInventoryServiceStub(RegionalInventoryServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonRegionalInventoryServiceStub, 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 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()