public static final class EffectiveEventThreatDetectionCustomModule.Builder extends GeneratedMessageV3.Builder<EffectiveEventThreatDetectionCustomModule.Builder> 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.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > EffectiveEventThreatDetectionCustomModule.BuilderStatic 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 |
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 |
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.securitycentermanagement.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 |
clearName()
public EffectiveEventThreatDetectionCustomModule.Builder clearName()
Identifier. 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) = IDENTIFIER];
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 |
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 |
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 |
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.securitycentermanagement.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.securitycentermanagement.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()
Identifier. 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) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Identifier. 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) = IDENTIFIER];
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public EffectiveEventThreatDetectionCustomModule.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
EffectiveEventThreatDetectionCustomModule.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EffectiveEventThreatDetectionCustomModule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
EffectiveEventThreatDetectionCustomModule.Builder |
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.securitycentermanagement.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.securitycentermanagement.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 |
setName(String value)
public EffectiveEventThreatDetectionCustomModule.Builder setName(String value)
Identifier. 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) = IDENTIFIER];
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)
Identifier. 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) = IDENTIFIER];
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 |
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 |