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 class
SecurityHealthAnalyticsCustomModule.Builder
Represents an instance of a Security Health Analytics custom module, including its full module name, display name, enablement state, and last updated time.static class
SecurityHealthAnalyticsCustomModule.EnablementState
Possible 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 int
ANCESTOR_MODULE_FIELD_NUMBER
static int
CUSTOM_CONFIG_FIELD_NUMBER
static int
DISPLAY_NAME_FIELD_NUMBER
static int
ENABLEMENT_STATE_FIELD_NUMBER
static int
LAST_EDITOR_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
UPDATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getAncestorModule()
Output only.com.google.protobuf.ByteString
getAncestorModuleBytes()
Output only.CustomConfig
getCustomConfig()
The user specified custom configuration for the module.CustomConfigOrBuilder
getCustomConfigOrBuilder()
The user specified custom configuration for the module.static SecurityHealthAnalyticsCustomModule
getDefaultInstance()
SecurityHealthAnalyticsCustomModule
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getDisplayName()
The display name of the Security Health Analytics custom module.com.google.protobuf.ByteString
getDisplayNameBytes()
The display name of the Security Health Analytics custom module.SecurityHealthAnalyticsCustomModule.EnablementState
getEnablementState()
The enablement state of the custom module.int
getEnablementStateValue()
The enablement state of the custom module.String
getLastEditor()
Output only.com.google.protobuf.ByteString
getLastEditorBytes()
Output only.String
getName()
Immutable.com.google.protobuf.ByteString
getNameBytes()
Immutable.com.google.protobuf.Parser<SecurityHealthAnalyticsCustomModule>
getParserForType()
int
getSerializedSize()
com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasCustomConfig()
The user specified custom configuration for the module.int
hashCode()
boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static SecurityHealthAnalyticsCustomModule.Builder
newBuilder()
static SecurityHealthAnalyticsCustomModule.Builder
newBuilder(SecurityHealthAnalyticsCustomModule prototype)
SecurityHealthAnalyticsCustomModule.Builder
newBuilderForType()
protected SecurityHealthAnalyticsCustomModule.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static SecurityHealthAnalyticsCustomModule
parseDelimitedFrom(InputStream input)
static SecurityHealthAnalyticsCustomModule
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SecurityHealthAnalyticsCustomModule
parseFrom(byte[] data)
static SecurityHealthAnalyticsCustomModule
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SecurityHealthAnalyticsCustomModule
parseFrom(com.google.protobuf.ByteString data)
static SecurityHealthAnalyticsCustomModule
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SecurityHealthAnalyticsCustomModule
parseFrom(com.google.protobuf.CodedInputStream input)
static SecurityHealthAnalyticsCustomModule
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SecurityHealthAnalyticsCustomModule
parseFrom(InputStream input)
static SecurityHealthAnalyticsCustomModule
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SecurityHealthAnalyticsCustomModule
parseFrom(ByteBuffer data)
static SecurityHealthAnalyticsCustomModule
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<SecurityHealthAnalyticsCustomModule>
parser()
SecurityHealthAnalyticsCustomModule.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in 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:
getName
in 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:
getNameBytes
in 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:
getDisplayName
in 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:
getDisplayNameBytes
in 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:
getEnablementStateValue
in 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:
getEnablementState
in 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:
hasUpdateTime
in 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:
getUpdateTime
in 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:
getUpdateTimeOrBuilder
in 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:
getLastEditor
in 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:
getLastEditorBytes
in 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:
getAncestorModule
in 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:
getAncestorModuleBytes
in 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:
hasCustomConfig
in 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:
getCustomConfig
in 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:
getCustomConfigOrBuilder
in interfaceSecurityHealthAnalyticsCustomModuleOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SecurityHealthAnalyticsCustomModule.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public SecurityHealthAnalyticsCustomModule getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-