public static final class LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder> implements LightningApi.PendingChannelsResponse.ForceClosedChannelOrBuilder
lnrpc.PendingChannelsResponse.ForceClosedChanneladdRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder>public LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder>public LightningApi.PendingChannelsResponse.ForceClosedChannel getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.PendingChannelsResponse.ForceClosedChannel build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.PendingChannelsResponse.ForceClosedChannel buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder>public LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder mergeFrom(LightningApi.PendingChannelsResponse.ForceClosedChannel other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder>public LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder>java.io.IOExceptionpublic 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.ForceClosedChannel.Builder setChannel(LightningApi.PendingChannelsResponse.PendingChannel value)
The pending channel to be force closed
.lnrpc.PendingChannelsResponse.PendingChannel channel = 1;public LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder setChannel(LightningApi.PendingChannelsResponse.PendingChannel.Builder builderForValue)
The pending channel to be force closed
.lnrpc.PendingChannelsResponse.PendingChannel channel = 1;public LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder mergeChannel(LightningApi.PendingChannelsResponse.PendingChannel value)
The pending channel to be force closed
.lnrpc.PendingChannelsResponse.PendingChannel channel = 1;public LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder clearChannel()
The pending channel to be force closed
.lnrpc.PendingChannelsResponse.PendingChannel channel = 1;public LightningApi.PendingChannelsResponse.PendingChannel.Builder getChannelBuilder()
The pending channel to be force closed
.lnrpc.PendingChannelsResponse.PendingChannel channel = 1;public 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 LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder setClosingTxid(java.lang.String value)
The transaction id of the closing transaction
string closing_txid = 2;value - The closingTxid to set.public LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder clearClosingTxid()
The transaction id of the closing transaction
string closing_txid = 2;public LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder setClosingTxidBytes(com.google.protobuf.ByteString value)
The transaction id of the closing transaction
string closing_txid = 2;value - The bytes for closingTxid to set.public long getLimboBalance()
The balance in satoshis encumbered in this pending channel
int64 limbo_balance = 3;getLimboBalance in interface LightningApi.PendingChannelsResponse.ForceClosedChannelOrBuilderpublic LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder setLimboBalance(long value)
The balance in satoshis encumbered in this pending channel
int64 limbo_balance = 3;value - The limboBalance to set.public LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder clearLimboBalance()
The balance in satoshis encumbered in this pending channel
int64 limbo_balance = 3;public int getMaturityHeight()
The height at which funds can be swept into the wallet
uint32 maturity_height = 4;getMaturityHeight in interface LightningApi.PendingChannelsResponse.ForceClosedChannelOrBuilderpublic LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder setMaturityHeight(int value)
The height at which funds can be swept into the wallet
uint32 maturity_height = 4;value - The maturityHeight to set.public LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder clearMaturityHeight()
The height at which funds can be swept into the wallet
uint32 maturity_height = 4;public 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 LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder setBlocksTilMaturity(int value)
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;value - The blocksTilMaturity to set.public LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder clearBlocksTilMaturity()
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;public long getRecoveredBalance()
The total value of funds successfully recovered from this channel
int64 recovered_balance = 6;getRecoveredBalance in interface LightningApi.PendingChannelsResponse.ForceClosedChannelOrBuilderpublic LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder setRecoveredBalance(long value)
The total value of funds successfully recovered from this channel
int64 recovered_balance = 6;value - The recoveredBalance to set.public LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder clearRecoveredBalance()
The total value of funds successfully recovered from this channel
int64 recovered_balance = 6;public java.util.List<LightningApi.PendingHTLC> getPendingHtlcsList()
repeated .lnrpc.PendingHTLC pending_htlcs = 8;getPendingHtlcsList 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.PendingChannelsResponse.ForceClosedChannel.Builder setPendingHtlcs(int index, LightningApi.PendingHTLC value)
repeated .lnrpc.PendingHTLC pending_htlcs = 8;public LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder setPendingHtlcs(int index, LightningApi.PendingHTLC.Builder builderForValue)
repeated .lnrpc.PendingHTLC pending_htlcs = 8;public LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder addPendingHtlcs(LightningApi.PendingHTLC value)
repeated .lnrpc.PendingHTLC pending_htlcs = 8;public LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder addPendingHtlcs(int index, LightningApi.PendingHTLC value)
repeated .lnrpc.PendingHTLC pending_htlcs = 8;public LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder addPendingHtlcs(LightningApi.PendingHTLC.Builder builderForValue)
repeated .lnrpc.PendingHTLC pending_htlcs = 8;public LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder addPendingHtlcs(int index, LightningApi.PendingHTLC.Builder builderForValue)
repeated .lnrpc.PendingHTLC pending_htlcs = 8;public LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder addAllPendingHtlcs(java.lang.Iterable<? extends LightningApi.PendingHTLC> values)
repeated .lnrpc.PendingHTLC pending_htlcs = 8;public LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder clearPendingHtlcs()
repeated .lnrpc.PendingHTLC pending_htlcs = 8;public LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder removePendingHtlcs(int index)
repeated .lnrpc.PendingHTLC pending_htlcs = 8;public LightningApi.PendingHTLC.Builder getPendingHtlcsBuilder(int index)
repeated .lnrpc.PendingHTLC pending_htlcs = 8;public LightningApi.PendingHTLCOrBuilder getPendingHtlcsOrBuilder(int index)
repeated .lnrpc.PendingHTLC pending_htlcs = 8;getPendingHtlcsOrBuilder in interface LightningApi.PendingChannelsResponse.ForceClosedChannelOrBuilderpublic java.util.List<? extends LightningApi.PendingHTLCOrBuilder> getPendingHtlcsOrBuilderList()
repeated .lnrpc.PendingHTLC pending_htlcs = 8;getPendingHtlcsOrBuilderList in interface LightningApi.PendingChannelsResponse.ForceClosedChannelOrBuilderpublic LightningApi.PendingHTLC.Builder addPendingHtlcsBuilder()
repeated .lnrpc.PendingHTLC pending_htlcs = 8;public LightningApi.PendingHTLC.Builder addPendingHtlcsBuilder(int index)
repeated .lnrpc.PendingHTLC pending_htlcs = 8;public java.util.List<LightningApi.PendingHTLC.Builder> getPendingHtlcsBuilderList()
repeated .lnrpc.PendingHTLC pending_htlcs = 8;public int getAnchorValue()
.lnrpc.PendingChannelsResponse.ForceClosedChannel.AnchorState anchor = 9;getAnchorValue in interface LightningApi.PendingChannelsResponse.ForceClosedChannelOrBuilderpublic LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder setAnchorValue(int value)
.lnrpc.PendingChannelsResponse.ForceClosedChannel.AnchorState anchor = 9;value - The enum numeric value on the wire for anchor to set.public LightningApi.PendingChannelsResponse.ForceClosedChannel.AnchorState getAnchor()
.lnrpc.PendingChannelsResponse.ForceClosedChannel.AnchorState anchor = 9;getAnchor in interface LightningApi.PendingChannelsResponse.ForceClosedChannelOrBuilderpublic LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder setAnchor(LightningApi.PendingChannelsResponse.ForceClosedChannel.AnchorState value)
.lnrpc.PendingChannelsResponse.ForceClosedChannel.AnchorState anchor = 9;value - The anchor to set.public LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder clearAnchor()
.lnrpc.PendingChannelsResponse.ForceClosedChannel.AnchorState anchor = 9;public final LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder>public final LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder>