public static enum Envelope.MessageCase extends java.lang.Enum<Envelope.MessageCase> implements com.google.protobuf.Internal.EnumLite
Modifier and Type | Method and Description |
---|---|
static Envelope.MessageCase |
forNumber(int value) |
int |
getNumber() |
static Envelope.MessageCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Envelope.MessageCase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Envelope.MessageCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Envelope.MessageCase CHANNEL
public static final Envelope.MessageCase CHANNEL_JOIN
public static final Envelope.MessageCase CHANNEL_LEAVE
public static final Envelope.MessageCase CHANNEL_MESSAGE
public static final Envelope.MessageCase CHANNEL_MESSAGE_ACK
public static final Envelope.MessageCase CHANNEL_MESSAGE_SEND
public static final Envelope.MessageCase CHANNEL_MESSAGE_UPDATE
public static final Envelope.MessageCase CHANNEL_MESSAGE_REMOVE
public static final Envelope.MessageCase CHANNEL_PRESENCE_EVENT
public static final Envelope.MessageCase ERROR
public static final Envelope.MessageCase MATCH
public static final Envelope.MessageCase MATCH_CREATE
public static final Envelope.MessageCase MATCH_DATA
public static final Envelope.MessageCase MATCH_DATA_SEND
public static final Envelope.MessageCase MATCH_JOIN
public static final Envelope.MessageCase MATCH_LEAVE
public static final Envelope.MessageCase MATCH_PRESENCE_EVENT
public static final Envelope.MessageCase MATCHMAKER_ADD
public static final Envelope.MessageCase MATCHMAKER_MATCHED
public static final Envelope.MessageCase MATCHMAKER_REMOVE
public static final Envelope.MessageCase MATCHMAKER_TICKET
public static final Envelope.MessageCase NOTIFICATIONS
public static final Envelope.MessageCase RPC
public static final Envelope.MessageCase STATUS
public static final Envelope.MessageCase STATUS_FOLLOW
public static final Envelope.MessageCase STATUS_PRESENCE_EVENT
public static final Envelope.MessageCase STATUS_UNFOLLOW
public static final Envelope.MessageCase STATUS_UPDATE
public static final Envelope.MessageCase STREAM_DATA
public static final Envelope.MessageCase STREAM_PRESENCE_EVENT
public static final Envelope.MessageCase PING
public static final Envelope.MessageCase PONG
public static final Envelope.MessageCase PARTY
public static final Envelope.MessageCase PARTY_CREATE
public static final Envelope.MessageCase PARTY_JOIN
public static final Envelope.MessageCase PARTY_LEAVE
public static final Envelope.MessageCase PARTY_PROMOTE
public static final Envelope.MessageCase PARTY_LEADER
public static final Envelope.MessageCase PARTY_ACCEPT
public static final Envelope.MessageCase PARTY_REMOVE
public static final Envelope.MessageCase PARTY_CLOSE
public static final Envelope.MessageCase PARTY_JOIN_REQUEST_LIST
public static final Envelope.MessageCase PARTY_JOIN_REQUEST
public static final Envelope.MessageCase PARTY_MATCHMAKER_ADD
public static final Envelope.MessageCase PARTY_MATCHMAKER_REMOVE
public static final Envelope.MessageCase PARTY_MATCHMAKER_TICKET
public static final Envelope.MessageCase PARTY_DATA
public static final Envelope.MessageCase PARTY_DATA_SEND
public static final Envelope.MessageCase PARTY_PRESENCE_EVENT
public static final Envelope.MessageCase MESSAGE_NOT_SET
public static Envelope.MessageCase[] values()
for (Envelope.MessageCase c : Envelope.MessageCase.values()) System.out.println(c);
public static Envelope.MessageCase valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@Deprecated public static Envelope.MessageCase valueOf(int value)
forNumber(int)
instead.value
- The number of the enum to look for.public static Envelope.MessageCase forNumber(int value)
public int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite