Class SecurityCenterSettingsServiceStubSettings.Builder (0.48.0)

public static class SecurityCenterSettingsServiceStubSettings.Builder extends StubSettings.Builder<SecurityCenterSettingsServiceStubSettings,SecurityCenterSettingsServiceStubSettings.Builder>

Builder for SecurityCenterSettingsServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > SecurityCenterSettingsServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(SecurityCenterSettingsServiceStubSettings settings)

protected Builder(SecurityCenterSettingsServiceStubSettings settings)
Parameter
Name Description
settings SecurityCenterSettingsServiceStubSettings

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public SecurityCenterSettingsServiceStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
SecurityCenterSettingsServiceStubSettings.Builder

batchCalculateEffectiveSettingsSettings()

public UnaryCallSettings.Builder<BatchCalculateEffectiveSettingsRequest,BatchCalculateEffectiveSettingsResponse> batchCalculateEffectiveSettingsSettings()

Returns the builder for the settings used for calls to batchCalculateEffectiveSettings.

Returns
Type Description
Builder<BatchCalculateEffectiveSettingsRequest,BatchCalculateEffectiveSettingsResponse>

batchGetSettingsSettings()

public UnaryCallSettings.Builder<BatchGetSettingsRequest,BatchGetSettingsResponse> batchGetSettingsSettings()

Returns the builder for the settings used for calls to batchGetSettings.

Returns
Type Description
Builder<BatchGetSettingsRequest,BatchGetSettingsResponse>

build()

public SecurityCenterSettingsServiceStubSettings build()
Returns
Type Description
SecurityCenterSettingsServiceStubSettings
Overrides
Exceptions
Type Description
IOException

calculateEffectiveComponentSettingsSettings()

public UnaryCallSettings.Builder<CalculateEffectiveComponentSettingsRequest,ComponentSettings> calculateEffectiveComponentSettingsSettings()

Returns the builder for the settings used for calls to calculateEffectiveComponentSettings.

Returns
Type Description
Builder<CalculateEffectiveComponentSettingsRequest,ComponentSettings>

calculateEffectiveSettingsSettings()

public UnaryCallSettings.Builder<CalculateEffectiveSettingsRequest,Settings> calculateEffectiveSettingsSettings()

Returns the builder for the settings used for calls to calculateEffectiveSettings.

Returns
Type Description
Builder<CalculateEffectiveSettingsRequest,Settings>

getComponentSettingsSettings()

public UnaryCallSettings.Builder<GetComponentSettingsRequest,ComponentSettings> getComponentSettingsSettings()

Returns the builder for the settings used for calls to getComponentSettings.

Returns
Type Description
Builder<GetComponentSettingsRequest,ComponentSettings>

getServiceAccountSettings()

public UnaryCallSettings.Builder<GetServiceAccountRequest,ServiceAccount> getServiceAccountSettings()

Returns the builder for the settings used for calls to getServiceAccount.

Returns
Type Description
Builder<GetServiceAccountRequest,ServiceAccount>

getSettingsSettings()

public UnaryCallSettings.Builder<GetSettingsRequest,Settings> getSettingsSettings()

Returns the builder for the settings used for calls to getSettings.

Returns
Type Description
Builder<GetSettingsRequest,Settings>

listComponentsSettings()

public PagedCallSettings.Builder<ListComponentsRequest,ListComponentsResponse,SecurityCenterSettingsServiceClient.ListComponentsPagedResponse> listComponentsSettings()

Returns the builder for the settings used for calls to listComponents.

Returns
Type Description
Builder<ListComponentsRequest,ListComponentsResponse,ListComponentsPagedResponse>

listDetectorsSettings()

public PagedCallSettings.Builder<ListDetectorsRequest,ListDetectorsResponse,SecurityCenterSettingsServiceClient.ListDetectorsPagedResponse> listDetectorsSettings()

Returns the builder for the settings used for calls to listDetectors.

Returns
Type Description
Builder<ListDetectorsRequest,ListDetectorsResponse,ListDetectorsPagedResponse>

resetComponentSettingsSettings()

public UnaryCallSettings.Builder<ResetComponentSettingsRequest,Empty> resetComponentSettingsSettings()

Returns the builder for the settings used for calls to resetComponentSettings.

Returns
Type Description
Builder<ResetComponentSettingsRequest,Empty>

resetSettingsSettings()

public UnaryCallSettings.Builder<ResetSettingsRequest,Empty> resetSettingsSettings()

Returns the builder for the settings used for calls to resetSettings.

Returns
Type Description
Builder<ResetSettingsRequest,Empty>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>

updateComponentSettingsSettings()

public UnaryCallSettings.Builder<UpdateComponentSettingsRequest,ComponentSettings> updateComponentSettingsSettings()

Returns the builder for the settings used for calls to updateComponentSettings.

Returns
Type Description
Builder<UpdateComponentSettingsRequest,ComponentSettings>

updateSettingsSettings()

public UnaryCallSettings.Builder<UpdateSettingsRequest,Settings> updateSettingsSettings()

Returns the builder for the settings used for calls to updateSettings.

Returns
Type Description
Builder<UpdateSettingsRequest,Settings>