public static final class BackupDRGrpc.BackupDRStub extends AbstractAsyncStub<BackupDRGrpc.BackupDRStub>
A stub to allow clients to do asynchronous rpc calls to service BackupDR.
The BackupDR Service
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > BackupDRGrpc.BackupDRStubMethods
build(Channel channel, CallOptions callOptions)
protected BackupDRGrpc.BackupDRStub build(Channel channel, CallOptions callOptions)
Parameters | |
---|---|
Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
Returns | |
---|---|
Type | Description |
BackupDRGrpc.BackupDRStub |
createBackupPlan(CreateBackupPlanRequest request, StreamObserver<Operation> responseObserver)
public void createBackupPlan(CreateBackupPlanRequest request, StreamObserver<Operation> responseObserver)
Create a BackupPlan
Parameters | |
---|---|
Name | Description |
request |
CreateBackupPlanRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
createBackupPlanAssociation(CreateBackupPlanAssociationRequest request, StreamObserver<Operation> responseObserver)
public void createBackupPlanAssociation(CreateBackupPlanAssociationRequest request, StreamObserver<Operation> responseObserver)
Create a BackupPlanAssociation
Parameters | |
---|---|
Name | Description |
request |
CreateBackupPlanAssociationRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
createBackupVault(CreateBackupVaultRequest request, StreamObserver<Operation> responseObserver)
public void createBackupVault(CreateBackupVaultRequest request, StreamObserver<Operation> responseObserver)
Creates a new BackupVault in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateBackupVaultRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
createManagementServer(CreateManagementServerRequest request, StreamObserver<Operation> responseObserver)
public void createManagementServer(CreateManagementServerRequest request, StreamObserver<Operation> responseObserver)
Creates a new ManagementServer in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateManagementServerRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
deleteBackup(DeleteBackupRequest request, StreamObserver<Operation> responseObserver)
public void deleteBackup(DeleteBackupRequest request, StreamObserver<Operation> responseObserver)
Deletes a Backup.
Parameters | |
---|---|
Name | Description |
request |
DeleteBackupRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
deleteBackupPlan(DeleteBackupPlanRequest request, StreamObserver<Operation> responseObserver)
public void deleteBackupPlan(DeleteBackupPlanRequest request, StreamObserver<Operation> responseObserver)
Deletes a single BackupPlan.
Parameters | |
---|---|
Name | Description |
request |
DeleteBackupPlanRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
deleteBackupPlanAssociation(DeleteBackupPlanAssociationRequest request, StreamObserver<Operation> responseObserver)
public void deleteBackupPlanAssociation(DeleteBackupPlanAssociationRequest request, StreamObserver<Operation> responseObserver)
Deletes a single BackupPlanAssociation.
Parameters | |
---|---|
Name | Description |
request |
DeleteBackupPlanAssociationRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
deleteBackupVault(DeleteBackupVaultRequest request, StreamObserver<Operation> responseObserver)
public void deleteBackupVault(DeleteBackupVaultRequest request, StreamObserver<Operation> responseObserver)
Deletes a BackupVault.
Parameters | |
---|---|
Name | Description |
request |
DeleteBackupVaultRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
deleteManagementServer(DeleteManagementServerRequest request, StreamObserver<Operation> responseObserver)
public void deleteManagementServer(DeleteManagementServerRequest request, StreamObserver<Operation> responseObserver)
Deletes a single ManagementServer.
Parameters | |
---|---|
Name | Description |
request |
DeleteManagementServerRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
fetchUsableBackupVaults(FetchUsableBackupVaultsRequest request, StreamObserver<FetchUsableBackupVaultsResponse> responseObserver)
public void fetchUsableBackupVaults(FetchUsableBackupVaultsRequest request, StreamObserver<FetchUsableBackupVaultsResponse> responseObserver)
FetchUsableBackupVaults lists usable BackupVaults in a given project and location. Usable BackupVault are the ones that user has backupdr.backupVaults.get permission.
Parameters | |
---|---|
Name | Description |
request |
FetchUsableBackupVaultsRequest |
responseObserver |
io.grpc.stub.StreamObserver<FetchUsableBackupVaultsResponse> |
getBackup(GetBackupRequest request, StreamObserver<Backup> responseObserver)
public void getBackup(GetBackupRequest request, StreamObserver<Backup> responseObserver)
Gets details of a Backup.
Parameters | |
---|---|
Name | Description |
request |
GetBackupRequest |
responseObserver |
io.grpc.stub.StreamObserver<Backup> |
getBackupPlan(GetBackupPlanRequest request, StreamObserver<BackupPlan> responseObserver)
public void getBackupPlan(GetBackupPlanRequest request, StreamObserver<BackupPlan> responseObserver)
Gets details of a single BackupPlan.
Parameters | |
---|---|
Name | Description |
request |
GetBackupPlanRequest |
responseObserver |
io.grpc.stub.StreamObserver<BackupPlan> |
getBackupPlanAssociation(GetBackupPlanAssociationRequest request, StreamObserver<BackupPlanAssociation> responseObserver)
public void getBackupPlanAssociation(GetBackupPlanAssociationRequest request, StreamObserver<BackupPlanAssociation> responseObserver)
Gets details of a single BackupPlanAssociation.
Parameters | |
---|---|
Name | Description |
request |
GetBackupPlanAssociationRequest |
responseObserver |
io.grpc.stub.StreamObserver<BackupPlanAssociation> |
getBackupVault(GetBackupVaultRequest request, StreamObserver<BackupVault> responseObserver)
public void getBackupVault(GetBackupVaultRequest request, StreamObserver<BackupVault> responseObserver)
Gets details of a BackupVault.
Parameters | |
---|---|
Name | Description |
request |
GetBackupVaultRequest |
responseObserver |
io.grpc.stub.StreamObserver<BackupVault> |
getDataSource(GetDataSourceRequest request, StreamObserver<DataSource> responseObserver)
public void getDataSource(GetDataSourceRequest request, StreamObserver<DataSource> responseObserver)
Gets details of a DataSource.
Parameters | |
---|---|
Name | Description |
request |
GetDataSourceRequest |
responseObserver |
io.grpc.stub.StreamObserver<DataSource> |
getManagementServer(GetManagementServerRequest request, StreamObserver<ManagementServer> responseObserver)
public void getManagementServer(GetManagementServerRequest request, StreamObserver<ManagementServer> responseObserver)
Gets details of a single ManagementServer.
Parameters | |
---|---|
Name | Description |
request |
GetManagementServerRequest |
responseObserver |
io.grpc.stub.StreamObserver<ManagementServer> |
listBackupPlanAssociations(ListBackupPlanAssociationsRequest request, StreamObserver<ListBackupPlanAssociationsResponse> responseObserver)
public void listBackupPlanAssociations(ListBackupPlanAssociationsRequest request, StreamObserver<ListBackupPlanAssociationsResponse> responseObserver)
Lists BackupPlanAssociations in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListBackupPlanAssociationsRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListBackupPlanAssociationsResponse> |
listBackupPlans(ListBackupPlansRequest request, StreamObserver<ListBackupPlansResponse> responseObserver)
public void listBackupPlans(ListBackupPlansRequest request, StreamObserver<ListBackupPlansResponse> responseObserver)
Lists BackupPlans in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListBackupPlansRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListBackupPlansResponse> |
listBackupVaults(ListBackupVaultsRequest request, StreamObserver<ListBackupVaultsResponse> responseObserver)
public void listBackupVaults(ListBackupVaultsRequest request, StreamObserver<ListBackupVaultsResponse> responseObserver)
Lists BackupVaults in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListBackupVaultsRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListBackupVaultsResponse> |
listBackups(ListBackupsRequest request, StreamObserver<ListBackupsResponse> responseObserver)
public void listBackups(ListBackupsRequest request, StreamObserver<ListBackupsResponse> responseObserver)
Lists Backups in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListBackupsRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListBackupsResponse> |
listDataSources(ListDataSourcesRequest request, StreamObserver<ListDataSourcesResponse> responseObserver)
public void listDataSources(ListDataSourcesRequest request, StreamObserver<ListDataSourcesResponse> responseObserver)
Lists DataSources in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListDataSourcesRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListDataSourcesResponse> |
listManagementServers(ListManagementServersRequest request, StreamObserver<ListManagementServersResponse> responseObserver)
public void listManagementServers(ListManagementServersRequest request, StreamObserver<ListManagementServersResponse> responseObserver)
Lists ManagementServers in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListManagementServersRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListManagementServersResponse> |
restoreBackup(RestoreBackupRequest request, StreamObserver<Operation> responseObserver)
public void restoreBackup(RestoreBackupRequest request, StreamObserver<Operation> responseObserver)
Restore from a Backup
Parameters | |
---|---|
Name | Description |
request |
RestoreBackupRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
triggerBackup(TriggerBackupRequest request, StreamObserver<Operation> responseObserver)
public void triggerBackup(TriggerBackupRequest request, StreamObserver<Operation> responseObserver)
Triggers a new Backup.
Parameters | |
---|---|
Name | Description |
request |
TriggerBackupRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
updateBackup(UpdateBackupRequest request, StreamObserver<Operation> responseObserver)
public void updateBackup(UpdateBackupRequest request, StreamObserver<Operation> responseObserver)
Updates the settings of a Backup.
Parameters | |
---|---|
Name | Description |
request |
UpdateBackupRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
updateBackupVault(UpdateBackupVaultRequest request, StreamObserver<Operation> responseObserver)
public void updateBackupVault(UpdateBackupVaultRequest request, StreamObserver<Operation> responseObserver)
Updates the settings of a BackupVault.
Parameters | |
---|---|
Name | Description |
request |
UpdateBackupVaultRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
updateDataSource(UpdateDataSourceRequest request, StreamObserver<Operation> responseObserver)
public void updateDataSource(UpdateDataSourceRequest request, StreamObserver<Operation> responseObserver)
Updates the settings of a DataSource.
Parameters | |
---|---|
Name | Description |
request |
UpdateDataSourceRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |