public static final class LightningApi.Peer.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.Peer.Builder> implements LightningApi.PeerOrBuilder
lnrpc.Peer| Modifier and Type | Method and Description |
|---|---|
LightningApi.Peer.Builder |
addAllErrors(java.lang.Iterable<? extends LightningApi.TimestampedError> values)
The latest errors received from our peer with timestamps, limited to the 10
most recent errors.
|
LightningApi.Peer.Builder |
addErrors(int index,
LightningApi.TimestampedError.Builder builderForValue)
The latest errors received from our peer with timestamps, limited to the 10
most recent errors.
|
LightningApi.Peer.Builder |
addErrors(int index,
LightningApi.TimestampedError value)
The latest errors received from our peer with timestamps, limited to the 10
most recent errors.
|
LightningApi.Peer.Builder |
addErrors(LightningApi.TimestampedError.Builder builderForValue)
The latest errors received from our peer with timestamps, limited to the 10
most recent errors.
|
LightningApi.Peer.Builder |
addErrors(LightningApi.TimestampedError value)
The latest errors received from our peer with timestamps, limited to the 10
most recent errors.
|
LightningApi.TimestampedError.Builder |
addErrorsBuilder()
The latest errors received from our peer with timestamps, limited to the 10
most recent errors.
|
LightningApi.TimestampedError.Builder |
addErrorsBuilder(int index)
The latest errors received from our peer with timestamps, limited to the 10
most recent errors.
|
LightningApi.Peer |
build() |
LightningApi.Peer |
buildPartial() |
LightningApi.Peer.Builder |
clear() |
LightningApi.Peer.Builder |
clearAddress()
Network address of the peer; eg `127.0.0.1:10011`
|
LightningApi.Peer.Builder |
clearBytesRecv()
Bytes of data transmitted from this peer
|
LightningApi.Peer.Builder |
clearBytesSent()
Bytes of data transmitted to this peer
|
LightningApi.Peer.Builder |
clearErrors()
The latest errors received from our peer with timestamps, limited to the 10
most recent errors.
|
LightningApi.Peer.Builder |
clearFeatures() |
LightningApi.Peer.Builder |
clearFlapCount()
The number of times we have recorded this peer going offline or coming
online, recorded across restarts.
|
LightningApi.Peer.Builder |
clearInbound()
A channel is inbound if the counterparty initiated the channel
|
LightningApi.Peer.Builder |
clearLastFlapNs()
The timestamp of the last flap we observed for this peer.
|
LightningApi.Peer.Builder |
clearLastPingPayload()
The last ping payload the peer has sent to us.
|
LightningApi.Peer.Builder |
clearPingTime()
Ping time to this peer
|
LightningApi.Peer.Builder |
clearPubKey()
The identity pubkey of the peer
|
LightningApi.Peer.Builder |
clearSatRecv()
Satoshis received from this peer
|
LightningApi.Peer.Builder |
clearSatSent()
Satoshis sent to this peer
|
LightningApi.Peer.Builder |
clearSyncType()
The type of sync we are currently performing with this peer.
|
boolean |
containsFeatures(int key)
Features advertised by the remote peer in their init message.
|
java.lang.String |
getAddress()
Network address of the peer; eg `127.0.0.1:10011`
|
com.google.protobuf.ByteString |
getAddressBytes()
Network address of the peer; eg `127.0.0.1:10011`
|
long |
getBytesRecv()
Bytes of data transmitted from this peer
|
long |
getBytesSent()
Bytes of data transmitted to this peer
|
LightningApi.Peer |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
LightningApi.TimestampedError |
getErrors(int index)
The latest errors received from our peer with timestamps, limited to the 10
most recent errors.
|
LightningApi.TimestampedError.Builder |
getErrorsBuilder(int index)
The latest errors received from our peer with timestamps, limited to the 10
most recent errors.
|
java.util.List<LightningApi.TimestampedError.Builder> |
getErrorsBuilderList()
The latest errors received from our peer with timestamps, limited to the 10
most recent errors.
|
int |
getErrorsCount()
The latest errors received from our peer with timestamps, limited to the 10
most recent errors.
|
java.util.List<LightningApi.TimestampedError> |
getErrorsList()
The latest errors received from our peer with timestamps, limited to the 10
most recent errors.
|
LightningApi.TimestampedErrorOrBuilder |
getErrorsOrBuilder(int index)
The latest errors received from our peer with timestamps, limited to the 10
most recent errors.
|
java.util.List<? extends LightningApi.TimestampedErrorOrBuilder> |
getErrorsOrBuilderList()
The latest errors received from our peer with timestamps, limited to the 10
most recent errors.
|
java.util.Map<java.lang.Integer,LightningApi.Feature> |
getFeatures()
Deprecated.
|
int |
getFeaturesCount()
Features advertised by the remote peer in their init message.
|
java.util.Map<java.lang.Integer,LightningApi.Feature> |
getFeaturesMap()
Features advertised by the remote peer in their init message.
|
LightningApi.Feature |
getFeaturesOrDefault(int key,
LightningApi.Feature defaultValue)
Features advertised by the remote peer in their init message.
|
LightningApi.Feature |
getFeaturesOrThrow(int key)
Features advertised by the remote peer in their init message.
|
int |
getFlapCount()
The number of times we have recorded this peer going offline or coming
online, recorded across restarts.
|
boolean |
getInbound()
A channel is inbound if the counterparty initiated the channel
|
long |
getLastFlapNs()
The timestamp of the last flap we observed for this peer.
|
com.google.protobuf.ByteString |
getLastPingPayload()
The last ping payload the peer has sent to us.
|
java.util.Map<java.lang.Integer,LightningApi.Feature> |
getMutableFeatures()
Deprecated.
|
long |
getPingTime()
Ping time to this peer
|
java.lang.String |
getPubKey()
The identity pubkey of the peer
|
com.google.protobuf.ByteString |
getPubKeyBytes()
The identity pubkey of the peer
|
long |
getSatRecv()
Satoshis received from this peer
|
long |
getSatSent()
Satoshis sent to this peer
|
LightningApi.Peer.SyncType |
getSyncType()
The type of sync we are currently performing with this peer.
|
int |
getSyncTypeValue()
The type of sync we are currently performing with this peer.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
LightningApi.Peer.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.Peer.Builder |
mergeFrom(LightningApi.Peer other) |
LightningApi.Peer.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.Peer.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.Peer.Builder |
putAllFeatures(java.util.Map<java.lang.Integer,LightningApi.Feature> values)
Features advertised by the remote peer in their init message.
|
LightningApi.Peer.Builder |
putFeatures(int key,
LightningApi.Feature value)
Features advertised by the remote peer in their init message.
|
LightningApi.Peer.Builder |
removeErrors(int index)
The latest errors received from our peer with timestamps, limited to the 10
most recent errors.
|
LightningApi.Peer.Builder |
removeFeatures(int key)
Features advertised by the remote peer in their init message.
|
LightningApi.Peer.Builder |
setAddress(java.lang.String value)
Network address of the peer; eg `127.0.0.1:10011`
|
LightningApi.Peer.Builder |
setAddressBytes(com.google.protobuf.ByteString value)
Network address of the peer; eg `127.0.0.1:10011`
|
LightningApi.Peer.Builder |
setBytesRecv(long value)
Bytes of data transmitted from this peer
|
LightningApi.Peer.Builder |
setBytesSent(long value)
Bytes of data transmitted to this peer
|
LightningApi.Peer.Builder |
setErrors(int index,
LightningApi.TimestampedError.Builder builderForValue)
The latest errors received from our peer with timestamps, limited to the 10
most recent errors.
|
LightningApi.Peer.Builder |
setErrors(int index,
LightningApi.TimestampedError value)
The latest errors received from our peer with timestamps, limited to the 10
most recent errors.
|
LightningApi.Peer.Builder |
setFlapCount(int value)
The number of times we have recorded this peer going offline or coming
online, recorded across restarts.
|
LightningApi.Peer.Builder |
setInbound(boolean value)
A channel is inbound if the counterparty initiated the channel
|
LightningApi.Peer.Builder |
setLastFlapNs(long value)
The timestamp of the last flap we observed for this peer.
|
LightningApi.Peer.Builder |
setLastPingPayload(com.google.protobuf.ByteString value)
The last ping payload the peer has sent to us.
|
LightningApi.Peer.Builder |
setPingTime(long value)
Ping time to this peer
|
LightningApi.Peer.Builder |
setPubKey(java.lang.String value)
The identity pubkey of the peer
|
LightningApi.Peer.Builder |
setPubKeyBytes(com.google.protobuf.ByteString value)
The identity pubkey of the peer
|
LightningApi.Peer.Builder |
setSatRecv(long value)
Satoshis received from this peer
|
LightningApi.Peer.Builder |
setSatSent(long value)
Satoshis sent to this peer
|
LightningApi.Peer.Builder |
setSyncType(LightningApi.Peer.SyncType value)
The type of sync we are currently performing with this peer.
|
LightningApi.Peer.Builder |
setSyncTypeValue(int value)
The type of sync we are currently performing with this peer.
|
LightningApi.Peer.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapFieldReflection, 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.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.Peer.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.Peer.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.Peer.Builder>public LightningApi.Peer.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.Peer.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.Peer.Builder>public LightningApi.Peer getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.Peer build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.Peer buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.Peer.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.Peer.Builder>public LightningApi.Peer.Builder mergeFrom(LightningApi.Peer other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.Peer.Builder>public LightningApi.Peer.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.Peer.Builder>java.io.IOExceptionpublic java.lang.String getPubKey()
The identity pubkey of the peer
string pub_key = 1;getPubKey in interface LightningApi.PeerOrBuilderpublic com.google.protobuf.ByteString getPubKeyBytes()
The identity pubkey of the peer
string pub_key = 1;getPubKeyBytes in interface LightningApi.PeerOrBuilderpublic LightningApi.Peer.Builder setPubKey(java.lang.String value)
The identity pubkey of the peer
string pub_key = 1;value - The pubKey to set.public LightningApi.Peer.Builder clearPubKey()
The identity pubkey of the peer
string pub_key = 1;public LightningApi.Peer.Builder setPubKeyBytes(com.google.protobuf.ByteString value)
The identity pubkey of the peer
string pub_key = 1;value - The bytes for pubKey to set.public java.lang.String getAddress()
Network address of the peer; eg `127.0.0.1:10011`
string address = 3;getAddress in interface LightningApi.PeerOrBuilderpublic com.google.protobuf.ByteString getAddressBytes()
Network address of the peer; eg `127.0.0.1:10011`
string address = 3;getAddressBytes in interface LightningApi.PeerOrBuilderpublic LightningApi.Peer.Builder setAddress(java.lang.String value)
Network address of the peer; eg `127.0.0.1:10011`
string address = 3;value - The address to set.public LightningApi.Peer.Builder clearAddress()
Network address of the peer; eg `127.0.0.1:10011`
string address = 3;public LightningApi.Peer.Builder setAddressBytes(com.google.protobuf.ByteString value)
Network address of the peer; eg `127.0.0.1:10011`
string address = 3;value - The bytes for address to set.public long getBytesSent()
Bytes of data transmitted to this peer
uint64 bytes_sent = 4;getBytesSent in interface LightningApi.PeerOrBuilderpublic LightningApi.Peer.Builder setBytesSent(long value)
Bytes of data transmitted to this peer
uint64 bytes_sent = 4;value - The bytesSent to set.public LightningApi.Peer.Builder clearBytesSent()
Bytes of data transmitted to this peer
uint64 bytes_sent = 4;public long getBytesRecv()
Bytes of data transmitted from this peer
uint64 bytes_recv = 5;getBytesRecv in interface LightningApi.PeerOrBuilderpublic LightningApi.Peer.Builder setBytesRecv(long value)
Bytes of data transmitted from this peer
uint64 bytes_recv = 5;value - The bytesRecv to set.public LightningApi.Peer.Builder clearBytesRecv()
Bytes of data transmitted from this peer
uint64 bytes_recv = 5;public long getSatSent()
Satoshis sent to this peer
int64 sat_sent = 6;getSatSent in interface LightningApi.PeerOrBuilderpublic LightningApi.Peer.Builder setSatSent(long value)
Satoshis sent to this peer
int64 sat_sent = 6;value - The satSent to set.public LightningApi.Peer.Builder clearSatSent()
Satoshis sent to this peer
int64 sat_sent = 6;public long getSatRecv()
Satoshis received from this peer
int64 sat_recv = 7;getSatRecv in interface LightningApi.PeerOrBuilderpublic LightningApi.Peer.Builder setSatRecv(long value)
Satoshis received from this peer
int64 sat_recv = 7;value - The satRecv to set.public LightningApi.Peer.Builder clearSatRecv()
Satoshis received from this peer
int64 sat_recv = 7;public boolean getInbound()
A channel is inbound if the counterparty initiated the channel
bool inbound = 8;getInbound in interface LightningApi.PeerOrBuilderpublic LightningApi.Peer.Builder setInbound(boolean value)
A channel is inbound if the counterparty initiated the channel
bool inbound = 8;value - The inbound to set.public LightningApi.Peer.Builder clearInbound()
A channel is inbound if the counterparty initiated the channel
bool inbound = 8;public long getPingTime()
Ping time to this peer
int64 ping_time = 9;getPingTime in interface LightningApi.PeerOrBuilderpublic LightningApi.Peer.Builder setPingTime(long value)
Ping time to this peer
int64 ping_time = 9;value - The pingTime to set.public LightningApi.Peer.Builder clearPingTime()
Ping time to this peer
int64 ping_time = 9;public int getSyncTypeValue()
The type of sync we are currently performing with this peer.
.lnrpc.Peer.SyncType sync_type = 10;getSyncTypeValue in interface LightningApi.PeerOrBuilderpublic LightningApi.Peer.Builder setSyncTypeValue(int value)
The type of sync we are currently performing with this peer.
.lnrpc.Peer.SyncType sync_type = 10;value - The enum numeric value on the wire for syncType to set.public LightningApi.Peer.SyncType getSyncType()
The type of sync we are currently performing with this peer.
.lnrpc.Peer.SyncType sync_type = 10;getSyncType in interface LightningApi.PeerOrBuilderpublic LightningApi.Peer.Builder setSyncType(LightningApi.Peer.SyncType value)
The type of sync we are currently performing with this peer.
.lnrpc.Peer.SyncType sync_type = 10;value - The syncType to set.public LightningApi.Peer.Builder clearSyncType()
The type of sync we are currently performing with this peer.
.lnrpc.Peer.SyncType sync_type = 10;public int getFeaturesCount()
LightningApi.PeerOrBuilderFeatures advertised by the remote peer in their init message.
map<uint32, .lnrpc.Feature> features = 11;getFeaturesCount in interface LightningApi.PeerOrBuilderpublic boolean containsFeatures(int key)
Features advertised by the remote peer in their init message.
map<uint32, .lnrpc.Feature> features = 11;containsFeatures in interface LightningApi.PeerOrBuilder@Deprecated public java.util.Map<java.lang.Integer,LightningApi.Feature> getFeatures()
getFeaturesMap() instead.getFeatures in interface LightningApi.PeerOrBuilderpublic java.util.Map<java.lang.Integer,LightningApi.Feature> getFeaturesMap()
Features advertised by the remote peer in their init message.
map<uint32, .lnrpc.Feature> features = 11;getFeaturesMap in interface LightningApi.PeerOrBuilderpublic LightningApi.Feature getFeaturesOrDefault(int key, LightningApi.Feature defaultValue)
Features advertised by the remote peer in their init message.
map<uint32, .lnrpc.Feature> features = 11;getFeaturesOrDefault in interface LightningApi.PeerOrBuilderpublic LightningApi.Feature getFeaturesOrThrow(int key)
Features advertised by the remote peer in their init message.
map<uint32, .lnrpc.Feature> features = 11;getFeaturesOrThrow in interface LightningApi.PeerOrBuilderpublic LightningApi.Peer.Builder clearFeatures()
public LightningApi.Peer.Builder removeFeatures(int key)
Features advertised by the remote peer in their init message.
map<uint32, .lnrpc.Feature> features = 11;@Deprecated public java.util.Map<java.lang.Integer,LightningApi.Feature> getMutableFeatures()
public LightningApi.Peer.Builder putFeatures(int key, LightningApi.Feature value)
Features advertised by the remote peer in their init message.
map<uint32, .lnrpc.Feature> features = 11;public LightningApi.Peer.Builder putAllFeatures(java.util.Map<java.lang.Integer,LightningApi.Feature> values)
Features advertised by the remote peer in their init message.
map<uint32, .lnrpc.Feature> features = 11;public java.util.List<LightningApi.TimestampedError> getErrorsList()
The latest errors received from our peer with timestamps, limited to the 10 most recent errors. These errors are tracked across peer connections, but are not persisted across lnd restarts. Note that these errors are only stored for peers that we have channels open with, to prevent peers from spamming us with errors at no cost.
repeated .lnrpc.TimestampedError errors = 12;getErrorsList in interface LightningApi.PeerOrBuilderpublic int getErrorsCount()
The latest errors received from our peer with timestamps, limited to the 10 most recent errors. These errors are tracked across peer connections, but are not persisted across lnd restarts. Note that these errors are only stored for peers that we have channels open with, to prevent peers from spamming us with errors at no cost.
repeated .lnrpc.TimestampedError errors = 12;getErrorsCount in interface LightningApi.PeerOrBuilderpublic LightningApi.TimestampedError getErrors(int index)
The latest errors received from our peer with timestamps, limited to the 10 most recent errors. These errors are tracked across peer connections, but are not persisted across lnd restarts. Note that these errors are only stored for peers that we have channels open with, to prevent peers from spamming us with errors at no cost.
repeated .lnrpc.TimestampedError errors = 12;getErrors in interface LightningApi.PeerOrBuilderpublic LightningApi.Peer.Builder setErrors(int index, LightningApi.TimestampedError value)
The latest errors received from our peer with timestamps, limited to the 10 most recent errors. These errors are tracked across peer connections, but are not persisted across lnd restarts. Note that these errors are only stored for peers that we have channels open with, to prevent peers from spamming us with errors at no cost.
repeated .lnrpc.TimestampedError errors = 12;public LightningApi.Peer.Builder setErrors(int index, LightningApi.TimestampedError.Builder builderForValue)
The latest errors received from our peer with timestamps, limited to the 10 most recent errors. These errors are tracked across peer connections, but are not persisted across lnd restarts. Note that these errors are only stored for peers that we have channels open with, to prevent peers from spamming us with errors at no cost.
repeated .lnrpc.TimestampedError errors = 12;public LightningApi.Peer.Builder addErrors(LightningApi.TimestampedError value)
The latest errors received from our peer with timestamps, limited to the 10 most recent errors. These errors are tracked across peer connections, but are not persisted across lnd restarts. Note that these errors are only stored for peers that we have channels open with, to prevent peers from spamming us with errors at no cost.
repeated .lnrpc.TimestampedError errors = 12;public LightningApi.Peer.Builder addErrors(int index, LightningApi.TimestampedError value)
The latest errors received from our peer with timestamps, limited to the 10 most recent errors. These errors are tracked across peer connections, but are not persisted across lnd restarts. Note that these errors are only stored for peers that we have channels open with, to prevent peers from spamming us with errors at no cost.
repeated .lnrpc.TimestampedError errors = 12;public LightningApi.Peer.Builder addErrors(LightningApi.TimestampedError.Builder builderForValue)
The latest errors received from our peer with timestamps, limited to the 10 most recent errors. These errors are tracked across peer connections, but are not persisted across lnd restarts. Note that these errors are only stored for peers that we have channels open with, to prevent peers from spamming us with errors at no cost.
repeated .lnrpc.TimestampedError errors = 12;public LightningApi.Peer.Builder addErrors(int index, LightningApi.TimestampedError.Builder builderForValue)
The latest errors received from our peer with timestamps, limited to the 10 most recent errors. These errors are tracked across peer connections, but are not persisted across lnd restarts. Note that these errors are only stored for peers that we have channels open with, to prevent peers from spamming us with errors at no cost.
repeated .lnrpc.TimestampedError errors = 12;public LightningApi.Peer.Builder addAllErrors(java.lang.Iterable<? extends LightningApi.TimestampedError> values)
The latest errors received from our peer with timestamps, limited to the 10 most recent errors. These errors are tracked across peer connections, but are not persisted across lnd restarts. Note that these errors are only stored for peers that we have channels open with, to prevent peers from spamming us with errors at no cost.
repeated .lnrpc.TimestampedError errors = 12;public LightningApi.Peer.Builder clearErrors()
The latest errors received from our peer with timestamps, limited to the 10 most recent errors. These errors are tracked across peer connections, but are not persisted across lnd restarts. Note that these errors are only stored for peers that we have channels open with, to prevent peers from spamming us with errors at no cost.
repeated .lnrpc.TimestampedError errors = 12;public LightningApi.Peer.Builder removeErrors(int index)
The latest errors received from our peer with timestamps, limited to the 10 most recent errors. These errors are tracked across peer connections, but are not persisted across lnd restarts. Note that these errors are only stored for peers that we have channels open with, to prevent peers from spamming us with errors at no cost.
repeated .lnrpc.TimestampedError errors = 12;public LightningApi.TimestampedError.Builder getErrorsBuilder(int index)
The latest errors received from our peer with timestamps, limited to the 10 most recent errors. These errors are tracked across peer connections, but are not persisted across lnd restarts. Note that these errors are only stored for peers that we have channels open with, to prevent peers from spamming us with errors at no cost.
repeated .lnrpc.TimestampedError errors = 12;public LightningApi.TimestampedErrorOrBuilder getErrorsOrBuilder(int index)
The latest errors received from our peer with timestamps, limited to the 10 most recent errors. These errors are tracked across peer connections, but are not persisted across lnd restarts. Note that these errors are only stored for peers that we have channels open with, to prevent peers from spamming us with errors at no cost.
repeated .lnrpc.TimestampedError errors = 12;getErrorsOrBuilder in interface LightningApi.PeerOrBuilderpublic java.util.List<? extends LightningApi.TimestampedErrorOrBuilder> getErrorsOrBuilderList()
The latest errors received from our peer with timestamps, limited to the 10 most recent errors. These errors are tracked across peer connections, but are not persisted across lnd restarts. Note that these errors are only stored for peers that we have channels open with, to prevent peers from spamming us with errors at no cost.
repeated .lnrpc.TimestampedError errors = 12;getErrorsOrBuilderList in interface LightningApi.PeerOrBuilderpublic LightningApi.TimestampedError.Builder addErrorsBuilder()
The latest errors received from our peer with timestamps, limited to the 10 most recent errors. These errors are tracked across peer connections, but are not persisted across lnd restarts. Note that these errors are only stored for peers that we have channels open with, to prevent peers from spamming us with errors at no cost.
repeated .lnrpc.TimestampedError errors = 12;public LightningApi.TimestampedError.Builder addErrorsBuilder(int index)
The latest errors received from our peer with timestamps, limited to the 10 most recent errors. These errors are tracked across peer connections, but are not persisted across lnd restarts. Note that these errors are only stored for peers that we have channels open with, to prevent peers from spamming us with errors at no cost.
repeated .lnrpc.TimestampedError errors = 12;public java.util.List<LightningApi.TimestampedError.Builder> getErrorsBuilderList()
The latest errors received from our peer with timestamps, limited to the 10 most recent errors. These errors are tracked across peer connections, but are not persisted across lnd restarts. Note that these errors are only stored for peers that we have channels open with, to prevent peers from spamming us with errors at no cost.
repeated .lnrpc.TimestampedError errors = 12;public int getFlapCount()
The number of times we have recorded this peer going offline or coming online, recorded across restarts. Note that this value is decreased over time if the peer has not recently flapped, so that we can forgive peers with historically high flap counts.
int32 flap_count = 13;getFlapCount in interface LightningApi.PeerOrBuilderpublic LightningApi.Peer.Builder setFlapCount(int value)
The number of times we have recorded this peer going offline or coming online, recorded across restarts. Note that this value is decreased over time if the peer has not recently flapped, so that we can forgive peers with historically high flap counts.
int32 flap_count = 13;value - The flapCount to set.public LightningApi.Peer.Builder clearFlapCount()
The number of times we have recorded this peer going offline or coming online, recorded across restarts. Note that this value is decreased over time if the peer has not recently flapped, so that we can forgive peers with historically high flap counts.
int32 flap_count = 13;public long getLastFlapNs()
The timestamp of the last flap we observed for this peer. If this value is zero, we have not observed any flaps for this peer.
int64 last_flap_ns = 14;getLastFlapNs in interface LightningApi.PeerOrBuilderpublic LightningApi.Peer.Builder setLastFlapNs(long value)
The timestamp of the last flap we observed for this peer. If this value is zero, we have not observed any flaps for this peer.
int64 last_flap_ns = 14;value - The lastFlapNs to set.public LightningApi.Peer.Builder clearLastFlapNs()
The timestamp of the last flap we observed for this peer. If this value is zero, we have not observed any flaps for this peer.
int64 last_flap_ns = 14;public com.google.protobuf.ByteString getLastPingPayload()
The last ping payload the peer has sent to us.
bytes last_ping_payload = 15;getLastPingPayload in interface LightningApi.PeerOrBuilderpublic LightningApi.Peer.Builder setLastPingPayload(com.google.protobuf.ByteString value)
The last ping payload the peer has sent to us.
bytes last_ping_payload = 15;value - The lastPingPayload to set.public LightningApi.Peer.Builder clearLastPingPayload()
The last ping payload the peer has sent to us.
bytes last_ping_payload = 15;public final LightningApi.Peer.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.Peer.Builder>public final LightningApi.Peer.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.Peer.Builder>