|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<MessageEnvelope.Envelope.MessageType>
com.googlecode.mobilityrpc.protocol.protobuf.MessageEnvelope.Envelope.MessageType
public static enum MessageEnvelope.Envelope.MessageType
Protobuf enum com.googlecode.mobilityrpc.protocol.protobuf.Envelope.MessageType
| Enum Constant Summary | |
|---|---|
EXECUTION_REQUEST
EXECUTION_REQUEST = 1; |
|
EXECUTION_RESPONSE
EXECUTION_RESPONSE = 2; |
|
PING
PING = 5; |
|
PONG
PONG = 6; |
|
RESOURCE_REQUEST
RESOURCE_REQUEST = 3; |
|
RESOURCE_RESPONSE
RESOURCE_RESPONSE = 4; |
|
| Field Summary | |
|---|---|
static int |
EXECUTION_REQUEST_VALUE
EXECUTION_REQUEST = 1; |
static int |
EXECUTION_RESPONSE_VALUE
EXECUTION_RESPONSE = 2; |
static int |
PING_VALUE
PING = 5; |
static int |
PONG_VALUE
PONG = 6; |
static int |
RESOURCE_REQUEST_VALUE
RESOURCE_REQUEST = 3; |
static int |
RESOURCE_RESPONSE_VALUE
RESOURCE_RESPONSE = 4; |
| Method Summary | |
|---|---|
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor()
|
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType()
|
int |
getNumber()
|
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor()
|
static com.google.protobuf.Internal.EnumLiteMap<MessageEnvelope.Envelope.MessageType> |
internalGetValueMap()
|
static MessageEnvelope.Envelope.MessageType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
|
static MessageEnvelope.Envelope.MessageType |
valueOf(int value)
|
static MessageEnvelope.Envelope.MessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static MessageEnvelope.Envelope.MessageType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final MessageEnvelope.Envelope.MessageType EXECUTION_REQUEST
EXECUTION_REQUEST = 1;
public static final MessageEnvelope.Envelope.MessageType EXECUTION_RESPONSE
EXECUTION_RESPONSE = 2;
public static final MessageEnvelope.Envelope.MessageType RESOURCE_REQUEST
RESOURCE_REQUEST = 3;
public static final MessageEnvelope.Envelope.MessageType RESOURCE_RESPONSE
RESOURCE_RESPONSE = 4;
public static final MessageEnvelope.Envelope.MessageType PING
PING = 5;
public static final MessageEnvelope.Envelope.MessageType PONG
PONG = 6;
| Field Detail |
|---|
public static final int EXECUTION_REQUEST_VALUE
EXECUTION_REQUEST = 1;
public static final int EXECUTION_RESPONSE_VALUE
EXECUTION_RESPONSE = 2;
public static final int RESOURCE_REQUEST_VALUE
RESOURCE_REQUEST = 3;
public static final int RESOURCE_RESPONSE_VALUE
RESOURCE_RESPONSE = 4;
public static final int PING_VALUE
PING = 5;
public static final int PONG_VALUE
PONG = 6;
| Method Detail |
|---|
public static MessageEnvelope.Envelope.MessageType[] values()
for (MessageEnvelope.Envelope.MessageType c : MessageEnvelope.Envelope.MessageType.values()) System.out.println(c);
public static MessageEnvelope.Envelope.MessageType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnumpublic static MessageEnvelope.Envelope.MessageType valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<MessageEnvelope.Envelope.MessageType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static MessageEnvelope.Envelope.MessageType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||