Class SecurityCenterSettingsServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<SecurityCenterSettingsServiceSettings,SecurityCenterSettingsServiceSettings.Builder>
com.google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsServiceSettings.Builder
- Enclosing class:
- SecurityCenterSettingsServiceSettings
public static class SecurityCenterSettingsServiceSettings.Builder
extends ClientSettings.Builder<SecurityCenterSettingsServiceSettings,SecurityCenterSettingsServiceSettings.Builder>
Builder for SecurityCenterSettingsServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(SecurityCenterSettingsServiceSettings settings) protectedBuilder(SecurityCenterSettingsServiceStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.UnaryCallSettings.Builder<BatchCalculateEffectiveSettingsRequest,BatchCalculateEffectiveSettingsResponse> Returns the builder for the settings used for calls to batchCalculateEffectiveSettings.Returns the builder for the settings used for calls to batchGetSettings.build()Returns the builder for the settings used for calls to calculateEffectiveComponentSettings.Returns the builder for the settings used for calls to calculateEffectiveSettings.Returns the builder for the settings used for calls to getComponentSettings.Returns the builder for the settings used for calls to getServiceAccount.Returns the builder for the settings used for calls to getSettings.PagedCallSettings.Builder<ListComponentsRequest,ListComponentsResponse, SecurityCenterSettingsServiceClient.ListComponentsPagedResponse> Returns the builder for the settings used for calls to listComponents.PagedCallSettings.Builder<ListDetectorsRequest,ListDetectorsResponse, SecurityCenterSettingsServiceClient.ListDetectorsPagedResponse> Returns the builder for the settings used for calls to listDetectors.UnaryCallSettings.Builder<ResetComponentSettingsRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to resetComponentSettings.UnaryCallSettings.Builder<ResetSettingsRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to resetSettings.Returns the builder for the settings used for calls to updateComponentSettings.Returns the builder for the settings used for calls to updateSettings.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public SecurityCenterSettingsServiceSettings.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.
-
getServiceAccountSettings
public UnaryCallSettings.Builder<GetServiceAccountRequest,ServiceAccount> getServiceAccountSettings()Returns the builder for the settings used for calls to getServiceAccount. -
getSettingsSettings
Returns the builder for the settings used for calls to getSettings. -
updateSettingsSettings
Returns the builder for the settings used for calls to updateSettings. -
resetSettingsSettings
public UnaryCallSettings.Builder<ResetSettingsRequest,com.google.protobuf.Empty> resetSettingsSettings()Returns the builder for the settings used for calls to resetSettings. -
batchGetSettingsSettings
public UnaryCallSettings.Builder<BatchGetSettingsRequest,BatchGetSettingsResponse> batchGetSettingsSettings()Returns the builder for the settings used for calls to batchGetSettings. -
calculateEffectiveSettingsSettings
public UnaryCallSettings.Builder<CalculateEffectiveSettingsRequest,Settings> calculateEffectiveSettingsSettings()Returns the builder for the settings used for calls to calculateEffectiveSettings. -
batchCalculateEffectiveSettingsSettings
public UnaryCallSettings.Builder<BatchCalculateEffectiveSettingsRequest,BatchCalculateEffectiveSettingsResponse> batchCalculateEffectiveSettingsSettings()Returns the builder for the settings used for calls to batchCalculateEffectiveSettings. -
getComponentSettingsSettings
public UnaryCallSettings.Builder<GetComponentSettingsRequest,ComponentSettings> getComponentSettingsSettings()Returns the builder for the settings used for calls to getComponentSettings. -
updateComponentSettingsSettings
public UnaryCallSettings.Builder<UpdateComponentSettingsRequest,ComponentSettings> updateComponentSettingsSettings()Returns the builder for the settings used for calls to updateComponentSettings. -
resetComponentSettingsSettings
public UnaryCallSettings.Builder<ResetComponentSettingsRequest,com.google.protobuf.Empty> resetComponentSettingsSettings()Returns the builder for the settings used for calls to resetComponentSettings. -
calculateEffectiveComponentSettingsSettings
public UnaryCallSettings.Builder<CalculateEffectiveComponentSettingsRequest,ComponentSettings> calculateEffectiveComponentSettingsSettings()Returns the builder for the settings used for calls to calculateEffectiveComponentSettings. -
listDetectorsSettings
public PagedCallSettings.Builder<ListDetectorsRequest,ListDetectorsResponse, listDetectorsSettings()SecurityCenterSettingsServiceClient.ListDetectorsPagedResponse> Returns the builder for the settings used for calls to listDetectors. -
listComponentsSettings
public PagedCallSettings.Builder<ListComponentsRequest,ListComponentsResponse, listComponentsSettings()SecurityCenterSettingsServiceClient.ListComponentsPagedResponse> Returns the builder for the settings used for calls to listComponents. -
build
- Specified by:
buildin classClientSettings.Builder<SecurityCenterSettingsServiceSettings,SecurityCenterSettingsServiceSettings.Builder> - Throws:
IOException
-