- 0.52.0 (latest)
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.6
- 0.1.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.
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()
createBackupCallable()
public UnaryCallable<CreateBackupRequest,Operation> createBackupCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateBackupRequest,Operation> |
createBackupOperationCallable()
public OperationCallable<CreateBackupRequest,Backup,OperationMetadata> createBackupOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateBackupRequest,Backup,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> |
createRestoreCallable()
public UnaryCallable<CreateRestoreRequest,Operation> createRestoreCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateRestoreRequest,Operation> |
createRestoreOperationCallable()
public OperationCallable<CreateRestoreRequest,Restore,OperationMetadata> createRestoreOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateRestoreRequest,Restore,OperationMetadata> |
createRestorePlanCallable()
public UnaryCallable<CreateRestorePlanRequest,Operation> createRestorePlanCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateRestorePlanRequest,Operation> |
createRestorePlanOperationCallable()
public OperationCallable<CreateRestorePlanRequest,RestorePlan,OperationMetadata> createRestorePlanOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateRestorePlanRequest,RestorePlan,OperationMetadata> |
deleteBackupCallable()
public UnaryCallable<DeleteBackupRequest,Operation> deleteBackupCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteBackupRequest,Operation> |
deleteBackupOperationCallable()
public OperationCallable<DeleteBackupRequest,Empty,OperationMetadata> deleteBackupOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteBackupRequest,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> |
deleteRestoreCallable()
public UnaryCallable<DeleteRestoreRequest,Operation> deleteRestoreCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteRestoreRequest,Operation> |
deleteRestoreOperationCallable()
public OperationCallable<DeleteRestoreRequest,Empty,OperationMetadata> deleteRestoreOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteRestoreRequest,Empty,OperationMetadata> |
deleteRestorePlanCallable()
public UnaryCallable<DeleteRestorePlanRequest,Operation> deleteRestorePlanCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteRestorePlanRequest,Operation> |
deleteRestorePlanOperationCallable()
public OperationCallable<DeleteRestorePlanRequest,Empty,OperationMetadata> deleteRestorePlanOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteRestorePlanRequest,Empty,OperationMetadata> |
getBackupCallable()
public UnaryCallable<GetBackupRequest,Backup> getBackupCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetBackupRequest,Backup> |
getBackupPlanCallable()
public UnaryCallable<GetBackupPlanRequest,BackupPlan> getBackupPlanCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetBackupPlanRequest,BackupPlan> |
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns | |
---|---|
Type | Description |
HttpJsonOperationsStub |
getRestoreCallable()
public UnaryCallable<GetRestoreRequest,Restore> getRestoreCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetRestoreRequest,Restore> |
getRestorePlanCallable()
public UnaryCallable<GetRestorePlanRequest,RestorePlan> getRestorePlanCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetRestorePlanRequest,RestorePlan> |
getVolumeBackupCallable()
public UnaryCallable<GetVolumeBackupRequest,VolumeBackup> getVolumeBackupCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetVolumeBackupRequest,VolumeBackup> |
getVolumeRestoreCallable()
public UnaryCallable<GetVolumeRestoreRequest,VolumeRestore> getVolumeRestoreCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetVolumeRestoreRequest,VolumeRestore> |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
listBackupPlansCallable()
public UnaryCallable<ListBackupPlansRequest,ListBackupPlansResponse> listBackupPlansCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListBackupPlansRequest,ListBackupPlansResponse> |
listBackupPlansPagedCallable()
public UnaryCallable<ListBackupPlansRequest,BackupForGKEClient.ListBackupPlansPagedResponse> listBackupPlansPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListBackupPlansRequest,ListBackupPlansPagedResponse> |
listBackupsCallable()
public UnaryCallable<ListBackupsRequest,ListBackupsResponse> listBackupsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListBackupsRequest,ListBackupsResponse> |
listBackupsPagedCallable()
public UnaryCallable<ListBackupsRequest,BackupForGKEClient.ListBackupsPagedResponse> listBackupsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListBackupsRequest,ListBackupsPagedResponse> |
listRestorePlansCallable()
public UnaryCallable<ListRestorePlansRequest,ListRestorePlansResponse> listRestorePlansCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListRestorePlansRequest,ListRestorePlansResponse> |
listRestorePlansPagedCallable()
public UnaryCallable<ListRestorePlansRequest,BackupForGKEClient.ListRestorePlansPagedResponse> listRestorePlansPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListRestorePlansRequest,ListRestorePlansPagedResponse> |
listRestoresCallable()
public UnaryCallable<ListRestoresRequest,ListRestoresResponse> listRestoresCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListRestoresRequest,ListRestoresResponse> |
listRestoresPagedCallable()
public UnaryCallable<ListRestoresRequest,BackupForGKEClient.ListRestoresPagedResponse> listRestoresPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListRestoresRequest,ListRestoresPagedResponse> |
listVolumeBackupsCallable()
public UnaryCallable<ListVolumeBackupsRequest,ListVolumeBackupsResponse> listVolumeBackupsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListVolumeBackupsRequest,ListVolumeBackupsResponse> |
listVolumeBackupsPagedCallable()
public UnaryCallable<ListVolumeBackupsRequest,BackupForGKEClient.ListVolumeBackupsPagedResponse> listVolumeBackupsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListVolumeBackupsRequest,ListVolumeBackupsPagedResponse> |
listVolumeRestoresCallable()
public UnaryCallable<ListVolumeRestoresRequest,ListVolumeRestoresResponse> listVolumeRestoresCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListVolumeRestoresRequest,ListVolumeRestoresResponse> |
listVolumeRestoresPagedCallable()
public UnaryCallable<ListVolumeRestoresRequest,BackupForGKEClient.ListVolumeRestoresPagedResponse> listVolumeRestoresPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListVolumeRestoresRequest,ListVolumeRestoresPagedResponse> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
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> |
updateBackupPlanCallable()
public UnaryCallable<UpdateBackupPlanRequest,Operation> updateBackupPlanCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateBackupPlanRequest,Operation> |
updateBackupPlanOperationCallable()
public OperationCallable<UpdateBackupPlanRequest,BackupPlan,OperationMetadata> updateBackupPlanOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateBackupPlanRequest,BackupPlan,OperationMetadata> |
updateRestoreCallable()
public UnaryCallable<UpdateRestoreRequest,Operation> updateRestoreCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateRestoreRequest,Operation> |
updateRestoreOperationCallable()
public OperationCallable<UpdateRestoreRequest,Restore,OperationMetadata> updateRestoreOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateRestoreRequest,Restore,OperationMetadata> |
updateRestorePlanCallable()
public UnaryCallable<UpdateRestorePlanRequest,Operation> updateRestorePlanCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateRestorePlanRequest,Operation> |
updateRestorePlanOperationCallable()
public OperationCallable<UpdateRestorePlanRequest,RestorePlan,OperationMetadata> updateRestorePlanOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateRestorePlanRequest,RestorePlan,OperationMetadata> |