Class DatabaseAdminStubSettings.Builder (6.23.4)

public static class DatabaseAdminStubSettings.Builder extends StubSettings.Builder<DatabaseAdminStubSettings,DatabaseAdminStubSettings.Builder>

Builder for DatabaseAdminStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > DatabaseAdminStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(DatabaseAdminStubSettings settings)

protected Builder(DatabaseAdminStubSettings settings)
Parameter
NameDescription
settingsDatabaseAdminStubSettings

Methods

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

public DatabaseAdminStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,Void>
Returns
TypeDescription
DatabaseAdminStubSettings.Builder

build()

public DatabaseAdminStubSettings build()
Returns
TypeDescription
DatabaseAdminStubSettings
Overrides Exceptions
TypeDescription
IOException

copyBackupOperationSettings()

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

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

Returns
TypeDescription
Builder<CopyBackupRequest,Backup,CopyBackupMetadata>

copyBackupSettings()

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

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

Returns
TypeDescription
Builder<CopyBackupRequest,Operation>

createBackupOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateBackupRequest,Backup,CreateBackupMetadata>

createBackupSettings()

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

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

Returns
TypeDescription
Builder<CreateBackupRequest,Operation>

createDatabaseOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateDatabaseRequest,Database,CreateDatabaseMetadata>

createDatabaseSettings()

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

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

Returns
TypeDescription
Builder<CreateDatabaseRequest,Operation>

deleteBackupSettings()

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

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

Returns
TypeDescription
Builder<DeleteBackupRequest,Empty>

dropDatabaseSettings()

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

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

Returns
TypeDescription
Builder<DropDatabaseRequest,Empty>

getBackupSettings()

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

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

Returns
TypeDescription
Builder<GetBackupRequest,Backup>

getDatabaseDdlSettings()

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

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

Returns
TypeDescription
Builder<GetDatabaseDdlRequest,GetDatabaseDdlResponse>

getDatabaseSettings()

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

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

Returns
TypeDescription
Builder<GetDatabaseRequest,Database>

getIamPolicySettings()

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

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

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

listBackupOperationsSettings()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<ListDatabaseOperationsRequest,ListDatabaseOperationsResponse,ListDatabaseOperationsPagedResponse>

listDatabasesSettings()

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

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

Returns
TypeDescription
Builder<ListDatabasesRequest,ListDatabasesResponse,ListDatabasesPagedResponse>

restoreDatabaseOperationSettings()

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

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

Returns
TypeDescription
Builder<RestoreDatabaseRequest,Database,RestoreDatabaseMetadata>

restoreDatabaseSettings()

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

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

Returns
TypeDescription
Builder<RestoreDatabaseRequest,Operation>

setIamPolicySettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>

updateBackupSettings()

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

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

Returns
TypeDescription
Builder<UpdateBackupRequest,Backup>

updateDatabaseDdlOperationSettings()

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

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

Returns
TypeDescription
Builder<UpdateDatabaseDdlRequest,Empty,UpdateDatabaseDdlMetadata>

updateDatabaseDdlSettings()

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

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

Returns
TypeDescription
Builder<UpdateDatabaseDdlRequest,Operation>