Enum NotificationCategory

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<NotificationCategory>

    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 Detail

      • 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;
      • LEGAL

        public static final NotificationCategory LEGAL
         Notifications related to enforcement actions, regulatory compliance, or
         government notices.
         
        LEGAL = 8;
      • 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;
    • Field Detail

      • NOTIFICATION_CATEGORY_UNSPECIFIED_VALUE

        public static final int NOTIFICATION_CATEGORY_UNSPECIFIED_VALUE
         Notification category is unrecognized or unspecified.
         
        NOTIFICATION_CATEGORY_UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
      • SUSPENSION_VALUE

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

        public static final int SECURITY_VALUE
         Notifications related to security/privacy incidents, notifications, and
         vulnerabilities.
         
        SECURITY = 5;
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
      • BILLING_VALUE

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

        public static final int LEGAL_VALUE
         Notifications related to enforcement actions, regulatory compliance, or
         government notices.
         
        LEGAL = 8;
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
    • Method Detail

      • values

        public static NotificationCategory[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (NotificationCategory c : NotificationCategory.values())
            System.out.println(c);
        
        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 final 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