Class HttpJsonBackupDrProtectionSummaryStub
java.lang.Object
com.google.cloud.backupdr.v1.stub.BackupDrProtectionSummaryStub
com.google.cloud.backupdr.v1.stub.HttpJsonBackupDrProtectionSummaryStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class HttpJsonBackupDrProtectionSummaryStub
extends BackupDrProtectionSummaryStub
REST stub implementation for the BackupDrProtectionSummary service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonBackupDrProtectionSummaryStub(BackupDrProtectionSummaryStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonBackupDrProtectionSummaryStub, using the given settings.protectedHttpJsonBackupDrProtectionSummaryStub(BackupDrProtectionSummaryStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonBackupDrProtectionSummaryStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonBackupDrProtectionSummaryStubcreate(ClientContext clientContext) static final HttpJsonBackupDrProtectionSummaryStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonBackupDrProtectionSummaryStubcreate(BackupDrProtectionSummaryStubSettings settings) static List<ApiMethodDescriptor>booleanbooleanUnaryCallable<ListResourceBackupConfigsRequest,BackupDrProtectionSummaryClient.ListResourceBackupConfigsPagedResponse> voidshutdown()void
-
Constructor Details
-
HttpJsonBackupDrProtectionSummaryStub
protected HttpJsonBackupDrProtectionSummaryStub(BackupDrProtectionSummaryStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of HttpJsonBackupDrProtectionSummaryStub, 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
-
HttpJsonBackupDrProtectionSummaryStub
protected HttpJsonBackupDrProtectionSummaryStub(BackupDrProtectionSummaryStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException Constructs an instance of HttpJsonBackupDrProtectionSummaryStub, 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 HttpJsonBackupDrProtectionSummaryStub create(BackupDrProtectionSummaryStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final HttpJsonBackupDrProtectionSummaryStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final HttpJsonBackupDrProtectionSummaryStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
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
-