final case class RPCMessage(methodFullUri: String = "", streamRpc: Boolean = false, typeName: String = "", serialized: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, isError: Boolean = false, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[RPCMessage] with Product with Serializable
- methodFullUri
The full URI (in the format /<rpcpackage>.<ServiceName>/MethodName, for example /lnrpc.Lightning/GetInfo) of the RPC method the message was sent to/from.
- streamRpc
Indicates whether the message was sent over a streaming RPC method or not.
- typeName
The full canonical gRPC name of the message type (in the format <rpcpackage>.TypeName, for example lnrpc.GetInfoRequest). In case of an error being returned from lnd, this simply contains the string "error".
- serialized
The full content of the gRPC message, serialized in the binary protobuf format.
- isError
Indicates that the response from lnd was an error, not a gRPC response. If this is set to true then the type_name contains the string "error" and serialized contains the error string.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- RPCMessage
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new RPCMessage(methodFullUri: String = "", streamRpc: Boolean = false, typeName: String = "", serialized: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, isError: Boolean = false, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)
- methodFullUri
The full URI (in the format /<rpcpackage>.<ServiceName>/MethodName, for example /lnrpc.Lightning/GetInfo) of the RPC method the message was sent to/from.
- streamRpc
Indicates whether the message was sent over a streaming RPC method or not.
- typeName
The full canonical gRPC name of the message type (in the format <rpcpackage>.TypeName, for example lnrpc.GetInfoRequest). In case of an error being returned from lnd, this simply contains the string "error".
- serialized
The full content of the gRPC message, serialized in the binary protobuf format.
- isError
Indicates that the response from lnd was an error, not a gRPC response. If this is set to true then the type_name contains the string "error" and serialized contains the error string.
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 clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def companion: RPCMessage.type
- Definition Classes
- RPCMessage → GeneratedMessage
- def discardUnknownFields: RPCMessage
- 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
- RPCMessage → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- RPCMessage → GeneratedMessage
- val isError: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val methodFullUri: String
- 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 serialized: ByteString
- def serializedSize: Int
- Definition Classes
- RPCMessage → GeneratedMessage
- val streamRpc: Boolean
- 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
- RPCMessage → GeneratedMessage
- val typeName: String
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[RPCMessage, RPCMessage]) => Mutation[RPCMessage]*): RPCMessage
- 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 withIsError(__v: Boolean): RPCMessage
- def withMethodFullUri(__v: String): RPCMessage
- def withSerialized(__v: ByteString): RPCMessage
- def withStreamRpc(__v: Boolean): RPCMessage
- def withTypeName(__v: String): RPCMessage
- def withUnknownFields(__v: UnknownFieldSet): RPCMessage
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- RPCMessage → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage