public static final class LightningApi.NodeInfoRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.NodeInfoRequest.Builder> implements LightningApi.NodeInfoRequestOrBuilder
lnrpc.NodeInfoRequest| Modifier and Type | Method and Description |
|---|---|
LightningApi.NodeInfoRequest |
build() |
LightningApi.NodeInfoRequest |
buildPartial() |
LightningApi.NodeInfoRequest.Builder |
clear() |
LightningApi.NodeInfoRequest.Builder |
clearIncludeChannels()
If true, will include all known channels associated with the node.
|
LightningApi.NodeInfoRequest.Builder |
clearPubKey()
The 33-byte hex-encoded compressed public of the target node
|
LightningApi.NodeInfoRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getIncludeChannels()
If true, will include all known channels associated with the node.
|
java.lang.String |
getPubKey()
The 33-byte hex-encoded compressed public of the target node
|
com.google.protobuf.ByteString |
getPubKeyBytes()
The 33-byte hex-encoded compressed public of the target node
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.NodeInfoRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.NodeInfoRequest.Builder |
mergeFrom(LightningApi.NodeInfoRequest other) |
LightningApi.NodeInfoRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.NodeInfoRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.NodeInfoRequest.Builder |
setIncludeChannels(boolean value)
If true, will include all known channels associated with the node.
|
LightningApi.NodeInfoRequest.Builder |
setPubKey(java.lang.String value)
The 33-byte hex-encoded compressed public of the target node
|
LightningApi.NodeInfoRequest.Builder |
setPubKeyBytes(com.google.protobuf.ByteString value)
The 33-byte hex-encoded compressed public of the target node
|
LightningApi.NodeInfoRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.NodeInfoRequest.Builder>public LightningApi.NodeInfoRequest.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.NodeInfoRequest.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.NodeInfoRequest.Builder>public LightningApi.NodeInfoRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.NodeInfoRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.NodeInfoRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.NodeInfoRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.NodeInfoRequest.Builder>public LightningApi.NodeInfoRequest.Builder mergeFrom(LightningApi.NodeInfoRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.NodeInfoRequest.Builder>public LightningApi.NodeInfoRequest.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.NodeInfoRequest.Builder>java.io.IOExceptionpublic java.lang.String getPubKey()
The 33-byte hex-encoded compressed public of the target node
string pub_key = 1;getPubKey in interface LightningApi.NodeInfoRequestOrBuilderpublic com.google.protobuf.ByteString getPubKeyBytes()
The 33-byte hex-encoded compressed public of the target node
string pub_key = 1;getPubKeyBytes in interface LightningApi.NodeInfoRequestOrBuilderpublic LightningApi.NodeInfoRequest.Builder setPubKey(java.lang.String value)
The 33-byte hex-encoded compressed public of the target node
string pub_key = 1;value - The pubKey to set.public LightningApi.NodeInfoRequest.Builder clearPubKey()
The 33-byte hex-encoded compressed public of the target node
string pub_key = 1;public LightningApi.NodeInfoRequest.Builder setPubKeyBytes(com.google.protobuf.ByteString value)
The 33-byte hex-encoded compressed public of the target node
string pub_key = 1;value - The bytes for pubKey to set.public boolean getIncludeChannels()
If true, will include all known channels associated with the node.
bool include_channels = 2;getIncludeChannels in interface LightningApi.NodeInfoRequestOrBuilderpublic LightningApi.NodeInfoRequest.Builder setIncludeChannels(boolean value)
If true, will include all known channels associated with the node.
bool include_channels = 2;value - The includeChannels to set.public LightningApi.NodeInfoRequest.Builder clearIncludeChannels()
If true, will include all known channels associated with the node.
bool include_channels = 2;public final LightningApi.NodeInfoRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.NodeInfoRequest.Builder>public final LightningApi.NodeInfoRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.NodeInfoRequest.Builder>