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)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcSecurityCenterSettingsServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(SecurityCenterSettingsServiceStubSettings settings)
public static final GrpcSecurityCenterSettingsServiceStub create(SecurityCenterSettingsServiceStubSettings settings)
Parameter
Returns
Exceptions
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.
Parameters
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.
Parameters
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
batchCalculateEffectiveSettingsCallable()
public UnaryCallable<BatchCalculateEffectiveSettingsRequest,BatchCalculateEffectiveSettingsResponse> batchCalculateEffectiveSettingsCallable()
Returns
Overrides
batchGetSettingsCallable()
public UnaryCallable<BatchGetSettingsRequest,BatchGetSettingsResponse> batchGetSettingsCallable()
Returns
Overrides
calculateEffectiveComponentSettingsCallable()
public UnaryCallable<CalculateEffectiveComponentSettingsRequest,ComponentSettings> calculateEffectiveComponentSettingsCallable()
Returns
Overrides
calculateEffectiveSettingsCallable()
public UnaryCallable<CalculateEffectiveSettingsRequest,Settings> calculateEffectiveSettingsCallable()
Returns
Overrides
close()
public final void close()
Overrides
getComponentSettingsCallable()
public UnaryCallable<GetComponentSettingsRequest,ComponentSettings> getComponentSettingsCallable()
Returns
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns
getServiceAccountCallable()
public UnaryCallable<GetServiceAccountRequest,ServiceAccount> getServiceAccountCallable()
Returns
Overrides
getSettingsCallable()
public UnaryCallable<GetSettingsRequest,Settings> getSettingsCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listComponentsCallable()
public UnaryCallable<ListComponentsRequest,ListComponentsResponse> listComponentsCallable()
Returns
Overrides
listComponentsPagedCallable()
public UnaryCallable<ListComponentsRequest,SecurityCenterSettingsServiceClient.ListComponentsPagedResponse> listComponentsPagedCallable()
Returns
Overrides
listDetectorsCallable()
public UnaryCallable<ListDetectorsRequest,ListDetectorsResponse> listDetectorsCallable()
Returns
Overrides
listDetectorsPagedCallable()
public UnaryCallable<ListDetectorsRequest,SecurityCenterSettingsServiceClient.ListDetectorsPagedResponse> listDetectorsPagedCallable()
Returns
Overrides
resetComponentSettingsCallable()
public UnaryCallable<ResetComponentSettingsRequest,Empty> resetComponentSettingsCallable()
Returns
Overrides
resetSettingsCallable()
public UnaryCallable<ResetSettingsRequest,Empty> resetSettingsCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateComponentSettingsCallable()
public UnaryCallable<UpdateComponentSettingsRequest,ComponentSettings> updateComponentSettingsCallable()
Returns
Overrides
updateSettingsCallable()
public UnaryCallable<UpdateSettingsRequest,Settings> updateSettingsCallable()
Returns
Overrides