Class GrpcBackupDrProtectionSummaryStub
java.lang.Object
com.google.cloud.backupdr.v1.stub.BackupDrProtectionSummaryStub
com.google.cloud.backupdr.v1.stub.GrpcBackupDrProtectionSummaryStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class GrpcBackupDrProtectionSummaryStub
extends BackupDrProtectionSummaryStub
gRPC stub implementation for the BackupDrProtectionSummary service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcBackupDrProtectionSummaryStub(BackupDrProtectionSummaryStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcBackupDrProtectionSummaryStub, using the given settings.protectedGrpcBackupDrProtectionSummaryStub(BackupDrProtectionSummaryStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcBackupDrProtectionSummaryStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcBackupDrProtectionSummaryStubcreate(ClientContext clientContext) static final GrpcBackupDrProtectionSummaryStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcBackupDrProtectionSummaryStubcreate(BackupDrProtectionSummaryStubSettings settings) booleanbooleanUnaryCallable<ListResourceBackupConfigsRequest,BackupDrProtectionSummaryClient.ListResourceBackupConfigsPagedResponse> voidshutdown()void
-
Constructor Details
-
GrpcBackupDrProtectionSummaryStub
protected GrpcBackupDrProtectionSummaryStub(BackupDrProtectionSummaryStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcBackupDrProtectionSummaryStub, 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
-
GrpcBackupDrProtectionSummaryStub
protected GrpcBackupDrProtectionSummaryStub(BackupDrProtectionSummaryStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcBackupDrProtectionSummaryStub, 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 GrpcBackupDrProtectionSummaryStub create(BackupDrProtectionSummaryStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final GrpcBackupDrProtectionSummaryStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final GrpcBackupDrProtectionSummaryStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
-
listResourceBackupConfigsCallable
public UnaryCallable<ListResourceBackupConfigsRequest,ListResourceBackupConfigsResponse> listResourceBackupConfigsCallable()- Overrides:
listResourceBackupConfigsCallablein classBackupDrProtectionSummaryStub
-
listResourceBackupConfigsPagedCallable
public UnaryCallable<ListResourceBackupConfigsRequest,BackupDrProtectionSummaryClient.ListResourceBackupConfigsPagedResponse> listResourceBackupConfigsPagedCallable()- Overrides:
listResourceBackupConfigsPagedCallablein classBackupDrProtectionSummaryStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classBackupDrProtectionSummaryStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,BackupDrProtectionSummaryClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classBackupDrProtectionSummaryStub
-
getLocationCallable
- Overrides:
getLocationCallablein classBackupDrProtectionSummaryStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classBackupDrProtectionSummaryStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classBackupDrProtectionSummaryStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classBackupDrProtectionSummaryStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classBackupDrProtectionSummaryStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-