Class BackupForGKEGrpc.BackupForGKEFutureStub (0.44.0)

public static final class BackupForGKEGrpc.BackupForGKEFutureStub extends AbstractFutureStub<BackupForGKEGrpc.BackupForGKEFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service BackupForGKE.

BackupForGKE allows Kubernetes administrators to configure, execute, and manage backup and restore operations for their GKE clusters.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > BackupForGKEGrpc.BackupForGKEFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected BackupForGKEGrpc.BackupForGKEFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
BackupForGKEGrpc.BackupForGKEFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createBackup(CreateBackupRequest request)

public ListenableFuture<Operation> createBackup(CreateBackupRequest request)

Creates a Backup for the given BackupPlan.

Parameter
Name Description
request CreateBackupRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createBackupPlan(CreateBackupPlanRequest request)

public ListenableFuture<Operation> createBackupPlan(CreateBackupPlanRequest request)

Creates a new BackupPlan in a given location.

Parameter
Name Description
request CreateBackupPlanRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createRestore(CreateRestoreRequest request)

public ListenableFuture<Operation> createRestore(CreateRestoreRequest request)

Creates a new Restore for the given RestorePlan.

Parameter
Name Description
request CreateRestoreRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createRestorePlan(CreateRestorePlanRequest request)

public ListenableFuture<Operation> createRestorePlan(CreateRestorePlanRequest request)

Creates a new RestorePlan in a given location.

Parameter
Name Description
request CreateRestorePlanRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteBackup(DeleteBackupRequest request)

public ListenableFuture<Operation> deleteBackup(DeleteBackupRequest request)

Deletes an existing Backup.

Parameter
Name Description
request DeleteBackupRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteBackupPlan(DeleteBackupPlanRequest request)

public ListenableFuture<Operation> deleteBackupPlan(DeleteBackupPlanRequest request)

Deletes an existing BackupPlan.

Parameter
Name Description
request DeleteBackupPlanRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteRestore(DeleteRestoreRequest request)

public ListenableFuture<Operation> deleteRestore(DeleteRestoreRequest request)

Deletes an existing Restore.

Parameter
Name Description
request DeleteRestoreRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteRestorePlan(DeleteRestorePlanRequest request)

public ListenableFuture<Operation> deleteRestorePlan(DeleteRestorePlanRequest request)

Deletes an existing RestorePlan.

Parameter
Name Description
request DeleteRestorePlanRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

getBackup(GetBackupRequest request)

public ListenableFuture<Backup> getBackup(GetBackupRequest request)

Retrieve the details of a single Backup.

Parameter
Name Description
request GetBackupRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Backup>

getBackupIndexDownloadUrl(GetBackupIndexDownloadUrlRequest request)

public ListenableFuture<GetBackupIndexDownloadUrlResponse> getBackupIndexDownloadUrl(GetBackupIndexDownloadUrlRequest request)

Retrieve the link to the backupIndex.

Parameter
Name Description
request GetBackupIndexDownloadUrlRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<GetBackupIndexDownloadUrlResponse>

getBackupPlan(GetBackupPlanRequest request)

public ListenableFuture<BackupPlan> getBackupPlan(GetBackupPlanRequest request)

Retrieve the details of a single BackupPlan.

Parameter
Name Description
request GetBackupPlanRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<BackupPlan>

getRestore(GetRestoreRequest request)

public ListenableFuture<Restore> getRestore(GetRestoreRequest request)

Retrieves the details of a single Restore.

Parameter
Name Description
request GetRestoreRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Restore>

getRestorePlan(GetRestorePlanRequest request)

public ListenableFuture<RestorePlan> getRestorePlan(GetRestorePlanRequest request)

Retrieve the details of a single RestorePlan.

Parameter
Name Description
request GetRestorePlanRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<RestorePlan>

getVolumeBackup(GetVolumeBackupRequest request)

public ListenableFuture<VolumeBackup> getVolumeBackup(GetVolumeBackupRequest request)

Retrieve the details of a single VolumeBackup.

Parameter
Name Description
request GetVolumeBackupRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<VolumeBackup>

getVolumeRestore(GetVolumeRestoreRequest request)

public ListenableFuture<VolumeRestore> getVolumeRestore(GetVolumeRestoreRequest request)

Retrieve the details of a single VolumeRestore.

Parameter
Name Description
request GetVolumeRestoreRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<VolumeRestore>

listBackupPlans(ListBackupPlansRequest request)

public ListenableFuture<ListBackupPlansResponse> listBackupPlans(ListBackupPlansRequest request)

Lists BackupPlans in a given location.

Parameter
Name Description
request ListBackupPlansRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListBackupPlansResponse>

listBackups(ListBackupsRequest request)

public ListenableFuture<ListBackupsResponse> listBackups(ListBackupsRequest request)

Lists the Backups for a given BackupPlan.

Parameter
Name Description
request ListBackupsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListBackupsResponse>

listRestorePlans(ListRestorePlansRequest request)

public ListenableFuture<ListRestorePlansResponse> listRestorePlans(ListRestorePlansRequest request)

Lists RestorePlans in a given location.

Parameter
Name Description
request ListRestorePlansRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListRestorePlansResponse>

listRestores(ListRestoresRequest request)

public ListenableFuture<ListRestoresResponse> listRestores(ListRestoresRequest request)

Lists the Restores for a given RestorePlan.

Parameter
Name Description
request ListRestoresRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListRestoresResponse>

listVolumeBackups(ListVolumeBackupsRequest request)

public ListenableFuture<ListVolumeBackupsResponse> listVolumeBackups(ListVolumeBackupsRequest request)

Lists the VolumeBackups for a given Backup.

Parameter
Name Description
request ListVolumeBackupsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListVolumeBackupsResponse>

listVolumeRestores(ListVolumeRestoresRequest request)

public ListenableFuture<ListVolumeRestoresResponse> listVolumeRestores(ListVolumeRestoresRequest request)

Lists the VolumeRestores for a given Restore.

Parameter
Name Description
request ListVolumeRestoresRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListVolumeRestoresResponse>

updateBackup(UpdateBackupRequest request)

public ListenableFuture<Operation> updateBackup(UpdateBackupRequest request)

Update a Backup.

Parameter
Name Description
request UpdateBackupRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateBackupPlan(UpdateBackupPlanRequest request)

public ListenableFuture<Operation> updateBackupPlan(UpdateBackupPlanRequest request)

Update a BackupPlan.

Parameter
Name Description
request UpdateBackupPlanRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateRestore(UpdateRestoreRequest request)

public ListenableFuture<Operation> updateRestore(UpdateRestoreRequest request)

Update a Restore.

Parameter
Name Description
request UpdateRestoreRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateRestorePlan(UpdateRestorePlanRequest request)

public ListenableFuture<Operation> updateRestorePlan(UpdateRestorePlanRequest request)

Update a RestorePlan.

Parameter
Name Description
request UpdateRestorePlanRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>