- 2.62.0 (latest)
- 2.61.0
- 2.60.0
- 2.59.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.1
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.1
- 2.6.0
- 2.5.6
- 2.3.2
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
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.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 |
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 |
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.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 |
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.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 |
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 |
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 |