public static enum RemoteMessageProto.Message.Request.ServiceType extends Enum<RemoteMessageProto.Message.Request.ServiceType> implements com.google.gwt.dev.protobuf.ProtocolMessageEnum
com.google.gwt.dev.shell.remoteui.Message.Request.ServiceType
Every request must be addressed to a service. The two types of services are the ViewerService, and the DevModeService. The ViewerService accepts commands for a Viewer. The DevModeService accepts requests for the Development Mode Server.
Enum Constant and Description |
---|
DEV_MODE
DEV_MODE = 1; |
VIEWER
VIEWER = 0; |
Modifier and Type | Field and Description |
---|---|
static int |
DEV_MODE_VALUE
DEV_MODE = 1; |
static int |
VIEWER_VALUE
VIEWER = 0; |
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.Request.ServiceType> |
internalGetValueMap() |
static RemoteMessageProto.Message.Request.ServiceType |
valueOf(com.google.gwt.dev.protobuf.Descriptors.EnumValueDescriptor desc) |
static RemoteMessageProto.Message.Request.ServiceType |
valueOf(int value) |
static RemoteMessageProto.Message.Request.ServiceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RemoteMessageProto.Message.Request.ServiceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RemoteMessageProto.Message.Request.ServiceType VIEWER
VIEWER = 0;
public static final RemoteMessageProto.Message.Request.ServiceType DEV_MODE
DEV_MODE = 1;
public static final int VIEWER_VALUE
VIEWER = 0;
public static final int DEV_MODE_VALUE
DEV_MODE = 1;
public static RemoteMessageProto.Message.Request.ServiceType[] values()
for (RemoteMessageProto.Message.Request.ServiceType c : RemoteMessageProto.Message.Request.ServiceType.values()) System.out.println(c);
public static RemoteMessageProto.Message.Request.ServiceType 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.Request.ServiceType valueOf(int value)
public static com.google.gwt.dev.protobuf.Internal.EnumLiteMap<RemoteMessageProto.Message.Request.ServiceType> 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.Request.ServiceType valueOf(com.google.gwt.dev.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018. All rights reserved.