Send feedback
Class DatabaseAdminSettings.Builder
Stay organized with collections
Save and categorize content based on your preferences.
Version 6.20.0 keyboard_arrow_down
public static class DatabaseAdminSettings . Builder extends ClientSettings . Builder<DatabaseAdminSettings , DatabaseAdminSettings . Builder >
Builder for DatabaseAdminSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder ( ClientContext clientContext )
Parameter
Builder(DatabaseAdminSettings settings)
protected Builder ( DatabaseAdminSettings settings )
Parameter
Builder(DatabaseAdminStubSettings.Builder stubSettings)
protected Builder ( DatabaseAdminStubSettings . Builder stubSettings )
Parameter
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
Returns
build()
public DatabaseAdminSettings build ()
Returns
Overrides
Exceptions
createBackupOperationSettings()
public OperationCallSettings . Builder<CreateBackupRequest , Backup , CreateBackupMetadata > createBackupOperationSettings ()
Returns the builder for the settings used for calls to createBackup.
Returns
createBackupSettings()
public UnaryCallSettings . Builder<CreateBackupRequest , Operation > createBackupSettings ()
Returns the builder for the settings used for calls to createBackup.
Returns
createDatabaseOperationSettings()
public OperationCallSettings . Builder<CreateDatabaseRequest , Database , CreateDatabaseMetadata > createDatabaseOperationSettings ()
Returns the builder for the settings used for calls to createDatabase.
Returns
createDatabaseSettings()
public UnaryCallSettings . Builder<CreateDatabaseRequest , Operation > createDatabaseSettings ()
Returns the builder for the settings used for calls to createDatabase.
Returns
deleteBackupSettings()
public UnaryCallSettings . Builder<DeleteBackupRequest , Empty > deleteBackupSettings ()
Returns the builder for the settings used for calls to deleteBackup.
Returns
dropDatabaseSettings()
public UnaryCallSettings . Builder<DropDatabaseRequest , Empty > dropDatabaseSettings ()
Returns the builder for the settings used for calls to dropDatabase.
Returns
getBackupSettings()
public UnaryCallSettings . Builder<GetBackupRequest , Backup > getBackupSettings ()
Returns the builder for the settings used for calls to getBackup.
Returns
getDatabaseDdlSettings()
public UnaryCallSettings . Builder<GetDatabaseDdlRequest , GetDatabaseDdlResponse > getDatabaseDdlSettings ()
Returns the builder for the settings used for calls to getDatabaseDdl.
Returns
getDatabaseSettings()
public UnaryCallSettings . Builder<GetDatabaseRequest , Database > getDatabaseSettings ()
Returns the builder for the settings used for calls to getDatabase.
Returns
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
listBackupOperationsSettings()
public PagedCallSettings . Builder<ListBackupOperationsRequest , ListBackupOperationsResponse , DatabaseAdminClient . ListBackupOperationsPagedResponse > listBackupOperationsSettings ()
Returns the builder for the settings used for calls to listBackupOperations.
Returns
listBackupsSettings()
public PagedCallSettings . Builder<ListBackupsRequest , ListBackupsResponse , DatabaseAdminClient . ListBackupsPagedResponse > listBackupsSettings ()
Returns the builder for the settings used for calls to listBackups.
Returns
listDatabaseOperationsSettings()
public PagedCallSettings . Builder<ListDatabaseOperationsRequest , ListDatabaseOperationsResponse , DatabaseAdminClient . ListDatabaseOperationsPagedResponse > listDatabaseOperationsSettings ()
Returns the builder for the settings used for calls to listDatabaseOperations.
Returns
listDatabasesSettings()
public PagedCallSettings . Builder<ListDatabasesRequest , ListDatabasesResponse , DatabaseAdminClient . ListDatabasesPagedResponse > listDatabasesSettings ()
Returns the builder for the settings used for calls to listDatabases.
Returns
restoreDatabaseOperationSettings()
public OperationCallSettings . Builder<RestoreDatabaseRequest , Database , RestoreDatabaseMetadata > restoreDatabaseOperationSettings ()
Returns the builder for the settings used for calls to restoreDatabase.
Returns
restoreDatabaseSettings()
public UnaryCallSettings . Builder<RestoreDatabaseRequest , Operation > restoreDatabaseSettings ()
Returns the builder for the settings used for calls to restoreDatabase.
Returns
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
updateDatabaseDdlOperationSettings()
public OperationCallSettings . Builder<UpdateDatabaseDdlRequest , Empty , UpdateDatabaseDdlMetadata > updateDatabaseDdlOperationSettings ()
Returns the builder for the settings used for calls to updateDatabaseDdl.
Returns
updateDatabaseDdlSettings()
public UnaryCallSettings . Builder<UpdateDatabaseDdlRequest , Operation > updateDatabaseDdlSettings ()
Returns the builder for the settings used for calls to updateDatabaseDdl.
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-26 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-26 UTC."],[],[]]