public static enum BinaryMessages.DynamicField.Type extends java.lang.Enum<BinaryMessages.DynamicField.Type>
openxc.DynamicField.Type| Enum Constant and Description |
|---|
BOOL
BOOL = 3; |
NUM
NUM = 2; |
STRING
STRING = 1; |
UNRECOGNIZED |
UNUSED
UNUSED = 0; |
| Modifier and Type | Field and Description |
|---|---|
static int |
BOOL_VALUE
BOOL = 3; |
static int |
NUM_VALUE
NUM = 2; |
static int |
STRING_VALUE
STRING = 1; |
static int |
UNUSED_VALUE
UNUSED = 0; |
| Modifier and Type | Method and Description |
|---|---|
static BinaryMessages.DynamicField.Type |
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.DynamicField.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static BinaryMessages.DynamicField.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static BinaryMessages.DynamicField.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BinaryMessages.DynamicField.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BinaryMessages.DynamicField.Type UNUSED
UNUSED = 0;public static final BinaryMessages.DynamicField.Type STRING
STRING = 1;public static final BinaryMessages.DynamicField.Type NUM
NUM = 2;public static final BinaryMessages.DynamicField.Type BOOL
BOOL = 3;public static final BinaryMessages.DynamicField.Type UNRECOGNIZED
public static final int UNUSED_VALUE
UNUSED = 0;public static final int STRING_VALUE
STRING = 1;public static final int NUM_VALUE
NUM = 2;public static final int BOOL_VALUE
BOOL = 3;public static BinaryMessages.DynamicField.Type[] values()
for (BinaryMessages.DynamicField.Type c : BinaryMessages.DynamicField.Type.values()) System.out.println(c);
public static BinaryMessages.DynamicField.Type 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.DynamicField.Type valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static BinaryMessages.DynamicField.Type 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.DynamicField.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)