public final class Settings extends GeneratedMessageV3 implements SettingsOrBuilder
Common configuration settings for all of Security Center.
Protobuf type google.cloud.securitycenter.settings.v1beta1.Settings
Static Fields
BILLING_SETTINGS_FIELD_NUMBER
public static final int BILLING_SETTINGS_FIELD_NUMBER
Field Value
COMPONENT_SETTINGS_FIELD_NUMBER
public static final int COMPONENT_SETTINGS_FIELD_NUMBER
Field Value
DETECTOR_GROUP_SETTINGS_FIELD_NUMBER
public static final int DETECTOR_GROUP_SETTINGS_FIELD_NUMBER
Field Value
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
ORG_SERVICE_ACCOUNT_FIELD_NUMBER
public static final int ORG_SERVICE_ACCOUNT_FIELD_NUMBER
Field Value
SINK_SETTINGS_FIELD_NUMBER
public static final int SINK_SETTINGS_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Settings getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Settings.Builder newBuilder()
Returns
newBuilder(Settings prototype)
public static Settings.Builder newBuilder(Settings prototype)
Parameter
Returns
public static Settings parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Settings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Settings parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Settings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Settings parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Settings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Settings parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Settings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Settings parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Settings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Settings parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Settings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Settings> parser()
Returns
Methods
containsComponentSettings(String key)
public boolean containsComponentSettings(String key)
The settings for detectors and/or scanners.
map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;
Parameter
Returns
containsDetectorGroupSettings(String key)
public 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;
Parameter
Returns
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getBillingSettings()
public BillingSettings getBillingSettings()
Billing settings
.google.cloud.securitycenter.settings.v1beta1.BillingSettings billing_settings = 2;
Returns
getBillingSettingsOrBuilder()
public BillingSettingsOrBuilder getBillingSettingsOrBuilder()
Billing settings
.google.cloud.securitycenter.settings.v1beta1.BillingSettings billing_settings = 2;
Returns
getComponentSettings()
public Map<String,ComponentSettings> getComponentSettings()
Returns
getComponentSettingsCount()
public int getComponentSettingsCount()
The settings for detectors and/or scanners.
map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;
Returns
getComponentSettingsMap()
public Map<String,ComponentSettings> getComponentSettingsMap()
The settings for detectors and/or scanners.
map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;
Returns
getComponentSettingsOrDefault(String key, ComponentSettings defaultValue)
public ComponentSettings getComponentSettingsOrDefault(String key, ComponentSettings defaultValue)
The settings for detectors and/or scanners.
map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;
Parameters
Returns
getComponentSettingsOrThrow(String key)
public ComponentSettings getComponentSettingsOrThrow(String key)
The settings for detectors and/or scanners.
map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;
Parameter
Returns
getDefaultInstanceForType()
public Settings getDefaultInstanceForType()
Returns
getDetectorGroupSettings()
public Map<String,Settings.DetectorGroupSettings> getDetectorGroupSettings()
Returns
getDetectorGroupSettingsCount()
public 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;
Returns
getDetectorGroupSettingsMap()
public 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;
Returns
getDetectorGroupSettingsOrDefault(String key, Settings.DetectorGroupSettings defaultValue)
public 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;
Parameters
Returns
getDetectorGroupSettingsOrThrow(String key)
public 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;
Parameter
Returns
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
Type | Description |
String | The etag.
|
getEtagBytes()
public 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
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
Type | Description |
String | The name.
|
getNameBytes()
public 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
getOrgServiceAccount()
public 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
Type | Description |
String | The orgServiceAccount.
|
getOrgServiceAccountBytes()
public 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
Type | Description |
ByteString | The bytes for orgServiceAccount.
|
getParserForType()
public Parser<Settings> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSinkSettings()
public SinkSettings getSinkSettings()
Sink settings.
.google.cloud.securitycenter.settings.v1beta1.SinkSettings sink_settings = 6;
Returns
getSinkSettingsOrBuilder()
public SinkSettingsOrBuilder getSinkSettingsOrBuilder()
Sink settings.
.google.cloud.securitycenter.settings.v1beta1.SinkSettings sink_settings = 6;
Returns
getState()
public Settings.OnboardingState getState()
An enum representing the current on boarding state of SCC.
.google.cloud.securitycenter.settings.v1beta1.Settings.OnboardingState state = 3;
Returns
getStateValue()
public int getStateValue()
An enum representing the current on boarding state of SCC.
.google.cloud.securitycenter.settings.v1beta1.Settings.OnboardingState state = 3;
Returns
Type | Description |
int | The enum numeric value on the wire for state.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The time these settings were last updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time these settings were last updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
hasBillingSettings()
public boolean hasBillingSettings()
Billing settings
.google.cloud.securitycenter.settings.v1beta1.BillingSettings billing_settings = 2;
Returns
Type | Description |
boolean | Whether the billingSettings field is set.
|
hasSinkSettings()
public boolean hasSinkSettings()
Sink settings.
.google.cloud.securitycenter.settings.v1beta1.SinkSettings sink_settings = 6;
Returns
Type | Description |
boolean | Whether the sinkSettings field is set.
|
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The time these settings were last updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
boolean | Whether the updateTime field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Settings.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Settings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Settings.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions