Enum NotificationType

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, java.io.Serializable, java.lang.Comparable<NotificationType>

    public enum NotificationType
    extends java.lang.Enum<NotificationType>
    implements com.google.protobuf.Internal.EnumLite
     notification type
     
    Protobuf enum streamlayer.analytics.v1.notifications.NotificationType
    • Enum Constant Detail

      • NOTIFICATION_TYPE_UNSET

        public static final NotificationType NOTIFICATION_TYPE_UNSET
        NOTIFICATION_TYPE_UNSET = 0;
      • NOTIFICATION_TYPE_IN_APP

        public static final NotificationType NOTIFICATION_TYPE_IN_APP
        NOTIFICATION_TYPE_IN_APP = 1;
      • NOTIFICATION_TYPE_PUSH

        public static final NotificationType NOTIFICATION_TYPE_PUSH
        NOTIFICATION_TYPE_PUSH = 2;
    • Field Detail

      • NOTIFICATION_TYPE_UNSET_VALUE

        public static final int NOTIFICATION_TYPE_UNSET_VALUE
        NOTIFICATION_TYPE_UNSET = 0;
        See Also:
        Constant Field Values
      • NOTIFICATION_TYPE_IN_APP_VALUE

        public static final int NOTIFICATION_TYPE_IN_APP_VALUE
        NOTIFICATION_TYPE_IN_APP = 1;
        See Also:
        Constant Field Values
      • NOTIFICATION_TYPE_PUSH_VALUE

        public static final int NOTIFICATION_TYPE_PUSH_VALUE
        NOTIFICATION_TYPE_PUSH = 2;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static NotificationType[] 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 (NotificationType c : NotificationType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static NotificationType valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
      • 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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • internalGetValueMap

        public static com.google.protobuf.Internal.EnumLiteMap<NotificationType> internalGetValueMap()
      • internalGetVerifier

        public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()