Class HttpJsonBackupForGKEStub (0.4.0)

See more code actions.
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.

java.lang.Object > BackupForGKEStub > HttpJsonBackupForGKEStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonBackupForGKEStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonBackupForGKEStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns Exceptions
TypeDescription
IOException

create(BackupForGKEStubSettings settings)

public static final HttpJsonBackupForGKEStub create(BackupForGKEStubSettings settings)
Parameter
NameDescription
settingsBackupForGKEStubSettings
Returns Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
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
NameDescription
settingsBackupForGKEStubSettings
clientContextClientContext

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
NameDescription
settingsBackupForGKEStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createBackupCallable()

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

createBackupOperationCallable()

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

createBackupPlanCallable()

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

createBackupPlanOperationCallable()

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

createRestoreCallable()

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

createRestoreOperationCallable()

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

createRestorePlanCallable()

public UnaryCallable<CreateRestorePlanRequest,Operation> createRestorePlanCallable()
Returns Overrides

createRestorePlanOperationCallable()

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

deleteBackupCallable()

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

deleteBackupOperationCallable()

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

deleteBackupPlanCallable()

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

deleteBackupPlanOperationCallable()

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

deleteRestoreCallable()

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

deleteRestoreOperationCallable()

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

deleteRestorePlanCallable()

public UnaryCallable<DeleteRestorePlanRequest,Operation> deleteRestorePlanCallable()
Returns Overrides

deleteRestorePlanOperationCallable()

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

getBackupCallable()

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

getBackupPlanCallable()

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

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
HttpJsonOperationsStub
Overrides

getRestoreCallable()

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

getRestorePlanCallable()

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

getVolumeBackupCallable()

public UnaryCallable<GetVolumeBackupRequest,VolumeBackup> getVolumeBackupCallable()
Returns Overrides

getVolumeRestoreCallable()

public UnaryCallable<GetVolumeRestoreRequest,VolumeRestore> getVolumeRestoreCallable()
Returns Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listBackupPlansCallable()

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

listBackupPlansPagedCallable()

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

listBackupsCallable()

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

listBackupsPagedCallable()

public UnaryCallable<ListBackupsRequest,BackupForGKEClient.ListBackupsPagedResponse> listBackupsPagedCallable()
Returns Overrides

listRestorePlansCallable()

public UnaryCallable<ListRestorePlansRequest,ListRestorePlansResponse> listRestorePlansCallable()
Returns Overrides

listRestorePlansPagedCallable()

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

listRestoresCallable()

public UnaryCallable<ListRestoresRequest,ListRestoresResponse> listRestoresCallable()
Returns Overrides

listRestoresPagedCallable()

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

listVolumeBackupsCallable()

public UnaryCallable<ListVolumeBackupsRequest,ListVolumeBackupsResponse> listVolumeBackupsCallable()
Returns Overrides

listVolumeBackupsPagedCallable()

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

listVolumeRestoresCallable()

public UnaryCallable<ListVolumeRestoresRequest,ListVolumeRestoresResponse> listVolumeRestoresCallable()
Returns Overrides

listVolumeRestoresPagedCallable()

public UnaryCallable<ListVolumeRestoresRequest,BackupForGKEClient.ListVolumeRestoresPagedResponse> listVolumeRestoresPagedCallable()
Returns Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateBackupCallable()

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

updateBackupOperationCallable()

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

updateBackupPlanCallable()

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

updateBackupPlanOperationCallable()

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

updateRestoreCallable()

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

updateRestoreOperationCallable()

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

updateRestorePlanCallable()

public UnaryCallable<UpdateRestorePlanRequest,Operation> updateRestorePlanCallable()
Returns Overrides

updateRestorePlanOperationCallable()

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