Class BackupForGKEStubSettings.Builder (0.51.0)

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

Builder for BackupForGKEStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > BackupForGKEStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(BackupForGKEStubSettings settings)

protected Builder(BackupForGKEStubSettings settings)
Parameter
Name Description
settings BackupForGKEStubSettings

Methods

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

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

build()

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

createBackupOperationSettings()

public OperationCallSettings.Builder<CreateBackupRequest,Backup,OperationMetadata> createBackupOperationSettings()

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

Returns
Type Description
Builder<CreateBackupRequest,Backup,OperationMetadata>

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>

createBackupSettings()

public UnaryCallSettings.Builder<CreateBackupRequest,Operation> createBackupSettings()

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

Returns
Type Description
Builder<CreateBackupRequest,Operation>

createRestoreOperationSettings()

public OperationCallSettings.Builder<CreateRestoreRequest,Restore,OperationMetadata> createRestoreOperationSettings()

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

Returns
Type Description
Builder<CreateRestoreRequest,Restore,OperationMetadata>

createRestorePlanOperationSettings()

public OperationCallSettings.Builder<CreateRestorePlanRequest,RestorePlan,OperationMetadata> createRestorePlanOperationSettings()

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

Returns
Type Description
Builder<CreateRestorePlanRequest,RestorePlan,OperationMetadata>

createRestorePlanSettings()

public UnaryCallSettings.Builder<CreateRestorePlanRequest,Operation> createRestorePlanSettings()

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

Returns
Type Description
Builder<CreateRestorePlanRequest,Operation>

createRestoreSettings()

public UnaryCallSettings.Builder<CreateRestoreRequest,Operation> createRestoreSettings()

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

Returns
Type Description
Builder<CreateRestoreRequest,Operation>

deleteBackupOperationSettings()

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

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

Returns
Type Description
Builder<DeleteBackupRequest,Empty,OperationMetadata>

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>

deleteRestoreOperationSettings()

public OperationCallSettings.Builder<DeleteRestoreRequest,Empty,OperationMetadata> deleteRestoreOperationSettings()

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

Returns
Type Description
Builder<DeleteRestoreRequest,Empty,OperationMetadata>

deleteRestorePlanOperationSettings()

public OperationCallSettings.Builder<DeleteRestorePlanRequest,Empty,OperationMetadata> deleteRestorePlanOperationSettings()

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

Returns
Type Description
Builder<DeleteRestorePlanRequest,Empty,OperationMetadata>

deleteRestorePlanSettings()

public UnaryCallSettings.Builder<DeleteRestorePlanRequest,Operation> deleteRestorePlanSettings()

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

Returns
Type Description
Builder<DeleteRestorePlanRequest,Operation>

deleteRestoreSettings()

public UnaryCallSettings.Builder<DeleteRestoreRequest,Operation> deleteRestoreSettings()

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

Returns
Type Description
Builder<DeleteRestoreRequest,Operation>

getBackupIndexDownloadUrlSettings()

public UnaryCallSettings.Builder<GetBackupIndexDownloadUrlRequest,GetBackupIndexDownloadUrlResponse> getBackupIndexDownloadUrlSettings()

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

Returns
Type Description
Builder<GetBackupIndexDownloadUrlRequest,GetBackupIndexDownloadUrlResponse>

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>

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>

getRestorePlanSettings()

public UnaryCallSettings.Builder<GetRestorePlanRequest,RestorePlan> getRestorePlanSettings()

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

Returns
Type Description
Builder<GetRestorePlanRequest,RestorePlan>

getRestoreSettings()

public UnaryCallSettings.Builder<GetRestoreRequest,Restore> getRestoreSettings()

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

Returns
Type Description
Builder<GetRestoreRequest,Restore>

getVolumeBackupSettings()

public UnaryCallSettings.Builder<GetVolumeBackupRequest,VolumeBackup> getVolumeBackupSettings()

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

Returns
Type Description
Builder<GetVolumeBackupRequest,VolumeBackup>

getVolumeRestoreSettings()

public UnaryCallSettings.Builder<GetVolumeRestoreRequest,VolumeRestore> getVolumeRestoreSettings()

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

Returns
Type Description
Builder<GetVolumeRestoreRequest,VolumeRestore>

listBackupPlansSettings()

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

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

Returns
Type Description
Builder<ListBackupPlansRequest,ListBackupPlansResponse,ListBackupPlansPagedResponse>

listBackupsSettings()

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

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

Returns
Type Description
Builder<ListBackupsRequest,ListBackupsResponse,ListBackupsPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,BackupForGKEClient.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>

listRestorePlansSettings()

public PagedCallSettings.Builder<ListRestorePlansRequest,ListRestorePlansResponse,BackupForGKEClient.ListRestorePlansPagedResponse> listRestorePlansSettings()

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

Returns
Type Description
Builder<ListRestorePlansRequest,ListRestorePlansResponse,ListRestorePlansPagedResponse>

listRestoresSettings()

public PagedCallSettings.Builder<ListRestoresRequest,ListRestoresResponse,BackupForGKEClient.ListRestoresPagedResponse> listRestoresSettings()

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

Returns
Type Description
Builder<ListRestoresRequest,ListRestoresResponse,ListRestoresPagedResponse>

listVolumeBackupsSettings()

public PagedCallSettings.Builder<ListVolumeBackupsRequest,ListVolumeBackupsResponse,BackupForGKEClient.ListVolumeBackupsPagedResponse> listVolumeBackupsSettings()

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

Returns
Type Description
Builder<ListVolumeBackupsRequest,ListVolumeBackupsResponse,ListVolumeBackupsPagedResponse>

listVolumeRestoresSettings()

public PagedCallSettings.Builder<ListVolumeRestoresRequest,ListVolumeRestoresResponse,BackupForGKEClient.ListVolumeRestoresPagedResponse> listVolumeRestoresSettings()

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

Returns
Type Description
Builder<ListVolumeRestoresRequest,ListVolumeRestoresResponse,ListVolumeRestoresPagedResponse>

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>

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>

updateBackupPlanOperationSettings()

public OperationCallSettings.Builder<UpdateBackupPlanRequest,BackupPlan,OperationMetadata> updateBackupPlanOperationSettings()

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

Returns
Type Description
Builder<UpdateBackupPlanRequest,BackupPlan,OperationMetadata>

updateBackupPlanSettings()

public UnaryCallSettings.Builder<UpdateBackupPlanRequest,Operation> updateBackupPlanSettings()

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

Returns
Type Description
Builder<UpdateBackupPlanRequest,Operation>

updateBackupSettings()

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

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

Returns
Type Description
Builder<UpdateBackupRequest,Operation>

updateRestoreOperationSettings()

public OperationCallSettings.Builder<UpdateRestoreRequest,Restore,OperationMetadata> updateRestoreOperationSettings()

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

Returns
Type Description
Builder<UpdateRestoreRequest,Restore,OperationMetadata>

updateRestorePlanOperationSettings()

public OperationCallSettings.Builder<UpdateRestorePlanRequest,RestorePlan,OperationMetadata> updateRestorePlanOperationSettings()

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

Returns
Type Description
Builder<UpdateRestorePlanRequest,RestorePlan,OperationMetadata>

updateRestorePlanSettings()

public UnaryCallSettings.Builder<UpdateRestorePlanRequest,Operation> updateRestorePlanSettings()

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

Returns
Type Description
Builder<UpdateRestorePlanRequest,Operation>

updateRestoreSettings()

public UnaryCallSettings.Builder<UpdateRestoreRequest,Operation> updateRestoreSettings()

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

Returns
Type Description
Builder<UpdateRestoreRequest,Operation>