Package com.google.cloud.gkebackup.v1
Class BackupForGKEGrpc.BackupForGKEBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<BackupForGKEGrpc.BackupForGKEBlockingV2Stub>
com.google.cloud.gkebackup.v1.BackupForGKEGrpc.BackupForGKEBlockingV2Stub
- Enclosing class:
- BackupForGKEGrpc
public static final class BackupForGKEGrpc.BackupForGKEBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<BackupForGKEGrpc.BackupForGKEBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service BackupForGKE.
BackupForGKE allows Kubernetes administrators to configure, execute, and manage backup and restore operations for their GKE clusters.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) createBackup(CreateBackupRequest request) Creates a Backup for the given BackupPlan.Creates a new BackupChannel in a given location.createBackupPlan(CreateBackupPlanRequest request) Creates a new BackupPlan in a given location.createRestore(CreateRestoreRequest request) Creates a new Restore for the given RestorePlan.Creates a new RestoreChannel in a given location.Creates a new RestorePlan in a given location.deleteBackup(DeleteBackupRequest request) Deletes an existing Backup.Deletes an existing BackupChannel.deleteBackupPlan(DeleteBackupPlanRequest request) Deletes an existing BackupPlan.deleteRestore(DeleteRestoreRequest request) Deletes an existing Restore.Deletes an existing RestoreChannel.Deletes an existing RestorePlan.getBackup(GetBackupRequest request) Retrieve the details of a single Backup.getBackupChannel(GetBackupChannelRequest request) Retrieve the details of a single BackupChannel.Retrieve the link to the backupIndex.getBackupPlan(GetBackupPlanRequest request) Retrieve the details of a single BackupPlan.Retrieve the details of a single BackupPlanBinding.getRestore(GetRestoreRequest request) Retrieves the details of a single Restore.Retrieve the details of a single RestoreChannel.getRestorePlan(GetRestorePlanRequest request) Retrieve the details of a single RestorePlan.Retrieve the details of a single RestorePlanBinding.getVolumeBackup(GetVolumeBackupRequest request) Retrieve the details of a single VolumeBackup.getVolumeRestore(GetVolumeRestoreRequest request) Retrieve the details of a single VolumeRestore.Lists BackupChannels in a given location.Lists BackupPlanBindings in a given location.listBackupPlans(ListBackupPlansRequest request) Lists BackupPlans in a given location.listBackups(ListBackupsRequest request) Lists the Backups for a given BackupPlan.Lists RestoreChannels in a given location.Lists RestorePlanBindings in a given location.listRestorePlans(ListRestorePlansRequest request) Lists RestorePlans in a given location.listRestores(ListRestoresRequest request) Lists the Restores for a given RestorePlan.Lists the VolumeBackups for a given Backup.Lists the VolumeRestores for a given Restore.updateBackup(UpdateBackupRequest request) Update a Backup.Update a BackupChannel.updateBackupPlan(UpdateBackupPlanRequest request) Update a BackupPlan.updateRestore(UpdateRestoreRequest request) Update a Restore.Update a RestoreChannel.Update a RestorePlan.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected BackupForGKEGrpc.BackupForGKEBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<BackupForGKEGrpc.BackupForGKEBlockingV2Stub>
-
createBackupPlan
Creates a new BackupPlan in a given location.
- Throws:
io.grpc.StatusException
-
listBackupPlans
public ListBackupPlansResponse listBackupPlans(ListBackupPlansRequest request) throws io.grpc.StatusException Lists BackupPlans in a given location.
- Throws:
io.grpc.StatusException
-
getBackupPlan
Retrieve the details of a single BackupPlan.
- Throws:
io.grpc.StatusException
-
updateBackupPlan
Update a BackupPlan.
- Throws:
io.grpc.StatusException
-
deleteBackupPlan
Deletes an existing BackupPlan.
- Throws:
io.grpc.StatusException
-
createBackupChannel
public Operation createBackupChannel(CreateBackupChannelRequest request) throws io.grpc.StatusException Creates a new BackupChannel in a given location.
- Throws:
io.grpc.StatusException
-
listBackupChannels
public ListBackupChannelsResponse listBackupChannels(ListBackupChannelsRequest request) throws io.grpc.StatusException Lists BackupChannels in a given location.
- Throws:
io.grpc.StatusException
-
getBackupChannel
public BackupChannel getBackupChannel(GetBackupChannelRequest request) throws io.grpc.StatusException Retrieve the details of a single BackupChannel.
- Throws:
io.grpc.StatusException
-
updateBackupChannel
public Operation updateBackupChannel(UpdateBackupChannelRequest request) throws io.grpc.StatusException Update a BackupChannel.
- Throws:
io.grpc.StatusException
-
deleteBackupChannel
public Operation deleteBackupChannel(DeleteBackupChannelRequest request) throws io.grpc.StatusException Deletes an existing BackupChannel.
- Throws:
io.grpc.StatusException
-
listBackupPlanBindings
public ListBackupPlanBindingsResponse listBackupPlanBindings(ListBackupPlanBindingsRequest request) throws io.grpc.StatusException Lists BackupPlanBindings in a given location.
- Throws:
io.grpc.StatusException
-
getBackupPlanBinding
public BackupPlanBinding getBackupPlanBinding(GetBackupPlanBindingRequest request) throws io.grpc.StatusException Retrieve the details of a single BackupPlanBinding.
- Throws:
io.grpc.StatusException
-
createBackup
Creates a Backup for the given BackupPlan.
- Throws:
io.grpc.StatusException
-
listBackups
Lists the Backups for a given BackupPlan.
- Throws:
io.grpc.StatusException
-
getBackup
Retrieve the details of a single Backup.
- Throws:
io.grpc.StatusException
-
updateBackup
Update a Backup.
- Throws:
io.grpc.StatusException
-
deleteBackup
Deletes an existing Backup.
- Throws:
io.grpc.StatusException
-
listVolumeBackups
public ListVolumeBackupsResponse listVolumeBackups(ListVolumeBackupsRequest request) throws io.grpc.StatusException Lists the VolumeBackups for a given Backup.
- Throws:
io.grpc.StatusException
-
getVolumeBackup
Retrieve the details of a single VolumeBackup.
- Throws:
io.grpc.StatusException
-
createRestorePlan
Creates a new RestorePlan in a given location.
- Throws:
io.grpc.StatusException
-
listRestorePlans
public ListRestorePlansResponse listRestorePlans(ListRestorePlansRequest request) throws io.grpc.StatusException Lists RestorePlans in a given location.
- Throws:
io.grpc.StatusException
-
getRestorePlan
Retrieve the details of a single RestorePlan.
- Throws:
io.grpc.StatusException
-
updateRestorePlan
Update a RestorePlan.
- Throws:
io.grpc.StatusException
-
deleteRestorePlan
Deletes an existing RestorePlan.
- Throws:
io.grpc.StatusException
-
createRestoreChannel
public Operation createRestoreChannel(CreateRestoreChannelRequest request) throws io.grpc.StatusException Creates a new RestoreChannel in a given location.
- Throws:
io.grpc.StatusException
-
listRestoreChannels
public ListRestoreChannelsResponse listRestoreChannels(ListRestoreChannelsRequest request) throws io.grpc.StatusException Lists RestoreChannels in a given location.
- Throws:
io.grpc.StatusException
-
getRestoreChannel
public RestoreChannel getRestoreChannel(GetRestoreChannelRequest request) throws io.grpc.StatusException Retrieve the details of a single RestoreChannel.
- Throws:
io.grpc.StatusException
-
updateRestoreChannel
public Operation updateRestoreChannel(UpdateRestoreChannelRequest request) throws io.grpc.StatusException Update a RestoreChannel.
- Throws:
io.grpc.StatusException
-
deleteRestoreChannel
public Operation deleteRestoreChannel(DeleteRestoreChannelRequest request) throws io.grpc.StatusException Deletes an existing RestoreChannel.
- Throws:
io.grpc.StatusException
-
listRestorePlanBindings
public ListRestorePlanBindingsResponse listRestorePlanBindings(ListRestorePlanBindingsRequest request) throws io.grpc.StatusException Lists RestorePlanBindings in a given location.
- Throws:
io.grpc.StatusException
-
getRestorePlanBinding
public RestorePlanBinding getRestorePlanBinding(GetRestorePlanBindingRequest request) throws io.grpc.StatusException Retrieve the details of a single RestorePlanBinding.
- Throws:
io.grpc.StatusException
-
createRestore
Creates a new Restore for the given RestorePlan.
- Throws:
io.grpc.StatusException
-
listRestores
public ListRestoresResponse listRestores(ListRestoresRequest request) throws io.grpc.StatusException Lists the Restores for a given RestorePlan.
- Throws:
io.grpc.StatusException
-
getRestore
Retrieves the details of a single Restore.
- Throws:
io.grpc.StatusException
-
updateRestore
Update a Restore.
- Throws:
io.grpc.StatusException
-
deleteRestore
Deletes an existing Restore.
- Throws:
io.grpc.StatusException
-
listVolumeRestores
public ListVolumeRestoresResponse listVolumeRestores(ListVolumeRestoresRequest request) throws io.grpc.StatusException Lists the VolumeRestores for a given Restore.
- Throws:
io.grpc.StatusException
-
getVolumeRestore
public VolumeRestore getVolumeRestore(GetVolumeRestoreRequest request) throws io.grpc.StatusException Retrieve the details of a single VolumeRestore.
- Throws:
io.grpc.StatusException
-
getBackupIndexDownloadUrl
public GetBackupIndexDownloadUrlResponse getBackupIndexDownloadUrl(GetBackupIndexDownloadUrlRequest request) throws io.grpc.StatusException Retrieve the link to the backupIndex.
- Throws:
io.grpc.StatusException
-