Class EffectiveEventThreatDetectionCustomModule (0.5.0)

public final class EffectiveEventThreatDetectionCustomModule extends GeneratedMessageV3 implements EffectiveEventThreatDetectionCustomModuleOrBuilder

An EffectiveEventThreatDetectionCustomModule is the representation of EventThreatDetectionCustomModule at a given level taking hierarchy into account and resolving various fields accordingly. e.g. if the module is enabled at the ancestor level, effective modules at all descendant levels will have enablement_state set to ENABLED. Similarly, if module.inherited is set, then effective module's config will contain the ancestor's config details. EffectiveEventThreatDetectionCustomModule is read-only.

Protobuf type google.cloud.securitycentermanagement.v1.EffectiveEventThreatDetectionCustomModule

Inheritance

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

Static Fields

CONFIG_FIELD_NUMBER

public static final int CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

ENABLEMENT_STATE_FIELD_NUMBER

public static final int ENABLEMENT_STATE_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static EffectiveEventThreatDetectionCustomModule getDefaultInstance()
Returns
TypeDescription
EffectiveEventThreatDetectionCustomModule

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static EffectiveEventThreatDetectionCustomModule.Builder newBuilder()
Returns
TypeDescription
EffectiveEventThreatDetectionCustomModule.Builder

newBuilder(EffectiveEventThreatDetectionCustomModule prototype)

public static EffectiveEventThreatDetectionCustomModule.Builder newBuilder(EffectiveEventThreatDetectionCustomModule prototype)
Parameter
NameDescription
prototypeEffectiveEventThreatDetectionCustomModule
Returns
TypeDescription
EffectiveEventThreatDetectionCustomModule.Builder

parseDelimitedFrom(InputStream input)

public static EffectiveEventThreatDetectionCustomModule parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EffectiveEventThreatDetectionCustomModule
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EffectiveEventThreatDetectionCustomModule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EffectiveEventThreatDetectionCustomModule
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static EffectiveEventThreatDetectionCustomModule parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
EffectiveEventThreatDetectionCustomModule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EffectiveEventThreatDetectionCustomModule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EffectiveEventThreatDetectionCustomModule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EffectiveEventThreatDetectionCustomModule parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
EffectiveEventThreatDetectionCustomModule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EffectiveEventThreatDetectionCustomModule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EffectiveEventThreatDetectionCustomModule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EffectiveEventThreatDetectionCustomModule parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
EffectiveEventThreatDetectionCustomModule
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EffectiveEventThreatDetectionCustomModule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EffectiveEventThreatDetectionCustomModule
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static EffectiveEventThreatDetectionCustomModule parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EffectiveEventThreatDetectionCustomModule
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EffectiveEventThreatDetectionCustomModule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EffectiveEventThreatDetectionCustomModule
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static EffectiveEventThreatDetectionCustomModule parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
EffectiveEventThreatDetectionCustomModule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EffectiveEventThreatDetectionCustomModule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EffectiveEventThreatDetectionCustomModule
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<EffectiveEventThreatDetectionCustomModule> parser()
Returns
TypeDescription
Parser<EffectiveEventThreatDetectionCustomModule>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
StructOrBuilder

getDefaultInstanceForType()

public EffectiveEventThreatDetectionCustomModule getDefaultInstanceForType()
Returns
TypeDescription
EffectiveEventThreatDetectionCustomModule

getDescription()

public String getDescription()

Output only. The description for the module.

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

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Output only. The description for the module.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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.securitycentermanagement.v1.EffectiveEventThreatDetectionCustomModule.EnablementState enablement_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
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.securitycentermanagement.v1.EffectiveEventThreatDetectionCustomModule.EnablementState enablement_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for enablementState.

getName()

public String getName()

Immutable. The resource name of the ETD custom module.

Its format is:

  • "organizations/{organization}/locations/{location}/effectiveEventThreatDetectionCustomModules/{effective_event_threat_detection_custom_module}".
  • "folders/{folder}/locations/{location}/effectiveEventThreatDetectionCustomModules/{effective_event_threat_detection_custom_module}".
  • "projects/{project}/locations/{location}/effectiveEventThreatDetectionCustomModules/{effective_event_threat_detection_custom_module}".

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Immutable. The resource name of the ETD custom module.

Its format is:

  • "organizations/{organization}/locations/{location}/effectiveEventThreatDetectionCustomModules/{effective_event_threat_detection_custom_module}".
  • "folders/{folder}/locations/{location}/effectiveEventThreatDetectionCustomModules/{effective_event_threat_detection_custom_module}".
  • "projects/{project}/locations/{location}/effectiveEventThreatDetectionCustomModules/{effective_event_threat_detection_custom_module}".

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

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<EffectiveEventThreatDetectionCustomModule> getParserForType()
Returns
TypeDescription
Parser<EffectiveEventThreatDetectionCustomModule>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the config field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public EffectiveEventThreatDetectionCustomModule.Builder newBuilderForType()
Returns
TypeDescription
EffectiveEventThreatDetectionCustomModule.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EffectiveEventThreatDetectionCustomModule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
EffectiveEventThreatDetectionCustomModule.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public EffectiveEventThreatDetectionCustomModule.Builder toBuilder()
Returns
TypeDescription
EffectiveEventThreatDetectionCustomModule.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException