public enum Format extends Enum<Format> implements com.google.protobuf.ProtocolMessageEnum
FormatProtobuf enum
io.vertx.tp.ipc.eon.em.Format| Enum Constant and Description |
|---|
BINARY
Binary
|
JSON
Json
|
UNRECOGNIZED |
XML
Xml
|
| Modifier and Type | Field and Description |
|---|---|
static int |
BINARY_VALUE
Binary
|
static int |
JSON_VALUE
Json
|
static int |
XML_VALUE
Xml
|
| Modifier and Type | Method and Description |
|---|---|
static Format |
forNumber(int value) |
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<Format> |
internalGetValueMap() |
static Format |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Format |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Format |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Format BINARY
Binary
BINARY = 0;public static final Format JSON
Json
JSON = 1;public static final Format XML
Xml
XML = 2;public static final Format UNRECOGNIZED
public static final int BINARY_VALUE
Binary
BINARY = 0;public static final int JSON_VALUE
Json
JSON = 1;public static final int XML_VALUE
Xml
XML = 2;public static Format[] values()
for (Format c : Format.values()) System.out.println(c);
public static 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.ProtocolMessageEnum@Deprecated public static Format valueOf(int value)
forNumber(int) instead.public static Format forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<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 Format valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018. All rights reserved.