public static class DatabaseAdminSettings.Builder extends ClientSettings.Builder<DatabaseAdminSettings,DatabaseAdminSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(DatabaseAdminSettings settings) |
protected |
Builder(DatabaseAdminStubSettings.Builder stubSettings) |
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(DatabaseAdminSettings settings)
protected Builder(DatabaseAdminStubSettings.Builder stubSettings)
public DatabaseAdminStubSettings.Builder getStubSettingsBuilder()
public DatabaseAdminSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public PagedCallSettings.Builder<ListDatabasesRequest,ListDatabasesResponse,DatabaseAdminClient.ListDatabasesPagedResponse> listDatabasesSettings()
public UnaryCallSettings.Builder<CreateDatabaseRequest,Operation> createDatabaseSettings()
public OperationCallSettings.Builder<CreateDatabaseRequest,Database,CreateDatabaseMetadata> createDatabaseOperationSettings()
public UnaryCallSettings.Builder<GetDatabaseRequest,Database> getDatabaseSettings()
public UnaryCallSettings.Builder<UpdateDatabaseDdlRequest,Operation> updateDatabaseDdlSettings()
public OperationCallSettings.Builder<UpdateDatabaseDdlRequest,Empty,UpdateDatabaseDdlMetadata> updateDatabaseDdlOperationSettings()
public UnaryCallSettings.Builder<DropDatabaseRequest,Empty> dropDatabaseSettings()
public UnaryCallSettings.Builder<GetDatabaseDdlRequest,GetDatabaseDdlResponse> getDatabaseDdlSettings()
public UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
public UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
public UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
public UnaryCallSettings.Builder<CreateBackupRequest,Operation> createBackupSettings()
public OperationCallSettings.Builder<CreateBackupRequest,Backup,CreateBackupMetadata> createBackupOperationSettings()
public UnaryCallSettings.Builder<CopyBackupRequest,Operation> copyBackupSettings()
public OperationCallSettings.Builder<CopyBackupRequest,Backup,CopyBackupMetadata> copyBackupOperationSettings()
public UnaryCallSettings.Builder<GetBackupRequest,Backup> getBackupSettings()
public UnaryCallSettings.Builder<UpdateBackupRequest,Backup> updateBackupSettings()
public UnaryCallSettings.Builder<DeleteBackupRequest,Empty> deleteBackupSettings()
public PagedCallSettings.Builder<ListBackupsRequest,ListBackupsResponse,DatabaseAdminClient.ListBackupsPagedResponse> listBackupsSettings()
public UnaryCallSettings.Builder<RestoreDatabaseRequest,Operation> restoreDatabaseSettings()
public OperationCallSettings.Builder<RestoreDatabaseRequest,Database,RestoreDatabaseMetadata> restoreDatabaseOperationSettings()
public PagedCallSettings.Builder<ListDatabaseOperationsRequest,ListDatabaseOperationsResponse,DatabaseAdminClient.ListDatabaseOperationsPagedResponse> listDatabaseOperationsSettings()
public PagedCallSettings.Builder<ListBackupOperationsRequest,ListBackupOperationsResponse,DatabaseAdminClient.ListBackupOperationsPagedResponse> listBackupOperationsSettings()
public DatabaseAdminSettings build() throws IOException
build
in class ClientSettings.Builder<DatabaseAdminSettings,DatabaseAdminSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.