public static final class LightningApi.ForwardingEvent extends com.google.protobuf.GeneratedMessageV3 implements LightningApi.ForwardingEventOrBuilder
lnrpc.ForwardingEvent| Modifier and Type | Class and Description |
|---|---|
static class |
LightningApi.ForwardingEvent.Builder
Protobuf type
lnrpc.ForwardingEvent |
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_IN_FIELD_NUMBER |
static int |
AMT_IN_MSAT_FIELD_NUMBER |
static int |
AMT_OUT_FIELD_NUMBER |
static int |
AMT_OUT_MSAT_FIELD_NUMBER |
static int |
CHAN_ID_IN_FIELD_NUMBER |
static int |
CHAN_ID_OUT_FIELD_NUMBER |
static int |
FEE_FIELD_NUMBER |
static int |
FEE_MSAT_FIELD_NUMBER |
static int |
PEER_ALIAS_IN_FIELD_NUMBER |
static int |
PEER_ALIAS_OUT_FIELD_NUMBER |
static int |
TIMESTAMP_FIELD_NUMBER |
static int |
TIMESTAMP_NS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
long |
getAmtIn()
The total amount (in satoshis) of the incoming HTLC that created half
the circuit.
|
long |
getAmtInMsat()
The total amount (in milli-satoshis) of the incoming HTLC that created
half the circuit.
|
long |
getAmtOut()
The total amount (in satoshis) of the outgoing HTLC that created the
second half of the circuit.
|
long |
getAmtOutMsat()
The total amount (in milli-satoshis) of the outgoing HTLC that created
the second half of the circuit.
|
long |
getChanIdIn()
The incoming channel ID that carried the HTLC that created the circuit.
|
long |
getChanIdOut()
The outgoing channel ID that carried the preimage that completed the
circuit.
|
static LightningApi.ForwardingEvent |
getDefaultInstance() |
LightningApi.ForwardingEvent |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getFee()
The total fee (in satoshis) that this payment circuit carried.
|
long |
getFeeMsat()
The total fee (in milli-satoshis) that this payment circuit carried.
|
com.google.protobuf.Parser<LightningApi.ForwardingEvent> |
getParserForType() |
java.lang.String |
getPeerAliasIn()
The peer alias of the incoming channel.
|
com.google.protobuf.ByteString |
getPeerAliasInBytes()
The peer alias of the incoming channel.
|
java.lang.String |
getPeerAliasOut()
The peer alias of the outgoing channel.
|
com.google.protobuf.ByteString |
getPeerAliasOutBytes()
The peer alias of the outgoing channel.
|
int |
getSerializedSize() |
long |
getTimestamp()
Deprecated.
lnrpc.ForwardingEvent.timestamp is deprecated.
See lightning.api.proto;l=4270
|
long |
getTimestampNs()
The number of nanoseconds elapsed since January 1, 1970 UTC when this
circuit was completed.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static LightningApi.ForwardingEvent.Builder |
newBuilder() |
static LightningApi.ForwardingEvent.Builder |
newBuilder(LightningApi.ForwardingEvent prototype) |
LightningApi.ForwardingEvent.Builder |
newBuilderForType() |
protected LightningApi.ForwardingEvent.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static LightningApi.ForwardingEvent |
parseDelimitedFrom(java.io.InputStream input) |
static LightningApi.ForwardingEvent |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.ForwardingEvent |
parseFrom(byte[] data) |
static LightningApi.ForwardingEvent |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.ForwardingEvent |
parseFrom(java.nio.ByteBuffer data) |
static LightningApi.ForwardingEvent |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.ForwardingEvent |
parseFrom(com.google.protobuf.ByteString data) |
static LightningApi.ForwardingEvent |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.ForwardingEvent |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LightningApi.ForwardingEvent |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LightningApi.ForwardingEvent |
parseFrom(java.io.InputStream input) |
static LightningApi.ForwardingEvent |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<LightningApi.ForwardingEvent> |
parser() |
LightningApi.ForwardingEvent.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, internalGetMapField, 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 TIMESTAMP_FIELD_NUMBER
public static final int CHAN_ID_IN_FIELD_NUMBER
public static final int CHAN_ID_OUT_FIELD_NUMBER
public static final int AMT_IN_FIELD_NUMBER
public static final int AMT_OUT_FIELD_NUMBER
public static final int FEE_FIELD_NUMBER
public static final int FEE_MSAT_FIELD_NUMBER
public static final int AMT_IN_MSAT_FIELD_NUMBER
public static final int AMT_OUT_MSAT_FIELD_NUMBER
public static final int TIMESTAMP_NS_FIELD_NUMBER
public static final int PEER_ALIAS_IN_FIELD_NUMBER
public static final int PEER_ALIAS_OUT_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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3@Deprecated public long getTimestamp()
Timestamp is the time (unix epoch offset) that this circuit was completed. Deprecated by timestamp_ns.
uint64 timestamp = 1 [deprecated = true];getTimestamp in interface LightningApi.ForwardingEventOrBuilderpublic long getChanIdIn()
The incoming channel ID that carried the HTLC that created the circuit.
uint64 chan_id_in = 2 [jstype = JS_STRING];getChanIdIn in interface LightningApi.ForwardingEventOrBuilderpublic long getChanIdOut()
The outgoing channel ID that carried the preimage that completed the circuit.
uint64 chan_id_out = 4 [jstype = JS_STRING];getChanIdOut in interface LightningApi.ForwardingEventOrBuilderpublic long getAmtIn()
The total amount (in satoshis) of the incoming HTLC that created half the circuit.
uint64 amt_in = 5;getAmtIn in interface LightningApi.ForwardingEventOrBuilderpublic long getAmtOut()
The total amount (in satoshis) of the outgoing HTLC that created the second half of the circuit.
uint64 amt_out = 6;getAmtOut in interface LightningApi.ForwardingEventOrBuilderpublic long getFee()
The total fee (in satoshis) that this payment circuit carried.
uint64 fee = 7;getFee in interface LightningApi.ForwardingEventOrBuilderpublic long getFeeMsat()
The total fee (in milli-satoshis) that this payment circuit carried.
uint64 fee_msat = 8;getFeeMsat in interface LightningApi.ForwardingEventOrBuilderpublic long getAmtInMsat()
The total amount (in milli-satoshis) of the incoming HTLC that created half the circuit.
uint64 amt_in_msat = 9;getAmtInMsat in interface LightningApi.ForwardingEventOrBuilderpublic long getAmtOutMsat()
The total amount (in milli-satoshis) of the outgoing HTLC that created the second half of the circuit.
uint64 amt_out_msat = 10;getAmtOutMsat in interface LightningApi.ForwardingEventOrBuilderpublic long getTimestampNs()
The number of nanoseconds elapsed since January 1, 1970 UTC when this circuit was completed.
uint64 timestamp_ns = 11;getTimestampNs in interface LightningApi.ForwardingEventOrBuilderpublic java.lang.String getPeerAliasIn()
The peer alias of the incoming channel.
string peer_alias_in = 12;getPeerAliasIn in interface LightningApi.ForwardingEventOrBuilderpublic com.google.protobuf.ByteString getPeerAliasInBytes()
The peer alias of the incoming channel.
string peer_alias_in = 12;getPeerAliasInBytes in interface LightningApi.ForwardingEventOrBuilderpublic java.lang.String getPeerAliasOut()
The peer alias of the outgoing channel.
string peer_alias_out = 13;getPeerAliasOut in interface LightningApi.ForwardingEventOrBuilderpublic com.google.protobuf.ByteString getPeerAliasOutBytes()
The peer alias of the outgoing channel.
string peer_alias_out = 13;getPeerAliasOutBytes in interface LightningApi.ForwardingEventOrBuilderpublic 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.ForwardingEvent parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.ForwardingEvent parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.ForwardingEvent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.ForwardingEvent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.ForwardingEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.ForwardingEvent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LightningApi.ForwardingEvent parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.ForwardingEvent parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.ForwardingEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.ForwardingEvent parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.ForwardingEvent parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LightningApi.ForwardingEvent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic LightningApi.ForwardingEvent.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static LightningApi.ForwardingEvent.Builder newBuilder()
public static LightningApi.ForwardingEvent.Builder newBuilder(LightningApi.ForwardingEvent prototype)
public LightningApi.ForwardingEvent.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected LightningApi.ForwardingEvent.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static LightningApi.ForwardingEvent getDefaultInstance()
public static com.google.protobuf.Parser<LightningApi.ForwardingEvent> parser()
public com.google.protobuf.Parser<LightningApi.ForwardingEvent> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public LightningApi.ForwardingEvent getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder