Class HttpJsonMetastoreServiceStub
- java.lang.Object
-
- com.google.cloud.bigquery.biglake.v1alpha1.stub.MetastoreServiceStub
-
- com.google.cloud.bigquery.biglake.v1alpha1.stub.HttpJsonMetastoreServiceStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
@BetaApi @Generated("by gapic-generator-java") public class HttpJsonMetastoreServiceStub extends MetastoreServiceStub
REST stub implementation for the MetastoreService service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
HttpJsonMetastoreServiceStub(MetastoreServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonMetastoreServiceStub, using the given settings.protected
HttpJsonMetastoreServiceStub(MetastoreServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonMetastoreServiceStub, using the given settings.
-
Method Summary
-
-
-
Constructor Detail
-
HttpJsonMetastoreServiceStub
protected HttpJsonMetastoreServiceStub(MetastoreServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of HttpJsonMetastoreServiceStub, 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
-
HttpJsonMetastoreServiceStub
protected HttpJsonMetastoreServiceStub(MetastoreServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
Constructs an instance of HttpJsonMetastoreServiceStub, 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 Detail
-
create
public static final HttpJsonMetastoreServiceStub create(MetastoreServiceStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonMetastoreServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonMetastoreServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getMethodDescriptors
@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
-
createCatalogCallable
public com.google.api.gax.rpc.UnaryCallable<CreateCatalogRequest,Catalog> createCatalogCallable()
- Overrides:
createCatalogCallable
in classMetastoreServiceStub
-
deleteCatalogCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteCatalogRequest,Catalog> deleteCatalogCallable()
- Overrides:
deleteCatalogCallable
in classMetastoreServiceStub
-
getCatalogCallable
public com.google.api.gax.rpc.UnaryCallable<GetCatalogRequest,Catalog> getCatalogCallable()
- Overrides:
getCatalogCallable
in classMetastoreServiceStub
-
listCatalogsCallable
public com.google.api.gax.rpc.UnaryCallable<ListCatalogsRequest,ListCatalogsResponse> listCatalogsCallable()
- Overrides:
listCatalogsCallable
in classMetastoreServiceStub
-
listCatalogsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListCatalogsRequest,MetastoreServiceClient.ListCatalogsPagedResponse> listCatalogsPagedCallable()
- Overrides:
listCatalogsPagedCallable
in classMetastoreServiceStub
-
createDatabaseCallable
public com.google.api.gax.rpc.UnaryCallable<CreateDatabaseRequest,Database> createDatabaseCallable()
- Overrides:
createDatabaseCallable
in classMetastoreServiceStub
-
deleteDatabaseCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteDatabaseRequest,Database> deleteDatabaseCallable()
- Overrides:
deleteDatabaseCallable
in classMetastoreServiceStub
-
updateDatabaseCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateDatabaseRequest,Database> updateDatabaseCallable()
- Overrides:
updateDatabaseCallable
in classMetastoreServiceStub
-
getDatabaseCallable
public com.google.api.gax.rpc.UnaryCallable<GetDatabaseRequest,Database> getDatabaseCallable()
- Overrides:
getDatabaseCallable
in classMetastoreServiceStub
-
listDatabasesCallable
public com.google.api.gax.rpc.UnaryCallable<ListDatabasesRequest,ListDatabasesResponse> listDatabasesCallable()
- Overrides:
listDatabasesCallable
in classMetastoreServiceStub
-
listDatabasesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListDatabasesRequest,MetastoreServiceClient.ListDatabasesPagedResponse> listDatabasesPagedCallable()
- Overrides:
listDatabasesPagedCallable
in classMetastoreServiceStub
-
createTableCallable
public com.google.api.gax.rpc.UnaryCallable<CreateTableRequest,Table> createTableCallable()
- Overrides:
createTableCallable
in classMetastoreServiceStub
-
deleteTableCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteTableRequest,Table> deleteTableCallable()
- Overrides:
deleteTableCallable
in classMetastoreServiceStub
-
updateTableCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateTableRequest,Table> updateTableCallable()
- Overrides:
updateTableCallable
in classMetastoreServiceStub
-
renameTableCallable
public com.google.api.gax.rpc.UnaryCallable<RenameTableRequest,Table> renameTableCallable()
- Overrides:
renameTableCallable
in classMetastoreServiceStub
-
getTableCallable
public com.google.api.gax.rpc.UnaryCallable<GetTableRequest,Table> getTableCallable()
- Overrides:
getTableCallable
in classMetastoreServiceStub
-
listTablesCallable
public com.google.api.gax.rpc.UnaryCallable<ListTablesRequest,ListTablesResponse> listTablesCallable()
- Overrides:
listTablesCallable
in classMetastoreServiceStub
-
listTablesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListTablesRequest,MetastoreServiceClient.ListTablesPagedResponse> listTablesPagedCallable()
- Overrides:
listTablesPagedCallable
in classMetastoreServiceStub
-
createLockCallable
public com.google.api.gax.rpc.UnaryCallable<CreateLockRequest,Lock> createLockCallable()
- Overrides:
createLockCallable
in classMetastoreServiceStub
-
deleteLockCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteLockRequest,com.google.protobuf.Empty> deleteLockCallable()
- Overrides:
deleteLockCallable
in classMetastoreServiceStub
-
checkLockCallable
public com.google.api.gax.rpc.UnaryCallable<CheckLockRequest,Lock> checkLockCallable()
- Overrides:
checkLockCallable
in classMetastoreServiceStub
-
listLocksCallable
public com.google.api.gax.rpc.UnaryCallable<ListLocksRequest,ListLocksResponse> listLocksCallable()
- Overrides:
listLocksCallable
in classMetastoreServiceStub
-
listLocksPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListLocksRequest,MetastoreServiceClient.ListLocksPagedResponse> listLocksPagedCallable()
- Overrides:
listLocksPagedCallable
in classMetastoreServiceStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classMetastoreServiceStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
- Throws:
InterruptedException
-
-