Class EffectiveEventThreatDetectionCustomModule.Builder (2.56.0)

public static final class EffectiveEventThreatDetectionCustomModule.Builder extends GeneratedMessageV3.Builder<EffectiveEventThreatDetectionCustomModule.Builder> 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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EffectiveEventThreatDetectionCustomModule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EffectiveEventThreatDetectionCustomModule.Builder
Overrides

build()

public EffectiveEventThreatDetectionCustomModule build()
Returns
Type Description
EffectiveEventThreatDetectionCustomModule

buildPartial()

public EffectiveEventThreatDetectionCustomModule buildPartial()
Returns
Type Description
EffectiveEventThreatDetectionCustomModule

clear()

public EffectiveEventThreatDetectionCustomModule.Builder clear()
Returns
Type Description
EffectiveEventThreatDetectionCustomModule.Builder
Overrides

clearConfig()

public EffectiveEventThreatDetectionCustomModule.Builder clearConfig()

Output only. Config for the effective module.

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

Returns
Type Description
EffectiveEventThreatDetectionCustomModule.Builder

clearDescription()

public EffectiveEventThreatDetectionCustomModule.Builder clearDescription()

Output only. The description for the module.

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

Returns
Type Description
EffectiveEventThreatDetectionCustomModule.Builder

This builder for chaining.

clearDisplayName()

public EffectiveEventThreatDetectionCustomModule.Builder clearDisplayName()

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
EffectiveEventThreatDetectionCustomModule.Builder

This builder for chaining.

clearEnablementState()

public EffectiveEventThreatDetectionCustomModule.Builder clearEnablementState()

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.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public EffectiveEventThreatDetectionCustomModule.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
EffectiveEventThreatDetectionCustomModule.Builder
Overrides

clearName()

public EffectiveEventThreatDetectionCustomModule.Builder clearName()

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
EffectiveEventThreatDetectionCustomModule.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public EffectiveEventThreatDetectionCustomModule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
EffectiveEventThreatDetectionCustomModule.Builder
Overrides

clearType()

public EffectiveEventThreatDetectionCustomModule.Builder clearType()

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

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

Returns
Type Description
EffectiveEventThreatDetectionCustomModule.Builder

This builder for chaining.

clone()

public EffectiveEventThreatDetectionCustomModule.Builder clone()
Returns
Type Description
EffectiveEventThreatDetectionCustomModule.Builder
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.

getConfigBuilder()

public Struct.Builder getConfigBuilder()

Output only. Config for the effective module.

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

Returns
Type Description
Builder

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.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConfig(Struct value)

public EffectiveEventThreatDetectionCustomModule.Builder mergeConfig(Struct value)

Output only. Config for the effective module.

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

Parameter
Name Description
value Struct
Returns
Type Description
EffectiveEventThreatDetectionCustomModule.Builder

mergeFrom(EffectiveEventThreatDetectionCustomModule other)

public EffectiveEventThreatDetectionCustomModule.Builder mergeFrom(EffectiveEventThreatDetectionCustomModule other)
Parameter
Name Description
other EffectiveEventThreatDetectionCustomModule
Returns
Type Description
EffectiveEventThreatDetectionCustomModule.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EffectiveEventThreatDetectionCustomModule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EffectiveEventThreatDetectionCustomModule.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public EffectiveEventThreatDetectionCustomModule.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
EffectiveEventThreatDetectionCustomModule.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EffectiveEventThreatDetectionCustomModule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EffectiveEventThreatDetectionCustomModule.Builder
Overrides

setConfig(Struct value)

public EffectiveEventThreatDetectionCustomModule.Builder setConfig(Struct value)

Output only. Config for the effective module.

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

Parameter
Name Description
value Struct
Returns
Type Description
EffectiveEventThreatDetectionCustomModule.Builder

setConfig(Struct.Builder builderForValue)

public EffectiveEventThreatDetectionCustomModule.Builder setConfig(Struct.Builder builderForValue)

Output only. Config for the effective module.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
EffectiveEventThreatDetectionCustomModule.Builder

setDescription(String value)

public EffectiveEventThreatDetectionCustomModule.Builder setDescription(String value)

Output only. The description for the module.

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

Parameter
Name Description
value String

The description to set.

Returns
Type Description
EffectiveEventThreatDetectionCustomModule.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public EffectiveEventThreatDetectionCustomModule.Builder setDescriptionBytes(ByteString value)

Output only. The description for the module.

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

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
EffectiveEventThreatDetectionCustomModule.Builder

This builder for chaining.

setDisplayName(String value)

public EffectiveEventThreatDetectionCustomModule.Builder setDisplayName(String value)

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

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

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
EffectiveEventThreatDetectionCustomModule.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public EffectiveEventThreatDetectionCustomModule.Builder setDisplayNameBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
EffectiveEventThreatDetectionCustomModule.Builder

This builder for chaining.

setEnablementState(EffectiveEventThreatDetectionCustomModule.EnablementState value)

public EffectiveEventThreatDetectionCustomModule.Builder setEnablementState(EffectiveEventThreatDetectionCustomModule.EnablementState value)

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];

Parameter
Name Description
value EffectiveEventThreatDetectionCustomModule.EnablementState

The enablementState to set.

Returns
Type Description
EffectiveEventThreatDetectionCustomModule.Builder

This builder for chaining.

setEnablementStateValue(int value)

public EffectiveEventThreatDetectionCustomModule.Builder setEnablementStateValue(int value)

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];

Parameter
Name Description
value int

The enum numeric value on the wire for enablementState to set.

Returns
Type Description
EffectiveEventThreatDetectionCustomModule.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public EffectiveEventThreatDetectionCustomModule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EffectiveEventThreatDetectionCustomModule.Builder
Overrides

setName(String value)

public EffectiveEventThreatDetectionCustomModule.Builder setName(String value)

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];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
EffectiveEventThreatDetectionCustomModule.Builder

This builder for chaining.

setNameBytes(ByteString value)

public EffectiveEventThreatDetectionCustomModule.Builder setNameBytes(ByteString value)

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];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
EffectiveEventThreatDetectionCustomModule.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public EffectiveEventThreatDetectionCustomModule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
EffectiveEventThreatDetectionCustomModule.Builder
Overrides

setType(String value)

public EffectiveEventThreatDetectionCustomModule.Builder setType(String value)

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

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

Parameter
Name Description
value String

The type to set.

Returns
Type Description
EffectiveEventThreatDetectionCustomModule.Builder

This builder for chaining.

setTypeBytes(ByteString value)

public EffectiveEventThreatDetectionCustomModule.Builder setTypeBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for type to set.

Returns
Type Description
EffectiveEventThreatDetectionCustomModule.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final EffectiveEventThreatDetectionCustomModule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EffectiveEventThreatDetectionCustomModule.Builder
Overrides