Class DatabaseAdminSettings.Builder (6.69.0)

public static class DatabaseAdminSettings.Builder extends ClientSettings.Builder<DatabaseAdminSettings,DatabaseAdminSettings.Builder>

Builder for DatabaseAdminSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > DatabaseAdminSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(DatabaseAdminSettings settings)

protected Builder(DatabaseAdminSettings settings)
Parameter
Name Description
settings DatabaseAdminSettings

Builder(DatabaseAdminStubSettings.Builder stubSettings)

protected Builder(DatabaseAdminStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings DatabaseAdminStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public DatabaseAdminSettings.Builder applyToAllUnaryMethods(ApiFunction<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.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,Void>
Returns
Type Description
DatabaseAdminSettings.Builder

build()

public DatabaseAdminSettings build()
Returns
Type Description
DatabaseAdminSettings
Overrides
Exceptions
Type Description
IOException

copyBackupOperationSettings()

public OperationCallSettings.Builder<CopyBackupRequest,Backup,CopyBackupMetadata> copyBackupOperationSettings()

Returns the builder for the settings used for calls to copyBackup.

Returns
Type Description
Builder<CopyBackupRequest,Backup,CopyBackupMetadata>

copyBackupSettings()

public UnaryCallSettings.Builder<CopyBackupRequest,Operation> copyBackupSettings()

Returns the builder for the settings used for calls to copyBackup.

Returns
Type Description
Builder<CopyBackupRequest,Operation>

createBackupOperationSettings()

public OperationCallSettings.Builder<CreateBackupRequest,Backup,CreateBackupMetadata> createBackupOperationSettings()

Returns the builder for the settings used for calls to createBackup.

Returns
Type Description
Builder<CreateBackupRequest,Backup,CreateBackupMetadata>

createBackupSettings()

public UnaryCallSettings.Builder<CreateBackupRequest,Operation> createBackupSettings()

Returns the builder for the settings used for calls to createBackup.

Returns
Type Description
Builder<CreateBackupRequest,Operation>

createDatabaseOperationSettings()

public OperationCallSettings.Builder<CreateDatabaseRequest,Database,CreateDatabaseMetadata> createDatabaseOperationSettings()

Returns the builder for the settings used for calls to createDatabase.

Returns
Type Description
Builder<CreateDatabaseRequest,Database,CreateDatabaseMetadata>

createDatabaseSettings()

public UnaryCallSettings.Builder<CreateDatabaseRequest,Operation> createDatabaseSettings()

Returns the builder for the settings used for calls to createDatabase.

Returns
Type Description
Builder<CreateDatabaseRequest,Operation>

deleteBackupSettings()

public UnaryCallSettings.Builder<DeleteBackupRequest,Empty> deleteBackupSettings()

Returns the builder for the settings used for calls to deleteBackup.

Returns
Type Description
Builder<DeleteBackupRequest,Empty>

dropDatabaseSettings()

public UnaryCallSettings.Builder<DropDatabaseRequest,Empty> dropDatabaseSettings()

Returns the builder for the settings used for calls to dropDatabase.

Returns
Type Description
Builder<DropDatabaseRequest,Empty>

getBackupSettings()

public UnaryCallSettings.Builder<GetBackupRequest,Backup> getBackupSettings()

Returns the builder for the settings used for calls to getBackup.

Returns
Type Description
Builder<GetBackupRequest,Backup>

getDatabaseDdlSettings()

public UnaryCallSettings.Builder<GetDatabaseDdlRequest,GetDatabaseDdlResponse> getDatabaseDdlSettings()

Returns the builder for the settings used for calls to getDatabaseDdl.

Returns
Type Description
Builder<GetDatabaseDdlRequest,GetDatabaseDdlResponse>

getDatabaseSettings()

public UnaryCallSettings.Builder<GetDatabaseRequest,Database> getDatabaseSettings()

Returns the builder for the settings used for calls to getDatabase.

Returns
Type Description
Builder<GetDatabaseRequest,Database>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

Returns the builder for the settings used for calls to getIamPolicy.

Returns
Type Description
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getStubSettingsBuilder()

public DatabaseAdminStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
DatabaseAdminStubSettings.Builder

listBackupOperationsSettings()

public PagedCallSettings.Builder<ListBackupOperationsRequest,ListBackupOperationsResponse,DatabaseAdminClient.ListBackupOperationsPagedResponse> listBackupOperationsSettings()

Returns the builder for the settings used for calls to listBackupOperations.

Returns
Type Description
Builder<ListBackupOperationsRequest,ListBackupOperationsResponse,ListBackupOperationsPagedResponse>

listBackupsSettings()

public PagedCallSettings.Builder<ListBackupsRequest,ListBackupsResponse,DatabaseAdminClient.ListBackupsPagedResponse> listBackupsSettings()

Returns the builder for the settings used for calls to listBackups.

Returns
Type Description
Builder<ListBackupsRequest,ListBackupsResponse,ListBackupsPagedResponse>

listDatabaseOperationsSettings()

public PagedCallSettings.Builder<ListDatabaseOperationsRequest,ListDatabaseOperationsResponse,DatabaseAdminClient.ListDatabaseOperationsPagedResponse> listDatabaseOperationsSettings()

Returns the builder for the settings used for calls to listDatabaseOperations.

Returns
Type Description
Builder<ListDatabaseOperationsRequest,ListDatabaseOperationsResponse,ListDatabaseOperationsPagedResponse>

listDatabaseRolesSettings()

public PagedCallSettings.Builder<ListDatabaseRolesRequest,ListDatabaseRolesResponse,DatabaseAdminClient.ListDatabaseRolesPagedResponse> listDatabaseRolesSettings()

Returns the builder for the settings used for calls to listDatabaseRoles.

Returns
Type Description
Builder<ListDatabaseRolesRequest,ListDatabaseRolesResponse,ListDatabaseRolesPagedResponse>

listDatabasesSettings()

public PagedCallSettings.Builder<ListDatabasesRequest,ListDatabasesResponse,DatabaseAdminClient.ListDatabasesPagedResponse> listDatabasesSettings()

Returns the builder for the settings used for calls to listDatabases.

Returns
Type Description
Builder<ListDatabasesRequest,ListDatabasesResponse,ListDatabasesPagedResponse>

restoreDatabaseOperationSettings()

public OperationCallSettings.Builder<RestoreDatabaseRequest,Database,RestoreDatabaseMetadata> restoreDatabaseOperationSettings()

Returns the builder for the settings used for calls to restoreDatabase.

Returns
Type Description
Builder<RestoreDatabaseRequest,Database,RestoreDatabaseMetadata>

restoreDatabaseSettings()

public UnaryCallSettings.Builder<RestoreDatabaseRequest,Operation> restoreDatabaseSettings()

Returns the builder for the settings used for calls to restoreDatabase.

Returns
Type Description
Builder<RestoreDatabaseRequest,Operation>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()

Returns the builder for the settings used for calls to setIamPolicy.

Returns
Type Description
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()

Returns the builder for the settings used for calls to testIamPermissions.

Returns
Type Description
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

updateBackupSettings()

public UnaryCallSettings.Builder<UpdateBackupRequest,Backup> updateBackupSettings()

Returns the builder for the settings used for calls to updateBackup.

Returns
Type Description
Builder<UpdateBackupRequest,Backup>

updateDatabaseDdlOperationSettings()

public OperationCallSettings.Builder<UpdateDatabaseDdlRequest,Empty,UpdateDatabaseDdlMetadata> updateDatabaseDdlOperationSettings()

Returns the builder for the settings used for calls to updateDatabaseDdl.

Returns
Type Description
Builder<UpdateDatabaseDdlRequest,Empty,UpdateDatabaseDdlMetadata>

updateDatabaseDdlSettings()

public UnaryCallSettings.Builder<UpdateDatabaseDdlRequest,Operation> updateDatabaseDdlSettings()

Returns the builder for the settings used for calls to updateDatabaseDdl.

Returns
Type Description
Builder<UpdateDatabaseDdlRequest,Operation>

updateDatabaseOperationSettings()

public OperationCallSettings.Builder<UpdateDatabaseRequest,Database,UpdateDatabaseMetadata> updateDatabaseOperationSettings()

Returns the builder for the settings used for calls to updateDatabase.

Returns
Type Description
Builder<UpdateDatabaseRequest,Database,UpdateDatabaseMetadata>

updateDatabaseSettings()

public UnaryCallSettings.Builder<UpdateDatabaseRequest,Operation> updateDatabaseSettings()

Returns the builder for the settings used for calls to updateDatabase.

Returns
Type Description
Builder<UpdateDatabaseRequest,Operation>