Class BackupForGKEGrpc.BackupForGKEFutureStub (0.19.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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCreateBackupRequest
Returns
TypeDescription
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
NameDescription
requestCreateBackupPlanRequest
Returns
TypeDescription
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
NameDescription
requestCreateRestoreRequest
Returns
TypeDescription
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
NameDescription
requestCreateRestorePlanRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteBackup(DeleteBackupRequest request)

public ListenableFuture<Operation> deleteBackup(DeleteBackupRequest request)

Deletes an existing Backup.

Parameter
NameDescription
requestDeleteBackupRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteBackupPlan(DeleteBackupPlanRequest request)

public ListenableFuture<Operation> deleteBackupPlan(DeleteBackupPlanRequest request)

Deletes an existing BackupPlan.

Parameter
NameDescription
requestDeleteBackupPlanRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteRestore(DeleteRestoreRequest request)

public ListenableFuture<Operation> deleteRestore(DeleteRestoreRequest request)

Deletes an existing Restore.

Parameter
NameDescription
requestDeleteRestoreRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteRestorePlan(DeleteRestorePlanRequest request)

public ListenableFuture<Operation> deleteRestorePlan(DeleteRestorePlanRequest request)

Deletes an existing RestorePlan.

Parameter
NameDescription
requestDeleteRestorePlanRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

getBackup(GetBackupRequest request)

public ListenableFuture<Backup> getBackup(GetBackupRequest request)

Retrieve the details of a single Backup.

Parameter
NameDescription
requestGetBackupRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Backup>

getBackupPlan(GetBackupPlanRequest request)

public ListenableFuture<BackupPlan> getBackupPlan(GetBackupPlanRequest request)

Retrieve the details of a single BackupPlan.

Parameter
NameDescription
requestGetBackupPlanRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<BackupPlan>

getRestore(GetRestoreRequest request)

public ListenableFuture<Restore> getRestore(GetRestoreRequest request)

Retrieves the details of a single Restore.

Parameter
NameDescription
requestGetRestoreRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Restore>

getRestorePlan(GetRestorePlanRequest request)

public ListenableFuture<RestorePlan> getRestorePlan(GetRestorePlanRequest request)

Retrieve the details of a single RestorePlan.

Parameter
NameDescription
requestGetRestorePlanRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<RestorePlan>

getVolumeBackup(GetVolumeBackupRequest request)

public ListenableFuture<VolumeBackup> getVolumeBackup(GetVolumeBackupRequest request)

Retrieve the details of a single VolumeBackup.

Parameter
NameDescription
requestGetVolumeBackupRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<VolumeBackup>

getVolumeRestore(GetVolumeRestoreRequest request)

public ListenableFuture<VolumeRestore> getVolumeRestore(GetVolumeRestoreRequest request)

Retrieve the details of a single VolumeRestore.

Parameter
NameDescription
requestGetVolumeRestoreRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<VolumeRestore>

listBackupPlans(ListBackupPlansRequest request)

public ListenableFuture<ListBackupPlansResponse> listBackupPlans(ListBackupPlansRequest request)

Lists BackupPlans in a given location.

Parameter
NameDescription
requestListBackupPlansRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListBackupPlansResponse>

listBackups(ListBackupsRequest request)

public ListenableFuture<ListBackupsResponse> listBackups(ListBackupsRequest request)

Lists the Backups for a given BackupPlan.

Parameter
NameDescription
requestListBackupsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListBackupsResponse>

listRestorePlans(ListRestorePlansRequest request)

public ListenableFuture<ListRestorePlansResponse> listRestorePlans(ListRestorePlansRequest request)

Lists RestorePlans in a given location.

Parameter
NameDescription
requestListRestorePlansRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListRestorePlansResponse>

listRestores(ListRestoresRequest request)

public ListenableFuture<ListRestoresResponse> listRestores(ListRestoresRequest request)

Lists the Restores for a given RestorePlan.

Parameter
NameDescription
requestListRestoresRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListRestoresResponse>

listVolumeBackups(ListVolumeBackupsRequest request)

public ListenableFuture<ListVolumeBackupsResponse> listVolumeBackups(ListVolumeBackupsRequest request)

Lists the VolumeBackups for a given Backup.

Parameter
NameDescription
requestListVolumeBackupsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListVolumeBackupsResponse>

listVolumeRestores(ListVolumeRestoresRequest request)

public ListenableFuture<ListVolumeRestoresResponse> listVolumeRestores(ListVolumeRestoresRequest request)

Lists the VolumeRestores for a given Restore.

Parameter
NameDescription
requestListVolumeRestoresRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListVolumeRestoresResponse>

updateBackup(UpdateBackupRequest request)

public ListenableFuture<Operation> updateBackup(UpdateBackupRequest request)

Update a Backup.

Parameter
NameDescription
requestUpdateBackupRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateBackupPlan(UpdateBackupPlanRequest request)

public ListenableFuture<Operation> updateBackupPlan(UpdateBackupPlanRequest request)

Update a BackupPlan.

Parameter
NameDescription
requestUpdateBackupPlanRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateRestore(UpdateRestoreRequest request)

public ListenableFuture<Operation> updateRestore(UpdateRestoreRequest request)

Update a Restore.

Parameter
NameDescription
requestUpdateRestoreRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateRestorePlan(UpdateRestorePlanRequest request)

public ListenableFuture<Operation> updateRestorePlan(UpdateRestorePlanRequest request)

Update a RestorePlan.

Parameter
NameDescription
requestUpdateRestorePlanRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>