Class GrpcBackupDRStub (0.17.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

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()
Overrides

createBackupPlanAssociationOperationCallable()

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

createBackupPlanCallable()

public UnaryCallable<CreateBackupPlanRequest,Operation> createBackupPlanCallable()
Returns
Type Description
UnaryCallable<CreateBackupPlanRequest,Operation>
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()
Returns
Type Description
UnaryCallable<DeleteBackupRequest,Operation>
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()
Returns
Type Description
UnaryCallable<DeleteBackupPlanRequest,Operation>
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

fetchUsableBackupVaultsCallable()

public UnaryCallable<FetchUsableBackupVaultsRequest,FetchUsableBackupVaultsResponse> fetchUsableBackupVaultsCallable()
Overrides

fetchUsableBackupVaultsPagedCallable()

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

getBackupCallable()

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

getBackupPlanAssociationCallable()

public UnaryCallable<GetBackupPlanAssociationRequest,BackupPlanAssociation> getBackupPlanAssociationCallable()
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()
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

initializeServiceCallable()

public UnaryCallable<InitializeServiceRequest,Operation> initializeServiceCallable()
Overrides

initializeServiceOperationCallable()

public OperationCallable<InitializeServiceRequest,InitializeServiceResponse,OperationMetadata> initializeServiceOperationCallable()
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

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

listManagementServersCallable()

public UnaryCallable<ListManagementServersRequest,ListManagementServersResponse> listManagementServersCallable()
Overrides

listManagementServersPagedCallable()

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

restoreBackupCallable()

public UnaryCallable<RestoreBackupRequest,Operation> restoreBackupCallable()
Returns
Type Description
UnaryCallable<RestoreBackupRequest,Operation>
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

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()
Overrides

updateBackupCallable()

public UnaryCallable<UpdateBackupRequest,Operation> updateBackupCallable()
Returns
Type Description
UnaryCallable<UpdateBackupRequest,Operation>
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()
Returns
Type Description
UnaryCallable<UpdateDataSourceRequest,Operation>
Overrides

updateDataSourceOperationCallable()

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