Beta
This library is covered by the Pre-GA Offerings Terms
of the Terms of Service. Pre-GA libraries might have limited support,
and changes to pre-GA libraries might not be compatible with other pre-GA versions.
For more information, see the
launch stage descriptions .
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.
Static Methods
create(ClientContext clientContext)
public static final GrpcSecurityCenterSettingsServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcSecurityCenterSettingsServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(SecurityCenterSettingsServiceStubSettings settings)
public static final GrpcSecurityCenterSettingsServiceStub create(SecurityCenterSettingsServiceStubSettings settings)
Constructors
GrpcSecurityCenterSettingsServiceStub(SecurityCenterSettingsServiceStubSettings settings, ClientContext clientContext)
protected GrpcSecurityCenterSettingsServiceStub(SecurityCenterSettingsServiceStubSettings settings, ClientContext clientContext)
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.
GrpcSecurityCenterSettingsServiceStub(SecurityCenterSettingsServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcSecurityCenterSettingsServiceStub(SecurityCenterSettingsServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
batchCalculateEffectiveSettingsCallable()
public UnaryCallable<BatchCalculateEffectiveSettingsRequest,BatchCalculateEffectiveSettingsResponse> batchCalculateEffectiveSettingsCallable()
Overrides
batchGetSettingsCallable()
public UnaryCallable<BatchGetSettingsRequest,BatchGetSettingsResponse> batchGetSettingsCallable()
Overrides
calculateEffectiveComponentSettingsCallable()
public UnaryCallable<CalculateEffectiveComponentSettingsRequest,ComponentSettings> calculateEffectiveComponentSettingsCallable()
Overrides
calculateEffectiveSettingsCallable()
public UnaryCallable<CalculateEffectiveSettingsRequest,Settings> calculateEffectiveSettingsCallable()
Overrides
close()
public final void close()
Overrides
getComponentSettingsCallable()
public UnaryCallable<GetComponentSettingsRequest,ComponentSettings> getComponentSettingsCallable()
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
getServiceAccountCallable()
public UnaryCallable<GetServiceAccountRequest,ServiceAccount> getServiceAccountCallable()
Overrides
getSettingsCallable()
public UnaryCallable<GetSettingsRequest,Settings> getSettingsCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listComponentsCallable()
public UnaryCallable<ListComponentsRequest,ListComponentsResponse> listComponentsCallable()
Overrides
listComponentsPagedCallable()
public UnaryCallable<ListComponentsRequest,SecurityCenterSettingsServiceClient.ListComponentsPagedResponse> listComponentsPagedCallable()
Overrides
listDetectorsCallable()
public UnaryCallable<ListDetectorsRequest,ListDetectorsResponse> listDetectorsCallable()
Overrides
listDetectorsPagedCallable()
public UnaryCallable<ListDetectorsRequest,SecurityCenterSettingsServiceClient.ListDetectorsPagedResponse> listDetectorsPagedCallable()
Overrides
resetComponentSettingsCallable()
public UnaryCallable<ResetComponentSettingsRequest,Empty> resetComponentSettingsCallable()
Overrides
resetSettingsCallable()
public UnaryCallable<ResetSettingsRequest,Empty> resetSettingsCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateComponentSettingsCallable()
public UnaryCallable<UpdateComponentSettingsRequest,ComponentSettings> updateComponentSettingsCallable()
Overrides
updateSettingsCallable()
public UnaryCallable<UpdateSettingsRequest,Settings> updateSettingsCallable()
Overrides