public static enum LightningApi.ResolutionType extends java.lang.Enum<LightningApi.ResolutionType> implements com.google.protobuf.ProtocolMessageEnum
lnrpc.ResolutionType
Enum Constant and Description |
---|
ANCHOR
We resolved an anchor output.
|
COMMIT
We force closed and need to sweep our time locked commitment output.
|
INCOMING_HTLC
We are resolving an incoming htlc on chain.
|
OUTGOING_HTLC
We are resolving an outgoing htlc on chain.
|
TYPE_UNKNOWN
TYPE_UNKNOWN = 0; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
ANCHOR_VALUE
We resolved an anchor output.
|
static int |
COMMIT_VALUE
We force closed and need to sweep our time locked commitment output.
|
static int |
INCOMING_HTLC_VALUE
We are resolving an incoming htlc on chain.
|
static int |
OUTGOING_HTLC_VALUE
We are resolving an outgoing htlc on chain.
|
static int |
TYPE_UNKNOWN_VALUE
TYPE_UNKNOWN = 0; |
Modifier and Type | Method and Description |
---|---|
static LightningApi.ResolutionType |
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.ResolutionType> |
internalGetValueMap() |
static LightningApi.ResolutionType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static LightningApi.ResolutionType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static LightningApi.ResolutionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LightningApi.ResolutionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LightningApi.ResolutionType TYPE_UNKNOWN
TYPE_UNKNOWN = 0;
public static final LightningApi.ResolutionType ANCHOR
We resolved an anchor output.
ANCHOR = 1;
public static final LightningApi.ResolutionType INCOMING_HTLC
We are resolving an incoming htlc on chain. This if this htlc is claimed, we swept the incoming htlc with the preimage. If it is timed out, our peer swept the timeout path.
INCOMING_HTLC = 2;
public static final LightningApi.ResolutionType OUTGOING_HTLC
We are resolving an outgoing htlc on chain. If this htlc is claimed, the remote party swept the htlc with the preimage. If it is timed out, we swept it with the timeout path.
OUTGOING_HTLC = 3;
public static final LightningApi.ResolutionType COMMIT
We force closed and need to sweep our time locked commitment output.
COMMIT = 4;
public static final LightningApi.ResolutionType UNRECOGNIZED
public static final int TYPE_UNKNOWN_VALUE
TYPE_UNKNOWN = 0;
public static final int ANCHOR_VALUE
We resolved an anchor output.
ANCHOR = 1;
public static final int INCOMING_HTLC_VALUE
We are resolving an incoming htlc on chain. This if this htlc is claimed, we swept the incoming htlc with the preimage. If it is timed out, our peer swept the timeout path.
INCOMING_HTLC = 2;
public static final int OUTGOING_HTLC_VALUE
We are resolving an outgoing htlc on chain. If this htlc is claimed, the remote party swept the htlc with the preimage. If it is timed out, we swept it with the timeout path.
OUTGOING_HTLC = 3;
public static final int COMMIT_VALUE
We force closed and need to sweep our time locked commitment output.
COMMIT = 4;
public static LightningApi.ResolutionType[] values()
for (LightningApi.ResolutionType c : LightningApi.ResolutionType.values()) System.out.println(c);
public static LightningApi.ResolutionType 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 LightningApi.ResolutionType valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static LightningApi.ResolutionType forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<LightningApi.ResolutionType> 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 LightningApi.ResolutionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)