Class SecurityHealthAnalyticsCustomModule
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule
-
- All Implemented Interfaces:
SecurityHealthAnalyticsCustomModuleOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class SecurityHealthAnalyticsCustomModule extends com.google.protobuf.GeneratedMessageV3 implements SecurityHealthAnalyticsCustomModuleOrBuilder
Represents an instance of a Security Health Analytics custom module, including its full module name, display name, enablement state, and last updated time. You can create a custom module at the organization, folder, or project level. Custom modules that you create at the organization or folder level are inherited by the child folders and projects.
Protobuf typegoogle.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSecurityHealthAnalyticsCustomModule.BuilderRepresents an instance of a Security Health Analytics custom module, including its full module name, display name, enablement state, and last updated time.static classSecurityHealthAnalyticsCustomModule.EnablementStatePossible enablement states of a custom module.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intANCESTOR_MODULE_FIELD_NUMBERstatic intCUSTOM_CONFIG_FIELD_NUMBERstatic intDISPLAY_NAME_FIELD_NUMBERstatic intENABLEMENT_STATE_FIELD_NUMBERstatic intLAST_EDITOR_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intUPDATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetAncestorModule()Output only.com.google.protobuf.ByteStringgetAncestorModuleBytes()Output only.CustomConfiggetCustomConfig()The user specified custom configuration for the module.CustomConfigOrBuildergetCustomConfigOrBuilder()The user specified custom configuration for the module.static SecurityHealthAnalyticsCustomModulegetDefaultInstance()SecurityHealthAnalyticsCustomModulegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDisplayName()The display name of the Security Health Analytics custom module.com.google.protobuf.ByteStringgetDisplayNameBytes()The display name of the Security Health Analytics custom module.SecurityHealthAnalyticsCustomModule.EnablementStategetEnablementState()The enablement state of the custom module.intgetEnablementStateValue()The enablement state of the custom module.StringgetLastEditor()Output only.com.google.protobuf.ByteStringgetLastEditorBytes()Output only.StringgetName()Immutable.com.google.protobuf.ByteStringgetNameBytes()Immutable.com.google.protobuf.Parser<SecurityHealthAnalyticsCustomModule>getParserForType()intgetSerializedSize()com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasCustomConfig()The user specified custom configuration for the module.inthashCode()booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static SecurityHealthAnalyticsCustomModule.BuildernewBuilder()static SecurityHealthAnalyticsCustomModule.BuildernewBuilder(SecurityHealthAnalyticsCustomModule prototype)SecurityHealthAnalyticsCustomModule.BuildernewBuilderForType()protected SecurityHealthAnalyticsCustomModule.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static SecurityHealthAnalyticsCustomModuleparseDelimitedFrom(InputStream input)static SecurityHealthAnalyticsCustomModuleparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SecurityHealthAnalyticsCustomModuleparseFrom(byte[] data)static SecurityHealthAnalyticsCustomModuleparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SecurityHealthAnalyticsCustomModuleparseFrom(com.google.protobuf.ByteString data)static SecurityHealthAnalyticsCustomModuleparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SecurityHealthAnalyticsCustomModuleparseFrom(com.google.protobuf.CodedInputStream input)static SecurityHealthAnalyticsCustomModuleparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SecurityHealthAnalyticsCustomModuleparseFrom(InputStream input)static SecurityHealthAnalyticsCustomModuleparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SecurityHealthAnalyticsCustomModuleparseFrom(ByteBuffer data)static SecurityHealthAnalyticsCustomModuleparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<SecurityHealthAnalyticsCustomModule>parser()SecurityHealthAnalyticsCustomModule.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENABLEMENT_STATE_FIELD_NUMBER
public static final int ENABLEMENT_STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAST_EDITOR_FIELD_NUMBER
public static final int LAST_EDITOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ANCESTOR_MODULE_FIELD_NUMBER
public static final int ANCESTOR_MODULE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CUSTOM_CONFIG_FIELD_NUMBER
public static final int CUSTOM_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getName
public String getName()
Immutable. The resource name of the custom module. Its format is "organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}", or "folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}", or "projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}" The id {customModule} is server-generated and is not user settable. It will be a numeric id containing 1-20 digits.string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNamein interfaceSecurityHealthAnalyticsCustomModuleOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Immutable. The resource name of the custom module. Its format is "organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}", or "folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}", or "projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}" The id {customModule} is server-generated and is not user settable. It will be a numeric id containing 1-20 digits.string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNameBytesin interfaceSecurityHealthAnalyticsCustomModuleOrBuilder- Returns:
- The bytes for name.
-
getDisplayName
public String getDisplayName()
The display name of the Security Health Analytics custom module. This display name becomes the finding category for all findings that are returned by this custom module. The display name must be between 1 and 128 characters, start with a lowercase letter, and contain alphanumeric characters or underscores only.
string display_name = 2;- Specified by:
getDisplayNamein interfaceSecurityHealthAnalyticsCustomModuleOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
The display name of the Security Health Analytics custom module. This display name becomes the finding category for all findings that are returned by this custom module. The display name must be between 1 and 128 characters, start with a lowercase letter, and contain alphanumeric characters or underscores only.
string display_name = 2;- Specified by:
getDisplayNameBytesin interfaceSecurityHealthAnalyticsCustomModuleOrBuilder- Returns:
- The bytes for displayName.
-
getEnablementStateValue
public int getEnablementStateValue()
The enablement state of the custom module.
.google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule.EnablementState enablement_state = 4;- Specified by:
getEnablementStateValuein interfaceSecurityHealthAnalyticsCustomModuleOrBuilder- Returns:
- The enum numeric value on the wire for enablementState.
-
getEnablementState
public SecurityHealthAnalyticsCustomModule.EnablementState getEnablementState()
The enablement state of the custom module.
.google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule.EnablementState enablement_state = 4;- Specified by:
getEnablementStatein interfaceSecurityHealthAnalyticsCustomModuleOrBuilder- Returns:
- The enablementState.
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. The time at which the custom module was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceSecurityHealthAnalyticsCustomModuleOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. The time at which the custom module was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceSecurityHealthAnalyticsCustomModuleOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time at which the custom module was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceSecurityHealthAnalyticsCustomModuleOrBuilder
-
getLastEditor
public String getLastEditor()
Output only. The editor that last updated the custom module.
string last_editor = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLastEditorin interfaceSecurityHealthAnalyticsCustomModuleOrBuilder- Returns:
- The lastEditor.
-
getLastEditorBytes
public com.google.protobuf.ByteString getLastEditorBytes()
Output only. The editor that last updated the custom module.
string last_editor = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLastEditorBytesin interfaceSecurityHealthAnalyticsCustomModuleOrBuilder- Returns:
- The bytes for lastEditor.
-
getAncestorModule
public String getAncestorModule()
Output only. If empty, indicates that the custom module was created in the organization, folder, or project in which you are viewing the custom module. Otherwise, `ancestor_module` specifies the organization or folder from which the custom module is inherited.
string ancestor_module = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getAncestorModulein interfaceSecurityHealthAnalyticsCustomModuleOrBuilder- Returns:
- The ancestorModule.
-
getAncestorModuleBytes
public com.google.protobuf.ByteString getAncestorModuleBytes()
Output only. If empty, indicates that the custom module was created in the organization, folder, or project in which you are viewing the custom module. Otherwise, `ancestor_module` specifies the organization or folder from which the custom module is inherited.
string ancestor_module = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getAncestorModuleBytesin interfaceSecurityHealthAnalyticsCustomModuleOrBuilder- Returns:
- The bytes for ancestorModule.
-
hasCustomConfig
public boolean hasCustomConfig()
The user specified custom configuration for the module.
.google.cloud.securitycenter.v1.CustomConfig custom_config = 8;- Specified by:
hasCustomConfigin interfaceSecurityHealthAnalyticsCustomModuleOrBuilder- Returns:
- Whether the customConfig field is set.
-
getCustomConfig
public CustomConfig getCustomConfig()
The user specified custom configuration for the module.
.google.cloud.securitycenter.v1.CustomConfig custom_config = 8;- Specified by:
getCustomConfigin interfaceSecurityHealthAnalyticsCustomModuleOrBuilder- Returns:
- The customConfig.
-
getCustomConfigOrBuilder
public CustomConfigOrBuilder getCustomConfigOrBuilder()
The user specified custom configuration for the module.
.google.cloud.securitycenter.v1.CustomConfig custom_config = 8;- Specified by:
getCustomConfigOrBuilderin interfaceSecurityHealthAnalyticsCustomModuleOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 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 SecurityHealthAnalyticsCustomModule parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SecurityHealthAnalyticsCustomModule parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SecurityHealthAnalyticsCustomModule parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SecurityHealthAnalyticsCustomModule parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SecurityHealthAnalyticsCustomModule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SecurityHealthAnalyticsCustomModule parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SecurityHealthAnalyticsCustomModule parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static SecurityHealthAnalyticsCustomModule parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static SecurityHealthAnalyticsCustomModule parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static SecurityHealthAnalyticsCustomModule parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static SecurityHealthAnalyticsCustomModule parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static SecurityHealthAnalyticsCustomModule parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public SecurityHealthAnalyticsCustomModule.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static SecurityHealthAnalyticsCustomModule.Builder newBuilder()
-
newBuilder
public static SecurityHealthAnalyticsCustomModule.Builder newBuilder(SecurityHealthAnalyticsCustomModule prototype)
-
toBuilder
public SecurityHealthAnalyticsCustomModule.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SecurityHealthAnalyticsCustomModule.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static SecurityHealthAnalyticsCustomModule getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<SecurityHealthAnalyticsCustomModule> parser()
-
getParserForType
public com.google.protobuf.Parser<SecurityHealthAnalyticsCustomModule> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public SecurityHealthAnalyticsCustomModule getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-