Package com.heroiclabs.nakama.rtapi
Enum Class Envelope.MessageCase
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,Serializable
,Comparable<Envelope.MessageCase>
,Constable
- Enclosing class:
- Envelope
public static enum Envelope.MessageCase
extends Enum<Envelope.MessageCase>
implements com.google.protobuf.Internal.EnumLite
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic Envelope.MessageCase
forNumber
(int value) int
static Envelope.MessageCase
valueOf
(int value) Deprecated.static Envelope.MessageCase
Returns the enum constant of this class with the specified name.static Envelope.MessageCase[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CHANNEL
-
CHANNEL_JOIN
-
CHANNEL_LEAVE
-
CHANNEL_MESSAGE
-
CHANNEL_MESSAGE_ACK
-
CHANNEL_MESSAGE_SEND
-
CHANNEL_MESSAGE_UPDATE
-
CHANNEL_MESSAGE_REMOVE
-
CHANNEL_PRESENCE_EVENT
-
ERROR
-
MATCH
-
MATCH_CREATE
-
MATCH_DATA
-
MATCH_DATA_SEND
-
MATCH_JOIN
-
MATCH_LEAVE
-
MATCH_PRESENCE_EVENT
-
MATCHMAKER_ADD
-
MATCHMAKER_MATCHED
-
MATCHMAKER_REMOVE
-
MATCHMAKER_TICKET
-
NOTIFICATIONS
-
RPC
-
STATUS
-
STATUS_FOLLOW
-
STATUS_PRESENCE_EVENT
-
STATUS_UNFOLLOW
-
STATUS_UPDATE
-
STREAM_DATA
-
STREAM_PRESENCE_EVENT
-
PING
-
PONG
-
MESSAGE_NOT_SET
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
-
getNumber
public int getNumber()- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-