Class GrpcSecurityCenterSettingsServiceStub (0.58.0)

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.

Inheritance

java.lang.Object > SecurityCenterSettingsServiceStub > GrpcSecurityCenterSettingsServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcSecurityCenterSettingsServiceStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcSecurityCenterSettingsServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcSecurityCenterSettingsServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcSecurityCenterSettingsServiceStub
Exceptions
Type Description
IOException

create(SecurityCenterSettingsServiceStubSettings settings)

public static final GrpcSecurityCenterSettingsServiceStub create(SecurityCenterSettingsServiceStubSettings settings)
Parameter
Name Description
settings SecurityCenterSettingsServiceStubSettings
Returns
Type Description
GrpcSecurityCenterSettingsServiceStub
Exceptions
Type Description
IOException

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
Name Description
settings SecurityCenterSettingsServiceStubSettings
clientContext ClientContext

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
Name Description
settings SecurityCenterSettingsServiceStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

batchCalculateEffectiveSettingsCallable()

public UnaryCallable<BatchCalculateEffectiveSettingsRequest,BatchCalculateEffectiveSettingsResponse> batchCalculateEffectiveSettingsCallable()
Returns
Type Description
UnaryCallable<BatchCalculateEffectiveSettingsRequest,BatchCalculateEffectiveSettingsResponse>
Overrides

batchGetSettingsCallable()

public UnaryCallable<BatchGetSettingsRequest,BatchGetSettingsResponse> batchGetSettingsCallable()
Returns
Type Description
UnaryCallable<BatchGetSettingsRequest,BatchGetSettingsResponse>
Overrides

calculateEffectiveComponentSettingsCallable()

public UnaryCallable<CalculateEffectiveComponentSettingsRequest,ComponentSettings> calculateEffectiveComponentSettingsCallable()
Returns
Type Description
UnaryCallable<CalculateEffectiveComponentSettingsRequest,ComponentSettings>
Overrides

calculateEffectiveSettingsCallable()

public UnaryCallable<CalculateEffectiveSettingsRequest,Settings> calculateEffectiveSettingsCallable()
Returns
Type Description
UnaryCallable<CalculateEffectiveSettingsRequest,Settings>
Overrides

close()

public final void close()
Overrides

getComponentSettingsCallable()

public UnaryCallable<GetComponentSettingsRequest,ComponentSettings> getComponentSettingsCallable()
Returns
Type Description
UnaryCallable<GetComponentSettingsRequest,ComponentSettings>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

getServiceAccountCallable()

public UnaryCallable<GetServiceAccountRequest,ServiceAccount> getServiceAccountCallable()
Returns
Type Description
UnaryCallable<GetServiceAccountRequest,ServiceAccount>
Overrides

getSettingsCallable()

public UnaryCallable<GetSettingsRequest,Settings> getSettingsCallable()
Returns
Type Description
UnaryCallable<GetSettingsRequest,Settings>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listComponentsCallable()

public UnaryCallable<ListComponentsRequest,ListComponentsResponse> listComponentsCallable()
Returns
Type Description
UnaryCallable<ListComponentsRequest,ListComponentsResponse>
Overrides

listComponentsPagedCallable()

public UnaryCallable<ListComponentsRequest,SecurityCenterSettingsServiceClient.ListComponentsPagedResponse> listComponentsPagedCallable()
Returns
Type Description
UnaryCallable<ListComponentsRequest,ListComponentsPagedResponse>
Overrides

listDetectorsCallable()

public UnaryCallable<ListDetectorsRequest,ListDetectorsResponse> listDetectorsCallable()
Returns
Type Description
UnaryCallable<ListDetectorsRequest,ListDetectorsResponse>
Overrides

listDetectorsPagedCallable()

public UnaryCallable<ListDetectorsRequest,SecurityCenterSettingsServiceClient.ListDetectorsPagedResponse> listDetectorsPagedCallable()
Returns
Type Description
UnaryCallable<ListDetectorsRequest,ListDetectorsPagedResponse>
Overrides

resetComponentSettingsCallable()

public UnaryCallable<ResetComponentSettingsRequest,Empty> resetComponentSettingsCallable()
Returns
Type Description
UnaryCallable<ResetComponentSettingsRequest,Empty>
Overrides

resetSettingsCallable()

public UnaryCallable<ResetSettingsRequest,Empty> resetSettingsCallable()
Returns
Type Description
UnaryCallable<ResetSettingsRequest,Empty>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateComponentSettingsCallable()

public UnaryCallable<UpdateComponentSettingsRequest,ComponentSettings> updateComponentSettingsCallable()
Returns
Type Description
UnaryCallable<UpdateComponentSettingsRequest,ComponentSettings>
Overrides

updateSettingsCallable()

public UnaryCallable<UpdateSettingsRequest,Settings> updateSettingsCallable()
Returns
Type Description
UnaryCallable<UpdateSettingsRequest,Settings>
Overrides