Class BackupForGKEGrpc.BackupForGKEStub (0.20.0)

public static final class BackupForGKEGrpc.BackupForGKEStub extends AbstractAsyncStub<BackupForGKEGrpc.BackupForGKEStub>

A stub to allow clients to do asynchronous 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.AbstractAsyncStub > BackupForGKEGrpc.BackupForGKEStub

Methods

build(Channel channel, CallOptions callOptions)

protected BackupForGKEGrpc.BackupForGKEStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
BackupForGKEGrpc.BackupForGKEStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createBackup(CreateBackupRequest request, StreamObserver<Operation> responseObserver)

public void createBackup(CreateBackupRequest request, StreamObserver<Operation> responseObserver)

Creates a Backup for the given BackupPlan.

Parameters
NameDescription
requestCreateBackupRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createBackupPlan(CreateBackupPlanRequest request, StreamObserver<Operation> responseObserver)

public void createBackupPlan(CreateBackupPlanRequest request, StreamObserver<Operation> responseObserver)

Creates a new BackupPlan in a given location.

Parameters
NameDescription
requestCreateBackupPlanRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createRestore(CreateRestoreRequest request, StreamObserver<Operation> responseObserver)

public void createRestore(CreateRestoreRequest request, StreamObserver<Operation> responseObserver)

Creates a new Restore for the given RestorePlan.

Parameters
NameDescription
requestCreateRestoreRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createRestorePlan(CreateRestorePlanRequest request, StreamObserver<Operation> responseObserver)

public void createRestorePlan(CreateRestorePlanRequest request, StreamObserver<Operation> responseObserver)

Creates a new RestorePlan in a given location.

Parameters
NameDescription
requestCreateRestorePlanRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteBackup(DeleteBackupRequest request, StreamObserver<Operation> responseObserver)

public void deleteBackup(DeleteBackupRequest request, StreamObserver<Operation> responseObserver)

Deletes an existing Backup.

Parameters
NameDescription
requestDeleteBackupRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteBackupPlan(DeleteBackupPlanRequest request, StreamObserver<Operation> responseObserver)

public void deleteBackupPlan(DeleteBackupPlanRequest request, StreamObserver<Operation> responseObserver)

Deletes an existing BackupPlan.

Parameters
NameDescription
requestDeleteBackupPlanRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteRestore(DeleteRestoreRequest request, StreamObserver<Operation> responseObserver)

public void deleteRestore(DeleteRestoreRequest request, StreamObserver<Operation> responseObserver)

Deletes an existing Restore.

Parameters
NameDescription
requestDeleteRestoreRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteRestorePlan(DeleteRestorePlanRequest request, StreamObserver<Operation> responseObserver)

public void deleteRestorePlan(DeleteRestorePlanRequest request, StreamObserver<Operation> responseObserver)

Deletes an existing RestorePlan.

Parameters
NameDescription
requestDeleteRestorePlanRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

getBackup(GetBackupRequest request, StreamObserver<Backup> responseObserver)

public void getBackup(GetBackupRequest request, StreamObserver<Backup> responseObserver)

Retrieve the details of a single Backup.

Parameters
NameDescription
requestGetBackupRequest
responseObserverio.grpc.stub.StreamObserver<Backup>

getBackupPlan(GetBackupPlanRequest request, StreamObserver<BackupPlan> responseObserver)

public void getBackupPlan(GetBackupPlanRequest request, StreamObserver<BackupPlan> responseObserver)

Retrieve the details of a single BackupPlan.

Parameters
NameDescription
requestGetBackupPlanRequest
responseObserverio.grpc.stub.StreamObserver<BackupPlan>

getRestore(GetRestoreRequest request, StreamObserver<Restore> responseObserver)

public void getRestore(GetRestoreRequest request, StreamObserver<Restore> responseObserver)

Retrieves the details of a single Restore.

Parameters
NameDescription
requestGetRestoreRequest
responseObserverio.grpc.stub.StreamObserver<Restore>

getRestorePlan(GetRestorePlanRequest request, StreamObserver<RestorePlan> responseObserver)

public void getRestorePlan(GetRestorePlanRequest request, StreamObserver<RestorePlan> responseObserver)

Retrieve the details of a single RestorePlan.

Parameters
NameDescription
requestGetRestorePlanRequest
responseObserverio.grpc.stub.StreamObserver<RestorePlan>

getVolumeBackup(GetVolumeBackupRequest request, StreamObserver<VolumeBackup> responseObserver)

public void getVolumeBackup(GetVolumeBackupRequest request, StreamObserver<VolumeBackup> responseObserver)

Retrieve the details of a single VolumeBackup.

Parameters
NameDescription
requestGetVolumeBackupRequest
responseObserverio.grpc.stub.StreamObserver<VolumeBackup>

getVolumeRestore(GetVolumeRestoreRequest request, StreamObserver<VolumeRestore> responseObserver)

public void getVolumeRestore(GetVolumeRestoreRequest request, StreamObserver<VolumeRestore> responseObserver)

Retrieve the details of a single VolumeRestore.

Parameters
NameDescription
requestGetVolumeRestoreRequest
responseObserverio.grpc.stub.StreamObserver<VolumeRestore>

listBackupPlans(ListBackupPlansRequest request, StreamObserver<ListBackupPlansResponse> responseObserver)

public void listBackupPlans(ListBackupPlansRequest request, StreamObserver<ListBackupPlansResponse> responseObserver)

Lists BackupPlans in a given location.

Parameters
NameDescription
requestListBackupPlansRequest
responseObserverio.grpc.stub.StreamObserver<ListBackupPlansResponse>

listBackups(ListBackupsRequest request, StreamObserver<ListBackupsResponse> responseObserver)

public void listBackups(ListBackupsRequest request, StreamObserver<ListBackupsResponse> responseObserver)

Lists the Backups for a given BackupPlan.

Parameters
NameDescription
requestListBackupsRequest
responseObserverio.grpc.stub.StreamObserver<ListBackupsResponse>

listRestorePlans(ListRestorePlansRequest request, StreamObserver<ListRestorePlansResponse> responseObserver)

public void listRestorePlans(ListRestorePlansRequest request, StreamObserver<ListRestorePlansResponse> responseObserver)

Lists RestorePlans in a given location.

Parameters
NameDescription
requestListRestorePlansRequest
responseObserverio.grpc.stub.StreamObserver<ListRestorePlansResponse>

listRestores(ListRestoresRequest request, StreamObserver<ListRestoresResponse> responseObserver)

public void listRestores(ListRestoresRequest request, StreamObserver<ListRestoresResponse> responseObserver)

Lists the Restores for a given RestorePlan.

Parameters
NameDescription
requestListRestoresRequest
responseObserverio.grpc.stub.StreamObserver<ListRestoresResponse>

listVolumeBackups(ListVolumeBackupsRequest request, StreamObserver<ListVolumeBackupsResponse> responseObserver)

public void listVolumeBackups(ListVolumeBackupsRequest request, StreamObserver<ListVolumeBackupsResponse> responseObserver)

Lists the VolumeBackups for a given Backup.

Parameters
NameDescription
requestListVolumeBackupsRequest
responseObserverio.grpc.stub.StreamObserver<ListVolumeBackupsResponse>

listVolumeRestores(ListVolumeRestoresRequest request, StreamObserver<ListVolumeRestoresResponse> responseObserver)

public void listVolumeRestores(ListVolumeRestoresRequest request, StreamObserver<ListVolumeRestoresResponse> responseObserver)

Lists the VolumeRestores for a given Restore.

Parameters
NameDescription
requestListVolumeRestoresRequest
responseObserverio.grpc.stub.StreamObserver<ListVolumeRestoresResponse>

updateBackup(UpdateBackupRequest request, StreamObserver<Operation> responseObserver)

public void updateBackup(UpdateBackupRequest request, StreamObserver<Operation> responseObserver)

Update a Backup.

Parameters
NameDescription
requestUpdateBackupRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateBackupPlan(UpdateBackupPlanRequest request, StreamObserver<Operation> responseObserver)

public void updateBackupPlan(UpdateBackupPlanRequest request, StreamObserver<Operation> responseObserver)

Update a BackupPlan.

Parameters
NameDescription
requestUpdateBackupPlanRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateRestore(UpdateRestoreRequest request, StreamObserver<Operation> responseObserver)

public void updateRestore(UpdateRestoreRequest request, StreamObserver<Operation> responseObserver)

Update a Restore.

Parameters
NameDescription
requestUpdateRestoreRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateRestorePlan(UpdateRestorePlanRequest request, StreamObserver<Operation> responseObserver)

public void updateRestorePlan(UpdateRestorePlanRequest request, StreamObserver<Operation> responseObserver)

Update a RestorePlan.

Parameters
NameDescription
requestUpdateRestorePlanRequest
responseObserverio.grpc.stub.StreamObserver<Operation>