Class BackupDRStubSettings.Builder (0.11.0)

public static class BackupDRStubSettings.Builder extends StubSettings.Builder<BackupDRStubSettings,BackupDRStubSettings.Builder>

Builder for BackupDRStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > BackupDRStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(BackupDRStubSettings settings)

protected Builder(BackupDRStubSettings settings)
Parameter
Name Description
settings BackupDRStubSettings

Methods

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

public BackupDRStubSettings.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
BackupDRStubSettings.Builder

build()

public BackupDRStubSettings build()
Returns
Type Description
BackupDRStubSettings
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>

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>

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>

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>

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>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>

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>