lnrpc.ForwardingEvent.scala Maven / Gradle / Ivy
The newest version!
// Generated by the Scala Plugin for the Protocol Buffer Compiler.
// Do not edit!
//
// Protofile syntax: PROTO3
package lnrpc
import org.bitcoins.lnd.rpc.LndUtils._
/** @param timestamp
* Timestamp is the time (unix epoch offset) that this circuit was
* completed. Deprecated by timestamp_ns.
* @param chanIdIn
* The incoming channel ID that carried the HTLC that created the circuit.
* @param chanIdOut
* The outgoing channel ID that carried the preimage that completed the
* circuit.
* @param amtIn
* The total amount (in satoshis) of the incoming HTLC that created half
* the circuit.
* @param amtOut
* The total amount (in satoshis) of the outgoing HTLC that created the
* second half of the circuit.
* @param fee
* The total fee (in satoshis) that this payment circuit carried.
* @param feeMsat
* The total fee (in milli-satoshis) that this payment circuit carried.
* @param amtInMsat
* The total amount (in milli-satoshis) of the incoming HTLC that created
* half the circuit.
* @param amtOutMsat
* The total amount (in milli-satoshis) of the outgoing HTLC that created
* the second half of the circuit.
* @param timestampNs
* The number of nanoseconds elapsed since January 1, 1970 UTC when this
* circuit was completed.
* @param peerAliasIn
* The peer alias of the incoming channel.
* @param peerAliasOut
* The peer alias of the outgoing channel.
*/
@SerialVersionUID(0L)
final case class ForwardingEvent(
@scala.deprecated(message="Marked as deprecated in proto file", "") timestamp: org.bitcoins.core.number.UInt64 = lnrpc.ForwardingEvent._typemapper_timestamp.toCustom(0L),
chanIdIn: org.bitcoins.core.number.UInt64 = lnrpc.ForwardingEvent._typemapper_chanIdIn.toCustom(0L),
chanIdOut: org.bitcoins.core.number.UInt64 = lnrpc.ForwardingEvent._typemapper_chanIdOut.toCustom(0L),
amtIn: org.bitcoins.core.number.UInt64 = lnrpc.ForwardingEvent._typemapper_amtIn.toCustom(0L),
amtOut: org.bitcoins.core.number.UInt64 = lnrpc.ForwardingEvent._typemapper_amtOut.toCustom(0L),
fee: org.bitcoins.core.number.UInt64 = lnrpc.ForwardingEvent._typemapper_fee.toCustom(0L),
feeMsat: org.bitcoins.core.number.UInt64 = lnrpc.ForwardingEvent._typemapper_feeMsat.toCustom(0L),
amtInMsat: org.bitcoins.core.number.UInt64 = lnrpc.ForwardingEvent._typemapper_amtInMsat.toCustom(0L),
amtOutMsat: org.bitcoins.core.number.UInt64 = lnrpc.ForwardingEvent._typemapper_amtOutMsat.toCustom(0L),
timestampNs: org.bitcoins.core.number.UInt64 = lnrpc.ForwardingEvent._typemapper_timestampNs.toCustom(0L),
peerAliasIn: _root_.scala.Predef.String = "",
peerAliasOut: _root_.scala.Predef.String = "",
unknownFields: _root_.scalapb.UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty
) extends scalapb.GeneratedMessage with scalapb.lenses.Updatable[ForwardingEvent] {
@transient
private[this] var __serializedSizeMemoized: _root_.scala.Int = 0
private[this] def __computeSerializedSize(): _root_.scala.Int = {
var __size = 0
{
val __value = lnrpc.ForwardingEvent._typemapper_timestamp.toBase(timestamp)
if (__value != 0L) {
__size += _root_.com.google.protobuf.CodedOutputStream.computeUInt64Size(1, __value)
}
};
{
val __value = lnrpc.ForwardingEvent._typemapper_chanIdIn.toBase(chanIdIn)
if (__value != 0L) {
__size += _root_.com.google.protobuf.CodedOutputStream.computeUInt64Size(2, __value)
}
};
{
val __value = lnrpc.ForwardingEvent._typemapper_chanIdOut.toBase(chanIdOut)
if (__value != 0L) {
__size += _root_.com.google.protobuf.CodedOutputStream.computeUInt64Size(4, __value)
}
};
{
val __value = lnrpc.ForwardingEvent._typemapper_amtIn.toBase(amtIn)
if (__value != 0L) {
__size += _root_.com.google.protobuf.CodedOutputStream.computeUInt64Size(5, __value)
}
};
{
val __value = lnrpc.ForwardingEvent._typemapper_amtOut.toBase(amtOut)
if (__value != 0L) {
__size += _root_.com.google.protobuf.CodedOutputStream.computeUInt64Size(6, __value)
}
};
{
val __value = lnrpc.ForwardingEvent._typemapper_fee.toBase(fee)
if (__value != 0L) {
__size += _root_.com.google.protobuf.CodedOutputStream.computeUInt64Size(7, __value)
}
};
{
val __value = lnrpc.ForwardingEvent._typemapper_feeMsat.toBase(feeMsat)
if (__value != 0L) {
__size += _root_.com.google.protobuf.CodedOutputStream.computeUInt64Size(8, __value)
}
};
{
val __value = lnrpc.ForwardingEvent._typemapper_amtInMsat.toBase(amtInMsat)
if (__value != 0L) {
__size += _root_.com.google.protobuf.CodedOutputStream.computeUInt64Size(9, __value)
}
};
{
val __value = lnrpc.ForwardingEvent._typemapper_amtOutMsat.toBase(amtOutMsat)
if (__value != 0L) {
__size += _root_.com.google.protobuf.CodedOutputStream.computeUInt64Size(10, __value)
}
};
{
val __value = lnrpc.ForwardingEvent._typemapper_timestampNs.toBase(timestampNs)
if (__value != 0L) {
__size += _root_.com.google.protobuf.CodedOutputStream.computeUInt64Size(11, __value)
}
};
{
val __value = peerAliasIn
if (!__value.isEmpty) {
__size += _root_.com.google.protobuf.CodedOutputStream.computeStringSize(12, __value)
}
};
{
val __value = peerAliasOut
if (!__value.isEmpty) {
__size += _root_.com.google.protobuf.CodedOutputStream.computeStringSize(13, __value)
}
};
__size += unknownFields.serializedSize
__size
}
override def serializedSize: _root_.scala.Int = {
var __size = __serializedSizeMemoized
if (__size == 0) {
__size = __computeSerializedSize() + 1
__serializedSizeMemoized = __size
}
__size - 1
}
def writeTo(`_output__`: _root_.com.google.protobuf.CodedOutputStream): _root_.scala.Unit = {
{
val __v = lnrpc.ForwardingEvent._typemapper_timestamp.toBase(timestamp)
if (__v != 0L) {
_output__.writeUInt64(1, __v)
}
};
{
val __v = lnrpc.ForwardingEvent._typemapper_chanIdIn.toBase(chanIdIn)
if (__v != 0L) {
_output__.writeUInt64(2, __v)
}
};
{
val __v = lnrpc.ForwardingEvent._typemapper_chanIdOut.toBase(chanIdOut)
if (__v != 0L) {
_output__.writeUInt64(4, __v)
}
};
{
val __v = lnrpc.ForwardingEvent._typemapper_amtIn.toBase(amtIn)
if (__v != 0L) {
_output__.writeUInt64(5, __v)
}
};
{
val __v = lnrpc.ForwardingEvent._typemapper_amtOut.toBase(amtOut)
if (__v != 0L) {
_output__.writeUInt64(6, __v)
}
};
{
val __v = lnrpc.ForwardingEvent._typemapper_fee.toBase(fee)
if (__v != 0L) {
_output__.writeUInt64(7, __v)
}
};
{
val __v = lnrpc.ForwardingEvent._typemapper_feeMsat.toBase(feeMsat)
if (__v != 0L) {
_output__.writeUInt64(8, __v)
}
};
{
val __v = lnrpc.ForwardingEvent._typemapper_amtInMsat.toBase(amtInMsat)
if (__v != 0L) {
_output__.writeUInt64(9, __v)
}
};
{
val __v = lnrpc.ForwardingEvent._typemapper_amtOutMsat.toBase(amtOutMsat)
if (__v != 0L) {
_output__.writeUInt64(10, __v)
}
};
{
val __v = lnrpc.ForwardingEvent._typemapper_timestampNs.toBase(timestampNs)
if (__v != 0L) {
_output__.writeUInt64(11, __v)
}
};
{
val __v = peerAliasIn
if (!__v.isEmpty) {
_output__.writeString(12, __v)
}
};
{
val __v = peerAliasOut
if (!__v.isEmpty) {
_output__.writeString(13, __v)
}
};
unknownFields.writeTo(_output__)
}
def withTimestamp(__v: org.bitcoins.core.number.UInt64): ForwardingEvent = copy(timestamp = __v)
def withChanIdIn(__v: org.bitcoins.core.number.UInt64): ForwardingEvent = copy(chanIdIn = __v)
def withChanIdOut(__v: org.bitcoins.core.number.UInt64): ForwardingEvent = copy(chanIdOut = __v)
def withAmtIn(__v: org.bitcoins.core.number.UInt64): ForwardingEvent = copy(amtIn = __v)
def withAmtOut(__v: org.bitcoins.core.number.UInt64): ForwardingEvent = copy(amtOut = __v)
def withFee(__v: org.bitcoins.core.number.UInt64): ForwardingEvent = copy(fee = __v)
def withFeeMsat(__v: org.bitcoins.core.number.UInt64): ForwardingEvent = copy(feeMsat = __v)
def withAmtInMsat(__v: org.bitcoins.core.number.UInt64): ForwardingEvent = copy(amtInMsat = __v)
def withAmtOutMsat(__v: org.bitcoins.core.number.UInt64): ForwardingEvent = copy(amtOutMsat = __v)
def withTimestampNs(__v: org.bitcoins.core.number.UInt64): ForwardingEvent = copy(timestampNs = __v)
def withPeerAliasIn(__v: _root_.scala.Predef.String): ForwardingEvent = copy(peerAliasIn = __v)
def withPeerAliasOut(__v: _root_.scala.Predef.String): ForwardingEvent = copy(peerAliasOut = __v)
def withUnknownFields(__v: _root_.scalapb.UnknownFieldSet) = copy(unknownFields = __v)
def discardUnknownFields = copy(unknownFields = _root_.scalapb.UnknownFieldSet.empty)
def getFieldByNumber(__fieldNumber: _root_.scala.Int): _root_.scala.Any = {
(__fieldNumber: @_root_.scala.unchecked) match {
case 1 => {
val __t = lnrpc.ForwardingEvent._typemapper_timestamp.toBase(timestamp)
if (__t != 0L) __t else null
}
case 2 => {
val __t = lnrpc.ForwardingEvent._typemapper_chanIdIn.toBase(chanIdIn)
if (__t != 0L) __t else null
}
case 4 => {
val __t = lnrpc.ForwardingEvent._typemapper_chanIdOut.toBase(chanIdOut)
if (__t != 0L) __t else null
}
case 5 => {
val __t = lnrpc.ForwardingEvent._typemapper_amtIn.toBase(amtIn)
if (__t != 0L) __t else null
}
case 6 => {
val __t = lnrpc.ForwardingEvent._typemapper_amtOut.toBase(amtOut)
if (__t != 0L) __t else null
}
case 7 => {
val __t = lnrpc.ForwardingEvent._typemapper_fee.toBase(fee)
if (__t != 0L) __t else null
}
case 8 => {
val __t = lnrpc.ForwardingEvent._typemapper_feeMsat.toBase(feeMsat)
if (__t != 0L) __t else null
}
case 9 => {
val __t = lnrpc.ForwardingEvent._typemapper_amtInMsat.toBase(amtInMsat)
if (__t != 0L) __t else null
}
case 10 => {
val __t = lnrpc.ForwardingEvent._typemapper_amtOutMsat.toBase(amtOutMsat)
if (__t != 0L) __t else null
}
case 11 => {
val __t = lnrpc.ForwardingEvent._typemapper_timestampNs.toBase(timestampNs)
if (__t != 0L) __t else null
}
case 12 => {
val __t = peerAliasIn
if (__t != "") __t else null
}
case 13 => {
val __t = peerAliasOut
if (__t != "") __t else null
}
}
}
def getField(__field: _root_.scalapb.descriptors.FieldDescriptor): _root_.scalapb.descriptors.PValue = {
_root_.scala.Predef.require(__field.containingMessage eq companion.scalaDescriptor)
(__field.number: @_root_.scala.unchecked) match {
case 1 => _root_.scalapb.descriptors.PLong(lnrpc.ForwardingEvent._typemapper_timestamp.toBase(timestamp))
case 2 => _root_.scalapb.descriptors.PLong(lnrpc.ForwardingEvent._typemapper_chanIdIn.toBase(chanIdIn))
case 4 => _root_.scalapb.descriptors.PLong(lnrpc.ForwardingEvent._typemapper_chanIdOut.toBase(chanIdOut))
case 5 => _root_.scalapb.descriptors.PLong(lnrpc.ForwardingEvent._typemapper_amtIn.toBase(amtIn))
case 6 => _root_.scalapb.descriptors.PLong(lnrpc.ForwardingEvent._typemapper_amtOut.toBase(amtOut))
case 7 => _root_.scalapb.descriptors.PLong(lnrpc.ForwardingEvent._typemapper_fee.toBase(fee))
case 8 => _root_.scalapb.descriptors.PLong(lnrpc.ForwardingEvent._typemapper_feeMsat.toBase(feeMsat))
case 9 => _root_.scalapb.descriptors.PLong(lnrpc.ForwardingEvent._typemapper_amtInMsat.toBase(amtInMsat))
case 10 => _root_.scalapb.descriptors.PLong(lnrpc.ForwardingEvent._typemapper_amtOutMsat.toBase(amtOutMsat))
case 11 => _root_.scalapb.descriptors.PLong(lnrpc.ForwardingEvent._typemapper_timestampNs.toBase(timestampNs))
case 12 => _root_.scalapb.descriptors.PString(peerAliasIn)
case 13 => _root_.scalapb.descriptors.PString(peerAliasOut)
}
}
def toProtoString: _root_.scala.Predef.String = _root_.scalapb.TextFormat.printToUnicodeString(this)
def companion: lnrpc.ForwardingEvent.type = lnrpc.ForwardingEvent
// @@protoc_insertion_point(GeneratedMessage[lnrpc.ForwardingEvent])
}
object ForwardingEvent extends scalapb.GeneratedMessageCompanion[lnrpc.ForwardingEvent] {
implicit def messageCompanion: scalapb.GeneratedMessageCompanion[lnrpc.ForwardingEvent] = this
def parseFrom(`_input__`: _root_.com.google.protobuf.CodedInputStream): lnrpc.ForwardingEvent = {
var __timestamp: _root_.scala.Long = 0L
var __chanIdIn: _root_.scala.Long = 0L
var __chanIdOut: _root_.scala.Long = 0L
var __amtIn: _root_.scala.Long = 0L
var __amtOut: _root_.scala.Long = 0L
var __fee: _root_.scala.Long = 0L
var __feeMsat: _root_.scala.Long = 0L
var __amtInMsat: _root_.scala.Long = 0L
var __amtOutMsat: _root_.scala.Long = 0L
var __timestampNs: _root_.scala.Long = 0L
var __peerAliasIn: _root_.scala.Predef.String = ""
var __peerAliasOut: _root_.scala.Predef.String = ""
var `_unknownFields__`: _root_.scalapb.UnknownFieldSet.Builder = null
var _done__ = false
while (!_done__) {
val _tag__ = _input__.readTag()
_tag__ match {
case 0 => _done__ = true
case 8 =>
__timestamp = _input__.readUInt64()
case 16 =>
__chanIdIn = _input__.readUInt64()
case 32 =>
__chanIdOut = _input__.readUInt64()
case 40 =>
__amtIn = _input__.readUInt64()
case 48 =>
__amtOut = _input__.readUInt64()
case 56 =>
__fee = _input__.readUInt64()
case 64 =>
__feeMsat = _input__.readUInt64()
case 72 =>
__amtInMsat = _input__.readUInt64()
case 80 =>
__amtOutMsat = _input__.readUInt64()
case 88 =>
__timestampNs = _input__.readUInt64()
case 98 =>
__peerAliasIn = _input__.readStringRequireUtf8()
case 106 =>
__peerAliasOut = _input__.readStringRequireUtf8()
case tag =>
if (_unknownFields__ == null) {
_unknownFields__ = new _root_.scalapb.UnknownFieldSet.Builder()
}
_unknownFields__.parseField(tag, _input__)
}
}
lnrpc.ForwardingEvent(
timestamp = lnrpc.ForwardingEvent._typemapper_timestamp.toCustom(__timestamp),
chanIdIn = lnrpc.ForwardingEvent._typemapper_chanIdIn.toCustom(__chanIdIn),
chanIdOut = lnrpc.ForwardingEvent._typemapper_chanIdOut.toCustom(__chanIdOut),
amtIn = lnrpc.ForwardingEvent._typemapper_amtIn.toCustom(__amtIn),
amtOut = lnrpc.ForwardingEvent._typemapper_amtOut.toCustom(__amtOut),
fee = lnrpc.ForwardingEvent._typemapper_fee.toCustom(__fee),
feeMsat = lnrpc.ForwardingEvent._typemapper_feeMsat.toCustom(__feeMsat),
amtInMsat = lnrpc.ForwardingEvent._typemapper_amtInMsat.toCustom(__amtInMsat),
amtOutMsat = lnrpc.ForwardingEvent._typemapper_amtOutMsat.toCustom(__amtOutMsat),
timestampNs = lnrpc.ForwardingEvent._typemapper_timestampNs.toCustom(__timestampNs),
peerAliasIn = __peerAliasIn,
peerAliasOut = __peerAliasOut,
unknownFields = if (_unknownFields__ == null) _root_.scalapb.UnknownFieldSet.empty else _unknownFields__.result()
)
}
implicit def messageReads: _root_.scalapb.descriptors.Reads[lnrpc.ForwardingEvent] = _root_.scalapb.descriptors.Reads{
case _root_.scalapb.descriptors.PMessage(__fieldsMap) =>
_root_.scala.Predef.require(__fieldsMap.keys.forall(_.containingMessage eq scalaDescriptor), "FieldDescriptor does not match message type.")
lnrpc.ForwardingEvent(
timestamp = lnrpc.ForwardingEvent._typemapper_timestamp.toCustom(__fieldsMap.get(scalaDescriptor.findFieldByNumber(1).get).map(_.as[_root_.scala.Long]).getOrElse(0L)),
chanIdIn = lnrpc.ForwardingEvent._typemapper_chanIdIn.toCustom(__fieldsMap.get(scalaDescriptor.findFieldByNumber(2).get).map(_.as[_root_.scala.Long]).getOrElse(0L)),
chanIdOut = lnrpc.ForwardingEvent._typemapper_chanIdOut.toCustom(__fieldsMap.get(scalaDescriptor.findFieldByNumber(4).get).map(_.as[_root_.scala.Long]).getOrElse(0L)),
amtIn = lnrpc.ForwardingEvent._typemapper_amtIn.toCustom(__fieldsMap.get(scalaDescriptor.findFieldByNumber(5).get).map(_.as[_root_.scala.Long]).getOrElse(0L)),
amtOut = lnrpc.ForwardingEvent._typemapper_amtOut.toCustom(__fieldsMap.get(scalaDescriptor.findFieldByNumber(6).get).map(_.as[_root_.scala.Long]).getOrElse(0L)),
fee = lnrpc.ForwardingEvent._typemapper_fee.toCustom(__fieldsMap.get(scalaDescriptor.findFieldByNumber(7).get).map(_.as[_root_.scala.Long]).getOrElse(0L)),
feeMsat = lnrpc.ForwardingEvent._typemapper_feeMsat.toCustom(__fieldsMap.get(scalaDescriptor.findFieldByNumber(8).get).map(_.as[_root_.scala.Long]).getOrElse(0L)),
amtInMsat = lnrpc.ForwardingEvent._typemapper_amtInMsat.toCustom(__fieldsMap.get(scalaDescriptor.findFieldByNumber(9).get).map(_.as[_root_.scala.Long]).getOrElse(0L)),
amtOutMsat = lnrpc.ForwardingEvent._typemapper_amtOutMsat.toCustom(__fieldsMap.get(scalaDescriptor.findFieldByNumber(10).get).map(_.as[_root_.scala.Long]).getOrElse(0L)),
timestampNs = lnrpc.ForwardingEvent._typemapper_timestampNs.toCustom(__fieldsMap.get(scalaDescriptor.findFieldByNumber(11).get).map(_.as[_root_.scala.Long]).getOrElse(0L)),
peerAliasIn = __fieldsMap.get(scalaDescriptor.findFieldByNumber(12).get).map(_.as[_root_.scala.Predef.String]).getOrElse(""),
peerAliasOut = __fieldsMap.get(scalaDescriptor.findFieldByNumber(13).get).map(_.as[_root_.scala.Predef.String]).getOrElse("")
)
case _ => throw new RuntimeException("Expected PMessage")
}
def javaDescriptor: _root_.com.google.protobuf.Descriptors.Descriptor = LightningProto.javaDescriptor.getMessageTypes().get(158)
def scalaDescriptor: _root_.scalapb.descriptors.Descriptor = LightningProto.scalaDescriptor.messages(158)
def messageCompanionForFieldNumber(__number: _root_.scala.Int): _root_.scalapb.GeneratedMessageCompanion[_] = throw new MatchError(__number)
lazy val nestedMessagesCompanions: Seq[_root_.scalapb.GeneratedMessageCompanion[_ <: _root_.scalapb.GeneratedMessage]] = Seq.empty
def enumCompanionForFieldNumber(__fieldNumber: _root_.scala.Int): _root_.scalapb.GeneratedEnumCompanion[_] = throw new MatchError(__fieldNumber)
lazy val defaultInstance = lnrpc.ForwardingEvent(
timestamp = lnrpc.ForwardingEvent._typemapper_timestamp.toCustom(0L),
chanIdIn = lnrpc.ForwardingEvent._typemapper_chanIdIn.toCustom(0L),
chanIdOut = lnrpc.ForwardingEvent._typemapper_chanIdOut.toCustom(0L),
amtIn = lnrpc.ForwardingEvent._typemapper_amtIn.toCustom(0L),
amtOut = lnrpc.ForwardingEvent._typemapper_amtOut.toCustom(0L),
fee = lnrpc.ForwardingEvent._typemapper_fee.toCustom(0L),
feeMsat = lnrpc.ForwardingEvent._typemapper_feeMsat.toCustom(0L),
amtInMsat = lnrpc.ForwardingEvent._typemapper_amtInMsat.toCustom(0L),
amtOutMsat = lnrpc.ForwardingEvent._typemapper_amtOutMsat.toCustom(0L),
timestampNs = lnrpc.ForwardingEvent._typemapper_timestampNs.toCustom(0L),
peerAliasIn = "",
peerAliasOut = ""
)
implicit class ForwardingEventLens[UpperPB](_l: _root_.scalapb.lenses.Lens[UpperPB, lnrpc.ForwardingEvent]) extends _root_.scalapb.lenses.ObjectLens[UpperPB, lnrpc.ForwardingEvent](_l) {
def timestamp: _root_.scalapb.lenses.Lens[UpperPB, org.bitcoins.core.number.UInt64] = field(_.timestamp)((c_, f_) => c_.copy(timestamp = f_))
def chanIdIn: _root_.scalapb.lenses.Lens[UpperPB, org.bitcoins.core.number.UInt64] = field(_.chanIdIn)((c_, f_) => c_.copy(chanIdIn = f_))
def chanIdOut: _root_.scalapb.lenses.Lens[UpperPB, org.bitcoins.core.number.UInt64] = field(_.chanIdOut)((c_, f_) => c_.copy(chanIdOut = f_))
def amtIn: _root_.scalapb.lenses.Lens[UpperPB, org.bitcoins.core.number.UInt64] = field(_.amtIn)((c_, f_) => c_.copy(amtIn = f_))
def amtOut: _root_.scalapb.lenses.Lens[UpperPB, org.bitcoins.core.number.UInt64] = field(_.amtOut)((c_, f_) => c_.copy(amtOut = f_))
def fee: _root_.scalapb.lenses.Lens[UpperPB, org.bitcoins.core.number.UInt64] = field(_.fee)((c_, f_) => c_.copy(fee = f_))
def feeMsat: _root_.scalapb.lenses.Lens[UpperPB, org.bitcoins.core.number.UInt64] = field(_.feeMsat)((c_, f_) => c_.copy(feeMsat = f_))
def amtInMsat: _root_.scalapb.lenses.Lens[UpperPB, org.bitcoins.core.number.UInt64] = field(_.amtInMsat)((c_, f_) => c_.copy(amtInMsat = f_))
def amtOutMsat: _root_.scalapb.lenses.Lens[UpperPB, org.bitcoins.core.number.UInt64] = field(_.amtOutMsat)((c_, f_) => c_.copy(amtOutMsat = f_))
def timestampNs: _root_.scalapb.lenses.Lens[UpperPB, org.bitcoins.core.number.UInt64] = field(_.timestampNs)((c_, f_) => c_.copy(timestampNs = f_))
def peerAliasIn: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.Predef.String] = field(_.peerAliasIn)((c_, f_) => c_.copy(peerAliasIn = f_))
def peerAliasOut: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.Predef.String] = field(_.peerAliasOut)((c_, f_) => c_.copy(peerAliasOut = f_))
}
final val TIMESTAMP_FIELD_NUMBER = 1
final val CHAN_ID_IN_FIELD_NUMBER = 2
final val CHAN_ID_OUT_FIELD_NUMBER = 4
final val AMT_IN_FIELD_NUMBER = 5
final val AMT_OUT_FIELD_NUMBER = 6
final val FEE_FIELD_NUMBER = 7
final val FEE_MSAT_FIELD_NUMBER = 8
final val AMT_IN_MSAT_FIELD_NUMBER = 9
final val AMT_OUT_MSAT_FIELD_NUMBER = 10
final val TIMESTAMP_NS_FIELD_NUMBER = 11
final val PEER_ALIAS_IN_FIELD_NUMBER = 12
final val PEER_ALIAS_OUT_FIELD_NUMBER = 13
@transient
private[lnrpc] val _typemapper_timestamp: _root_.scalapb.TypeMapper[_root_.scala.Long, org.bitcoins.core.number.UInt64] = implicitly[_root_.scalapb.TypeMapper[_root_.scala.Long, org.bitcoins.core.number.UInt64]]
@transient
private[lnrpc] val _typemapper_chanIdIn: _root_.scalapb.TypeMapper[_root_.scala.Long, org.bitcoins.core.number.UInt64] = implicitly[_root_.scalapb.TypeMapper[_root_.scala.Long, org.bitcoins.core.number.UInt64]]
@transient
private[lnrpc] val _typemapper_chanIdOut: _root_.scalapb.TypeMapper[_root_.scala.Long, org.bitcoins.core.number.UInt64] = implicitly[_root_.scalapb.TypeMapper[_root_.scala.Long, org.bitcoins.core.number.UInt64]]
@transient
private[lnrpc] val _typemapper_amtIn: _root_.scalapb.TypeMapper[_root_.scala.Long, org.bitcoins.core.number.UInt64] = implicitly[_root_.scalapb.TypeMapper[_root_.scala.Long, org.bitcoins.core.number.UInt64]]
@transient
private[lnrpc] val _typemapper_amtOut: _root_.scalapb.TypeMapper[_root_.scala.Long, org.bitcoins.core.number.UInt64] = implicitly[_root_.scalapb.TypeMapper[_root_.scala.Long, org.bitcoins.core.number.UInt64]]
@transient
private[lnrpc] val _typemapper_fee: _root_.scalapb.TypeMapper[_root_.scala.Long, org.bitcoins.core.number.UInt64] = implicitly[_root_.scalapb.TypeMapper[_root_.scala.Long, org.bitcoins.core.number.UInt64]]
@transient
private[lnrpc] val _typemapper_feeMsat: _root_.scalapb.TypeMapper[_root_.scala.Long, org.bitcoins.core.number.UInt64] = implicitly[_root_.scalapb.TypeMapper[_root_.scala.Long, org.bitcoins.core.number.UInt64]]
@transient
private[lnrpc] val _typemapper_amtInMsat: _root_.scalapb.TypeMapper[_root_.scala.Long, org.bitcoins.core.number.UInt64] = implicitly[_root_.scalapb.TypeMapper[_root_.scala.Long, org.bitcoins.core.number.UInt64]]
@transient
private[lnrpc] val _typemapper_amtOutMsat: _root_.scalapb.TypeMapper[_root_.scala.Long, org.bitcoins.core.number.UInt64] = implicitly[_root_.scalapb.TypeMapper[_root_.scala.Long, org.bitcoins.core.number.UInt64]]
@transient
private[lnrpc] val _typemapper_timestampNs: _root_.scalapb.TypeMapper[_root_.scala.Long, org.bitcoins.core.number.UInt64] = implicitly[_root_.scalapb.TypeMapper[_root_.scala.Long, org.bitcoins.core.number.UInt64]]
def of(
timestamp: org.bitcoins.core.number.UInt64,
chanIdIn: org.bitcoins.core.number.UInt64,
chanIdOut: org.bitcoins.core.number.UInt64,
amtIn: org.bitcoins.core.number.UInt64,
amtOut: org.bitcoins.core.number.UInt64,
fee: org.bitcoins.core.number.UInt64,
feeMsat: org.bitcoins.core.number.UInt64,
amtInMsat: org.bitcoins.core.number.UInt64,
amtOutMsat: org.bitcoins.core.number.UInt64,
timestampNs: org.bitcoins.core.number.UInt64,
peerAliasIn: _root_.scala.Predef.String,
peerAliasOut: _root_.scala.Predef.String
): _root_.lnrpc.ForwardingEvent = _root_.lnrpc.ForwardingEvent(
timestamp,
chanIdIn,
chanIdOut,
amtIn,
amtOut,
fee,
feeMsat,
amtInMsat,
amtOutMsat,
timestampNs,
peerAliasIn,
peerAliasOut
)
// @@protoc_insertion_point(GeneratedMessageCompanion[lnrpc.ForwardingEvent])
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy