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<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
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 |
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 |
SYNCED_TO_CHAIN_FIELD_NUMBER |
static int |
TESTNET_FIELD_NUMBER |
static int |
URIS_FIELD_NUMBER |
static int |
VERSION_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
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
|
java.lang.String |
getChains(int index)
/ A list of active chains the node is connected to
|
com.google.protobuf.ByteString |
getChainsBytes(int index)
/ A list of active chains the node is connected to
|
int |
getChainsCount()
/ A list of active chains the node is connected to
|
com.google.protobuf.ProtocolStringList |
getChainsList()
/ A list of active chains the node is connected to
|
static LightningApi.GetInfoResponse |
getDefaultInstance() |
LightningApi.GetInfoResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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() |
int |
getSerializedSize() |
boolean |
getSyncedToChain()
/ Whether the wallet's view is synced to the main chain
|
boolean |
getTestnet()
/ Whether the current node is connected to testnet
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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() |
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) |
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) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int IDENTITY_PUBKEY_FIELD_NUMBER
public static final int ALIAS_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_PEERS_FIELD_NUMBER
public static final int BLOCK_HEIGHT_FIELD_NUMBER
public static final int BLOCK_HASH_FIELD_NUMBER
public static final int SYNCED_TO_CHAIN_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 BEST_HEADER_TIMESTAMP_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
public static final int NUM_INACTIVE_CHANNELS_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public java.lang.String getIdentityPubkey()
/ The identity pubkey of the current node.
string identity_pubkey = 1[json_name = "identity_pubkey"];
getIdentityPubkey
in interface LightningApi.GetInfoResponseOrBuilder
public com.google.protobuf.ByteString getIdentityPubkeyBytes()
/ The identity pubkey of the current node.
string identity_pubkey = 1[json_name = "identity_pubkey"];
getIdentityPubkeyBytes
in interface LightningApi.GetInfoResponseOrBuilder
public java.lang.String getAlias()
/ If applicable, the alias of the current node, e.g. "bob"
string alias = 2[json_name = "alias"];
getAlias
in interface LightningApi.GetInfoResponseOrBuilder
public com.google.protobuf.ByteString getAliasBytes()
/ If applicable, the alias of the current node, e.g. "bob"
string alias = 2[json_name = "alias"];
getAliasBytes
in interface LightningApi.GetInfoResponseOrBuilder
public int getNumPendingChannels()
/ Number of pending channels
uint32 num_pending_channels = 3[json_name = "num_pending_channels"];
getNumPendingChannels
in interface LightningApi.GetInfoResponseOrBuilder
public int getNumActiveChannels()
/ Number of active channels
uint32 num_active_channels = 4[json_name = "num_active_channels"];
getNumActiveChannels
in interface LightningApi.GetInfoResponseOrBuilder
public int getNumPeers()
/ Number of peers
uint32 num_peers = 5[json_name = "num_peers"];
getNumPeers
in interface LightningApi.GetInfoResponseOrBuilder
public int getBlockHeight()
/ The node's current view of the height of the best block
uint32 block_height = 6[json_name = "block_height"];
getBlockHeight
in interface LightningApi.GetInfoResponseOrBuilder
public java.lang.String getBlockHash()
/ The node's current view of the hash of the best block
string block_hash = 8[json_name = "block_hash"];
getBlockHash
in interface LightningApi.GetInfoResponseOrBuilder
public com.google.protobuf.ByteString getBlockHashBytes()
/ The node's current view of the hash of the best block
string block_hash = 8[json_name = "block_hash"];
getBlockHashBytes
in interface LightningApi.GetInfoResponseOrBuilder
public boolean getSyncedToChain()
/ Whether the wallet's view is synced to the main chain
bool synced_to_chain = 9[json_name = "synced_to_chain"];
getSyncedToChain
in interface LightningApi.GetInfoResponseOrBuilder
public boolean getTestnet()
/ Whether the current node is connected to testnet
bool testnet = 10[json_name = "testnet"];
getTestnet
in interface LightningApi.GetInfoResponseOrBuilder
public com.google.protobuf.ProtocolStringList getChainsList()
/ A list of active chains the node is connected to
repeated string chains = 11[json_name = "chains"];
getChainsList
in interface LightningApi.GetInfoResponseOrBuilder
public int getChainsCount()
/ A list of active chains the node is connected to
repeated string chains = 11[json_name = "chains"];
getChainsCount
in interface LightningApi.GetInfoResponseOrBuilder
public java.lang.String getChains(int index)
/ A list of active chains the node is connected to
repeated string chains = 11[json_name = "chains"];
getChains
in interface LightningApi.GetInfoResponseOrBuilder
public com.google.protobuf.ByteString getChainsBytes(int index)
/ A list of active chains the node is connected to
repeated string chains = 11[json_name = "chains"];
getChainsBytes
in interface LightningApi.GetInfoResponseOrBuilder
public com.google.protobuf.ProtocolStringList getUrisList()
/ The URIs of the current node.
repeated string uris = 12[json_name = "uris"];
getUrisList
in interface LightningApi.GetInfoResponseOrBuilder
public int getUrisCount()
/ The URIs of the current node.
repeated string uris = 12[json_name = "uris"];
getUrisCount
in interface LightningApi.GetInfoResponseOrBuilder
public java.lang.String getUris(int index)
/ The URIs of the current node.
repeated string uris = 12[json_name = "uris"];
getUris
in interface LightningApi.GetInfoResponseOrBuilder
public com.google.protobuf.ByteString getUrisBytes(int index)
/ The URIs of the current node.
repeated string uris = 12[json_name = "uris"];
getUrisBytes
in interface LightningApi.GetInfoResponseOrBuilder
public long getBestHeaderTimestamp()
/ Timestamp of the block best known to the wallet
int64 best_header_timestamp = 13[json_name = "best_header_timestamp"];
getBestHeaderTimestamp
in interface LightningApi.GetInfoResponseOrBuilder
public java.lang.String getVersion()
/ The version of the LND software that the node is running.
string version = 14[json_name = "version"];
getVersion
in interface LightningApi.GetInfoResponseOrBuilder
public com.google.protobuf.ByteString getVersionBytes()
/ The version of the LND software that the node is running.
string version = 14[json_name = "version"];
getVersionBytes
in interface LightningApi.GetInfoResponseOrBuilder
public int getNumInactiveChannels()
/ Number of inactive channels
uint32 num_inactive_channels = 15[json_name = "num_inactive_channels"];
getNumInactiveChannels
in interface LightningApi.GetInfoResponseOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static LightningApi.GetInfoResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.GetInfoResponse parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.GetInfoResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.GetInfoResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.GetInfoResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.GetInfoResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.GetInfoResponse parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static LightningApi.GetInfoResponse parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static LightningApi.GetInfoResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static LightningApi.GetInfoResponse parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static LightningApi.GetInfoResponse parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static LightningApi.GetInfoResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public LightningApi.GetInfoResponse.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public 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.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected LightningApi.GetInfoResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public LightningApi.GetInfoResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder