Class MetastoreServiceSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<MetastoreServiceSettings,MetastoreServiceSettings.Builder>
-
- com.google.cloud.bigquery.biglake.v1alpha1.MetastoreServiceSettings.Builder
-
- Enclosing class:
- MetastoreServiceSettings
public static class MetastoreServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<MetastoreServiceSettings,MetastoreServiceSettings.Builder>
Builder for MetastoreServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(MetastoreServiceSettings settings)
protected
Builder(MetastoreServiceStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetastoreServiceSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.MetastoreServiceSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CheckLockRequest,Lock>
checkLockSettings()
Returns the builder for the settings used for calls to checkLock.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateCatalogRequest,Catalog>
createCatalogSettings()
Returns the builder for the settings used for calls to createCatalog.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateDatabaseRequest,Database>
createDatabaseSettings()
Returns the builder for the settings used for calls to createDatabase.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateLockRequest,Lock>
createLockSettings()
Returns the builder for the settings used for calls to createLock.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateTableRequest,Table>
createTableSettings()
Returns the builder for the settings used for calls to createTable.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteCatalogRequest,Catalog>
deleteCatalogSettings()
Returns the builder for the settings used for calls to deleteCatalog.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteDatabaseRequest,Database>
deleteDatabaseSettings()
Returns the builder for the settings used for calls to deleteDatabase.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteLockRequest,com.google.protobuf.Empty>
deleteLockSettings()
Returns the builder for the settings used for calls to deleteLock.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteTableRequest,Table>
deleteTableSettings()
Returns the builder for the settings used for calls to deleteTable.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetCatalogRequest,Catalog>
getCatalogSettings()
Returns the builder for the settings used for calls to getCatalog.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDatabaseRequest,Database>
getDatabaseSettings()
Returns the builder for the settings used for calls to getDatabase.MetastoreServiceStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetTableRequest,Table>
getTableSettings()
Returns the builder for the settings used for calls to getTable.com.google.api.gax.rpc.PagedCallSettings.Builder<ListCatalogsRequest,ListCatalogsResponse,MetastoreServiceClient.ListCatalogsPagedResponse>
listCatalogsSettings()
Returns the builder for the settings used for calls to listCatalogs.com.google.api.gax.rpc.PagedCallSettings.Builder<ListDatabasesRequest,ListDatabasesResponse,MetastoreServiceClient.ListDatabasesPagedResponse>
listDatabasesSettings()
Returns the builder for the settings used for calls to listDatabases.com.google.api.gax.rpc.PagedCallSettings.Builder<ListLocksRequest,ListLocksResponse,MetastoreServiceClient.ListLocksPagedResponse>
listLocksSettings()
Returns the builder for the settings used for calls to listLocks.com.google.api.gax.rpc.PagedCallSettings.Builder<ListTablesRequest,ListTablesResponse,MetastoreServiceClient.ListTablesPagedResponse>
listTablesSettings()
Returns the builder for the settings used for calls to listTables.com.google.api.gax.rpc.UnaryCallSettings.Builder<RenameTableRequest,Table>
renameTableSettings()
Returns the builder for the settings used for calls to renameTable.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateDatabaseRequest,Database>
updateDatabaseSettings()
Returns the builder for the settings used for calls to updateDatabase.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateTableRequest,Table>
updateTableSettings()
Returns the builder for the settings used for calls to updateTable.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(MetastoreServiceSettings settings)
-
Builder
protected Builder(MetastoreServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public MetastoreServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public MetastoreServiceSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.Note: This method does not support applying settings to streaming methods.
-
createCatalogSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateCatalogRequest,Catalog> createCatalogSettings()
Returns the builder for the settings used for calls to createCatalog.
-
deleteCatalogSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteCatalogRequest,Catalog> deleteCatalogSettings()
Returns the builder for the settings used for calls to deleteCatalog.
-
getCatalogSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetCatalogRequest,Catalog> getCatalogSettings()
Returns the builder for the settings used for calls to getCatalog.
-
listCatalogsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListCatalogsRequest,ListCatalogsResponse,MetastoreServiceClient.ListCatalogsPagedResponse> listCatalogsSettings()
Returns the builder for the settings used for calls to listCatalogs.
-
createDatabaseSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateDatabaseRequest,Database> createDatabaseSettings()
Returns the builder for the settings used for calls to createDatabase.
-
deleteDatabaseSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteDatabaseRequest,Database> deleteDatabaseSettings()
Returns the builder for the settings used for calls to deleteDatabase.
-
updateDatabaseSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateDatabaseRequest,Database> updateDatabaseSettings()
Returns the builder for the settings used for calls to updateDatabase.
-
getDatabaseSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDatabaseRequest,Database> getDatabaseSettings()
Returns the builder for the settings used for calls to getDatabase.
-
listDatabasesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListDatabasesRequest,ListDatabasesResponse,MetastoreServiceClient.ListDatabasesPagedResponse> listDatabasesSettings()
Returns the builder for the settings used for calls to listDatabases.
-
createTableSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateTableRequest,Table> createTableSettings()
Returns the builder for the settings used for calls to createTable.
-
deleteTableSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteTableRequest,Table> deleteTableSettings()
Returns the builder for the settings used for calls to deleteTable.
-
updateTableSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateTableRequest,Table> updateTableSettings()
Returns the builder for the settings used for calls to updateTable.
-
renameTableSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RenameTableRequest,Table> renameTableSettings()
Returns the builder for the settings used for calls to renameTable.
-
getTableSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetTableRequest,Table> getTableSettings()
Returns the builder for the settings used for calls to getTable.
-
listTablesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListTablesRequest,ListTablesResponse,MetastoreServiceClient.ListTablesPagedResponse> listTablesSettings()
Returns the builder for the settings used for calls to listTables.
-
createLockSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateLockRequest,Lock> createLockSettings()
Returns the builder for the settings used for calls to createLock.
-
deleteLockSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteLockRequest,com.google.protobuf.Empty> deleteLockSettings()
Returns the builder for the settings used for calls to deleteLock.
-
checkLockSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CheckLockRequest,Lock> checkLockSettings()
Returns the builder for the settings used for calls to checkLock.
-
listLocksSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListLocksRequest,ListLocksResponse,MetastoreServiceClient.ListLocksPagedResponse> listLocksSettings()
Returns the builder for the settings used for calls to listLocks.
-
build
public MetastoreServiceSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<MetastoreServiceSettings,MetastoreServiceSettings.Builder>
- Throws:
IOException
-
-