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