Interface ComponentSettingsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ComponentSettings,ComponentSettings.Builder
public interface ComponentSettingsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsDetectorSettings(String key)Settings for detectors.ContainerThreatDetectionSettingsgetContainerThreatDetectionSettings()Container Threate Detection specific settings For component, expect CONTAINER_THREAT_DETECTIONContainerThreatDetectionSettingsOrBuildergetContainerThreatDetectionSettingsOrBuilder()Container Threate Detection specific settings For component, expect CONTAINER_THREAT_DETECTIONMap<String,ComponentSettings.DetectorSettings>getDetectorSettings()Deprecated.intgetDetectorSettingsCount()Settings for detectors.Map<String,ComponentSettings.DetectorSettings>getDetectorSettingsMap()Settings for detectors.ComponentSettings.DetectorSettingsgetDetectorSettingsOrDefault(String key, ComponentSettings.DetectorSettings defaultValue)Settings for detectors.ComponentSettings.DetectorSettingsgetDetectorSettingsOrThrow(String key)Settings for detectors.StringgetEtag()Output only.com.google.protobuf.ByteStringgetEtagBytes()Output only.EventThreatDetectionSettingsgetEventThreatDetectionSettings()Event Threat Detection specific settings For component, expect EVENT_THREAT_DETECTIONEventThreatDetectionSettingsOrBuildergetEventThreatDetectionSettingsOrBuilder()Event Threat Detection specific settings For component, expect EVENT_THREAT_DETECTIONStringgetName()The relative resource name of the component settings.com.google.protobuf.ByteStringgetNameBytes()The relative resource name of the component settings.StringgetProjectServiceAccount()Output only.com.google.protobuf.ByteStringgetProjectServiceAccountBytes()Output only.SecurityHealthAnalyticsSettingsgetSecurityHealthAnalyticsSettings()Security Health Analytics specific settings For component, expect SECURITY_HEALTH_ANALYTICSSecurityHealthAnalyticsSettingsOrBuildergetSecurityHealthAnalyticsSettingsOrBuilder()Security Health Analytics specific settings For component, expect SECURITY_HEALTH_ANALYTICSComponentSettings.SpecificSettingsCasegetSpecificSettingsCase()ComponentEnablementStategetState()ENABLE to enable component, DISABLE to disable and INHERIT to inherit setting from ancestors.intgetStateValue()ENABLE to enable component, DISABLE to disable and INHERIT to inherit setting from ancestors.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.WebSecurityScannergetWebSecurityScannerSettings()Web Security Scanner specific settings For component, expect WEB_SECURITY_SCANNERWebSecurityScannerOrBuildergetWebSecurityScannerSettingsOrBuilder()Web Security Scanner specific settings For component, expect WEB_SECURITY_SCANNERbooleanhasContainerThreatDetectionSettings()Container Threate Detection specific settings For component, expect CONTAINER_THREAT_DETECTIONbooleanhasEventThreatDetectionSettings()Event Threat Detection specific settings For component, expect EVENT_THREAT_DETECTIONbooleanhasSecurityHealthAnalyticsSettings()Security Health Analytics specific settings For component, expect SECURITY_HEALTH_ANALYTICSbooleanhasUpdateTime()Output only.booleanhasWebSecurityScannerSettings()Web Security Scanner specific settings For component, expect WEB_SECURITY_SCANNER-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
The relative resource name of the component settings. Formats: * `organizations/{organization}/components/{component}/settings` * `folders/{folder}/components/{component}/settings` * `projects/{project}/components/{component}/settings` * `projects/{project}/locations/{location}/clusters/{cluster}/components/{component}/settings` * `projects/{project}/regions/{region}/clusters/{cluster}/components/{component}/settings` * `projects/{project}/zones/{zone}/clusters/{cluster}/components/{component}/settings`string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The relative resource name of the component settings. Formats: * `organizations/{organization}/components/{component}/settings` * `folders/{folder}/components/{component}/settings` * `projects/{project}/components/{component}/settings` * `projects/{project}/locations/{location}/clusters/{cluster}/components/{component}/settings` * `projects/{project}/regions/{region}/clusters/{cluster}/components/{component}/settings` * `projects/{project}/zones/{zone}/clusters/{cluster}/components/{component}/settings`string name = 1;- Returns:
- The bytes for name.
-
getStateValue
int getStateValue()
ENABLE to enable component, DISABLE to disable and INHERIT to inherit setting from ancestors.
.google.cloud.securitycenter.settings.v1beta1.ComponentEnablementState state = 2;- Returns:
- The enum numeric value on the wire for state.
-
getState
ComponentEnablementState getState()
ENABLE to enable component, DISABLE to disable and INHERIT to inherit setting from ancestors.
.google.cloud.securitycenter.settings.v1beta1.ComponentEnablementState state = 2;- Returns:
- The state.
-
getProjectServiceAccount
String getProjectServiceAccount()
Output only. The service account to be used for security center component. The component must have permission to "act as" the service account.
string project_service_account = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The projectServiceAccount.
-
getProjectServiceAccountBytes
com.google.protobuf.ByteString getProjectServiceAccountBytes()
Output only. The service account to be used for security center component. The component must have permission to "act as" the service account.
string project_service_account = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for projectServiceAccount.
-
getDetectorSettingsCount
int getDetectorSettingsCount()
Settings for detectors. Not all detectors must have settings present at each and every level in the hierarchy. If it is not present the setting will be inherited from its ancestors folders, organizations or the defaults.
map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings.DetectorSettings> detector_settings = 4;
-
containsDetectorSettings
boolean containsDetectorSettings(String key)
Settings for detectors. Not all detectors must have settings present at each and every level in the hierarchy. If it is not present the setting will be inherited from its ancestors folders, organizations or the defaults.
map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings.DetectorSettings> detector_settings = 4;
-
getDetectorSettings
@Deprecated Map<String,ComponentSettings.DetectorSettings> getDetectorSettings()
Deprecated.UsegetDetectorSettingsMap()instead.
-
getDetectorSettingsMap
Map<String,ComponentSettings.DetectorSettings> getDetectorSettingsMap()
Settings for detectors. Not all detectors must have settings present at each and every level in the hierarchy. If it is not present the setting will be inherited from its ancestors folders, organizations or the defaults.
map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings.DetectorSettings> detector_settings = 4;
-
getDetectorSettingsOrDefault
ComponentSettings.DetectorSettings getDetectorSettingsOrDefault(String key, ComponentSettings.DetectorSettings defaultValue)
Settings for detectors. Not all detectors must have settings present at each and every level in the hierarchy. If it is not present the setting will be inherited from its ancestors folders, organizations or the defaults.
map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings.DetectorSettings> detector_settings = 4;
-
getDetectorSettingsOrThrow
ComponentSettings.DetectorSettings getDetectorSettingsOrThrow(String key)
Settings for detectors. Not all detectors must have settings present at each and every level in the hierarchy. If it is not present the setting will be inherited from its ancestors folders, organizations or the defaults.
map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings.DetectorSettings> detector_settings = 4;
-
getEtag
String getEtag()
Output only. An fingerprint used for optimistic concurrency. If none is provided on updates then the existing metadata will be blindly overwritten.
string etag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The etag.
-
getEtagBytes
com.google.protobuf.ByteString getEtagBytes()
Output only. An fingerprint used for optimistic concurrency. If none is provided on updates then the existing metadata will be blindly overwritten.
string etag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for etag.
-
hasUpdateTime
boolean hasUpdateTime()
Output only. The time these settings were last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()
Output only. The time these settings were last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time these settings were last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
hasContainerThreatDetectionSettings
boolean hasContainerThreatDetectionSettings()
Container Threate Detection specific settings For component, expect CONTAINER_THREAT_DETECTION
.google.cloud.securitycenter.settings.v1beta1.ContainerThreatDetectionSettings container_threat_detection_settings = 41;- Returns:
- Whether the containerThreatDetectionSettings field is set.
-
getContainerThreatDetectionSettings
ContainerThreatDetectionSettings getContainerThreatDetectionSettings()
Container Threate Detection specific settings For component, expect CONTAINER_THREAT_DETECTION
.google.cloud.securitycenter.settings.v1beta1.ContainerThreatDetectionSettings container_threat_detection_settings = 41;- Returns:
- The containerThreatDetectionSettings.
-
getContainerThreatDetectionSettingsOrBuilder
ContainerThreatDetectionSettingsOrBuilder getContainerThreatDetectionSettingsOrBuilder()
Container Threate Detection specific settings For component, expect CONTAINER_THREAT_DETECTION
.google.cloud.securitycenter.settings.v1beta1.ContainerThreatDetectionSettings container_threat_detection_settings = 41;
-
hasEventThreatDetectionSettings
boolean hasEventThreatDetectionSettings()
Event Threat Detection specific settings For component, expect EVENT_THREAT_DETECTION
.google.cloud.securitycenter.settings.v1beta1.EventThreatDetectionSettings event_threat_detection_settings = 42;- Returns:
- Whether the eventThreatDetectionSettings field is set.
-
getEventThreatDetectionSettings
EventThreatDetectionSettings getEventThreatDetectionSettings()
Event Threat Detection specific settings For component, expect EVENT_THREAT_DETECTION
.google.cloud.securitycenter.settings.v1beta1.EventThreatDetectionSettings event_threat_detection_settings = 42;- Returns:
- The eventThreatDetectionSettings.
-
getEventThreatDetectionSettingsOrBuilder
EventThreatDetectionSettingsOrBuilder getEventThreatDetectionSettingsOrBuilder()
Event Threat Detection specific settings For component, expect EVENT_THREAT_DETECTION
.google.cloud.securitycenter.settings.v1beta1.EventThreatDetectionSettings event_threat_detection_settings = 42;
-
hasSecurityHealthAnalyticsSettings
boolean hasSecurityHealthAnalyticsSettings()
Security Health Analytics specific settings For component, expect SECURITY_HEALTH_ANALYTICS
.google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings security_health_analytics_settings = 44;- Returns:
- Whether the securityHealthAnalyticsSettings field is set.
-
getSecurityHealthAnalyticsSettings
SecurityHealthAnalyticsSettings getSecurityHealthAnalyticsSettings()
Security Health Analytics specific settings For component, expect SECURITY_HEALTH_ANALYTICS
.google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings security_health_analytics_settings = 44;- Returns:
- The securityHealthAnalyticsSettings.
-
getSecurityHealthAnalyticsSettingsOrBuilder
SecurityHealthAnalyticsSettingsOrBuilder getSecurityHealthAnalyticsSettingsOrBuilder()
Security Health Analytics specific settings For component, expect SECURITY_HEALTH_ANALYTICS
.google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings security_health_analytics_settings = 44;
-
hasWebSecurityScannerSettings
boolean hasWebSecurityScannerSettings()
Web Security Scanner specific settings For component, expect WEB_SECURITY_SCANNER
.google.cloud.securitycenter.settings.v1beta1.WebSecurityScanner web_security_scanner_settings = 40;- Returns:
- Whether the webSecurityScannerSettings field is set.
-
getWebSecurityScannerSettings
WebSecurityScanner getWebSecurityScannerSettings()
Web Security Scanner specific settings For component, expect WEB_SECURITY_SCANNER
.google.cloud.securitycenter.settings.v1beta1.WebSecurityScanner web_security_scanner_settings = 40;- Returns:
- The webSecurityScannerSettings.
-
getWebSecurityScannerSettingsOrBuilder
WebSecurityScannerOrBuilder getWebSecurityScannerSettingsOrBuilder()
Web Security Scanner specific settings For component, expect WEB_SECURITY_SCANNER
.google.cloud.securitycenter.settings.v1beta1.WebSecurityScanner web_security_scanner_settings = 40;
-
getSpecificSettingsCase
ComponentSettings.SpecificSettingsCase getSpecificSettingsCase()
-
-