Class HttpJsonBackupForGKEStub (0.44.0)

public class HttpJsonBackupForGKEStub extends BackupForGKEStub

REST stub implementation for the BackupForGKE service API.

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

Inheritance

java.lang.Object > BackupForGKEStub > HttpJsonBackupForGKEStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(BackupForGKEStubSettings settings)

public static final HttpJsonBackupForGKEStub create(BackupForGKEStubSettings settings)
Parameter
Name Description
settings BackupForGKEStubSettings
Returns
Type Description
HttpJsonBackupForGKEStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonBackupForGKEStub(BackupForGKEStubSettings settings, ClientContext clientContext)

protected HttpJsonBackupForGKEStub(BackupForGKEStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonBackupForGKEStub, 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 BackupForGKEStubSettings
clientContext ClientContext

HttpJsonBackupForGKEStub(BackupForGKEStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonBackupForGKEStub(BackupForGKEStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonBackupForGKEStub, 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 BackupForGKEStubSettings
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()
Overrides

createBackupCallable()

public UnaryCallable<CreateBackupRequest,Operation> createBackupCallable()
Returns
Type Description
UnaryCallable<CreateBackupRequest,Operation>
Overrides

createBackupOperationCallable()

public OperationCallable<CreateBackupRequest,Backup,OperationMetadata> createBackupOperationCallable()
Overrides

createBackupPlanCallable()

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

createBackupPlanOperationCallable()

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

createRestoreCallable()

public UnaryCallable<CreateRestoreRequest,Operation> createRestoreCallable()
Returns
Type Description
UnaryCallable<CreateRestoreRequest,Operation>
Overrides

createRestoreOperationCallable()

public OperationCallable<CreateRestoreRequest,Restore,OperationMetadata> createRestoreOperationCallable()
Overrides

createRestorePlanCallable()

public UnaryCallable<CreateRestorePlanRequest,Operation> createRestorePlanCallable()
Overrides

createRestorePlanOperationCallable()

public OperationCallable<CreateRestorePlanRequest,RestorePlan,OperationMetadata> createRestorePlanOperationCallable()
Overrides

deleteBackupCallable()

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

deleteBackupOperationCallable()

public OperationCallable<DeleteBackupRequest,Empty,OperationMetadata> deleteBackupOperationCallable()
Overrides

deleteBackupPlanCallable()

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

deleteBackupPlanOperationCallable()

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

deleteRestoreCallable()

public UnaryCallable<DeleteRestoreRequest,Operation> deleteRestoreCallable()
Returns
Type Description
UnaryCallable<DeleteRestoreRequest,Operation>
Overrides

deleteRestoreOperationCallable()

public OperationCallable<DeleteRestoreRequest,Empty,OperationMetadata> deleteRestoreOperationCallable()
Overrides

deleteRestorePlanCallable()

public UnaryCallable<DeleteRestorePlanRequest,Operation> deleteRestorePlanCallable()
Overrides

deleteRestorePlanOperationCallable()

public OperationCallable<DeleteRestorePlanRequest,Empty,OperationMetadata> deleteRestorePlanOperationCallable()
Overrides

getBackupCallable()

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

getBackupIndexDownloadUrlCallable()

public UnaryCallable<GetBackupIndexDownloadUrlRequest,GetBackupIndexDownloadUrlResponse> getBackupIndexDownloadUrlCallable()
Overrides

getBackupPlanCallable()

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

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
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

getRestoreCallable()

public UnaryCallable<GetRestoreRequest,Restore> getRestoreCallable()
Returns
Type Description
UnaryCallable<GetRestoreRequest,Restore>
Overrides

getRestorePlanCallable()

public UnaryCallable<GetRestorePlanRequest,RestorePlan> getRestorePlanCallable()
Returns
Type Description
UnaryCallable<GetRestorePlanRequest,RestorePlan>
Overrides

getVolumeBackupCallable()

public UnaryCallable<GetVolumeBackupRequest,VolumeBackup> getVolumeBackupCallable()
Overrides

getVolumeRestoreCallable()

public UnaryCallable<GetVolumeRestoreRequest,VolumeRestore> getVolumeRestoreCallable()
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listBackupPlansCallable()

public UnaryCallable<ListBackupPlansRequest,ListBackupPlansResponse> listBackupPlansCallable()
Overrides

listBackupPlansPagedCallable()

public UnaryCallable<ListBackupPlansRequest,BackupForGKEClient.ListBackupPlansPagedResponse> listBackupPlansPagedCallable()
Overrides

listBackupsCallable()

public UnaryCallable<ListBackupsRequest,ListBackupsResponse> listBackupsCallable()
Overrides

listBackupsPagedCallable()

public UnaryCallable<ListBackupsRequest,BackupForGKEClient.ListBackupsPagedResponse> listBackupsPagedCallable()
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,BackupForGKEClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listRestorePlansCallable()

public UnaryCallable<ListRestorePlansRequest,ListRestorePlansResponse> listRestorePlansCallable()
Overrides

listRestorePlansPagedCallable()

public UnaryCallable<ListRestorePlansRequest,BackupForGKEClient.ListRestorePlansPagedResponse> listRestorePlansPagedCallable()
Overrides

listRestoresCallable()

public UnaryCallable<ListRestoresRequest,ListRestoresResponse> listRestoresCallable()
Overrides

listRestoresPagedCallable()

public UnaryCallable<ListRestoresRequest,BackupForGKEClient.ListRestoresPagedResponse> listRestoresPagedCallable()
Overrides

listVolumeBackupsCallable()

public UnaryCallable<ListVolumeBackupsRequest,ListVolumeBackupsResponse> listVolumeBackupsCallable()
Overrides

listVolumeBackupsPagedCallable()

public UnaryCallable<ListVolumeBackupsRequest,BackupForGKEClient.ListVolumeBackupsPagedResponse> listVolumeBackupsPagedCallable()
Overrides

listVolumeRestoresCallable()

public UnaryCallable<ListVolumeRestoresRequest,ListVolumeRestoresResponse> listVolumeRestoresCallable()
Overrides

listVolumeRestoresPagedCallable()

public UnaryCallable<ListVolumeRestoresRequest,BackupForGKEClient.ListVolumeRestoresPagedResponse> listVolumeRestoresPagedCallable()
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

updateBackupCallable()

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

updateBackupOperationCallable()

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

updateBackupPlanCallable()

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

updateBackupPlanOperationCallable()

public OperationCallable<UpdateBackupPlanRequest,BackupPlan,OperationMetadata> updateBackupPlanOperationCallable()
Overrides

updateRestoreCallable()

public UnaryCallable<UpdateRestoreRequest,Operation> updateRestoreCallable()
Returns
Type Description
UnaryCallable<UpdateRestoreRequest,Operation>
Overrides

updateRestoreOperationCallable()

public OperationCallable<UpdateRestoreRequest,Restore,OperationMetadata> updateRestoreOperationCallable()
Overrides

updateRestorePlanCallable()

public UnaryCallable<UpdateRestorePlanRequest,Operation> updateRestorePlanCallable()
Overrides

updateRestorePlanOperationCallable()

public OperationCallable<UpdateRestorePlanRequest,RestorePlan,OperationMetadata> updateRestorePlanOperationCallable()
Overrides