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<java.lang.String> 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(java.lang.String value)
/ A list of active chains the node is connected to
|
LightningApi.GetInfoResponse.Builder |
addChainsBytes(com.google.protobuf.ByteString value)
/ A list of active chains the node is connected to
|
LightningApi.GetInfoResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
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 |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
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 |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
LightningApi.GetInfoResponse.Builder |
clearSyncedToChain()
/ Whether the wallet's view is synced to the main chain
|
LightningApi.GetInfoResponse.Builder |
clearTestnet()
/ Whether the current node is connected to testnet
|
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.
|
LightningApi.GetInfoResponse.Builder |
clone() |
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
|
LightningApi.GetInfoResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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
|
boolean |
getSyncedToChain()
/ Whether the wallet's view is synced to the main chain
|
boolean |
getTestnet()
/ Whether the current node is connected to testnet
|
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() |
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 |
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,
java.lang.String value)
/ A list of active chains the node is connected to
|
LightningApi.GetInfoResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
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 |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
LightningApi.GetInfoResponse.Builder |
setSyncedToChain(boolean value)
/ Whether the wallet's view is synced to the main chain
|
LightningApi.GetInfoResponse.Builder |
setTestnet(boolean value)
/ Whether the current node is connected to testnet
|
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.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.GetInfoResponse.Builder>
public LightningApi.GetInfoResponse.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.GetInfoResponse.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.GetInfoResponse.Builder>
public LightningApi.GetInfoResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public LightningApi.GetInfoResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.GetInfoResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.GetInfoResponse.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.GetInfoResponse.Builder>
public LightningApi.GetInfoResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.GetInfoResponse.Builder>
public LightningApi.GetInfoResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.GetInfoResponse.Builder>
public LightningApi.GetInfoResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.GetInfoResponse.Builder>
public LightningApi.GetInfoResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.GetInfoResponse.Builder>
public LightningApi.GetInfoResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.GetInfoResponse.Builder>
public LightningApi.GetInfoResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LightningApi.GetInfoResponse.Builder>
java.io.IOException
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 LightningApi.GetInfoResponse.Builder setIdentityPubkey(java.lang.String value)
/ The identity pubkey of the current node.
string identity_pubkey = 1[json_name = "identity_pubkey"];
public LightningApi.GetInfoResponse.Builder clearIdentityPubkey()
/ The identity pubkey of the current node.
string identity_pubkey = 1[json_name = "identity_pubkey"];
public LightningApi.GetInfoResponse.Builder setIdentityPubkeyBytes(com.google.protobuf.ByteString value)
/ The identity pubkey of the current node.
string identity_pubkey = 1[json_name = "identity_pubkey"];
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 LightningApi.GetInfoResponse.Builder setAlias(java.lang.String value)
/ If applicable, the alias of the current node, e.g. "bob"
string alias = 2[json_name = "alias"];
public LightningApi.GetInfoResponse.Builder clearAlias()
/ If applicable, the alias of the current node, e.g. "bob"
string alias = 2[json_name = "alias"];
public LightningApi.GetInfoResponse.Builder setAliasBytes(com.google.protobuf.ByteString value)
/ If applicable, the alias of the current node, e.g. "bob"
string alias = 2[json_name = "alias"];
public int getNumPendingChannels()
/ Number of pending channels
uint32 num_pending_channels = 3[json_name = "num_pending_channels"];
getNumPendingChannels
in interface LightningApi.GetInfoResponseOrBuilder
public LightningApi.GetInfoResponse.Builder setNumPendingChannels(int value)
/ Number of pending channels
uint32 num_pending_channels = 3[json_name = "num_pending_channels"];
public LightningApi.GetInfoResponse.Builder clearNumPendingChannels()
/ Number of pending channels
uint32 num_pending_channels = 3[json_name = "num_pending_channels"];
public int getNumActiveChannels()
/ Number of active channels
uint32 num_active_channels = 4[json_name = "num_active_channels"];
getNumActiveChannels
in interface LightningApi.GetInfoResponseOrBuilder
public LightningApi.GetInfoResponse.Builder setNumActiveChannels(int value)
/ Number of active channels
uint32 num_active_channels = 4[json_name = "num_active_channels"];
public LightningApi.GetInfoResponse.Builder clearNumActiveChannels()
/ Number of active channels
uint32 num_active_channels = 4[json_name = "num_active_channels"];
public int getNumPeers()
/ Number of peers
uint32 num_peers = 5[json_name = "num_peers"];
getNumPeers
in interface LightningApi.GetInfoResponseOrBuilder
public LightningApi.GetInfoResponse.Builder setNumPeers(int value)
/ Number of peers
uint32 num_peers = 5[json_name = "num_peers"];
public LightningApi.GetInfoResponse.Builder clearNumPeers()
/ Number of peers
uint32 num_peers = 5[json_name = "num_peers"];
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 LightningApi.GetInfoResponse.Builder setBlockHeight(int value)
/ The node's current view of the height of the best block
uint32 block_height = 6[json_name = "block_height"];
public LightningApi.GetInfoResponse.Builder clearBlockHeight()
/ The node's current view of the height of the best block
uint32 block_height = 6[json_name = "block_height"];
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 LightningApi.GetInfoResponse.Builder setBlockHash(java.lang.String value)
/ The node's current view of the hash of the best block
string block_hash = 8[json_name = "block_hash"];
public LightningApi.GetInfoResponse.Builder clearBlockHash()
/ The node's current view of the hash of the best block
string block_hash = 8[json_name = "block_hash"];
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[json_name = "block_hash"];
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 LightningApi.GetInfoResponse.Builder setSyncedToChain(boolean value)
/ Whether the wallet's view is synced to the main chain
bool synced_to_chain = 9[json_name = "synced_to_chain"];
public LightningApi.GetInfoResponse.Builder clearSyncedToChain()
/ Whether the wallet's view is synced to the main chain
bool synced_to_chain = 9[json_name = "synced_to_chain"];
public boolean getTestnet()
/ Whether the current node is connected to testnet
bool testnet = 10[json_name = "testnet"];
getTestnet
in interface LightningApi.GetInfoResponseOrBuilder
public LightningApi.GetInfoResponse.Builder setTestnet(boolean value)
/ Whether the current node is connected to testnet
bool testnet = 10[json_name = "testnet"];
public LightningApi.GetInfoResponse.Builder clearTestnet()
/ Whether the current node is connected to testnet
bool testnet = 10[json_name = "testnet"];
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 LightningApi.GetInfoResponse.Builder setChains(int index, java.lang.String value)
/ A list of active chains the node is connected to
repeated string chains = 11[json_name = "chains"];
public LightningApi.GetInfoResponse.Builder addChains(java.lang.String value)
/ A list of active chains the node is connected to
repeated string chains = 11[json_name = "chains"];
public LightningApi.GetInfoResponse.Builder addAllChains(java.lang.Iterable<java.lang.String> values)
/ A list of active chains the node is connected to
repeated string chains = 11[json_name = "chains"];
public LightningApi.GetInfoResponse.Builder clearChains()
/ A list of active chains the node is connected to
repeated string chains = 11[json_name = "chains"];
public LightningApi.GetInfoResponse.Builder addChainsBytes(com.google.protobuf.ByteString value)
/ A list of active chains the node is connected to
repeated string chains = 11[json_name = "chains"];
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 LightningApi.GetInfoResponse.Builder setUris(int index, java.lang.String value)
/ The URIs of the current node.
repeated string uris = 12[json_name = "uris"];
public LightningApi.GetInfoResponse.Builder addUris(java.lang.String value)
/ The URIs of the current node.
repeated string uris = 12[json_name = "uris"];
public LightningApi.GetInfoResponse.Builder addAllUris(java.lang.Iterable<java.lang.String> values)
/ The URIs of the current node.
repeated string uris = 12[json_name = "uris"];
public LightningApi.GetInfoResponse.Builder clearUris()
/ The URIs of the current node.
repeated string uris = 12[json_name = "uris"];
public LightningApi.GetInfoResponse.Builder addUrisBytes(com.google.protobuf.ByteString value)
/ The URIs of the current node.
repeated string uris = 12[json_name = "uris"];
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 LightningApi.GetInfoResponse.Builder setBestHeaderTimestamp(long value)
/ Timestamp of the block best known to the wallet
int64 best_header_timestamp = 13[json_name = "best_header_timestamp"];
public LightningApi.GetInfoResponse.Builder clearBestHeaderTimestamp()
/ Timestamp of the block best known to the wallet
int64 best_header_timestamp = 13[json_name = "best_header_timestamp"];
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 LightningApi.GetInfoResponse.Builder setVersion(java.lang.String value)
/ The version of the LND software that the node is running.
string version = 14[json_name = "version"];
public LightningApi.GetInfoResponse.Builder clearVersion()
/ The version of the LND software that the node is running.
string version = 14[json_name = "version"];
public LightningApi.GetInfoResponse.Builder setVersionBytes(com.google.protobuf.ByteString value)
/ The version of the LND software that the node is running.
string version = 14[json_name = "version"];
public int getNumInactiveChannels()
/ Number of inactive channels
uint32 num_inactive_channels = 15[json_name = "num_inactive_channels"];
getNumInactiveChannels
in interface LightningApi.GetInfoResponseOrBuilder
public LightningApi.GetInfoResponse.Builder setNumInactiveChannels(int value)
/ Number of inactive channels
uint32 num_inactive_channels = 15[json_name = "num_inactive_channels"];
public LightningApi.GetInfoResponse.Builder clearNumInactiveChannels()
/ Number of inactive channels
uint32 num_inactive_channels = 15[json_name = "num_inactive_channels"];
public final LightningApi.GetInfoResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.GetInfoResponse.Builder>