public static final class LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder> implements LightningApi.PendingChannelsResponse.ForceClosedChannelOrBuilder
lnrpc.PendingChannelsResponse.ForceClosedChannel
addRepeatedField, 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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
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.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder>
public LightningApi.PendingChannelsResponse.ForceClosedChannel getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public LightningApi.PendingChannelsResponse.ForceClosedChannel build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.PendingChannelsResponse.ForceClosedChannel buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder>
java.io.IOException
public boolean hasChannel()
The pending channel to be force closed
.lnrpc.PendingChannelsResponse.PendingChannel channel = 1;
hasChannel
in interface LightningApi.PendingChannelsResponse.ForceClosedChannelOrBuilder
public LightningApi.PendingChannelsResponse.PendingChannel getChannel()
The pending channel to be force closed
.lnrpc.PendingChannelsResponse.PendingChannel channel = 1;
getChannel
in interface LightningApi.PendingChannelsResponse.ForceClosedChannelOrBuilder
public 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.ForceClosedChannelOrBuilder
public java.lang.String getClosingTxid()
The transaction id of the closing transaction
string closing_txid = 2;
getClosingTxid
in interface LightningApi.PendingChannelsResponse.ForceClosedChannelOrBuilder
public com.google.protobuf.ByteString getClosingTxidBytes()
The transaction id of the closing transaction
string closing_txid = 2;
getClosingTxidBytes
in interface LightningApi.PendingChannelsResponse.ForceClosedChannelOrBuilder
public 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.ForceClosedChannelOrBuilder
public 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.ForceClosedChannelOrBuilder
public 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.ForceClosedChannelOrBuilder
public 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.ForceClosedChannelOrBuilder
public 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.ForceClosedChannelOrBuilder
public int getPendingHtlcsCount()
repeated .lnrpc.PendingHTLC pending_htlcs = 8;
getPendingHtlcsCount
in interface LightningApi.PendingChannelsResponse.ForceClosedChannelOrBuilder
public LightningApi.PendingHTLC getPendingHtlcs(int index)
repeated .lnrpc.PendingHTLC pending_htlcs = 8;
getPendingHtlcs
in interface LightningApi.PendingChannelsResponse.ForceClosedChannelOrBuilder
public 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.ForceClosedChannelOrBuilder
public java.util.List<? extends LightningApi.PendingHTLCOrBuilder> getPendingHtlcsOrBuilderList()
repeated .lnrpc.PendingHTLC pending_htlcs = 8;
getPendingHtlcsOrBuilderList
in interface LightningApi.PendingChannelsResponse.ForceClosedChannelOrBuilder
public 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.ForceClosedChannelOrBuilder
public 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.ForceClosedChannelOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.PendingChannelsResponse.ForceClosedChannel.Builder>