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()
- Alphabetic
- By Inheritance
- RPCMiddlewareRequest
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearInterceptType: RPCMiddlewareRequest
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def companion: RPCMiddlewareRequest.type
- Definition Classes
- RPCMiddlewareRequest → GeneratedMessage
- val customCaveatCondition: String
- def discardUnknownFields: RPCMiddlewareRequest
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- RPCMiddlewareRequest → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- RPCMiddlewareRequest → GeneratedMessage
- def getRegComplete: Boolean
- def getRequest: RPCMessage
- def getResponse: RPCMessage
- def getStreamAuth: StreamAuth
- val interceptType: InterceptType
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val msgId: UInt64
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val rawMacaroon: ByteString
- val requestId: UInt64
- def serializedSize: Int
- Definition Classes
- RPCMiddlewareRequest → GeneratedMessage
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
- final def toByteString: ByteString
- Definition Classes
- GeneratedMessage
- final def toPMessage: PMessage
- Definition Classes
- GeneratedMessage
- def toProtoString: String
- Definition Classes
- RPCMiddlewareRequest → GeneratedMessage
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[RPCMiddlewareRequest, RPCMiddlewareRequest]) => Mutation[RPCMiddlewareRequest]*): RPCMiddlewareRequest
- Definition Classes
- Updatable
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withCustomCaveatCondition(__v: String): RPCMiddlewareRequest
- def withInterceptType(__v: InterceptType): RPCMiddlewareRequest
- def withMsgId(__v: UInt64): RPCMiddlewareRequest
- def withRawMacaroon(__v: ByteString): RPCMiddlewareRequest
- def withRegComplete(__v: Boolean): RPCMiddlewareRequest
- def withRequest(__v: RPCMessage): RPCMiddlewareRequest
- def withRequestId(__v: UInt64): RPCMiddlewareRequest
- def withResponse(__v: RPCMessage): RPCMiddlewareRequest
- def withStreamAuth(__v: StreamAuth): RPCMiddlewareRequest
- def withUnknownFields(__v: UnknownFieldSet): RPCMiddlewareRequest
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- RPCMiddlewareRequest → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage