Enum ThreatType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ThreatType>
@Generated
public enum ThreatType
extends Enum<ThreatType>
implements com.google.protobuf.ProtocolMessageEnum
Type of threat.Protobuf enum
google.cloud.networksecurity.v1.ThreatType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThreats related to viruses and malware found in executables and file types.Threats related to DNS.Threats related to command-and-control (C2) activity, where spyware on an infected client is collecting data without the user's consent and/or communicating with a remote attacker.Type of threat not specified.Type of threat is not derivable from threat ID.Threats related to system flaws that an attacker might otherwise attempt to exploit. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThreats related to viruses and malware found in executables and file types.static final intThreats related to DNS.static final intThreats related to command-and-control (C2) activity, where spyware on an infected client is collecting data without the user's consent and/or communicating with a remote attacker.static final intType of threat not specified.static final intType of threat is not derivable from threat ID.static final intThreats related to system flaws that an attacker might otherwise attempt to exploit. -
Method Summary
Modifier and TypeMethodDescriptionstatic ThreatTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<ThreatType>static ThreatTypevalueOf(int value) Deprecated.static ThreatTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static ThreatTypeReturns the enum constant of this type with the specified name.static ThreatType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
THREAT_TYPE_UNSPECIFIED
Type of threat not specified.
THREAT_TYPE_UNSPECIFIED = 0; -
UNKNOWN
Type of threat is not derivable from threat ID. An override will be created for all types. Firewall will ignore overridden signature ID's that don't exist in the specific type.
UNKNOWN = 1; -
VULNERABILITY
Threats related to system flaws that an attacker might otherwise attempt to exploit.
VULNERABILITY = 2; -
ANTIVIRUS
Threats related to viruses and malware found in executables and file types.
ANTIVIRUS = 3; -
SPYWARE
Threats related to command-and-control (C2) activity, where spyware on an infected client is collecting data without the user's consent and/or communicating with a remote attacker.
SPYWARE = 4; -
DNS
Threats related to DNS.
DNS = 5; -
UNRECOGNIZED
-
-
Field Details
-
THREAT_TYPE_UNSPECIFIED_VALUE
public static final int THREAT_TYPE_UNSPECIFIED_VALUEType of threat not specified.
THREAT_TYPE_UNSPECIFIED = 0;- See Also:
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEType of threat is not derivable from threat ID. An override will be created for all types. Firewall will ignore overridden signature ID's that don't exist in the specific type.
UNKNOWN = 1;- See Also:
-
VULNERABILITY_VALUE
public static final int VULNERABILITY_VALUEThreats related to system flaws that an attacker might otherwise attempt to exploit.
VULNERABILITY = 2;- See Also:
-
ANTIVIRUS_VALUE
public static final int ANTIVIRUS_VALUEThreats related to viruses and malware found in executables and file types.
ANTIVIRUS = 3;- See Also:
-
SPYWARE_VALUE
public static final int SPYWARE_VALUEThreats related to command-and-control (C2) activity, where spyware on an infected client is collecting data without the user's consent and/or communicating with a remote attacker.
SPYWARE = 4;- See Also:
-
DNS_VALUE
public static final int DNS_VALUEThreats related to DNS.
DNS = 5;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-