Class HttpJsonBackupDRStub (0.31.0)

publicclass HttpJsonBackupDRStubextendsBackupDRStub

REST stub implementation for the BackupDR service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > BackupDRStub > HttpJsonBackupDRStub

Inherited Members

Static Methods

create(ClientContext clientContext)

publicstaticfinalHttpJsonBackupDRStubcreate(ClientContextclientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonBackupDRStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

publicstaticfinalHttpJsonBackupDRStubcreate(ClientContextclientContext,HttpJsonStubCallableFactorycallableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonBackupDRStub
Exceptions
Type Description
IOException

create(BackupDRStubSettings settings)

publicstaticfinalHttpJsonBackupDRStubcreate(BackupDRStubSettingssettings)
Parameter
Name Description
settings BackupDRStubSettings
Returns
Type Description
HttpJsonBackupDRStub
Exceptions
Type Description
IOException

getMethodDescriptors()

publicstaticList<ApiMethodDescriptor>getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonBackupDRStub(BackupDRStubSettings settings, ClientContext clientContext)

protectedHttpJsonBackupDRStub(BackupDRStubSettingssettings,ClientContextclientContext)

Constructs an instance of HttpJsonBackupDRStub, 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.

Parameters
Name Description
settings BackupDRStubSettings
clientContext ClientContext

HttpJsonBackupDRStub(BackupDRStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protectedHttpJsonBackupDRStub(BackupDRStubSettingssettings,ClientContextclientContext,HttpJsonStubCallableFactorycallableFactory)

Constructs an instance of HttpJsonBackupDRStub, 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.

Parameters
Name Description
settings BackupDRStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

publicbooleanawaitTermination(longduration,TimeUnitunit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

publicfinalvoidclose()
Overrides

createBackupPlanAssociationCallable()

publicUnaryCallable<CreateBackupPlanAssociationRequest,Operation>createBackupPlanAssociationCallable()
Returns
Type Description
UnaryCallable<CreateBackupPlanAssociationRequest,Operation>
Overrides

createBackupPlanAssociationOperationCallable()

publicOperationCallable<CreateBackupPlanAssociationRequest,BackupPlanAssociation,OperationMetadata>createBackupPlanAssociationOperationCallable()
Returns
Type Description
OperationCallable<CreateBackupPlanAssociationRequest,BackupPlanAssociation,OperationMetadata>
Overrides

createBackupPlanCallable()

publicUnaryCallable<CreateBackupPlanRequest,Operation>createBackupPlanCallable()
Returns
Type Description
UnaryCallable<CreateBackupPlanRequest,Operation>
Overrides

createBackupPlanOperationCallable()

publicOperationCallable<CreateBackupPlanRequest,BackupPlan,OperationMetadata>createBackupPlanOperationCallable()
Returns
Type Description
OperationCallable<CreateBackupPlanRequest,BackupPlan,OperationMetadata>
Overrides

createBackupVaultCallable()

publicUnaryCallable<CreateBackupVaultRequest,Operation>createBackupVaultCallable()
Returns
Type Description
UnaryCallable<CreateBackupVaultRequest,Operation>
Overrides

createBackupVaultOperationCallable()

publicOperationCallable<CreateBackupVaultRequest,BackupVault,OperationMetadata>createBackupVaultOperationCallable()
Returns
Type Description
OperationCallable<CreateBackupVaultRequest,BackupVault,OperationMetadata>
Overrides

createManagementServerCallable()

publicUnaryCallable<CreateManagementServerRequest,Operation>createManagementServerCallable()
Returns
Type Description
UnaryCallable<CreateManagementServerRequest,Operation>
Overrides

createManagementServerOperationCallable()

publicOperationCallable<CreateManagementServerRequest,ManagementServer,OperationMetadata>createManagementServerOperationCallable()
Returns
Type Description
OperationCallable<CreateManagementServerRequest,ManagementServer,OperationMetadata>
Overrides

deleteBackupCallable()

publicUnaryCallable<DeleteBackupRequest,Operation>deleteBackupCallable()
Returns
Type Description
UnaryCallable<DeleteBackupRequest,Operation>
Overrides

deleteBackupOperationCallable()

publicOperationCallable<DeleteBackupRequest,Backup,OperationMetadata>deleteBackupOperationCallable()
Returns
Type Description
OperationCallable<DeleteBackupRequest,Backup,OperationMetadata>
Overrides

deleteBackupPlanAssociationCallable()

publicUnaryCallable<DeleteBackupPlanAssociationRequest,Operation>deleteBackupPlanAssociationCallable()
Returns
Type Description
UnaryCallable<DeleteBackupPlanAssociationRequest,Operation>
Overrides

deleteBackupPlanAssociationOperationCallable()

publicOperationCallable<DeleteBackupPlanAssociationRequest,Empty,OperationMetadata>deleteBackupPlanAssociationOperationCallable()
Returns
Type Description
OperationCallable<DeleteBackupPlanAssociationRequest,Empty,OperationMetadata>
Overrides

deleteBackupPlanCallable()

publicUnaryCallable<DeleteBackupPlanRequest,Operation>deleteBackupPlanCallable()
Returns
Type Description
UnaryCallable<DeleteBackupPlanRequest,Operation>
Overrides

deleteBackupPlanOperationCallable()

publicOperationCallable<DeleteBackupPlanRequest,Empty,OperationMetadata>deleteBackupPlanOperationCallable()
Returns
Type Description
OperationCallable<DeleteBackupPlanRequest,Empty,OperationMetadata>
Overrides

deleteBackupVaultCallable()

publicUnaryCallable<DeleteBackupVaultRequest,Operation>deleteBackupVaultCallable()
Returns
Type Description
UnaryCallable<DeleteBackupVaultRequest,Operation>
Overrides

deleteBackupVaultOperationCallable()

publicOperationCallable<DeleteBackupVaultRequest,Empty,OperationMetadata>deleteBackupVaultOperationCallable()
Returns
Type Description
OperationCallable<DeleteBackupVaultRequest,Empty,OperationMetadata>
Overrides

deleteManagementServerCallable()

publicUnaryCallable<DeleteManagementServerRequest,Operation>deleteManagementServerCallable()
Returns
Type Description
UnaryCallable<DeleteManagementServerRequest,Operation>
Overrides

deleteManagementServerOperationCallable()

publicOperationCallable<DeleteManagementServerRequest,Empty,OperationMetadata>deleteManagementServerOperationCallable()
Returns
Type Description
OperationCallable<DeleteManagementServerRequest,Empty,OperationMetadata>
Overrides

fetchBackupPlanAssociationsForResourceTypeCallable()

publicUnaryCallable<FetchBackupPlanAssociationsForResourceTypeRequest,FetchBackupPlanAssociationsForResourceTypeResponse>fetchBackupPlanAssociationsForResourceTypeCallable()
Returns
Type Description
UnaryCallable<FetchBackupPlanAssociationsForResourceTypeRequest,FetchBackupPlanAssociationsForResourceTypeResponse>
Overrides

fetchBackupPlanAssociationsForResourceTypePagedCallable()

publicUnaryCallable<FetchBackupPlanAssociationsForResourceTypeRequest,BackupDRClient.FetchBackupPlanAssociationsForResourceTypePagedResponse>fetchBackupPlanAssociationsForResourceTypePagedCallable()
Returns
Type Description
UnaryCallable<FetchBackupPlanAssociationsForResourceTypeRequest,FetchBackupPlanAssociationsForResourceTypePagedResponse>
Overrides

fetchDataSourceReferencesForResourceTypeCallable()

publicUnaryCallable<FetchDataSourceReferencesForResourceTypeRequest,FetchDataSourceReferencesForResourceTypeResponse>fetchDataSourceReferencesForResourceTypeCallable()
Returns
Type Description
UnaryCallable<FetchDataSourceReferencesForResourceTypeRequest,FetchDataSourceReferencesForResourceTypeResponse>
Overrides

fetchDataSourceReferencesForResourceTypePagedCallable()

publicUnaryCallable<FetchDataSourceReferencesForResourceTypeRequest,BackupDRClient.FetchDataSourceReferencesForResourceTypePagedResponse>fetchDataSourceReferencesForResourceTypePagedCallable()
Returns
Type Description
UnaryCallable<FetchDataSourceReferencesForResourceTypeRequest,FetchDataSourceReferencesForResourceTypePagedResponse>
Overrides

fetchUsableBackupVaultsCallable()

publicUnaryCallable<FetchUsableBackupVaultsRequest,FetchUsableBackupVaultsResponse>fetchUsableBackupVaultsCallable()
Returns
Type Description
UnaryCallable<FetchUsableBackupVaultsRequest,FetchUsableBackupVaultsResponse>
Overrides

fetchUsableBackupVaultsPagedCallable()

publicUnaryCallable<FetchUsableBackupVaultsRequest,BackupDRClient.FetchUsableBackupVaultsPagedResponse>fetchUsableBackupVaultsPagedCallable()
Returns
Type Description
UnaryCallable<FetchUsableBackupVaultsRequest,FetchUsableBackupVaultsPagedResponse>
Overrides

getBackupCallable()

publicUnaryCallable<GetBackupRequest,Backup>getBackupCallable()
Returns
Type Description
UnaryCallable<GetBackupRequest,Backup>
Overrides

getBackupPlanAssociationCallable()

publicUnaryCallable<GetBackupPlanAssociationRequest,BackupPlanAssociation>getBackupPlanAssociationCallable()
Returns
Type Description
UnaryCallable<GetBackupPlanAssociationRequest,BackupPlanAssociation>
Overrides

getBackupPlanCallable()

publicUnaryCallable<GetBackupPlanRequest,BackupPlan>getBackupPlanCallable()
Returns
Type Description
UnaryCallable<GetBackupPlanRequest,BackupPlan>
Overrides

getBackupPlanRevisionCallable()

publicUnaryCallable<GetBackupPlanRevisionRequest,BackupPlanRevision>getBackupPlanRevisionCallable()
Returns
Type Description
UnaryCallable<GetBackupPlanRevisionRequest,BackupPlanRevision>
Overrides

getBackupVaultCallable()

publicUnaryCallable<GetBackupVaultRequest,BackupVault>getBackupVaultCallable()
Returns
Type Description
UnaryCallable<GetBackupVaultRequest,BackupVault>
Overrides

getDataSourceCallable()

publicUnaryCallable<GetDataSourceRequest,DataSource>getDataSourceCallable()
Returns
Type Description
UnaryCallable<GetDataSourceRequest,DataSource>
Overrides

getDataSourceReferenceCallable()

publicUnaryCallable<GetDataSourceReferenceRequest,DataSourceReference>getDataSourceReferenceCallable()
Returns
Type Description
UnaryCallable<GetDataSourceReferenceRequest,DataSourceReference>
Overrides

getHttpJsonOperationsStub()

publicHttpJsonOperationsStubgetHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
Overrides

getIamPolicyCallable()

publicUnaryCallable<GetIamPolicyRequest,Policy>getIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

getLocationCallable()

publicUnaryCallable<GetLocationRequest,Location>getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getManagementServerCallable()

publicUnaryCallable<GetManagementServerRequest,ManagementServer>getManagementServerCallable()
Returns
Type Description
UnaryCallable<GetManagementServerRequest,ManagementServer>
Overrides

initializeServiceCallable()

publicUnaryCallable<InitializeServiceRequest,Operation>initializeServiceCallable()
Returns
Type Description
UnaryCallable<InitializeServiceRequest,Operation>
Overrides

initializeServiceOperationCallable()

publicOperationCallable<InitializeServiceRequest,InitializeServiceResponse,OperationMetadata>initializeServiceOperationCallable()
Returns
Type Description
OperationCallable<InitializeServiceRequest,InitializeServiceResponse,OperationMetadata>
Overrides

isShutdown()

publicbooleanisShutdown()
Returns
Type Description
boolean

isTerminated()

publicbooleanisTerminated()
Returns
Type Description
boolean

listBackupPlanAssociationsCallable()

publicUnaryCallable<ListBackupPlanAssociationsRequest,ListBackupPlanAssociationsResponse>listBackupPlanAssociationsCallable()
Returns
Type Description
UnaryCallable<ListBackupPlanAssociationsRequest,ListBackupPlanAssociationsResponse>
Overrides

listBackupPlanAssociationsPagedCallable()

publicUnaryCallable<ListBackupPlanAssociationsRequest,BackupDRClient.ListBackupPlanAssociationsPagedResponse>listBackupPlanAssociationsPagedCallable()
Returns
Type Description
UnaryCallable<ListBackupPlanAssociationsRequest,ListBackupPlanAssociationsPagedResponse>
Overrides

listBackupPlanRevisionsCallable()

publicUnaryCallable<ListBackupPlanRevisionsRequest,ListBackupPlanRevisionsResponse>listBackupPlanRevisionsCallable()
Returns
Type Description
UnaryCallable<ListBackupPlanRevisionsRequest,ListBackupPlanRevisionsResponse>
Overrides

listBackupPlanRevisionsPagedCallable()

publicUnaryCallable<ListBackupPlanRevisionsRequest,BackupDRClient.ListBackupPlanRevisionsPagedResponse>listBackupPlanRevisionsPagedCallable()
Returns
Type Description
UnaryCallable<ListBackupPlanRevisionsRequest,ListBackupPlanRevisionsPagedResponse>
Overrides

listBackupPlansCallable()

publicUnaryCallable<ListBackupPlansRequest,ListBackupPlansResponse>listBackupPlansCallable()
Returns
Type Description
UnaryCallable<ListBackupPlansRequest,ListBackupPlansResponse>
Overrides

listBackupPlansPagedCallable()

publicUnaryCallable<ListBackupPlansRequest,BackupDRClient.ListBackupPlansPagedResponse>listBackupPlansPagedCallable()
Returns
Type Description
UnaryCallable<ListBackupPlansRequest,ListBackupPlansPagedResponse>
Overrides

listBackupVaultsCallable()

publicUnaryCallable<ListBackupVaultsRequest,ListBackupVaultsResponse>listBackupVaultsCallable()
Returns
Type Description
UnaryCallable<ListBackupVaultsRequest,ListBackupVaultsResponse>
Overrides

listBackupVaultsPagedCallable()

publicUnaryCallable<ListBackupVaultsRequest,BackupDRClient.ListBackupVaultsPagedResponse>listBackupVaultsPagedCallable()
Returns
Type Description
UnaryCallable<ListBackupVaultsRequest,ListBackupVaultsPagedResponse>
Overrides

listBackupsCallable()

publicUnaryCallable<ListBackupsRequest,ListBackupsResponse>listBackupsCallable()
Returns
Type Description
UnaryCallable<ListBackupsRequest,ListBackupsResponse>
Overrides

listBackupsPagedCallable()

publicUnaryCallable<ListBackupsRequest,BackupDRClient.ListBackupsPagedResponse>listBackupsPagedCallable()
Returns
Type Description
UnaryCallable<ListBackupsRequest,ListBackupsPagedResponse>
Overrides

listDataSourcesCallable()

publicUnaryCallable<ListDataSourcesRequest,ListDataSourcesResponse>listDataSourcesCallable()
Returns
Type Description
UnaryCallable<ListDataSourcesRequest,ListDataSourcesResponse>
Overrides

listDataSourcesPagedCallable()

publicUnaryCallable<ListDataSourcesRequest,BackupDRClient.ListDataSourcesPagedResponse>listDataSourcesPagedCallable()
Returns
Type Description
UnaryCallable<ListDataSourcesRequest,ListDataSourcesPagedResponse>
Overrides

listLocationsCallable()

publicUnaryCallable<ListLocationsRequest,ListLocationsResponse>listLocationsCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

publicUnaryCallable<ListLocationsRequest,BackupDRClient.ListLocationsPagedResponse>listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listManagementServersCallable()

publicUnaryCallable<ListManagementServersRequest,ListManagementServersResponse>listManagementServersCallable()
Returns
Type Description
UnaryCallable<ListManagementServersRequest,ListManagementServersResponse>
Overrides

listManagementServersPagedCallable()

publicUnaryCallable<ListManagementServersRequest,BackupDRClient.ListManagementServersPagedResponse>listManagementServersPagedCallable()
Returns
Type Description
UnaryCallable<ListManagementServersRequest,ListManagementServersPagedResponse>
Overrides

restoreBackupCallable()

publicUnaryCallable<RestoreBackupRequest,Operation>restoreBackupCallable()
Returns
Type Description
UnaryCallable<RestoreBackupRequest,Operation>
Overrides

restoreBackupOperationCallable()

publicOperationCallable<RestoreBackupRequest,RestoreBackupResponse,OperationMetadata>restoreBackupOperationCallable()
Returns
Type Description
OperationCallable<RestoreBackupRequest,RestoreBackupResponse,OperationMetadata>
Overrides

setIamPolicyCallable()

publicUnaryCallable<SetIamPolicyRequest,Policy>setIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

shutdown()

publicvoidshutdown()

shutdownNow()

publicvoidshutdownNow()

testIamPermissionsCallable()

publicUnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse>testIamPermissionsCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

triggerBackupCallable()

publicUnaryCallable<TriggerBackupRequest,Operation>triggerBackupCallable()
Returns
Type Description
UnaryCallable<TriggerBackupRequest,Operation>
Overrides

triggerBackupOperationCallable()

publicOperationCallable<TriggerBackupRequest,BackupPlanAssociation,OperationMetadata>triggerBackupOperationCallable()
Returns
Type Description
OperationCallable<TriggerBackupRequest,BackupPlanAssociation,OperationMetadata>
Overrides

updateBackupCallable()

publicUnaryCallable<UpdateBackupRequest,Operation>updateBackupCallable()
Returns
Type Description
UnaryCallable<UpdateBackupRequest,Operation>
Overrides

updateBackupOperationCallable()

publicOperationCallable<UpdateBackupRequest,Backup,OperationMetadata>updateBackupOperationCallable()
Returns
Type Description
OperationCallable<UpdateBackupRequest,Backup,OperationMetadata>
Overrides

updateBackupPlanAssociationCallable()

publicUnaryCallable<UpdateBackupPlanAssociationRequest,Operation>updateBackupPlanAssociationCallable()
Returns
Type Description
UnaryCallable<UpdateBackupPlanAssociationRequest,Operation>
Overrides

updateBackupPlanAssociationOperationCallable()

publicOperationCallable<UpdateBackupPlanAssociationRequest,BackupPlanAssociation,OperationMetadata>updateBackupPlanAssociationOperationCallable()
Returns
Type Description
OperationCallable<UpdateBackupPlanAssociationRequest,BackupPlanAssociation,OperationMetadata>
Overrides

updateBackupPlanCallable()

publicUnaryCallable<UpdateBackupPlanRequest,Operation>updateBackupPlanCallable()
Returns
Type Description
UnaryCallable<UpdateBackupPlanRequest,Operation>
Overrides

updateBackupPlanOperationCallable()

publicOperationCallable<UpdateBackupPlanRequest,BackupPlan,OperationMetadata>updateBackupPlanOperationCallable()
Returns
Type Description
OperationCallable<UpdateBackupPlanRequest,BackupPlan,OperationMetadata>
Overrides

updateBackupVaultCallable()

publicUnaryCallable<UpdateBackupVaultRequest,Operation>updateBackupVaultCallable()
Returns
Type Description
UnaryCallable<UpdateBackupVaultRequest,Operation>
Overrides

updateBackupVaultOperationCallable()

publicOperationCallable<UpdateBackupVaultRequest,BackupVault,OperationMetadata>updateBackupVaultOperationCallable()
Returns
Type Description
OperationCallable<UpdateBackupVaultRequest,BackupVault,OperationMetadata>
Overrides

updateDataSourceCallable()

publicUnaryCallable<UpdateDataSourceRequest,Operation>updateDataSourceCallable()
Returns
Type Description
UnaryCallable<UpdateDataSourceRequest,Operation>
Overrides

updateDataSourceOperationCallable()

publicOperationCallable<UpdateDataSourceRequest,DataSource,OperationMetadata>updateDataSourceOperationCallable()
Returns
Type Description
OperationCallable<UpdateDataSourceRequest,DataSource,OperationMetadata>
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.