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 protected
GrpcSecurityCenterSettingsServiceStub(SecurityCenterSettingsServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcSecurityCenterSettingsServiceStub, using the given settings.protected
GrpcSecurityCenterSettingsServiceStub(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:
getServiceAccountCallable
in classSecurityCenterSettingsServiceStub
-
getSettingsCallable
public com.google.api.gax.rpc.UnaryCallable<GetSettingsRequest,Settings> getSettingsCallable()
- Overrides:
getSettingsCallable
in classSecurityCenterSettingsServiceStub
-
updateSettingsCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateSettingsRequest,Settings> updateSettingsCallable()
- Overrides:
updateSettingsCallable
in classSecurityCenterSettingsServiceStub
-
resetSettingsCallable
public com.google.api.gax.rpc.UnaryCallable<ResetSettingsRequest,com.google.protobuf.Empty> resetSettingsCallable()
- Overrides:
resetSettingsCallable
in classSecurityCenterSettingsServiceStub
-
batchGetSettingsCallable
public com.google.api.gax.rpc.UnaryCallable<BatchGetSettingsRequest,BatchGetSettingsResponse> batchGetSettingsCallable()
- Overrides:
batchGetSettingsCallable
in classSecurityCenterSettingsServiceStub
-
calculateEffectiveSettingsCallable
public com.google.api.gax.rpc.UnaryCallable<CalculateEffectiveSettingsRequest,Settings> calculateEffectiveSettingsCallable()
- Overrides:
calculateEffectiveSettingsCallable
in classSecurityCenterSettingsServiceStub
-
batchCalculateEffectiveSettingsCallable
public com.google.api.gax.rpc.UnaryCallable<BatchCalculateEffectiveSettingsRequest,BatchCalculateEffectiveSettingsResponse> batchCalculateEffectiveSettingsCallable()
- Overrides:
batchCalculateEffectiveSettingsCallable
in classSecurityCenterSettingsServiceStub
-
getComponentSettingsCallable
public com.google.api.gax.rpc.UnaryCallable<GetComponentSettingsRequest,ComponentSettings> getComponentSettingsCallable()
- Overrides:
getComponentSettingsCallable
in classSecurityCenterSettingsServiceStub
-
updateComponentSettingsCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateComponentSettingsRequest,ComponentSettings> updateComponentSettingsCallable()
- Overrides:
updateComponentSettingsCallable
in classSecurityCenterSettingsServiceStub
-
resetComponentSettingsCallable
public com.google.api.gax.rpc.UnaryCallable<ResetComponentSettingsRequest,com.google.protobuf.Empty> resetComponentSettingsCallable()
- Overrides:
resetComponentSettingsCallable
in classSecurityCenterSettingsServiceStub
-
calculateEffectiveComponentSettingsCallable
public com.google.api.gax.rpc.UnaryCallable<CalculateEffectiveComponentSettingsRequest,ComponentSettings> calculateEffectiveComponentSettingsCallable()
- Overrides:
calculateEffectiveComponentSettingsCallable
in classSecurityCenterSettingsServiceStub
-
listDetectorsCallable
public com.google.api.gax.rpc.UnaryCallable<ListDetectorsRequest,ListDetectorsResponse> listDetectorsCallable()
- Overrides:
listDetectorsCallable
in classSecurityCenterSettingsServiceStub
-
listDetectorsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListDetectorsRequest,SecurityCenterSettingsServiceClient.ListDetectorsPagedResponse> listDetectorsPagedCallable()
- Overrides:
listDetectorsPagedCallable
in classSecurityCenterSettingsServiceStub
-
listComponentsCallable
public com.google.api.gax.rpc.UnaryCallable<ListComponentsRequest,ListComponentsResponse> listComponentsCallable()
- Overrides:
listComponentsCallable
in classSecurityCenterSettingsServiceStub
-
listComponentsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListComponentsRequest,SecurityCenterSettingsServiceClient.ListComponentsPagedResponse> listComponentsPagedCallable()
- Overrides:
listComponentsPagedCallable
in classSecurityCenterSettingsServiceStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in 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
-
-