Package com.google.cloud.gkebackup.v1
Class BackupForGKESettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<BackupForGKESettings,BackupForGKESettings.Builder>
-
- com.google.cloud.gkebackup.v1.BackupForGKESettings.Builder
-
- Enclosing class:
- BackupForGKESettings
public static class BackupForGKESettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<BackupForGKESettings,BackupForGKESettings.Builder>
Builder for BackupForGKESettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(BackupForGKESettings settings)
protected
Builder(BackupForGKEStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BackupForGKESettings.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.BackupForGKESettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateBackupRequest,Backup,OperationMetadata>
createBackupOperationSettings()
Returns the builder for the settings used for calls to createBackup.com.google.api.gax.rpc.OperationCallSettings.Builder<CreateBackupPlanRequest,BackupPlan,OperationMetadata>
createBackupPlanOperationSettings()
Returns the builder for the settings used for calls to createBackupPlan.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateBackupPlanRequest,com.google.longrunning.Operation>
createBackupPlanSettings()
Returns the builder for the settings used for calls to createBackupPlan.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<CreateRestoreRequest,Restore,OperationMetadata>
createRestoreOperationSettings()
Returns the builder for the settings used for calls to createRestore.com.google.api.gax.rpc.OperationCallSettings.Builder<CreateRestorePlanRequest,RestorePlan,OperationMetadata>
createRestorePlanOperationSettings()
Returns the builder for the settings used for calls to createRestorePlan.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateRestorePlanRequest,com.google.longrunning.Operation>
createRestorePlanSettings()
Returns the builder for the settings used for calls to createRestorePlan.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateRestoreRequest,com.google.longrunning.Operation>
createRestoreSettings()
Returns the builder for the settings used for calls to createRestore.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteBackupRequest,com.google.protobuf.Empty,OperationMetadata>
deleteBackupOperationSettings()
Returns the builder for the settings used for calls to deleteBackup.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteBackupPlanRequest,com.google.protobuf.Empty,OperationMetadata>
deleteBackupPlanOperationSettings()
Returns the builder for the settings used for calls to deleteBackupPlan.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteBackupPlanRequest,com.google.longrunning.Operation>
deleteBackupPlanSettings()
Returns the builder for the settings used for calls to deleteBackupPlan.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteBackupRequest,com.google.longrunning.Operation>
deleteBackupSettings()
Returns the builder for the settings used for calls to deleteBackup.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteRestoreRequest,com.google.protobuf.Empty,OperationMetadata>
deleteRestoreOperationSettings()
Returns the builder for the settings used for calls to deleteRestore.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteRestorePlanRequest,com.google.protobuf.Empty,OperationMetadata>
deleteRestorePlanOperationSettings()
Returns the builder for the settings used for calls to deleteRestorePlan.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteRestorePlanRequest,com.google.longrunning.Operation>
deleteRestorePlanSettings()
Returns the builder for the settings used for calls to deleteRestorePlan.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteRestoreRequest,com.google.longrunning.Operation>
deleteRestoreSettings()
Returns the builder for the settings used for calls to deleteRestore.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetBackupPlanRequest,BackupPlan>
getBackupPlanSettings()
Returns the builder for the settings used for calls to getBackupPlan.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<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.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
getLocationSettings()
Returns the builder for the settings used for calls to getLocation.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetRestorePlanRequest,RestorePlan>
getRestorePlanSettings()
Returns the builder for the settings used for calls to getRestorePlan.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetRestoreRequest,Restore>
getRestoreSettings()
Returns the builder for the settings used for calls to getRestore.BackupForGKEStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetVolumeBackupRequest,VolumeBackup>
getVolumeBackupSettings()
Returns the builder for the settings used for calls to getVolumeBackup.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetVolumeRestoreRequest,VolumeRestore>
getVolumeRestoreSettings()
Returns the builder for the settings used for calls to getVolumeRestore.com.google.api.gax.rpc.PagedCallSettings.Builder<ListBackupPlansRequest,ListBackupPlansResponse,BackupForGKEClient.ListBackupPlansPagedResponse>
listBackupPlansSettings()
Returns the builder for the settings used for calls to listBackupPlans.com.google.api.gax.rpc.PagedCallSettings.Builder<ListBackupsRequest,ListBackupsResponse,BackupForGKEClient.ListBackupsPagedResponse>
listBackupsSettings()
Returns the builder for the settings used for calls to listBackups.com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,BackupForGKEClient.ListLocationsPagedResponse>
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.com.google.api.gax.rpc.PagedCallSettings.Builder<ListRestorePlansRequest,ListRestorePlansResponse,BackupForGKEClient.ListRestorePlansPagedResponse>
listRestorePlansSettings()
Returns the builder for the settings used for calls to listRestorePlans.com.google.api.gax.rpc.PagedCallSettings.Builder<ListRestoresRequest,ListRestoresResponse,BackupForGKEClient.ListRestoresPagedResponse>
listRestoresSettings()
Returns the builder for the settings used for calls to listRestores.com.google.api.gax.rpc.PagedCallSettings.Builder<ListVolumeBackupsRequest,ListVolumeBackupsResponse,BackupForGKEClient.ListVolumeBackupsPagedResponse>
listVolumeBackupsSettings()
Returns the builder for the settings used for calls to listVolumeBackups.com.google.api.gax.rpc.PagedCallSettings.Builder<ListVolumeRestoresRequest,ListVolumeRestoresResponse,BackupForGKEClient.ListVolumeRestoresPagedResponse>
listVolumeRestoresSettings()
Returns the builder for the settings used for calls to listVolumeRestores.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.api.gax.rpc.OperationCallSettings.Builder<UpdateBackupRequest,Backup,OperationMetadata>
updateBackupOperationSettings()
Returns the builder for the settings used for calls to updateBackup.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateBackupPlanRequest,BackupPlan,OperationMetadata>
updateBackupPlanOperationSettings()
Returns the builder for the settings used for calls to updateBackupPlan.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateBackupPlanRequest,com.google.longrunning.Operation>
updateBackupPlanSettings()
Returns the builder for the settings used for calls to updateBackupPlan.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateBackupRequest,com.google.longrunning.Operation>
updateBackupSettings()
Returns the builder for the settings used for calls to updateBackup.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateRestoreRequest,Restore,OperationMetadata>
updateRestoreOperationSettings()
Returns the builder for the settings used for calls to updateRestore.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateRestorePlanRequest,RestorePlan,OperationMetadata>
updateRestorePlanOperationSettings()
Returns the builder for the settings used for calls to updateRestorePlan.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateRestorePlanRequest,com.google.longrunning.Operation>
updateRestorePlanSettings()
Returns the builder for the settings used for calls to updateRestorePlan.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateRestoreRequest,com.google.longrunning.Operation>
updateRestoreSettings()
Returns the builder for the settings used for calls to updateRestore.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(BackupForGKESettings settings)
-
Builder
protected Builder(BackupForGKEStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public BackupForGKEStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public BackupForGKESettings.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.
-
createBackupPlanSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateBackupPlanRequest,com.google.longrunning.Operation> createBackupPlanSettings()
Returns the builder for the settings used for calls to createBackupPlan.
-
createBackupPlanOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateBackupPlanRequest,BackupPlan,OperationMetadata> createBackupPlanOperationSettings()
Returns the builder for the settings used for calls to createBackupPlan.
-
listBackupPlansSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListBackupPlansRequest,ListBackupPlansResponse,BackupForGKEClient.ListBackupPlansPagedResponse> listBackupPlansSettings()
Returns the builder for the settings used for calls to listBackupPlans.
-
getBackupPlanSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetBackupPlanRequest,BackupPlan> getBackupPlanSettings()
Returns the builder for the settings used for calls to getBackupPlan.
-
updateBackupPlanSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateBackupPlanRequest,com.google.longrunning.Operation> updateBackupPlanSettings()
Returns the builder for the settings used for calls to updateBackupPlan.
-
updateBackupPlanOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateBackupPlanRequest,BackupPlan,OperationMetadata> updateBackupPlanOperationSettings()
Returns the builder for the settings used for calls to updateBackupPlan.
-
deleteBackupPlanSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteBackupPlanRequest,com.google.longrunning.Operation> deleteBackupPlanSettings()
Returns the builder for the settings used for calls to deleteBackupPlan.
-
deleteBackupPlanOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteBackupPlanRequest,com.google.protobuf.Empty,OperationMetadata> deleteBackupPlanOperationSettings()
Returns the builder for the settings used for calls to deleteBackupPlan.
-
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
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateBackupRequest,Backup,OperationMetadata> createBackupOperationSettings()
Returns the builder for the settings used for calls to createBackup.
-
listBackupsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListBackupsRequest,ListBackupsResponse,BackupForGKEClient.ListBackupsPagedResponse> listBackupsSettings()
Returns the builder for the settings used for calls to listBackups.
-
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,com.google.longrunning.Operation> updateBackupSettings()
Returns the builder for the settings used for calls to updateBackup.
-
updateBackupOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateBackupRequest,Backup,OperationMetadata> updateBackupOperationSettings()
Returns the builder for the settings used for calls to updateBackup.
-
deleteBackupSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteBackupRequest,com.google.longrunning.Operation> deleteBackupSettings()
Returns the builder for the settings used for calls to deleteBackup.
-
deleteBackupOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteBackupRequest,com.google.protobuf.Empty,OperationMetadata> deleteBackupOperationSettings()
Returns the builder for the settings used for calls to deleteBackup.
-
listVolumeBackupsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListVolumeBackupsRequest,ListVolumeBackupsResponse,BackupForGKEClient.ListVolumeBackupsPagedResponse> listVolumeBackupsSettings()
Returns the builder for the settings used for calls to listVolumeBackups.
-
getVolumeBackupSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetVolumeBackupRequest,VolumeBackup> getVolumeBackupSettings()
Returns the builder for the settings used for calls to getVolumeBackup.
-
createRestorePlanSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateRestorePlanRequest,com.google.longrunning.Operation> createRestorePlanSettings()
Returns the builder for the settings used for calls to createRestorePlan.
-
createRestorePlanOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateRestorePlanRequest,RestorePlan,OperationMetadata> createRestorePlanOperationSettings()
Returns the builder for the settings used for calls to createRestorePlan.
-
listRestorePlansSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListRestorePlansRequest,ListRestorePlansResponse,BackupForGKEClient.ListRestorePlansPagedResponse> listRestorePlansSettings()
Returns the builder for the settings used for calls to listRestorePlans.
-
getRestorePlanSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetRestorePlanRequest,RestorePlan> getRestorePlanSettings()
Returns the builder for the settings used for calls to getRestorePlan.
-
updateRestorePlanSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateRestorePlanRequest,com.google.longrunning.Operation> updateRestorePlanSettings()
Returns the builder for the settings used for calls to updateRestorePlan.
-
updateRestorePlanOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateRestorePlanRequest,RestorePlan,OperationMetadata> updateRestorePlanOperationSettings()
Returns the builder for the settings used for calls to updateRestorePlan.
-
deleteRestorePlanSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteRestorePlanRequest,com.google.longrunning.Operation> deleteRestorePlanSettings()
Returns the builder for the settings used for calls to deleteRestorePlan.
-
deleteRestorePlanOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteRestorePlanRequest,com.google.protobuf.Empty,OperationMetadata> deleteRestorePlanOperationSettings()
Returns the builder for the settings used for calls to deleteRestorePlan.
-
createRestoreSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateRestoreRequest,com.google.longrunning.Operation> createRestoreSettings()
Returns the builder for the settings used for calls to createRestore.
-
createRestoreOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateRestoreRequest,Restore,OperationMetadata> createRestoreOperationSettings()
Returns the builder for the settings used for calls to createRestore.
-
listRestoresSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListRestoresRequest,ListRestoresResponse,BackupForGKEClient.ListRestoresPagedResponse> listRestoresSettings()
Returns the builder for the settings used for calls to listRestores.
-
getRestoreSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetRestoreRequest,Restore> getRestoreSettings()
Returns the builder for the settings used for calls to getRestore.
-
updateRestoreSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateRestoreRequest,com.google.longrunning.Operation> updateRestoreSettings()
Returns the builder for the settings used for calls to updateRestore.
-
updateRestoreOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateRestoreRequest,Restore,OperationMetadata> updateRestoreOperationSettings()
Returns the builder for the settings used for calls to updateRestore.
-
deleteRestoreSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteRestoreRequest,com.google.longrunning.Operation> deleteRestoreSettings()
Returns the builder for the settings used for calls to deleteRestore.
-
deleteRestoreOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteRestoreRequest,com.google.protobuf.Empty,OperationMetadata> deleteRestoreOperationSettings()
Returns the builder for the settings used for calls to deleteRestore.
-
listVolumeRestoresSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListVolumeRestoresRequest,ListVolumeRestoresResponse,BackupForGKEClient.ListVolumeRestoresPagedResponse> listVolumeRestoresSettings()
Returns the builder for the settings used for calls to listVolumeRestores.
-
getVolumeRestoreSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetVolumeRestoreRequest,VolumeRestore> getVolumeRestoreSettings()
Returns the builder for the settings used for calls to getVolumeRestore.
-
listLocationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,BackupForGKEClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
-
getLocationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
-
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.
-
build
public BackupForGKESettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<BackupForGKESettings,BackupForGKESettings.Builder>
- Throws:
IOException
-
-