Class BackupDRSettings.Builder (0.10.0)

public static class BackupDRSettings.Builder extends ClientSettings.Builder<BackupDRSettings,BackupDRSettings.Builder>

Builder for BackupDRSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > BackupDRSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(BackupDRSettings settings)

protected Builder(BackupDRSettings settings)
Parameter
Name Description
settings BackupDRSettings

Builder(BackupDRStubSettings.Builder stubSettings)

protected Builder(BackupDRStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings BackupDRStubSettings.Builder

Methods

abandonBackupOperationSettings()

public OperationCallSettings.Builder<AbandonBackupRequest,Empty,OperationMetadata> abandonBackupOperationSettings()

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

Returns
Type Description
Builder<AbandonBackupRequest,Empty,OperationMetadata>

abandonBackupSettings()

public UnaryCallSettings.Builder<AbandonBackupRequest,Operation> abandonBackupSettings()

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

Returns
Type Description
Builder<AbandonBackupRequest,Operation>

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

public BackupDRSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
BackupDRSettings.Builder

build()

public BackupDRSettings build()
Returns
Type Description
BackupDRSettings
Overrides
Exceptions
Type Description
IOException

createBackupPlanAssociationOperationSettings()

public OperationCallSettings.Builder<CreateBackupPlanAssociationRequest,BackupPlanAssociation,OperationMetadata> createBackupPlanAssociationOperationSettings()

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

Returns
Type Description
Builder<CreateBackupPlanAssociationRequest,BackupPlanAssociation,OperationMetadata>

createBackupPlanAssociationSettings()

public UnaryCallSettings.Builder<CreateBackupPlanAssociationRequest,Operation> createBackupPlanAssociationSettings()

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

Returns
Type Description
Builder<CreateBackupPlanAssociationRequest,Operation>

createBackupPlanOperationSettings()

public OperationCallSettings.Builder<CreateBackupPlanRequest,BackupPlan,OperationMetadata> createBackupPlanOperationSettings()

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

Returns
Type Description
Builder<CreateBackupPlanRequest,BackupPlan,OperationMetadata>

createBackupPlanSettings()

public UnaryCallSettings.Builder<CreateBackupPlanRequest,Operation> createBackupPlanSettings()

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

Returns
Type Description
Builder<CreateBackupPlanRequest,Operation>

createBackupVaultOperationSettings()

public OperationCallSettings.Builder<CreateBackupVaultRequest,BackupVault,OperationMetadata> createBackupVaultOperationSettings()

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

Returns
Type Description
Builder<CreateBackupVaultRequest,BackupVault,OperationMetadata>

createBackupVaultSettings()

public UnaryCallSettings.Builder<CreateBackupVaultRequest,Operation> createBackupVaultSettings()

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

Returns
Type Description
Builder<CreateBackupVaultRequest,Operation>

createManagementServerOperationSettings()

public OperationCallSettings.Builder<CreateManagementServerRequest,ManagementServer,OperationMetadata> createManagementServerOperationSettings()

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

Returns
Type Description
Builder<CreateManagementServerRequest,ManagementServer,OperationMetadata>

createManagementServerSettings()

public UnaryCallSettings.Builder<CreateManagementServerRequest,Operation> createManagementServerSettings()

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

Returns
Type Description
Builder<CreateManagementServerRequest,Operation>

deleteBackupOperationSettings()

public OperationCallSettings.Builder<DeleteBackupRequest,Backup,OperationMetadata> deleteBackupOperationSettings()

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

Returns
Type Description
Builder<DeleteBackupRequest,Backup,OperationMetadata>

deleteBackupPlanAssociationOperationSettings()

public OperationCallSettings.Builder<DeleteBackupPlanAssociationRequest,Empty,OperationMetadata> deleteBackupPlanAssociationOperationSettings()

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

Returns
Type Description
Builder<DeleteBackupPlanAssociationRequest,Empty,OperationMetadata>

deleteBackupPlanAssociationSettings()

public UnaryCallSettings.Builder<DeleteBackupPlanAssociationRequest,Operation> deleteBackupPlanAssociationSettings()

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

Returns
Type Description
Builder<DeleteBackupPlanAssociationRequest,Operation>

deleteBackupPlanOperationSettings()

public OperationCallSettings.Builder<DeleteBackupPlanRequest,Empty,OperationMetadata> deleteBackupPlanOperationSettings()

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

Returns
Type Description
Builder<DeleteBackupPlanRequest,Empty,OperationMetadata>

deleteBackupPlanSettings()

public UnaryCallSettings.Builder<DeleteBackupPlanRequest,Operation> deleteBackupPlanSettings()

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

Returns
Type Description
Builder<DeleteBackupPlanRequest,Operation>

deleteBackupSettings()

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

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

Returns
Type Description
Builder<DeleteBackupRequest,Operation>

deleteBackupVaultOperationSettings()

public OperationCallSettings.Builder<DeleteBackupVaultRequest,Empty,OperationMetadata> deleteBackupVaultOperationSettings()

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

Returns
Type Description
Builder<DeleteBackupVaultRequest,Empty,OperationMetadata>

deleteBackupVaultSettings()

public UnaryCallSettings.Builder<DeleteBackupVaultRequest,Operation> deleteBackupVaultSettings()

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

Returns
Type Description
Builder<DeleteBackupVaultRequest,Operation>

deleteManagementServerOperationSettings()

public OperationCallSettings.Builder<DeleteManagementServerRequest,Empty,OperationMetadata> deleteManagementServerOperationSettings()

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

Returns
Type Description
Builder<DeleteManagementServerRequest,Empty,OperationMetadata>

deleteManagementServerSettings()

public UnaryCallSettings.Builder<DeleteManagementServerRequest,Operation> deleteManagementServerSettings()

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

Returns
Type Description
Builder<DeleteManagementServerRequest,Operation>

fetchAccessTokenSettings()

public UnaryCallSettings.Builder<FetchAccessTokenRequest,FetchAccessTokenResponse> fetchAccessTokenSettings()

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

Returns
Type Description
Builder<FetchAccessTokenRequest,FetchAccessTokenResponse>

fetchUsableBackupVaultsSettings()

public PagedCallSettings.Builder<FetchUsableBackupVaultsRequest,FetchUsableBackupVaultsResponse,BackupDRClient.FetchUsableBackupVaultsPagedResponse> fetchUsableBackupVaultsSettings()

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

Returns
Type Description
Builder<FetchUsableBackupVaultsRequest,FetchUsableBackupVaultsResponse,FetchUsableBackupVaultsPagedResponse>

finalizeBackupOperationSettings()

public OperationCallSettings.Builder<FinalizeBackupRequest,Backup,OperationMetadata> finalizeBackupOperationSettings()

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

Returns
Type Description
Builder<FinalizeBackupRequest,Backup,OperationMetadata>

finalizeBackupSettings()

public UnaryCallSettings.Builder<FinalizeBackupRequest,Operation> finalizeBackupSettings()

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

Returns
Type Description
Builder<FinalizeBackupRequest,Operation>

getBackupPlanAssociationSettings()

public UnaryCallSettings.Builder<GetBackupPlanAssociationRequest,BackupPlanAssociation> getBackupPlanAssociationSettings()

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

Returns
Type Description
Builder<GetBackupPlanAssociationRequest,BackupPlanAssociation>

getBackupPlanSettings()

public UnaryCallSettings.Builder<GetBackupPlanRequest,BackupPlan> getBackupPlanSettings()

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

Returns
Type Description
Builder<GetBackupPlanRequest,BackupPlan>

getBackupSettings()

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

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

Returns
Type Description
Builder<GetBackupRequest,Backup>

getBackupVaultSettings()

public UnaryCallSettings.Builder<GetBackupVaultRequest,BackupVault> getBackupVaultSettings()

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

Returns
Type Description
Builder<GetBackupVaultRequest,BackupVault>

getDataSourceSettings()

public UnaryCallSettings.Builder<GetDataSourceRequest,DataSource> getDataSourceSettings()

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

Returns
Type Description
Builder<GetDataSourceRequest,DataSource>

getIamPolicySettings()

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

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

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

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getManagementServerSettings()

public UnaryCallSettings.Builder<GetManagementServerRequest,ManagementServer> getManagementServerSettings()

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

Returns
Type Description
Builder<GetManagementServerRequest,ManagementServer>

getStubSettingsBuilder()

public BackupDRStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
BackupDRStubSettings.Builder

initiateBackupSettings()

public UnaryCallSettings.Builder<InitiateBackupRequest,InitiateBackupResponse> initiateBackupSettings()

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

Returns
Type Description
Builder<InitiateBackupRequest,InitiateBackupResponse>

listBackupPlanAssociationsSettings()

public PagedCallSettings.Builder<ListBackupPlanAssociationsRequest,ListBackupPlanAssociationsResponse,BackupDRClient.ListBackupPlanAssociationsPagedResponse> listBackupPlanAssociationsSettings()

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

Returns
Type Description
Builder<ListBackupPlanAssociationsRequest,ListBackupPlanAssociationsResponse,ListBackupPlanAssociationsPagedResponse>

listBackupPlansSettings()

public PagedCallSettings.Builder<ListBackupPlansRequest,ListBackupPlansResponse,BackupDRClient.ListBackupPlansPagedResponse> listBackupPlansSettings()

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

Returns
Type Description
Builder<ListBackupPlansRequest,ListBackupPlansResponse,ListBackupPlansPagedResponse>

listBackupVaultsSettings()

public PagedCallSettings.Builder<ListBackupVaultsRequest,ListBackupVaultsResponse,BackupDRClient.ListBackupVaultsPagedResponse> listBackupVaultsSettings()

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

Returns
Type Description
Builder<ListBackupVaultsRequest,ListBackupVaultsResponse,ListBackupVaultsPagedResponse>

listBackupsSettings()

public PagedCallSettings.Builder<ListBackupsRequest,ListBackupsResponse,BackupDRClient.ListBackupsPagedResponse> listBackupsSettings()

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

Returns
Type Description
Builder<ListBackupsRequest,ListBackupsResponse,ListBackupsPagedResponse>

listDataSourcesSettings()

public PagedCallSettings.Builder<ListDataSourcesRequest,ListDataSourcesResponse,BackupDRClient.ListDataSourcesPagedResponse> listDataSourcesSettings()

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

Returns
Type Description
Builder<ListDataSourcesRequest,ListDataSourcesResponse,ListDataSourcesPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,BackupDRClient.ListLocationsPagedResponse> listLocationsSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

listManagementServersSettings()

public PagedCallSettings.Builder<ListManagementServersRequest,ListManagementServersResponse,BackupDRClient.ListManagementServersPagedResponse> listManagementServersSettings()

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

Returns
Type Description
Builder<ListManagementServersRequest,ListManagementServersResponse,ListManagementServersPagedResponse>

removeDataSourceOperationSettings()

public OperationCallSettings.Builder<RemoveDataSourceRequest,Empty,OperationMetadata> removeDataSourceOperationSettings()

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

Returns
Type Description
Builder<RemoveDataSourceRequest,Empty,OperationMetadata>

removeDataSourceSettings()

public UnaryCallSettings.Builder<RemoveDataSourceRequest,Operation> removeDataSourceSettings()

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

Returns
Type Description
Builder<RemoveDataSourceRequest,Operation>

restoreBackupOperationSettings()

public OperationCallSettings.Builder<RestoreBackupRequest,RestoreBackupResponse,OperationMetadata> restoreBackupOperationSettings()

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

Returns
Type Description
Builder<RestoreBackupRequest,RestoreBackupResponse,OperationMetadata>

restoreBackupSettings()

public UnaryCallSettings.Builder<RestoreBackupRequest,Operation> restoreBackupSettings()

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

Returns
Type Description
Builder<RestoreBackupRequest,Operation>

setIamPolicySettings()

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

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

Returns
Type Description
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

setInternalStatusOperationSettings()

public OperationCallSettings.Builder<SetInternalStatusRequest,SetInternalStatusResponse,OperationMetadata> setInternalStatusOperationSettings()

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

Returns
Type Description
Builder<SetInternalStatusRequest,SetInternalStatusResponse,OperationMetadata>

setInternalStatusSettings()

public UnaryCallSettings.Builder<SetInternalStatusRequest,Operation> setInternalStatusSettings()

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

Returns
Type Description
Builder<SetInternalStatusRequest,Operation>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()

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

Returns
Type Description
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

triggerBackupOperationSettings()

public OperationCallSettings.Builder<TriggerBackupRequest,BackupPlanAssociation,OperationMetadata> triggerBackupOperationSettings()

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

Returns
Type Description
Builder<TriggerBackupRequest,BackupPlanAssociation,OperationMetadata>

triggerBackupSettings()

public UnaryCallSettings.Builder<TriggerBackupRequest,Operation> triggerBackupSettings()

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

Returns
Type Description
Builder<TriggerBackupRequest,Operation>

updateBackupOperationSettings()

public OperationCallSettings.Builder<UpdateBackupRequest,Backup,OperationMetadata> updateBackupOperationSettings()

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

Returns
Type Description
Builder<UpdateBackupRequest,Backup,OperationMetadata>

updateBackupSettings()

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

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

Returns
Type Description
Builder<UpdateBackupRequest,Operation>

updateBackupVaultOperationSettings()

public OperationCallSettings.Builder<UpdateBackupVaultRequest,BackupVault,OperationMetadata> updateBackupVaultOperationSettings()

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

Returns
Type Description
Builder<UpdateBackupVaultRequest,BackupVault,OperationMetadata>

updateBackupVaultSettings()

public UnaryCallSettings.Builder<UpdateBackupVaultRequest,Operation> updateBackupVaultSettings()

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

Returns
Type Description
Builder<UpdateBackupVaultRequest,Operation>

updateDataSourceOperationSettings()

public OperationCallSettings.Builder<UpdateDataSourceRequest,DataSource,OperationMetadata> updateDataSourceOperationSettings()

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

Returns
Type Description
Builder<UpdateDataSourceRequest,DataSource,OperationMetadata>

updateDataSourceSettings()

public UnaryCallSettings.Builder<UpdateDataSourceRequest,Operation> updateDataSourceSettings()

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

Returns
Type Description
Builder<UpdateDataSourceRequest,Operation>