public static enum RemoteMessageProto.Message.MessageType extends Enum<RemoteMessageProto.Message.MessageType> implements com.google.gwt.dev.protobuf.ProtocolMessageEnum
com.google.gwt.dev.shell.remoteui.Message.MessageType
Two types of messages - either a request, or a response
Enum Constant and Description |
---|
FAILURE
FAILURE = 2; |
REQUEST
REQUEST = 0; |
RESPONSE
RESPONSE = 1; |
Modifier and Type | Field and Description |
---|---|
static int |
FAILURE_VALUE
FAILURE = 2; |
static int |
REQUEST_VALUE
REQUEST = 0; |
static int |
RESPONSE_VALUE
RESPONSE = 1; |
Modifier and Type | Method and Description |
---|---|
static com.google.gwt.dev.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.gwt.dev.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.gwt.dev.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.gwt.dev.protobuf.Internal.EnumLiteMap<RemoteMessageProto.Message.MessageType> |
internalGetValueMap() |
static RemoteMessageProto.Message.MessageType |
valueOf(com.google.gwt.dev.protobuf.Descriptors.EnumValueDescriptor desc) |
static RemoteMessageProto.Message.MessageType |
valueOf(int value) |
static RemoteMessageProto.Message.MessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RemoteMessageProto.Message.MessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, createValueOfMap, equals, getDeclaringClass, hashCode, name, obfuscatedName, ordinal, toString, valueOf, valueOf
public static final RemoteMessageProto.Message.MessageType REQUEST
REQUEST = 0;
public static final RemoteMessageProto.Message.MessageType RESPONSE
RESPONSE = 1;
public static final RemoteMessageProto.Message.MessageType FAILURE
FAILURE = 2;
public static final int REQUEST_VALUE
REQUEST = 0;
public static final int RESPONSE_VALUE
RESPONSE = 1;
public static final int FAILURE_VALUE
FAILURE = 2;
public static RemoteMessageProto.Message.MessageType[] values()
for (RemoteMessageProto.Message.MessageType c : RemoteMessageProto.Message.MessageType.values()) System.out.println(c);
public static RemoteMessageProto.Message.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 nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.gwt.dev.protobuf.Internal.EnumLite
getNumber
in interface com.google.gwt.dev.protobuf.ProtocolMessageEnum
public static RemoteMessageProto.Message.MessageType valueOf(int value)
public static com.google.gwt.dev.protobuf.Internal.EnumLiteMap<RemoteMessageProto.Message.MessageType> internalGetValueMap()
public final com.google.gwt.dev.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.gwt.dev.protobuf.ProtocolMessageEnum
public final com.google.gwt.dev.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.gwt.dev.protobuf.ProtocolMessageEnum
public static final com.google.gwt.dev.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static RemoteMessageProto.Message.MessageType valueOf(com.google.gwt.dev.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018. All rights reserved.