public static final class LightningApi.InvoiceHTLC extends com.google.protobuf.GeneratedMessageV3 implements LightningApi.InvoiceHTLCOrBuilder
Details of an HTLC that paid to an invoiceProtobuf type
lnrpc.InvoiceHTLC| Modifier and Type | Class and Description |
|---|---|
static class |
LightningApi.InvoiceHTLC.Builder
Details of an HTLC that paid to an invoice
|
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 |
ACCEPT_HEIGHT_FIELD_NUMBER |
static int |
ACCEPT_TIME_FIELD_NUMBER |
static int |
AMP_FIELD_NUMBER |
static int |
AMT_MSAT_FIELD_NUMBER |
static int |
CHAN_ID_FIELD_NUMBER |
static int |
CUSTOM_RECORDS_FIELD_NUMBER |
static int |
EXPIRY_HEIGHT_FIELD_NUMBER |
static int |
HTLC_INDEX_FIELD_NUMBER |
static int |
MPP_TOTAL_AMT_MSAT_FIELD_NUMBER |
static int |
RESOLVE_TIME_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsCustomRecords(long key)
Custom tlv records.
|
boolean |
equals(java.lang.Object obj) |
int |
getAcceptHeight()
Block height at which this htlc was accepted.
|
long |
getAcceptTime()
Time at which this htlc was accepted.
|
LightningApi.AMP |
getAmp()
Details relevant to AMP HTLCs, only populated if this is an AMP HTLC.
|
LightningApi.AMPOrBuilder |
getAmpOrBuilder()
Details relevant to AMP HTLCs, only populated if this is an AMP HTLC.
|
long |
getAmtMsat()
The amount of the htlc in msat.
|
long |
getChanId()
Short channel id over which the htlc was received.
|
java.util.Map<java.lang.Long,com.google.protobuf.ByteString> |
getCustomRecords()
Deprecated.
|
int |
getCustomRecordsCount()
Custom tlv records.
|
java.util.Map<java.lang.Long,com.google.protobuf.ByteString> |
getCustomRecordsMap()
Custom tlv records.
|
com.google.protobuf.ByteString |
getCustomRecordsOrDefault(long key,
com.google.protobuf.ByteString defaultValue)
Custom tlv records.
|
com.google.protobuf.ByteString |
getCustomRecordsOrThrow(long key)
Custom tlv records.
|
static LightningApi.InvoiceHTLC |
getDefaultInstance() |
LightningApi.InvoiceHTLC |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getExpiryHeight()
Block height at which this htlc expires.
|
long |
getHtlcIndex()
Index identifying the htlc on the channel.
|
long |
getMppTotalAmtMsat()
The total amount of the mpp payment in msat.
|
com.google.protobuf.Parser<LightningApi.InvoiceHTLC> |
getParserForType() |
long |
getResolveTime()
Time at which this htlc was settled or canceled.
|
int |
getSerializedSize() |
LightningApi.InvoiceHTLCState |
getState()
Current state the htlc is in.
|
int |
getStateValue()
Current state the htlc is in.
|
boolean |
hasAmp()
Details relevant to AMP HTLCs, only populated if this is an AMP HTLC.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static LightningApi.InvoiceHTLC.Builder |
newBuilder() |
static LightningApi.InvoiceHTLC.Builder |
newBuilder(LightningApi.InvoiceHTLC prototype) |
LightningApi.InvoiceHTLC.Builder |
newBuilderForType() |
protected LightningApi.InvoiceHTLC.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static LightningApi.InvoiceHTLC |
parseDelimitedFrom(java.io.InputStream input) |
static LightningApi.InvoiceHTLC |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.InvoiceHTLC |
parseFrom(byte[] data) |
static LightningApi.InvoiceHTLC |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.InvoiceHTLC |
parseFrom(java.nio.ByteBuffer data) |
static LightningApi.InvoiceHTLC |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.InvoiceHTLC |
parseFrom(com.google.protobuf.ByteString data) |
static LightningApi.InvoiceHTLC |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.InvoiceHTLC |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LightningApi.InvoiceHTLC |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.InvoiceHTLC |
parseFrom(java.io.InputStream input) |
static LightningApi.InvoiceHTLC |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<LightningApi.InvoiceHTLC> |
parser() |
LightningApi.InvoiceHTLC.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 CHAN_ID_FIELD_NUMBER
public static final int HTLC_INDEX_FIELD_NUMBER
public static final int AMT_MSAT_FIELD_NUMBER
public static final int ACCEPT_HEIGHT_FIELD_NUMBER
public static final int ACCEPT_TIME_FIELD_NUMBER
public static final int RESOLVE_TIME_FIELD_NUMBER
public static final int EXPIRY_HEIGHT_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int CUSTOM_RECORDS_FIELD_NUMBER
public static final int MPP_TOTAL_AMT_MSAT_FIELD_NUMBER
public static final int AMP_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 long getChanId()
Short channel id over which the htlc was received.
uint64 chan_id = 1 [jstype = JS_STRING];getChanId in interface LightningApi.InvoiceHTLCOrBuilderpublic long getHtlcIndex()
Index identifying the htlc on the channel.
uint64 htlc_index = 2;getHtlcIndex in interface LightningApi.InvoiceHTLCOrBuilderpublic long getAmtMsat()
The amount of the htlc in msat.
uint64 amt_msat = 3;getAmtMsat in interface LightningApi.InvoiceHTLCOrBuilderpublic int getAcceptHeight()
Block height at which this htlc was accepted.
int32 accept_height = 4;getAcceptHeight in interface LightningApi.InvoiceHTLCOrBuilderpublic long getAcceptTime()
Time at which this htlc was accepted.
int64 accept_time = 5;getAcceptTime in interface LightningApi.InvoiceHTLCOrBuilderpublic long getResolveTime()
Time at which this htlc was settled or canceled.
int64 resolve_time = 6;getResolveTime in interface LightningApi.InvoiceHTLCOrBuilderpublic int getExpiryHeight()
Block height at which this htlc expires.
int32 expiry_height = 7;getExpiryHeight in interface LightningApi.InvoiceHTLCOrBuilderpublic int getStateValue()
Current state the htlc is in.
.lnrpc.InvoiceHTLCState state = 8;getStateValue in interface LightningApi.InvoiceHTLCOrBuilderpublic LightningApi.InvoiceHTLCState getState()
Current state the htlc is in.
.lnrpc.InvoiceHTLCState state = 8;getState in interface LightningApi.InvoiceHTLCOrBuilderpublic int getCustomRecordsCount()
LightningApi.InvoiceHTLCOrBuilderCustom tlv records.
map<uint64, bytes> custom_records = 9;getCustomRecordsCount in interface LightningApi.InvoiceHTLCOrBuilderpublic boolean containsCustomRecords(long key)
Custom tlv records.
map<uint64, bytes> custom_records = 9;containsCustomRecords in interface LightningApi.InvoiceHTLCOrBuilder@Deprecated public java.util.Map<java.lang.Long,com.google.protobuf.ByteString> getCustomRecords()
getCustomRecordsMap() instead.getCustomRecords in interface LightningApi.InvoiceHTLCOrBuilderpublic java.util.Map<java.lang.Long,com.google.protobuf.ByteString> getCustomRecordsMap()
Custom tlv records.
map<uint64, bytes> custom_records = 9;getCustomRecordsMap in interface LightningApi.InvoiceHTLCOrBuilderpublic com.google.protobuf.ByteString getCustomRecordsOrDefault(long key,
com.google.protobuf.ByteString defaultValue)
Custom tlv records.
map<uint64, bytes> custom_records = 9;getCustomRecordsOrDefault in interface LightningApi.InvoiceHTLCOrBuilderpublic com.google.protobuf.ByteString getCustomRecordsOrThrow(long key)
Custom tlv records.
map<uint64, bytes> custom_records = 9;getCustomRecordsOrThrow in interface LightningApi.InvoiceHTLCOrBuilderpublic long getMppTotalAmtMsat()
The total amount of the mpp payment in msat.
uint64 mpp_total_amt_msat = 10;getMppTotalAmtMsat in interface LightningApi.InvoiceHTLCOrBuilderpublic boolean hasAmp()
Details relevant to AMP HTLCs, only populated if this is an AMP HTLC.
.lnrpc.AMP amp = 11;hasAmp in interface LightningApi.InvoiceHTLCOrBuilderpublic LightningApi.AMP getAmp()
Details relevant to AMP HTLCs, only populated if this is an AMP HTLC.
.lnrpc.AMP amp = 11;getAmp in interface LightningApi.InvoiceHTLCOrBuilderpublic LightningApi.AMPOrBuilder getAmpOrBuilder()
Details relevant to AMP HTLCs, only populated if this is an AMP HTLC.
.lnrpc.AMP amp = 11;getAmpOrBuilder in interface LightningApi.InvoiceHTLCOrBuilderpublic 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.InvoiceHTLC parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.InvoiceHTLC parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.InvoiceHTLC parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.InvoiceHTLC parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.InvoiceHTLC parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.InvoiceHTLC parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.InvoiceHTLC parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.InvoiceHTLC parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.InvoiceHTLC parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.InvoiceHTLC parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.InvoiceHTLC parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.InvoiceHTLC parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic LightningApi.InvoiceHTLC.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static LightningApi.InvoiceHTLC.Builder newBuilder()
public static LightningApi.InvoiceHTLC.Builder newBuilder(LightningApi.InvoiceHTLC prototype)
public LightningApi.InvoiceHTLC.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected LightningApi.InvoiceHTLC.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static LightningApi.InvoiceHTLC getDefaultInstance()
public static com.google.protobuf.Parser<LightningApi.InvoiceHTLC> parser()
public com.google.protobuf.Parser<LightningApi.InvoiceHTLC> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public LightningApi.InvoiceHTLC getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder