Enum NotificationType
- java.lang.Object
-
- java.lang.Enum<NotificationType>
-
- com.streamlayer.analytics.notifications.v1.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 enumstreamlayer.analytics.v1.notifications.NotificationType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NOTIFICATION_TYPE_IN_APPNOTIFICATION_TYPE_IN_APP = 1;NOTIFICATION_TYPE_PUSHNOTIFICATION_TYPE_PUSH = 2;NOTIFICATION_TYPE_UNSETNOTIFICATION_TYPE_UNSET = 0;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intNOTIFICATION_TYPE_IN_APP_VALUENOTIFICATION_TYPE_IN_APP = 1;static intNOTIFICATION_TYPE_PUSH_VALUENOTIFICATION_TYPE_PUSH = 2;static intNOTIFICATION_TYPE_UNSET_VALUENOTIFICATION_TYPE_UNSET = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static NotificationTypeforNumber(int value)intgetNumber()static com.google.protobuf.Internal.EnumLiteMap<NotificationType>internalGetValueMap()static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()static NotificationTypevalueOf(int value)Deprecated.static NotificationTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static NotificationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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;
-
UNRECOGNIZED
public static final NotificationType UNRECOGNIZED
-
-
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 namejava.lang.NullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.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 namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static NotificationType forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<NotificationType> internalGetValueMap()
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-
-