Class GrpcSecurityCenterSettingsServiceStub (0.32.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
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcSecurityCenterSettingsServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcSecurityCenterSettingsServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcSecurityCenterSettingsServiceStub
Exceptions
TypeDescription
IOException

create(SecurityCenterSettingsServiceStubSettings settings)

public static final GrpcSecurityCenterSettingsServiceStub create(SecurityCenterSettingsServiceStubSettings settings)
Parameter
NameDescription
settingsSecurityCenterSettingsServiceStubSettings
Returns
TypeDescription
GrpcSecurityCenterSettingsServiceStub
Exceptions
TypeDescription
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
NameDescription
settingsSecurityCenterSettingsServiceStubSettings
clientContextClientContext

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
NameDescription
settingsSecurityCenterSettingsServiceStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

batchCalculateEffectiveSettingsCallable()

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

batchGetSettingsCallable()

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

calculateEffectiveComponentSettingsCallable()

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

calculateEffectiveSettingsCallable()

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

close()

public final void close()
Overrides

getComponentSettingsCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

getServiceAccountCallable()

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

getSettingsCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listComponentsCallable()

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

listComponentsPagedCallable()

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

listDetectorsCallable()

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

listDetectorsPagedCallable()

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

resetComponentSettingsCallable()

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

resetSettingsCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateComponentSettingsCallable()

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

updateSettingsCallable()

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