public final class EventThreatDetectionCustomModule extends GeneratedMessageV3 implements EventThreatDetectionCustomModuleOrBuilder
Represents an instance of an Event Threat Detection custom module,
including its full module name, display name, enablement state, and last
updated time. You can create a custom module at the organization, folder, or
project level. Custom modules that you create at the organization or folder
level are inherited by child folders and projects.
Protobuf type google.cloud.securitycenter.v1.EventThreatDetectionCustomModule
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ANCESTOR_MODULE_FIELD_NUMBER
public static final int ANCESTOR_MODULE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
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 |
|
LAST_EDITOR_FIELD_NUMBER
public static final int LAST_EDITOR_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 |
|
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static EventThreatDetectionCustomModule getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static EventThreatDetectionCustomModule.Builder newBuilder()
newBuilder(EventThreatDetectionCustomModule prototype)
public static EventThreatDetectionCustomModule.Builder newBuilder(EventThreatDetectionCustomModule prototype)
public static EventThreatDetectionCustomModule parseDelimitedFrom(InputStream input)
public static EventThreatDetectionCustomModule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static EventThreatDetectionCustomModule parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EventThreatDetectionCustomModule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static EventThreatDetectionCustomModule parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EventThreatDetectionCustomModule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EventThreatDetectionCustomModule parseFrom(CodedInputStream input)
public static EventThreatDetectionCustomModule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static EventThreatDetectionCustomModule parseFrom(InputStream input)
public static EventThreatDetectionCustomModule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static EventThreatDetectionCustomModule parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EventThreatDetectionCustomModule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<EventThreatDetectionCustomModule> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAncestorModule()
public String getAncestorModule()
Output only. The closest ancestor module that this module inherits the
enablement state from. The format is the same as the
EventThreatDetectionCustomModule resource name.
string ancestor_module = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The ancestorModule.
|
getAncestorModuleBytes()
public ByteString getAncestorModuleBytes()
Output only. The closest ancestor module that this module inherits the
enablement state from. The format is the same as the
EventThreatDetectionCustomModule resource name.
string ancestor_module = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for ancestorModule.
|
getConfig()
public Struct getConfig()
Config for the module. For the resident module, its config value is defined
at this level. For the inherited module, its config value is inherited from
the ancestor module.
.google.protobuf.Struct config = 2;
Returns |
Type |
Description |
Struct |
The config.
|
getConfigOrBuilder()
public StructOrBuilder getConfigOrBuilder()
Config for the module. For the resident module, its config value is defined
at this level. For the inherited module, its config value is inherited from
the ancestor module.
.google.protobuf.Struct config = 2;
getDefaultInstanceForType()
public EventThreatDetectionCustomModule getDefaultInstanceForType()
getDescription()
public String getDescription()
The description for the module.
string description = 7;
Returns |
Type |
Description |
String |
The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
The description for the module.
string description = 7;
Returns |
Type |
Description |
ByteString |
The bytes for description.
|
getDisplayName()
public String getDisplayName()
The human readable name to be displayed for the module.
string display_name = 6;
Returns |
Type |
Description |
String |
The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
The human readable name to be displayed for the module.
string display_name = 6;
Returns |
Type |
Description |
ByteString |
The bytes for displayName.
|
getEnablementState()
public EventThreatDetectionCustomModule.EnablementState getEnablementState()
The state of enablement for the module at the given level of the hierarchy.
.google.cloud.securitycenter.v1.EventThreatDetectionCustomModule.EnablementState enablement_state = 4;
getEnablementStateValue()
public int getEnablementStateValue()
The state of enablement for the module at the given level of the hierarchy.
.google.cloud.securitycenter.v1.EventThreatDetectionCustomModule.EnablementState enablement_state = 4;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for enablementState.
|
getLastEditor()
public String getLastEditor()
Output only. The editor the module was last updated by.
string last_editor = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The lastEditor.
|
getLastEditorBytes()
public ByteString getLastEditorBytes()
Output only. The editor the module was last updated by.
string last_editor = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for lastEditor.
|
getName()
Immutable. The resource name of the Event Threat Detection custom module.
Its format is:
organizations/{organization}/eventThreatDetectionSettings/customModules/{module}
.
folders/{folder}/eventThreatDetectionSettings/customModules/{module}
.
projects/{project}/eventThreatDetectionSettings/customModules/{module}
.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Immutable. The resource name of the Event Threat Detection custom module.
Its format is:
organizations/{organization}/eventThreatDetectionSettings/customModules/{module}
.
folders/{folder}/eventThreatDetectionSettings/customModules/{module}
.
projects/{project}/eventThreatDetectionSettings/customModules/{module}
.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<EventThreatDetectionCustomModule> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getType()
Type for the module. e.g. CONFIGURABLE_BAD_IP.
string type = 5;
Returns |
Type |
Description |
String |
The type.
|
getTypeBytes()
public ByteString getTypeBytes()
Type for the module. e.g. CONFIGURABLE_BAD_IP.
string type = 5;
Returns |
Type |
Description |
ByteString |
The bytes for type.
|
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The time the module was last updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The updateTime.
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time the module was last updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasConfig()
public boolean hasConfig()
Config for the module. For the resident module, its config value is defined
at this level. For the inherited module, its config value is inherited from
the ancestor module.
.google.protobuf.Struct config = 2;
Returns |
Type |
Description |
boolean |
Whether the config field is set.
|
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The time the module was last updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the updateTime field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public EventThreatDetectionCustomModule.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected EventThreatDetectionCustomModule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public EventThreatDetectionCustomModule.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides