Class GrpcBackupForGKEStub (0.52.0)

public class GrpcBackupForGKEStub extends BackupForGKEStub

gRPC stub implementation for the BackupForGKE service API.

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

Inheritance

java.lang.Object > BackupForGKEStub > GrpcBackupForGKEStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(BackupForGKEStubSettings settings)

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

Constructors

GrpcBackupForGKEStub(BackupForGKEStubSettings settings, ClientContext clientContext)

protected GrpcBackupForGKEStub(BackupForGKEStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcBackupForGKEStub, 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

GrpcBackupForGKEStub(BackupForGKEStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcBackupForGKEStub(BackupForGKEStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcBackupForGKEStub, 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 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

createBackupCallable()

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

createBackupOperationCallable()

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

createBackupPlanCallable()

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

createBackupPlanOperationCallable()

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

createRestoreCallable()

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

createRestoreOperationCallable()

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

createRestorePlanCallable()

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

createRestorePlanOperationCallable()

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

deleteBackupCallable()

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

deleteBackupOperationCallable()

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

deleteBackupPlanCallable()

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

deleteBackupPlanOperationCallable()

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

deleteRestoreCallable()

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

deleteRestoreOperationCallable()

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

deleteRestorePlanCallable()

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

deleteRestorePlanOperationCallable()

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

getBackupCallable()

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

getBackupIndexDownloadUrlCallable()

public UnaryCallable<GetBackupIndexDownloadUrlRequest,GetBackupIndexDownloadUrlResponse> getBackupIndexDownloadUrlCallable()
Returns
Type Description
UnaryCallable<GetBackupIndexDownloadUrlRequest,GetBackupIndexDownloadUrlResponse>
Overrides

getBackupPlanCallable()

public UnaryCallable<GetBackupPlanRequest,BackupPlan> getBackupPlanCallable()
Returns
Type Description
UnaryCallable<GetBackupPlanRequest,BackupPlan>
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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
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()
Returns
Type Description
UnaryCallable<GetVolumeBackupRequest,VolumeBackup>
Overrides

getVolumeRestoreCallable()

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

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

listBackupPlansPagedCallable()

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

listBackupsCallable()

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

listBackupsPagedCallable()

public UnaryCallable<ListBackupsRequest,BackupForGKEClient.ListBackupsPagedResponse> listBackupsPagedCallable()
Returns
Type Description
UnaryCallable<ListBackupsRequest,ListBackupsPagedResponse>
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()
Returns
Type Description
UnaryCallable<ListRestorePlansRequest,ListRestorePlansResponse>
Overrides

listRestorePlansPagedCallable()

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

listRestoresCallable()

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

listRestoresPagedCallable()

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

listVolumeBackupsCallable()

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

listVolumeBackupsPagedCallable()

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

listVolumeRestoresCallable()

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

listVolumeRestoresPagedCallable()

public UnaryCallable<ListVolumeRestoresRequest,BackupForGKEClient.ListVolumeRestoresPagedResponse> listVolumeRestoresPagedCallable()
Returns
Type Description
UnaryCallable<ListVolumeRestoresRequest,ListVolumeRestoresPagedResponse>
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()
Returns
Type Description
OperationCallable<UpdateBackupRequest,Backup,OperationMetadata>
Overrides

updateBackupPlanCallable()

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

updateBackupPlanOperationCallable()

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

updateRestoreCallable()

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

updateRestoreOperationCallable()

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

updateRestorePlanCallable()

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

updateRestorePlanOperationCallable()

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