public static final class LightningApi.GetInfoResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.GetInfoResponse.Builder> implements LightningApi.GetInfoResponseOrBuilder
lnrpc.GetInfoResponse| Modifier and Type | Method and Description |
|---|---|
LightningApi.GetInfoResponse.Builder |
addAllChains(java.lang.Iterable<? extends LightningApi.Chain> values)
A list of active chains the node is connected to
|
LightningApi.GetInfoResponse.Builder |
addAllUris(java.lang.Iterable<java.lang.String> values)
The URIs of the current node.
|
LightningApi.GetInfoResponse.Builder |
addChains(int index,
LightningApi.Chain.Builder builderForValue)
A list of active chains the node is connected to
|
LightningApi.GetInfoResponse.Builder |
addChains(int index,
LightningApi.Chain value)
A list of active chains the node is connected to
|
LightningApi.GetInfoResponse.Builder |
addChains(LightningApi.Chain.Builder builderForValue)
A list of active chains the node is connected to
|
LightningApi.GetInfoResponse.Builder |
addChains(LightningApi.Chain value)
A list of active chains the node is connected to
|
LightningApi.Chain.Builder |
addChainsBuilder()
A list of active chains the node is connected to
|
LightningApi.Chain.Builder |
addChainsBuilder(int index)
A list of active chains the node is connected to
|
LightningApi.GetInfoResponse.Builder |
addUris(java.lang.String value)
The URIs of the current node.
|
LightningApi.GetInfoResponse.Builder |
addUrisBytes(com.google.protobuf.ByteString value)
The URIs of the current node.
|
LightningApi.GetInfoResponse |
build() |
LightningApi.GetInfoResponse |
buildPartial() |
LightningApi.GetInfoResponse.Builder |
clear() |
LightningApi.GetInfoResponse.Builder |
clearAlias()
If applicable, the alias of the current node, e.g.
|
LightningApi.GetInfoResponse.Builder |
clearBestHeaderTimestamp()
Timestamp of the block best known to the wallet
|
LightningApi.GetInfoResponse.Builder |
clearBlockHash()
The node's current view of the hash of the best block
|
LightningApi.GetInfoResponse.Builder |
clearBlockHeight()
The node's current view of the height of the best block
|
LightningApi.GetInfoResponse.Builder |
clearChains()
A list of active chains the node is connected to
|
LightningApi.GetInfoResponse.Builder |
clearColor()
The color of the current node in hex code format
|
LightningApi.GetInfoResponse.Builder |
clearCommitHash()
The SHA1 commit hash that the daemon is compiled with.
|
LightningApi.GetInfoResponse.Builder |
clearFeatures() |
LightningApi.GetInfoResponse.Builder |
clearIdentityPubkey()
The identity pubkey of the current node.
|
LightningApi.GetInfoResponse.Builder |
clearNumActiveChannels()
Number of active channels
|
LightningApi.GetInfoResponse.Builder |
clearNumInactiveChannels()
Number of inactive channels
|
LightningApi.GetInfoResponse.Builder |
clearNumPeers()
Number of peers
|
LightningApi.GetInfoResponse.Builder |
clearNumPendingChannels()
Number of pending channels
|
LightningApi.GetInfoResponse.Builder |
clearRequireHtlcInterceptor()
Indicates whether the HTLC interceptor API is in always-on mode.
|
LightningApi.GetInfoResponse.Builder |
clearStoreFinalHtlcResolutions()
Indicates whether final htlc resolutions are stored on disk.
|
LightningApi.GetInfoResponse.Builder |
clearSyncedToChain()
Whether the wallet's view is synced to the main chain
|
LightningApi.GetInfoResponse.Builder |
clearSyncedToGraph()
Whether we consider ourselves synced with the public channel graph.
|
LightningApi.GetInfoResponse.Builder |
clearTestnet()
Deprecated.
lnrpc.GetInfoResponse.testnet is deprecated.
See lightning.api.proto;l=1936
|
LightningApi.GetInfoResponse.Builder |
clearUris()
The URIs of the current node.
|
LightningApi.GetInfoResponse.Builder |
clearVersion()
The version of the LND software that the node is running.
|
boolean |
containsFeatures(int key)
Features that our node has advertised in our init message, node
announcements and invoices.
|
java.lang.String |
getAlias()
If applicable, the alias of the current node, e.g.
|
com.google.protobuf.ByteString |
getAliasBytes()
If applicable, the alias of the current node, e.g.
|
long |
getBestHeaderTimestamp()
Timestamp of the block best known to the wallet
|
java.lang.String |
getBlockHash()
The node's current view of the hash of the best block
|
com.google.protobuf.ByteString |
getBlockHashBytes()
The node's current view of the hash of the best block
|
int |
getBlockHeight()
The node's current view of the height of the best block
|
LightningApi.Chain |
getChains(int index)
A list of active chains the node is connected to
|
LightningApi.Chain.Builder |
getChainsBuilder(int index)
A list of active chains the node is connected to
|
java.util.List<LightningApi.Chain.Builder> |
getChainsBuilderList()
A list of active chains the node is connected to
|
int |
getChainsCount()
A list of active chains the node is connected to
|
java.util.List<LightningApi.Chain> |
getChainsList()
A list of active chains the node is connected to
|
LightningApi.ChainOrBuilder |
getChainsOrBuilder(int index)
A list of active chains the node is connected to
|
java.util.List<? extends LightningApi.ChainOrBuilder> |
getChainsOrBuilderList()
A list of active chains the node is connected to
|
java.lang.String |
getColor()
The color of the current node in hex code format
|
com.google.protobuf.ByteString |
getColorBytes()
The color of the current node in hex code format
|
java.lang.String |
getCommitHash()
The SHA1 commit hash that the daemon is compiled with.
|
com.google.protobuf.ByteString |
getCommitHashBytes()
The SHA1 commit hash that the daemon is compiled with.
|
LightningApi.GetInfoResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.util.Map<java.lang.Integer,LightningApi.Feature> |
getFeatures()
Deprecated.
|
int |
getFeaturesCount()
Features that our node has advertised in our init message, node
announcements and invoices.
|
java.util.Map<java.lang.Integer,LightningApi.Feature> |
getFeaturesMap()
Features that our node has advertised in our init message, node
announcements and invoices.
|
LightningApi.Feature |
getFeaturesOrDefault(int key,
LightningApi.Feature defaultValue)
Features that our node has advertised in our init message, node
announcements and invoices.
|
LightningApi.Feature |
getFeaturesOrThrow(int key)
Features that our node has advertised in our init message, node
announcements and invoices.
|
java.lang.String |
getIdentityPubkey()
The identity pubkey of the current node.
|
com.google.protobuf.ByteString |
getIdentityPubkeyBytes()
The identity pubkey of the current node.
|
java.util.Map<java.lang.Integer,LightningApi.Feature> |
getMutableFeatures()
Deprecated.
|
int |
getNumActiveChannels()
Number of active channels
|
int |
getNumInactiveChannels()
Number of inactive channels
|
int |
getNumPeers()
Number of peers
|
int |
getNumPendingChannels()
Number of pending channels
|
boolean |
getRequireHtlcInterceptor()
Indicates whether the HTLC interceptor API is in always-on mode.
|
boolean |
getStoreFinalHtlcResolutions()
Indicates whether final htlc resolutions are stored on disk.
|
boolean |
getSyncedToChain()
Whether the wallet's view is synced to the main chain
|
boolean |
getSyncedToGraph()
Whether we consider ourselves synced with the public channel graph.
|
boolean |
getTestnet()
Deprecated.
lnrpc.GetInfoResponse.testnet is deprecated.
See lightning.api.proto;l=1936
|
java.lang.String |
getUris(int index)
The URIs of the current node.
|
com.google.protobuf.ByteString |
getUrisBytes(int index)
The URIs of the current node.
|
int |
getUrisCount()
The URIs of the current node.
|
com.google.protobuf.ProtocolStringList |
getUrisList()
The URIs of the current node.
|
java.lang.String |
getVersion()
The version of the LND software that the node is running.
|
com.google.protobuf.ByteString |
getVersionBytes()
The version of the LND software that the node is running.
|
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.GetInfoResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.GetInfoResponse.Builder |
mergeFrom(LightningApi.GetInfoResponse other) |
LightningApi.GetInfoResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.GetInfoResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.GetInfoResponse.Builder |
putAllFeatures(java.util.Map<java.lang.Integer,LightningApi.Feature> values)
Features that our node has advertised in our init message, node
announcements and invoices.
|
LightningApi.GetInfoResponse.Builder |
putFeatures(int key,
LightningApi.Feature value)
Features that our node has advertised in our init message, node
announcements and invoices.
|
LightningApi.GetInfoResponse.Builder |
removeChains(int index)
A list of active chains the node is connected to
|
LightningApi.GetInfoResponse.Builder |
removeFeatures(int key)
Features that our node has advertised in our init message, node
announcements and invoices.
|
LightningApi.GetInfoResponse.Builder |
setAlias(java.lang.String value)
If applicable, the alias of the current node, e.g.
|
LightningApi.GetInfoResponse.Builder |
setAliasBytes(com.google.protobuf.ByteString value)
If applicable, the alias of the current node, e.g.
|
LightningApi.GetInfoResponse.Builder |
setBestHeaderTimestamp(long value)
Timestamp of the block best known to the wallet
|
LightningApi.GetInfoResponse.Builder |
setBlockHash(java.lang.String value)
The node's current view of the hash of the best block
|
LightningApi.GetInfoResponse.Builder |
setBlockHashBytes(com.google.protobuf.ByteString value)
The node's current view of the hash of the best block
|
LightningApi.GetInfoResponse.Builder |
setBlockHeight(int value)
The node's current view of the height of the best block
|
LightningApi.GetInfoResponse.Builder |
setChains(int index,
LightningApi.Chain.Builder builderForValue)
A list of active chains the node is connected to
|
LightningApi.GetInfoResponse.Builder |
setChains(int index,
LightningApi.Chain value)
A list of active chains the node is connected to
|
LightningApi.GetInfoResponse.Builder |
setColor(java.lang.String value)
The color of the current node in hex code format
|
LightningApi.GetInfoResponse.Builder |
setColorBytes(com.google.protobuf.ByteString value)
The color of the current node in hex code format
|
LightningApi.GetInfoResponse.Builder |
setCommitHash(java.lang.String value)
The SHA1 commit hash that the daemon is compiled with.
|
LightningApi.GetInfoResponse.Builder |
setCommitHashBytes(com.google.protobuf.ByteString value)
The SHA1 commit hash that the daemon is compiled with.
|
LightningApi.GetInfoResponse.Builder |
setIdentityPubkey(java.lang.String value)
The identity pubkey of the current node.
|
LightningApi.GetInfoResponse.Builder |
setIdentityPubkeyBytes(com.google.protobuf.ByteString value)
The identity pubkey of the current node.
|
LightningApi.GetInfoResponse.Builder |
setNumActiveChannels(int value)
Number of active channels
|
LightningApi.GetInfoResponse.Builder |
setNumInactiveChannels(int value)
Number of inactive channels
|
LightningApi.GetInfoResponse.Builder |
setNumPeers(int value)
Number of peers
|
LightningApi.GetInfoResponse.Builder |
setNumPendingChannels(int value)
Number of pending channels
|
LightningApi.GetInfoResponse.Builder |
setRequireHtlcInterceptor(boolean value)
Indicates whether the HTLC interceptor API is in always-on mode.
|
LightningApi.GetInfoResponse.Builder |
setStoreFinalHtlcResolutions(boolean value)
Indicates whether final htlc resolutions are stored on disk.
|
LightningApi.GetInfoResponse.Builder |
setSyncedToChain(boolean value)
Whether the wallet's view is synced to the main chain
|
LightningApi.GetInfoResponse.Builder |
setSyncedToGraph(boolean value)
Whether we consider ourselves synced with the public channel graph.
|
LightningApi.GetInfoResponse.Builder |
setTestnet(boolean value)
Deprecated.
lnrpc.GetInfoResponse.testnet is deprecated.
See lightning.api.proto;l=1936
|
LightningApi.GetInfoResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.GetInfoResponse.Builder |
setUris(int index,
java.lang.String value)
The URIs of the current node.
|
LightningApi.GetInfoResponse.Builder |
setVersion(java.lang.String value)
The version of the LND software that the node is running.
|
LightningApi.GetInfoResponse.Builder |
setVersionBytes(com.google.protobuf.ByteString value)
The version of the LND software that the node is running.
|
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.GetInfoResponse.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.GetInfoResponse.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.GetInfoResponse.Builder>public LightningApi.GetInfoResponse.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.GetInfoResponse.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.GetInfoResponse.Builder>public LightningApi.GetInfoResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.GetInfoResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.GetInfoResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.GetInfoResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.GetInfoResponse.Builder>public LightningApi.GetInfoResponse.Builder mergeFrom(LightningApi.GetInfoResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.GetInfoResponse.Builder>public LightningApi.GetInfoResponse.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.GetInfoResponse.Builder>java.io.IOExceptionpublic java.lang.String getVersion()
The version of the LND software that the node is running.
string version = 14;getVersion in interface LightningApi.GetInfoResponseOrBuilderpublic com.google.protobuf.ByteString getVersionBytes()
The version of the LND software that the node is running.
string version = 14;getVersionBytes in interface LightningApi.GetInfoResponseOrBuilderpublic LightningApi.GetInfoResponse.Builder setVersion(java.lang.String value)
The version of the LND software that the node is running.
string version = 14;value - The version to set.public LightningApi.GetInfoResponse.Builder clearVersion()
The version of the LND software that the node is running.
string version = 14;public LightningApi.GetInfoResponse.Builder setVersionBytes(com.google.protobuf.ByteString value)
The version of the LND software that the node is running.
string version = 14;value - The bytes for version to set.public java.lang.String getCommitHash()
The SHA1 commit hash that the daemon is compiled with.
string commit_hash = 20;getCommitHash in interface LightningApi.GetInfoResponseOrBuilderpublic com.google.protobuf.ByteString getCommitHashBytes()
The SHA1 commit hash that the daemon is compiled with.
string commit_hash = 20;getCommitHashBytes in interface LightningApi.GetInfoResponseOrBuilderpublic LightningApi.GetInfoResponse.Builder setCommitHash(java.lang.String value)
The SHA1 commit hash that the daemon is compiled with.
string commit_hash = 20;value - The commitHash to set.public LightningApi.GetInfoResponse.Builder clearCommitHash()
The SHA1 commit hash that the daemon is compiled with.
string commit_hash = 20;public LightningApi.GetInfoResponse.Builder setCommitHashBytes(com.google.protobuf.ByteString value)
The SHA1 commit hash that the daemon is compiled with.
string commit_hash = 20;value - The bytes for commitHash to set.public java.lang.String getIdentityPubkey()
The identity pubkey of the current node.
string identity_pubkey = 1;getIdentityPubkey in interface LightningApi.GetInfoResponseOrBuilderpublic com.google.protobuf.ByteString getIdentityPubkeyBytes()
The identity pubkey of the current node.
string identity_pubkey = 1;getIdentityPubkeyBytes in interface LightningApi.GetInfoResponseOrBuilderpublic LightningApi.GetInfoResponse.Builder setIdentityPubkey(java.lang.String value)
The identity pubkey of the current node.
string identity_pubkey = 1;value - The identityPubkey to set.public LightningApi.GetInfoResponse.Builder clearIdentityPubkey()
The identity pubkey of the current node.
string identity_pubkey = 1;public LightningApi.GetInfoResponse.Builder setIdentityPubkeyBytes(com.google.protobuf.ByteString value)
The identity pubkey of the current node.
string identity_pubkey = 1;value - The bytes for identityPubkey to set.public java.lang.String getAlias()
If applicable, the alias of the current node, e.g. "bob"
string alias = 2;getAlias in interface LightningApi.GetInfoResponseOrBuilderpublic com.google.protobuf.ByteString getAliasBytes()
If applicable, the alias of the current node, e.g. "bob"
string alias = 2;getAliasBytes in interface LightningApi.GetInfoResponseOrBuilderpublic LightningApi.GetInfoResponse.Builder setAlias(java.lang.String value)
If applicable, the alias of the current node, e.g. "bob"
string alias = 2;value - The alias to set.public LightningApi.GetInfoResponse.Builder clearAlias()
If applicable, the alias of the current node, e.g. "bob"
string alias = 2;public LightningApi.GetInfoResponse.Builder setAliasBytes(com.google.protobuf.ByteString value)
If applicable, the alias of the current node, e.g. "bob"
string alias = 2;value - The bytes for alias to set.public java.lang.String getColor()
The color of the current node in hex code format
string color = 17;getColor in interface LightningApi.GetInfoResponseOrBuilderpublic com.google.protobuf.ByteString getColorBytes()
The color of the current node in hex code format
string color = 17;getColorBytes in interface LightningApi.GetInfoResponseOrBuilderpublic LightningApi.GetInfoResponse.Builder setColor(java.lang.String value)
The color of the current node in hex code format
string color = 17;value - The color to set.public LightningApi.GetInfoResponse.Builder clearColor()
The color of the current node in hex code format
string color = 17;public LightningApi.GetInfoResponse.Builder setColorBytes(com.google.protobuf.ByteString value)
The color of the current node in hex code format
string color = 17;value - The bytes for color to set.public int getNumPendingChannels()
Number of pending channels
uint32 num_pending_channels = 3;getNumPendingChannels in interface LightningApi.GetInfoResponseOrBuilderpublic LightningApi.GetInfoResponse.Builder setNumPendingChannels(int value)
Number of pending channels
uint32 num_pending_channels = 3;value - The numPendingChannels to set.public LightningApi.GetInfoResponse.Builder clearNumPendingChannels()
Number of pending channels
uint32 num_pending_channels = 3;public int getNumActiveChannels()
Number of active channels
uint32 num_active_channels = 4;getNumActiveChannels in interface LightningApi.GetInfoResponseOrBuilderpublic LightningApi.GetInfoResponse.Builder setNumActiveChannels(int value)
Number of active channels
uint32 num_active_channels = 4;value - The numActiveChannels to set.public LightningApi.GetInfoResponse.Builder clearNumActiveChannels()
Number of active channels
uint32 num_active_channels = 4;public int getNumInactiveChannels()
Number of inactive channels
uint32 num_inactive_channels = 15;getNumInactiveChannels in interface LightningApi.GetInfoResponseOrBuilderpublic LightningApi.GetInfoResponse.Builder setNumInactiveChannels(int value)
Number of inactive channels
uint32 num_inactive_channels = 15;value - The numInactiveChannels to set.public LightningApi.GetInfoResponse.Builder clearNumInactiveChannels()
Number of inactive channels
uint32 num_inactive_channels = 15;public int getNumPeers()
Number of peers
uint32 num_peers = 5;getNumPeers in interface LightningApi.GetInfoResponseOrBuilderpublic LightningApi.GetInfoResponse.Builder setNumPeers(int value)
Number of peers
uint32 num_peers = 5;value - The numPeers to set.public LightningApi.GetInfoResponse.Builder clearNumPeers()
Number of peers
uint32 num_peers = 5;public int getBlockHeight()
The node's current view of the height of the best block
uint32 block_height = 6;getBlockHeight in interface LightningApi.GetInfoResponseOrBuilderpublic LightningApi.GetInfoResponse.Builder setBlockHeight(int value)
The node's current view of the height of the best block
uint32 block_height = 6;value - The blockHeight to set.public LightningApi.GetInfoResponse.Builder clearBlockHeight()
The node's current view of the height of the best block
uint32 block_height = 6;public java.lang.String getBlockHash()
The node's current view of the hash of the best block
string block_hash = 8;getBlockHash in interface LightningApi.GetInfoResponseOrBuilderpublic com.google.protobuf.ByteString getBlockHashBytes()
The node's current view of the hash of the best block
string block_hash = 8;getBlockHashBytes in interface LightningApi.GetInfoResponseOrBuilderpublic LightningApi.GetInfoResponse.Builder setBlockHash(java.lang.String value)
The node's current view of the hash of the best block
string block_hash = 8;value - The blockHash to set.public LightningApi.GetInfoResponse.Builder clearBlockHash()
The node's current view of the hash of the best block
string block_hash = 8;public LightningApi.GetInfoResponse.Builder setBlockHashBytes(com.google.protobuf.ByteString value)
The node's current view of the hash of the best block
string block_hash = 8;value - The bytes for blockHash to set.public long getBestHeaderTimestamp()
Timestamp of the block best known to the wallet
int64 best_header_timestamp = 13;getBestHeaderTimestamp in interface LightningApi.GetInfoResponseOrBuilderpublic LightningApi.GetInfoResponse.Builder setBestHeaderTimestamp(long value)
Timestamp of the block best known to the wallet
int64 best_header_timestamp = 13;value - The bestHeaderTimestamp to set.public LightningApi.GetInfoResponse.Builder clearBestHeaderTimestamp()
Timestamp of the block best known to the wallet
int64 best_header_timestamp = 13;public boolean getSyncedToChain()
Whether the wallet's view is synced to the main chain
bool synced_to_chain = 9;getSyncedToChain in interface LightningApi.GetInfoResponseOrBuilderpublic LightningApi.GetInfoResponse.Builder setSyncedToChain(boolean value)
Whether the wallet's view is synced to the main chain
bool synced_to_chain = 9;value - The syncedToChain to set.public LightningApi.GetInfoResponse.Builder clearSyncedToChain()
Whether the wallet's view is synced to the main chain
bool synced_to_chain = 9;public boolean getSyncedToGraph()
Whether we consider ourselves synced with the public channel graph.
bool synced_to_graph = 18;getSyncedToGraph in interface LightningApi.GetInfoResponseOrBuilderpublic LightningApi.GetInfoResponse.Builder setSyncedToGraph(boolean value)
Whether we consider ourselves synced with the public channel graph.
bool synced_to_graph = 18;value - The syncedToGraph to set.public LightningApi.GetInfoResponse.Builder clearSyncedToGraph()
Whether we consider ourselves synced with the public channel graph.
bool synced_to_graph = 18;@Deprecated public boolean getTestnet()
Whether the current node is connected to testnet. This field is deprecated and the network field should be used instead
bool testnet = 10 [deprecated = true];getTestnet in interface LightningApi.GetInfoResponseOrBuilder@Deprecated public LightningApi.GetInfoResponse.Builder setTestnet(boolean value)
Whether the current node is connected to testnet. This field is deprecated and the network field should be used instead
bool testnet = 10 [deprecated = true];value - The testnet to set.@Deprecated public LightningApi.GetInfoResponse.Builder clearTestnet()
Whether the current node is connected to testnet. This field is deprecated and the network field should be used instead
bool testnet = 10 [deprecated = true];public java.util.List<LightningApi.Chain> getChainsList()
A list of active chains the node is connected to
repeated .lnrpc.Chain chains = 16;getChainsList in interface LightningApi.GetInfoResponseOrBuilderpublic int getChainsCount()
A list of active chains the node is connected to
repeated .lnrpc.Chain chains = 16;getChainsCount in interface LightningApi.GetInfoResponseOrBuilderpublic LightningApi.Chain getChains(int index)
A list of active chains the node is connected to
repeated .lnrpc.Chain chains = 16;getChains in interface LightningApi.GetInfoResponseOrBuilderpublic LightningApi.GetInfoResponse.Builder setChains(int index, LightningApi.Chain value)
A list of active chains the node is connected to
repeated .lnrpc.Chain chains = 16;public LightningApi.GetInfoResponse.Builder setChains(int index, LightningApi.Chain.Builder builderForValue)
A list of active chains the node is connected to
repeated .lnrpc.Chain chains = 16;public LightningApi.GetInfoResponse.Builder addChains(LightningApi.Chain value)
A list of active chains the node is connected to
repeated .lnrpc.Chain chains = 16;public LightningApi.GetInfoResponse.Builder addChains(int index, LightningApi.Chain value)
A list of active chains the node is connected to
repeated .lnrpc.Chain chains = 16;public LightningApi.GetInfoResponse.Builder addChains(LightningApi.Chain.Builder builderForValue)
A list of active chains the node is connected to
repeated .lnrpc.Chain chains = 16;public LightningApi.GetInfoResponse.Builder addChains(int index, LightningApi.Chain.Builder builderForValue)
A list of active chains the node is connected to
repeated .lnrpc.Chain chains = 16;public LightningApi.GetInfoResponse.Builder addAllChains(java.lang.Iterable<? extends LightningApi.Chain> values)
A list of active chains the node is connected to
repeated .lnrpc.Chain chains = 16;public LightningApi.GetInfoResponse.Builder clearChains()
A list of active chains the node is connected to
repeated .lnrpc.Chain chains = 16;public LightningApi.GetInfoResponse.Builder removeChains(int index)
A list of active chains the node is connected to
repeated .lnrpc.Chain chains = 16;public LightningApi.Chain.Builder getChainsBuilder(int index)
A list of active chains the node is connected to
repeated .lnrpc.Chain chains = 16;public LightningApi.ChainOrBuilder getChainsOrBuilder(int index)
A list of active chains the node is connected to
repeated .lnrpc.Chain chains = 16;getChainsOrBuilder in interface LightningApi.GetInfoResponseOrBuilderpublic java.util.List<? extends LightningApi.ChainOrBuilder> getChainsOrBuilderList()
A list of active chains the node is connected to
repeated .lnrpc.Chain chains = 16;getChainsOrBuilderList in interface LightningApi.GetInfoResponseOrBuilderpublic LightningApi.Chain.Builder addChainsBuilder()
A list of active chains the node is connected to
repeated .lnrpc.Chain chains = 16;public LightningApi.Chain.Builder addChainsBuilder(int index)
A list of active chains the node is connected to
repeated .lnrpc.Chain chains = 16;public java.util.List<LightningApi.Chain.Builder> getChainsBuilderList()
A list of active chains the node is connected to
repeated .lnrpc.Chain chains = 16;public com.google.protobuf.ProtocolStringList getUrisList()
The URIs of the current node.
repeated string uris = 12;getUrisList in interface LightningApi.GetInfoResponseOrBuilderpublic int getUrisCount()
The URIs of the current node.
repeated string uris = 12;getUrisCount in interface LightningApi.GetInfoResponseOrBuilderpublic java.lang.String getUris(int index)
The URIs of the current node.
repeated string uris = 12;getUris in interface LightningApi.GetInfoResponseOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getUrisBytes(int index)
The URIs of the current node.
repeated string uris = 12;getUrisBytes in interface LightningApi.GetInfoResponseOrBuilderindex - The index of the value to return.public LightningApi.GetInfoResponse.Builder setUris(int index, java.lang.String value)
The URIs of the current node.
repeated string uris = 12;index - The index to set the value at.value - The uris to set.public LightningApi.GetInfoResponse.Builder addUris(java.lang.String value)
The URIs of the current node.
repeated string uris = 12;value - The uris to add.public LightningApi.GetInfoResponse.Builder addAllUris(java.lang.Iterable<java.lang.String> values)
The URIs of the current node.
repeated string uris = 12;values - The uris to add.public LightningApi.GetInfoResponse.Builder clearUris()
The URIs of the current node.
repeated string uris = 12;public LightningApi.GetInfoResponse.Builder addUrisBytes(com.google.protobuf.ByteString value)
The URIs of the current node.
repeated string uris = 12;value - The bytes of the uris to add.public int getFeaturesCount()
LightningApi.GetInfoResponseOrBuilderFeatures that our node has advertised in our init message, node announcements and invoices.
map<uint32, .lnrpc.Feature> features = 19;getFeaturesCount in interface LightningApi.GetInfoResponseOrBuilderpublic boolean containsFeatures(int key)
Features that our node has advertised in our init message, node announcements and invoices.
map<uint32, .lnrpc.Feature> features = 19;containsFeatures in interface LightningApi.GetInfoResponseOrBuilder@Deprecated public java.util.Map<java.lang.Integer,LightningApi.Feature> getFeatures()
getFeaturesMap() instead.getFeatures in interface LightningApi.GetInfoResponseOrBuilderpublic java.util.Map<java.lang.Integer,LightningApi.Feature> getFeaturesMap()
Features that our node has advertised in our init message, node announcements and invoices.
map<uint32, .lnrpc.Feature> features = 19;getFeaturesMap in interface LightningApi.GetInfoResponseOrBuilderpublic LightningApi.Feature getFeaturesOrDefault(int key, LightningApi.Feature defaultValue)
Features that our node has advertised in our init message, node announcements and invoices.
map<uint32, .lnrpc.Feature> features = 19;getFeaturesOrDefault in interface LightningApi.GetInfoResponseOrBuilderpublic LightningApi.Feature getFeaturesOrThrow(int key)
Features that our node has advertised in our init message, node announcements and invoices.
map<uint32, .lnrpc.Feature> features = 19;getFeaturesOrThrow in interface LightningApi.GetInfoResponseOrBuilderpublic LightningApi.GetInfoResponse.Builder clearFeatures()
public LightningApi.GetInfoResponse.Builder removeFeatures(int key)
Features that our node has advertised in our init message, node announcements and invoices.
map<uint32, .lnrpc.Feature> features = 19;@Deprecated public java.util.Map<java.lang.Integer,LightningApi.Feature> getMutableFeatures()
public LightningApi.GetInfoResponse.Builder putFeatures(int key, LightningApi.Feature value)
Features that our node has advertised in our init message, node announcements and invoices.
map<uint32, .lnrpc.Feature> features = 19;public LightningApi.GetInfoResponse.Builder putAllFeatures(java.util.Map<java.lang.Integer,LightningApi.Feature> values)
Features that our node has advertised in our init message, node announcements and invoices.
map<uint32, .lnrpc.Feature> features = 19;public boolean getRequireHtlcInterceptor()
Indicates whether the HTLC interceptor API is in always-on mode.
bool require_htlc_interceptor = 21;getRequireHtlcInterceptor in interface LightningApi.GetInfoResponseOrBuilderpublic LightningApi.GetInfoResponse.Builder setRequireHtlcInterceptor(boolean value)
Indicates whether the HTLC interceptor API is in always-on mode.
bool require_htlc_interceptor = 21;value - The requireHtlcInterceptor to set.public LightningApi.GetInfoResponse.Builder clearRequireHtlcInterceptor()
Indicates whether the HTLC interceptor API is in always-on mode.
bool require_htlc_interceptor = 21;public boolean getStoreFinalHtlcResolutions()
Indicates whether final htlc resolutions are stored on disk.
bool store_final_htlc_resolutions = 22;getStoreFinalHtlcResolutions in interface LightningApi.GetInfoResponseOrBuilderpublic LightningApi.GetInfoResponse.Builder setStoreFinalHtlcResolutions(boolean value)
Indicates whether final htlc resolutions are stored on disk.
bool store_final_htlc_resolutions = 22;value - The storeFinalHtlcResolutions to set.public LightningApi.GetInfoResponse.Builder clearStoreFinalHtlcResolutions()
Indicates whether final htlc resolutions are stored on disk.
bool store_final_htlc_resolutions = 22;public final LightningApi.GetInfoResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.GetInfoResponse.Builder>public final LightningApi.GetInfoResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.GetInfoResponse.Builder>