Class GrpcSecurityCenterSettingsServiceStub
- java.lang.Object
-
- com.google.cloud.securitycenter.settings.v1beta1.stub.SecurityCenterSettingsServiceStub
-
- com.google.cloud.securitycenter.settings.v1beta1.stub.GrpcSecurityCenterSettingsServiceStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@BetaApi @Generated("by gapic-generator-java") public class GrpcSecurityCenterSettingsServiceStub extends SecurityCenterSettingsServiceStub
gRPC stub implementation for the SecurityCenterSettingsService service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGrpcSecurityCenterSettingsServiceStub(SecurityCenterSettingsServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of GrpcSecurityCenterSettingsServiceStub, using the given settings.protectedGrpcSecurityCenterSettingsServiceStub(SecurityCenterSettingsServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)Constructs an instance of GrpcSecurityCenterSettingsServiceStub, using the given settings.
-
Method Summary
-
-
-
Constructor Detail
-
GrpcSecurityCenterSettingsServiceStub
protected GrpcSecurityCenterSettingsServiceStub(SecurityCenterSettingsServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of GrpcSecurityCenterSettingsServiceStub, 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
-
GrpcSecurityCenterSettingsServiceStub
protected GrpcSecurityCenterSettingsServiceStub(SecurityCenterSettingsServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
Constructs an instance of GrpcSecurityCenterSettingsServiceStub, 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 Detail
-
create
public static final GrpcSecurityCenterSettingsServiceStub create(SecurityCenterSettingsServiceStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final GrpcSecurityCenterSettingsServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final GrpcSecurityCenterSettingsServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getOperationsStub
public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
-
getServiceAccountCallable
public com.google.api.gax.rpc.UnaryCallable<GetServiceAccountRequest,ServiceAccount> getServiceAccountCallable()
- Overrides:
getServiceAccountCallablein classSecurityCenterSettingsServiceStub
-
getSettingsCallable
public com.google.api.gax.rpc.UnaryCallable<GetSettingsRequest,Settings> getSettingsCallable()
- Overrides:
getSettingsCallablein classSecurityCenterSettingsServiceStub
-
updateSettingsCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateSettingsRequest,Settings> updateSettingsCallable()
- Overrides:
updateSettingsCallablein classSecurityCenterSettingsServiceStub
-
resetSettingsCallable
public com.google.api.gax.rpc.UnaryCallable<ResetSettingsRequest,com.google.protobuf.Empty> resetSettingsCallable()
- Overrides:
resetSettingsCallablein classSecurityCenterSettingsServiceStub
-
batchGetSettingsCallable
public com.google.api.gax.rpc.UnaryCallable<BatchGetSettingsRequest,BatchGetSettingsResponse> batchGetSettingsCallable()
- Overrides:
batchGetSettingsCallablein classSecurityCenterSettingsServiceStub
-
calculateEffectiveSettingsCallable
public com.google.api.gax.rpc.UnaryCallable<CalculateEffectiveSettingsRequest,Settings> calculateEffectiveSettingsCallable()
- Overrides:
calculateEffectiveSettingsCallablein classSecurityCenterSettingsServiceStub
-
batchCalculateEffectiveSettingsCallable
public com.google.api.gax.rpc.UnaryCallable<BatchCalculateEffectiveSettingsRequest,BatchCalculateEffectiveSettingsResponse> batchCalculateEffectiveSettingsCallable()
- Overrides:
batchCalculateEffectiveSettingsCallablein classSecurityCenterSettingsServiceStub
-
getComponentSettingsCallable
public com.google.api.gax.rpc.UnaryCallable<GetComponentSettingsRequest,ComponentSettings> getComponentSettingsCallable()
- Overrides:
getComponentSettingsCallablein classSecurityCenterSettingsServiceStub
-
updateComponentSettingsCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateComponentSettingsRequest,ComponentSettings> updateComponentSettingsCallable()
- Overrides:
updateComponentSettingsCallablein classSecurityCenterSettingsServiceStub
-
resetComponentSettingsCallable
public com.google.api.gax.rpc.UnaryCallable<ResetComponentSettingsRequest,com.google.protobuf.Empty> resetComponentSettingsCallable()
- Overrides:
resetComponentSettingsCallablein classSecurityCenterSettingsServiceStub
-
calculateEffectiveComponentSettingsCallable
public com.google.api.gax.rpc.UnaryCallable<CalculateEffectiveComponentSettingsRequest,ComponentSettings> calculateEffectiveComponentSettingsCallable()
- Overrides:
calculateEffectiveComponentSettingsCallablein classSecurityCenterSettingsServiceStub
-
listDetectorsCallable
public com.google.api.gax.rpc.UnaryCallable<ListDetectorsRequest,ListDetectorsResponse> listDetectorsCallable()
- Overrides:
listDetectorsCallablein classSecurityCenterSettingsServiceStub
-
listDetectorsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListDetectorsRequest,SecurityCenterSettingsServiceClient.ListDetectorsPagedResponse> listDetectorsPagedCallable()
- Overrides:
listDetectorsPagedCallablein classSecurityCenterSettingsServiceStub
-
listComponentsCallable
public com.google.api.gax.rpc.UnaryCallable<ListComponentsRequest,ListComponentsResponse> listComponentsCallable()
- Overrides:
listComponentsCallablein classSecurityCenterSettingsServiceStub
-
listComponentsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListComponentsRequest,SecurityCenterSettingsServiceClient.ListComponentsPagedResponse> listComponentsPagedCallable()
- Overrides:
listComponentsPagedCallablein classSecurityCenterSettingsServiceStub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classSecurityCenterSettingsServiceStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException- Throws:
InterruptedException
-
-