FetchNode

mdg.engine.proto.reports.Trace.QueryPlanNode.FetchNode
See theFetchNode companion object
final case class FetchNode(serviceName: String, traceParsingFailed: Boolean, trace: Option[Trace], sentTimeOffset: Long, sentTime: Option[Timestamp], receivedTime: Option[Timestamp], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[FetchNode]

This represents a node to send an operation to an implementing service

Value parameters

sentTime

Wallclock times measured in the gateway for when this operation was sent and received.

sentTimeOffset

relative to the outer trace's start_time, in ns, measured in the gateway.

serviceName

XXX When we want to include more details about the sub-operation that was executed against this service, we should include that here in each fetch node. This might include an operation signature, requires directive, reference resolutions, etc.

trace

This Trace only contains start_time, end_time, duration_ns, and root; all timings were calculated on the federated service, and clock skew will be handled by the ingress server.

Attributes

Companion
object
Graph
Supertypes
trait Updatable[FetchNode]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def companion: FetchNode.type
def getField(`__field`: FieldDescriptor): PValue
def getFieldByNumber(`__fieldNumber`: Int): Any
def getReceivedTime: Timestamp
def getSentTime: Timestamp
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
def toProtoString: String

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns

human-readable representation of this message.

def withReceivedTime(`__v`: Timestamp): FetchNode
def withSentTime(`__v`: Timestamp): FetchNode
def withSentTimeOffset(`__v`: Long): FetchNode
def withServiceName(`__v`: String): FetchNode
def withTrace(`__v`: Trace): FetchNode
def withTraceParsingFailed(`__v`: Boolean): FetchNode
def withUnknownFields(`__v`: UnknownFieldSet): FetchNode
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

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

Attributes

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

Attributes

Inherited from:
GeneratedMessage
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
def update(ms: Lens[FetchNode, FetchNode] => () => FetchNode*): A

Attributes

Inherited from:
Updatable
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

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

Attributes

Inherited from:
GeneratedMessage