public static final class LightningApi.GetInfoResponse extends com.google.protobuf.GeneratedMessageV3 implements LightningApi.GetInfoResponseOrBuilder
lnrpc.GetInfoResponse| Modifier and Type | Class and Description |
|---|---|
static class |
LightningApi.GetInfoResponse.Builder
Protobuf type
lnrpc.GetInfoResponse |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ALIAS_FIELD_NUMBER |
static int |
BEST_HEADER_TIMESTAMP_FIELD_NUMBER |
static int |
BLOCK_HASH_FIELD_NUMBER |
static int |
BLOCK_HEIGHT_FIELD_NUMBER |
static int |
CHAINS_FIELD_NUMBER |
static int |
COLOR_FIELD_NUMBER |
static int |
COMMIT_HASH_FIELD_NUMBER |
static int |
FEATURES_FIELD_NUMBER |
static int |
IDENTITY_PUBKEY_FIELD_NUMBER |
static int |
NUM_ACTIVE_CHANNELS_FIELD_NUMBER |
static int |
NUM_INACTIVE_CHANNELS_FIELD_NUMBER |
static int |
NUM_PEERS_FIELD_NUMBER |
static int |
NUM_PENDING_CHANNELS_FIELD_NUMBER |
static int |
REQUIRE_HTLC_INTERCEPTOR_FIELD_NUMBER |
static int |
STORE_FINAL_HTLC_RESOLUTIONS_FIELD_NUMBER |
static int |
SYNCED_TO_CHAIN_FIELD_NUMBER |
static int |
SYNCED_TO_GRAPH_FIELD_NUMBER |
static int |
TESTNET_FIELD_NUMBER |
static int |
URIS_FIELD_NUMBER |
static int |
VERSION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsFeatures(int key)
Features that our node has advertised in our init message, node
announcements and invoices.
|
boolean |
equals(java.lang.Object obj) |
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
|
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.
|
static LightningApi.GetInfoResponse |
getDefaultInstance() |
LightningApi.GetInfoResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
int |
getNumActiveChannels()
Number of active channels
|
int |
getNumInactiveChannels()
Number of inactive channels
|
int |
getNumPeers()
Number of peers
|
int |
getNumPendingChannels()
Number of pending channels
|
com.google.protobuf.Parser<LightningApi.GetInfoResponse> |
getParserForType() |
boolean |
getRequireHtlcInterceptor()
Indicates whether the HTLC interceptor API is in always-on mode.
|
int |
getSerializedSize() |
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.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static LightningApi.GetInfoResponse.Builder |
newBuilder() |
static LightningApi.GetInfoResponse.Builder |
newBuilder(LightningApi.GetInfoResponse prototype) |
LightningApi.GetInfoResponse.Builder |
newBuilderForType() |
protected LightningApi.GetInfoResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static LightningApi.GetInfoResponse |
parseDelimitedFrom(java.io.InputStream input) |
static LightningApi.GetInfoResponse |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.GetInfoResponse |
parseFrom(byte[] data) |
static LightningApi.GetInfoResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.GetInfoResponse |
parseFrom(java.nio.ByteBuffer data) |
static LightningApi.GetInfoResponse |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.GetInfoResponse |
parseFrom(com.google.protobuf.ByteString data) |
static LightningApi.GetInfoResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.GetInfoResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LightningApi.GetInfoResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.GetInfoResponse |
parseFrom(java.io.InputStream input) |
static LightningApi.GetInfoResponse |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<LightningApi.GetInfoResponse> |
parser() |
LightningApi.GetInfoResponse.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int VERSION_FIELD_NUMBER
public static final int COMMIT_HASH_FIELD_NUMBER
public static final int IDENTITY_PUBKEY_FIELD_NUMBER
public static final int ALIAS_FIELD_NUMBER
public static final int COLOR_FIELD_NUMBER
public static final int NUM_PENDING_CHANNELS_FIELD_NUMBER
public static final int NUM_ACTIVE_CHANNELS_FIELD_NUMBER
public static final int NUM_INACTIVE_CHANNELS_FIELD_NUMBER
public static final int NUM_PEERS_FIELD_NUMBER
public static final int BLOCK_HEIGHT_FIELD_NUMBER
public static final int BLOCK_HASH_FIELD_NUMBER
public static final int BEST_HEADER_TIMESTAMP_FIELD_NUMBER
public static final int SYNCED_TO_CHAIN_FIELD_NUMBER
public static final int SYNCED_TO_GRAPH_FIELD_NUMBER
public static final int TESTNET_FIELD_NUMBER
public static final int CHAINS_FIELD_NUMBER
public static final int URIS_FIELD_NUMBER
public static final int FEATURES_FIELD_NUMBER
public static final int REQUIRE_HTLC_INTERCEPTOR_FIELD_NUMBER
public static final int STORE_FINAL_HTLC_RESOLUTIONS_FIELD_NUMBER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 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 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 int getNumPendingChannels()
Number of pending channels
uint32 num_pending_channels = 3;getNumPendingChannels in interface LightningApi.GetInfoResponseOrBuilderpublic int getNumActiveChannels()
Number of active channels
uint32 num_active_channels = 4;getNumActiveChannels in interface LightningApi.GetInfoResponseOrBuilderpublic int getNumInactiveChannels()
Number of inactive channels
uint32 num_inactive_channels = 15;getNumInactiveChannels in interface LightningApi.GetInfoResponseOrBuilderpublic int getNumPeers()
Number of peers
uint32 num_peers = 5;getNumPeers in interface LightningApi.GetInfoResponseOrBuilderpublic int getBlockHeight()
The node's current view of the height of the best block
uint32 block_height = 6;getBlockHeight in interface LightningApi.GetInfoResponseOrBuilderpublic 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 long getBestHeaderTimestamp()
Timestamp of the block best known to the wallet
int64 best_header_timestamp = 13;getBestHeaderTimestamp in interface LightningApi.GetInfoResponseOrBuilderpublic boolean getSyncedToChain()
Whether the wallet's view is synced to the main chain
bool synced_to_chain = 9;getSyncedToChain in interface LightningApi.GetInfoResponseOrBuilderpublic boolean getSyncedToGraph()
Whether we consider ourselves synced with the public channel graph.
bool synced_to_graph = 18;getSyncedToGraph in interface LightningApi.GetInfoResponseOrBuilder@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.GetInfoResponseOrBuilderpublic 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 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 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.ChainOrBuilder getChainsOrBuilder(int index)
A list of active chains the node is connected to
repeated .lnrpc.Chain chains = 16;getChainsOrBuilder in interface LightningApi.GetInfoResponseOrBuilderpublic 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 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 boolean getRequireHtlcInterceptor()
Indicates whether the HTLC interceptor API is in always-on mode.
bool require_htlc_interceptor = 21;getRequireHtlcInterceptor in interface LightningApi.GetInfoResponseOrBuilderpublic boolean getStoreFinalHtlcResolutions()
Indicates whether final htlc resolutions are stored on disk.
bool store_final_htlc_resolutions = 22;getStoreFinalHtlcResolutions in interface LightningApi.GetInfoResponseOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static LightningApi.GetInfoResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.GetInfoResponse parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.GetInfoResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.GetInfoResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.GetInfoResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.GetInfoResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.GetInfoResponse parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.GetInfoResponse parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.GetInfoResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.GetInfoResponse parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.GetInfoResponse parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.GetInfoResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic LightningApi.GetInfoResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static LightningApi.GetInfoResponse.Builder newBuilder()
public static LightningApi.GetInfoResponse.Builder newBuilder(LightningApi.GetInfoResponse prototype)
public LightningApi.GetInfoResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected LightningApi.GetInfoResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static LightningApi.GetInfoResponse getDefaultInstance()
public static com.google.protobuf.Parser<LightningApi.GetInfoResponse> parser()
public com.google.protobuf.Parser<LightningApi.GetInfoResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public LightningApi.GetInfoResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder