public static final class LightningApi.PendingChannelsResponse.ForceClosedChannel extends com.google.protobuf.GeneratedMessageV3 implements LightningApi.PendingChannelsResponse.ForceClosedChannelOrBuilder
lnrpc.PendingChannelsResponse.ForceClosedChannel| Modifier and Type | Class and Description |
|---|---|
static class |
LightningApi.PendingChannelsResponse.ForceClosedChannel.AnchorState
There are three resolution states for the anchor:
limbo, lost and recovered.
|
static class |
LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder
Protobuf type
lnrpc.PendingChannelsResponse.ForceClosedChannel |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ANCHOR_FIELD_NUMBER |
static int |
BLOCKS_TIL_MATURITY_FIELD_NUMBER |
static int |
CHANNEL_FIELD_NUMBER |
static int |
CLOSING_TXID_FIELD_NUMBER |
static int |
LIMBO_BALANCE_FIELD_NUMBER |
static int |
MATURITY_HEIGHT_FIELD_NUMBER |
static int |
PENDING_HTLCS_FIELD_NUMBER |
static int |
RECOVERED_BALANCE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
LightningApi.PendingChannelsResponse.ForceClosedChannel.AnchorState |
getAnchor()
.lnrpc.PendingChannelsResponse.ForceClosedChannel.AnchorState anchor = 9; |
int |
getAnchorValue()
.lnrpc.PendingChannelsResponse.ForceClosedChannel.AnchorState anchor = 9; |
int |
getBlocksTilMaturity()
Remaining # of blocks until the commitment output can be swept.
|
LightningApi.PendingChannelsResponse.PendingChannel |
getChannel()
The pending channel to be force closed
|
LightningApi.PendingChannelsResponse.PendingChannelOrBuilder |
getChannelOrBuilder()
The pending channel to be force closed
|
java.lang.String |
getClosingTxid()
The transaction id of the closing transaction
|
com.google.protobuf.ByteString |
getClosingTxidBytes()
The transaction id of the closing transaction
|
static LightningApi.PendingChannelsResponse.ForceClosedChannel |
getDefaultInstance() |
LightningApi.PendingChannelsResponse.ForceClosedChannel |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getLimboBalance()
The balance in satoshis encumbered in this pending channel
|
int |
getMaturityHeight()
The height at which funds can be swept into the wallet
|
com.google.protobuf.Parser<LightningApi.PendingChannelsResponse.ForceClosedChannel> |
getParserForType() |
LightningApi.PendingHTLC |
getPendingHtlcs(int index)
repeated .lnrpc.PendingHTLC pending_htlcs = 8; |
int |
getPendingHtlcsCount()
repeated .lnrpc.PendingHTLC pending_htlcs = 8; |
java.util.List<LightningApi.PendingHTLC> |
getPendingHtlcsList()
repeated .lnrpc.PendingHTLC pending_htlcs = 8; |
LightningApi.PendingHTLCOrBuilder |
getPendingHtlcsOrBuilder(int index)
repeated .lnrpc.PendingHTLC pending_htlcs = 8; |
java.util.List<? extends LightningApi.PendingHTLCOrBuilder> |
getPendingHtlcsOrBuilderList()
repeated .lnrpc.PendingHTLC pending_htlcs = 8; |
long |
getRecoveredBalance()
The total value of funds successfully recovered from this channel
|
int |
getSerializedSize() |
boolean |
hasChannel()
The pending channel to be force closed
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder |
newBuilder() |
static LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder |
newBuilder(LightningApi.PendingChannelsResponse.ForceClosedChannel prototype) |
LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder |
newBuilderForType() |
protected LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static LightningApi.PendingChannelsResponse.ForceClosedChannel |
parseDelimitedFrom(java.io.InputStream input) |
static LightningApi.PendingChannelsResponse.ForceClosedChannel |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.PendingChannelsResponse.ForceClosedChannel |
parseFrom(byte[] data) |
static LightningApi.PendingChannelsResponse.ForceClosedChannel |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.PendingChannelsResponse.ForceClosedChannel |
parseFrom(java.nio.ByteBuffer data) |
static LightningApi.PendingChannelsResponse.ForceClosedChannel |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.PendingChannelsResponse.ForceClosedChannel |
parseFrom(com.google.protobuf.ByteString data) |
static LightningApi.PendingChannelsResponse.ForceClosedChannel |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.PendingChannelsResponse.ForceClosedChannel |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LightningApi.PendingChannelsResponse.ForceClosedChannel |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.PendingChannelsResponse.ForceClosedChannel |
parseFrom(java.io.InputStream input) |
static LightningApi.PendingChannelsResponse.ForceClosedChannel |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<LightningApi.PendingChannelsResponse.ForceClosedChannel> |
parser() |
LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CHANNEL_FIELD_NUMBER
public static final int CLOSING_TXID_FIELD_NUMBER
public static final int LIMBO_BALANCE_FIELD_NUMBER
public static final int MATURITY_HEIGHT_FIELD_NUMBER
public static final int BLOCKS_TIL_MATURITY_FIELD_NUMBER
public static final int RECOVERED_BALANCE_FIELD_NUMBER
public static final int PENDING_HTLCS_FIELD_NUMBER
public static final int ANCHOR_FIELD_NUMBER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasChannel()
The pending channel to be force closed
.lnrpc.PendingChannelsResponse.PendingChannel channel = 1;hasChannel in interface LightningApi.PendingChannelsResponse.ForceClosedChannelOrBuilderpublic LightningApi.PendingChannelsResponse.PendingChannel getChannel()
The pending channel to be force closed
.lnrpc.PendingChannelsResponse.PendingChannel channel = 1;getChannel in interface LightningApi.PendingChannelsResponse.ForceClosedChannelOrBuilderpublic LightningApi.PendingChannelsResponse.PendingChannelOrBuilder getChannelOrBuilder()
The pending channel to be force closed
.lnrpc.PendingChannelsResponse.PendingChannel channel = 1;getChannelOrBuilder in interface LightningApi.PendingChannelsResponse.ForceClosedChannelOrBuilderpublic java.lang.String getClosingTxid()
The transaction id of the closing transaction
string closing_txid = 2;getClosingTxid in interface LightningApi.PendingChannelsResponse.ForceClosedChannelOrBuilderpublic com.google.protobuf.ByteString getClosingTxidBytes()
The transaction id of the closing transaction
string closing_txid = 2;getClosingTxidBytes in interface LightningApi.PendingChannelsResponse.ForceClosedChannelOrBuilderpublic long getLimboBalance()
The balance in satoshis encumbered in this pending channel
int64 limbo_balance = 3;getLimboBalance in interface LightningApi.PendingChannelsResponse.ForceClosedChannelOrBuilderpublic int getMaturityHeight()
The height at which funds can be swept into the wallet
uint32 maturity_height = 4;getMaturityHeight in interface LightningApi.PendingChannelsResponse.ForceClosedChannelOrBuilderpublic int getBlocksTilMaturity()
Remaining # of blocks until the commitment output can be swept. Negative values indicate how many blocks have passed since becoming mature.
int32 blocks_til_maturity = 5;getBlocksTilMaturity in interface LightningApi.PendingChannelsResponse.ForceClosedChannelOrBuilderpublic long getRecoveredBalance()
The total value of funds successfully recovered from this channel
int64 recovered_balance = 6;getRecoveredBalance in interface LightningApi.PendingChannelsResponse.ForceClosedChannelOrBuilderpublic java.util.List<LightningApi.PendingHTLC> getPendingHtlcsList()
repeated .lnrpc.PendingHTLC pending_htlcs = 8;getPendingHtlcsList in interface LightningApi.PendingChannelsResponse.ForceClosedChannelOrBuilderpublic java.util.List<? extends LightningApi.PendingHTLCOrBuilder> getPendingHtlcsOrBuilderList()
repeated .lnrpc.PendingHTLC pending_htlcs = 8;getPendingHtlcsOrBuilderList in interface LightningApi.PendingChannelsResponse.ForceClosedChannelOrBuilderpublic int getPendingHtlcsCount()
repeated .lnrpc.PendingHTLC pending_htlcs = 8;getPendingHtlcsCount in interface LightningApi.PendingChannelsResponse.ForceClosedChannelOrBuilderpublic LightningApi.PendingHTLC getPendingHtlcs(int index)
repeated .lnrpc.PendingHTLC pending_htlcs = 8;getPendingHtlcs in interface LightningApi.PendingChannelsResponse.ForceClosedChannelOrBuilderpublic LightningApi.PendingHTLCOrBuilder getPendingHtlcsOrBuilder(int index)
repeated .lnrpc.PendingHTLC pending_htlcs = 8;getPendingHtlcsOrBuilder in interface LightningApi.PendingChannelsResponse.ForceClosedChannelOrBuilderpublic int getAnchorValue()
.lnrpc.PendingChannelsResponse.ForceClosedChannel.AnchorState anchor = 9;getAnchorValue in interface LightningApi.PendingChannelsResponse.ForceClosedChannelOrBuilderpublic LightningApi.PendingChannelsResponse.ForceClosedChannel.AnchorState getAnchor()
.lnrpc.PendingChannelsResponse.ForceClosedChannel.AnchorState anchor = 9;getAnchor in interface LightningApi.PendingChannelsResponse.ForceClosedChannelOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static LightningApi.PendingChannelsResponse.ForceClosedChannel parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.PendingChannelsResponse.ForceClosedChannel parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.PendingChannelsResponse.ForceClosedChannel parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.PendingChannelsResponse.ForceClosedChannel parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.PendingChannelsResponse.ForceClosedChannel parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.PendingChannelsResponse.ForceClosedChannel parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.PendingChannelsResponse.ForceClosedChannel parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.PendingChannelsResponse.ForceClosedChannel parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.PendingChannelsResponse.ForceClosedChannel parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.PendingChannelsResponse.ForceClosedChannel parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.PendingChannelsResponse.ForceClosedChannel parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.PendingChannelsResponse.ForceClosedChannel parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder newBuilder()
public static LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder newBuilder(LightningApi.PendingChannelsResponse.ForceClosedChannel prototype)
public LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static LightningApi.PendingChannelsResponse.ForceClosedChannel getDefaultInstance()
public static com.google.protobuf.Parser<LightningApi.PendingChannelsResponse.ForceClosedChannel> parser()
public com.google.protobuf.Parser<LightningApi.PendingChannelsResponse.ForceClosedChannel> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public LightningApi.PendingChannelsResponse.ForceClosedChannel getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder