Beta
This library is covered by the Pre-GA Offerings Terms
of the Terms of Service. Pre-GA libraries might have limited support,
and changes to pre-GA libraries might not be compatible with other pre-GA versions.
For more information, see the
launch stage descriptions .
public class HttpJsonLocalInventoryServiceStub extends LocalInventoryServiceStub
REST stub implementation for the LocalInventoryService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonLocalInventoryServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonLocalInventoryServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonLocalInventoryServiceStub create(LocalInventoryServiceStubSettings settings)
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonLocalInventoryServiceStub(LocalInventoryServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonLocalInventoryServiceStub(LocalInventoryServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonLocalInventoryServiceStub, 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.
HttpJsonLocalInventoryServiceStub(LocalInventoryServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonLocalInventoryServiceStub(LocalInventoryServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonLocalInventoryServiceStub, 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<DeleteLocalInventoryRequest,Empty> deleteLocalInventoryCallable()
Overrides
public UnaryCallable<InsertLocalInventoryRequest,LocalInventory> insertLocalInventoryCallable()
Overrides
public boolean isShutdown()
public boolean isTerminated()
public UnaryCallable<ListLocalInventoriesRequest,ListLocalInventoriesResponse> listLocalInventoriesCallable()
Overrides
listLocalInventoriesPagedCallable()
public UnaryCallable<ListLocalInventoriesRequest,LocalInventoryServiceClient.ListLocalInventoriesPagedResponse> listLocalInventoriesPagedCallable()
Overrides
public void shutdownNow()