public static enum UmsProtos.Format extends Enum<UmsProtos.Format> implements com.google.protobuf.ProtocolMessageEnum
| Enum Constant and Description |
|---|
JSON |
PROTOCOL_BUFFER |
XML |
| Modifier and Type | Field and Description |
|---|---|
static int |
JSON_VALUE |
static int |
PROTOCOL_BUFFER_VALUE |
static int |
XML_VALUE |
| Modifier and Type | Method and Description |
|---|---|
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<UmsProtos.Format> |
internalGetValueMap() |
static UmsProtos.Format |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static UmsProtos.Format |
valueOf(int value) |
static UmsProtos.Format |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UmsProtos.Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UmsProtos.Format PROTOCOL_BUFFER
public static final UmsProtos.Format JSON
public static final UmsProtos.Format XML
public static final int PROTOCOL_BUFFER_VALUE
public static final int JSON_VALUE
public static final int XML_VALUE
public static UmsProtos.Format[] values()
for (UmsProtos.Format c : UmsProtos.Format.values()) System.out.println(c);
public static UmsProtos.Format 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.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnumpublic static UmsProtos.Format valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<UmsProtos.Format> 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 UmsProtos.Format valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2012. All Rights Reserved.