Class GrpcBackupDRStub (0.10.0)

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.

Inheritance

java.lang.Object > BackupDRStub > GrpcBackupDRStub

Static Methods

create(ClientContext clientContext)

public static final GrpcBackupDRStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcBackupDRStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcBackupDRStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcBackupDRStub
Exceptions
Type Description
IOException

create(BackupDRStubSettings settings)

public static final GrpcBackupDRStub create(BackupDRStubSettings settings)
Parameter
Name Description
settings BackupDRStubSettings
Returns
Type Description
GrpcBackupDRStub
Exceptions
Type Description
IOException

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.

Parameters
Name Description
settings BackupDRStubSettings
clientContext ClientContext

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.

Parameters
Name Description
settings BackupDRStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

abandonBackupCallable()

public UnaryCallable<AbandonBackupRequest,Operation> abandonBackupCallable()
Returns
Type Description
UnaryCallable<AbandonBackupRequest,Operation>
Overrides

abandonBackupOperationCallable()

public OperationCallable<AbandonBackupRequest,Empty,OperationMetadata> abandonBackupOperationCallable()
Returns
Type Description
OperationCallable<AbandonBackupRequest,Empty,OperationMetadata>
Overrides

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createBackupPlanAssociationCallable()

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

createBackupPlanAssociationOperationCallable()

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

createBackupPlanCallable()

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

createBackupPlanOperationCallable()

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

createBackupVaultCallable()

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

createBackupVaultOperationCallable()

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

createManagementServerCallable()

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

createManagementServerOperationCallable()

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

deleteBackupCallable()

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

deleteBackupOperationCallable()

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

deleteBackupPlanAssociationCallable()

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

deleteBackupPlanAssociationOperationCallable()

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

deleteBackupPlanCallable()

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

deleteBackupPlanOperationCallable()

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

deleteBackupVaultCallable()

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

deleteBackupVaultOperationCallable()

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

deleteManagementServerCallable()

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

deleteManagementServerOperationCallable()

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

fetchAccessTokenCallable()

public UnaryCallable<FetchAccessTokenRequest,FetchAccessTokenResponse> fetchAccessTokenCallable()
Returns
Type Description
UnaryCallable<FetchAccessTokenRequest,FetchAccessTokenResponse>
Overrides

fetchUsableBackupVaultsCallable()

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

fetchUsableBackupVaultsPagedCallable()

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

finalizeBackupCallable()

public UnaryCallable<FinalizeBackupRequest,Operation> finalizeBackupCallable()
Returns
Type Description
UnaryCallable<FinalizeBackupRequest,Operation>
Overrides

finalizeBackupOperationCallable()

public OperationCallable<FinalizeBackupRequest,Backup,OperationMetadata> finalizeBackupOperationCallable()
Returns
Type Description
OperationCallable<FinalizeBackupRequest,Backup,OperationMetadata>
Overrides

getBackupCallable()

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

getBackupPlanAssociationCallable()

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

getBackupPlanCallable()

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

getBackupVaultCallable()

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

getDataSourceCallable()

public UnaryCallable<GetDataSourceRequest,DataSource> getDataSourceCallable()
Returns
Type Description
UnaryCallable<GetDataSourceRequest,DataSource>
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()
Returns
Type Description
UnaryCallable<GetManagementServerRequest,ManagementServer>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

initiateBackupCallable()

public UnaryCallable<InitiateBackupRequest,InitiateBackupResponse> initiateBackupCallable()
Returns
Type Description
UnaryCallable<InitiateBackupRequest,InitiateBackupResponse>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listBackupPlanAssociationsCallable()

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

listBackupPlanAssociationsPagedCallable()

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

listBackupPlansCallable()

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

listBackupPlansPagedCallable()

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

listBackupVaultsCallable()

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

listBackupVaultsPagedCallable()

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

listBackupsCallable()

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

listBackupsPagedCallable()

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

listDataSourcesCallable()

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

listDataSourcesPagedCallable()

public UnaryCallable<ListDataSourcesRequest,BackupDRClient.ListDataSourcesPagedResponse> listDataSourcesPagedCallable()
Returns
Type Description
UnaryCallable<ListDataSourcesRequest,ListDataSourcesPagedResponse>
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()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listManagementServersCallable()

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

listManagementServersPagedCallable()

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

removeDataSourceCallable()

public UnaryCallable<RemoveDataSourceRequest,Operation> removeDataSourceCallable()
Returns
Type Description
UnaryCallable<RemoveDataSourceRequest,Operation>
Overrides

removeDataSourceOperationCallable()

public OperationCallable<RemoveDataSourceRequest,Empty,OperationMetadata> removeDataSourceOperationCallable()
Returns
Type Description
OperationCallable<RemoveDataSourceRequest,Empty,OperationMetadata>
Overrides

restoreBackupCallable()

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

restoreBackupOperationCallable()

public OperationCallable<RestoreBackupRequest,RestoreBackupResponse,OperationMetadata> restoreBackupOperationCallable()
Returns
Type Description
OperationCallable<RestoreBackupRequest,RestoreBackupResponse,OperationMetadata>
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()
Returns
Type Description
UnaryCallable<SetInternalStatusRequest,Operation>
Overrides

setInternalStatusOperationCallable()

public OperationCallable<SetInternalStatusRequest,SetInternalStatusResponse,OperationMetadata> setInternalStatusOperationCallable()
Returns
Type Description
OperationCallable<SetInternalStatusRequest,SetInternalStatusResponse,OperationMetadata>
Overrides

shutdown()

public void 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()
Returns
Type Description
UnaryCallable<TriggerBackupRequest,Operation>
Overrides

triggerBackupOperationCallable()

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

updateBackupCallable()

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

updateBackupOperationCallable()

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

updateBackupVaultCallable()

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

updateBackupVaultOperationCallable()

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

updateDataSourceCallable()

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

updateDataSourceOperationCallable()

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