public static enum BinaryMessages.PayloadFormatCommand.PayloadFormat extends java.lang.Enum<BinaryMessages.PayloadFormatCommand.PayloadFormat>
openxc.PayloadFormatCommand.PayloadFormat| Enum Constant and Description |
|---|
JSON
JSON = 1; |
MESSAGEPACK
MESSAGEPACK = 3; |
PROTOBUF
PROTOBUF = 2; |
UNRECOGNIZED |
UNUSED
UNUSED = 0; |
| Modifier and Type | Field and Description |
|---|---|
static int |
JSON_VALUE
JSON = 1; |
static int |
MESSAGEPACK_VALUE
MESSAGEPACK = 3; |
static int |
PROTOBUF_VALUE
PROTOBUF = 2; |
static int |
UNUSED_VALUE
UNUSED = 0; |
| Modifier and Type | Method and Description |
|---|---|
static BinaryMessages.PayloadFormatCommand.PayloadFormat |
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 <any> |
internalGetValueMap() |
static BinaryMessages.PayloadFormatCommand.PayloadFormat |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static BinaryMessages.PayloadFormatCommand.PayloadFormat |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static BinaryMessages.PayloadFormatCommand.PayloadFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BinaryMessages.PayloadFormatCommand.PayloadFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BinaryMessages.PayloadFormatCommand.PayloadFormat UNUSED
UNUSED = 0;public static final BinaryMessages.PayloadFormatCommand.PayloadFormat JSON
JSON = 1;public static final BinaryMessages.PayloadFormatCommand.PayloadFormat PROTOBUF
PROTOBUF = 2;public static final BinaryMessages.PayloadFormatCommand.PayloadFormat MESSAGEPACK
MESSAGEPACK = 3;public static final BinaryMessages.PayloadFormatCommand.PayloadFormat UNRECOGNIZED
public static final int UNUSED_VALUE
UNUSED = 0;public static final int JSON_VALUE
JSON = 1;public static final int PROTOBUF_VALUE
PROTOBUF = 2;public static final int MESSAGEPACK_VALUE
MESSAGEPACK = 3;public static BinaryMessages.PayloadFormatCommand.PayloadFormat[] values()
for (BinaryMessages.PayloadFormatCommand.PayloadFormat c : BinaryMessages.PayloadFormatCommand.PayloadFormat.values()) System.out.println(c);
public static BinaryMessages.PayloadFormatCommand.PayloadFormat valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic final int getNumber()
@Deprecated public static BinaryMessages.PayloadFormatCommand.PayloadFormat valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static BinaryMessages.PayloadFormatCommand.PayloadFormat forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static <any> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static BinaryMessages.PayloadFormatCommand.PayloadFormat valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)