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
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(DatabaseAdminStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.DatabaseAdminStubSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<CopyBackupRequest,Backup,CopyBackupMetadata>
copyBackupOperationSettings()
Returns the builder for the settings used for calls to copyBackup.com.google.api.gax.rpc.UnaryCallSettings.Builder<CopyBackupRequest,com.google.longrunning.Operation>
copyBackupSettings()
Returns the builder for the settings used for calls to copyBackup.com.google.api.gax.rpc.OperationCallSettings.Builder<CreateBackupRequest,Backup,CreateBackupMetadata>
createBackupOperationSettings()
Returns the builder for the settings used for calls to createBackup.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateBackupRequest,com.google.longrunning.Operation>
createBackupSettings()
Returns the builder for the settings used for calls to createBackup.com.google.api.gax.rpc.OperationCallSettings.Builder<CreateDatabaseRequest,Database,CreateDatabaseMetadata>
createDatabaseOperationSettings()
Returns the builder for the settings used for calls to createDatabase.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateDatabaseRequest,com.google.longrunning.Operation>
createDatabaseSettings()
Returns the builder for the settings used for calls to createDatabase.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteBackupRequest,com.google.protobuf.Empty>
deleteBackupSettings()
Returns the builder for the settings used for calls to deleteBackup.com.google.api.gax.rpc.UnaryCallSettings.Builder<DropDatabaseRequest,com.google.protobuf.Empty>
dropDatabaseSettings()
Returns the builder for the settings used for calls to dropDatabase.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetBackupRequest,Backup>
getBackupSettings()
Returns the builder for the settings used for calls to getBackup.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDatabaseDdlRequest,GetDatabaseDdlResponse>
getDatabaseDdlSettings()
Returns the builder for the settings used for calls to getDatabaseDdl.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDatabaseRequest,Database>
getDatabaseSettings()
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>
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.com.google.api.gax.rpc.PagedCallSettings.Builder<ListBackupOperationsRequest,ListBackupOperationsResponse,DatabaseAdminClient.ListBackupOperationsPagedResponse>
listBackupOperationsSettings()
Returns the builder for the settings used for calls to listBackupOperations.com.google.api.gax.rpc.PagedCallSettings.Builder<ListBackupsRequest,ListBackupsResponse,DatabaseAdminClient.ListBackupsPagedResponse>
listBackupsSettings()
Returns the builder for the settings used for calls to listBackups.com.google.api.gax.rpc.PagedCallSettings.Builder<ListDatabaseOperationsRequest,ListDatabaseOperationsResponse,DatabaseAdminClient.ListDatabaseOperationsPagedResponse>
listDatabaseOperationsSettings()
Returns the builder for the settings used for calls to listDatabaseOperations.com.google.api.gax.rpc.PagedCallSettings.Builder<ListDatabaseRolesRequest,ListDatabaseRolesResponse,DatabaseAdminClient.ListDatabaseRolesPagedResponse>
listDatabaseRolesSettings()
Returns the builder for the settings used for calls to listDatabaseRoles.com.google.api.gax.rpc.PagedCallSettings.Builder<ListDatabasesRequest,ListDatabasesResponse,DatabaseAdminClient.ListDatabasesPagedResponse>
listDatabasesSettings()
Returns the builder for the settings used for calls to listDatabases.com.google.api.gax.rpc.OperationCallSettings.Builder<RestoreDatabaseRequest,Database,RestoreDatabaseMetadata>
restoreDatabaseOperationSettings()
Returns the builder for the settings used for calls to restoreDatabase.com.google.api.gax.rpc.UnaryCallSettings.Builder<RestoreDatabaseRequest,com.google.longrunning.Operation>
restoreDatabaseSettings()
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>
setIamPolicySettings()
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>
testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateBackupRequest,Backup>
updateBackupSettings()
Returns the builder for the settings used for calls to updateBackup.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateDatabaseDdlRequest,com.google.protobuf.Empty,UpdateDatabaseDdlMetadata>
updateDatabaseDdlOperationSettings()
Returns the builder for the settings used for calls to updateDatabaseDdl.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateDatabaseDdlRequest,com.google.longrunning.Operation>
updateDatabaseDdlSettings()
Returns the builder for the settings used for calls to updateDatabaseDdl.-
Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(DatabaseAdminStubSettings settings)
-
-
Method Detail
-
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,DatabaseAdminClient.ListDatabasesPagedResponse> listDatabasesSettings()
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,CreateDatabaseMetadata> createDatabaseOperationSettings()
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.
-
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,UpdateDatabaseDdlMetadata> updateDatabaseDdlOperationSettings()
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,CreateBackupMetadata> createBackupOperationSettings()
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,CopyBackupMetadata> copyBackupOperationSettings()
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,DatabaseAdminClient.ListBackupsPagedResponse> listBackupsSettings()
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,RestoreDatabaseMetadata> restoreDatabaseOperationSettings()
Returns the builder for the settings used for calls to restoreDatabase.
-
listDatabaseOperationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListDatabaseOperationsRequest,ListDatabaseOperationsResponse,DatabaseAdminClient.ListDatabaseOperationsPagedResponse> listDatabaseOperationsSettings()
Returns the builder for the settings used for calls to listDatabaseOperations.
-
listBackupOperationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListBackupOperationsRequest,ListBackupOperationsResponse,DatabaseAdminClient.ListBackupOperationsPagedResponse> listBackupOperationsSettings()
Returns the builder for the settings used for calls to listBackupOperations.
-
listDatabaseRolesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListDatabaseRolesRequest,ListDatabaseRolesResponse,DatabaseAdminClient.ListDatabaseRolesPagedResponse> listDatabaseRolesSettings()
Returns the builder for the settings used for calls to listDatabaseRoles.
-
build
public DatabaseAdminStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<DatabaseAdminStubSettings,DatabaseAdminStubSettings.Builder>
- Throws:
IOException
-
-