Class EffectiveEventThreatDetectionCustomModule (2.63.0)

public final class EffectiveEventThreatDetectionCustomModule extends GeneratedMessageV3 implements EffectiveEventThreatDetectionCustomModuleOrBuilder

An EffectiveEventThreatDetectionCustomModule is the representation of an Event Threat Detection custom module at a specified level of the resource hierarchy: organization, folder, or project. If a custom module is inherited from a parent organization or folder, the value of the enablement_state property in EffectiveEventThreatDetectionCustomModule is set to the value that is effective in the parent, instead of INHERITED. For example, if the module is enabled in a parent organization or folder, the effective enablement_state for the module in all child folders or projects is also enabled. EffectiveEventThreatDetectionCustomModule is read-only.

Protobuf type google.cloud.securitycenter.v1.EffectiveEventThreatDetectionCustomModule

Inheritance

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

Static Fields

CONFIG_FIELD_NUMBER

public static final int CONFIG_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

ENABLEMENT_STATE_FIELD_NUMBER

public static final int ENABLEMENT_STATE_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static EffectiveEventThreatDetectionCustomModule getDefaultInstance()
Returns
Type Description
EffectiveEventThreatDetectionCustomModule

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static EffectiveEventThreatDetectionCustomModule.Builder newBuilder()
Returns
Type Description
EffectiveEventThreatDetectionCustomModule.Builder

newBuilder(EffectiveEventThreatDetectionCustomModule prototype)

public static EffectiveEventThreatDetectionCustomModule.Builder newBuilder(EffectiveEventThreatDetectionCustomModule prototype)
Parameter
Name Description
prototype EffectiveEventThreatDetectionCustomModule
Returns
Type Description
EffectiveEventThreatDetectionCustomModule.Builder

parseDelimitedFrom(InputStream input)

public static EffectiveEventThreatDetectionCustomModule parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EffectiveEventThreatDetectionCustomModule
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EffectiveEventThreatDetectionCustomModule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EffectiveEventThreatDetectionCustomModule
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static EffectiveEventThreatDetectionCustomModule parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
EffectiveEventThreatDetectionCustomModule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EffectiveEventThreatDetectionCustomModule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EffectiveEventThreatDetectionCustomModule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EffectiveEventThreatDetectionCustomModule parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
EffectiveEventThreatDetectionCustomModule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EffectiveEventThreatDetectionCustomModule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EffectiveEventThreatDetectionCustomModule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EffectiveEventThreatDetectionCustomModule parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
EffectiveEventThreatDetectionCustomModule
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EffectiveEventThreatDetectionCustomModule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EffectiveEventThreatDetectionCustomModule
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static EffectiveEventThreatDetectionCustomModule parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EffectiveEventThreatDetectionCustomModule
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EffectiveEventThreatDetectionCustomModule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EffectiveEventThreatDetectionCustomModule
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static EffectiveEventThreatDetectionCustomModule parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
EffectiveEventThreatDetectionCustomModule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EffectiveEventThreatDetectionCustomModule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EffectiveEventThreatDetectionCustomModule
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<EffectiveEventThreatDetectionCustomModule> parser()
Returns
Type Description
Parser<EffectiveEventThreatDetectionCustomModule>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getConfig()

public Struct getConfig()

Output only. Config for the effective module.

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

Returns
Type Description
Struct

The config.

getConfigOrBuilder()

public StructOrBuilder getConfigOrBuilder()

Output only. Config for the effective module.

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

Returns
Type Description
StructOrBuilder

getDefaultInstanceForType()

public EffectiveEventThreatDetectionCustomModule getDefaultInstanceForType()
Returns
Type Description
EffectiveEventThreatDetectionCustomModule

getDescription()

public String getDescription()

Output only. The description for the module.

string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Output only. The description for the module.

string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for description.

getDisplayName()

public String getDisplayName()

Output only. The human readable name to be displayed for the module.

string display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Output only. The human readable name to be displayed for the module.

string display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for displayName.

getEnablementState()

public EffectiveEventThreatDetectionCustomModule.EnablementState getEnablementState()

Output only. The effective state of enablement for the module at the given level of the hierarchy.

.google.cloud.securitycenter.v1.EffectiveEventThreatDetectionCustomModule.EnablementState enablement_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EffectiveEventThreatDetectionCustomModule.EnablementState

The enablementState.

getEnablementStateValue()

public int getEnablementStateValue()

Output only. The effective state of enablement for the module at the given level of the hierarchy.

.google.cloud.securitycenter.v1.EffectiveEventThreatDetectionCustomModule.EnablementState enablement_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for enablementState.

getName()

public String getName()

Output only. The resource name of the effective ETD custom module.

Its format is:

  • organizations/{organization}/eventThreatDetectionSettings/effectiveCustomModules/{module}.
  • folders/{folder}/eventThreatDetectionSettings/effectiveCustomModules/{module}.
  • projects/{project}/eventThreatDetectionSettings/effectiveCustomModules/{module}.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The resource name of the effective ETD custom module.

Its format is:

  • organizations/{organization}/eventThreatDetectionSettings/effectiveCustomModules/{module}.
  • folders/{folder}/eventThreatDetectionSettings/effectiveCustomModules/{module}.
  • projects/{project}/eventThreatDetectionSettings/effectiveCustomModules/{module}.

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

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<EffectiveEventThreatDetectionCustomModule> getParserForType()
Returns
Type Description
Parser<EffectiveEventThreatDetectionCustomModule>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getType()

public String getType()

Output only. Type for the module. e.g. CONFIGURABLE_BAD_IP.

string type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The type.

getTypeBytes()

public ByteString getTypeBytes()

Output only. Type for the module. e.g. CONFIGURABLE_BAD_IP.

string type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for type.

hasConfig()

public boolean hasConfig()

Output only. Config for the effective module.

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

Returns
Type Description
boolean

Whether the config field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public EffectiveEventThreatDetectionCustomModule.Builder newBuilderForType()
Returns
Type Description
EffectiveEventThreatDetectionCustomModule.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EffectiveEventThreatDetectionCustomModule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
EffectiveEventThreatDetectionCustomModule.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public EffectiveEventThreatDetectionCustomModule.Builder toBuilder()
Returns
Type Description
EffectiveEventThreatDetectionCustomModule.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException