Class DatabaseAdminStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<DatabaseAdminStubSettings,DatabaseAdminStubSettings.Builder>
com.google.cloud.spanner.admin.database.v1.stub.DatabaseAdminStubSettings.Builder
- Enclosing class:
- DatabaseAdminStubSettings
public static class DatabaseAdminStubSettings.Builder
extends StubSettings.Builder<DatabaseAdminStubSettings,DatabaseAdminStubSettings.Builder>
Builder for DatabaseAdminStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(DatabaseAdminStubSettings settings) -
Method Summary
Modifier and TypeMethodDescriptionReturns the builder for the settings used for calls to addSplitPoints.applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to copyBackup.Returns the builder for the settings used for calls to copyBackup.Returns the builder for the settings used for calls to createBackup.Returns the builder for the settings used for calls to createBackupSchedule.Returns the builder for the settings used for calls to createBackup.Returns the builder for the settings used for calls to createDatabase.Returns the builder for the settings used for calls to createDatabase.UnaryCallSettings.Builder<DeleteBackupScheduleRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteBackupSchedule.UnaryCallSettings.Builder<DeleteBackupRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteBackup.UnaryCallSettings.Builder<DropDatabaseRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to dropDatabase.Returns the builder for the settings used for calls to getBackupSchedule.Returns the builder for the settings used for calls to getBackup.Returns the builder for the settings used for calls to getDatabaseDdl.Returns the builder for the settings used for calls to getDatabase.Returns the builder for the settings used for calls to getIamPolicy.Returns the builder for the settings used for calls to internalUpdateGraph.PagedCallSettings.Builder<ListBackupOperationsRequest,ListBackupOperationsResponse, DatabaseAdminClient.ListBackupOperationsPagedResponse> Returns the builder for the settings used for calls to listBackupOperations.PagedCallSettings.Builder<ListBackupSchedulesRequest,ListBackupSchedulesResponse, DatabaseAdminClient.ListBackupSchedulesPagedResponse> Returns the builder for the settings used for calls to listBackupSchedules.PagedCallSettings.Builder<ListBackupsRequest,ListBackupsResponse, DatabaseAdminClient.ListBackupsPagedResponse> Returns the builder for the settings used for calls to listBackups.PagedCallSettings.Builder<ListDatabaseOperationsRequest,ListDatabaseOperationsResponse, DatabaseAdminClient.ListDatabaseOperationsPagedResponse> Returns the builder for the settings used for calls to listDatabaseOperations.PagedCallSettings.Builder<ListDatabaseRolesRequest,ListDatabaseRolesResponse, DatabaseAdminClient.ListDatabaseRolesPagedResponse> Returns the builder for the settings used for calls to listDatabaseRoles.PagedCallSettings.Builder<ListDatabasesRequest,ListDatabasesResponse, DatabaseAdminClient.ListDatabasesPagedResponse> Returns the builder for the settings used for calls to listDatabases.Returns the builder for the settings used for calls to restoreDatabase.Returns the builder for the settings used for calls to restoreDatabase.Returns the builder for the settings used for calls to setIamPolicy.Returns the builder for the settings used for calls to testIamPermissions.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Returns the builder for the settings used for calls to updateBackupSchedule.Returns the builder for the settings used for calls to updateBackup.OperationCallSettings.Builder<UpdateDatabaseDdlRequest,com.google.protobuf.Empty, UpdateDatabaseDdlMetadata> Returns the builder for the settings used for calls to updateDatabaseDdl.Returns the builder for the settings used for calls to updateDatabaseDdl.Returns the builder for the settings used for calls to updateDatabase.Returns the builder for the settings used for calls to updateDatabase.Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
listDatabasesSettings
public PagedCallSettings.Builder<ListDatabasesRequest,ListDatabasesResponse, listDatabasesSettings()DatabaseAdminClient.ListDatabasesPagedResponse> Returns the builder for the settings used for calls to listDatabases. -
createDatabaseSettings
Returns the builder for the settings used for calls to createDatabase. -
createDatabaseOperationSettings
public OperationCallSettings.Builder<CreateDatabaseRequest,Database, createDatabaseOperationSettings()CreateDatabaseMetadata> Returns the builder for the settings used for calls to createDatabase. -
getDatabaseSettings
Returns the builder for the settings used for calls to getDatabase. -
updateDatabaseSettings
Returns the builder for the settings used for calls to updateDatabase. -
updateDatabaseOperationSettings
public OperationCallSettings.Builder<UpdateDatabaseRequest,Database, updateDatabaseOperationSettings()UpdateDatabaseMetadata> Returns the builder for the settings used for calls to updateDatabase. -
updateDatabaseDdlSettings
Returns the builder for the settings used for calls to updateDatabaseDdl. -
updateDatabaseDdlOperationSettings
public OperationCallSettings.Builder<UpdateDatabaseDdlRequest,com.google.protobuf.Empty, updateDatabaseDdlOperationSettings()UpdateDatabaseDdlMetadata> Returns the builder for the settings used for calls to updateDatabaseDdl. -
dropDatabaseSettings
public UnaryCallSettings.Builder<DropDatabaseRequest,com.google.protobuf.Empty> dropDatabaseSettings()Returns the builder for the settings used for calls to dropDatabase. -
getDatabaseDdlSettings
public UnaryCallSettings.Builder<GetDatabaseDdlRequest,GetDatabaseDdlResponse> getDatabaseDdlSettings()Returns the builder for the settings used for calls to getDatabaseDdl. -
setIamPolicySettings
Returns the builder for the settings used for calls to setIamPolicy. -
getIamPolicySettings
Returns the builder for the settings used for calls to getIamPolicy. -
testIamPermissionsSettings
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()Returns the builder for the settings used for calls to testIamPermissions. -
createBackupSettings
Returns the builder for the settings used for calls to createBackup. -
createBackupOperationSettings
public OperationCallSettings.Builder<CreateBackupRequest,Backup, createBackupOperationSettings()CreateBackupMetadata> Returns the builder for the settings used for calls to createBackup. -
copyBackupSettings
Returns the builder for the settings used for calls to copyBackup. -
copyBackupOperationSettings
public OperationCallSettings.Builder<CopyBackupRequest,Backup, copyBackupOperationSettings()CopyBackupMetadata> Returns the builder for the settings used for calls to copyBackup. -
getBackupSettings
Returns the builder for the settings used for calls to getBackup. -
updateBackupSettings
Returns the builder for the settings used for calls to updateBackup. -
deleteBackupSettings
public UnaryCallSettings.Builder<DeleteBackupRequest,com.google.protobuf.Empty> deleteBackupSettings()Returns the builder for the settings used for calls to deleteBackup. -
listBackupsSettings
public PagedCallSettings.Builder<ListBackupsRequest,ListBackupsResponse, listBackupsSettings()DatabaseAdminClient.ListBackupsPagedResponse> Returns the builder for the settings used for calls to listBackups. -
restoreDatabaseSettings
Returns the builder for the settings used for calls to restoreDatabase. -
restoreDatabaseOperationSettings
public OperationCallSettings.Builder<RestoreDatabaseRequest,Database, restoreDatabaseOperationSettings()RestoreDatabaseMetadata> Returns the builder for the settings used for calls to restoreDatabase. -
listDatabaseOperationsSettings
public PagedCallSettings.Builder<ListDatabaseOperationsRequest,ListDatabaseOperationsResponse, listDatabaseOperationsSettings()DatabaseAdminClient.ListDatabaseOperationsPagedResponse> Returns the builder for the settings used for calls to listDatabaseOperations. -
listBackupOperationsSettings
public PagedCallSettings.Builder<ListBackupOperationsRequest,ListBackupOperationsResponse, listBackupOperationsSettings()DatabaseAdminClient.ListBackupOperationsPagedResponse> Returns the builder for the settings used for calls to listBackupOperations. -
listDatabaseRolesSettings
public PagedCallSettings.Builder<ListDatabaseRolesRequest,ListDatabaseRolesResponse, listDatabaseRolesSettings()DatabaseAdminClient.ListDatabaseRolesPagedResponse> Returns the builder for the settings used for calls to listDatabaseRoles. -
addSplitPointsSettings
public UnaryCallSettings.Builder<AddSplitPointsRequest,AddSplitPointsResponse> addSplitPointsSettings()Returns the builder for the settings used for calls to addSplitPoints. -
createBackupScheduleSettings
public UnaryCallSettings.Builder<CreateBackupScheduleRequest,BackupSchedule> createBackupScheduleSettings()Returns the builder for the settings used for calls to createBackupSchedule. -
getBackupScheduleSettings
public UnaryCallSettings.Builder<GetBackupScheduleRequest,BackupSchedule> getBackupScheduleSettings()Returns the builder for the settings used for calls to getBackupSchedule. -
updateBackupScheduleSettings
public UnaryCallSettings.Builder<UpdateBackupScheduleRequest,BackupSchedule> updateBackupScheduleSettings()Returns the builder for the settings used for calls to updateBackupSchedule. -
deleteBackupScheduleSettings
public UnaryCallSettings.Builder<DeleteBackupScheduleRequest,com.google.protobuf.Empty> deleteBackupScheduleSettings()Returns the builder for the settings used for calls to deleteBackupSchedule. -
listBackupSchedulesSettings
public PagedCallSettings.Builder<ListBackupSchedulesRequest,ListBackupSchedulesResponse, listBackupSchedulesSettings()DatabaseAdminClient.ListBackupSchedulesPagedResponse> Returns the builder for the settings used for calls to listBackupSchedules. -
internalUpdateGraphOperationSettings
public UnaryCallSettings.Builder<InternalUpdateGraphOperationRequest,InternalUpdateGraphOperationResponse> internalUpdateGraphOperationSettings()Returns the builder for the settings used for calls to internalUpdateGraph. -
build
- Specified by:
buildin classStubSettings.Builder<DatabaseAdminStubSettings,DatabaseAdminStubSettings.Builder> - Throws:
IOException
-