public static final class RouterOuterClass.SendPaymentRequest extends com.google.protobuf.GeneratedMessageV3 implements RouterOuterClass.SendPaymentRequestOrBuilder
routerrpc.SendPaymentRequest| Modifier and Type | Class and Description |
|---|---|
static class |
RouterOuterClass.SendPaymentRequest.Builder
Protobuf type
routerrpc.SendPaymentRequest |
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 |
ALLOW_SELF_PAYMENT_FIELD_NUMBER |
static int |
AMP_FIELD_NUMBER |
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 |
DEST_FIELD_NUMBER |
static int |
FEE_LIMIT_MSAT_FIELD_NUMBER |
static int |
FEE_LIMIT_SAT_FIELD_NUMBER |
static int |
FINAL_CLTV_DELTA_FIELD_NUMBER |
static int |
LAST_HOP_PUBKEY_FIELD_NUMBER |
static int |
MAX_PARTS_FIELD_NUMBER |
static int |
MAX_SHARD_SIZE_MSAT_FIELD_NUMBER |
static int |
NO_INFLIGHT_UPDATES_FIELD_NUMBER |
static int |
OUTGOING_CHAN_ID_FIELD_NUMBER |
static int |
OUTGOING_CHAN_IDS_FIELD_NUMBER |
static int |
PAYMENT_ADDR_FIELD_NUMBER |
static int |
PAYMENT_HASH_FIELD_NUMBER |
static int |
PAYMENT_REQUEST_FIELD_NUMBER |
static int |
ROUTE_HINTS_FIELD_NUMBER |
static int |
TIME_PREF_FIELD_NUMBER |
static int |
TIMEOUT_SECONDS_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) |
boolean |
getAllowSelfPayment()
If set, circular payments to self are permitted.
|
boolean |
getAmp()
If set, an AMP-payment will be attempted.
|
long |
getAmt()
Number of satoshis to send.
|
long |
getAmtMsat()
Number of millisatoshis to send.
|
int |
getCltvLimit()
An optional maximum total time lock for the route.
|
static RouterOuterClass.SendPaymentRequest |
getDefaultInstance() |
RouterOuterClass.SendPaymentRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.ByteString |
getDest()
The identity pubkey of the payment recipient
|
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.
|
long |
getFeeLimitMsat()
The maximum number of millisatoshis that will be paid as a fee of the
payment.
|
long |
getFeeLimitSat()
The maximum number of satoshis that will be paid as a fee of the payment.
|
int |
getFinalCltvDelta()
The CLTV delta from the current height that should be used to set the
timelock for the final hop.
|
com.google.protobuf.ByteString |
getLastHopPubkey()
The pubkey of the last hop of the route.
|
int |
getMaxParts()
The maximum number of partial payments that may be use to complete the full
amount.
|
long |
getMaxShardSizeMsat()
The largest payment split that should be attempted when making a payment if
splitting is necessary.
|
boolean |
getNoInflightUpdates()
If set, only the final payment update is streamed back.
|
long |
getOutgoingChanId()
Deprecated.
routerrpc.SendPaymentRequest.outgoing_chan_id is deprecated.
See router.proto;l=234
|
long |
getOutgoingChanIds(int index)
The channel ids of the channels are allowed for the first hop.
|
int |
getOutgoingChanIdsCount()
The channel ids of the channels are allowed for the first hop.
|
java.util.List<java.lang.Long> |
getOutgoingChanIdsList()
The channel ids of the channels are allowed for the first hop.
|
com.google.protobuf.Parser<RouterOuterClass.SendPaymentRequest> |
getParserForType() |
com.google.protobuf.ByteString |
getPaymentAddr()
An optional payment addr to be included within the last hop of the route.
|
com.google.protobuf.ByteString |
getPaymentHash()
The hash to use within the payment's HTLC
|
java.lang.String |
getPaymentRequest()
A bare-bones invoice for a payment within the Lightning Network.
|
com.google.protobuf.ByteString |
getPaymentRequestBytes()
A bare-bones invoice for a payment within the Lightning Network.
|
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() |
int |
getTimeoutSeconds()
An upper limit on the amount of time we should spend when attempting to
fulfill the payment.
|
double |
getTimePref()
The time preference for this payment.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static RouterOuterClass.SendPaymentRequest.Builder |
newBuilder() |
static RouterOuterClass.SendPaymentRequest.Builder |
newBuilder(RouterOuterClass.SendPaymentRequest prototype) |
RouterOuterClass.SendPaymentRequest.Builder |
newBuilderForType() |
protected RouterOuterClass.SendPaymentRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static RouterOuterClass.SendPaymentRequest |
parseDelimitedFrom(java.io.InputStream input) |
static RouterOuterClass.SendPaymentRequest |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouterOuterClass.SendPaymentRequest |
parseFrom(byte[] data) |
static RouterOuterClass.SendPaymentRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouterOuterClass.SendPaymentRequest |
parseFrom(java.nio.ByteBuffer data) |
static RouterOuterClass.SendPaymentRequest |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouterOuterClass.SendPaymentRequest |
parseFrom(com.google.protobuf.ByteString data) |
static RouterOuterClass.SendPaymentRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouterOuterClass.SendPaymentRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RouterOuterClass.SendPaymentRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouterOuterClass.SendPaymentRequest |
parseFrom(java.io.InputStream input) |
static RouterOuterClass.SendPaymentRequest |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RouterOuterClass.SendPaymentRequest> |
parser() |
RouterOuterClass.SendPaymentRequest.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 DEST_FIELD_NUMBER
public static final int AMT_FIELD_NUMBER
public static final int AMT_MSAT_FIELD_NUMBER
public static final int PAYMENT_HASH_FIELD_NUMBER
public static final int FINAL_CLTV_DELTA_FIELD_NUMBER
public static final int PAYMENT_ADDR_FIELD_NUMBER
public static final int PAYMENT_REQUEST_FIELD_NUMBER
public static final int TIMEOUT_SECONDS_FIELD_NUMBER
public static final int FEE_LIMIT_SAT_FIELD_NUMBER
public static final int FEE_LIMIT_MSAT_FIELD_NUMBER
public static final int OUTGOING_CHAN_ID_FIELD_NUMBER
public static final int OUTGOING_CHAN_IDS_FIELD_NUMBER
public static final int LAST_HOP_PUBKEY_FIELD_NUMBER
public static final int CLTV_LIMIT_FIELD_NUMBER
public static final int ROUTE_HINTS_FIELD_NUMBER
public static final int DEST_CUSTOM_RECORDS_FIELD_NUMBER
public static final int ALLOW_SELF_PAYMENT_FIELD_NUMBER
public static final int DEST_FEATURES_FIELD_NUMBER
public static final int MAX_PARTS_FIELD_NUMBER
public static final int NO_INFLIGHT_UPDATES_FIELD_NUMBER
public static final int MAX_SHARD_SIZE_MSAT_FIELD_NUMBER
public static final int AMP_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 com.google.protobuf.ByteString getDest()
The identity pubkey of the payment recipient
bytes dest = 1;getDest in interface RouterOuterClass.SendPaymentRequestOrBuilderpublic long getAmt()
Number of satoshis to send. The fields amt and amt_msat are mutually exclusive.
int64 amt = 2;getAmt in interface RouterOuterClass.SendPaymentRequestOrBuilderpublic long getAmtMsat()
Number of millisatoshis to send. The fields amt and amt_msat are mutually exclusive.
int64 amt_msat = 12;getAmtMsat in interface RouterOuterClass.SendPaymentRequestOrBuilderpublic com.google.protobuf.ByteString getPaymentHash()
The hash to use within the payment's HTLC
bytes payment_hash = 3;getPaymentHash in interface RouterOuterClass.SendPaymentRequestOrBuilderpublic int getFinalCltvDelta()
The CLTV delta from the current height that should be used to set the timelock for the final hop.
int32 final_cltv_delta = 4;getFinalCltvDelta in interface RouterOuterClass.SendPaymentRequestOrBuilderpublic com.google.protobuf.ByteString getPaymentAddr()
An optional payment addr to be included within the last hop of the route.
bytes payment_addr = 20;getPaymentAddr in interface RouterOuterClass.SendPaymentRequestOrBuilderpublic java.lang.String getPaymentRequest()
A bare-bones invoice for a payment within the Lightning Network. With the details of the invoice, the sender has all the data necessary to send a payment to the recipient. The amount in the payment request may be zero. In that case it is required to set the amt field as well. If no payment request is specified, the following fields are required: dest, amt and payment_hash.
string payment_request = 5;getPaymentRequest in interface RouterOuterClass.SendPaymentRequestOrBuilderpublic com.google.protobuf.ByteString getPaymentRequestBytes()
A bare-bones invoice for a payment within the Lightning Network. With the details of the invoice, the sender has all the data necessary to send a payment to the recipient. The amount in the payment request may be zero. In that case it is required to set the amt field as well. If no payment request is specified, the following fields are required: dest, amt and payment_hash.
string payment_request = 5;getPaymentRequestBytes in interface RouterOuterClass.SendPaymentRequestOrBuilderpublic int getTimeoutSeconds()
An upper limit on the amount of time we should spend when attempting to fulfill the payment. This is expressed in seconds. If we cannot make a successful payment within this time frame, an error will be returned. This field must be non-zero.
int32 timeout_seconds = 6;getTimeoutSeconds in interface RouterOuterClass.SendPaymentRequestOrBuilderpublic long getFeeLimitSat()
The maximum number of satoshis that will be paid as a fee of the payment. If this field is left to the default value of 0, only zero-fee routes will be considered. This usually means single hop routes connecting directly to the destination. To send the payment without a fee limit, use max int here. The fields fee_limit_sat and fee_limit_msat are mutually exclusive.
int64 fee_limit_sat = 7;getFeeLimitSat in interface RouterOuterClass.SendPaymentRequestOrBuilderpublic long getFeeLimitMsat()
The maximum number of millisatoshis that will be paid as a fee of the payment. If this field is left to the default value of 0, only zero-fee routes will be considered. This usually means single hop routes connecting directly to the destination. To send the payment without a fee limit, use max int here. The fields fee_limit_sat and fee_limit_msat are mutually exclusive.
int64 fee_limit_msat = 13;getFeeLimitMsat in interface RouterOuterClass.SendPaymentRequestOrBuilder@Deprecated public long getOutgoingChanId()
Deprecated, use outgoing_chan_ids. The channel id of the channel that must be taken to the first hop. If zero, any channel may be used (unless outgoing_chan_ids are set).
uint64 outgoing_chan_id = 8 [deprecated = true, jstype = JS_STRING];getOutgoingChanId in interface RouterOuterClass.SendPaymentRequestOrBuilderpublic java.util.List<java.lang.Long> getOutgoingChanIdsList()
The channel ids of the channels are allowed for the first hop. If empty, any channel may be used.
repeated uint64 outgoing_chan_ids = 19;getOutgoingChanIdsList in interface RouterOuterClass.SendPaymentRequestOrBuilderpublic int getOutgoingChanIdsCount()
The channel ids of the channels are allowed for the first hop. If empty, any channel may be used.
repeated uint64 outgoing_chan_ids = 19;getOutgoingChanIdsCount in interface RouterOuterClass.SendPaymentRequestOrBuilderpublic long getOutgoingChanIds(int index)
The channel ids of the channels are allowed for the first hop. If empty, any channel may be used.
repeated uint64 outgoing_chan_ids = 19;getOutgoingChanIds in interface RouterOuterClass.SendPaymentRequestOrBuilderindex - The index of the element to return.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 = 14;getLastHopPubkey in interface RouterOuterClass.SendPaymentRequestOrBuilderpublic int getCltvLimit()
An optional maximum total time lock for the route. This should not exceed lnd's `--max-cltv-expiry` setting. If zero, then the value of `--max-cltv-expiry` is enforced.
int32 cltv_limit = 9;getCltvLimit in interface RouterOuterClass.SendPaymentRequestOrBuilderpublic java.util.List<LightningApi.RouteHint> getRouteHintsList()
Optional route hints to reach the destination through private channels.
repeated .lnrpc.RouteHint route_hints = 10;getRouteHintsList in interface RouterOuterClass.SendPaymentRequestOrBuilderpublic java.util.List<? extends LightningApi.RouteHintOrBuilder> getRouteHintsOrBuilderList()
Optional route hints to reach the destination through private channels.
repeated .lnrpc.RouteHint route_hints = 10;getRouteHintsOrBuilderList in interface RouterOuterClass.SendPaymentRequestOrBuilderpublic int getRouteHintsCount()
Optional route hints to reach the destination through private channels.
repeated .lnrpc.RouteHint route_hints = 10;getRouteHintsCount in interface RouterOuterClass.SendPaymentRequestOrBuilderpublic LightningApi.RouteHint getRouteHints(int index)
Optional route hints to reach the destination through private channels.
repeated .lnrpc.RouteHint route_hints = 10;getRouteHints in interface RouterOuterClass.SendPaymentRequestOrBuilderpublic LightningApi.RouteHintOrBuilder getRouteHintsOrBuilder(int index)
Optional route hints to reach the destination through private channels.
repeated .lnrpc.RouteHint route_hints = 10;getRouteHintsOrBuilder in interface RouterOuterClass.SendPaymentRequestOrBuilderpublic int getDestCustomRecordsCount()
RouterOuterClass.SendPaymentRequestOrBuilderAn 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. 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 = 11;getDestCustomRecordsCount in interface RouterOuterClass.SendPaymentRequestOrBuilderpublic 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. 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 = 11;containsDestCustomRecords in interface RouterOuterClass.SendPaymentRequestOrBuilder@Deprecated public java.util.Map<java.lang.Long,com.google.protobuf.ByteString> getDestCustomRecords()
getDestCustomRecordsMap() instead.getDestCustomRecords in interface RouterOuterClass.SendPaymentRequestOrBuilderpublic 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. 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 = 11;getDestCustomRecordsMap in interface RouterOuterClass.SendPaymentRequestOrBuilderpublic 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. 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 = 11;getDestCustomRecordsOrDefault in interface RouterOuterClass.SendPaymentRequestOrBuilderpublic 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. 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 = 11;getDestCustomRecordsOrThrow in interface RouterOuterClass.SendPaymentRequestOrBuilderpublic boolean getAllowSelfPayment()
If set, circular payments to self are permitted.
bool allow_self_payment = 15;getAllowSelfPayment in interface RouterOuterClass.SendPaymentRequestOrBuilderpublic 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 = 16;getDestFeaturesList in interface RouterOuterClass.SendPaymentRequestOrBuilderpublic 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 = 16;getDestFeaturesCount in interface RouterOuterClass.SendPaymentRequestOrBuilderpublic 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 = 16;getDestFeatures in interface RouterOuterClass.SendPaymentRequestOrBuilderindex - 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 = 16;getDestFeaturesValueList in interface RouterOuterClass.SendPaymentRequestOrBuilderpublic 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 = 16;getDestFeaturesValue in interface RouterOuterClass.SendPaymentRequestOrBuilderindex - The index of the value to return.public int getMaxParts()
The maximum number of partial payments that may be use to complete the full amount.
uint32 max_parts = 17;getMaxParts in interface RouterOuterClass.SendPaymentRequestOrBuilderpublic boolean getNoInflightUpdates()
If set, only the final payment update is streamed back. Intermediate updates that show which htlcs are still in flight are suppressed.
bool no_inflight_updates = 18;getNoInflightUpdates in interface RouterOuterClass.SendPaymentRequestOrBuilderpublic long getMaxShardSizeMsat()
The largest payment split that should be attempted when making a payment if splitting is necessary. Setting this value will effectively cause lnd to split more aggressively, vs only when it thinks it needs to. Note that this value is in milli-satoshis.
uint64 max_shard_size_msat = 21;getMaxShardSizeMsat in interface RouterOuterClass.SendPaymentRequestOrBuilderpublic boolean getAmp()
If set, an AMP-payment will be attempted.
bool amp = 22;getAmp in interface RouterOuterClass.SendPaymentRequestOrBuilderpublic 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 = 23;getTimePref in interface RouterOuterClass.SendPaymentRequestOrBuilderpublic 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 RouterOuterClass.SendPaymentRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouterOuterClass.SendPaymentRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouterOuterClass.SendPaymentRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouterOuterClass.SendPaymentRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouterOuterClass.SendPaymentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouterOuterClass.SendPaymentRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouterOuterClass.SendPaymentRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static RouterOuterClass.SendPaymentRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static RouterOuterClass.SendPaymentRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static RouterOuterClass.SendPaymentRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static RouterOuterClass.SendPaymentRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static RouterOuterClass.SendPaymentRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic RouterOuterClass.SendPaymentRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RouterOuterClass.SendPaymentRequest.Builder newBuilder()
public static RouterOuterClass.SendPaymentRequest.Builder newBuilder(RouterOuterClass.SendPaymentRequest prototype)
public RouterOuterClass.SendPaymentRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RouterOuterClass.SendPaymentRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RouterOuterClass.SendPaymentRequest getDefaultInstance()
public static com.google.protobuf.Parser<RouterOuterClass.SendPaymentRequest> parser()
public com.google.protobuf.Parser<RouterOuterClass.SendPaymentRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RouterOuterClass.SendPaymentRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder