public static enum LightningApi.HTLCAttempt.HTLCStatus extends java.lang.Enum<LightningApi.HTLCAttempt.HTLCStatus> implements com.google.protobuf.ProtocolMessageEnum
lnrpc.HTLCAttempt.HTLCStatus| Enum Constant and Description |
|---|
FAILED
FAILED = 2; |
IN_FLIGHT
IN_FLIGHT = 0; |
SUCCEEDED
SUCCEEDED = 1; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
FAILED_VALUE
FAILED = 2; |
static int |
IN_FLIGHT_VALUE
IN_FLIGHT = 0; |
static int |
SUCCEEDED_VALUE
SUCCEEDED = 1; |
| Modifier and Type | Method and Description |
|---|---|
static LightningApi.HTLCAttempt.HTLCStatus |
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<LightningApi.HTLCAttempt.HTLCStatus> |
internalGetValueMap() |
static LightningApi.HTLCAttempt.HTLCStatus |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static LightningApi.HTLCAttempt.HTLCStatus |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static LightningApi.HTLCAttempt.HTLCStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LightningApi.HTLCAttempt.HTLCStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LightningApi.HTLCAttempt.HTLCStatus IN_FLIGHT
IN_FLIGHT = 0;public static final LightningApi.HTLCAttempt.HTLCStatus SUCCEEDED
SUCCEEDED = 1;public static final LightningApi.HTLCAttempt.HTLCStatus FAILED
FAILED = 2;public static final LightningApi.HTLCAttempt.HTLCStatus UNRECOGNIZED
public static final int IN_FLIGHT_VALUE
IN_FLIGHT = 0;public static final int SUCCEEDED_VALUE
SUCCEEDED = 1;public static final int FAILED_VALUE
FAILED = 2;public static LightningApi.HTLCAttempt.HTLCStatus[] values()
for (LightningApi.HTLCAttempt.HTLCStatus c : LightningApi.HTLCAttempt.HTLCStatus.values()) System.out.println(c);
public static LightningApi.HTLCAttempt.HTLCStatus 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.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static LightningApi.HTLCAttempt.HTLCStatus valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static LightningApi.HTLCAttempt.HTLCStatus forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<LightningApi.HTLCAttempt.HTLCStatus> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static LightningApi.HTLCAttempt.HTLCStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)