Enum NotificationCategory

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

@Generated public enum NotificationCategory extends Enum<NotificationCategory> implements com.google.protobuf.ProtocolMessageEnum
 The notification categories that an essential contact can be subscribed to.
 Each notification will be categorized by the sender into one of the following
 categories. All contacts that are subscribed to that category will receive
 the notification.
 
Protobuf enum google.cloud.essentialcontacts.v1.NotificationCategory
  • Enum Constant Details

    • NOTIFICATION_CATEGORY_UNSPECIFIED

      public static final NotificationCategory NOTIFICATION_CATEGORY_UNSPECIFIED
       Notification category is unrecognized or unspecified.
       
      NOTIFICATION_CATEGORY_UNSPECIFIED = 0;
    • ALL

      public static final NotificationCategory ALL
       All notifications related to the resource, including notifications
       pertaining to categories added in the future.
       
      ALL = 2;
    • SUSPENSION

      public static final NotificationCategory SUSPENSION
       Notifications related to imminent account suspension.
       
      SUSPENSION = 3;
    • SECURITY

      public static final NotificationCategory SECURITY
       Notifications related to security/privacy incidents, notifications, and
       vulnerabilities.
       
      SECURITY = 5;
    • TECHNICAL

      public static final NotificationCategory TECHNICAL
       Notifications related to technical events and issues such as outages,
       errors, or bugs.
       
      TECHNICAL = 6;
    • BILLING

      public static final NotificationCategory BILLING
       Notifications related to billing and payments notifications, price updates,
       errors, or credits.
       
      BILLING = 7;
    • PRODUCT_UPDATES

      public static final NotificationCategory PRODUCT_UPDATES
       Notifications related to new versions, product terms updates, or
       deprecations.
       
      PRODUCT_UPDATES = 9;
    • TECHNICAL_INCIDENTS

      public static final NotificationCategory TECHNICAL_INCIDENTS
       Child category of TECHNICAL. If assigned, technical incident notifications
       will go to these contacts instead of TECHNICAL.
       
      TECHNICAL_INCIDENTS = 10;
    • UNRECOGNIZED

      public static final NotificationCategory UNRECOGNIZED
  • Field Details

    • NOTIFICATION_CATEGORY_UNSPECIFIED_VALUE

      public static final int NOTIFICATION_CATEGORY_UNSPECIFIED_VALUE
       Notification category is unrecognized or unspecified.
       
      NOTIFICATION_CATEGORY_UNSPECIFIED = 0;
      See Also:
    • ALL_VALUE

      public static final int ALL_VALUE
       All notifications related to the resource, including notifications
       pertaining to categories added in the future.
       
      ALL = 2;
      See Also:
    • SUSPENSION_VALUE

      public static final int SUSPENSION_VALUE
       Notifications related to imminent account suspension.
       
      SUSPENSION = 3;
      See Also:
    • SECURITY_VALUE

      public static final int SECURITY_VALUE
       Notifications related to security/privacy incidents, notifications, and
       vulnerabilities.
       
      SECURITY = 5;
      See Also:
    • TECHNICAL_VALUE

      public static final int TECHNICAL_VALUE
       Notifications related to technical events and issues such as outages,
       errors, or bugs.
       
      TECHNICAL = 6;
      See Also:
    • BILLING_VALUE

      public static final int BILLING_VALUE
       Notifications related to billing and payments notifications, price updates,
       errors, or credits.
       
      BILLING = 7;
      See Also:
    • PRODUCT_UPDATES_VALUE

      public static final int PRODUCT_UPDATES_VALUE
       Notifications related to new versions, product terms updates, or
       deprecations.
       
      PRODUCT_UPDATES = 9;
      See Also:
    • TECHNICAL_INCIDENTS_VALUE

      public static final int TECHNICAL_INCIDENTS_VALUE
       Child category of TECHNICAL. If assigned, technical incident notifications
       will go to these contacts instead of TECHNICAL.
       
      TECHNICAL_INCIDENTS = 10;
      See Also:
  • Method Details

    • values

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