public static class SecurityCenterSettingsServiceStubSettings.Builder extends StubSettings.Builder<SecurityCenterSettingsServiceStubSettings,SecurityCenterSettingsServiceStubSettings.Builder>
Builder for SecurityCenterSettingsServiceStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(SecurityCenterSettingsServiceStubSettings settings)
protected Builder(SecurityCenterSettingsServiceStubSettings settings)
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.
batchCalculateEffectiveSettingsSettings()
public UnaryCallSettings.Builder<BatchCalculateEffectiveSettingsRequest,BatchCalculateEffectiveSettingsResponse> batchCalculateEffectiveSettingsSettings()
Returns the builder for the settings used for calls to batchCalculateEffectiveSettings.
batchGetSettingsSettings()
public UnaryCallSettings.Builder<BatchGetSettingsRequest,BatchGetSettingsResponse> batchGetSettingsSettings()
Returns the builder for the settings used for calls to batchGetSettings.
build()
public SecurityCenterSettingsServiceStubSettings build()
Overrides
calculateEffectiveComponentSettingsSettings()
public UnaryCallSettings.Builder<CalculateEffectiveComponentSettingsRequest,ComponentSettings> calculateEffectiveComponentSettingsSettings()
Returns the builder for the settings used for calls to calculateEffectiveComponentSettings.
calculateEffectiveSettingsSettings()
public UnaryCallSettings.Builder<CalculateEffectiveSettingsRequest,Settings> calculateEffectiveSettingsSettings()
Returns the builder for the settings used for calls to calculateEffectiveSettings.
getComponentSettingsSettings()
public UnaryCallSettings.Builder<GetComponentSettingsRequest,ComponentSettings> getComponentSettingsSettings()
Returns the builder for the settings used for calls to getComponentSettings.
getEndpoint()
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
getServiceAccountSettings()
public UnaryCallSettings.Builder<GetServiceAccountRequest,ServiceAccount> getServiceAccountSettings()
Returns the builder for the settings used for calls to getServiceAccount.
getSettingsSettings()
public UnaryCallSettings.Builder<GetSettingsRequest,Settings> getSettingsSettings()
Returns the builder for the settings used for calls to getSettings.
listComponentsSettings()
public PagedCallSettings.Builder<ListComponentsRequest,ListComponentsResponse,SecurityCenterSettingsServiceClient.ListComponentsPagedResponse> listComponentsSettings()
Returns the builder for the settings used for calls to listComponents.
public PagedCallSettings.Builder<ListDetectorsRequest,ListDetectorsResponse,SecurityCenterSettingsServiceClient.ListDetectorsPagedResponse> listDetectorsSettings()
Returns the builder for the settings used for calls to listDetectors.
resetComponentSettingsSettings()
public UnaryCallSettings.Builder<ResetComponentSettingsRequest,Empty> resetComponentSettingsSettings()
Returns the builder for the settings used for calls to resetComponentSettings.
resetSettingsSettings()
public UnaryCallSettings.Builder<ResetSettingsRequest,Empty> resetSettingsSettings()
Returns the builder for the settings used for calls to resetSettings.
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.
updateSettingsSettings()
public UnaryCallSettings.Builder<UpdateSettingsRequest,Settings> updateSettingsSettings()
Returns the builder for the settings used for calls to updateSettings.