Enum NotificationType

java.lang.Object
java.lang.Enum<NotificationType>
com.google.cloud.advisorynotifications.v1.NotificationType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<NotificationType>

@Generated public enum NotificationType extends Enum<NotificationType> implements com.google.protobuf.ProtocolMessageEnum
 Type of notification
 
Protobuf enum google.cloud.advisorynotifications.v1.NotificationType
  • Enum Constant Details

    • NOTIFICATION_TYPE_UNSPECIFIED

      public static final NotificationType NOTIFICATION_TYPE_UNSPECIFIED
       Default type
       
      NOTIFICATION_TYPE_UNSPECIFIED = 0;
    • NOTIFICATION_TYPE_SECURITY_PRIVACY_ADVISORY

      public static final NotificationType NOTIFICATION_TYPE_SECURITY_PRIVACY_ADVISORY
       Security and privacy advisory notifications
       
      NOTIFICATION_TYPE_SECURITY_PRIVACY_ADVISORY = 1;
    • NOTIFICATION_TYPE_SENSITIVE_ACTIONS

      public static final NotificationType NOTIFICATION_TYPE_SENSITIVE_ACTIONS
       Sensitive action notifications
       
      NOTIFICATION_TYPE_SENSITIVE_ACTIONS = 2;
    • NOTIFICATION_TYPE_SECURITY_MSA

      public static final NotificationType NOTIFICATION_TYPE_SECURITY_MSA
       General security MSA
       
      NOTIFICATION_TYPE_SECURITY_MSA = 3;
    • NOTIFICATION_TYPE_THREAT_HORIZONS

      public static final NotificationType NOTIFICATION_TYPE_THREAT_HORIZONS
       Threat horizons MSA
       
      NOTIFICATION_TYPE_THREAT_HORIZONS = 4;
    • UNRECOGNIZED

      public static final NotificationType UNRECOGNIZED
  • Field Details

    • NOTIFICATION_TYPE_UNSPECIFIED_VALUE

      public static final int NOTIFICATION_TYPE_UNSPECIFIED_VALUE
       Default type
       
      NOTIFICATION_TYPE_UNSPECIFIED = 0;
      See Also:
    • NOTIFICATION_TYPE_SECURITY_PRIVACY_ADVISORY_VALUE

      public static final int NOTIFICATION_TYPE_SECURITY_PRIVACY_ADVISORY_VALUE
       Security and privacy advisory notifications
       
      NOTIFICATION_TYPE_SECURITY_PRIVACY_ADVISORY = 1;
      See Also:
    • NOTIFICATION_TYPE_SENSITIVE_ACTIONS_VALUE

      public static final int NOTIFICATION_TYPE_SENSITIVE_ACTIONS_VALUE
       Sensitive action notifications
       
      NOTIFICATION_TYPE_SENSITIVE_ACTIONS = 2;
      See Also:
    • NOTIFICATION_TYPE_SECURITY_MSA_VALUE

      public static final int NOTIFICATION_TYPE_SECURITY_MSA_VALUE
       General security MSA
       
      NOTIFICATION_TYPE_SECURITY_MSA = 3;
      See Also:
    • NOTIFICATION_TYPE_THREAT_HORIZONS_VALUE

      public static final int NOTIFICATION_TYPE_THREAT_HORIZONS_VALUE
       Threat horizons MSA
       
      NOTIFICATION_TYPE_THREAT_HORIZONS = 4;
      See Also:
  • Method Details

    • values

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