public final class Settings extends com.google.protobuf.GeneratedMessageV3 implements SettingsOrBuilder
Common configuration settings for all of Security Center.Protobuf type
google.cloud.securitycenter.settings.v1beta1.Settings| Modifier and Type | Class and Description |
|---|---|
static class |
Settings.Builder
Common configuration settings for all of Security Center.
|
static class |
Settings.DetectorGroupSettings
The DetectorGroupSettings define the configuration for a detector group.
|
static interface |
Settings.DetectorGroupSettingsOrBuilder |
static class |
Settings.OnboardingState
Defines the onboarding states for SCC
Potentially is just an indicator that a user has reviewed some subset of
our configuration surface, even if it's still currently set to its
API-default state.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
BILLING_SETTINGS_FIELD_NUMBER |
static int |
COMPONENT_SETTINGS_FIELD_NUMBER |
static int |
DETECTOR_GROUP_SETTINGS_FIELD_NUMBER |
static int |
ETAG_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
ORG_SERVICE_ACCOUNT_FIELD_NUMBER |
static int |
SINK_SETTINGS_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsComponentSettings(String key)
The settings for detectors and/or scanners.
|
boolean |
containsDetectorGroupSettings(String key)
Detector group settings for all Security Center components.
|
boolean |
equals(Object obj) |
BillingSettings |
getBillingSettings()
Billing settings
|
BillingSettingsOrBuilder |
getBillingSettingsOrBuilder()
Billing settings
|
Map<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.
|
static Settings |
getDefaultInstance() |
Settings |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<Settings> |
getParserForType() |
int |
getSerializedSize() |
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 settings
|
int |
hashCode() |
boolean |
hasSinkSettings()
Sink settings.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Settings.Builder |
newBuilder() |
static Settings.Builder |
newBuilder(Settings prototype) |
Settings.Builder |
newBuilderForType() |
protected Settings.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Settings |
parseDelimitedFrom(InputStream input) |
static Settings |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Settings |
parseFrom(byte[] data) |
static Settings |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Settings |
parseFrom(ByteBuffer data) |
static Settings |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Settings |
parseFrom(com.google.protobuf.ByteString data) |
static Settings |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Settings |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Settings |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Settings |
parseFrom(InputStream input) |
static Settings |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Settings> |
parser() |
Settings.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int BILLING_SETTINGS_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int ORG_SERVICE_ACCOUNT_FIELD_NUMBER
public static final int SINK_SETTINGS_FIELD_NUMBER
public static final int COMPONENT_SETTINGS_FIELD_NUMBER
public static final int DETECTOR_GROUP_SETTINGS_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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;getName in interface SettingsOrBuilderpublic 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;getNameBytes in interface SettingsOrBuilderpublic boolean hasBillingSettings()
Billing settings
.google.cloud.securitycenter.settings.v1beta1.BillingSettings billing_settings = 2;
hasBillingSettings in interface SettingsOrBuilderpublic BillingSettings getBillingSettings()
Billing settings
.google.cloud.securitycenter.settings.v1beta1.BillingSettings billing_settings = 2;
getBillingSettings in interface SettingsOrBuilderpublic BillingSettingsOrBuilder getBillingSettingsOrBuilder()
Billing settings
.google.cloud.securitycenter.settings.v1beta1.BillingSettings billing_settings = 2;
getBillingSettingsOrBuilder in interface SettingsOrBuilderpublic int getStateValue()
An enum representing the current on boarding state of SCC.
.google.cloud.securitycenter.settings.v1beta1.Settings.OnboardingState state = 3;getStateValue in interface SettingsOrBuilderpublic Settings.OnboardingState getState()
An enum representing the current on boarding state of SCC.
.google.cloud.securitycenter.settings.v1beta1.Settings.OnboardingState state = 3;getState in interface SettingsOrBuilderpublic 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];getOrgServiceAccount in interface SettingsOrBuilderpublic 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];getOrgServiceAccountBytes in interface SettingsOrBuilderpublic boolean hasSinkSettings()
Sink settings.
.google.cloud.securitycenter.settings.v1beta1.SinkSettings sink_settings = 6;hasSinkSettings in interface SettingsOrBuilderpublic SinkSettings getSinkSettings()
Sink settings.
.google.cloud.securitycenter.settings.v1beta1.SinkSettings sink_settings = 6;getSinkSettings in interface SettingsOrBuilderpublic SinkSettingsOrBuilder getSinkSettingsOrBuilder()
Sink settings.
.google.cloud.securitycenter.settings.v1beta1.SinkSettings sink_settings = 6;getSinkSettingsOrBuilder in interface SettingsOrBuilderpublic int getComponentSettingsCount()
SettingsOrBuilderThe settings for detectors and/or scanners.
map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;
getComponentSettingsCount in interface SettingsOrBuilderpublic boolean containsComponentSettings(String key)
The settings for detectors and/or scanners.
map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;
containsComponentSettings in interface SettingsOrBuilder@Deprecated public Map<String,ComponentSettings> getComponentSettings()
getComponentSettingsMap() instead.getComponentSettings in interface SettingsOrBuilderpublic Map<String,ComponentSettings> getComponentSettingsMap()
The settings for detectors and/or scanners.
map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;
getComponentSettingsMap in interface SettingsOrBuilderpublic ComponentSettings getComponentSettingsOrDefault(String key, ComponentSettings defaultValue)
The settings for detectors and/or scanners.
map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;
getComponentSettingsOrDefault in interface SettingsOrBuilderpublic ComponentSettings getComponentSettingsOrThrow(String key)
The settings for detectors and/or scanners.
map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;
getComponentSettingsOrThrow in interface SettingsOrBuilderpublic int getDetectorGroupSettingsCount()
SettingsOrBuilderDetector 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;
getDetectorGroupSettingsCount in interface SettingsOrBuilderpublic 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;
containsDetectorGroupSettings in interface SettingsOrBuilder@Deprecated public Map<String,Settings.DetectorGroupSettings> getDetectorGroupSettings()
getDetectorGroupSettingsMap() instead.getDetectorGroupSettings in interface SettingsOrBuilderpublic 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;
getDetectorGroupSettingsMap in interface SettingsOrBuilderpublic 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;
getDetectorGroupSettingsOrDefault in interface SettingsOrBuilderpublic 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;
getDetectorGroupSettingsOrThrow in interface SettingsOrBuilderpublic 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;getEtag in interface SettingsOrBuilderpublic 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;getEtagBytes in interface SettingsOrBuilderpublic boolean hasUpdateTime()
Output only. The time these settings were last updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface SettingsOrBuilderpublic 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];
getUpdateTime in interface SettingsOrBuilderpublic 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];
getUpdateTimeOrBuilder in interface SettingsOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Settings parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Settings parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Settings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Settings parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Settings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Settings parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Settings parseFrom(InputStream input) throws IOException
IOExceptionpublic static Settings parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Settings parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Settings parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Settings parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Settings parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Settings.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Settings.Builder newBuilder()
public static Settings.Builder newBuilder(Settings prototype)
public Settings.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Settings.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Settings getDefaultInstance()
public static com.google.protobuf.Parser<Settings> parser()
public com.google.protobuf.Parser<Settings> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Settings getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.