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
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
abandonBackup(AbandonBackupRequest request)
public ListenableFuture<Operation> abandonBackup(AbandonBackupRequest request)
Internal only.
Abandons a backup.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
build(Channel channel, CallOptions callOptions)
protected BackupDRGrpc.BackupDRFutureStub build(Channel channel, CallOptions callOptions)
Parameters |
Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createBackupPlan(CreateBackupPlanRequest request)
public ListenableFuture<Operation> createBackupPlan(CreateBackupPlanRequest request)
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
createBackupPlanAssociation(CreateBackupPlanAssociationRequest request)
public ListenableFuture<Operation> createBackupPlanAssociation(CreateBackupPlanAssociationRequest request)
Create a BackupPlanAssociation
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.
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.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
deleteBackup(DeleteBackupRequest request)
public ListenableFuture<Operation> deleteBackup(DeleteBackupRequest request)
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
deleteBackupPlan(DeleteBackupPlanRequest request)
public ListenableFuture<Operation> deleteBackupPlan(DeleteBackupPlanRequest request)
Deletes a single BackupPlan.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
deleteBackupPlanAssociation(DeleteBackupPlanAssociationRequest request)
public ListenableFuture<Operation> deleteBackupPlanAssociation(DeleteBackupPlanAssociationRequest request)
Deletes a single BackupPlanAssociation.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
deleteBackupVault(DeleteBackupVaultRequest request)
public ListenableFuture<Operation> deleteBackupVault(DeleteBackupVaultRequest request)
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
deleteManagementServer(DeleteManagementServerRequest request)
public ListenableFuture<Operation> deleteManagementServer(DeleteManagementServerRequest request)
Deletes a single ManagementServer.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
fetchAccessToken(FetchAccessTokenRequest request)
public ListenableFuture<FetchAccessTokenResponse> fetchAccessToken(FetchAccessTokenRequest request)
Internal only.
Fetch access token for a given data source.
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.
finalizeBackup(FinalizeBackupRequest request)
public ListenableFuture<Operation> finalizeBackup(FinalizeBackupRequest request)
Internal only.
Finalize a backup that was started by a call to InitiateBackup.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
getBackup(GetBackupRequest request)
public ListenableFuture<Backup> getBackup(GetBackupRequest request)
Gets details of a Backup.
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.
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.
getBackupVault(GetBackupVaultRequest request)
public ListenableFuture<BackupVault> getBackupVault(GetBackupVaultRequest request)
Gets details of a BackupVault.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<BackupVault> |
|
getDataSource(GetDataSourceRequest request)
public ListenableFuture<DataSource> getDataSource(GetDataSourceRequest request)
Gets details of a DataSource.
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.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<ManagementServer> |
|
initiateBackup(InitiateBackupRequest request)
public ListenableFuture<InitiateBackupResponse> initiateBackup(InitiateBackupRequest request)
Internal only.
Initiates a backup.
listBackupPlanAssociations(ListBackupPlanAssociationsRequest request)
public ListenableFuture<ListBackupPlanAssociationsResponse> listBackupPlanAssociations(ListBackupPlanAssociationsRequest request)
Lists BackupPlanAssociations in a given project and location.
listBackupPlans(ListBackupPlansRequest request)
public ListenableFuture<ListBackupPlansResponse> listBackupPlans(ListBackupPlansRequest request)
Lists BackupPlans in a given project and location.
listBackupVaults(ListBackupVaultsRequest request)
public ListenableFuture<ListBackupVaultsResponse> listBackupVaults(ListBackupVaultsRequest request)
Lists BackupVaults in a given project and location.
listBackups(ListBackupsRequest request)
public ListenableFuture<ListBackupsResponse> listBackups(ListBackupsRequest request)
Lists Backups in a given project and location.
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.
listManagementServers(ListManagementServersRequest request)
public ListenableFuture<ListManagementServersResponse> listManagementServers(ListManagementServersRequest request)
Lists ManagementServers in a given project and location.
removeDataSource(RemoveDataSourceRequest request)
public ListenableFuture<Operation> removeDataSource(RemoveDataSourceRequest request)
Deletes a DataSource. This is a custom method instead of a standard delete
method because external clients will not delete DataSources except for
BackupDR backup appliances.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
restoreBackup(RestoreBackupRequest request)
public ListenableFuture<Operation> restoreBackup(RestoreBackupRequest request)
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
setInternalStatus(SetInternalStatusRequest request)
public ListenableFuture<Operation> setInternalStatus(SetInternalStatusRequest request)
Sets the internal status of a DataSource.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
testIamPermissions(TestIamPermissionsRequest request)
public ListenableFuture<TestIamPermissionsResponse> testIamPermissions(TestIamPermissionsRequest request)
Returns the caller's permissions on a BackupVault resource.
A caller is not required to have Google IAM permission to make this
request.
Parameter |
Name |
Description |
request |
com.google.iam.v1.TestIamPermissionsRequest
|
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.TestIamPermissionsResponse> |
|
triggerBackup(TriggerBackupRequest request)
public ListenableFuture<Operation> triggerBackup(TriggerBackupRequest request)
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.
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.
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.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|