Class HttpJsonPrivateCatalogStub
java.lang.Object
com.google.cloud.privatecatalog.v1beta1.stub.PrivateCatalogStub
com.google.cloud.privatecatalog.v1beta1.stub.HttpJsonPrivateCatalogStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@Generated("by gapic-generator-java")
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.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonPrivateCatalogStub(PrivateCatalogStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonPrivateCatalogStub, using the given settings.protectedHttpJsonPrivateCatalogStub(PrivateCatalogStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonPrivateCatalogStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonPrivateCatalogStubcreate(ClientContext clientContext) static final HttpJsonPrivateCatalogStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonPrivateCatalogStubcreate(PrivateCatalogStubSettings settings) static List<ApiMethodDescriptor>booleanbooleanvoidshutdown()void
-
Constructor Details
-
HttpJsonPrivateCatalogStub
protected HttpJsonPrivateCatalogStub(PrivateCatalogStubSettings settings, ClientContext clientContext) throws IOException 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.- Throws:
IOException
-
HttpJsonPrivateCatalogStub
protected HttpJsonPrivateCatalogStub(PrivateCatalogStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException 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.- Throws:
IOException
-
-
Method Details
-
create
public static final HttpJsonPrivateCatalogStub create(PrivateCatalogStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final HttpJsonPrivateCatalogStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final HttpJsonPrivateCatalogStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
searchCatalogsCallable
- Overrides:
searchCatalogsCallablein classPrivateCatalogStub
-
searchCatalogsPagedCallable
public UnaryCallable<SearchCatalogsRequest,PrivateCatalogClient.SearchCatalogsPagedResponse> searchCatalogsPagedCallable()- Overrides:
searchCatalogsPagedCallablein classPrivateCatalogStub
-
searchProductsCallable
- Overrides:
searchProductsCallablein classPrivateCatalogStub
-
searchProductsPagedCallable
public UnaryCallable<SearchProductsRequest,PrivateCatalogClient.SearchProductsPagedResponse> searchProductsPagedCallable()- Overrides:
searchProductsPagedCallablein classPrivateCatalogStub
-
searchVersionsCallable
- Overrides:
searchVersionsCallablein classPrivateCatalogStub
-
searchVersionsPagedCallable
public UnaryCallable<SearchVersionsRequest,PrivateCatalogClient.SearchVersionsPagedResponse> searchVersionsPagedCallable()- Overrides:
searchVersionsPagedCallablein classPrivateCatalogStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classPrivateCatalogStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-