Package com.google.cloud.biglake.v1.stub
Class GrpcIcebergCatalogServiceStub
java.lang.Object
com.google.cloud.biglake.v1.stub.IcebergCatalogServiceStub
com.google.cloud.biglake.v1.stub.GrpcIcebergCatalogServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class GrpcIcebergCatalogServiceStub
extends IcebergCatalogServiceStub
gRPC stub implementation for the IcebergCatalogService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcIcebergCatalogServiceStub(IcebergCatalogServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcIcebergCatalogServiceStub, using the given settings.protectedGrpcIcebergCatalogServiceStub(IcebergCatalogServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcIcebergCatalogServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcIcebergCatalogServiceStubcreate(ClientContext clientContext) static final GrpcIcebergCatalogServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcIcebergCatalogServiceStubcreate(IcebergCatalogServiceStubSettings settings) booleanbooleanUnaryCallable<ListIcebergCatalogsRequest,IcebergCatalogServiceClient.ListIcebergCatalogsPagedResponse> voidshutdown()void
-
Constructor Details
-
GrpcIcebergCatalogServiceStub
protected GrpcIcebergCatalogServiceStub(IcebergCatalogServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcIcebergCatalogServiceStub, 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
-
GrpcIcebergCatalogServiceStub
protected GrpcIcebergCatalogServiceStub(IcebergCatalogServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcIcebergCatalogServiceStub, 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 GrpcIcebergCatalogServiceStub create(IcebergCatalogServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final GrpcIcebergCatalogServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final GrpcIcebergCatalogServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
-
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
-