Class Reports.Trace.Node

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

public static final class Reports.Trace.Node extends com.google.protobuf.GeneratedMessage implements Reports.Trace.NodeOrBuilder
 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).
 
Protobuf type mdg.engine.proto.Trace.Node
See Also:
  • Field Details

  • 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
    • getIdCase

      public Reports.Trace.Node.IdCase getIdCase()
      Specified by:
      getIdCase in interface Reports.Trace.NodeOrBuilder
    • hasResponseName

      public boolean hasResponseName()
      string response_name = 1;
      Specified by:
      hasResponseName in interface Reports.Trace.NodeOrBuilder
      Returns:
      Whether the responseName field is set.
    • getResponseName

      public String getResponseName()
      string response_name = 1;
      Specified by:
      getResponseName in interface Reports.Trace.NodeOrBuilder
      Returns:
      The responseName.
    • getResponseNameBytes

      public com.google.protobuf.ByteString getResponseNameBytes()
      string response_name = 1;
      Specified by:
      getResponseNameBytes in interface Reports.Trace.NodeOrBuilder
      Returns:
      The bytes for responseName.
    • hasIndex

      public boolean hasIndex()
      uint32 index = 2;
      Specified by:
      hasIndex in interface Reports.Trace.NodeOrBuilder
      Returns:
      Whether the index field is set.
    • getIndex

      public int getIndex()
      uint32 index = 2;
      Specified by:
      getIndex in interface Reports.Trace.NodeOrBuilder
      Returns:
      The index.
    • getOriginalFieldName

      public String getOriginalFieldName()
      string original_field_name = 14;
      Specified by:
      getOriginalFieldName in interface Reports.Trace.NodeOrBuilder
      Returns:
      The originalFieldName.
    • getOriginalFieldNameBytes

      public com.google.protobuf.ByteString getOriginalFieldNameBytes()
      string original_field_name = 14;
      Specified by:
      getOriginalFieldNameBytes in interface Reports.Trace.NodeOrBuilder
      Returns:
      The bytes for originalFieldName.
    • getType

      public String getType()
       The field's return type; e.g. "String!" for User.email:String!
       
      string type = 3;
      Specified by:
      getType in interface Reports.Trace.NodeOrBuilder
      Returns:
      The type.
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
       The field's return type; e.g. "String!" for User.email:String!
       
      string type = 3;
      Specified by:
      getTypeBytes in interface Reports.Trace.NodeOrBuilder
      Returns:
      The bytes for type.
    • getParentType

      public String getParentType()
       The field's parent type; e.g. "User" for User.email:String!
       
      string parent_type = 13;
      Specified by:
      getParentType in interface Reports.Trace.NodeOrBuilder
      Returns:
      The parentType.
    • getParentTypeBytes

      public com.google.protobuf.ByteString getParentTypeBytes()
       The field's parent type; e.g. "User" for User.email:String!
       
      string parent_type = 13;
      Specified by:
      getParentTypeBytes in interface Reports.Trace.NodeOrBuilder
      Returns:
      The bytes for parentType.
    • hasCachePolicy

      public boolean hasCachePolicy()
      .mdg.engine.proto.Trace.CachePolicy cache_policy = 5;
      Specified by:
      hasCachePolicy in interface Reports.Trace.NodeOrBuilder
      Returns:
      Whether the cachePolicy field is set.
    • getCachePolicy

      public Reports.Trace.CachePolicy getCachePolicy()
      .mdg.engine.proto.Trace.CachePolicy cache_policy = 5;
      Specified by:
      getCachePolicy in interface Reports.Trace.NodeOrBuilder
      Returns:
      The cachePolicy.
    • getCachePolicyOrBuilder

      public Reports.Trace.CachePolicyOrBuilder getCachePolicyOrBuilder()
      .mdg.engine.proto.Trace.CachePolicy cache_policy = 5;
      Specified by:
      getCachePolicyOrBuilder in interface Reports.Trace.NodeOrBuilder
    • getStartTime

      public long getStartTime()
       relative to the trace's start_time, in ns
       
      uint64 start_time = 8;
      Specified by:
      getStartTime in interface Reports.Trace.NodeOrBuilder
      Returns:
      The startTime.
    • getEndTime

      public long getEndTime()
       relative to the trace's start_time, in ns
       
      uint64 end_time = 9;
      Specified by:
      getEndTime in interface Reports.Trace.NodeOrBuilder
      Returns:
      The endTime.
    • getErrorList

      public List<Reports.Trace.Error> getErrorList()
      repeated .mdg.engine.proto.Trace.Error error = 11;
      Specified by:
      getErrorList in interface Reports.Trace.NodeOrBuilder
    • getErrorOrBuilderList

      public List<? extends Reports.Trace.ErrorOrBuilder> getErrorOrBuilderList()
      repeated .mdg.engine.proto.Trace.Error error = 11;
      Specified by:
      getErrorOrBuilderList in interface Reports.Trace.NodeOrBuilder
    • getErrorCount

      public int getErrorCount()
      repeated .mdg.engine.proto.Trace.Error error = 11;
      Specified by:
      getErrorCount in interface Reports.Trace.NodeOrBuilder
    • getError

      public Reports.Trace.Error getError(int index)
      repeated .mdg.engine.proto.Trace.Error error = 11;
      Specified by:
      getError in interface Reports.Trace.NodeOrBuilder
    • getErrorOrBuilder

      public Reports.Trace.ErrorOrBuilder getErrorOrBuilder(int index)
      repeated .mdg.engine.proto.Trace.Error error = 11;
      Specified by:
      getErrorOrBuilder in interface Reports.Trace.NodeOrBuilder
    • getChildList

      public List<Reports.Trace.Node> getChildList()
      repeated .mdg.engine.proto.Trace.Node child = 12;
      Specified by:
      getChildList in interface Reports.Trace.NodeOrBuilder
    • getChildOrBuilderList

      public List<? extends Reports.Trace.NodeOrBuilder> getChildOrBuilderList()
      repeated .mdg.engine.proto.Trace.Node child = 12;
      Specified by:
      getChildOrBuilderList in interface Reports.Trace.NodeOrBuilder
    • getChildCount

      public int getChildCount()
      repeated .mdg.engine.proto.Trace.Node child = 12;
      Specified by:
      getChildCount in interface Reports.Trace.NodeOrBuilder
    • getChild

      public Reports.Trace.Node getChild(int index)
      repeated .mdg.engine.proto.Trace.Node child = 12;
      Specified by:
      getChild in interface Reports.Trace.NodeOrBuilder
    • getChildOrBuilder

      public Reports.Trace.NodeOrBuilder getChildOrBuilder(int index)
      repeated .mdg.engine.proto.Trace.Node child = 12;
      Specified by:
      getChildOrBuilder in interface Reports.Trace.NodeOrBuilder
    • 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.Node parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static Reports.Trace.Node 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.Node parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

      public Reports.Trace.Node.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Reports.Trace.Node.Builder newBuilder()
    • newBuilder

      public static Reports.Trace.Node.Builder newBuilder(Reports.Trace.Node prototype)
    • toBuilder

      public Reports.Trace.Node.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static Reports.Trace.Node getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<Reports.Trace.Node> 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.Node getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder