public static final class LightningApi.ChannelCloseSummary.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ChannelCloseSummary.Builder> implements LightningApi.ChannelCloseSummaryOrBuilder
lnrpc.ChannelCloseSummary
Modifier and Type | Method and Description |
---|---|
LightningApi.ChannelCloseSummary.Builder |
addAliasScids(long value)
This lists out the set of alias short channel ids that existed for the
closed channel.
|
LightningApi.ChannelCloseSummary.Builder |
addAllAliasScids(java.lang.Iterable<? extends java.lang.Long> values)
This lists out the set of alias short channel ids that existed for the
closed channel.
|
LightningApi.ChannelCloseSummary.Builder |
addAllResolutions(java.lang.Iterable<? extends LightningApi.Resolution> values)
repeated .lnrpc.Resolution resolutions = 13; |
LightningApi.ChannelCloseSummary.Builder |
addResolutions(int index,
LightningApi.Resolution.Builder builderForValue)
repeated .lnrpc.Resolution resolutions = 13; |
LightningApi.ChannelCloseSummary.Builder |
addResolutions(int index,
LightningApi.Resolution value)
repeated .lnrpc.Resolution resolutions = 13; |
LightningApi.ChannelCloseSummary.Builder |
addResolutions(LightningApi.Resolution.Builder builderForValue)
repeated .lnrpc.Resolution resolutions = 13; |
LightningApi.ChannelCloseSummary.Builder |
addResolutions(LightningApi.Resolution value)
repeated .lnrpc.Resolution resolutions = 13; |
LightningApi.Resolution.Builder |
addResolutionsBuilder()
repeated .lnrpc.Resolution resolutions = 13; |
LightningApi.Resolution.Builder |
addResolutionsBuilder(int index)
repeated .lnrpc.Resolution resolutions = 13; |
LightningApi.ChannelCloseSummary |
build() |
LightningApi.ChannelCloseSummary |
buildPartial() |
LightningApi.ChannelCloseSummary.Builder |
clear() |
LightningApi.ChannelCloseSummary.Builder |
clearAliasScids()
This lists out the set of alias short channel ids that existed for the
closed channel.
|
LightningApi.ChannelCloseSummary.Builder |
clearCapacity()
Total capacity of the channel.
|
LightningApi.ChannelCloseSummary.Builder |
clearChainHash()
The hash of the genesis block that this channel resides within.
|
LightningApi.ChannelCloseSummary.Builder |
clearChanId()
The unique channel ID for the channel.
|
LightningApi.ChannelCloseSummary.Builder |
clearChannelPoint()
The outpoint (txid:index) of the funding transaction.
|
LightningApi.ChannelCloseSummary.Builder |
clearCloseHeight()
Height at which the funding transaction was spent.
|
LightningApi.ChannelCloseSummary.Builder |
clearCloseInitiator()
Close initiator indicates which party initiated the close.
|
LightningApi.ChannelCloseSummary.Builder |
clearCloseType()
Details on how the channel was closed.
|
LightningApi.ChannelCloseSummary.Builder |
clearClosingTxHash()
The txid of the transaction which ultimately closed this channel.
|
LightningApi.ChannelCloseSummary.Builder |
clearOpenInitiator()
Open initiator is the party that initiated opening the channel.
|
LightningApi.ChannelCloseSummary.Builder |
clearRemotePubkey()
Public key of the remote peer that we formerly had a channel with.
|
LightningApi.ChannelCloseSummary.Builder |
clearResolutions()
repeated .lnrpc.Resolution resolutions = 13; |
LightningApi.ChannelCloseSummary.Builder |
clearSettledBalance()
Settled balance at the time of channel closure
|
LightningApi.ChannelCloseSummary.Builder |
clearTimeLockedBalance()
The sum of all the time-locked outputs at the time of channel closure
|
LightningApi.ChannelCloseSummary.Builder |
clearZeroConfConfirmedScid()
The confirmed SCID for a zero-conf channel.
|
long |
getAliasScids(int index)
This lists out the set of alias short channel ids that existed for the
closed channel.
|
int |
getAliasScidsCount()
This lists out the set of alias short channel ids that existed for the
closed channel.
|
java.util.List<java.lang.Long> |
getAliasScidsList()
This lists out the set of alias short channel ids that existed for the
closed channel.
|
long |
getCapacity()
Total capacity of the channel.
|
java.lang.String |
getChainHash()
The hash of the genesis block that this channel resides within.
|
com.google.protobuf.ByteString |
getChainHashBytes()
The hash of the genesis block that this channel resides within.
|
long |
getChanId()
The unique channel ID for the channel.
|
java.lang.String |
getChannelPoint()
The outpoint (txid:index) of the funding transaction.
|
com.google.protobuf.ByteString |
getChannelPointBytes()
The outpoint (txid:index) of the funding transaction.
|
int |
getCloseHeight()
Height at which the funding transaction was spent.
|
LightningApi.Initiator |
getCloseInitiator()
Close initiator indicates which party initiated the close.
|
int |
getCloseInitiatorValue()
Close initiator indicates which party initiated the close.
|
LightningApi.ChannelCloseSummary.ClosureType |
getCloseType()
Details on how the channel was closed.
|
int |
getCloseTypeValue()
Details on how the channel was closed.
|
java.lang.String |
getClosingTxHash()
The txid of the transaction which ultimately closed this channel.
|
com.google.protobuf.ByteString |
getClosingTxHashBytes()
The txid of the transaction which ultimately closed this channel.
|
LightningApi.ChannelCloseSummary |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
LightningApi.Initiator |
getOpenInitiator()
Open initiator is the party that initiated opening the channel.
|
int |
getOpenInitiatorValue()
Open initiator is the party that initiated opening the channel.
|
java.lang.String |
getRemotePubkey()
Public key of the remote peer that we formerly had a channel with.
|
com.google.protobuf.ByteString |
getRemotePubkeyBytes()
Public key of the remote peer that we formerly had a channel with.
|
LightningApi.Resolution |
getResolutions(int index)
repeated .lnrpc.Resolution resolutions = 13; |
LightningApi.Resolution.Builder |
getResolutionsBuilder(int index)
repeated .lnrpc.Resolution resolutions = 13; |
java.util.List<LightningApi.Resolution.Builder> |
getResolutionsBuilderList()
repeated .lnrpc.Resolution resolutions = 13; |
int |
getResolutionsCount()
repeated .lnrpc.Resolution resolutions = 13; |
java.util.List<LightningApi.Resolution> |
getResolutionsList()
repeated .lnrpc.Resolution resolutions = 13; |
LightningApi.ResolutionOrBuilder |
getResolutionsOrBuilder(int index)
repeated .lnrpc.Resolution resolutions = 13; |
java.util.List<? extends LightningApi.ResolutionOrBuilder> |
getResolutionsOrBuilderList()
repeated .lnrpc.Resolution resolutions = 13; |
long |
getSettledBalance()
Settled balance at the time of channel closure
|
long |
getTimeLockedBalance()
The sum of all the time-locked outputs at the time of channel closure
|
long |
getZeroConfConfirmedScid()
The confirmed SCID for a zero-conf channel.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.ChannelCloseSummary.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.ChannelCloseSummary.Builder |
mergeFrom(LightningApi.ChannelCloseSummary other) |
LightningApi.ChannelCloseSummary.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.ChannelCloseSummary.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.ChannelCloseSummary.Builder |
removeResolutions(int index)
repeated .lnrpc.Resolution resolutions = 13; |
LightningApi.ChannelCloseSummary.Builder |
setAliasScids(int index,
long value)
This lists out the set of alias short channel ids that existed for the
closed channel.
|
LightningApi.ChannelCloseSummary.Builder |
setCapacity(long value)
Total capacity of the channel.
|
LightningApi.ChannelCloseSummary.Builder |
setChainHash(java.lang.String value)
The hash of the genesis block that this channel resides within.
|
LightningApi.ChannelCloseSummary.Builder |
setChainHashBytes(com.google.protobuf.ByteString value)
The hash of the genesis block that this channel resides within.
|
LightningApi.ChannelCloseSummary.Builder |
setChanId(long value)
The unique channel ID for the channel.
|
LightningApi.ChannelCloseSummary.Builder |
setChannelPoint(java.lang.String value)
The outpoint (txid:index) of the funding transaction.
|
LightningApi.ChannelCloseSummary.Builder |
setChannelPointBytes(com.google.protobuf.ByteString value)
The outpoint (txid:index) of the funding transaction.
|
LightningApi.ChannelCloseSummary.Builder |
setCloseHeight(int value)
Height at which the funding transaction was spent.
|
LightningApi.ChannelCloseSummary.Builder |
setCloseInitiator(LightningApi.Initiator value)
Close initiator indicates which party initiated the close.
|
LightningApi.ChannelCloseSummary.Builder |
setCloseInitiatorValue(int value)
Close initiator indicates which party initiated the close.
|
LightningApi.ChannelCloseSummary.Builder |
setCloseType(LightningApi.ChannelCloseSummary.ClosureType value)
Details on how the channel was closed.
|
LightningApi.ChannelCloseSummary.Builder |
setCloseTypeValue(int value)
Details on how the channel was closed.
|
LightningApi.ChannelCloseSummary.Builder |
setClosingTxHash(java.lang.String value)
The txid of the transaction which ultimately closed this channel.
|
LightningApi.ChannelCloseSummary.Builder |
setClosingTxHashBytes(com.google.protobuf.ByteString value)
The txid of the transaction which ultimately closed this channel.
|
LightningApi.ChannelCloseSummary.Builder |
setOpenInitiator(LightningApi.Initiator value)
Open initiator is the party that initiated opening the channel.
|
LightningApi.ChannelCloseSummary.Builder |
setOpenInitiatorValue(int value)
Open initiator is the party that initiated opening the channel.
|
LightningApi.ChannelCloseSummary.Builder |
setRemotePubkey(java.lang.String value)
Public key of the remote peer that we formerly had a channel with.
|
LightningApi.ChannelCloseSummary.Builder |
setRemotePubkeyBytes(com.google.protobuf.ByteString value)
Public key of the remote peer that we formerly had a channel with.
|
LightningApi.ChannelCloseSummary.Builder |
setResolutions(int index,
LightningApi.Resolution.Builder builderForValue)
repeated .lnrpc.Resolution resolutions = 13; |
LightningApi.ChannelCloseSummary.Builder |
setResolutions(int index,
LightningApi.Resolution value)
repeated .lnrpc.Resolution resolutions = 13; |
LightningApi.ChannelCloseSummary.Builder |
setSettledBalance(long value)
Settled balance at the time of channel closure
|
LightningApi.ChannelCloseSummary.Builder |
setTimeLockedBalance(long value)
The sum of all the time-locked outputs at the time of channel closure
|
LightningApi.ChannelCloseSummary.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.ChannelCloseSummary.Builder |
setZeroConfConfirmedScid(long value)
The confirmed SCID for a zero-conf channel.
|
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.ChannelCloseSummary.Builder>
public LightningApi.ChannelCloseSummary.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.ChannelCloseSummary.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.ChannelCloseSummary.Builder>
public LightningApi.ChannelCloseSummary getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public LightningApi.ChannelCloseSummary build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.ChannelCloseSummary buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.ChannelCloseSummary.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LightningApi.ChannelCloseSummary.Builder>
public LightningApi.ChannelCloseSummary.Builder mergeFrom(LightningApi.ChannelCloseSummary other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ChannelCloseSummary.Builder>
public LightningApi.ChannelCloseSummary.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.ChannelCloseSummary.Builder>
java.io.IOException
public java.lang.String getChannelPoint()
The outpoint (txid:index) of the funding transaction.
string channel_point = 1;
getChannelPoint
in interface LightningApi.ChannelCloseSummaryOrBuilder
public com.google.protobuf.ByteString getChannelPointBytes()
The outpoint (txid:index) of the funding transaction.
string channel_point = 1;
getChannelPointBytes
in interface LightningApi.ChannelCloseSummaryOrBuilder
public LightningApi.ChannelCloseSummary.Builder setChannelPoint(java.lang.String value)
The outpoint (txid:index) of the funding transaction.
string channel_point = 1;
value
- The channelPoint to set.public LightningApi.ChannelCloseSummary.Builder clearChannelPoint()
The outpoint (txid:index) of the funding transaction.
string channel_point = 1;
public LightningApi.ChannelCloseSummary.Builder setChannelPointBytes(com.google.protobuf.ByteString value)
The outpoint (txid:index) of the funding transaction.
string channel_point = 1;
value
- The bytes for channelPoint to set.public long getChanId()
The unique channel ID for the channel.
uint64 chan_id = 2 [jstype = JS_STRING];
getChanId
in interface LightningApi.ChannelCloseSummaryOrBuilder
public LightningApi.ChannelCloseSummary.Builder setChanId(long value)
The unique channel ID for the channel.
uint64 chan_id = 2 [jstype = JS_STRING];
value
- The chanId to set.public LightningApi.ChannelCloseSummary.Builder clearChanId()
The unique channel ID for the channel.
uint64 chan_id = 2 [jstype = JS_STRING];
public java.lang.String getChainHash()
The hash of the genesis block that this channel resides within.
string chain_hash = 3;
getChainHash
in interface LightningApi.ChannelCloseSummaryOrBuilder
public com.google.protobuf.ByteString getChainHashBytes()
The hash of the genesis block that this channel resides within.
string chain_hash = 3;
getChainHashBytes
in interface LightningApi.ChannelCloseSummaryOrBuilder
public LightningApi.ChannelCloseSummary.Builder setChainHash(java.lang.String value)
The hash of the genesis block that this channel resides within.
string chain_hash = 3;
value
- The chainHash to set.public LightningApi.ChannelCloseSummary.Builder clearChainHash()
The hash of the genesis block that this channel resides within.
string chain_hash = 3;
public LightningApi.ChannelCloseSummary.Builder setChainHashBytes(com.google.protobuf.ByteString value)
The hash of the genesis block that this channel resides within.
string chain_hash = 3;
value
- The bytes for chainHash to set.public java.lang.String getClosingTxHash()
The txid of the transaction which ultimately closed this channel.
string closing_tx_hash = 4;
getClosingTxHash
in interface LightningApi.ChannelCloseSummaryOrBuilder
public com.google.protobuf.ByteString getClosingTxHashBytes()
The txid of the transaction which ultimately closed this channel.
string closing_tx_hash = 4;
getClosingTxHashBytes
in interface LightningApi.ChannelCloseSummaryOrBuilder
public LightningApi.ChannelCloseSummary.Builder setClosingTxHash(java.lang.String value)
The txid of the transaction which ultimately closed this channel.
string closing_tx_hash = 4;
value
- The closingTxHash to set.public LightningApi.ChannelCloseSummary.Builder clearClosingTxHash()
The txid of the transaction which ultimately closed this channel.
string closing_tx_hash = 4;
public LightningApi.ChannelCloseSummary.Builder setClosingTxHashBytes(com.google.protobuf.ByteString value)
The txid of the transaction which ultimately closed this channel.
string closing_tx_hash = 4;
value
- The bytes for closingTxHash to set.public java.lang.String getRemotePubkey()
Public key of the remote peer that we formerly had a channel with.
string remote_pubkey = 5;
getRemotePubkey
in interface LightningApi.ChannelCloseSummaryOrBuilder
public com.google.protobuf.ByteString getRemotePubkeyBytes()
Public key of the remote peer that we formerly had a channel with.
string remote_pubkey = 5;
getRemotePubkeyBytes
in interface LightningApi.ChannelCloseSummaryOrBuilder
public LightningApi.ChannelCloseSummary.Builder setRemotePubkey(java.lang.String value)
Public key of the remote peer that we formerly had a channel with.
string remote_pubkey = 5;
value
- The remotePubkey to set.public LightningApi.ChannelCloseSummary.Builder clearRemotePubkey()
Public key of the remote peer that we formerly had a channel with.
string remote_pubkey = 5;
public LightningApi.ChannelCloseSummary.Builder setRemotePubkeyBytes(com.google.protobuf.ByteString value)
Public key of the remote peer that we formerly had a channel with.
string remote_pubkey = 5;
value
- The bytes for remotePubkey to set.public long getCapacity()
Total capacity of the channel.
int64 capacity = 6;
getCapacity
in interface LightningApi.ChannelCloseSummaryOrBuilder
public LightningApi.ChannelCloseSummary.Builder setCapacity(long value)
Total capacity of the channel.
int64 capacity = 6;
value
- The capacity to set.public LightningApi.ChannelCloseSummary.Builder clearCapacity()
Total capacity of the channel.
int64 capacity = 6;
public int getCloseHeight()
Height at which the funding transaction was spent.
uint32 close_height = 7;
getCloseHeight
in interface LightningApi.ChannelCloseSummaryOrBuilder
public LightningApi.ChannelCloseSummary.Builder setCloseHeight(int value)
Height at which the funding transaction was spent.
uint32 close_height = 7;
value
- The closeHeight to set.public LightningApi.ChannelCloseSummary.Builder clearCloseHeight()
Height at which the funding transaction was spent.
uint32 close_height = 7;
public long getSettledBalance()
Settled balance at the time of channel closure
int64 settled_balance = 8;
getSettledBalance
in interface LightningApi.ChannelCloseSummaryOrBuilder
public LightningApi.ChannelCloseSummary.Builder setSettledBalance(long value)
Settled balance at the time of channel closure
int64 settled_balance = 8;
value
- The settledBalance to set.public LightningApi.ChannelCloseSummary.Builder clearSettledBalance()
Settled balance at the time of channel closure
int64 settled_balance = 8;
public long getTimeLockedBalance()
The sum of all the time-locked outputs at the time of channel closure
int64 time_locked_balance = 9;
getTimeLockedBalance
in interface LightningApi.ChannelCloseSummaryOrBuilder
public LightningApi.ChannelCloseSummary.Builder setTimeLockedBalance(long value)
The sum of all the time-locked outputs at the time of channel closure
int64 time_locked_balance = 9;
value
- The timeLockedBalance to set.public LightningApi.ChannelCloseSummary.Builder clearTimeLockedBalance()
The sum of all the time-locked outputs at the time of channel closure
int64 time_locked_balance = 9;
public int getCloseTypeValue()
Details on how the channel was closed.
.lnrpc.ChannelCloseSummary.ClosureType close_type = 10;
getCloseTypeValue
in interface LightningApi.ChannelCloseSummaryOrBuilder
public LightningApi.ChannelCloseSummary.Builder setCloseTypeValue(int value)
Details on how the channel was closed.
.lnrpc.ChannelCloseSummary.ClosureType close_type = 10;
value
- The enum numeric value on the wire for closeType to set.public LightningApi.ChannelCloseSummary.ClosureType getCloseType()
Details on how the channel was closed.
.lnrpc.ChannelCloseSummary.ClosureType close_type = 10;
getCloseType
in interface LightningApi.ChannelCloseSummaryOrBuilder
public LightningApi.ChannelCloseSummary.Builder setCloseType(LightningApi.ChannelCloseSummary.ClosureType value)
Details on how the channel was closed.
.lnrpc.ChannelCloseSummary.ClosureType close_type = 10;
value
- The closeType to set.public LightningApi.ChannelCloseSummary.Builder clearCloseType()
Details on how the channel was closed.
.lnrpc.ChannelCloseSummary.ClosureType close_type = 10;
public int getOpenInitiatorValue()
Open initiator is the party that initiated opening the channel. Note that this value may be unknown if the channel was closed before we migrated to store open channel information after close.
.lnrpc.Initiator open_initiator = 11;
getOpenInitiatorValue
in interface LightningApi.ChannelCloseSummaryOrBuilder
public LightningApi.ChannelCloseSummary.Builder setOpenInitiatorValue(int value)
Open initiator is the party that initiated opening the channel. Note that this value may be unknown if the channel was closed before we migrated to store open channel information after close.
.lnrpc.Initiator open_initiator = 11;
value
- The enum numeric value on the wire for openInitiator to set.public LightningApi.Initiator getOpenInitiator()
Open initiator is the party that initiated opening the channel. Note that this value may be unknown if the channel was closed before we migrated to store open channel information after close.
.lnrpc.Initiator open_initiator = 11;
getOpenInitiator
in interface LightningApi.ChannelCloseSummaryOrBuilder
public LightningApi.ChannelCloseSummary.Builder setOpenInitiator(LightningApi.Initiator value)
Open initiator is the party that initiated opening the channel. Note that this value may be unknown if the channel was closed before we migrated to store open channel information after close.
.lnrpc.Initiator open_initiator = 11;
value
- The openInitiator to set.public LightningApi.ChannelCloseSummary.Builder clearOpenInitiator()
Open initiator is the party that initiated opening the channel. Note that this value may be unknown if the channel was closed before we migrated to store open channel information after close.
.lnrpc.Initiator open_initiator = 11;
public int getCloseInitiatorValue()
Close initiator indicates which party initiated the close. This value will be unknown for channels that were cooperatively closed before we started tracking cooperative close initiators. Note that this indicates which party initiated a close, and it is possible for both to initiate cooperative or force closes, although only one party's close will be confirmed on chain.
.lnrpc.Initiator close_initiator = 12;
getCloseInitiatorValue
in interface LightningApi.ChannelCloseSummaryOrBuilder
public LightningApi.ChannelCloseSummary.Builder setCloseInitiatorValue(int value)
Close initiator indicates which party initiated the close. This value will be unknown for channels that were cooperatively closed before we started tracking cooperative close initiators. Note that this indicates which party initiated a close, and it is possible for both to initiate cooperative or force closes, although only one party's close will be confirmed on chain.
.lnrpc.Initiator close_initiator = 12;
value
- The enum numeric value on the wire for closeInitiator to set.public LightningApi.Initiator getCloseInitiator()
Close initiator indicates which party initiated the close. This value will be unknown for channels that were cooperatively closed before we started tracking cooperative close initiators. Note that this indicates which party initiated a close, and it is possible for both to initiate cooperative or force closes, although only one party's close will be confirmed on chain.
.lnrpc.Initiator close_initiator = 12;
getCloseInitiator
in interface LightningApi.ChannelCloseSummaryOrBuilder
public LightningApi.ChannelCloseSummary.Builder setCloseInitiator(LightningApi.Initiator value)
Close initiator indicates which party initiated the close. This value will be unknown for channels that were cooperatively closed before we started tracking cooperative close initiators. Note that this indicates which party initiated a close, and it is possible for both to initiate cooperative or force closes, although only one party's close will be confirmed on chain.
.lnrpc.Initiator close_initiator = 12;
value
- The closeInitiator to set.public LightningApi.ChannelCloseSummary.Builder clearCloseInitiator()
Close initiator indicates which party initiated the close. This value will be unknown for channels that were cooperatively closed before we started tracking cooperative close initiators. Note that this indicates which party initiated a close, and it is possible for both to initiate cooperative or force closes, although only one party's close will be confirmed on chain.
.lnrpc.Initiator close_initiator = 12;
public java.util.List<LightningApi.Resolution> getResolutionsList()
repeated .lnrpc.Resolution resolutions = 13;
getResolutionsList
in interface LightningApi.ChannelCloseSummaryOrBuilder
public int getResolutionsCount()
repeated .lnrpc.Resolution resolutions = 13;
getResolutionsCount
in interface LightningApi.ChannelCloseSummaryOrBuilder
public LightningApi.Resolution getResolutions(int index)
repeated .lnrpc.Resolution resolutions = 13;
getResolutions
in interface LightningApi.ChannelCloseSummaryOrBuilder
public LightningApi.ChannelCloseSummary.Builder setResolutions(int index, LightningApi.Resolution value)
repeated .lnrpc.Resolution resolutions = 13;
public LightningApi.ChannelCloseSummary.Builder setResolutions(int index, LightningApi.Resolution.Builder builderForValue)
repeated .lnrpc.Resolution resolutions = 13;
public LightningApi.ChannelCloseSummary.Builder addResolutions(LightningApi.Resolution value)
repeated .lnrpc.Resolution resolutions = 13;
public LightningApi.ChannelCloseSummary.Builder addResolutions(int index, LightningApi.Resolution value)
repeated .lnrpc.Resolution resolutions = 13;
public LightningApi.ChannelCloseSummary.Builder addResolutions(LightningApi.Resolution.Builder builderForValue)
repeated .lnrpc.Resolution resolutions = 13;
public LightningApi.ChannelCloseSummary.Builder addResolutions(int index, LightningApi.Resolution.Builder builderForValue)
repeated .lnrpc.Resolution resolutions = 13;
public LightningApi.ChannelCloseSummary.Builder addAllResolutions(java.lang.Iterable<? extends LightningApi.Resolution> values)
repeated .lnrpc.Resolution resolutions = 13;
public LightningApi.ChannelCloseSummary.Builder clearResolutions()
repeated .lnrpc.Resolution resolutions = 13;
public LightningApi.ChannelCloseSummary.Builder removeResolutions(int index)
repeated .lnrpc.Resolution resolutions = 13;
public LightningApi.Resolution.Builder getResolutionsBuilder(int index)
repeated .lnrpc.Resolution resolutions = 13;
public LightningApi.ResolutionOrBuilder getResolutionsOrBuilder(int index)
repeated .lnrpc.Resolution resolutions = 13;
getResolutionsOrBuilder
in interface LightningApi.ChannelCloseSummaryOrBuilder
public java.util.List<? extends LightningApi.ResolutionOrBuilder> getResolutionsOrBuilderList()
repeated .lnrpc.Resolution resolutions = 13;
getResolutionsOrBuilderList
in interface LightningApi.ChannelCloseSummaryOrBuilder
public LightningApi.Resolution.Builder addResolutionsBuilder()
repeated .lnrpc.Resolution resolutions = 13;
public LightningApi.Resolution.Builder addResolutionsBuilder(int index)
repeated .lnrpc.Resolution resolutions = 13;
public java.util.List<LightningApi.Resolution.Builder> getResolutionsBuilderList()
repeated .lnrpc.Resolution resolutions = 13;
public java.util.List<java.lang.Long> getAliasScidsList()
This lists out the set of alias short channel ids that existed for the closed channel. This may be empty.
repeated uint64 alias_scids = 14;
getAliasScidsList
in interface LightningApi.ChannelCloseSummaryOrBuilder
public int getAliasScidsCount()
This lists out the set of alias short channel ids that existed for the closed channel. This may be empty.
repeated uint64 alias_scids = 14;
getAliasScidsCount
in interface LightningApi.ChannelCloseSummaryOrBuilder
public long getAliasScids(int index)
This lists out the set of alias short channel ids that existed for the closed channel. This may be empty.
repeated uint64 alias_scids = 14;
getAliasScids
in interface LightningApi.ChannelCloseSummaryOrBuilder
index
- The index of the element to return.public LightningApi.ChannelCloseSummary.Builder setAliasScids(int index, long value)
This lists out the set of alias short channel ids that existed for the closed channel. This may be empty.
repeated uint64 alias_scids = 14;
index
- The index to set the value at.value
- The aliasScids to set.public LightningApi.ChannelCloseSummary.Builder addAliasScids(long value)
This lists out the set of alias short channel ids that existed for the closed channel. This may be empty.
repeated uint64 alias_scids = 14;
value
- The aliasScids to add.public LightningApi.ChannelCloseSummary.Builder addAllAliasScids(java.lang.Iterable<? extends java.lang.Long> values)
This lists out the set of alias short channel ids that existed for the closed channel. This may be empty.
repeated uint64 alias_scids = 14;
values
- The aliasScids to add.public LightningApi.ChannelCloseSummary.Builder clearAliasScids()
This lists out the set of alias short channel ids that existed for the closed channel. This may be empty.
repeated uint64 alias_scids = 14;
public long getZeroConfConfirmedScid()
The confirmed SCID for a zero-conf channel.
uint64 zero_conf_confirmed_scid = 15 [jstype = JS_STRING];
getZeroConfConfirmedScid
in interface LightningApi.ChannelCloseSummaryOrBuilder
public LightningApi.ChannelCloseSummary.Builder setZeroConfConfirmedScid(long value)
The confirmed SCID for a zero-conf channel.
uint64 zero_conf_confirmed_scid = 15 [jstype = JS_STRING];
value
- The zeroConfConfirmedScid to set.public LightningApi.ChannelCloseSummary.Builder clearZeroConfConfirmedScid()
The confirmed SCID for a zero-conf channel.
uint64 zero_conf_confirmed_scid = 15 [jstype = JS_STRING];
public final LightningApi.ChannelCloseSummary.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ChannelCloseSummary.Builder>
public final LightningApi.ChannelCloseSummary.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.ChannelCloseSummary.Builder>