Enum InvitationCategory
- java.lang.Object
-
- java.lang.Enum<InvitationCategory>
-
- com.streamlayer.analytics.invitations.v1.InvitationCategory
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,java.io.Serializable,java.lang.Comparable<InvitationCategory>
public enum InvitationCategory extends java.lang.Enum<InvitationCategory> implements com.google.protobuf.Internal.EnumLite
category
Protobuf enumstreamlayer.analytics.v1.invitations.InvitationCategory
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INVITATION_CATEGORY_GAMESINVITATION_CATEGORY_GAMES = 4;INVITATION_CATEGORY_MESSAGINGINVITATION_CATEGORY_MESSAGING = 2;INVITATION_CATEGORY_UNSETINVITATION_CATEGORY_UNSET = 0;INVITATION_CATEGORY_VOICINGINVITATION_CATEGORY_VOICING = 3;INVITATION_CATEGORY_WATCHINGINVITATION_CATEGORY_WATCHING = 1;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intINVITATION_CATEGORY_GAMES_VALUEINVITATION_CATEGORY_GAMES = 4;static intINVITATION_CATEGORY_MESSAGING_VALUEINVITATION_CATEGORY_MESSAGING = 2;static intINVITATION_CATEGORY_UNSET_VALUEINVITATION_CATEGORY_UNSET = 0;static intINVITATION_CATEGORY_VOICING_VALUEINVITATION_CATEGORY_VOICING = 3;static intINVITATION_CATEGORY_WATCHING_VALUEINVITATION_CATEGORY_WATCHING = 1;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static InvitationCategoryforNumber(int value)intgetNumber()static com.google.protobuf.Internal.EnumLiteMap<InvitationCategory>internalGetValueMap()static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()static InvitationCategoryvalueOf(int value)Deprecated.static InvitationCategoryvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static InvitationCategory[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INVITATION_CATEGORY_UNSET
public static final InvitationCategory INVITATION_CATEGORY_UNSET
INVITATION_CATEGORY_UNSET = 0;
-
INVITATION_CATEGORY_WATCHING
public static final InvitationCategory INVITATION_CATEGORY_WATCHING
INVITATION_CATEGORY_WATCHING = 1;
-
INVITATION_CATEGORY_MESSAGING
public static final InvitationCategory INVITATION_CATEGORY_MESSAGING
INVITATION_CATEGORY_MESSAGING = 2;
-
INVITATION_CATEGORY_VOICING
public static final InvitationCategory INVITATION_CATEGORY_VOICING
INVITATION_CATEGORY_VOICING = 3;
-
INVITATION_CATEGORY_GAMES
public static final InvitationCategory INVITATION_CATEGORY_GAMES
INVITATION_CATEGORY_GAMES = 4;
-
UNRECOGNIZED
public static final InvitationCategory UNRECOGNIZED
-
-
Field Detail
-
INVITATION_CATEGORY_UNSET_VALUE
public static final int INVITATION_CATEGORY_UNSET_VALUE
INVITATION_CATEGORY_UNSET = 0;- See Also:
- Constant Field Values
-
INVITATION_CATEGORY_WATCHING_VALUE
public static final int INVITATION_CATEGORY_WATCHING_VALUE
INVITATION_CATEGORY_WATCHING = 1;- See Also:
- Constant Field Values
-
INVITATION_CATEGORY_MESSAGING_VALUE
public static final int INVITATION_CATEGORY_MESSAGING_VALUE
INVITATION_CATEGORY_MESSAGING = 2;- See Also:
- Constant Field Values
-
INVITATION_CATEGORY_VOICING_VALUE
public static final int INVITATION_CATEGORY_VOICING_VALUE
INVITATION_CATEGORY_VOICING = 3;- See Also:
- Constant Field Values
-
INVITATION_CATEGORY_GAMES_VALUE
public static final int INVITATION_CATEGORY_GAMES_VALUE
INVITATION_CATEGORY_GAMES = 4;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static InvitationCategory[] 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 (InvitationCategory c : InvitationCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InvitationCategory 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 InvitationCategory 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 InvitationCategory forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<InvitationCategory> internalGetValueMap()
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-
-