public static enum RouterOuterClass.HtlcEvent.EventType extends java.lang.Enum<RouterOuterClass.HtlcEvent.EventType> implements com.google.protobuf.ProtocolMessageEnum
routerrpc.HtlcEvent.EventType
Enum Constant and Description |
---|
FORWARD
FORWARD = 3; |
RECEIVE
RECEIVE = 2; |
SEND
SEND = 1; |
UNKNOWN
UNKNOWN = 0; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
FORWARD_VALUE
FORWARD = 3; |
static int |
RECEIVE_VALUE
RECEIVE = 2; |
static int |
SEND_VALUE
SEND = 1; |
static int |
UNKNOWN_VALUE
UNKNOWN = 0; |
Modifier and Type | Method and Description |
---|---|
static RouterOuterClass.HtlcEvent.EventType |
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 com.google.protobuf.Internal.EnumLiteMap<RouterOuterClass.HtlcEvent.EventType> |
internalGetValueMap() |
static RouterOuterClass.HtlcEvent.EventType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RouterOuterClass.HtlcEvent.EventType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RouterOuterClass.HtlcEvent.EventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RouterOuterClass.HtlcEvent.EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RouterOuterClass.HtlcEvent.EventType UNKNOWN
UNKNOWN = 0;
public static final RouterOuterClass.HtlcEvent.EventType SEND
SEND = 1;
public static final RouterOuterClass.HtlcEvent.EventType RECEIVE
RECEIVE = 2;
public static final RouterOuterClass.HtlcEvent.EventType FORWARD
FORWARD = 3;
public static final RouterOuterClass.HtlcEvent.EventType UNRECOGNIZED
public static final int UNKNOWN_VALUE
UNKNOWN = 0;
public static final int SEND_VALUE
SEND = 1;
public static final int RECEIVE_VALUE
RECEIVE = 2;
public static final int FORWARD_VALUE
FORWARD = 3;
public static RouterOuterClass.HtlcEvent.EventType[] values()
for (RouterOuterClass.HtlcEvent.EventType c : RouterOuterClass.HtlcEvent.EventType.values()) System.out.println(c);
public static RouterOuterClass.HtlcEvent.EventType 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()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static RouterOuterClass.HtlcEvent.EventType valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static RouterOuterClass.HtlcEvent.EventType forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<RouterOuterClass.HtlcEvent.EventType> 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 RouterOuterClass.HtlcEvent.EventType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)