Class MetastoreServiceStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<MetastoreServiceStubSettings,MetastoreServiceStubSettings.Builder>
-
- com.google.cloud.bigquery.biglake.v1alpha1.stub.MetastoreServiceStubSettings.Builder
-
- Enclosing class:
- MetastoreServiceStubSettings
public static class MetastoreServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<MetastoreServiceStubSettings,MetastoreServiceStubSettings.Builder>
Builder for MetastoreServiceStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(MetastoreServiceStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetastoreServiceStubSettings.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.MetastoreServiceStubSettings
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.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
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.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(MetastoreServiceStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public MetastoreServiceStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
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 MetastoreServiceStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<MetastoreServiceStubSettings,MetastoreServiceStubSettings.Builder>
- Throws:
IOException
-
-