Class Reports.Trace.QueryPlanNode.FetchNode

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, Reports.Trace.QueryPlanNode.FetchNodeOrBuilder
Enclosing class:
Reports.Trace.QueryPlanNode

public static final class Reports.Trace.QueryPlanNode.FetchNode extends com.google.protobuf.GeneratedMessage implements Reports.Trace.QueryPlanNode.FetchNodeOrBuilder
 This represents a node to send an operation to an implementing service
 
Protobuf type mdg.engine.proto.Trace.QueryPlanNode.FetchNode
See Also:
  • Field Details

    • SERVICENAME_FIELD_NUMBER

      public static final int SERVICENAME_FIELD_NUMBER
      See Also:
    • TRACEPARSINGFAILED_FIELD_NUMBER

      public static final int TRACEPARSINGFAILED_FIELD_NUMBER
      See Also:
    • TRACE_FIELD_NUMBER

      public static final int TRACE_FIELD_NUMBER
      See Also:
    • SENT_TIME_OFFSET_FIELD_NUMBER

      public static final int SENT_TIME_OFFSET_FIELD_NUMBER
      See Also:
    • SENT_TIME_FIELD_NUMBER

      public static final int SENT_TIME_FIELD_NUMBER
      See Also:
    • RECEIVED_TIME_FIELD_NUMBER

      public static final int RECEIVED_TIME_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getServiceName

      public String getServiceName()
       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.
       
      string serviceName = 1;
      Specified by:
      getServiceName in interface Reports.Trace.QueryPlanNode.FetchNodeOrBuilder
      Returns:
      The serviceName.
    • getServiceNameBytes

      public com.google.protobuf.ByteString getServiceNameBytes()
       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.
       
      string serviceName = 1;
      Specified by:
      getServiceNameBytes in interface Reports.Trace.QueryPlanNode.FetchNodeOrBuilder
      Returns:
      The bytes for serviceName.
    • getTraceParsingFailed

      public boolean getTraceParsingFailed()
      bool traceParsingFailed = 2;
      Specified by:
      getTraceParsingFailed in interface Reports.Trace.QueryPlanNode.FetchNodeOrBuilder
      Returns:
      The traceParsingFailed.
    • hasTrace

      public boolean hasTrace()
       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.
       
      .mdg.engine.proto.Trace trace = 3;
      Specified by:
      hasTrace in interface Reports.Trace.QueryPlanNode.FetchNodeOrBuilder
      Returns:
      Whether the trace field is set.
    • getTrace

      public Reports.Trace getTrace()
       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.
       
      .mdg.engine.proto.Trace trace = 3;
      Specified by:
      getTrace in interface Reports.Trace.QueryPlanNode.FetchNodeOrBuilder
      Returns:
      The trace.
    • getTraceOrBuilder

      public Reports.TraceOrBuilder getTraceOrBuilder()
       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.
       
      .mdg.engine.proto.Trace trace = 3;
      Specified by:
      getTraceOrBuilder in interface Reports.Trace.QueryPlanNode.FetchNodeOrBuilder
    • getSentTimeOffset

      public long getSentTimeOffset()
       relative to the outer trace's start_time, in ns, measured in the gateway.
       
      uint64 sent_time_offset = 4;
      Specified by:
      getSentTimeOffset in interface Reports.Trace.QueryPlanNode.FetchNodeOrBuilder
      Returns:
      The sentTimeOffset.
    • hasSentTime

      public boolean hasSentTime()
       Wallclock times measured in the gateway for when this operation was
       sent and received.
       
      .google.protobuf.Timestamp sent_time = 5;
      Specified by:
      hasSentTime in interface Reports.Trace.QueryPlanNode.FetchNodeOrBuilder
      Returns:
      Whether the sentTime field is set.
    • getSentTime

      public com.google.protobuf.Timestamp getSentTime()
       Wallclock times measured in the gateway for when this operation was
       sent and received.
       
      .google.protobuf.Timestamp sent_time = 5;
      Specified by:
      getSentTime in interface Reports.Trace.QueryPlanNode.FetchNodeOrBuilder
      Returns:
      The sentTime.
    • getSentTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getSentTimeOrBuilder()
       Wallclock times measured in the gateway for when this operation was
       sent and received.
       
      .google.protobuf.Timestamp sent_time = 5;
      Specified by:
      getSentTimeOrBuilder in interface Reports.Trace.QueryPlanNode.FetchNodeOrBuilder
    • hasReceivedTime

      public boolean hasReceivedTime()
      .google.protobuf.Timestamp received_time = 6;
      Specified by:
      hasReceivedTime in interface Reports.Trace.QueryPlanNode.FetchNodeOrBuilder
      Returns:
      Whether the receivedTime field is set.
    • getReceivedTime

      public com.google.protobuf.Timestamp getReceivedTime()
      .google.protobuf.Timestamp received_time = 6;
      Specified by:
      getReceivedTime in interface Reports.Trace.QueryPlanNode.FetchNodeOrBuilder
      Returns:
      The receivedTime.
    • getReceivedTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getReceivedTimeOrBuilder()
      .google.protobuf.Timestamp received_time = 6;
      Specified by:
      getReceivedTimeOrBuilder in interface Reports.Trace.QueryPlanNode.FetchNodeOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Reports.Trace.QueryPlanNode.FetchNode parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Reports.Trace.QueryPlanNode.FetchNode parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Reports.Trace.QueryPlanNode.FetchNode parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Reports.Trace.QueryPlanNode.FetchNode parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Reports.Trace.QueryPlanNode.FetchNode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Reports.Trace.QueryPlanNode.FetchNode parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Reports.Trace.QueryPlanNode.FetchNode parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Reports.Trace.QueryPlanNode.FetchNode parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Reports.Trace.QueryPlanNode.FetchNode parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Reports.Trace.QueryPlanNode.FetchNode parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Reports.Trace.QueryPlanNode.FetchNode parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Reports.Trace.QueryPlanNode.FetchNode parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Reports.Trace.QueryPlanNode.FetchNode.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Reports.Trace.QueryPlanNode.FetchNode getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Reports.Trace.QueryPlanNode.FetchNode> parser()
    • getParserForType

      public com.google.protobuf.Parser<Reports.Trace.QueryPlanNode.FetchNode> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Reports.Trace.QueryPlanNode.FetchNode getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder