public class HttpJsonPrivateCatalogStub extends PrivateCatalogStub
REST stub implementation for the PrivateCatalog service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonPrivateCatalogStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonPrivateCatalogStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(PrivateCatalogStubSettings settings)
public static final HttpJsonPrivateCatalogStub create(PrivateCatalogStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonPrivateCatalogStub(PrivateCatalogStubSettings settings, ClientContext clientContext)
protected HttpJsonPrivateCatalogStub(PrivateCatalogStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonPrivateCatalogStub, 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.
HttpJsonPrivateCatalogStub(PrivateCatalogStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonPrivateCatalogStub(PrivateCatalogStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonPrivateCatalogStub, 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
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
searchCatalogsCallable()
public UnaryCallable<SearchCatalogsRequest,SearchCatalogsResponse> searchCatalogsCallable()
Overrides
searchCatalogsPagedCallable()
public UnaryCallable<SearchCatalogsRequest,PrivateCatalogClient.SearchCatalogsPagedResponse> searchCatalogsPagedCallable()
Overrides
searchProductsCallable()
public UnaryCallable<SearchProductsRequest,SearchProductsResponse> searchProductsCallable()
Overrides
searchProductsPagedCallable()
public UnaryCallable<SearchProductsRequest,PrivateCatalogClient.SearchProductsPagedResponse> searchProductsPagedCallable()
Overrides
searchVersionsCallable()
public UnaryCallable<SearchVersionsRequest,SearchVersionsResponse> searchVersionsCallable()
Overrides
searchVersionsPagedCallable()
public UnaryCallable<SearchVersionsRequest,PrivateCatalogClient.SearchVersionsPagedResponse> searchVersionsPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()