Interface SettingsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Settings
,Settings.Builder
public interface SettingsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsComponentSettings(String key)
The settings for detectors and/or scanners.boolean
containsDetectorGroupSettings(String key)
Detector group settings for all Security Center components.BillingSettings
getBillingSettings()
Billing settingsBillingSettingsOrBuilder
getBillingSettingsOrBuilder()
Billing settingsMap<String,ComponentSettings>
getComponentSettings()
Deprecated.int
getComponentSettingsCount()
The settings for detectors and/or scanners.Map<String,ComponentSettings>
getComponentSettingsMap()
The settings for detectors and/or scanners.ComponentSettings
getComponentSettingsOrDefault(String key, ComponentSettings defaultValue)
The settings for detectors and/or scanners.ComponentSettings
getComponentSettingsOrThrow(String key)
The settings for detectors and/or scanners.Map<String,Settings.DetectorGroupSettings>
getDetectorGroupSettings()
Deprecated.int
getDetectorGroupSettingsCount()
Detector group settings for all Security Center components.Map<String,Settings.DetectorGroupSettings>
getDetectorGroupSettingsMap()
Detector group settings for all Security Center components.Settings.DetectorGroupSettings
getDetectorGroupSettingsOrDefault(String key, Settings.DetectorGroupSettings defaultValue)
Detector group settings for all Security Center components.Settings.DetectorGroupSettings
getDetectorGroupSettingsOrThrow(String key)
Detector group settings for all Security Center components.String
getEtag()
A fingerprint used for optimistic concurrency.com.google.protobuf.ByteString
getEtagBytes()
A fingerprint used for optimistic concurrency.String
getName()
The relative resource name of the settings resource.com.google.protobuf.ByteString
getNameBytes()
The relative resource name of the settings resource.String
getOrgServiceAccount()
Output only.com.google.protobuf.ByteString
getOrgServiceAccountBytes()
Output only.SinkSettings
getSinkSettings()
Sink settings.SinkSettingsOrBuilder
getSinkSettingsOrBuilder()
Sink settings.Settings.OnboardingState
getState()
An enum representing the current on boarding state of SCC.int
getStateValue()
An enum representing the current on boarding state of SCC.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasBillingSettings()
Billing settingsboolean
hasSinkSettings()
Sink settings.boolean
hasUpdateTime()
Output only.-
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 settings resource. Formats: * `organizations/{organization}/settings` * `folders/{folder}/settings` * `projects/{project}/settings` * `projects/{project}/locations/{location}/clusters/{cluster}/settings` * `projects/{project}/regions/{region}/clusters/{cluster}/settings` * `projects/{project}/zones/{zone}/clusters/{cluster}/settings`
string name = 1;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The relative resource name of the settings resource. Formats: * `organizations/{organization}/settings` * `folders/{folder}/settings` * `projects/{project}/settings` * `projects/{project}/locations/{location}/clusters/{cluster}/settings` * `projects/{project}/regions/{region}/clusters/{cluster}/settings` * `projects/{project}/zones/{zone}/clusters/{cluster}/settings`
string name = 1;
- Returns:
- The bytes for name.
-
hasBillingSettings
boolean hasBillingSettings()
Billing settings
.google.cloud.securitycenter.settings.v1beta1.BillingSettings billing_settings = 2;
- Returns:
- Whether the billingSettings field is set.
-
getBillingSettings
BillingSettings getBillingSettings()
Billing settings
.google.cloud.securitycenter.settings.v1beta1.BillingSettings billing_settings = 2;
- Returns:
- The billingSettings.
-
getBillingSettingsOrBuilder
BillingSettingsOrBuilder getBillingSettingsOrBuilder()
Billing settings
.google.cloud.securitycenter.settings.v1beta1.BillingSettings billing_settings = 2;
-
getStateValue
int getStateValue()
An enum representing the current on boarding state of SCC.
.google.cloud.securitycenter.settings.v1beta1.Settings.OnboardingState state = 3;
- Returns:
- The enum numeric value on the wire for state.
-
getState
Settings.OnboardingState getState()
An enum representing the current on boarding state of SCC.
.google.cloud.securitycenter.settings.v1beta1.Settings.OnboardingState state = 3;
- Returns:
- The state.
-
getOrgServiceAccount
String getOrgServiceAccount()
Output only. The organization-level service account to be used for security center components. The component must have permission to "act as" the service account.
string org_service_account = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The orgServiceAccount.
-
getOrgServiceAccountBytes
com.google.protobuf.ByteString getOrgServiceAccountBytes()
Output only. The organization-level service account to be used for security center components. The component must have permission to "act as" the service account.
string org_service_account = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The bytes for orgServiceAccount.
-
hasSinkSettings
boolean hasSinkSettings()
Sink settings.
.google.cloud.securitycenter.settings.v1beta1.SinkSettings sink_settings = 6;
- Returns:
- Whether the sinkSettings field is set.
-
getSinkSettings
SinkSettings getSinkSettings()
Sink settings.
.google.cloud.securitycenter.settings.v1beta1.SinkSettings sink_settings = 6;
- Returns:
- The sinkSettings.
-
getSinkSettingsOrBuilder
SinkSettingsOrBuilder getSinkSettingsOrBuilder()
Sink settings.
.google.cloud.securitycenter.settings.v1beta1.SinkSettings sink_settings = 6;
-
getComponentSettingsCount
int getComponentSettingsCount()
The settings for detectors and/or scanners.
map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;
-
containsComponentSettings
boolean containsComponentSettings(String key)
The settings for detectors and/or scanners.
map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;
-
getComponentSettings
@Deprecated Map<String,ComponentSettings> getComponentSettings()
Deprecated.UsegetComponentSettingsMap()
instead.
-
getComponentSettingsMap
Map<String,ComponentSettings> getComponentSettingsMap()
The settings for detectors and/or scanners.
map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;
-
getComponentSettingsOrDefault
ComponentSettings getComponentSettingsOrDefault(String key, ComponentSettings defaultValue)
The settings for detectors and/or scanners.
map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;
-
getComponentSettingsOrThrow
ComponentSettings getComponentSettingsOrThrow(String key)
The settings for detectors and/or scanners.
map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;
-
getDetectorGroupSettingsCount
int getDetectorGroupSettingsCount()
Detector group settings for all Security Center components. The key is the name of the detector group and the value is the settings for that group.
map<string, .google.cloud.securitycenter.settings.v1beta1.Settings.DetectorGroupSettings> detector_group_settings = 8;
-
containsDetectorGroupSettings
boolean containsDetectorGroupSettings(String key)
Detector group settings for all Security Center components. The key is the name of the detector group and the value is the settings for that group.
map<string, .google.cloud.securitycenter.settings.v1beta1.Settings.DetectorGroupSettings> detector_group_settings = 8;
-
getDetectorGroupSettings
@Deprecated Map<String,Settings.DetectorGroupSettings> getDetectorGroupSettings()
Deprecated.UsegetDetectorGroupSettingsMap()
instead.
-
getDetectorGroupSettingsMap
Map<String,Settings.DetectorGroupSettings> getDetectorGroupSettingsMap()
Detector group settings for all Security Center components. The key is the name of the detector group and the value is the settings for that group.
map<string, .google.cloud.securitycenter.settings.v1beta1.Settings.DetectorGroupSettings> detector_group_settings = 8;
-
getDetectorGroupSettingsOrDefault
Settings.DetectorGroupSettings getDetectorGroupSettingsOrDefault(String key, Settings.DetectorGroupSettings defaultValue)
Detector group settings for all Security Center components. The key is the name of the detector group and the value is the settings for that group.
map<string, .google.cloud.securitycenter.settings.v1beta1.Settings.DetectorGroupSettings> detector_group_settings = 8;
-
getDetectorGroupSettingsOrThrow
Settings.DetectorGroupSettings getDetectorGroupSettingsOrThrow(String key)
Detector group settings for all Security Center components. The key is the name of the detector group and the value is the settings for that group.
map<string, .google.cloud.securitycenter.settings.v1beta1.Settings.DetectorGroupSettings> detector_group_settings = 8;
-
getEtag
String getEtag()
A fingerprint used for optimistic concurrency. If none is provided on updates then the existing metadata will be blindly overwritten.
string etag = 9;
- Returns:
- The etag.
-
getEtagBytes
com.google.protobuf.ByteString getEtagBytes()
A fingerprint used for optimistic concurrency. If none is provided on updates then the existing metadata will be blindly overwritten.
string etag = 9;
- Returns:
- The bytes for etag.
-
hasUpdateTime
boolean hasUpdateTime()
Output only. The time these settings were last updated.
.google.protobuf.Timestamp update_time = 10 [(.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 = 10 [(.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 = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
-