Class GrpcBackupForGKEStub
java.lang.Object
com.google.cloud.gkebackup.v1.stub.BackupForGKEStub
com.google.cloud.gkebackup.v1.stub.GrpcBackupForGKEStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
gRPC stub implementation for the BackupForGKE service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcBackupForGKEStub(BackupForGKEStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcBackupForGKEStub, using the given settings.protectedGrpcBackupForGKEStub(BackupForGKEStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcBackupForGKEStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcBackupForGKEStubcreate(ClientContext clientContext) static final GrpcBackupForGKEStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcBackupForGKEStubcreate(BackupForGKEStubSettings settings) OperationCallable<DeleteBackupChannelRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteBackupRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteBackupPlanRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteRestoreChannelRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteRestoreRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteRestorePlanRequest,com.google.protobuf.Empty, OperationMetadata> booleanbooleanUnaryCallable<ListRestorePlanBindingsRequest,BackupForGKEClient.ListRestorePlanBindingsPagedResponse> voidshutdown()voidMethods inherited from class com.google.cloud.gkebackup.v1.stub.BackupForGKEStub
getHttpJsonOperationsStub
-
Constructor Details
-
GrpcBackupForGKEStub
protected GrpcBackupForGKEStub(BackupForGKEStubSettings settings, ClientContext clientContext) throws IOException 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.- Throws:
IOException
-
GrpcBackupForGKEStub
protected GrpcBackupForGKEStub(BackupForGKEStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException 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.- Throws:
IOException
-
-
Method Details
-
create
public static final GrpcBackupForGKEStub create(BackupForGKEStubSettings settings) throws IOException - Throws:
IOException
-
create
- Throws:
IOException
-
create
public static final GrpcBackupForGKEStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classBackupForGKEStub
-
createBackupPlanCallable
- Overrides:
createBackupPlanCallablein classBackupForGKEStub
-
createBackupPlanOperationCallable
public OperationCallable<CreateBackupPlanRequest,BackupPlan, createBackupPlanOperationCallable()OperationMetadata> - Overrides:
createBackupPlanOperationCallablein classBackupForGKEStub
-
listBackupPlansCallable
- Overrides:
listBackupPlansCallablein classBackupForGKEStub
-
listBackupPlansPagedCallable
public UnaryCallable<ListBackupPlansRequest,BackupForGKEClient.ListBackupPlansPagedResponse> listBackupPlansPagedCallable()- Overrides:
listBackupPlansPagedCallablein classBackupForGKEStub
-
getBackupPlanCallable
- Overrides:
getBackupPlanCallablein classBackupForGKEStub
-
updateBackupPlanCallable
- Overrides:
updateBackupPlanCallablein classBackupForGKEStub
-
updateBackupPlanOperationCallable
public OperationCallable<UpdateBackupPlanRequest,BackupPlan, updateBackupPlanOperationCallable()OperationMetadata> - Overrides:
updateBackupPlanOperationCallablein classBackupForGKEStub
-
deleteBackupPlanCallable
- Overrides:
deleteBackupPlanCallablein classBackupForGKEStub
-
deleteBackupPlanOperationCallable
public OperationCallable<DeleteBackupPlanRequest,com.google.protobuf.Empty, deleteBackupPlanOperationCallable()OperationMetadata> - Overrides:
deleteBackupPlanOperationCallablein classBackupForGKEStub
-
createBackupChannelCallable
- Overrides:
createBackupChannelCallablein classBackupForGKEStub
-
createBackupChannelOperationCallable
public OperationCallable<CreateBackupChannelRequest,BackupChannel, createBackupChannelOperationCallable()OperationMetadata> - Overrides:
createBackupChannelOperationCallablein classBackupForGKEStub
-
listBackupChannelsCallable
public UnaryCallable<ListBackupChannelsRequest,ListBackupChannelsResponse> listBackupChannelsCallable()- Overrides:
listBackupChannelsCallablein classBackupForGKEStub
-
listBackupChannelsPagedCallable
public UnaryCallable<ListBackupChannelsRequest,BackupForGKEClient.ListBackupChannelsPagedResponse> listBackupChannelsPagedCallable()- Overrides:
listBackupChannelsPagedCallablein classBackupForGKEStub
-
getBackupChannelCallable
- Overrides:
getBackupChannelCallablein classBackupForGKEStub
-
updateBackupChannelCallable
- Overrides:
updateBackupChannelCallablein classBackupForGKEStub
-
updateBackupChannelOperationCallable
public OperationCallable<UpdateBackupChannelRequest,BackupChannel, updateBackupChannelOperationCallable()OperationMetadata> - Overrides:
updateBackupChannelOperationCallablein classBackupForGKEStub
-
deleteBackupChannelCallable
- Overrides:
deleteBackupChannelCallablein classBackupForGKEStub
-
deleteBackupChannelOperationCallable
public OperationCallable<DeleteBackupChannelRequest,com.google.protobuf.Empty, deleteBackupChannelOperationCallable()OperationMetadata> - Overrides:
deleteBackupChannelOperationCallablein classBackupForGKEStub
-
listBackupPlanBindingsCallable
public UnaryCallable<ListBackupPlanBindingsRequest,ListBackupPlanBindingsResponse> listBackupPlanBindingsCallable()- Overrides:
listBackupPlanBindingsCallablein classBackupForGKEStub
-
listBackupPlanBindingsPagedCallable
public UnaryCallable<ListBackupPlanBindingsRequest,BackupForGKEClient.ListBackupPlanBindingsPagedResponse> listBackupPlanBindingsPagedCallable()- Overrides:
listBackupPlanBindingsPagedCallablein classBackupForGKEStub
-
getBackupPlanBindingCallable
- Overrides:
getBackupPlanBindingCallablein classBackupForGKEStub
-
createBackupCallable
- Overrides:
createBackupCallablein classBackupForGKEStub
-
createBackupOperationCallable
public OperationCallable<CreateBackupRequest,Backup, createBackupOperationCallable()OperationMetadata> - Overrides:
createBackupOperationCallablein classBackupForGKEStub
-
listBackupsCallable
- Overrides:
listBackupsCallablein classBackupForGKEStub
-
listBackupsPagedCallable
public UnaryCallable<ListBackupsRequest,BackupForGKEClient.ListBackupsPagedResponse> listBackupsPagedCallable()- Overrides:
listBackupsPagedCallablein classBackupForGKEStub
-
getBackupCallable
- Overrides:
getBackupCallablein classBackupForGKEStub
-
updateBackupCallable
- Overrides:
updateBackupCallablein classBackupForGKEStub
-
updateBackupOperationCallable
public OperationCallable<UpdateBackupRequest,Backup, updateBackupOperationCallable()OperationMetadata> - Overrides:
updateBackupOperationCallablein classBackupForGKEStub
-
deleteBackupCallable
- Overrides:
deleteBackupCallablein classBackupForGKEStub
-
deleteBackupOperationCallable
public OperationCallable<DeleteBackupRequest,com.google.protobuf.Empty, deleteBackupOperationCallable()OperationMetadata> - Overrides:
deleteBackupOperationCallablein classBackupForGKEStub
-
listVolumeBackupsCallable
public UnaryCallable<ListVolumeBackupsRequest,ListVolumeBackupsResponse> listVolumeBackupsCallable()- Overrides:
listVolumeBackupsCallablein classBackupForGKEStub
-
listVolumeBackupsPagedCallable
public UnaryCallable<ListVolumeBackupsRequest,BackupForGKEClient.ListVolumeBackupsPagedResponse> listVolumeBackupsPagedCallable()- Overrides:
listVolumeBackupsPagedCallablein classBackupForGKEStub
-
getVolumeBackupCallable
- Overrides:
getVolumeBackupCallablein classBackupForGKEStub
-
createRestorePlanCallable
- Overrides:
createRestorePlanCallablein classBackupForGKEStub
-
createRestorePlanOperationCallable
public OperationCallable<CreateRestorePlanRequest,RestorePlan, createRestorePlanOperationCallable()OperationMetadata> - Overrides:
createRestorePlanOperationCallablein classBackupForGKEStub
-
listRestorePlansCallable
- Overrides:
listRestorePlansCallablein classBackupForGKEStub
-
listRestorePlansPagedCallable
public UnaryCallable<ListRestorePlansRequest,BackupForGKEClient.ListRestorePlansPagedResponse> listRestorePlansPagedCallable()- Overrides:
listRestorePlansPagedCallablein classBackupForGKEStub
-
getRestorePlanCallable
- Overrides:
getRestorePlanCallablein classBackupForGKEStub
-
updateRestorePlanCallable
- Overrides:
updateRestorePlanCallablein classBackupForGKEStub
-
updateRestorePlanOperationCallable
public OperationCallable<UpdateRestorePlanRequest,RestorePlan, updateRestorePlanOperationCallable()OperationMetadata> - Overrides:
updateRestorePlanOperationCallablein classBackupForGKEStub
-
deleteRestorePlanCallable
- Overrides:
deleteRestorePlanCallablein classBackupForGKEStub
-
deleteRestorePlanOperationCallable
public OperationCallable<DeleteRestorePlanRequest,com.google.protobuf.Empty, deleteRestorePlanOperationCallable()OperationMetadata> - Overrides:
deleteRestorePlanOperationCallablein classBackupForGKEStub
-
createRestoreChannelCallable
- Overrides:
createRestoreChannelCallablein classBackupForGKEStub
-
createRestoreChannelOperationCallable
public OperationCallable<CreateRestoreChannelRequest,RestoreChannel, createRestoreChannelOperationCallable()OperationMetadata> - Overrides:
createRestoreChannelOperationCallablein classBackupForGKEStub
-
listRestoreChannelsCallable
public UnaryCallable<ListRestoreChannelsRequest,ListRestoreChannelsResponse> listRestoreChannelsCallable()- Overrides:
listRestoreChannelsCallablein classBackupForGKEStub
-
listRestoreChannelsPagedCallable
public UnaryCallable<ListRestoreChannelsRequest,BackupForGKEClient.ListRestoreChannelsPagedResponse> listRestoreChannelsPagedCallable()- Overrides:
listRestoreChannelsPagedCallablein classBackupForGKEStub
-
getRestoreChannelCallable
- Overrides:
getRestoreChannelCallablein classBackupForGKEStub
-
updateRestoreChannelCallable
- Overrides:
updateRestoreChannelCallablein classBackupForGKEStub
-
updateRestoreChannelOperationCallable
public OperationCallable<UpdateRestoreChannelRequest,RestoreChannel, updateRestoreChannelOperationCallable()OperationMetadata> - Overrides:
updateRestoreChannelOperationCallablein classBackupForGKEStub
-
deleteRestoreChannelCallable
- Overrides:
deleteRestoreChannelCallablein classBackupForGKEStub
-
deleteRestoreChannelOperationCallable
public OperationCallable<DeleteRestoreChannelRequest,com.google.protobuf.Empty, deleteRestoreChannelOperationCallable()OperationMetadata> - Overrides:
deleteRestoreChannelOperationCallablein classBackupForGKEStub
-
listRestorePlanBindingsCallable
public UnaryCallable<ListRestorePlanBindingsRequest,ListRestorePlanBindingsResponse> listRestorePlanBindingsCallable()- Overrides:
listRestorePlanBindingsCallablein classBackupForGKEStub
-
listRestorePlanBindingsPagedCallable
public UnaryCallable<ListRestorePlanBindingsRequest,BackupForGKEClient.ListRestorePlanBindingsPagedResponse> listRestorePlanBindingsPagedCallable()- Overrides:
listRestorePlanBindingsPagedCallablein classBackupForGKEStub
-
getRestorePlanBindingCallable
public UnaryCallable<GetRestorePlanBindingRequest,RestorePlanBinding> getRestorePlanBindingCallable()- Overrides:
getRestorePlanBindingCallablein classBackupForGKEStub
-
createRestoreCallable
- Overrides:
createRestoreCallablein classBackupForGKEStub
-
createRestoreOperationCallable
public OperationCallable<CreateRestoreRequest,Restore, createRestoreOperationCallable()OperationMetadata> - Overrides:
createRestoreOperationCallablein classBackupForGKEStub
-
listRestoresCallable
- Overrides:
listRestoresCallablein classBackupForGKEStub
-
listRestoresPagedCallable
public UnaryCallable<ListRestoresRequest,BackupForGKEClient.ListRestoresPagedResponse> listRestoresPagedCallable()- Overrides:
listRestoresPagedCallablein classBackupForGKEStub
-
getRestoreCallable
- Overrides:
getRestoreCallablein classBackupForGKEStub
-
updateRestoreCallable
- Overrides:
updateRestoreCallablein classBackupForGKEStub
-
updateRestoreOperationCallable
public OperationCallable<UpdateRestoreRequest,Restore, updateRestoreOperationCallable()OperationMetadata> - Overrides:
updateRestoreOperationCallablein classBackupForGKEStub
-
deleteRestoreCallable
- Overrides:
deleteRestoreCallablein classBackupForGKEStub
-
deleteRestoreOperationCallable
public OperationCallable<DeleteRestoreRequest,com.google.protobuf.Empty, deleteRestoreOperationCallable()OperationMetadata> - Overrides:
deleteRestoreOperationCallablein classBackupForGKEStub
-
listVolumeRestoresCallable
public UnaryCallable<ListVolumeRestoresRequest,ListVolumeRestoresResponse> listVolumeRestoresCallable()- Overrides:
listVolumeRestoresCallablein classBackupForGKEStub
-
listVolumeRestoresPagedCallable
public UnaryCallable<ListVolumeRestoresRequest,BackupForGKEClient.ListVolumeRestoresPagedResponse> listVolumeRestoresPagedCallable()- Overrides:
listVolumeRestoresPagedCallablein classBackupForGKEStub
-
getVolumeRestoreCallable
- Overrides:
getVolumeRestoreCallablein classBackupForGKEStub
-
getBackupIndexDownloadUrlCallable
public UnaryCallable<GetBackupIndexDownloadUrlRequest,GetBackupIndexDownloadUrlResponse> getBackupIndexDownloadUrlCallable()- Overrides:
getBackupIndexDownloadUrlCallablein classBackupForGKEStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classBackupForGKEStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,BackupForGKEClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classBackupForGKEStub
-
getLocationCallable
- Overrides:
getLocationCallablein classBackupForGKEStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classBackupForGKEStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classBackupForGKEStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classBackupForGKEStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classBackupForGKEStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-