public static enum RouterOuterClass.HtlcEvent.EventCase extends java.lang.Enum<RouterOuterClass.HtlcEvent.EventCase> implements com.google.protobuf.Internal.EnumLite
Enum Constant and Description |
---|
EVENT_NOT_SET |
FINAL_HTLC_EVENT |
FORWARD_EVENT |
FORWARD_FAIL_EVENT |
LINK_FAIL_EVENT |
SETTLE_EVENT |
SUBSCRIBED_EVENT |
Modifier and Type | Method and Description |
---|---|
static RouterOuterClass.HtlcEvent.EventCase |
forNumber(int value) |
int |
getNumber() |
static RouterOuterClass.HtlcEvent.EventCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RouterOuterClass.HtlcEvent.EventCase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RouterOuterClass.HtlcEvent.EventCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RouterOuterClass.HtlcEvent.EventCase FORWARD_EVENT
public static final RouterOuterClass.HtlcEvent.EventCase FORWARD_FAIL_EVENT
public static final RouterOuterClass.HtlcEvent.EventCase SETTLE_EVENT
public static final RouterOuterClass.HtlcEvent.EventCase LINK_FAIL_EVENT
public static final RouterOuterClass.HtlcEvent.EventCase SUBSCRIBED_EVENT
public static final RouterOuterClass.HtlcEvent.EventCase FINAL_HTLC_EVENT
public static final RouterOuterClass.HtlcEvent.EventCase EVENT_NOT_SET
public static RouterOuterClass.HtlcEvent.EventCase[] values()
for (RouterOuterClass.HtlcEvent.EventCase c : RouterOuterClass.HtlcEvent.EventCase.values()) System.out.println(c);
public static RouterOuterClass.HtlcEvent.EventCase 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 null@Deprecated public static RouterOuterClass.HtlcEvent.EventCase valueOf(int value)
forNumber(int)
instead.value
- The number of the enum to look for.public static RouterOuterClass.HtlcEvent.EventCase forNumber(int value)
public int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite