public class HttpJsonBackupDRStub extends BackupDRStub
REST 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 HttpJsonBackupDRStub create(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext |
ClientContext |
Returns | |
---|---|
Type | Description |
HttpJsonBackupDRStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonBackupDRStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext |
ClientContext |
callableFactory |
HttpJsonStubCallableFactory |
Returns | |
---|---|
Type | Description |
HttpJsonBackupDRStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(BackupDRStubSettings settings)
public static final HttpJsonBackupDRStub create(BackupDRStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings |
BackupDRStubSettings |
Returns | |
---|---|
Type | Description |
HttpJsonBackupDRStub |
Exceptions | |
---|---|
Type | Description |
IOException |
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns | |
---|---|
Type | Description |
List<ApiMethodDescriptor> |
Constructors
HttpJsonBackupDRStub(BackupDRStubSettings settings, ClientContext clientContext)
protected HttpJsonBackupDRStub(BackupDRStubSettings settings, ClientContext clientContext)
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)
protected HttpJsonBackupDRStub(BackupDRStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
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)
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()
createBackupPlanAssociationCallable()
public UnaryCallable<CreateBackupPlanAssociationRequest,Operation> createBackupPlanAssociationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateBackupPlanAssociationRequest,Operation> |
createBackupPlanAssociationOperationCallable()
public OperationCallable<CreateBackupPlanAssociationRequest,BackupPlanAssociation,OperationMetadata> createBackupPlanAssociationOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateBackupPlanAssociationRequest,BackupPlanAssociation,OperationMetadata> |
createBackupPlanCallable()
public UnaryCallable<CreateBackupPlanRequest,Operation> createBackupPlanCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateBackupPlanRequest,Operation> |
createBackupPlanOperationCallable()
public OperationCallable<CreateBackupPlanRequest,BackupPlan,OperationMetadata> createBackupPlanOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateBackupPlanRequest,BackupPlan,OperationMetadata> |
createBackupVaultCallable()
public UnaryCallable<CreateBackupVaultRequest,Operation> createBackupVaultCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateBackupVaultRequest,Operation> |
createBackupVaultOperationCallable()
public OperationCallable<CreateBackupVaultRequest,BackupVault,OperationMetadata> createBackupVaultOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateBackupVaultRequest,BackupVault,OperationMetadata> |
createManagementServerCallable()
public UnaryCallable<CreateManagementServerRequest,Operation> createManagementServerCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateManagementServerRequest,Operation> |
createManagementServerOperationCallable()
public OperationCallable<CreateManagementServerRequest,ManagementServer,OperationMetadata> createManagementServerOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateManagementServerRequest,ManagementServer,OperationMetadata> |
deleteBackupCallable()
public UnaryCallable<DeleteBackupRequest,Operation> deleteBackupCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteBackupRequest,Operation> |
deleteBackupOperationCallable()
public OperationCallable<DeleteBackupRequest,Backup,OperationMetadata> deleteBackupOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteBackupRequest,Backup,OperationMetadata> |
deleteBackupPlanAssociationCallable()
public UnaryCallable<DeleteBackupPlanAssociationRequest,Operation> deleteBackupPlanAssociationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteBackupPlanAssociationRequest,Operation> |
deleteBackupPlanAssociationOperationCallable()
public OperationCallable<DeleteBackupPlanAssociationRequest,Empty,OperationMetadata> deleteBackupPlanAssociationOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteBackupPlanAssociationRequest,Empty,OperationMetadata> |
deleteBackupPlanCallable()
public UnaryCallable<DeleteBackupPlanRequest,Operation> deleteBackupPlanCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteBackupPlanRequest,Operation> |
deleteBackupPlanOperationCallable()
public OperationCallable<DeleteBackupPlanRequest,Empty,OperationMetadata> deleteBackupPlanOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteBackupPlanRequest,Empty,OperationMetadata> |
deleteBackupVaultCallable()
public UnaryCallable<DeleteBackupVaultRequest,Operation> deleteBackupVaultCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteBackupVaultRequest,Operation> |
deleteBackupVaultOperationCallable()
public OperationCallable<DeleteBackupVaultRequest,Empty,OperationMetadata> deleteBackupVaultOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteBackupVaultRequest,Empty,OperationMetadata> |
deleteManagementServerCallable()
public UnaryCallable<DeleteManagementServerRequest,Operation> deleteManagementServerCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteManagementServerRequest,Operation> |
deleteManagementServerOperationCallable()
public OperationCallable<DeleteManagementServerRequest,Empty,OperationMetadata> deleteManagementServerOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteManagementServerRequest,Empty,OperationMetadata> |
fetchUsableBackupVaultsCallable()
public UnaryCallable<FetchUsableBackupVaultsRequest,FetchUsableBackupVaultsResponse> fetchUsableBackupVaultsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<FetchUsableBackupVaultsRequest,FetchUsableBackupVaultsResponse> |
fetchUsableBackupVaultsPagedCallable()
public UnaryCallable<FetchUsableBackupVaultsRequest,BackupDRClient.FetchUsableBackupVaultsPagedResponse> fetchUsableBackupVaultsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<FetchUsableBackupVaultsRequest,FetchUsableBackupVaultsPagedResponse> |
getBackupCallable()
public UnaryCallable<GetBackupRequest,Backup> getBackupCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetBackupRequest,Backup> |
getBackupPlanAssociationCallable()
public UnaryCallable<GetBackupPlanAssociationRequest,BackupPlanAssociation> getBackupPlanAssociationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetBackupPlanAssociationRequest,BackupPlanAssociation> |
getBackupPlanCallable()
public UnaryCallable<GetBackupPlanRequest,BackupPlan> getBackupPlanCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetBackupPlanRequest,BackupPlan> |
getBackupVaultCallable()
public UnaryCallable<GetBackupVaultRequest,BackupVault> getBackupVaultCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetBackupVaultRequest,BackupVault> |
getDataSourceCallable()
public UnaryCallable<GetDataSourceRequest,DataSource> getDataSourceCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetDataSourceRequest,DataSource> |
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns | |
---|---|
Type | Description |
HttpJsonOperationsStub |
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getManagementServerCallable()
public UnaryCallable<GetManagementServerRequest,ManagementServer> getManagementServerCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetManagementServerRequest,ManagementServer> |
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> |
listBackupPlanAssociationsPagedCallable()
public UnaryCallable<ListBackupPlanAssociationsRequest,BackupDRClient.ListBackupPlanAssociationsPagedResponse> listBackupPlanAssociationsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListBackupPlanAssociationsRequest,ListBackupPlanAssociationsPagedResponse> |
listBackupPlansCallable()
public UnaryCallable<ListBackupPlansRequest,ListBackupPlansResponse> listBackupPlansCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListBackupPlansRequest,ListBackupPlansResponse> |
listBackupPlansPagedCallable()
public UnaryCallable<ListBackupPlansRequest,BackupDRClient.ListBackupPlansPagedResponse> listBackupPlansPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListBackupPlansRequest,ListBackupPlansPagedResponse> |
listBackupVaultsCallable()
public UnaryCallable<ListBackupVaultsRequest,ListBackupVaultsResponse> listBackupVaultsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListBackupVaultsRequest,ListBackupVaultsResponse> |
listBackupVaultsPagedCallable()
public UnaryCallable<ListBackupVaultsRequest,BackupDRClient.ListBackupVaultsPagedResponse> listBackupVaultsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListBackupVaultsRequest,ListBackupVaultsPagedResponse> |
listBackupsCallable()
public UnaryCallable<ListBackupsRequest,ListBackupsResponse> listBackupsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListBackupsRequest,ListBackupsResponse> |
listBackupsPagedCallable()
public UnaryCallable<ListBackupsRequest,BackupDRClient.ListBackupsPagedResponse> listBackupsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListBackupsRequest,ListBackupsPagedResponse> |
listDataSourcesCallable()
public UnaryCallable<ListDataSourcesRequest,ListDataSourcesResponse> listDataSourcesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListDataSourcesRequest,ListDataSourcesResponse> |
listDataSourcesPagedCallable()
public UnaryCallable<ListDataSourcesRequest,BackupDRClient.ListDataSourcesPagedResponse> listDataSourcesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListDataSourcesRequest,ListDataSourcesPagedResponse> |
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,BackupDRClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse> |
listManagementServersCallable()
public UnaryCallable<ListManagementServersRequest,ListManagementServersResponse> listManagementServersCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListManagementServersRequest,ListManagementServersResponse> |
listManagementServersPagedCallable()
public UnaryCallable<ListManagementServersRequest,BackupDRClient.ListManagementServersPagedResponse> listManagementServersPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListManagementServersRequest,ListManagementServersPagedResponse> |
restoreBackupCallable()
public UnaryCallable<RestoreBackupRequest,Operation> restoreBackupCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<RestoreBackupRequest,Operation> |
restoreBackupOperationCallable()
public OperationCallable<RestoreBackupRequest,RestoreBackupResponse,OperationMetadata> restoreBackupOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<RestoreBackupRequest,RestoreBackupResponse,OperationMetadata> |
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
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> |
triggerBackupCallable()
public UnaryCallable<TriggerBackupRequest,Operation> triggerBackupCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<TriggerBackupRequest,Operation> |
triggerBackupOperationCallable()
public OperationCallable<TriggerBackupRequest,BackupPlanAssociation,OperationMetadata> triggerBackupOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<TriggerBackupRequest,BackupPlanAssociation,OperationMetadata> |
updateBackupCallable()
public UnaryCallable<UpdateBackupRequest,Operation> updateBackupCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateBackupRequest,Operation> |
updateBackupOperationCallable()
public OperationCallable<UpdateBackupRequest,Backup,OperationMetadata> updateBackupOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateBackupRequest,Backup,OperationMetadata> |
updateBackupVaultCallable()
public UnaryCallable<UpdateBackupVaultRequest,Operation> updateBackupVaultCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateBackupVaultRequest,Operation> |
updateBackupVaultOperationCallable()
public OperationCallable<UpdateBackupVaultRequest,BackupVault,OperationMetadata> updateBackupVaultOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateBackupVaultRequest,BackupVault,OperationMetadata> |
updateDataSourceCallable()
public UnaryCallable<UpdateDataSourceRequest,Operation> updateDataSourceCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateDataSourceRequest,Operation> |
updateDataSourceOperationCallable()
public OperationCallable<UpdateDataSourceRequest,DataSource,OperationMetadata> updateDataSourceOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateDataSourceRequest,DataSource,OperationMetadata> |