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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.GeneratedMessageV3
public 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.ForwardingEventOrBuilder
public 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.ForwardingEventOrBuilder
public 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.ForwardingEventOrBuilder
public long getAmtIn()
The total amount (in satoshis) of the incoming HTLC that created half the circuit.
uint64 amt_in = 5;
getAmtIn
in interface LightningApi.ForwardingEventOrBuilder
public 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.ForwardingEventOrBuilder
public long getFee()
The total fee (in satoshis) that this payment circuit carried.
uint64 fee = 7;
getFee
in interface LightningApi.ForwardingEventOrBuilder
public long getFeeMsat()
The total fee (in milli-satoshis) that this payment circuit carried.
uint64 fee_msat = 8;
getFeeMsat
in interface LightningApi.ForwardingEventOrBuilder
public 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.ForwardingEventOrBuilder
public 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.ForwardingEventOrBuilder
public 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.ForwardingEventOrBuilder
public java.lang.String getPeerAliasIn()
The peer alias of the incoming channel.
string peer_alias_in = 12;
getPeerAliasIn
in interface LightningApi.ForwardingEventOrBuilder
public com.google.protobuf.ByteString getPeerAliasInBytes()
The peer alias of the incoming channel.
string peer_alias_in = 12;
getPeerAliasInBytes
in interface LightningApi.ForwardingEventOrBuilder
public java.lang.String getPeerAliasOut()
The peer alias of the outgoing channel.
string peer_alias_out = 13;
getPeerAliasOut
in interface LightningApi.ForwardingEventOrBuilder
public com.google.protobuf.ByteString getPeerAliasOutBytes()
The peer alias of the outgoing channel.
string peer_alias_out = 13;
getPeerAliasOutBytes
in interface LightningApi.ForwardingEventOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static LightningApi.ForwardingEvent parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.ForwardingEvent parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.ForwardingEvent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.ForwardingEvent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.ForwardingEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.ForwardingEvent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LightningApi.ForwardingEvent parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static LightningApi.ForwardingEvent parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static LightningApi.ForwardingEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static LightningApi.ForwardingEvent parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static LightningApi.ForwardingEvent parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static LightningApi.ForwardingEvent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public LightningApi.ForwardingEvent.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public 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.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected LightningApi.ForwardingEvent.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public LightningApi.ForwardingEvent getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder