Class Settings
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.securitycenter.settings.v1beta1.Settings
- All Implemented Interfaces:
SettingsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Settings
extends com.google.protobuf.GeneratedMessage
implements SettingsOrBuilder
Common configuration settings for all of Security Center.Protobuf type
google.cloud.securitycenter.settings.v1beta1.Settings- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classCommon configuration settings for all of Security Center.static final classThe DetectorGroupSettings define the configuration for a detector group.static interfacestatic enumDefines 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.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe settings for detectors and/or scanners.booleanDetector group settings for all Security Center components.booleanBilling settingsBilling settingsDeprecated.intThe settings for detectors and/or scanners.The settings for detectors and/or scanners.getComponentSettingsOrDefault(String key, ComponentSettings defaultValue) The settings for detectors and/or scanners.The settings for detectors and/or scanners.static Settingsstatic final com.google.protobuf.Descriptors.DescriptorDeprecated.intDetector group settings for all Security Center components.Detector group settings for all Security Center components.getDetectorGroupSettingsOrDefault(String key, Settings.DetectorGroupSettings defaultValue) Detector group settings for all Security Center components.Detector group settings for all Security Center components.getEtag()A fingerprint used for optimistic concurrency.com.google.protobuf.ByteStringA fingerprint used for optimistic concurrency.getName()The relative resource name of the settings resource.com.google.protobuf.ByteStringThe relative resource name of the settings resource.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.Parser<Settings>intSink settings.Sink settings.getState()An enum representing the current on boarding state of SCC.intAn enum representing the current on boarding state of SCC.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanBilling settingsinthashCode()booleanSink settings.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic Settings.Builderstatic Settings.BuildernewBuilder(Settings prototype) protected Settings.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static SettingsparseDelimitedFrom(InputStream input) static SettingsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SettingsparseFrom(byte[] data) static SettingsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SettingsparseFrom(com.google.protobuf.ByteString data) static SettingsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SettingsparseFrom(com.google.protobuf.CodedInputStream input) static SettingsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SettingsparseFrom(InputStream input) static SettingsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SettingsparseFrom(ByteBuffer data) static SettingsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Settings>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
BILLING_SETTINGS_FIELD_NUMBER
public static final int BILLING_SETTINGS_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
ORG_SERVICE_ACCOUNT_FIELD_NUMBER
public static final int ORG_SERVICE_ACCOUNT_FIELD_NUMBER- See Also:
-
SINK_SETTINGS_FIELD_NUMBER
public static final int SINK_SETTINGS_FIELD_NUMBER- See Also:
-
COMPONENT_SETTINGS_FIELD_NUMBER
public static final int COMPONENT_SETTINGS_FIELD_NUMBER- See Also:
-
DETECTOR_GROUP_SETTINGS_FIELD_NUMBER
public static final int DETECTOR_GROUP_SETTINGS_FIELD_NUMBER- See Also:
-
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER- See Also:
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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;- Specified by:
getNamein interfaceSettingsOrBuilder- Returns:
- The name.
-
getNameBytes
public 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;- Specified by:
getNameBytesin interfaceSettingsOrBuilder- Returns:
- The bytes for name.
-
hasBillingSettings
public boolean hasBillingSettings()Billing settings
.google.cloud.securitycenter.settings.v1beta1.BillingSettings billing_settings = 2;- Specified by:
hasBillingSettingsin interfaceSettingsOrBuilder- Returns:
- Whether the billingSettings field is set.
-
getBillingSettings
Billing settings
.google.cloud.securitycenter.settings.v1beta1.BillingSettings billing_settings = 2;- Specified by:
getBillingSettingsin interfaceSettingsOrBuilder- Returns:
- The billingSettings.
-
getBillingSettingsOrBuilder
Billing settings
.google.cloud.securitycenter.settings.v1beta1.BillingSettings billing_settings = 2;- Specified by:
getBillingSettingsOrBuilderin interfaceSettingsOrBuilder
-
getStateValue
public int getStateValue()An enum representing the current on boarding state of SCC.
.google.cloud.securitycenter.settings.v1beta1.Settings.OnboardingState state = 3;- Specified by:
getStateValuein interfaceSettingsOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
An enum representing the current on boarding state of SCC.
.google.cloud.securitycenter.settings.v1beta1.Settings.OnboardingState state = 3;- Specified by:
getStatein interfaceSettingsOrBuilder- Returns:
- The state.
-
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];- Specified by:
getOrgServiceAccountin interfaceSettingsOrBuilder- Returns:
- The orgServiceAccount.
-
getOrgServiceAccountBytes
public 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];- Specified by:
getOrgServiceAccountBytesin interfaceSettingsOrBuilder- Returns:
- The bytes for orgServiceAccount.
-
hasSinkSettings
public boolean hasSinkSettings()Sink settings.
.google.cloud.securitycenter.settings.v1beta1.SinkSettings sink_settings = 6;- Specified by:
hasSinkSettingsin interfaceSettingsOrBuilder- Returns:
- Whether the sinkSettings field is set.
-
getSinkSettings
Sink settings.
.google.cloud.securitycenter.settings.v1beta1.SinkSettings sink_settings = 6;- Specified by:
getSinkSettingsin interfaceSettingsOrBuilder- Returns:
- The sinkSettings.
-
getSinkSettingsOrBuilder
Sink settings.
.google.cloud.securitycenter.settings.v1beta1.SinkSettings sink_settings = 6;- Specified by:
getSinkSettingsOrBuilderin interfaceSettingsOrBuilder
-
getComponentSettingsCount
public int getComponentSettingsCount()Description copied from interface:SettingsOrBuilderThe settings for detectors and/or scanners.
map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;- Specified by:
getComponentSettingsCountin interfaceSettingsOrBuilder
-
containsComponentSettings
The settings for detectors and/or scanners.
map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;- Specified by:
containsComponentSettingsin interfaceSettingsOrBuilder
-
getComponentSettings
Deprecated.UsegetComponentSettingsMap()instead.- Specified by:
getComponentSettingsin interfaceSettingsOrBuilder
-
getComponentSettingsMap
The settings for detectors and/or scanners.
map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;- Specified by:
getComponentSettingsMapin interfaceSettingsOrBuilder
-
getComponentSettingsOrDefault
The settings for detectors and/or scanners.
map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;- Specified by:
getComponentSettingsOrDefaultin interfaceSettingsOrBuilder
-
getComponentSettingsOrThrow
The settings for detectors and/or scanners.
map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;- Specified by:
getComponentSettingsOrThrowin interfaceSettingsOrBuilder
-
getDetectorGroupSettingsCount
public int getDetectorGroupSettingsCount()Description copied from interface: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;- Specified by:
getDetectorGroupSettingsCountin interfaceSettingsOrBuilder
-
containsDetectorGroupSettings
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;- Specified by:
containsDetectorGroupSettingsin interfaceSettingsOrBuilder
-
getDetectorGroupSettings
Deprecated.UsegetDetectorGroupSettingsMap()instead.- Specified by:
getDetectorGroupSettingsin interfaceSettingsOrBuilder
-
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;- Specified by:
getDetectorGroupSettingsMapin interfaceSettingsOrBuilder
-
getDetectorGroupSettingsOrDefault
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;- Specified by:
getDetectorGroupSettingsOrDefaultin interfaceSettingsOrBuilder
-
getDetectorGroupSettingsOrThrow
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;- Specified by:
getDetectorGroupSettingsOrThrowin interfaceSettingsOrBuilder
-
getEtag
A fingerprint used for optimistic concurrency. If none is provided on updates then the existing metadata will be blindly overwritten.
string etag = 9;- Specified by:
getEtagin interfaceSettingsOrBuilder- Returns:
- The etag.
-
getEtagBytes
public 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;- Specified by:
getEtagBytesin interfaceSettingsOrBuilder- Returns:
- The bytes for etag.
-
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];- Specified by:
hasUpdateTimein interfaceSettingsOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public 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];- Specified by:
getUpdateTimein interfaceSettingsOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public 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];- Specified by:
getUpdateTimeOrBuilderin interfaceSettingsOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Settings parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Settings parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Settings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Settings parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Settings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Settings parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Settings parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Settings parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Settings parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Settings.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-