public static final class LightningApi.HopHint.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.HopHint.Builder> implements LightningApi.HopHintOrBuilder
lnrpc.HopHint| Modifier and Type | Method and Description |
|---|---|
LightningApi.HopHint |
build() |
LightningApi.HopHint |
buildPartial() |
LightningApi.HopHint.Builder |
clear() |
LightningApi.HopHint.Builder |
clearChanId()
The unique identifier of the channel.
|
LightningApi.HopHint.Builder |
clearCltvExpiryDelta()
The time-lock delta of the channel.
|
LightningApi.HopHint.Builder |
clearFeeBaseMsat()
The base fee of the channel denominated in millisatoshis.
|
LightningApi.HopHint.Builder |
clearFeeProportionalMillionths()
The fee rate of the channel for sending one satoshi across it denominated in
millionths of a satoshi.
|
LightningApi.HopHint.Builder |
clearNodeId()
The public key of the node at the start of the channel.
|
long |
getChanId()
The unique identifier of the channel.
|
int |
getCltvExpiryDelta()
The time-lock delta of the channel.
|
LightningApi.HopHint |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getFeeBaseMsat()
The base fee of the channel denominated in millisatoshis.
|
int |
getFeeProportionalMillionths()
The fee rate of the channel for sending one satoshi across it denominated in
millionths of a satoshi.
|
java.lang.String |
getNodeId()
The public key of the node at the start of the channel.
|
com.google.protobuf.ByteString |
getNodeIdBytes()
The public key of the node at the start of the channel.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.HopHint.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.HopHint.Builder |
mergeFrom(LightningApi.HopHint other) |
LightningApi.HopHint.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.HopHint.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.HopHint.Builder |
setChanId(long value)
The unique identifier of the channel.
|
LightningApi.HopHint.Builder |
setCltvExpiryDelta(int value)
The time-lock delta of the channel.
|
LightningApi.HopHint.Builder |
setFeeBaseMsat(int value)
The base fee of the channel denominated in millisatoshis.
|
LightningApi.HopHint.Builder |
setFeeProportionalMillionths(int value)
The fee rate of the channel for sending one satoshi across it denominated in
millionths of a satoshi.
|
LightningApi.HopHint.Builder |
setNodeId(java.lang.String value)
The public key of the node at the start of the channel.
|
LightningApi.HopHint.Builder |
setNodeIdBytes(com.google.protobuf.ByteString value)
The public key of the node at the start of the channel.
|
LightningApi.HopHint.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.HopHint.Builder>public LightningApi.HopHint.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.HopHint.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.HopHint.Builder>public LightningApi.HopHint getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.HopHint build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.HopHint buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.HopHint.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.HopHint.Builder>public LightningApi.HopHint.Builder mergeFrom(LightningApi.HopHint other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.HopHint.Builder>public LightningApi.HopHint.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.HopHint.Builder>java.io.IOExceptionpublic java.lang.String getNodeId()
The public key of the node at the start of the channel.
string node_id = 1;getNodeId in interface LightningApi.HopHintOrBuilderpublic com.google.protobuf.ByteString getNodeIdBytes()
The public key of the node at the start of the channel.
string node_id = 1;getNodeIdBytes in interface LightningApi.HopHintOrBuilderpublic LightningApi.HopHint.Builder setNodeId(java.lang.String value)
The public key of the node at the start of the channel.
string node_id = 1;value - The nodeId to set.public LightningApi.HopHint.Builder clearNodeId()
The public key of the node at the start of the channel.
string node_id = 1;public LightningApi.HopHint.Builder setNodeIdBytes(com.google.protobuf.ByteString value)
The public key of the node at the start of the channel.
string node_id = 1;value - The bytes for nodeId to set.public long getChanId()
The unique identifier of the channel.
uint64 chan_id = 2 [jstype = JS_STRING];getChanId in interface LightningApi.HopHintOrBuilderpublic LightningApi.HopHint.Builder setChanId(long value)
The unique identifier of the channel.
uint64 chan_id = 2 [jstype = JS_STRING];value - The chanId to set.public LightningApi.HopHint.Builder clearChanId()
The unique identifier of the channel.
uint64 chan_id = 2 [jstype = JS_STRING];public int getFeeBaseMsat()
The base fee of the channel denominated in millisatoshis.
uint32 fee_base_msat = 3;getFeeBaseMsat in interface LightningApi.HopHintOrBuilderpublic LightningApi.HopHint.Builder setFeeBaseMsat(int value)
The base fee of the channel denominated in millisatoshis.
uint32 fee_base_msat = 3;value - The feeBaseMsat to set.public LightningApi.HopHint.Builder clearFeeBaseMsat()
The base fee of the channel denominated in millisatoshis.
uint32 fee_base_msat = 3;public int getFeeProportionalMillionths()
The fee rate of the channel for sending one satoshi across it denominated in millionths of a satoshi.
uint32 fee_proportional_millionths = 4;getFeeProportionalMillionths in interface LightningApi.HopHintOrBuilderpublic LightningApi.HopHint.Builder setFeeProportionalMillionths(int value)
The fee rate of the channel for sending one satoshi across it denominated in millionths of a satoshi.
uint32 fee_proportional_millionths = 4;value - The feeProportionalMillionths to set.public LightningApi.HopHint.Builder clearFeeProportionalMillionths()
The fee rate of the channel for sending one satoshi across it denominated in millionths of a satoshi.
uint32 fee_proportional_millionths = 4;public int getCltvExpiryDelta()
The time-lock delta of the channel.
uint32 cltv_expiry_delta = 5;getCltvExpiryDelta in interface LightningApi.HopHintOrBuilderpublic LightningApi.HopHint.Builder setCltvExpiryDelta(int value)
The time-lock delta of the channel.
uint32 cltv_expiry_delta = 5;value - The cltvExpiryDelta to set.public LightningApi.HopHint.Builder clearCltvExpiryDelta()
The time-lock delta of the channel.
uint32 cltv_expiry_delta = 5;public final LightningApi.HopHint.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.HopHint.Builder>public final LightningApi.HopHint.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.HopHint.Builder>