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