Enum ThreatType

java.lang.Object
java.lang.Enum<ThreatType>
com.google.cloud.networksecurity.v1.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 Constants
    Enum Constant
    Description
    Threats 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

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Threats related to viruses and malware found in executables and file types.
    static final int
    Threats related to DNS.
    static final int
    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.
    static final int
    Type of threat not specified.
    static final int
    Type of threat is not derivable from threat ID.
    static final int
    Threats related to system flaws that an attacker might otherwise attempt to exploit.
  • Method Summary

    Modifier and Type
    Method
    Description
    static ThreatType
    forNumber(int value)
     
    static com.google.protobuf.Descriptors.EnumDescriptor
     
    final com.google.protobuf.Descriptors.EnumDescriptor
     
    final int
     
    final com.google.protobuf.Descriptors.EnumValueDescriptor
     
    static com.google.protobuf.Internal.EnumLiteMap<ThreatType>
     
    static ThreatType
    valueOf(int value)
    Deprecated.
    static ThreatType
    valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
    Returns the enum constant of this type with the specified name.
    static ThreatType
    Returns the enum constant of this type with the specified name.
    static ThreatType[]
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • THREAT_TYPE_UNSPECIFIED

      public static final ThreatType THREAT_TYPE_UNSPECIFIED
       Type of threat not specified.
       
      THREAT_TYPE_UNSPECIFIED = 0;
    • UNKNOWN

      public static final ThreatType 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

      public static final ThreatType VULNERABILITY
       Threats related to system flaws that an attacker might otherwise attempt
       to exploit.
       
      VULNERABILITY = 2;
    • ANTIVIRUS

      public static final ThreatType ANTIVIRUS
       Threats related to viruses and malware found in executables and file
       types.
       
      ANTIVIRUS = 3;
    • SPYWARE

      public static final ThreatType 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

      public static final ThreatType DNS
       Threats related to DNS.
       
      DNS = 5;
    • UNRECOGNIZED

      public static final ThreatType UNRECOGNIZED
  • Field Details

    • THREAT_TYPE_UNSPECIFIED_VALUE

      public static final int THREAT_TYPE_UNSPECIFIED_VALUE
       Type of threat not specified.
       
      THREAT_TYPE_UNSPECIFIED = 0;
      See Also:
    • UNKNOWN_VALUE

      public static final int UNKNOWN_VALUE
       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;
      See Also:
    • VULNERABILITY_VALUE

      public static final int VULNERABILITY_VALUE
       Threats related to system flaws that an attacker might otherwise attempt
       to exploit.
       
      VULNERABILITY = 2;
      See Also:
    • ANTIVIRUS_VALUE

      public static final int ANTIVIRUS_VALUE
       Threats related to viruses and malware found in executables and file
       types.
       
      ANTIVIRUS = 3;
      See Also:
    • SPYWARE_VALUE

      public static final int SPYWARE_VALUE
       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;
      See Also:
    • DNS_VALUE

      public static final int DNS_VALUE
       Threats related to DNS.
       
      DNS = 5;
      See Also:
  • Method Details

    • values

      public static ThreatType[] 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

      public static ThreatType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static ThreatType valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static ThreatType forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<ThreatType> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static ThreatType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      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 name
      NullPointerException - if the argument is null