Class EventThreatDetectionCustomModule (0.24.0)

publicfinalclass EventThreatDetectionCustomModuleextendsGeneratedMessageV3implementsEventThreatDetectionCustomModuleOrBuilder

A Security Command Center resource that contains the configuration and enablement state of a custom module, which enables Event Threat Detection to write certain findings to Security Command Center.

Protobuf type google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > EventThreatDetectionCustomModule

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>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

ANCESTOR_MODULE_FIELD_NUMBER

publicstaticfinalintANCESTOR_MODULE_FIELD_NUMBER
Field Value
Type Description
int

CONFIG_FIELD_NUMBER

publicstaticfinalintCONFIG_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

publicstaticfinalintDESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

publicstaticfinalintDISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

ENABLEMENT_STATE_FIELD_NUMBER

publicstaticfinalintENABLEMENT_STATE_FIELD_NUMBER
Field Value
Type Description
int

LAST_EDITOR_FIELD_NUMBER

publicstaticfinalintLAST_EDITOR_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

publicstaticfinalintNAME_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

publicstaticfinalintTYPE_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

publicstaticfinalintUPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticEventThreatDetectionCustomModulegetDefaultInstance()
Returns
Type Description
EventThreatDetectionCustomModule

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticEventThreatDetectionCustomModule.BuildernewBuilder()
Returns
Type Description
EventThreatDetectionCustomModule.Builder

newBuilder(EventThreatDetectionCustomModule prototype)

publicstaticEventThreatDetectionCustomModule.BuildernewBuilder(EventThreatDetectionCustomModuleprototype)
Parameter
Name Description
prototype EventThreatDetectionCustomModule
Returns
Type Description
EventThreatDetectionCustomModule.Builder

parseDelimitedFrom(InputStream input)

publicstaticEventThreatDetectionCustomModuleparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
EventThreatDetectionCustomModule
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticEventThreatDetectionCustomModuleparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EventThreatDetectionCustomModule
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticEventThreatDetectionCustomModuleparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
EventThreatDetectionCustomModule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticEventThreatDetectionCustomModuleparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EventThreatDetectionCustomModule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticEventThreatDetectionCustomModuleparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
EventThreatDetectionCustomModule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticEventThreatDetectionCustomModuleparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EventThreatDetectionCustomModule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticEventThreatDetectionCustomModuleparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
EventThreatDetectionCustomModule
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticEventThreatDetectionCustomModuleparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EventThreatDetectionCustomModule
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticEventThreatDetectionCustomModuleparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
EventThreatDetectionCustomModule
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticEventThreatDetectionCustomModuleparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EventThreatDetectionCustomModule
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticEventThreatDetectionCustomModuleparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
EventThreatDetectionCustomModule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticEventThreatDetectionCustomModuleparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EventThreatDetectionCustomModule
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<EventThreatDetectionCustomModule>parser()
Returns
Type Description
Parser<EventThreatDetectionCustomModule>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAncestorModule()

publicStringgetAncestorModule()

Output only. The closest ancestor module that this module inherits the enablement state from. If empty, indicates that the custom module was created in the requesting parent organization, folder, or project. The format is the same as the custom module's resource name.

string ancestor_module = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The ancestorModule.

getAncestorModuleBytes()

publicByteStringgetAncestorModuleBytes()

Output only. The closest ancestor module that this module inherits the enablement state from. If empty, indicates that the custom module was created in the requesting parent organization, folder, or project. The format is the same as the custom module's resource name.

string ancestor_module = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for ancestorModule.

getConfig()

publicStructgetConfig()

Optional. Configuration for the module. For the resident module, its configuration value is defined at this level. For the inherited module, its configuration value is inherited from the ancestor module.

.google.protobuf.Struct config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Struct

The config.

getConfigOrBuilder()

publicStructOrBuildergetConfigOrBuilder()

Optional. Configuration for the module. For the resident module, its configuration value is defined at this level. For the inherited module, its configuration value is inherited from the ancestor module.

.google.protobuf.Struct config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StructOrBuilder

getDefaultInstanceForType()

publicEventThreatDetectionCustomModulegetDefaultInstanceForType()
Returns
Type Description
EventThreatDetectionCustomModule

getDescription()

publicStringgetDescription()

Optional. A description of the module.

string description = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The description.

getDescriptionBytes()

publicByteStringgetDescriptionBytes()

Optional. A description of the module.

string description = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for description.

getDisplayName()

publicStringgetDisplayName()

Optional. The human-readable name of the module.

string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

publicByteStringgetDisplayNameBytes()

Optional. The human-readable name of the module.

string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for displayName.

getEnablementState()

publicEventThreatDetectionCustomModule.EnablementStategetEnablementState()

Optional. The state of enablement for the module at the given level of the hierarchy.

.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule.EnablementState enablement_state = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EventThreatDetectionCustomModule.EnablementState

The enablementState.

getEnablementStateValue()

publicintgetEnablementStateValue()

Optional. The state of enablement for the module at the given level of the hierarchy.

.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule.EnablementState enablement_state = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for enablementState.

getLastEditor()

publicStringgetLastEditor()

Output only. The editor the module was last updated by.

string last_editor = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The lastEditor.

getLastEditorBytes()

publicByteStringgetLastEditorBytes()

Output only. The editor the module was last updated by.

string last_editor = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for lastEditor.

getName()

publicStringgetName()

Identifier. The resource name of the Event Threat Detection custom module, in one of the following formats:

  • organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{custom_module}
  • folders/{folder}/locations/{location}/eventThreatDetectionCustomModules/{custom_module}
  • projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{custom_module}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

publicByteStringgetNameBytes()

Identifier. The resource name of the Event Threat Detection custom module, in one of the following formats:

  • organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{custom_module}
  • folders/{folder}/locations/{location}/eventThreatDetectionCustomModules/{custom_module}
  • projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{custom_module}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

publicParser<EventThreatDetectionCustomModule>getParserForType()
Returns
Type Description
Parser<EventThreatDetectionCustomModule>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getType()

publicStringgetType()

Optional. Type for the module. For example, CONFIGURABLE_BAD_IP.

string type = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The type.

getTypeBytes()

publicByteStringgetTypeBytes()

Optional. Type for the module. For example, CONFIGURABLE_BAD_IP.

string type = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for type.

getUpdateTime()

publicTimestampgetUpdateTime()

Output only. The time the module was last updated.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

publicTimestampOrBuildergetUpdateTimeOrBuilder()

Output only. The time the module was last updated.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasConfig()

publicbooleanhasConfig()

Optional. Configuration for the module. For the resident module, its configuration value is defined at this level. For the inherited module, its configuration value is inherited from the ancestor module.

.google.protobuf.Struct config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the config field is set.

hasUpdateTime()

publicbooleanhasUpdateTime()

Output only. The time the module was last updated.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicEventThreatDetectionCustomModule.BuildernewBuilderForType()
Returns
Type Description
EventThreatDetectionCustomModule.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedEventThreatDetectionCustomModule.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
EventThreatDetectionCustomModule.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicEventThreatDetectionCustomModule.BuildertoBuilder()
Returns
Type Description
EventThreatDetectionCustomModule.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.