public static final class LightningApi.QueryRoutesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.QueryRoutesRequest.Builder> implements LightningApi.QueryRoutesRequestOrBuilder
lnrpc.QueryRoutesRequest| Modifier and Type | Method and Description |
|---|---|
LightningApi.QueryRoutesRequest.Builder |
addAllDestFeatures(java.lang.Iterable<? extends LightningApi.FeatureBit> values)
Features assumed to be supported by the final node.
|
LightningApi.QueryRoutesRequest.Builder |
addAllDestFeaturesValue(java.lang.Iterable<java.lang.Integer> values)
Features assumed to be supported by the final node.
|
LightningApi.QueryRoutesRequest.Builder |
addAllIgnoredEdges(java.lang.Iterable<? extends LightningApi.EdgeLocator> values)
Deprecated.
|
LightningApi.QueryRoutesRequest.Builder |
addAllIgnoredNodes(java.lang.Iterable<? extends com.google.protobuf.ByteString> values)
A list of nodes to ignore during path finding.
|
LightningApi.QueryRoutesRequest.Builder |
addAllIgnoredPairs(java.lang.Iterable<? extends LightningApi.NodePair> values)
A list of directed node pairs that will be ignored during path finding.
|
LightningApi.QueryRoutesRequest.Builder |
addAllRouteHints(java.lang.Iterable<? extends LightningApi.RouteHint> values)
Optional route hints to reach the destination through private channels.
|
LightningApi.QueryRoutesRequest.Builder |
addDestFeatures(LightningApi.FeatureBit value)
Features assumed to be supported by the final node.
|
LightningApi.QueryRoutesRequest.Builder |
addDestFeaturesValue(int value)
Features assumed to be supported by the final node.
|
LightningApi.QueryRoutesRequest.Builder |
addIgnoredEdges(int index,
LightningApi.EdgeLocator.Builder builderForValue)
Deprecated.
|
LightningApi.QueryRoutesRequest.Builder |
addIgnoredEdges(int index,
LightningApi.EdgeLocator value)
Deprecated.
|
LightningApi.QueryRoutesRequest.Builder |
addIgnoredEdges(LightningApi.EdgeLocator.Builder builderForValue)
Deprecated.
|
LightningApi.QueryRoutesRequest.Builder |
addIgnoredEdges(LightningApi.EdgeLocator value)
Deprecated.
|
LightningApi.EdgeLocator.Builder |
addIgnoredEdgesBuilder()
Deprecated.
|
LightningApi.EdgeLocator.Builder |
addIgnoredEdgesBuilder(int index)
Deprecated.
|
LightningApi.QueryRoutesRequest.Builder |
addIgnoredNodes(com.google.protobuf.ByteString value)
A list of nodes to ignore during path finding.
|
LightningApi.QueryRoutesRequest.Builder |
addIgnoredPairs(int index,
LightningApi.NodePair.Builder builderForValue)
A list of directed node pairs that will be ignored during path finding.
|
LightningApi.QueryRoutesRequest.Builder |
addIgnoredPairs(int index,
LightningApi.NodePair value)
A list of directed node pairs that will be ignored during path finding.
|
LightningApi.QueryRoutesRequest.Builder |
addIgnoredPairs(LightningApi.NodePair.Builder builderForValue)
A list of directed node pairs that will be ignored during path finding.
|
LightningApi.QueryRoutesRequest.Builder |
addIgnoredPairs(LightningApi.NodePair value)
A list of directed node pairs that will be ignored during path finding.
|
LightningApi.NodePair.Builder |
addIgnoredPairsBuilder()
A list of directed node pairs that will be ignored during path finding.
|
LightningApi.NodePair.Builder |
addIgnoredPairsBuilder(int index)
A list of directed node pairs that will be ignored during path finding.
|
LightningApi.QueryRoutesRequest.Builder |
addRouteHints(int index,
LightningApi.RouteHint.Builder builderForValue)
Optional route hints to reach the destination through private channels.
|
LightningApi.QueryRoutesRequest.Builder |
addRouteHints(int index,
LightningApi.RouteHint value)
Optional route hints to reach the destination through private channels.
|
LightningApi.QueryRoutesRequest.Builder |
addRouteHints(LightningApi.RouteHint.Builder builderForValue)
Optional route hints to reach the destination through private channels.
|
LightningApi.QueryRoutesRequest.Builder |
addRouteHints(LightningApi.RouteHint value)
Optional route hints to reach the destination through private channels.
|
LightningApi.RouteHint.Builder |
addRouteHintsBuilder()
Optional route hints to reach the destination through private channels.
|
LightningApi.RouteHint.Builder |
addRouteHintsBuilder(int index)
Optional route hints to reach the destination through private channels.
|
LightningApi.QueryRoutesRequest |
build() |
LightningApi.QueryRoutesRequest |
buildPartial() |
LightningApi.QueryRoutesRequest.Builder |
clear() |
LightningApi.QueryRoutesRequest.Builder |
clearAmt()
The amount to send expressed in satoshis.
|
LightningApi.QueryRoutesRequest.Builder |
clearAmtMsat()
The amount to send expressed in millisatoshis.
|
LightningApi.QueryRoutesRequest.Builder |
clearCltvLimit()
An optional maximum total time lock for the route.
|
LightningApi.QueryRoutesRequest.Builder |
clearDestCustomRecords() |
LightningApi.QueryRoutesRequest.Builder |
clearDestFeatures()
Features assumed to be supported by the final node.
|
LightningApi.QueryRoutesRequest.Builder |
clearFeeLimit()
The maximum number of satoshis that will be paid as a fee of the payment.
|
LightningApi.QueryRoutesRequest.Builder |
clearFinalCltvDelta()
An optional CLTV delta from the current height that should be used for the
timelock of the final hop.
|
LightningApi.QueryRoutesRequest.Builder |
clearIgnoredEdges()
Deprecated.
|
LightningApi.QueryRoutesRequest.Builder |
clearIgnoredNodes()
A list of nodes to ignore during path finding.
|
LightningApi.QueryRoutesRequest.Builder |
clearIgnoredPairs()
A list of directed node pairs that will be ignored during path finding.
|
LightningApi.QueryRoutesRequest.Builder |
clearLastHopPubkey()
The pubkey of the last hop of the route.
|
LightningApi.QueryRoutesRequest.Builder |
clearOutgoingChanId()
The channel id of the channel that must be taken to the first hop.
|
LightningApi.QueryRoutesRequest.Builder |
clearPubKey()
The 33-byte hex-encoded public key for the payment destination
|
LightningApi.QueryRoutesRequest.Builder |
clearRouteHints()
Optional route hints to reach the destination through private channels.
|
LightningApi.QueryRoutesRequest.Builder |
clearSourcePubKey()
The source node where the request route should originated from.
|
LightningApi.QueryRoutesRequest.Builder |
clearTimePref()
The time preference for this payment.
|
LightningApi.QueryRoutesRequest.Builder |
clearUseMissionControl()
If set to true, edge probabilities from mission control will be used to get
the optimal route.
|
boolean |
containsDestCustomRecords(long key)
An optional field that can be used to pass an arbitrary set of TLV records
to a peer which understands the new records.
|
long |
getAmt()
The amount to send expressed in satoshis.
|
long |
getAmtMsat()
The amount to send expressed in millisatoshis.
|
int |
getCltvLimit()
An optional maximum total time lock for the route.
|
LightningApi.QueryRoutesRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.util.Map<java.lang.Long,com.google.protobuf.ByteString> |
getDestCustomRecords()
Deprecated.
|
int |
getDestCustomRecordsCount()
An optional field that can be used to pass an arbitrary set of TLV records
to a peer which understands the new records.
|
java.util.Map<java.lang.Long,com.google.protobuf.ByteString> |
getDestCustomRecordsMap()
An optional field that can be used to pass an arbitrary set of TLV records
to a peer which understands the new records.
|
com.google.protobuf.ByteString |
getDestCustomRecordsOrDefault(long key,
com.google.protobuf.ByteString defaultValue)
An optional field that can be used to pass an arbitrary set of TLV records
to a peer which understands the new records.
|
com.google.protobuf.ByteString |
getDestCustomRecordsOrThrow(long key)
An optional field that can be used to pass an arbitrary set of TLV records
to a peer which understands the new records.
|
LightningApi.FeatureBit |
getDestFeatures(int index)
Features assumed to be supported by the final node.
|
int |
getDestFeaturesCount()
Features assumed to be supported by the final node.
|
java.util.List<LightningApi.FeatureBit> |
getDestFeaturesList()
Features assumed to be supported by the final node.
|
int |
getDestFeaturesValue(int index)
Features assumed to be supported by the final node.
|
java.util.List<java.lang.Integer> |
getDestFeaturesValueList()
Features assumed to be supported by the final node.
|
LightningApi.FeeLimit |
getFeeLimit()
The maximum number of satoshis that will be paid as a fee of the payment.
|
LightningApi.FeeLimit.Builder |
getFeeLimitBuilder()
The maximum number of satoshis that will be paid as a fee of the payment.
|
LightningApi.FeeLimitOrBuilder |
getFeeLimitOrBuilder()
The maximum number of satoshis that will be paid as a fee of the payment.
|
int |
getFinalCltvDelta()
An optional CLTV delta from the current height that should be used for the
timelock of the final hop.
|
LightningApi.EdgeLocator |
getIgnoredEdges(int index)
Deprecated.
|
LightningApi.EdgeLocator.Builder |
getIgnoredEdgesBuilder(int index)
Deprecated.
|
java.util.List<LightningApi.EdgeLocator.Builder> |
getIgnoredEdgesBuilderList()
Deprecated.
|
int |
getIgnoredEdgesCount()
Deprecated.
|
java.util.List<LightningApi.EdgeLocator> |
getIgnoredEdgesList()
Deprecated.
|
LightningApi.EdgeLocatorOrBuilder |
getIgnoredEdgesOrBuilder(int index)
Deprecated.
|
java.util.List<? extends LightningApi.EdgeLocatorOrBuilder> |
getIgnoredEdgesOrBuilderList()
Deprecated.
|
com.google.protobuf.ByteString |
getIgnoredNodes(int index)
A list of nodes to ignore during path finding.
|
int |
getIgnoredNodesCount()
A list of nodes to ignore during path finding.
|
java.util.List<com.google.protobuf.ByteString> |
getIgnoredNodesList()
A list of nodes to ignore during path finding.
|
LightningApi.NodePair |
getIgnoredPairs(int index)
A list of directed node pairs that will be ignored during path finding.
|
LightningApi.NodePair.Builder |
getIgnoredPairsBuilder(int index)
A list of directed node pairs that will be ignored during path finding.
|
java.util.List<LightningApi.NodePair.Builder> |
getIgnoredPairsBuilderList()
A list of directed node pairs that will be ignored during path finding.
|
int |
getIgnoredPairsCount()
A list of directed node pairs that will be ignored during path finding.
|
java.util.List<LightningApi.NodePair> |
getIgnoredPairsList()
A list of directed node pairs that will be ignored during path finding.
|
LightningApi.NodePairOrBuilder |
getIgnoredPairsOrBuilder(int index)
A list of directed node pairs that will be ignored during path finding.
|
java.util.List<? extends LightningApi.NodePairOrBuilder> |
getIgnoredPairsOrBuilderList()
A list of directed node pairs that will be ignored during path finding.
|
com.google.protobuf.ByteString |
getLastHopPubkey()
The pubkey of the last hop of the route.
|
java.util.Map<java.lang.Long,com.google.protobuf.ByteString> |
getMutableDestCustomRecords()
Deprecated.
|
long |
getOutgoingChanId()
The channel id of the channel that must be taken to the first hop.
|
java.lang.String |
getPubKey()
The 33-byte hex-encoded public key for the payment destination
|
com.google.protobuf.ByteString |
getPubKeyBytes()
The 33-byte hex-encoded public key for the payment destination
|
LightningApi.RouteHint |
getRouteHints(int index)
Optional route hints to reach the destination through private channels.
|
LightningApi.RouteHint.Builder |
getRouteHintsBuilder(int index)
Optional route hints to reach the destination through private channels.
|
java.util.List<LightningApi.RouteHint.Builder> |
getRouteHintsBuilderList()
Optional route hints to reach the destination through private channels.
|
int |
getRouteHintsCount()
Optional route hints to reach the destination through private channels.
|
java.util.List<LightningApi.RouteHint> |
getRouteHintsList()
Optional route hints to reach the destination through private channels.
|
LightningApi.RouteHintOrBuilder |
getRouteHintsOrBuilder(int index)
Optional route hints to reach the destination through private channels.
|
java.util.List<? extends LightningApi.RouteHintOrBuilder> |
getRouteHintsOrBuilderList()
Optional route hints to reach the destination through private channels.
|
java.lang.String |
getSourcePubKey()
The source node where the request route should originated from.
|
com.google.protobuf.ByteString |
getSourcePubKeyBytes()
The source node where the request route should originated from.
|
double |
getTimePref()
The time preference for this payment.
|
boolean |
getUseMissionControl()
If set to true, edge probabilities from mission control will be used to get
the optimal route.
|
boolean |
hasFeeLimit()
The maximum number of satoshis that will be paid as a fee of the payment.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
LightningApi.QueryRoutesRequest.Builder |
mergeFeeLimit(LightningApi.FeeLimit value)
The maximum number of satoshis that will be paid as a fee of the payment.
|
LightningApi.QueryRoutesRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.QueryRoutesRequest.Builder |
mergeFrom(LightningApi.QueryRoutesRequest other) |
LightningApi.QueryRoutesRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.QueryRoutesRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.QueryRoutesRequest.Builder |
putAllDestCustomRecords(java.util.Map<java.lang.Long,com.google.protobuf.ByteString> values)
An optional field that can be used to pass an arbitrary set of TLV records
to a peer which understands the new records.
|
LightningApi.QueryRoutesRequest.Builder |
putDestCustomRecords(long key,
com.google.protobuf.ByteString value)
An optional field that can be used to pass an arbitrary set of TLV records
to a peer which understands the new records.
|
LightningApi.QueryRoutesRequest.Builder |
removeDestCustomRecords(long key)
An optional field that can be used to pass an arbitrary set of TLV records
to a peer which understands the new records.
|
LightningApi.QueryRoutesRequest.Builder |
removeIgnoredEdges(int index)
Deprecated.
|
LightningApi.QueryRoutesRequest.Builder |
removeIgnoredPairs(int index)
A list of directed node pairs that will be ignored during path finding.
|
LightningApi.QueryRoutesRequest.Builder |
removeRouteHints(int index)
Optional route hints to reach the destination through private channels.
|
LightningApi.QueryRoutesRequest.Builder |
setAmt(long value)
The amount to send expressed in satoshis.
|
LightningApi.QueryRoutesRequest.Builder |
setAmtMsat(long value)
The amount to send expressed in millisatoshis.
|
LightningApi.QueryRoutesRequest.Builder |
setCltvLimit(int value)
An optional maximum total time lock for the route.
|
LightningApi.QueryRoutesRequest.Builder |
setDestFeatures(int index,
LightningApi.FeatureBit value)
Features assumed to be supported by the final node.
|
LightningApi.QueryRoutesRequest.Builder |
setDestFeaturesValue(int index,
int value)
Features assumed to be supported by the final node.
|
LightningApi.QueryRoutesRequest.Builder |
setFeeLimit(LightningApi.FeeLimit.Builder builderForValue)
The maximum number of satoshis that will be paid as a fee of the payment.
|
LightningApi.QueryRoutesRequest.Builder |
setFeeLimit(LightningApi.FeeLimit value)
The maximum number of satoshis that will be paid as a fee of the payment.
|
LightningApi.QueryRoutesRequest.Builder |
setFinalCltvDelta(int value)
An optional CLTV delta from the current height that should be used for the
timelock of the final hop.
|
LightningApi.QueryRoutesRequest.Builder |
setIgnoredEdges(int index,
LightningApi.EdgeLocator.Builder builderForValue)
Deprecated.
|
LightningApi.QueryRoutesRequest.Builder |
setIgnoredEdges(int index,
LightningApi.EdgeLocator value)
Deprecated.
|
LightningApi.QueryRoutesRequest.Builder |
setIgnoredNodes(int index,
com.google.protobuf.ByteString value)
A list of nodes to ignore during path finding.
|
LightningApi.QueryRoutesRequest.Builder |
setIgnoredPairs(int index,
LightningApi.NodePair.Builder builderForValue)
A list of directed node pairs that will be ignored during path finding.
|
LightningApi.QueryRoutesRequest.Builder |
setIgnoredPairs(int index,
LightningApi.NodePair value)
A list of directed node pairs that will be ignored during path finding.
|
LightningApi.QueryRoutesRequest.Builder |
setLastHopPubkey(com.google.protobuf.ByteString value)
The pubkey of the last hop of the route.
|
LightningApi.QueryRoutesRequest.Builder |
setOutgoingChanId(long value)
The channel id of the channel that must be taken to the first hop.
|
LightningApi.QueryRoutesRequest.Builder |
setPubKey(java.lang.String value)
The 33-byte hex-encoded public key for the payment destination
|
LightningApi.QueryRoutesRequest.Builder |
setPubKeyBytes(com.google.protobuf.ByteString value)
The 33-byte hex-encoded public key for the payment destination
|
LightningApi.QueryRoutesRequest.Builder |
setRouteHints(int index,
LightningApi.RouteHint.Builder builderForValue)
Optional route hints to reach the destination through private channels.
|
LightningApi.QueryRoutesRequest.Builder |
setRouteHints(int index,
LightningApi.RouteHint value)
Optional route hints to reach the destination through private channels.
|
LightningApi.QueryRoutesRequest.Builder |
setSourcePubKey(java.lang.String value)
The source node where the request route should originated from.
|
LightningApi.QueryRoutesRequest.Builder |
setSourcePubKeyBytes(com.google.protobuf.ByteString value)
The source node where the request route should originated from.
|
LightningApi.QueryRoutesRequest.Builder |
setTimePref(double value)
The time preference for this payment.
|
LightningApi.QueryRoutesRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.QueryRoutesRequest.Builder |
setUseMissionControl(boolean value)
If set to true, edge probabilities from mission control will be used to get
the optimal route.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapFieldReflection, 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.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.QueryRoutesRequest.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.QueryRoutesRequest.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.QueryRoutesRequest.Builder>public LightningApi.QueryRoutesRequest.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.QueryRoutesRequest.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.QueryRoutesRequest.Builder>public LightningApi.QueryRoutesRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LightningApi.QueryRoutesRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.QueryRoutesRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LightningApi.QueryRoutesRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LightningApi.QueryRoutesRequest.Builder>public LightningApi.QueryRoutesRequest.Builder mergeFrom(LightningApi.QueryRoutesRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.QueryRoutesRequest.Builder>public LightningApi.QueryRoutesRequest.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.QueryRoutesRequest.Builder>java.io.IOExceptionpublic java.lang.String getPubKey()
The 33-byte hex-encoded public key for the payment destination
string pub_key = 1;getPubKey in interface LightningApi.QueryRoutesRequestOrBuilderpublic com.google.protobuf.ByteString getPubKeyBytes()
The 33-byte hex-encoded public key for the payment destination
string pub_key = 1;getPubKeyBytes in interface LightningApi.QueryRoutesRequestOrBuilderpublic LightningApi.QueryRoutesRequest.Builder setPubKey(java.lang.String value)
The 33-byte hex-encoded public key for the payment destination
string pub_key = 1;value - The pubKey to set.public LightningApi.QueryRoutesRequest.Builder clearPubKey()
The 33-byte hex-encoded public key for the payment destination
string pub_key = 1;public LightningApi.QueryRoutesRequest.Builder setPubKeyBytes(com.google.protobuf.ByteString value)
The 33-byte hex-encoded public key for the payment destination
string pub_key = 1;value - The bytes for pubKey to set.public long getAmt()
The amount to send expressed in satoshis. The fields amt and amt_msat are mutually exclusive.
int64 amt = 2;getAmt in interface LightningApi.QueryRoutesRequestOrBuilderpublic LightningApi.QueryRoutesRequest.Builder setAmt(long value)
The amount to send expressed in satoshis. The fields amt and amt_msat are mutually exclusive.
int64 amt = 2;value - The amt to set.public LightningApi.QueryRoutesRequest.Builder clearAmt()
The amount to send expressed in satoshis. The fields amt and amt_msat are mutually exclusive.
int64 amt = 2;public long getAmtMsat()
The amount to send expressed in millisatoshis. The fields amt and amt_msat are mutually exclusive.
int64 amt_msat = 12;getAmtMsat in interface LightningApi.QueryRoutesRequestOrBuilderpublic LightningApi.QueryRoutesRequest.Builder setAmtMsat(long value)
The amount to send expressed in millisatoshis. The fields amt and amt_msat are mutually exclusive.
int64 amt_msat = 12;value - The amtMsat to set.public LightningApi.QueryRoutesRequest.Builder clearAmtMsat()
The amount to send expressed in millisatoshis. The fields amt and amt_msat are mutually exclusive.
int64 amt_msat = 12;public int getFinalCltvDelta()
An optional CLTV delta from the current height that should be used for the timelock of the final hop. Note that unlike SendPayment, QueryRoutes does not add any additional block padding on top of final_ctlv_delta. This padding of a few blocks needs to be added manually or otherwise failures may happen when a block comes in while the payment is in flight.
int32 final_cltv_delta = 4;getFinalCltvDelta in interface LightningApi.QueryRoutesRequestOrBuilderpublic LightningApi.QueryRoutesRequest.Builder setFinalCltvDelta(int value)
An optional CLTV delta from the current height that should be used for the timelock of the final hop. Note that unlike SendPayment, QueryRoutes does not add any additional block padding on top of final_ctlv_delta. This padding of a few blocks needs to be added manually or otherwise failures may happen when a block comes in while the payment is in flight.
int32 final_cltv_delta = 4;value - The finalCltvDelta to set.public LightningApi.QueryRoutesRequest.Builder clearFinalCltvDelta()
An optional CLTV delta from the current height that should be used for the timelock of the final hop. Note that unlike SendPayment, QueryRoutes does not add any additional block padding on top of final_ctlv_delta. This padding of a few blocks needs to be added manually or otherwise failures may happen when a block comes in while the payment is in flight.
int32 final_cltv_delta = 4;public boolean hasFeeLimit()
The maximum number of satoshis that will be paid as a fee of the payment. This value can be represented either as a percentage of the amount being sent, or as a fixed amount of the maximum fee the user is willing the pay to send the payment. If not specified, lnd will use a default value of 100% fees for small amounts (<=1k sat) or 5% fees for larger amounts.
.lnrpc.FeeLimit fee_limit = 5;hasFeeLimit in interface LightningApi.QueryRoutesRequestOrBuilderpublic LightningApi.FeeLimit getFeeLimit()
The maximum number of satoshis that will be paid as a fee of the payment. This value can be represented either as a percentage of the amount being sent, or as a fixed amount of the maximum fee the user is willing the pay to send the payment. If not specified, lnd will use a default value of 100% fees for small amounts (<=1k sat) or 5% fees for larger amounts.
.lnrpc.FeeLimit fee_limit = 5;getFeeLimit in interface LightningApi.QueryRoutesRequestOrBuilderpublic LightningApi.QueryRoutesRequest.Builder setFeeLimit(LightningApi.FeeLimit value)
The maximum number of satoshis that will be paid as a fee of the payment. This value can be represented either as a percentage of the amount being sent, or as a fixed amount of the maximum fee the user is willing the pay to send the payment. If not specified, lnd will use a default value of 100% fees for small amounts (<=1k sat) or 5% fees for larger amounts.
.lnrpc.FeeLimit fee_limit = 5;public LightningApi.QueryRoutesRequest.Builder setFeeLimit(LightningApi.FeeLimit.Builder builderForValue)
The maximum number of satoshis that will be paid as a fee of the payment. This value can be represented either as a percentage of the amount being sent, or as a fixed amount of the maximum fee the user is willing the pay to send the payment. If not specified, lnd will use a default value of 100% fees for small amounts (<=1k sat) or 5% fees for larger amounts.
.lnrpc.FeeLimit fee_limit = 5;public LightningApi.QueryRoutesRequest.Builder mergeFeeLimit(LightningApi.FeeLimit value)
The maximum number of satoshis that will be paid as a fee of the payment. This value can be represented either as a percentage of the amount being sent, or as a fixed amount of the maximum fee the user is willing the pay to send the payment. If not specified, lnd will use a default value of 100% fees for small amounts (<=1k sat) or 5% fees for larger amounts.
.lnrpc.FeeLimit fee_limit = 5;public LightningApi.QueryRoutesRequest.Builder clearFeeLimit()
The maximum number of satoshis that will be paid as a fee of the payment. This value can be represented either as a percentage of the amount being sent, or as a fixed amount of the maximum fee the user is willing the pay to send the payment. If not specified, lnd will use a default value of 100% fees for small amounts (<=1k sat) or 5% fees for larger amounts.
.lnrpc.FeeLimit fee_limit = 5;public LightningApi.FeeLimit.Builder getFeeLimitBuilder()
The maximum number of satoshis that will be paid as a fee of the payment. This value can be represented either as a percentage of the amount being sent, or as a fixed amount of the maximum fee the user is willing the pay to send the payment. If not specified, lnd will use a default value of 100% fees for small amounts (<=1k sat) or 5% fees for larger amounts.
.lnrpc.FeeLimit fee_limit = 5;public LightningApi.FeeLimitOrBuilder getFeeLimitOrBuilder()
The maximum number of satoshis that will be paid as a fee of the payment. This value can be represented either as a percentage of the amount being sent, or as a fixed amount of the maximum fee the user is willing the pay to send the payment. If not specified, lnd will use a default value of 100% fees for small amounts (<=1k sat) or 5% fees for larger amounts.
.lnrpc.FeeLimit fee_limit = 5;getFeeLimitOrBuilder in interface LightningApi.QueryRoutesRequestOrBuilderpublic java.util.List<com.google.protobuf.ByteString> getIgnoredNodesList()
A list of nodes to ignore during path finding. When using REST, these fields must be encoded as base64.
repeated bytes ignored_nodes = 6;getIgnoredNodesList in interface LightningApi.QueryRoutesRequestOrBuilderpublic int getIgnoredNodesCount()
A list of nodes to ignore during path finding. When using REST, these fields must be encoded as base64.
repeated bytes ignored_nodes = 6;getIgnoredNodesCount in interface LightningApi.QueryRoutesRequestOrBuilderpublic com.google.protobuf.ByteString getIgnoredNodes(int index)
A list of nodes to ignore during path finding. When using REST, these fields must be encoded as base64.
repeated bytes ignored_nodes = 6;getIgnoredNodes in interface LightningApi.QueryRoutesRequestOrBuilderindex - The index of the element to return.public LightningApi.QueryRoutesRequest.Builder setIgnoredNodes(int index, com.google.protobuf.ByteString value)
A list of nodes to ignore during path finding. When using REST, these fields must be encoded as base64.
repeated bytes ignored_nodes = 6;index - The index to set the value at.value - The ignoredNodes to set.public LightningApi.QueryRoutesRequest.Builder addIgnoredNodes(com.google.protobuf.ByteString value)
A list of nodes to ignore during path finding. When using REST, these fields must be encoded as base64.
repeated bytes ignored_nodes = 6;value - The ignoredNodes to add.public LightningApi.QueryRoutesRequest.Builder addAllIgnoredNodes(java.lang.Iterable<? extends com.google.protobuf.ByteString> values)
A list of nodes to ignore during path finding. When using REST, these fields must be encoded as base64.
repeated bytes ignored_nodes = 6;values - The ignoredNodes to add.public LightningApi.QueryRoutesRequest.Builder clearIgnoredNodes()
A list of nodes to ignore during path finding. When using REST, these fields must be encoded as base64.
repeated bytes ignored_nodes = 6;@Deprecated public java.util.List<LightningApi.EdgeLocator> getIgnoredEdgesList()
Deprecated. A list of edges to ignore during path finding.
repeated .lnrpc.EdgeLocator ignored_edges = 7 [deprecated = true];getIgnoredEdgesList in interface LightningApi.QueryRoutesRequestOrBuilder@Deprecated public int getIgnoredEdgesCount()
Deprecated. A list of edges to ignore during path finding.
repeated .lnrpc.EdgeLocator ignored_edges = 7 [deprecated = true];getIgnoredEdgesCount in interface LightningApi.QueryRoutesRequestOrBuilder@Deprecated public LightningApi.EdgeLocator getIgnoredEdges(int index)
Deprecated. A list of edges to ignore during path finding.
repeated .lnrpc.EdgeLocator ignored_edges = 7 [deprecated = true];getIgnoredEdges in interface LightningApi.QueryRoutesRequestOrBuilder@Deprecated public LightningApi.QueryRoutesRequest.Builder setIgnoredEdges(int index, LightningApi.EdgeLocator value)
Deprecated. A list of edges to ignore during path finding.
repeated .lnrpc.EdgeLocator ignored_edges = 7 [deprecated = true];@Deprecated public LightningApi.QueryRoutesRequest.Builder setIgnoredEdges(int index, LightningApi.EdgeLocator.Builder builderForValue)
Deprecated. A list of edges to ignore during path finding.
repeated .lnrpc.EdgeLocator ignored_edges = 7 [deprecated = true];@Deprecated public LightningApi.QueryRoutesRequest.Builder addIgnoredEdges(LightningApi.EdgeLocator value)
Deprecated. A list of edges to ignore during path finding.
repeated .lnrpc.EdgeLocator ignored_edges = 7 [deprecated = true];@Deprecated public LightningApi.QueryRoutesRequest.Builder addIgnoredEdges(int index, LightningApi.EdgeLocator value)
Deprecated. A list of edges to ignore during path finding.
repeated .lnrpc.EdgeLocator ignored_edges = 7 [deprecated = true];@Deprecated public LightningApi.QueryRoutesRequest.Builder addIgnoredEdges(LightningApi.EdgeLocator.Builder builderForValue)
Deprecated. A list of edges to ignore during path finding.
repeated .lnrpc.EdgeLocator ignored_edges = 7 [deprecated = true];@Deprecated public LightningApi.QueryRoutesRequest.Builder addIgnoredEdges(int index, LightningApi.EdgeLocator.Builder builderForValue)
Deprecated. A list of edges to ignore during path finding.
repeated .lnrpc.EdgeLocator ignored_edges = 7 [deprecated = true];@Deprecated public LightningApi.QueryRoutesRequest.Builder addAllIgnoredEdges(java.lang.Iterable<? extends LightningApi.EdgeLocator> values)
Deprecated. A list of edges to ignore during path finding.
repeated .lnrpc.EdgeLocator ignored_edges = 7 [deprecated = true];@Deprecated public LightningApi.QueryRoutesRequest.Builder clearIgnoredEdges()
Deprecated. A list of edges to ignore during path finding.
repeated .lnrpc.EdgeLocator ignored_edges = 7 [deprecated = true];@Deprecated public LightningApi.QueryRoutesRequest.Builder removeIgnoredEdges(int index)
Deprecated. A list of edges to ignore during path finding.
repeated .lnrpc.EdgeLocator ignored_edges = 7 [deprecated = true];@Deprecated public LightningApi.EdgeLocator.Builder getIgnoredEdgesBuilder(int index)
Deprecated. A list of edges to ignore during path finding.
repeated .lnrpc.EdgeLocator ignored_edges = 7 [deprecated = true];@Deprecated public LightningApi.EdgeLocatorOrBuilder getIgnoredEdgesOrBuilder(int index)
Deprecated. A list of edges to ignore during path finding.
repeated .lnrpc.EdgeLocator ignored_edges = 7 [deprecated = true];getIgnoredEdgesOrBuilder in interface LightningApi.QueryRoutesRequestOrBuilder@Deprecated public java.util.List<? extends LightningApi.EdgeLocatorOrBuilder> getIgnoredEdgesOrBuilderList()
Deprecated. A list of edges to ignore during path finding.
repeated .lnrpc.EdgeLocator ignored_edges = 7 [deprecated = true];getIgnoredEdgesOrBuilderList in interface LightningApi.QueryRoutesRequestOrBuilder@Deprecated public LightningApi.EdgeLocator.Builder addIgnoredEdgesBuilder()
Deprecated. A list of edges to ignore during path finding.
repeated .lnrpc.EdgeLocator ignored_edges = 7 [deprecated = true];@Deprecated public LightningApi.EdgeLocator.Builder addIgnoredEdgesBuilder(int index)
Deprecated. A list of edges to ignore during path finding.
repeated .lnrpc.EdgeLocator ignored_edges = 7 [deprecated = true];@Deprecated public java.util.List<LightningApi.EdgeLocator.Builder> getIgnoredEdgesBuilderList()
Deprecated. A list of edges to ignore during path finding.
repeated .lnrpc.EdgeLocator ignored_edges = 7 [deprecated = true];public java.lang.String getSourcePubKey()
The source node where the request route should originated from. If empty, self is assumed.
string source_pub_key = 8;getSourcePubKey in interface LightningApi.QueryRoutesRequestOrBuilderpublic com.google.protobuf.ByteString getSourcePubKeyBytes()
The source node where the request route should originated from. If empty, self is assumed.
string source_pub_key = 8;getSourcePubKeyBytes in interface LightningApi.QueryRoutesRequestOrBuilderpublic LightningApi.QueryRoutesRequest.Builder setSourcePubKey(java.lang.String value)
The source node where the request route should originated from. If empty, self is assumed.
string source_pub_key = 8;value - The sourcePubKey to set.public LightningApi.QueryRoutesRequest.Builder clearSourcePubKey()
The source node where the request route should originated from. If empty, self is assumed.
string source_pub_key = 8;public LightningApi.QueryRoutesRequest.Builder setSourcePubKeyBytes(com.google.protobuf.ByteString value)
The source node where the request route should originated from. If empty, self is assumed.
string source_pub_key = 8;value - The bytes for sourcePubKey to set.public boolean getUseMissionControl()
If set to true, edge probabilities from mission control will be used to get the optimal route.
bool use_mission_control = 9;getUseMissionControl in interface LightningApi.QueryRoutesRequestOrBuilderpublic LightningApi.QueryRoutesRequest.Builder setUseMissionControl(boolean value)
If set to true, edge probabilities from mission control will be used to get the optimal route.
bool use_mission_control = 9;value - The useMissionControl to set.public LightningApi.QueryRoutesRequest.Builder clearUseMissionControl()
If set to true, edge probabilities from mission control will be used to get the optimal route.
bool use_mission_control = 9;public java.util.List<LightningApi.NodePair> getIgnoredPairsList()
A list of directed node pairs that will be ignored during path finding.
repeated .lnrpc.NodePair ignored_pairs = 10;getIgnoredPairsList in interface LightningApi.QueryRoutesRequestOrBuilderpublic int getIgnoredPairsCount()
A list of directed node pairs that will be ignored during path finding.
repeated .lnrpc.NodePair ignored_pairs = 10;getIgnoredPairsCount in interface LightningApi.QueryRoutesRequestOrBuilderpublic LightningApi.NodePair getIgnoredPairs(int index)
A list of directed node pairs that will be ignored during path finding.
repeated .lnrpc.NodePair ignored_pairs = 10;getIgnoredPairs in interface LightningApi.QueryRoutesRequestOrBuilderpublic LightningApi.QueryRoutesRequest.Builder setIgnoredPairs(int index, LightningApi.NodePair value)
A list of directed node pairs that will be ignored during path finding.
repeated .lnrpc.NodePair ignored_pairs = 10;public LightningApi.QueryRoutesRequest.Builder setIgnoredPairs(int index, LightningApi.NodePair.Builder builderForValue)
A list of directed node pairs that will be ignored during path finding.
repeated .lnrpc.NodePair ignored_pairs = 10;public LightningApi.QueryRoutesRequest.Builder addIgnoredPairs(LightningApi.NodePair value)
A list of directed node pairs that will be ignored during path finding.
repeated .lnrpc.NodePair ignored_pairs = 10;public LightningApi.QueryRoutesRequest.Builder addIgnoredPairs(int index, LightningApi.NodePair value)
A list of directed node pairs that will be ignored during path finding.
repeated .lnrpc.NodePair ignored_pairs = 10;public LightningApi.QueryRoutesRequest.Builder addIgnoredPairs(LightningApi.NodePair.Builder builderForValue)
A list of directed node pairs that will be ignored during path finding.
repeated .lnrpc.NodePair ignored_pairs = 10;public LightningApi.QueryRoutesRequest.Builder addIgnoredPairs(int index, LightningApi.NodePair.Builder builderForValue)
A list of directed node pairs that will be ignored during path finding.
repeated .lnrpc.NodePair ignored_pairs = 10;public LightningApi.QueryRoutesRequest.Builder addAllIgnoredPairs(java.lang.Iterable<? extends LightningApi.NodePair> values)
A list of directed node pairs that will be ignored during path finding.
repeated .lnrpc.NodePair ignored_pairs = 10;public LightningApi.QueryRoutesRequest.Builder clearIgnoredPairs()
A list of directed node pairs that will be ignored during path finding.
repeated .lnrpc.NodePair ignored_pairs = 10;public LightningApi.QueryRoutesRequest.Builder removeIgnoredPairs(int index)
A list of directed node pairs that will be ignored during path finding.
repeated .lnrpc.NodePair ignored_pairs = 10;public LightningApi.NodePair.Builder getIgnoredPairsBuilder(int index)
A list of directed node pairs that will be ignored during path finding.
repeated .lnrpc.NodePair ignored_pairs = 10;public LightningApi.NodePairOrBuilder getIgnoredPairsOrBuilder(int index)
A list of directed node pairs that will be ignored during path finding.
repeated .lnrpc.NodePair ignored_pairs = 10;getIgnoredPairsOrBuilder in interface LightningApi.QueryRoutesRequestOrBuilderpublic java.util.List<? extends LightningApi.NodePairOrBuilder> getIgnoredPairsOrBuilderList()
A list of directed node pairs that will be ignored during path finding.
repeated .lnrpc.NodePair ignored_pairs = 10;getIgnoredPairsOrBuilderList in interface LightningApi.QueryRoutesRequestOrBuilderpublic LightningApi.NodePair.Builder addIgnoredPairsBuilder()
A list of directed node pairs that will be ignored during path finding.
repeated .lnrpc.NodePair ignored_pairs = 10;public LightningApi.NodePair.Builder addIgnoredPairsBuilder(int index)
A list of directed node pairs that will be ignored during path finding.
repeated .lnrpc.NodePair ignored_pairs = 10;public java.util.List<LightningApi.NodePair.Builder> getIgnoredPairsBuilderList()
A list of directed node pairs that will be ignored during path finding.
repeated .lnrpc.NodePair ignored_pairs = 10;public int getCltvLimit()
An optional maximum total time lock for the route. If the source is empty or ourselves, this should not exceed lnd's `--max-cltv-expiry` setting. If zero, then the value of `--max-cltv-expiry` is used as the limit.
uint32 cltv_limit = 11;getCltvLimit in interface LightningApi.QueryRoutesRequestOrBuilderpublic LightningApi.QueryRoutesRequest.Builder setCltvLimit(int value)
An optional maximum total time lock for the route. If the source is empty or ourselves, this should not exceed lnd's `--max-cltv-expiry` setting. If zero, then the value of `--max-cltv-expiry` is used as the limit.
uint32 cltv_limit = 11;value - The cltvLimit to set.public LightningApi.QueryRoutesRequest.Builder clearCltvLimit()
An optional maximum total time lock for the route. If the source is empty or ourselves, this should not exceed lnd's `--max-cltv-expiry` setting. If zero, then the value of `--max-cltv-expiry` is used as the limit.
uint32 cltv_limit = 11;public int getDestCustomRecordsCount()
LightningApi.QueryRoutesRequestOrBuilderAn optional field that can be used to pass an arbitrary set of TLV records to a peer which understands the new records. This can be used to pass application specific data during the payment attempt. If the destination does not support the specified records, an error will be returned. Record types are required to be in the custom range >= 65536. When using REST, the values must be encoded as base64.
map<uint64, bytes> dest_custom_records = 13;getDestCustomRecordsCount in interface LightningApi.QueryRoutesRequestOrBuilderpublic boolean containsDestCustomRecords(long key)
An optional field that can be used to pass an arbitrary set of TLV records to a peer which understands the new records. This can be used to pass application specific data during the payment attempt. If the destination does not support the specified records, an error will be returned. Record types are required to be in the custom range >= 65536. When using REST, the values must be encoded as base64.
map<uint64, bytes> dest_custom_records = 13;containsDestCustomRecords in interface LightningApi.QueryRoutesRequestOrBuilder@Deprecated public java.util.Map<java.lang.Long,com.google.protobuf.ByteString> getDestCustomRecords()
getDestCustomRecordsMap() instead.getDestCustomRecords in interface LightningApi.QueryRoutesRequestOrBuilderpublic java.util.Map<java.lang.Long,com.google.protobuf.ByteString> getDestCustomRecordsMap()
An optional field that can be used to pass an arbitrary set of TLV records to a peer which understands the new records. This can be used to pass application specific data during the payment attempt. If the destination does not support the specified records, an error will be returned. Record types are required to be in the custom range >= 65536. When using REST, the values must be encoded as base64.
map<uint64, bytes> dest_custom_records = 13;getDestCustomRecordsMap in interface LightningApi.QueryRoutesRequestOrBuilderpublic com.google.protobuf.ByteString getDestCustomRecordsOrDefault(long key,
com.google.protobuf.ByteString defaultValue)
An optional field that can be used to pass an arbitrary set of TLV records to a peer which understands the new records. This can be used to pass application specific data during the payment attempt. If the destination does not support the specified records, an error will be returned. Record types are required to be in the custom range >= 65536. When using REST, the values must be encoded as base64.
map<uint64, bytes> dest_custom_records = 13;getDestCustomRecordsOrDefault in interface LightningApi.QueryRoutesRequestOrBuilderpublic com.google.protobuf.ByteString getDestCustomRecordsOrThrow(long key)
An optional field that can be used to pass an arbitrary set of TLV records to a peer which understands the new records. This can be used to pass application specific data during the payment attempt. If the destination does not support the specified records, an error will be returned. Record types are required to be in the custom range >= 65536. When using REST, the values must be encoded as base64.
map<uint64, bytes> dest_custom_records = 13;getDestCustomRecordsOrThrow in interface LightningApi.QueryRoutesRequestOrBuilderpublic LightningApi.QueryRoutesRequest.Builder clearDestCustomRecords()
public LightningApi.QueryRoutesRequest.Builder removeDestCustomRecords(long key)
An optional field that can be used to pass an arbitrary set of TLV records to a peer which understands the new records. This can be used to pass application specific data during the payment attempt. If the destination does not support the specified records, an error will be returned. Record types are required to be in the custom range >= 65536. When using REST, the values must be encoded as base64.
map<uint64, bytes> dest_custom_records = 13;@Deprecated public java.util.Map<java.lang.Long,com.google.protobuf.ByteString> getMutableDestCustomRecords()
public LightningApi.QueryRoutesRequest.Builder putDestCustomRecords(long key, com.google.protobuf.ByteString value)
An optional field that can be used to pass an arbitrary set of TLV records to a peer which understands the new records. This can be used to pass application specific data during the payment attempt. If the destination does not support the specified records, an error will be returned. Record types are required to be in the custom range >= 65536. When using REST, the values must be encoded as base64.
map<uint64, bytes> dest_custom_records = 13;public LightningApi.QueryRoutesRequest.Builder putAllDestCustomRecords(java.util.Map<java.lang.Long,com.google.protobuf.ByteString> values)
An optional field that can be used to pass an arbitrary set of TLV records to a peer which understands the new records. This can be used to pass application specific data during the payment attempt. If the destination does not support the specified records, an error will be returned. Record types are required to be in the custom range >= 65536. When using REST, the values must be encoded as base64.
map<uint64, bytes> dest_custom_records = 13;public long getOutgoingChanId()
The channel id of the channel that must be taken to the first hop. If zero, any channel may be used.
uint64 outgoing_chan_id = 14 [jstype = JS_STRING];getOutgoingChanId in interface LightningApi.QueryRoutesRequestOrBuilderpublic LightningApi.QueryRoutesRequest.Builder setOutgoingChanId(long value)
The channel id of the channel that must be taken to the first hop. If zero, any channel may be used.
uint64 outgoing_chan_id = 14 [jstype = JS_STRING];value - The outgoingChanId to set.public LightningApi.QueryRoutesRequest.Builder clearOutgoingChanId()
The channel id of the channel that must be taken to the first hop. If zero, any channel may be used.
uint64 outgoing_chan_id = 14 [jstype = JS_STRING];public com.google.protobuf.ByteString getLastHopPubkey()
The pubkey of the last hop of the route. If empty, any hop may be used.
bytes last_hop_pubkey = 15;getLastHopPubkey in interface LightningApi.QueryRoutesRequestOrBuilderpublic LightningApi.QueryRoutesRequest.Builder setLastHopPubkey(com.google.protobuf.ByteString value)
The pubkey of the last hop of the route. If empty, any hop may be used.
bytes last_hop_pubkey = 15;value - The lastHopPubkey to set.public LightningApi.QueryRoutesRequest.Builder clearLastHopPubkey()
The pubkey of the last hop of the route. If empty, any hop may be used.
bytes last_hop_pubkey = 15;public java.util.List<LightningApi.RouteHint> getRouteHintsList()
Optional route hints to reach the destination through private channels.
repeated .lnrpc.RouteHint route_hints = 16;getRouteHintsList in interface LightningApi.QueryRoutesRequestOrBuilderpublic int getRouteHintsCount()
Optional route hints to reach the destination through private channels.
repeated .lnrpc.RouteHint route_hints = 16;getRouteHintsCount in interface LightningApi.QueryRoutesRequestOrBuilderpublic LightningApi.RouteHint getRouteHints(int index)
Optional route hints to reach the destination through private channels.
repeated .lnrpc.RouteHint route_hints = 16;getRouteHints in interface LightningApi.QueryRoutesRequestOrBuilderpublic LightningApi.QueryRoutesRequest.Builder setRouteHints(int index, LightningApi.RouteHint value)
Optional route hints to reach the destination through private channels.
repeated .lnrpc.RouteHint route_hints = 16;public LightningApi.QueryRoutesRequest.Builder setRouteHints(int index, LightningApi.RouteHint.Builder builderForValue)
Optional route hints to reach the destination through private channels.
repeated .lnrpc.RouteHint route_hints = 16;public LightningApi.QueryRoutesRequest.Builder addRouteHints(LightningApi.RouteHint value)
Optional route hints to reach the destination through private channels.
repeated .lnrpc.RouteHint route_hints = 16;public LightningApi.QueryRoutesRequest.Builder addRouteHints(int index, LightningApi.RouteHint value)
Optional route hints to reach the destination through private channels.
repeated .lnrpc.RouteHint route_hints = 16;public LightningApi.QueryRoutesRequest.Builder addRouteHints(LightningApi.RouteHint.Builder builderForValue)
Optional route hints to reach the destination through private channels.
repeated .lnrpc.RouteHint route_hints = 16;public LightningApi.QueryRoutesRequest.Builder addRouteHints(int index, LightningApi.RouteHint.Builder builderForValue)
Optional route hints to reach the destination through private channels.
repeated .lnrpc.RouteHint route_hints = 16;public LightningApi.QueryRoutesRequest.Builder addAllRouteHints(java.lang.Iterable<? extends LightningApi.RouteHint> values)
Optional route hints to reach the destination through private channels.
repeated .lnrpc.RouteHint route_hints = 16;public LightningApi.QueryRoutesRequest.Builder clearRouteHints()
Optional route hints to reach the destination through private channels.
repeated .lnrpc.RouteHint route_hints = 16;public LightningApi.QueryRoutesRequest.Builder removeRouteHints(int index)
Optional route hints to reach the destination through private channels.
repeated .lnrpc.RouteHint route_hints = 16;public LightningApi.RouteHint.Builder getRouteHintsBuilder(int index)
Optional route hints to reach the destination through private channels.
repeated .lnrpc.RouteHint route_hints = 16;public LightningApi.RouteHintOrBuilder getRouteHintsOrBuilder(int index)
Optional route hints to reach the destination through private channels.
repeated .lnrpc.RouteHint route_hints = 16;getRouteHintsOrBuilder in interface LightningApi.QueryRoutesRequestOrBuilderpublic java.util.List<? extends LightningApi.RouteHintOrBuilder> getRouteHintsOrBuilderList()
Optional route hints to reach the destination through private channels.
repeated .lnrpc.RouteHint route_hints = 16;getRouteHintsOrBuilderList in interface LightningApi.QueryRoutesRequestOrBuilderpublic LightningApi.RouteHint.Builder addRouteHintsBuilder()
Optional route hints to reach the destination through private channels.
repeated .lnrpc.RouteHint route_hints = 16;public LightningApi.RouteHint.Builder addRouteHintsBuilder(int index)
Optional route hints to reach the destination through private channels.
repeated .lnrpc.RouteHint route_hints = 16;public java.util.List<LightningApi.RouteHint.Builder> getRouteHintsBuilderList()
Optional route hints to reach the destination through private channels.
repeated .lnrpc.RouteHint route_hints = 16;public java.util.List<LightningApi.FeatureBit> getDestFeaturesList()
Features assumed to be supported by the final node. All transitive feature dependencies must also be set properly. For a given feature bit pair, either optional or remote may be set, but not both. If this field is nil or empty, the router will try to load destination features from the graph as a fallback.
repeated .lnrpc.FeatureBit dest_features = 17;getDestFeaturesList in interface LightningApi.QueryRoutesRequestOrBuilderpublic int getDestFeaturesCount()
Features assumed to be supported by the final node. All transitive feature dependencies must also be set properly. For a given feature bit pair, either optional or remote may be set, but not both. If this field is nil or empty, the router will try to load destination features from the graph as a fallback.
repeated .lnrpc.FeatureBit dest_features = 17;getDestFeaturesCount in interface LightningApi.QueryRoutesRequestOrBuilderpublic LightningApi.FeatureBit getDestFeatures(int index)
Features assumed to be supported by the final node. All transitive feature dependencies must also be set properly. For a given feature bit pair, either optional or remote may be set, but not both. If this field is nil or empty, the router will try to load destination features from the graph as a fallback.
repeated .lnrpc.FeatureBit dest_features = 17;getDestFeatures in interface LightningApi.QueryRoutesRequestOrBuilderindex - The index of the element to return.public LightningApi.QueryRoutesRequest.Builder setDestFeatures(int index, LightningApi.FeatureBit value)
Features assumed to be supported by the final node. All transitive feature dependencies must also be set properly. For a given feature bit pair, either optional or remote may be set, but not both. If this field is nil or empty, the router will try to load destination features from the graph as a fallback.
repeated .lnrpc.FeatureBit dest_features = 17;index - The index to set the value at.value - The destFeatures to set.public LightningApi.QueryRoutesRequest.Builder addDestFeatures(LightningApi.FeatureBit value)
Features assumed to be supported by the final node. All transitive feature dependencies must also be set properly. For a given feature bit pair, either optional or remote may be set, but not both. If this field is nil or empty, the router will try to load destination features from the graph as a fallback.
repeated .lnrpc.FeatureBit dest_features = 17;value - The destFeatures to add.public LightningApi.QueryRoutesRequest.Builder addAllDestFeatures(java.lang.Iterable<? extends LightningApi.FeatureBit> values)
Features assumed to be supported by the final node. All transitive feature dependencies must also be set properly. For a given feature bit pair, either optional or remote may be set, but not both. If this field is nil or empty, the router will try to load destination features from the graph as a fallback.
repeated .lnrpc.FeatureBit dest_features = 17;values - The destFeatures to add.public LightningApi.QueryRoutesRequest.Builder clearDestFeatures()
Features assumed to be supported by the final node. All transitive feature dependencies must also be set properly. For a given feature bit pair, either optional or remote may be set, but not both. If this field is nil or empty, the router will try to load destination features from the graph as a fallback.
repeated .lnrpc.FeatureBit dest_features = 17;public java.util.List<java.lang.Integer> getDestFeaturesValueList()
Features assumed to be supported by the final node. All transitive feature dependencies must also be set properly. For a given feature bit pair, either optional or remote may be set, but not both. If this field is nil or empty, the router will try to load destination features from the graph as a fallback.
repeated .lnrpc.FeatureBit dest_features = 17;getDestFeaturesValueList in interface LightningApi.QueryRoutesRequestOrBuilderpublic int getDestFeaturesValue(int index)
Features assumed to be supported by the final node. All transitive feature dependencies must also be set properly. For a given feature bit pair, either optional or remote may be set, but not both. If this field is nil or empty, the router will try to load destination features from the graph as a fallback.
repeated .lnrpc.FeatureBit dest_features = 17;getDestFeaturesValue in interface LightningApi.QueryRoutesRequestOrBuilderindex - The index of the value to return.public LightningApi.QueryRoutesRequest.Builder setDestFeaturesValue(int index, int value)
Features assumed to be supported by the final node. All transitive feature dependencies must also be set properly. For a given feature bit pair, either optional or remote may be set, but not both. If this field is nil or empty, the router will try to load destination features from the graph as a fallback.
repeated .lnrpc.FeatureBit dest_features = 17;index - The index to set the value at.value - The enum numeric value on the wire for destFeatures to set.public LightningApi.QueryRoutesRequest.Builder addDestFeaturesValue(int value)
Features assumed to be supported by the final node. All transitive feature dependencies must also be set properly. For a given feature bit pair, either optional or remote may be set, but not both. If this field is nil or empty, the router will try to load destination features from the graph as a fallback.
repeated .lnrpc.FeatureBit dest_features = 17;value - The enum numeric value on the wire for destFeatures to add.public LightningApi.QueryRoutesRequest.Builder addAllDestFeaturesValue(java.lang.Iterable<java.lang.Integer> values)
Features assumed to be supported by the final node. All transitive feature dependencies must also be set properly. For a given feature bit pair, either optional or remote may be set, but not both. If this field is nil or empty, the router will try to load destination features from the graph as a fallback.
repeated .lnrpc.FeatureBit dest_features = 17;values - The enum numeric values on the wire for destFeatures to add.public double getTimePref()
The time preference for this payment. Set to -1 to optimize for fees only, to 1 to optimize for reliability only or a value inbetween for a mix.
double time_pref = 18;getTimePref in interface LightningApi.QueryRoutesRequestOrBuilderpublic LightningApi.QueryRoutesRequest.Builder setTimePref(double value)
The time preference for this payment. Set to -1 to optimize for fees only, to 1 to optimize for reliability only or a value inbetween for a mix.
double time_pref = 18;value - The timePref to set.public LightningApi.QueryRoutesRequest.Builder clearTimePref()
The time preference for this payment. Set to -1 to optimize for fees only, to 1 to optimize for reliability only or a value inbetween for a mix.
double time_pref = 18;public final LightningApi.QueryRoutesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.QueryRoutesRequest.Builder>public final LightningApi.QueryRoutesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.QueryRoutesRequest.Builder>