public static enum Ola.RDMResponseType extends Enum<Ola.RDMResponseType> implements com.google.protobuf.ProtocolMessageEnum
ola.proto.RDMResponseType
The valid Response Types when the response_code is RDM_COMPLETED_OK. ACK_OVERFLOW isn't in this list because overflows are handed by the plugins, not the clients.
Enum Constant and Description |
---|
RDM_ACK
RDM_ACK = 0; |
RDM_ACK_TIMER
RDM_ACK_TIMER = 1; |
RDM_NACK_REASON
RDM_NACK_REASON = 2; |
Modifier and Type | Field and Description |
---|---|
static int |
RDM_ACK_TIMER_VALUE
RDM_ACK_TIMER = 1; |
static int |
RDM_ACK_VALUE
RDM_ACK = 0; |
static int |
RDM_NACK_REASON_VALUE
RDM_NACK_REASON = 2; |
Modifier and Type | Method and Description |
---|---|
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<Ola.RDMResponseType> |
internalGetValueMap() |
static Ola.RDMResponseType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Ola.RDMResponseType |
valueOf(int value) |
static Ola.RDMResponseType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Ola.RDMResponseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Ola.RDMResponseType RDM_ACK
RDM_ACK = 0;
public static final Ola.RDMResponseType RDM_ACK_TIMER
RDM_ACK_TIMER = 1;
public static final Ola.RDMResponseType RDM_NACK_REASON
RDM_NACK_REASON = 2;
OVERFLOW can never be returned
public static final int RDM_ACK_VALUE
RDM_ACK = 0;
public static final int RDM_ACK_TIMER_VALUE
RDM_ACK_TIMER = 1;
public static final int RDM_NACK_REASON_VALUE
RDM_NACK_REASON = 2;
OVERFLOW can never be returned
public static Ola.RDMResponseType[] values()
for (Ola.RDMResponseType c : Ola.RDMResponseType.values()) System.out.println(c);
public static Ola.RDMResponseType 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.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
public static Ola.RDMResponseType valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Ola.RDMResponseType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Ola.RDMResponseType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2016. All rights reserved.