Package com.google.cloud.biglake.v1.stub
Class HttpJsonIcebergCatalogServiceStub
java.lang.Object
com.google.cloud.biglake.v1.stub.IcebergCatalogServiceStub
com.google.cloud.biglake.v1.stub.HttpJsonIcebergCatalogServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class HttpJsonIcebergCatalogServiceStub
extends IcebergCatalogServiceStub
REST stub implementation for the IcebergCatalogService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonIcebergCatalogServiceStub(IcebergCatalogServiceStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonIcebergCatalogServiceStub, using the given settings.protectedHttpJsonIcebergCatalogServiceStub(IcebergCatalogServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonIcebergCatalogServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonIcebergCatalogServiceStubcreate(ClientContext clientContext) static final HttpJsonIcebergCatalogServiceStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonIcebergCatalogServiceStubcreate(IcebergCatalogServiceStubSettings settings) static List<ApiMethodDescriptor>booleanbooleanUnaryCallable<ListIcebergCatalogsRequest,IcebergCatalogServiceClient.ListIcebergCatalogsPagedResponse> voidshutdown()void
-
Constructor Details
-
HttpJsonIcebergCatalogServiceStub
protected HttpJsonIcebergCatalogServiceStub(IcebergCatalogServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of HttpJsonIcebergCatalogServiceStub, 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
-
HttpJsonIcebergCatalogServiceStub
protected HttpJsonIcebergCatalogServiceStub(IcebergCatalogServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException Constructs an instance of HttpJsonIcebergCatalogServiceStub, 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 HttpJsonIcebergCatalogServiceStub create(IcebergCatalogServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final HttpJsonIcebergCatalogServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final HttpJsonIcebergCatalogServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
getIcebergCatalogCallable
- Overrides:
getIcebergCatalogCallablein classIcebergCatalogServiceStub
-
listIcebergCatalogsCallable
public UnaryCallable<ListIcebergCatalogsRequest,ListIcebergCatalogsResponse> listIcebergCatalogsCallable()- Overrides:
listIcebergCatalogsCallablein classIcebergCatalogServiceStub
-
listIcebergCatalogsPagedCallable
public UnaryCallable<ListIcebergCatalogsRequest,IcebergCatalogServiceClient.ListIcebergCatalogsPagedResponse> listIcebergCatalogsPagedCallable()- Overrides:
listIcebergCatalogsPagedCallablein classIcebergCatalogServiceStub
-
updateIcebergCatalogCallable
- Overrides:
updateIcebergCatalogCallablein classIcebergCatalogServiceStub
-
createIcebergCatalogCallable
- Overrides:
createIcebergCatalogCallablein classIcebergCatalogServiceStub
-
failoverIcebergCatalogCallable
public UnaryCallable<FailoverIcebergCatalogRequest,FailoverIcebergCatalogResponse> failoverIcebergCatalogCallable()- Overrides:
failoverIcebergCatalogCallablein classIcebergCatalogServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classIcebergCatalogServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-