public static final class LightningApi.QueryRoutesRequest extends com.google.protobuf.GeneratedMessageV3 implements LightningApi.QueryRoutesRequestOrBuilder
lnrpc.QueryRoutesRequest| Modifier and Type | Class and Description |
|---|---|
static class |
LightningApi.QueryRoutesRequest.Builder
Protobuf type
lnrpc.QueryRoutesRequest |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
AMT_FIELD_NUMBER |
static int |
AMT_MSAT_FIELD_NUMBER |
static int |
CLTV_LIMIT_FIELD_NUMBER |
static int |
DEST_CUSTOM_RECORDS_FIELD_NUMBER |
static int |
DEST_FEATURES_FIELD_NUMBER |
static int |
FEE_LIMIT_FIELD_NUMBER |
static int |
FINAL_CLTV_DELTA_FIELD_NUMBER |
static int |
IGNORED_EDGES_FIELD_NUMBER |
static int |
IGNORED_NODES_FIELD_NUMBER |
static int |
IGNORED_PAIRS_FIELD_NUMBER |
static int |
LAST_HOP_PUBKEY_FIELD_NUMBER |
static int |
OUTGOING_CHAN_ID_FIELD_NUMBER |
static int |
PUB_KEY_FIELD_NUMBER |
static int |
ROUTE_HINTS_FIELD_NUMBER |
static int |
SOURCE_PUB_KEY_FIELD_NUMBER |
static int |
TIME_PREF_FIELD_NUMBER |
static int |
USE_MISSION_CONTROL_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
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.
|
boolean |
equals(java.lang.Object obj) |
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.
|
static LightningApi.QueryRoutesRequest |
getDefaultInstance() |
LightningApi.QueryRoutesRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.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.
|
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.
|
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.
|
long |
getOutgoingChanId()
The channel id of the channel that must be taken to the first hop.
|
com.google.protobuf.Parser<LightningApi.QueryRoutesRequest> |
getParserForType() |
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.
|
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.
|
int |
getSerializedSize() |
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.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static LightningApi.QueryRoutesRequest.Builder |
newBuilder() |
static LightningApi.QueryRoutesRequest.Builder |
newBuilder(LightningApi.QueryRoutesRequest prototype) |
LightningApi.QueryRoutesRequest.Builder |
newBuilderForType() |
protected LightningApi.QueryRoutesRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static LightningApi.QueryRoutesRequest |
parseDelimitedFrom(java.io.InputStream input) |
static LightningApi.QueryRoutesRequest |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.QueryRoutesRequest |
parseFrom(byte[] data) |
static LightningApi.QueryRoutesRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.QueryRoutesRequest |
parseFrom(java.nio.ByteBuffer data) |
static LightningApi.QueryRoutesRequest |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.QueryRoutesRequest |
parseFrom(com.google.protobuf.ByteString data) |
static LightningApi.QueryRoutesRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.QueryRoutesRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LightningApi.QueryRoutesRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.QueryRoutesRequest |
parseFrom(java.io.InputStream input) |
static LightningApi.QueryRoutesRequest |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<LightningApi.QueryRoutesRequest> |
parser() |
LightningApi.QueryRoutesRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PUB_KEY_FIELD_NUMBER
public static final int AMT_FIELD_NUMBER
public static final int AMT_MSAT_FIELD_NUMBER
public static final int FINAL_CLTV_DELTA_FIELD_NUMBER
public static final int FEE_LIMIT_FIELD_NUMBER
public static final int IGNORED_NODES_FIELD_NUMBER
public static final int IGNORED_EDGES_FIELD_NUMBER
public static final int SOURCE_PUB_KEY_FIELD_NUMBER
public static final int USE_MISSION_CONTROL_FIELD_NUMBER
public static final int IGNORED_PAIRS_FIELD_NUMBER
public static final int CLTV_LIMIT_FIELD_NUMBER
public static final int DEST_CUSTOM_RECORDS_FIELD_NUMBER
public static final int OUTGOING_CHAN_ID_FIELD_NUMBER
public static final int LAST_HOP_PUBKEY_FIELD_NUMBER
public static final int ROUTE_HINTS_FIELD_NUMBER
public static final int DEST_FEATURES_FIELD_NUMBER
public static final int TIME_PREF_FIELD_NUMBER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 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 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.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.@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 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 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.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.QueryRoutesRequestOrBuilderpublic 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 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 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 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 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.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 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 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 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 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 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 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 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.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<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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static LightningApi.QueryRoutesRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.QueryRoutesRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.QueryRoutesRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.QueryRoutesRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.QueryRoutesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.QueryRoutesRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.QueryRoutesRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.QueryRoutesRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.QueryRoutesRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.QueryRoutesRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.QueryRoutesRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.QueryRoutesRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic LightningApi.QueryRoutesRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static LightningApi.QueryRoutesRequest.Builder newBuilder()
public static LightningApi.QueryRoutesRequest.Builder newBuilder(LightningApi.QueryRoutesRequest prototype)
public LightningApi.QueryRoutesRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected LightningApi.QueryRoutesRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static LightningApi.QueryRoutesRequest getDefaultInstance()
public static com.google.protobuf.Parser<LightningApi.QueryRoutesRequest> parser()
public com.google.protobuf.Parser<LightningApi.QueryRoutesRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public LightningApi.QueryRoutesRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder