Node

@SerialVersionUID(0L)
final case class Node(id: Id, originalFieldName: String, `type`: String, parentType: String, cachePolicy: Option[CachePolicy], startTime: Long, endTime: Long, error: Seq[Error], child: Seq[Node], unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[Node]

We store information on each resolver execution as a Node on a tree. The structure of the tree corresponds to the structure of the GraphQL response; it does not indicate the order in which resolvers were invoked. Note that nodes representing indexes (and the root node) don't contain all Node fields (eg types and times).

Value parameters:
endTime

relative to the trace's start_time, in ns

parentType

The field's parent type; e.g. "User" for User.email:String!

startTime

relative to the trace's start_time, in ns

type

The field's return type; e.g. "String!" for User.email:String!

Companion:
object
trait Updatable[Node]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def addAllChild(`__vs`: Iterable[Node]): Node
def addAllError(`__vs`: Iterable[Error]): Node
def addChild(`__vs`: Node*): Node
def addError(`__vs`: Error*): Node
def companion: Node.type
def getField(`__field`: FieldDescriptor): PValue
def getFieldByNumber(`__fieldNumber`: Int): Any
def getIndex: Int
def getResponseName: String
override def serializedSize: Int
Definition Classes
GeneratedMessage
def toProtoString: String
def withChild(`__v`: Seq[Node]): Node
def withEndTime(`__v`: Long): Node
def withError(`__v`: Seq[Error]): Node
def withId(`__v`: Id): Node
def withIndex(`__v`: Int): Node
def withOriginalFieldName(`__v`: String): Node
def withParentType(`__v`: String): Node
def withResponseName(`__v`: String): Node
def withStartTime(`__v`: Long): Node
def withType(`__v`: String): Node
def withUnknownFields(`__v`: UnknownFieldSet): Node
def writeTo(`_output__`: CodedOutputStream): Unit

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Inherited from:
GeneratedMessage
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Inherited from:
GeneratedMessage
final def toPMessage: PMessage
Inherited from:
GeneratedMessage
def update(ms: Lens[Node, Node] => () => Node*): Node
Inherited from:
Updatable
final def writeDelimitedTo(output: OutputStream): Unit
Inherited from:
GeneratedMessage
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Inherited from:
GeneratedMessage