Class BackupForGKESettings.Builder (0.36.0)

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

Builder for BackupForGKESettings.

Inheritance

java.lang.Object > ClientSettings.Builder > BackupForGKESettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(BackupForGKESettings settings)

protected Builder(BackupForGKESettings settings)
Parameter
NameDescription
settingsBackupForGKESettings

Builder(BackupForGKEStubSettings.Builder stubSettings)

protected Builder(BackupForGKEStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsBackupForGKEStubSettings.Builder

Methods

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

public BackupForGKESettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
BackupForGKESettings.Builder

build()

public BackupForGKESettings build()
Returns
TypeDescription
BackupForGKESettings
Overrides
Exceptions
TypeDescription
IOException

createBackupOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateBackupRequest,Backup,OperationMetadata>

createBackupPlanOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateBackupPlanRequest,BackupPlan,OperationMetadata>

createBackupPlanSettings()

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

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

Returns
TypeDescription
Builder<CreateBackupPlanRequest,Operation>

createBackupSettings()

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

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

Returns
TypeDescription
Builder<CreateBackupRequest,Operation>

createRestoreOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateRestoreRequest,Restore,OperationMetadata>

createRestorePlanOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateRestorePlanRequest,RestorePlan,OperationMetadata>

createRestorePlanSettings()

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

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

Returns
TypeDescription
Builder<CreateRestorePlanRequest,Operation>

createRestoreSettings()

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

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

Returns
TypeDescription
Builder<CreateRestoreRequest,Operation>

deleteBackupOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteBackupRequest,Empty,OperationMetadata>

deleteBackupPlanOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteBackupPlanRequest,Empty,OperationMetadata>

deleteBackupPlanSettings()

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

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

Returns
TypeDescription
Builder<DeleteBackupPlanRequest,Operation>

deleteBackupSettings()

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

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

Returns
TypeDescription
Builder<DeleteBackupRequest,Operation>

deleteRestoreOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteRestoreRequest,Empty,OperationMetadata>

deleteRestorePlanOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteRestorePlanRequest,Empty,OperationMetadata>

deleteRestorePlanSettings()

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

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

Returns
TypeDescription
Builder<DeleteRestorePlanRequest,Operation>

deleteRestoreSettings()

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

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

Returns
TypeDescription
Builder<DeleteRestoreRequest,Operation>

getBackupPlanSettings()

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

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

Returns
TypeDescription
Builder<GetBackupPlanRequest,BackupPlan>

getBackupSettings()

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

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

Returns
TypeDescription
Builder<GetBackupRequest,Backup>

getIamPolicySettings()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<GetRestorePlanRequest,RestorePlan>

getRestoreSettings()

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

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

Returns
TypeDescription
Builder<GetRestoreRequest,Restore>

getStubSettingsBuilder()

public BackupForGKEStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
BackupForGKEStubSettings.Builder

getVolumeBackupSettings()

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

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

Returns
TypeDescription
Builder<GetVolumeBackupRequest,VolumeBackup>

getVolumeRestoreSettings()

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

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

Returns
TypeDescription
Builder<GetVolumeRestoreRequest,VolumeRestore>

listBackupPlansSettings()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<ListVolumeRestoresRequest,ListVolumeRestoresResponse,ListVolumeRestoresPagedResponse>

setIamPolicySettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

updateBackupOperationSettings()

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

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

Returns
TypeDescription
Builder<UpdateBackupRequest,Backup,OperationMetadata>

updateBackupPlanOperationSettings()

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

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

Returns
TypeDescription
Builder<UpdateBackupPlanRequest,BackupPlan,OperationMetadata>

updateBackupPlanSettings()

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

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

Returns
TypeDescription
Builder<UpdateBackupPlanRequest,Operation>

updateBackupSettings()

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

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

Returns
TypeDescription
Builder<UpdateBackupRequest,Operation>

updateRestoreOperationSettings()

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

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

Returns
TypeDescription
Builder<UpdateRestoreRequest,Restore,OperationMetadata>

updateRestorePlanOperationSettings()

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

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

Returns
TypeDescription
Builder<UpdateRestorePlanRequest,RestorePlan,OperationMetadata>

updateRestorePlanSettings()

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

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

Returns
TypeDescription
Builder<UpdateRestorePlanRequest,Operation>

updateRestoreSettings()

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

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

Returns
TypeDescription
Builder<UpdateRestoreRequest,Operation>