public static final class LightningApi.Payment.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.Payment.Builder> implements LightningApi.PaymentOrBuilder
lnrpc.Payment
Modifier and Type | Method and Description |
---|---|
LightningApi.Payment.Builder |
addAllHtlcs(java.lang.Iterable<? extends LightningApi.HTLCAttempt> values)
The HTLCs made in attempt to settle the payment.
|
LightningApi.Payment.Builder |
addHtlcs(int index,
LightningApi.HTLCAttempt.Builder builderForValue)
The HTLCs made in attempt to settle the payment.
|
LightningApi.Payment.Builder |
addHtlcs(int index,
LightningApi.HTLCAttempt value)
The HTLCs made in attempt to settle the payment.
|
LightningApi.Payment.Builder |
addHtlcs(LightningApi.HTLCAttempt.Builder builderForValue)
The HTLCs made in attempt to settle the payment.
|
LightningApi.Payment.Builder |
addHtlcs(LightningApi.HTLCAttempt value)
The HTLCs made in attempt to settle the payment.
|
LightningApi.HTLCAttempt.Builder |
addHtlcsBuilder()
The HTLCs made in attempt to settle the payment.
|
LightningApi.HTLCAttempt.Builder |
addHtlcsBuilder(int index)
The HTLCs made in attempt to settle the payment.
|
LightningApi.Payment |
build() |
LightningApi.Payment |
buildPartial() |
LightningApi.Payment.Builder |
clear() |
LightningApi.Payment.Builder |
clearCreationDate()
Deprecated.
lnrpc.Payment.creation_date is deprecated.
See lightning.api.proto;l=3892
|
LightningApi.Payment.Builder |
clearCreationTimeNs()
The time in UNIX nanoseconds at which the payment was created.
|
LightningApi.Payment.Builder |
clearFailureReason()
.lnrpc.PaymentFailureReason failure_reason = 16; |
LightningApi.Payment.Builder |
clearFee()
Deprecated.
lnrpc.Payment.fee is deprecated.
See lightning.api.proto;l=3897
|
LightningApi.Payment.Builder |
clearFeeMsat()
The fee paid for this payment in milli-satoshis
|
LightningApi.Payment.Builder |
clearFeeSat()
The fee paid for this payment in satoshis
|
LightningApi.Payment.Builder |
clearHtlcs()
The HTLCs made in attempt to settle the payment.
|
LightningApi.Payment.Builder |
clearPaymentHash()
The payment hash
|
LightningApi.Payment.Builder |
clearPaymentIndex()
The creation index of this payment.
|
LightningApi.Payment.Builder |
clearPaymentPreimage()
The payment preimage
|
LightningApi.Payment.Builder |
clearPaymentRequest()
The optional payment request being fulfilled.
|
LightningApi.Payment.Builder |
clearStatus()
The status of the payment.
|
LightningApi.Payment.Builder |
clearValue()
Deprecated.
lnrpc.Payment.value is deprecated.
See lightning.api.proto;l=3889
|
LightningApi.Payment.Builder |
clearValueMsat()
The value of the payment in milli-satoshis
|
LightningApi.Payment.Builder |
clearValueSat()
The value of the payment in satoshis
|
long |
getCreationDate()
Deprecated.
lnrpc.Payment.creation_date is deprecated.
See lightning.api.proto;l=3892
|
long |
getCreationTimeNs()
The time in UNIX nanoseconds at which the payment was created.
|
LightningApi.Payment |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
LightningApi.PaymentFailureReason |
getFailureReason()
.lnrpc.PaymentFailureReason failure_reason = 16; |
int |
getFailureReasonValue()
.lnrpc.PaymentFailureReason failure_reason = 16; |
long |
getFee()
Deprecated.
lnrpc.Payment.fee is deprecated.
See lightning.api.proto;l=3897
|
long |
getFeeMsat()
The fee paid for this payment in milli-satoshis
|
long |
getFeeSat()
The fee paid for this payment in satoshis
|
LightningApi.HTLCAttempt |
getHtlcs(int index)
The HTLCs made in attempt to settle the payment.
|
LightningApi.HTLCAttempt.Builder |
getHtlcsBuilder(int index)
The HTLCs made in attempt to settle the payment.
|
java.util.List<LightningApi.HTLCAttempt.Builder> |
getHtlcsBuilderList()
The HTLCs made in attempt to settle the payment.
|
int |
getHtlcsCount()
The HTLCs made in attempt to settle the payment.
|
java.util.List<LightningApi.HTLCAttempt> |
getHtlcsList()
The HTLCs made in attempt to settle the payment.
|
LightningApi.HTLCAttemptOrBuilder |
getHtlcsOrBuilder(int index)
The HTLCs made in attempt to settle the payment.
|
java.util.List<? extends LightningApi.HTLCAttemptOrBuilder> |
getHtlcsOrBuilderList()
The HTLCs made in attempt to settle the payment.
|
java.lang.String |
getPaymentHash()
The payment hash
|
com.google.protobuf.ByteString |
getPaymentHashBytes()
The payment hash
|
long |
getPaymentIndex()
The creation index of this payment.
|
java.lang.String |
getPaymentPreimage()
The payment preimage
|
com.google.protobuf.ByteString |
getPaymentPreimageBytes()
The payment preimage
|
java.lang.String |
getPaymentRequest()
The optional payment request being fulfilled.
|
com.google.protobuf.ByteString |
getPaymentRequestBytes()
The optional payment request being fulfilled.
|
LightningApi.Payment.PaymentStatus |
getStatus()
The status of the payment.
|
int |
getStatusValue()
The status of the payment.
|
long |
getValue()
Deprecated.
lnrpc.Payment.value is deprecated.
See lightning.api.proto;l=3889
|
long |
getValueMsat()
The value of the payment in milli-satoshis
|
long |
getValueSat()
The value of the payment in satoshis
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LightningApi.Payment.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LightningApi.Payment.Builder |
mergeFrom(LightningApi.Payment other) |
LightningApi.Payment.Builder |
mergeFrom(com.google.protobuf.Message other) |
LightningApi.Payment.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.Payment.Builder |
removeHtlcs(int index)
The HTLCs made in attempt to settle the payment.
|
LightningApi.Payment.Builder |
setCreationDate(long value)
Deprecated.
lnrpc.Payment.creation_date is deprecated.
See lightning.api.proto;l=3892
|
LightningApi.Payment.Builder |
setCreationTimeNs(long value)
The time in UNIX nanoseconds at which the payment was created.
|
LightningApi.Payment.Builder |
setFailureReason(LightningApi.PaymentFailureReason value)
.lnrpc.PaymentFailureReason failure_reason = 16; |
LightningApi.Payment.Builder |
setFailureReasonValue(int value)
.lnrpc.PaymentFailureReason failure_reason = 16; |
LightningApi.Payment.Builder |
setFee(long value)
Deprecated.
lnrpc.Payment.fee is deprecated.
See lightning.api.proto;l=3897
|
LightningApi.Payment.Builder |
setFeeMsat(long value)
The fee paid for this payment in milli-satoshis
|
LightningApi.Payment.Builder |
setFeeSat(long value)
The fee paid for this payment in satoshis
|
LightningApi.Payment.Builder |
setHtlcs(int index,
LightningApi.HTLCAttempt.Builder builderForValue)
The HTLCs made in attempt to settle the payment.
|
LightningApi.Payment.Builder |
setHtlcs(int index,
LightningApi.HTLCAttempt value)
The HTLCs made in attempt to settle the payment.
|
LightningApi.Payment.Builder |
setPaymentHash(java.lang.String value)
The payment hash
|
LightningApi.Payment.Builder |
setPaymentHashBytes(com.google.protobuf.ByteString value)
The payment hash
|
LightningApi.Payment.Builder |
setPaymentIndex(long value)
The creation index of this payment.
|
LightningApi.Payment.Builder |
setPaymentPreimage(java.lang.String value)
The payment preimage
|
LightningApi.Payment.Builder |
setPaymentPreimageBytes(com.google.protobuf.ByteString value)
The payment preimage
|
LightningApi.Payment.Builder |
setPaymentRequest(java.lang.String value)
The optional payment request being fulfilled.
|
LightningApi.Payment.Builder |
setPaymentRequestBytes(com.google.protobuf.ByteString value)
The optional payment request being fulfilled.
|
LightningApi.Payment.Builder |
setStatus(LightningApi.Payment.PaymentStatus value)
The status of the payment.
|
LightningApi.Payment.Builder |
setStatusValue(int value)
The status of the payment.
|
LightningApi.Payment.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LightningApi.Payment.Builder |
setValue(long value)
Deprecated.
lnrpc.Payment.value is deprecated.
See lightning.api.proto;l=3889
|
LightningApi.Payment.Builder |
setValueMsat(long value)
The value of the payment in milli-satoshis
|
LightningApi.Payment.Builder |
setValueSat(long value)
The value of the payment in satoshis
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.Payment.Builder>
public LightningApi.Payment.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.Payment.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.Payment.Builder>
public LightningApi.Payment getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public LightningApi.Payment build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.Payment buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public LightningApi.Payment.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LightningApi.Payment.Builder>
public LightningApi.Payment.Builder mergeFrom(LightningApi.Payment other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.Payment.Builder>
public LightningApi.Payment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LightningApi.Payment.Builder>
java.io.IOException
public java.lang.String getPaymentHash()
The payment hash
string payment_hash = 1;
getPaymentHash
in interface LightningApi.PaymentOrBuilder
public com.google.protobuf.ByteString getPaymentHashBytes()
The payment hash
string payment_hash = 1;
getPaymentHashBytes
in interface LightningApi.PaymentOrBuilder
public LightningApi.Payment.Builder setPaymentHash(java.lang.String value)
The payment hash
string payment_hash = 1;
value
- The paymentHash to set.public LightningApi.Payment.Builder clearPaymentHash()
The payment hash
string payment_hash = 1;
public LightningApi.Payment.Builder setPaymentHashBytes(com.google.protobuf.ByteString value)
The payment hash
string payment_hash = 1;
value
- The bytes for paymentHash to set.@Deprecated public long getValue()
Deprecated, use value_sat or value_msat.
int64 value = 2 [deprecated = true];
getValue
in interface LightningApi.PaymentOrBuilder
@Deprecated public LightningApi.Payment.Builder setValue(long value)
Deprecated, use value_sat or value_msat.
int64 value = 2 [deprecated = true];
value
- The value to set.@Deprecated public LightningApi.Payment.Builder clearValue()
Deprecated, use value_sat or value_msat.
int64 value = 2 [deprecated = true];
@Deprecated public long getCreationDate()
Deprecated, use creation_time_ns
int64 creation_date = 3 [deprecated = true];
getCreationDate
in interface LightningApi.PaymentOrBuilder
@Deprecated public LightningApi.Payment.Builder setCreationDate(long value)
Deprecated, use creation_time_ns
int64 creation_date = 3 [deprecated = true];
value
- The creationDate to set.@Deprecated public LightningApi.Payment.Builder clearCreationDate()
Deprecated, use creation_time_ns
int64 creation_date = 3 [deprecated = true];
@Deprecated public long getFee()
Deprecated, use fee_sat or fee_msat.
int64 fee = 5 [deprecated = true];
getFee
in interface LightningApi.PaymentOrBuilder
@Deprecated public LightningApi.Payment.Builder setFee(long value)
Deprecated, use fee_sat or fee_msat.
int64 fee = 5 [deprecated = true];
value
- The fee to set.@Deprecated public LightningApi.Payment.Builder clearFee()
Deprecated, use fee_sat or fee_msat.
int64 fee = 5 [deprecated = true];
public java.lang.String getPaymentPreimage()
The payment preimage
string payment_preimage = 6;
getPaymentPreimage
in interface LightningApi.PaymentOrBuilder
public com.google.protobuf.ByteString getPaymentPreimageBytes()
The payment preimage
string payment_preimage = 6;
getPaymentPreimageBytes
in interface LightningApi.PaymentOrBuilder
public LightningApi.Payment.Builder setPaymentPreimage(java.lang.String value)
The payment preimage
string payment_preimage = 6;
value
- The paymentPreimage to set.public LightningApi.Payment.Builder clearPaymentPreimage()
The payment preimage
string payment_preimage = 6;
public LightningApi.Payment.Builder setPaymentPreimageBytes(com.google.protobuf.ByteString value)
The payment preimage
string payment_preimage = 6;
value
- The bytes for paymentPreimage to set.public long getValueSat()
The value of the payment in satoshis
int64 value_sat = 7;
getValueSat
in interface LightningApi.PaymentOrBuilder
public LightningApi.Payment.Builder setValueSat(long value)
The value of the payment in satoshis
int64 value_sat = 7;
value
- The valueSat to set.public LightningApi.Payment.Builder clearValueSat()
The value of the payment in satoshis
int64 value_sat = 7;
public long getValueMsat()
The value of the payment in milli-satoshis
int64 value_msat = 8;
getValueMsat
in interface LightningApi.PaymentOrBuilder
public LightningApi.Payment.Builder setValueMsat(long value)
The value of the payment in milli-satoshis
int64 value_msat = 8;
value
- The valueMsat to set.public LightningApi.Payment.Builder clearValueMsat()
The value of the payment in milli-satoshis
int64 value_msat = 8;
public java.lang.String getPaymentRequest()
The optional payment request being fulfilled.
string payment_request = 9;
getPaymentRequest
in interface LightningApi.PaymentOrBuilder
public com.google.protobuf.ByteString getPaymentRequestBytes()
The optional payment request being fulfilled.
string payment_request = 9;
getPaymentRequestBytes
in interface LightningApi.PaymentOrBuilder
public LightningApi.Payment.Builder setPaymentRequest(java.lang.String value)
The optional payment request being fulfilled.
string payment_request = 9;
value
- The paymentRequest to set.public LightningApi.Payment.Builder clearPaymentRequest()
The optional payment request being fulfilled.
string payment_request = 9;
public LightningApi.Payment.Builder setPaymentRequestBytes(com.google.protobuf.ByteString value)
The optional payment request being fulfilled.
string payment_request = 9;
value
- The bytes for paymentRequest to set.public int getStatusValue()
The status of the payment.
.lnrpc.Payment.PaymentStatus status = 10;
getStatusValue
in interface LightningApi.PaymentOrBuilder
public LightningApi.Payment.Builder setStatusValue(int value)
The status of the payment.
.lnrpc.Payment.PaymentStatus status = 10;
value
- The enum numeric value on the wire for status to set.public LightningApi.Payment.PaymentStatus getStatus()
The status of the payment.
.lnrpc.Payment.PaymentStatus status = 10;
getStatus
in interface LightningApi.PaymentOrBuilder
public LightningApi.Payment.Builder setStatus(LightningApi.Payment.PaymentStatus value)
The status of the payment.
.lnrpc.Payment.PaymentStatus status = 10;
value
- The status to set.public LightningApi.Payment.Builder clearStatus()
The status of the payment.
.lnrpc.Payment.PaymentStatus status = 10;
public long getFeeSat()
The fee paid for this payment in satoshis
int64 fee_sat = 11;
getFeeSat
in interface LightningApi.PaymentOrBuilder
public LightningApi.Payment.Builder setFeeSat(long value)
The fee paid for this payment in satoshis
int64 fee_sat = 11;
value
- The feeSat to set.public LightningApi.Payment.Builder clearFeeSat()
The fee paid for this payment in satoshis
int64 fee_sat = 11;
public long getFeeMsat()
The fee paid for this payment in milli-satoshis
int64 fee_msat = 12;
getFeeMsat
in interface LightningApi.PaymentOrBuilder
public LightningApi.Payment.Builder setFeeMsat(long value)
The fee paid for this payment in milli-satoshis
int64 fee_msat = 12;
value
- The feeMsat to set.public LightningApi.Payment.Builder clearFeeMsat()
The fee paid for this payment in milli-satoshis
int64 fee_msat = 12;
public long getCreationTimeNs()
The time in UNIX nanoseconds at which the payment was created.
int64 creation_time_ns = 13;
getCreationTimeNs
in interface LightningApi.PaymentOrBuilder
public LightningApi.Payment.Builder setCreationTimeNs(long value)
The time in UNIX nanoseconds at which the payment was created.
int64 creation_time_ns = 13;
value
- The creationTimeNs to set.public LightningApi.Payment.Builder clearCreationTimeNs()
The time in UNIX nanoseconds at which the payment was created.
int64 creation_time_ns = 13;
public java.util.List<LightningApi.HTLCAttempt> getHtlcsList()
The HTLCs made in attempt to settle the payment.
repeated .lnrpc.HTLCAttempt htlcs = 14;
getHtlcsList
in interface LightningApi.PaymentOrBuilder
public int getHtlcsCount()
The HTLCs made in attempt to settle the payment.
repeated .lnrpc.HTLCAttempt htlcs = 14;
getHtlcsCount
in interface LightningApi.PaymentOrBuilder
public LightningApi.HTLCAttempt getHtlcs(int index)
The HTLCs made in attempt to settle the payment.
repeated .lnrpc.HTLCAttempt htlcs = 14;
getHtlcs
in interface LightningApi.PaymentOrBuilder
public LightningApi.Payment.Builder setHtlcs(int index, LightningApi.HTLCAttempt value)
The HTLCs made in attempt to settle the payment.
repeated .lnrpc.HTLCAttempt htlcs = 14;
public LightningApi.Payment.Builder setHtlcs(int index, LightningApi.HTLCAttempt.Builder builderForValue)
The HTLCs made in attempt to settle the payment.
repeated .lnrpc.HTLCAttempt htlcs = 14;
public LightningApi.Payment.Builder addHtlcs(LightningApi.HTLCAttempt value)
The HTLCs made in attempt to settle the payment.
repeated .lnrpc.HTLCAttempt htlcs = 14;
public LightningApi.Payment.Builder addHtlcs(int index, LightningApi.HTLCAttempt value)
The HTLCs made in attempt to settle the payment.
repeated .lnrpc.HTLCAttempt htlcs = 14;
public LightningApi.Payment.Builder addHtlcs(LightningApi.HTLCAttempt.Builder builderForValue)
The HTLCs made in attempt to settle the payment.
repeated .lnrpc.HTLCAttempt htlcs = 14;
public LightningApi.Payment.Builder addHtlcs(int index, LightningApi.HTLCAttempt.Builder builderForValue)
The HTLCs made in attempt to settle the payment.
repeated .lnrpc.HTLCAttempt htlcs = 14;
public LightningApi.Payment.Builder addAllHtlcs(java.lang.Iterable<? extends LightningApi.HTLCAttempt> values)
The HTLCs made in attempt to settle the payment.
repeated .lnrpc.HTLCAttempt htlcs = 14;
public LightningApi.Payment.Builder clearHtlcs()
The HTLCs made in attempt to settle the payment.
repeated .lnrpc.HTLCAttempt htlcs = 14;
public LightningApi.Payment.Builder removeHtlcs(int index)
The HTLCs made in attempt to settle the payment.
repeated .lnrpc.HTLCAttempt htlcs = 14;
public LightningApi.HTLCAttempt.Builder getHtlcsBuilder(int index)
The HTLCs made in attempt to settle the payment.
repeated .lnrpc.HTLCAttempt htlcs = 14;
public LightningApi.HTLCAttemptOrBuilder getHtlcsOrBuilder(int index)
The HTLCs made in attempt to settle the payment.
repeated .lnrpc.HTLCAttempt htlcs = 14;
getHtlcsOrBuilder
in interface LightningApi.PaymentOrBuilder
public java.util.List<? extends LightningApi.HTLCAttemptOrBuilder> getHtlcsOrBuilderList()
The HTLCs made in attempt to settle the payment.
repeated .lnrpc.HTLCAttempt htlcs = 14;
getHtlcsOrBuilderList
in interface LightningApi.PaymentOrBuilder
public LightningApi.HTLCAttempt.Builder addHtlcsBuilder()
The HTLCs made in attempt to settle the payment.
repeated .lnrpc.HTLCAttempt htlcs = 14;
public LightningApi.HTLCAttempt.Builder addHtlcsBuilder(int index)
The HTLCs made in attempt to settle the payment.
repeated .lnrpc.HTLCAttempt htlcs = 14;
public java.util.List<LightningApi.HTLCAttempt.Builder> getHtlcsBuilderList()
The HTLCs made in attempt to settle the payment.
repeated .lnrpc.HTLCAttempt htlcs = 14;
public long getPaymentIndex()
The creation index of this payment. Each payment can be uniquely identified by this index, which may not strictly increment by 1 for payments made in older versions of lnd.
uint64 payment_index = 15;
getPaymentIndex
in interface LightningApi.PaymentOrBuilder
public LightningApi.Payment.Builder setPaymentIndex(long value)
The creation index of this payment. Each payment can be uniquely identified by this index, which may not strictly increment by 1 for payments made in older versions of lnd.
uint64 payment_index = 15;
value
- The paymentIndex to set.public LightningApi.Payment.Builder clearPaymentIndex()
The creation index of this payment. Each payment can be uniquely identified by this index, which may not strictly increment by 1 for payments made in older versions of lnd.
uint64 payment_index = 15;
public int getFailureReasonValue()
.lnrpc.PaymentFailureReason failure_reason = 16;
getFailureReasonValue
in interface LightningApi.PaymentOrBuilder
public LightningApi.Payment.Builder setFailureReasonValue(int value)
.lnrpc.PaymentFailureReason failure_reason = 16;
value
- The enum numeric value on the wire for failureReason to set.public LightningApi.PaymentFailureReason getFailureReason()
.lnrpc.PaymentFailureReason failure_reason = 16;
getFailureReason
in interface LightningApi.PaymentOrBuilder
public LightningApi.Payment.Builder setFailureReason(LightningApi.PaymentFailureReason value)
.lnrpc.PaymentFailureReason failure_reason = 16;
value
- The failureReason to set.public LightningApi.Payment.Builder clearFailureReason()
.lnrpc.PaymentFailureReason failure_reason = 16;
public final LightningApi.Payment.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.Payment.Builder>
public final LightningApi.Payment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LightningApi.Payment.Builder>