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 com.google.api.gax.rpc.StubSettings.Builder<DatabaseAdminStubSettings,DatabaseAdminStubSettings.Builder>
Builder for DatabaseAdminStubSettings.
-
Constructor Summary
ModifierConstructorDescriptionprotected
Builder()
protected
Builder
(com.google.api.gax.rpc.ClientContext clientContext) protected
Builder
(DatabaseAdminStubSettings settings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods
(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()
com.google.api.gax.rpc.OperationCallSettings.Builder<CopyBackupRequest,
Backup, CopyBackupMetadata> Returns the builder for the settings used for calls to copyBackup.com.google.api.gax.rpc.UnaryCallSettings.Builder<CopyBackupRequest,
com.google.longrunning.Operation> Returns the builder for the settings used for calls to copyBackup.com.google.api.gax.rpc.OperationCallSettings.Builder<CreateBackupRequest,
Backup, CreateBackupMetadata> Returns the builder for the settings used for calls to createBackup.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateBackupRequest,
com.google.longrunning.Operation> Returns the builder for the settings used for calls to createBackup.com.google.api.gax.rpc.OperationCallSettings.Builder<CreateDatabaseRequest,
Database, CreateDatabaseMetadata> Returns the builder for the settings used for calls to createDatabase.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateDatabaseRequest,
com.google.longrunning.Operation> Returns the builder for the settings used for calls to createDatabase.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteBackupRequest,
com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteBackup.com.google.api.gax.rpc.UnaryCallSettings.Builder<DropDatabaseRequest,
com.google.protobuf.Empty> Returns the builder for the settings used for calls to dropDatabase.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetBackupRequest,
Backup> Returns the builder for the settings used for calls to getBackup.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDatabaseDdlRequest,
GetDatabaseDdlResponse> Returns the builder for the settings used for calls to getDatabaseDdl.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDatabaseRequest,
Database> Returns the builder for the settings used for calls to getDatabase.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,
com.google.iam.v1.Policy> Returns the builder for the settings used for calls to getIamPolicy.com.google.api.gax.rpc.PagedCallSettings.Builder<ListBackupOperationsRequest,
ListBackupOperationsResponse, DatabaseAdminClient.ListBackupOperationsPagedResponse> Returns the builder for the settings used for calls to listBackupOperations.com.google.api.gax.rpc.PagedCallSettings.Builder<ListBackupsRequest,
ListBackupsResponse, DatabaseAdminClient.ListBackupsPagedResponse> Returns the builder for the settings used for calls to listBackups.com.google.api.gax.rpc.PagedCallSettings.Builder<ListDatabaseOperationsRequest,
ListDatabaseOperationsResponse, DatabaseAdminClient.ListDatabaseOperationsPagedResponse> Returns the builder for the settings used for calls to listDatabaseOperations.com.google.api.gax.rpc.PagedCallSettings.Builder<ListDatabaseRolesRequest,
ListDatabaseRolesResponse, DatabaseAdminClient.ListDatabaseRolesPagedResponse> Returns the builder for the settings used for calls to listDatabaseRoles.com.google.api.gax.rpc.PagedCallSettings.Builder<ListDatabasesRequest,
ListDatabasesResponse, DatabaseAdminClient.ListDatabasesPagedResponse> Returns the builder for the settings used for calls to listDatabases.com.google.api.gax.rpc.OperationCallSettings.Builder<RestoreDatabaseRequest,
Database, RestoreDatabaseMetadata> Returns the builder for the settings used for calls to restoreDatabase.com.google.api.gax.rpc.UnaryCallSettings.Builder<RestoreDatabaseRequest,
com.google.longrunning.Operation> Returns the builder for the settings used for calls to restoreDatabase.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,
com.google.iam.v1.Policy> Returns the builder for the settings used for calls to setIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,
com.google.iam.v1.TestIamPermissionsResponse> Returns the builder for the settings used for calls to testIamPermissions.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,
?>> com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateBackupRequest,
Backup> Returns the builder for the settings used for calls to updateBackup.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateDatabaseDdlRequest,
com.google.protobuf.Empty, UpdateDatabaseDdlMetadata> Returns the builder for the settings used for calls to updateDatabaseDdl.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateDatabaseDdlRequest,
com.google.longrunning.Operation> Returns the builder for the settings used for calls to updateDatabaseDdl.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateDatabaseRequest,
Database, UpdateDatabaseMetadata> Returns the builder for the settings used for calls to updateDatabase.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateDatabaseRequest,
com.google.longrunning.Operation> Returns the builder for the settings used for calls to updateDatabase.Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext) -
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public DatabaseAdminStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
listDatabasesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListDatabasesRequest,ListDatabasesResponse, listDatabasesSettings()DatabaseAdminClient.ListDatabasesPagedResponse> Returns the builder for the settings used for calls to listDatabases. -
createDatabaseSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateDatabaseRequest,com.google.longrunning.Operation> createDatabaseSettings()Returns the builder for the settings used for calls to createDatabase. -
createDatabaseOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateDatabaseRequest,Database, createDatabaseOperationSettings()CreateDatabaseMetadata> Returns the builder for the settings used for calls to createDatabase. -
getDatabaseSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDatabaseRequest,Database> getDatabaseSettings()Returns the builder for the settings used for calls to getDatabase. -
updateDatabaseSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateDatabaseRequest,com.google.longrunning.Operation> updateDatabaseSettings()Returns the builder for the settings used for calls to updateDatabase. -
updateDatabaseOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateDatabaseRequest,Database, updateDatabaseOperationSettings()UpdateDatabaseMetadata> Returns the builder for the settings used for calls to updateDatabase. -
updateDatabaseDdlSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateDatabaseDdlRequest,com.google.longrunning.Operation> updateDatabaseDdlSettings()Returns the builder for the settings used for calls to updateDatabaseDdl. -
updateDatabaseDdlOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateDatabaseDdlRequest,com.google.protobuf.Empty, updateDatabaseDdlOperationSettings()UpdateDatabaseDdlMetadata> Returns the builder for the settings used for calls to updateDatabaseDdl. -
dropDatabaseSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DropDatabaseRequest,com.google.protobuf.Empty> dropDatabaseSettings()Returns the builder for the settings used for calls to dropDatabase. -
getDatabaseDdlSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDatabaseDdlRequest,GetDatabaseDdlResponse> getDatabaseDdlSettings()Returns the builder for the settings used for calls to getDatabaseDdl. -
setIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()Returns the builder for the settings used for calls to setIamPolicy. -
getIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()Returns the builder for the settings used for calls to getIamPolicy. -
testIamPermissionsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()Returns the builder for the settings used for calls to testIamPermissions. -
createBackupSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateBackupRequest,com.google.longrunning.Operation> createBackupSettings()Returns the builder for the settings used for calls to createBackup. -
createBackupOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateBackupRequest,Backup, createBackupOperationSettings()CreateBackupMetadata> Returns the builder for the settings used for calls to createBackup. -
copyBackupSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CopyBackupRequest,com.google.longrunning.Operation> copyBackupSettings()Returns the builder for the settings used for calls to copyBackup. -
copyBackupOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<CopyBackupRequest,Backup, copyBackupOperationSettings()CopyBackupMetadata> Returns the builder for the settings used for calls to copyBackup. -
getBackupSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetBackupRequest,Backup> getBackupSettings()Returns the builder for the settings used for calls to getBackup. -
updateBackupSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateBackupRequest,Backup> updateBackupSettings()Returns the builder for the settings used for calls to updateBackup. -
deleteBackupSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteBackupRequest,com.google.protobuf.Empty> deleteBackupSettings()Returns the builder for the settings used for calls to deleteBackup. -
listBackupsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListBackupsRequest,ListBackupsResponse, listBackupsSettings()DatabaseAdminClient.ListBackupsPagedResponse> Returns the builder for the settings used for calls to listBackups. -
restoreDatabaseSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RestoreDatabaseRequest,com.google.longrunning.Operation> restoreDatabaseSettings()Returns the builder for the settings used for calls to restoreDatabase. -
restoreDatabaseOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<RestoreDatabaseRequest,Database, restoreDatabaseOperationSettings()RestoreDatabaseMetadata> Returns the builder for the settings used for calls to restoreDatabase. -
listDatabaseOperationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListDatabaseOperationsRequest,ListDatabaseOperationsResponse, listDatabaseOperationsSettings()DatabaseAdminClient.ListDatabaseOperationsPagedResponse> Returns the builder for the settings used for calls to listDatabaseOperations. -
listBackupOperationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListBackupOperationsRequest,ListBackupOperationsResponse, listBackupOperationsSettings()DatabaseAdminClient.ListBackupOperationsPagedResponse> Returns the builder for the settings used for calls to listBackupOperations. -
listDatabaseRolesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListDatabaseRolesRequest,ListDatabaseRolesResponse, listDatabaseRolesSettings()DatabaseAdminClient.ListDatabaseRolesPagedResponse> Returns the builder for the settings used for calls to listDatabaseRoles. -
build
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<DatabaseAdminStubSettings,
DatabaseAdminStubSettings.Builder> - Throws:
IOException
-