Packages

final case class RPCMiddlewareRequest(requestId: UInt64 = lnrpc.RPCMiddlewareRequest._typemapper_requestId.toCustom(0L), rawMacaroon: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, customCaveatCondition: String = "", interceptType: InterceptType = lnrpc.RPCMiddlewareRequest.InterceptType.Empty, msgId: UInt64 = lnrpc.RPCMiddlewareRequest._typemapper_msgId.toCustom(0L), unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[RPCMiddlewareRequest] with Product with Serializable

requestId

The unique ID of the intercepted original gRPC request. Useful for mapping request to response when implementing full duplex message interception. For streaming requests, this will be the same ID for all incoming and outgoing middleware intercept messages of the _same_ stream.

rawMacaroon

The raw bytes of the complete macaroon as sent by the gRPC client in the original request. This might be empty for a request that doesn't require macaroons such as the wallet unlocker RPCs.

customCaveatCondition

The parsed condition of the macaroon's custom caveat for convenient access. This field only contains the value of the custom caveat that the handling middleware has registered itself for. The condition _must_ be validated for messages of intercept_type stream_auth and request!

msgId

The unique message ID of this middleware intercept message. There can be multiple middleware intercept messages per single gRPC request (one for the incoming request and one for the outgoing response) or gRPC stream (one for each incoming message and one for each outgoing response). This message ID must be referenced when responding (accepting/rejecting/modifying) to an intercept message.

Annotations
@SerialVersionUID()
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RPCMiddlewareRequest
  2. Updatable
  3. GeneratedMessage
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new RPCMiddlewareRequest(requestId: UInt64 = lnrpc.RPCMiddlewareRequest._typemapper_requestId.toCustom(0L), rawMacaroon: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, customCaveatCondition: String = "", interceptType: InterceptType = lnrpc.RPCMiddlewareRequest.InterceptType.Empty, msgId: UInt64 = lnrpc.RPCMiddlewareRequest._typemapper_msgId.toCustom(0L), unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)

    requestId

    The unique ID of the intercepted original gRPC request. Useful for mapping request to response when implementing full duplex message interception. For streaming requests, this will be the same ID for all incoming and outgoing middleware intercept messages of the _same_ stream.

    rawMacaroon

    The raw bytes of the complete macaroon as sent by the gRPC client in the original request. This might be empty for a request that doesn't require macaroons such as the wallet unlocker RPCs.

    customCaveatCondition

    The parsed condition of the macaroon's custom caveat for convenient access. This field only contains the value of the custom caveat that the handling middleware has registered itself for. The condition _must_ be validated for messages of intercept_type stream_auth and request!

    msgId

    The unique message ID of this middleware intercept message. There can be multiple middleware intercept messages per single gRPC request (one for the incoming request and one for the outgoing response) or gRPC stream (one for each incoming message and one for each outgoing response). This message ID must be referenced when responding (accepting/rejecting/modifying) to an intercept message.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clearInterceptType: RPCMiddlewareRequest
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def companion: RPCMiddlewareRequest.type
    Definition Classes
    RPCMiddlewareRequest → GeneratedMessage
  8. val customCaveatCondition: String
  9. def discardUnknownFields: RPCMiddlewareRequest
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    RPCMiddlewareRequest → GeneratedMessage
  14. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    RPCMiddlewareRequest → GeneratedMessage
  15. def getRegComplete: Boolean
  16. def getRequest: RPCMessage
  17. def getResponse: RPCMessage
  18. def getStreamAuth: StreamAuth
  19. val interceptType: InterceptType
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. val msgId: UInt64
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. def productElementNames: Iterator[String]
    Definition Classes
    Product
  26. val rawMacaroon: ByteString
  27. val requestId: UInt64
  28. def serializedSize: Int
    Definition Classes
    RPCMiddlewareRequest → GeneratedMessage
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  31. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  32. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  33. def toProtoString: String
    Definition Classes
    RPCMiddlewareRequest → GeneratedMessage
  34. val unknownFields: UnknownFieldSet
  35. def update(ms: (Lens[RPCMiddlewareRequest, RPCMiddlewareRequest]) => Mutation[RPCMiddlewareRequest]*): RPCMiddlewareRequest
    Definition Classes
    Updatable
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  39. def withCustomCaveatCondition(__v: String): RPCMiddlewareRequest
  40. def withInterceptType(__v: InterceptType): RPCMiddlewareRequest
  41. def withMsgId(__v: UInt64): RPCMiddlewareRequest
  42. def withRawMacaroon(__v: ByteString): RPCMiddlewareRequest
  43. def withRegComplete(__v: Boolean): RPCMiddlewareRequest
  44. def withRequest(__v: RPCMessage): RPCMiddlewareRequest
  45. def withRequestId(__v: UInt64): RPCMiddlewareRequest
  46. def withResponse(__v: RPCMessage): RPCMiddlewareRequest
  47. def withStreamAuth(__v: StreamAuth): RPCMiddlewareRequest
  48. def withUnknownFields(__v: UnknownFieldSet): RPCMiddlewareRequest
  49. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  50. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    RPCMiddlewareRequest → GeneratedMessage
  51. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped