Class BackupDRGrpc.BackupDRFutureStub (0.13.0)

public static final class BackupDRGrpc.BackupDRFutureStub extends AbstractFutureStub<BackupDRGrpc.BackupDRFutureStub>

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

The BackupDR Service

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > BackupDRGrpc.BackupDRFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

createBackupPlan(CreateBackupPlanRequest request)

public ListenableFuture<Operation> createBackupPlan(CreateBackupPlanRequest request)

Create a BackupPlan

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

createBackupPlanAssociation(CreateBackupPlanAssociationRequest request)

public ListenableFuture<Operation> createBackupPlanAssociation(CreateBackupPlanAssociationRequest request)

Create a BackupPlanAssociation

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

createBackupVault(CreateBackupVaultRequest request)

public ListenableFuture<Operation> createBackupVault(CreateBackupVaultRequest request)

Creates a new BackupVault in a given project and location.

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

createManagementServer(CreateManagementServerRequest request)

public ListenableFuture<Operation> createManagementServer(CreateManagementServerRequest request)

Creates a new ManagementServer in a given project and location.

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

deleteBackup(DeleteBackupRequest request)

public ListenableFuture<Operation> deleteBackup(DeleteBackupRequest request)

Deletes a 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 a single BackupPlan.

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

deleteBackupPlanAssociation(DeleteBackupPlanAssociationRequest request)

public ListenableFuture<Operation> deleteBackupPlanAssociation(DeleteBackupPlanAssociationRequest request)

Deletes a single BackupPlanAssociation.

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

deleteBackupVault(DeleteBackupVaultRequest request)

public ListenableFuture<Operation> deleteBackupVault(DeleteBackupVaultRequest request)

Deletes a BackupVault.

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

deleteManagementServer(DeleteManagementServerRequest request)

public ListenableFuture<Operation> deleteManagementServer(DeleteManagementServerRequest request)

Deletes a single ManagementServer.

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

fetchUsableBackupVaults(FetchUsableBackupVaultsRequest request)

public ListenableFuture<FetchUsableBackupVaultsResponse> fetchUsableBackupVaults(FetchUsableBackupVaultsRequest request)

FetchUsableBackupVaults lists usable BackupVaults in a given project and location. Usable BackupVault are the ones that user has backupdr.backupVaults.get permission.

Parameter
Name Description
request FetchUsableBackupVaultsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<FetchUsableBackupVaultsResponse>

getBackup(GetBackupRequest request)

public ListenableFuture<Backup> getBackup(GetBackupRequest request)

Gets details of a Backup.

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

getBackupPlan(GetBackupPlanRequest request)

public ListenableFuture<BackupPlan> getBackupPlan(GetBackupPlanRequest request)

Gets details of a single BackupPlan.

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

getBackupPlanAssociation(GetBackupPlanAssociationRequest request)

public ListenableFuture<BackupPlanAssociation> getBackupPlanAssociation(GetBackupPlanAssociationRequest request)

Gets details of a single BackupPlanAssociation.

Parameter
Name Description
request GetBackupPlanAssociationRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<BackupPlanAssociation>

getBackupVault(GetBackupVaultRequest request)

public ListenableFuture<BackupVault> getBackupVault(GetBackupVaultRequest request)

Gets details of a BackupVault.

Parameter
Name Description
request GetBackupVaultRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<BackupVault>

getDataSource(GetDataSourceRequest request)

public ListenableFuture<DataSource> getDataSource(GetDataSourceRequest request)

Gets details of a DataSource.

Parameter
Name Description
request GetDataSourceRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<DataSource>

getManagementServer(GetManagementServerRequest request)

public ListenableFuture<ManagementServer> getManagementServer(GetManagementServerRequest request)

Gets details of a single ManagementServer.

Parameter
Name Description
request GetManagementServerRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ManagementServer>

listBackupPlanAssociations(ListBackupPlanAssociationsRequest request)

public ListenableFuture<ListBackupPlanAssociationsResponse> listBackupPlanAssociations(ListBackupPlanAssociationsRequest request)

Lists BackupPlanAssociations in a given project and location.

Parameter
Name Description
request ListBackupPlanAssociationsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListBackupPlanAssociationsResponse>

listBackupPlans(ListBackupPlansRequest request)

public ListenableFuture<ListBackupPlansResponse> listBackupPlans(ListBackupPlansRequest request)

Lists BackupPlans in a given project and location.

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

listBackupVaults(ListBackupVaultsRequest request)

public ListenableFuture<ListBackupVaultsResponse> listBackupVaults(ListBackupVaultsRequest request)

Lists BackupVaults in a given project and location.

Parameter
Name Description
request ListBackupVaultsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListBackupVaultsResponse>

listBackups(ListBackupsRequest request)

public ListenableFuture<ListBackupsResponse> listBackups(ListBackupsRequest request)

Lists Backups in a given project and location.

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

listDataSources(ListDataSourcesRequest request)

public ListenableFuture<ListDataSourcesResponse> listDataSources(ListDataSourcesRequest request)

Lists DataSources in a given project and location.

Parameter
Name Description
request ListDataSourcesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListDataSourcesResponse>

listManagementServers(ListManagementServersRequest request)

public ListenableFuture<ListManagementServersResponse> listManagementServers(ListManagementServersRequest request)

Lists ManagementServers in a given project and location.

Parameter
Name Description
request ListManagementServersRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListManagementServersResponse>

restoreBackup(RestoreBackupRequest request)

public ListenableFuture<Operation> restoreBackup(RestoreBackupRequest request)

Restore from a Backup

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

triggerBackup(TriggerBackupRequest request)

public ListenableFuture<Operation> triggerBackup(TriggerBackupRequest request)

Triggers a new Backup.

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

updateBackup(UpdateBackupRequest request)

public ListenableFuture<Operation> updateBackup(UpdateBackupRequest request)

Updates the settings of a Backup.

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

updateBackupVault(UpdateBackupVaultRequest request)

public ListenableFuture<Operation> updateBackupVault(UpdateBackupVaultRequest request)

Updates the settings of a BackupVault.

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

updateDataSource(UpdateDataSourceRequest request)

public ListenableFuture<Operation> updateDataSource(UpdateDataSourceRequest request)

Updates the settings of a DataSource.

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