Package mdg.engine.proto
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classWe store information on each resolver execution as a Node on a tree.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionboolean.mdg.engine.proto.Trace.CachePolicy cache_policy = 5;.mdg.engine.proto.Trace.CachePolicy cache_policy = 5;getChild(int index) repeated .mdg.engine.proto.Trace.Node child = 12;intrepeated .mdg.engine.proto.Trace.Node child = 12;repeated .mdg.engine.proto.Trace.Node child = 12;getChildOrBuilder(int index) repeated .mdg.engine.proto.Trace.Node child = 12;List<? extends Reports.Trace.NodeOrBuilder>repeated .mdg.engine.proto.Trace.Node child = 12;static Reports.Trace.Nodestatic final com.google.protobuf.Descriptors.Descriptorlongrelative to the trace's start_time, in nsgetError(int index) repeated .mdg.engine.proto.Trace.Error error = 11;intrepeated .mdg.engine.proto.Trace.Error error = 11;repeated .mdg.engine.proto.Trace.Error error = 11;getErrorOrBuilder(int index) repeated .mdg.engine.proto.Trace.Error error = 11;List<? extends Reports.Trace.ErrorOrBuilder>repeated .mdg.engine.proto.Trace.Error error = 11;intgetIndex()uint32 index = 2;string original_field_name = 14;com.google.protobuf.ByteStringstring original_field_name = 14;The field's parent type; e.g.com.google.protobuf.ByteStringThe field's parent type; e.g.com.google.protobuf.Parser<Reports.Trace.Node>string response_name = 1;com.google.protobuf.ByteStringstring response_name = 1;intlongrelative to the trace's start_time, in nsgetType()The field's return type; e.g.com.google.protobuf.ByteStringThe field's return type; e.g.boolean.mdg.engine.proto.Trace.CachePolicy cache_policy = 5;inthashCode()booleanhasIndex()uint32 index = 2;booleanstring response_name = 1;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic Reports.Trace.Node.Builderstatic Reports.Trace.Node.BuildernewBuilder(Reports.Trace.Node prototype) protected Reports.Trace.Node.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static Reports.Trace.NodeparseDelimitedFrom(InputStream input) static Reports.Trace.NodeparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Reports.Trace.NodeparseFrom(byte[] data) static Reports.Trace.NodeparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Reports.Trace.NodeparseFrom(com.google.protobuf.ByteString data) static Reports.Trace.NodeparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Reports.Trace.NodeparseFrom(com.google.protobuf.CodedInputStream input) static Reports.Trace.NodeparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Reports.Trace.NodeparseFrom(InputStream input) static Reports.Trace.NodeparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Reports.Trace.NodeparseFrom(ByteBuffer data) static Reports.Trace.NodeparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Reports.Trace.Node>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
RESPONSE_NAME_FIELD_NUMBER
public static final int RESPONSE_NAME_FIELD_NUMBER- See Also:
-
INDEX_FIELD_NUMBER
public static final int INDEX_FIELD_NUMBER- See Also:
-
ORIGINAL_FIELD_NAME_FIELD_NUMBER
public static final int ORIGINAL_FIELD_NAME_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
PARENT_TYPE_FIELD_NUMBER
public static final int PARENT_TYPE_FIELD_NUMBER- See Also:
-
CACHE_POLICY_FIELD_NUMBER
public static final int CACHE_POLICY_FIELD_NUMBER- See Also:
-
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER- See Also:
-
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER- See Also:
-
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER- See Also:
-
CHILD_FIELD_NUMBER
public static final int CHILD_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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getIdCase
- Specified by:
getIdCasein interfaceReports.Trace.NodeOrBuilder
-
hasResponseName
public boolean hasResponseName()string response_name = 1;- Specified by:
hasResponseNamein interfaceReports.Trace.NodeOrBuilder- Returns:
- Whether the responseName field is set.
-
getResponseName
string response_name = 1;- Specified by:
getResponseNamein interfaceReports.Trace.NodeOrBuilder- Returns:
- The responseName.
-
getResponseNameBytes
public com.google.protobuf.ByteString getResponseNameBytes()string response_name = 1;- Specified by:
getResponseNameBytesin interfaceReports.Trace.NodeOrBuilder- Returns:
- The bytes for responseName.
-
hasIndex
public boolean hasIndex()uint32 index = 2;- Specified by:
hasIndexin interfaceReports.Trace.NodeOrBuilder- Returns:
- Whether the index field is set.
-
getIndex
public int getIndex()uint32 index = 2;- Specified by:
getIndexin interfaceReports.Trace.NodeOrBuilder- Returns:
- The index.
-
getOriginalFieldName
string original_field_name = 14;- Specified by:
getOriginalFieldNamein interfaceReports.Trace.NodeOrBuilder- Returns:
- The originalFieldName.
-
getOriginalFieldNameBytes
public com.google.protobuf.ByteString getOriginalFieldNameBytes()string original_field_name = 14;- Specified by:
getOriginalFieldNameBytesin interfaceReports.Trace.NodeOrBuilder- Returns:
- The bytes for originalFieldName.
-
getType
The field's return type; e.g. "String!" for User.email:String!
string type = 3;- Specified by:
getTypein interfaceReports.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:
getTypeBytesin interfaceReports.Trace.NodeOrBuilder- Returns:
- The bytes for type.
-
getParentType
The field's parent type; e.g. "User" for User.email:String!
string parent_type = 13;- Specified by:
getParentTypein interfaceReports.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:
getParentTypeBytesin interfaceReports.Trace.NodeOrBuilder- Returns:
- The bytes for parentType.
-
hasCachePolicy
public boolean hasCachePolicy().mdg.engine.proto.Trace.CachePolicy cache_policy = 5;- Specified by:
hasCachePolicyin interfaceReports.Trace.NodeOrBuilder- Returns:
- Whether the cachePolicy field is set.
-
getCachePolicy
.mdg.engine.proto.Trace.CachePolicy cache_policy = 5;- Specified by:
getCachePolicyin interfaceReports.Trace.NodeOrBuilder- Returns:
- The cachePolicy.
-
getCachePolicyOrBuilder
.mdg.engine.proto.Trace.CachePolicy cache_policy = 5;- Specified by:
getCachePolicyOrBuilderin interfaceReports.Trace.NodeOrBuilder
-
getStartTime
public long getStartTime()relative to the trace's start_time, in ns
uint64 start_time = 8;- Specified by:
getStartTimein interfaceReports.Trace.NodeOrBuilder- Returns:
- The startTime.
-
getEndTime
public long getEndTime()relative to the trace's start_time, in ns
uint64 end_time = 9;- Specified by:
getEndTimein interfaceReports.Trace.NodeOrBuilder- Returns:
- The endTime.
-
getErrorList
repeated .mdg.engine.proto.Trace.Error error = 11;- Specified by:
getErrorListin interfaceReports.Trace.NodeOrBuilder
-
getErrorOrBuilderList
repeated .mdg.engine.proto.Trace.Error error = 11;- Specified by:
getErrorOrBuilderListin interfaceReports.Trace.NodeOrBuilder
-
getErrorCount
public int getErrorCount()repeated .mdg.engine.proto.Trace.Error error = 11;- Specified by:
getErrorCountin interfaceReports.Trace.NodeOrBuilder
-
getError
repeated .mdg.engine.proto.Trace.Error error = 11;- Specified by:
getErrorin interfaceReports.Trace.NodeOrBuilder
-
getErrorOrBuilder
repeated .mdg.engine.proto.Trace.Error error = 11;- Specified by:
getErrorOrBuilderin interfaceReports.Trace.NodeOrBuilder
-
getChildList
repeated .mdg.engine.proto.Trace.Node child = 12;- Specified by:
getChildListin interfaceReports.Trace.NodeOrBuilder
-
getChildOrBuilderList
repeated .mdg.engine.proto.Trace.Node child = 12;- Specified by:
getChildOrBuilderListin interfaceReports.Trace.NodeOrBuilder
-
getChildCount
public int getChildCount()repeated .mdg.engine.proto.Trace.Node child = 12;- Specified by:
getChildCountin interfaceReports.Trace.NodeOrBuilder
-
getChild
repeated .mdg.engine.proto.Trace.Node child = 12;- Specified by:
getChildin interfaceReports.Trace.NodeOrBuilder
-
getChildOrBuilder
repeated .mdg.engine.proto.Trace.Node child = 12;- Specified by:
getChildOrBuilderin interfaceReports.Trace.NodeOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static Reports.Trace.Node parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Reports.Trace.Node.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-