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.
Static Methods
create(ClientContext clientContext)
public static final GrpcBackupForGKEStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcBackupForGKEStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(BackupForGKEStubSettings settings)
public static final GrpcBackupForGKEStub create(BackupForGKEStubSettings settings)
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.
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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createBackupCallable()
public UnaryCallable<CreateBackupRequest,Operation> createBackupCallable()
Overrides
createBackupOperationCallable()
public OperationCallable<CreateBackupRequest,Backup,OperationMetadata> createBackupOperationCallable()
Overrides
createBackupPlanCallable()
public UnaryCallable<CreateBackupPlanRequest,Operation> createBackupPlanCallable()
Overrides
createBackupPlanOperationCallable()
public OperationCallable<CreateBackupPlanRequest,BackupPlan,OperationMetadata> createBackupPlanOperationCallable()
Overrides
createRestoreCallable()
public UnaryCallable<CreateRestoreRequest,Operation> createRestoreCallable()
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()
Overrides
deleteBackupOperationCallable()
public OperationCallable<DeleteBackupRequest,Empty,OperationMetadata> deleteBackupOperationCallable()
Overrides
deleteBackupPlanCallable()
public UnaryCallable<DeleteBackupPlanRequest,Operation> deleteBackupPlanCallable()
Overrides
deleteBackupPlanOperationCallable()
public OperationCallable<DeleteBackupPlanRequest,Empty,OperationMetadata> deleteBackupPlanOperationCallable()
Overrides
deleteRestoreCallable()
public UnaryCallable<DeleteRestoreRequest,Operation> deleteRestoreCallable()
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()
Overrides
getBackupIndexDownloadUrlCallable()
public UnaryCallable<GetBackupIndexDownloadUrlRequest,GetBackupIndexDownloadUrlResponse> getBackupIndexDownloadUrlCallable()
Overrides
getBackupPlanCallable()
public UnaryCallable<GetBackupPlanRequest,BackupPlan> getBackupPlanCallable()
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()
Overrides
getRestoreCallable()
public UnaryCallable<GetRestoreRequest,Restore> getRestoreCallable()
Overrides
getRestorePlanCallable()
public UnaryCallable<GetRestorePlanRequest,RestorePlan> getRestorePlanCallable()
Overrides
getVolumeBackupCallable()
public UnaryCallable<GetVolumeBackupRequest,VolumeBackup> getVolumeBackupCallable()
Overrides
getVolumeRestoreCallable()
public UnaryCallable<GetVolumeRestoreRequest,VolumeRestore> getVolumeRestoreCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
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()
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()
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()
Overrides
updateBackupOperationCallable()
public OperationCallable<UpdateBackupRequest,Backup,OperationMetadata> updateBackupOperationCallable()
Overrides
updateBackupPlanCallable()
public UnaryCallable<UpdateBackupPlanRequest,Operation> updateBackupPlanCallable()
Overrides
updateBackupPlanOperationCallable()
public OperationCallable<UpdateBackupPlanRequest,BackupPlan,OperationMetadata> updateBackupPlanOperationCallable()
Overrides
updateRestoreCallable()
public UnaryCallable<UpdateRestoreRequest,Operation> updateRestoreCallable()
Overrides
updateRestoreOperationCallable()
public OperationCallable<UpdateRestoreRequest,Restore,OperationMetadata> updateRestoreOperationCallable()
Overrides
updateRestorePlanCallable()
public UnaryCallable<UpdateRestorePlanRequest,Operation> updateRestorePlanCallable()
Overrides
updateRestorePlanOperationCallable()
public OperationCallable<UpdateRestorePlanRequest,RestorePlan,OperationMetadata> updateRestorePlanOperationCallable()
Overrides