public final class Settings extends GeneratedMessageV3 implements SettingsOrBuilder
Common configuration settings for all of Security Center.
Protobuf type google.cloud.securitycenter.settings.v1beta1.Settings
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
BILLING_SETTINGS_FIELD_NUMBER
public static final int BILLING_SETTINGS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
COMPONENT_SETTINGS_FIELD_NUMBER
public static final int COMPONENT_SETTINGS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DETECTOR_GROUP_SETTINGS_FIELD_NUMBER
public static final int DETECTOR_GROUP_SETTINGS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ORG_SERVICE_ACCOUNT_FIELD_NUMBER
public static final int ORG_SERVICE_ACCOUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SINK_SETTINGS_FIELD_NUMBER
public static final int SINK_SETTINGS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Settings getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Settings.Builder newBuilder()
newBuilder(Settings prototype)
public static Settings.Builder newBuilder(Settings prototype)
Parameter |
---|
Name | Description |
prototype | Settings
|
public static Settings parseDelimitedFrom(InputStream input)
public static Settings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Settings parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Settings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Settings parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Settings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Settings parseFrom(CodedInputStream input)
public static Settings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Settings parseFrom(InputStream input)
public static Settings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Settings parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Settings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Settings> parser()
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 |
---|
Name | Description |
key | String
|
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 |
---|
Name | Description |
key | String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getBillingSettings()
public BillingSettings getBillingSettings()
Billing settings
.google.cloud.securitycenter.settings.v1beta1.BillingSettings billing_settings = 2;
getBillingSettingsOrBuilder()
public BillingSettingsOrBuilder getBillingSettingsOrBuilder()
Billing settings
.google.cloud.securitycenter.settings.v1beta1.BillingSettings billing_settings = 2;
getComponentSettings()
public Map<String,ComponentSettings> getComponentSettings()
getComponentSettingsCount()
public int getComponentSettingsCount()
The settings for detectors and/or scanners.
map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;
Returns |
---|
Type | Description |
int | |
getComponentSettingsMap()
public Map<String,ComponentSettings> getComponentSettingsMap()
The settings for detectors and/or scanners.
map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;
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;
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 |
---|
Name | Description |
key | String
|
getDefaultInstanceForType()
public Settings getDefaultInstanceForType()
getDetectorGroupSettings()
public Map<String,Settings.DetectorGroupSettings> getDetectorGroupSettings()
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 |
---|
Type | Description |
int | |
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;
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;
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 |
---|
Name | Description |
key | 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 |
---|
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 |
---|
Type | Description |
ByteString | The bytes for etag.
|
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 |
---|
Type | Description |
ByteString | The bytes for name.
|
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()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getSinkSettings()
public SinkSettings getSinkSettings()
Sink settings.
.google.cloud.securitycenter.settings.v1beta1.SinkSettings sink_settings = 6;
getSinkSettingsOrBuilder()
public SinkSettingsOrBuilder getSinkSettingsOrBuilder()
Sink settings.
.google.cloud.securitycenter.settings.v1beta1.SinkSettings sink_settings = 6;
getState()
public Settings.OnboardingState getState()
An enum representing the current on boarding state of SCC.
.google.cloud.securitycenter.settings.v1beta1.Settings.OnboardingState state = 3;
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.
|
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 |
---|
Type | Description |
Timestamp | The updateTime.
|
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];
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Settings.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Settings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Settings.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides