public class GrpcBackupDRStub extends BackupDRStub
gRPC stub implementation for the BackupDR service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcBackupDRStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcBackupDRStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(BackupDRStubSettings settings)
public static final GrpcBackupDRStub create(BackupDRStubSettings settings)
Constructors
GrpcBackupDRStub(BackupDRStubSettings settings, ClientContext clientContext)
protected GrpcBackupDRStub(BackupDRStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcBackupDRStub, using the given settings. This is protected so that
it is easy to make a subclass, but otherwise, the static factory methods should be preferred.
GrpcBackupDRStub(BackupDRStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcBackupDRStub(BackupDRStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcBackupDRStub, using the given settings. This is protected so that
it is easy to make a subclass, but otherwise, the static factory methods should be preferred.
Methods
abandonBackupCallable()
public UnaryCallable<AbandonBackupRequest,Operation> abandonBackupCallable()
Overrides
abandonBackupOperationCallable()
public OperationCallable<AbandonBackupRequest,Empty,OperationMetadata> abandonBackupOperationCallable()
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createBackupPlanAssociationCallable()
public UnaryCallable<CreateBackupPlanAssociationRequest,Operation> createBackupPlanAssociationCallable()
Overrides
createBackupPlanAssociationOperationCallable()
public OperationCallable<CreateBackupPlanAssociationRequest,BackupPlanAssociation,OperationMetadata> createBackupPlanAssociationOperationCallable()
Overrides
createBackupPlanCallable()
public UnaryCallable<CreateBackupPlanRequest,Operation> createBackupPlanCallable()
Overrides
createBackupPlanOperationCallable()
public OperationCallable<CreateBackupPlanRequest,BackupPlan,OperationMetadata> createBackupPlanOperationCallable()
Overrides
createBackupVaultCallable()
public UnaryCallable<CreateBackupVaultRequest,Operation> createBackupVaultCallable()
Overrides
createBackupVaultOperationCallable()
public OperationCallable<CreateBackupVaultRequest,BackupVault,OperationMetadata> createBackupVaultOperationCallable()
Overrides
createManagementServerCallable()
public UnaryCallable<CreateManagementServerRequest,Operation> createManagementServerCallable()
Overrides
createManagementServerOperationCallable()
public OperationCallable<CreateManagementServerRequest,ManagementServer,OperationMetadata> createManagementServerOperationCallable()
Overrides
deleteBackupCallable()
public UnaryCallable<DeleteBackupRequest,Operation> deleteBackupCallable()
Overrides
deleteBackupOperationCallable()
public OperationCallable<DeleteBackupRequest,Backup,OperationMetadata> deleteBackupOperationCallable()
Overrides
deleteBackupPlanAssociationCallable()
public UnaryCallable<DeleteBackupPlanAssociationRequest,Operation> deleteBackupPlanAssociationCallable()
Overrides
deleteBackupPlanAssociationOperationCallable()
public OperationCallable<DeleteBackupPlanAssociationRequest,Empty,OperationMetadata> deleteBackupPlanAssociationOperationCallable()
Overrides
deleteBackupPlanCallable()
public UnaryCallable<DeleteBackupPlanRequest,Operation> deleteBackupPlanCallable()
Overrides
deleteBackupPlanOperationCallable()
public OperationCallable<DeleteBackupPlanRequest,Empty,OperationMetadata> deleteBackupPlanOperationCallable()
Overrides
deleteBackupVaultCallable()
public UnaryCallable<DeleteBackupVaultRequest,Operation> deleteBackupVaultCallable()
Overrides
deleteBackupVaultOperationCallable()
public OperationCallable<DeleteBackupVaultRequest,Empty,OperationMetadata> deleteBackupVaultOperationCallable()
Overrides
deleteManagementServerCallable()
public UnaryCallable<DeleteManagementServerRequest,Operation> deleteManagementServerCallable()
Overrides
deleteManagementServerOperationCallable()
public OperationCallable<DeleteManagementServerRequest,Empty,OperationMetadata> deleteManagementServerOperationCallable()
Overrides
fetchAccessTokenCallable()
public UnaryCallable<FetchAccessTokenRequest,FetchAccessTokenResponse> fetchAccessTokenCallable()
Overrides
fetchUsableBackupVaultsCallable()
public UnaryCallable<FetchUsableBackupVaultsRequest,FetchUsableBackupVaultsResponse> fetchUsableBackupVaultsCallable()
Overrides
fetchUsableBackupVaultsPagedCallable()
public UnaryCallable<FetchUsableBackupVaultsRequest,BackupDRClient.FetchUsableBackupVaultsPagedResponse> fetchUsableBackupVaultsPagedCallable()
Overrides
finalizeBackupCallable()
public UnaryCallable<FinalizeBackupRequest,Operation> finalizeBackupCallable()
Overrides
finalizeBackupOperationCallable()
public OperationCallable<FinalizeBackupRequest,Backup,OperationMetadata> finalizeBackupOperationCallable()
Overrides
getBackupCallable()
public UnaryCallable<GetBackupRequest,Backup> getBackupCallable()
Overrides
getBackupPlanAssociationCallable()
public UnaryCallable<GetBackupPlanAssociationRequest,BackupPlanAssociation> getBackupPlanAssociationCallable()
Overrides
getBackupPlanCallable()
public UnaryCallable<GetBackupPlanRequest,BackupPlan> getBackupPlanCallable()
Overrides
getBackupVaultCallable()
public UnaryCallable<GetBackupVaultRequest,BackupVault> getBackupVaultCallable()
Overrides
getDataSourceCallable()
public UnaryCallable<GetDataSourceRequest,DataSource> getDataSourceCallable()
Overrides
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
|
Overrides
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
Overrides
getManagementServerCallable()
public UnaryCallable<GetManagementServerRequest,ManagementServer> getManagementServerCallable()
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Overrides
initiateBackupCallable()
public UnaryCallable<InitiateBackupRequest,InitiateBackupResponse> initiateBackupCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listBackupPlanAssociationsCallable()
public UnaryCallable<ListBackupPlanAssociationsRequest,ListBackupPlanAssociationsResponse> listBackupPlanAssociationsCallable()
Overrides
listBackupPlanAssociationsPagedCallable()
public UnaryCallable<ListBackupPlanAssociationsRequest,BackupDRClient.ListBackupPlanAssociationsPagedResponse> listBackupPlanAssociationsPagedCallable()
Overrides
listBackupPlansCallable()
public UnaryCallable<ListBackupPlansRequest,ListBackupPlansResponse> listBackupPlansCallable()
Overrides
listBackupPlansPagedCallable()
public UnaryCallable<ListBackupPlansRequest,BackupDRClient.ListBackupPlansPagedResponse> listBackupPlansPagedCallable()
Overrides
listBackupVaultsCallable()
public UnaryCallable<ListBackupVaultsRequest,ListBackupVaultsResponse> listBackupVaultsCallable()
Overrides
listBackupVaultsPagedCallable()
public UnaryCallable<ListBackupVaultsRequest,BackupDRClient.ListBackupVaultsPagedResponse> listBackupVaultsPagedCallable()
Overrides
listBackupsCallable()
public UnaryCallable<ListBackupsRequest,ListBackupsResponse> listBackupsCallable()
Overrides
listBackupsPagedCallable()
public UnaryCallable<ListBackupsRequest,BackupDRClient.ListBackupsPagedResponse> listBackupsPagedCallable()
Overrides
listDataSourcesCallable()
public UnaryCallable<ListDataSourcesRequest,ListDataSourcesResponse> listDataSourcesCallable()
Overrides
listDataSourcesPagedCallable()
public UnaryCallable<ListDataSourcesRequest,BackupDRClient.ListDataSourcesPagedResponse> listDataSourcesPagedCallable()
Overrides
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
|
Overrides
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,BackupDRClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Overrides
listManagementServersCallable()
public UnaryCallable<ListManagementServersRequest,ListManagementServersResponse> listManagementServersCallable()
Overrides
listManagementServersPagedCallable()
public UnaryCallable<ListManagementServersRequest,BackupDRClient.ListManagementServersPagedResponse> listManagementServersPagedCallable()
Overrides
removeDataSourceCallable()
public UnaryCallable<RemoveDataSourceRequest,Operation> removeDataSourceCallable()
Overrides
removeDataSourceOperationCallable()
public OperationCallable<RemoveDataSourceRequest,Empty,OperationMetadata> removeDataSourceOperationCallable()
Overrides
restoreBackupCallable()
public UnaryCallable<RestoreBackupRequest,Operation> restoreBackupCallable()
Overrides
restoreBackupOperationCallable()
public OperationCallable<RestoreBackupRequest,RestoreBackupResponse,OperationMetadata> restoreBackupOperationCallable()
Overrides
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
|
Overrides
setInternalStatusCallable()
public UnaryCallable<SetInternalStatusRequest,Operation> setInternalStatusCallable()
Overrides
setInternalStatusOperationCallable()
public OperationCallable<SetInternalStatusRequest,SetInternalStatusResponse,OperationMetadata> setInternalStatusOperationCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
|
Overrides
triggerBackupCallable()
public UnaryCallable<TriggerBackupRequest,Operation> triggerBackupCallable()
Overrides
triggerBackupOperationCallable()
public OperationCallable<TriggerBackupRequest,BackupPlanAssociation,OperationMetadata> triggerBackupOperationCallable()
Overrides
updateBackupCallable()
public UnaryCallable<UpdateBackupRequest,Operation> updateBackupCallable()
Overrides
updateBackupOperationCallable()
public OperationCallable<UpdateBackupRequest,Backup,OperationMetadata> updateBackupOperationCallable()
Overrides
updateBackupVaultCallable()
public UnaryCallable<UpdateBackupVaultRequest,Operation> updateBackupVaultCallable()
Overrides
updateBackupVaultOperationCallable()
public OperationCallable<UpdateBackupVaultRequest,BackupVault,OperationMetadata> updateBackupVaultOperationCallable()
Overrides
updateDataSourceCallable()
public UnaryCallable<UpdateDataSourceRequest,Operation> updateDataSourceCallable()
Overrides
updateDataSourceOperationCallable()
public OperationCallable<UpdateDataSourceRequest,DataSource,OperationMetadata> updateDataSourceOperationCallable()
Overrides