public static final class Reports.Trace.Node extends com.google.protobuf.GeneratedMessageV3 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| Modifier and Type | Class and Description |
|---|---|
static class |
Reports.Trace.Node.Builder
We store information on each resolver execution as a Node on a tree.
|
static class |
Reports.Trace.Node.IdCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CACHE_POLICY_FIELD_NUMBER |
static int |
CHILD_FIELD_NUMBER |
static int |
END_TIME_FIELD_NUMBER |
static int |
ERROR_FIELD_NUMBER |
static int |
INDEX_FIELD_NUMBER |
static int |
ORIGINAL_FIELD_NAME_FIELD_NUMBER |
static int |
PARENT_TYPE_FIELD_NUMBER |
static int |
RESPONSE_NAME_FIELD_NUMBER |
static int |
START_TIME_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Reports.Trace.CachePolicy |
getCachePolicy()
.mdg.engine.proto.Trace.CachePolicy cache_policy = 5; |
Reports.Trace.CachePolicyOrBuilder |
getCachePolicyOrBuilder()
.mdg.engine.proto.Trace.CachePolicy cache_policy = 5; |
Reports.Trace.Node |
getChild(int index)
repeated .mdg.engine.proto.Trace.Node child = 12; |
int |
getChildCount()
repeated .mdg.engine.proto.Trace.Node child = 12; |
java.util.List<Reports.Trace.Node> |
getChildList()
repeated .mdg.engine.proto.Trace.Node child = 12; |
Reports.Trace.NodeOrBuilder |
getChildOrBuilder(int index)
repeated .mdg.engine.proto.Trace.Node child = 12; |
java.util.List<? extends Reports.Trace.NodeOrBuilder> |
getChildOrBuilderList()
repeated .mdg.engine.proto.Trace.Node child = 12; |
static Reports.Trace.Node |
getDefaultInstance() |
Reports.Trace.Node |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getEndTime()
relative to the trace's start_time, in ns
|
Reports.Trace.Error |
getError(int index)
repeated .mdg.engine.proto.Trace.Error error = 11; |
int |
getErrorCount()
repeated .mdg.engine.proto.Trace.Error error = 11; |
java.util.List<Reports.Trace.Error> |
getErrorList()
repeated .mdg.engine.proto.Trace.Error error = 11; |
Reports.Trace.ErrorOrBuilder |
getErrorOrBuilder(int index)
repeated .mdg.engine.proto.Trace.Error error = 11; |
java.util.List<? extends Reports.Trace.ErrorOrBuilder> |
getErrorOrBuilderList()
repeated .mdg.engine.proto.Trace.Error error = 11; |
Reports.Trace.Node.IdCase |
getIdCase() |
int |
getIndex()
uint32 index = 2; |
java.lang.String |
getOriginalFieldName()
string original_field_name = 14; |
com.google.protobuf.ByteString |
getOriginalFieldNameBytes()
string original_field_name = 14; |
java.lang.String |
getParentType()
The field's parent type; e.g.
|
com.google.protobuf.ByteString |
getParentTypeBytes()
The field's parent type; e.g.
|
com.google.protobuf.Parser<Reports.Trace.Node> |
getParserForType() |
java.lang.String |
getResponseName()
string response_name = 1; |
com.google.protobuf.ByteString |
getResponseNameBytes()
string response_name = 1; |
int |
getSerializedSize() |
long |
getStartTime()
relative to the trace's start_time, in ns
|
java.lang.String |
getType()
The field's return type; e.g.
|
com.google.protobuf.ByteString |
getTypeBytes()
The field's return type; e.g.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCachePolicy()
.mdg.engine.proto.Trace.CachePolicy cache_policy = 5; |
int |
hashCode() |
boolean |
hasIndex()
uint32 index = 2; |
boolean |
hasResponseName()
string response_name = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Reports.Trace.Node.Builder |
newBuilder() |
static Reports.Trace.Node.Builder |
newBuilder(Reports.Trace.Node prototype) |
Reports.Trace.Node.Builder |
newBuilderForType() |
protected Reports.Trace.Node.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Reports.Trace.Node |
parseDelimitedFrom(java.io.InputStream input) |
static Reports.Trace.Node |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Reports.Trace.Node |
parseFrom(byte[] data) |
static Reports.Trace.Node |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Reports.Trace.Node |
parseFrom(java.nio.ByteBuffer data) |
static Reports.Trace.Node |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Reports.Trace.Node |
parseFrom(com.google.protobuf.ByteString data) |
static Reports.Trace.Node |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Reports.Trace.Node |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Reports.Trace.Node |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Reports.Trace.Node |
parseFrom(java.io.InputStream input) |
static Reports.Trace.Node |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Reports.Trace.Node> |
parser() |
Reports.Trace.Node.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int RESPONSE_NAME_FIELD_NUMBER
public static final int INDEX_FIELD_NUMBER
public static final int ORIGINAL_FIELD_NAME_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int PARENT_TYPE_FIELD_NUMBER
public static final int CACHE_POLICY_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
public static final int CHILD_FIELD_NUMBER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public Reports.Trace.Node.IdCase getIdCase()
getIdCase in interface Reports.Trace.NodeOrBuilderpublic boolean hasResponseName()
string response_name = 1;hasResponseName in interface Reports.Trace.NodeOrBuilderpublic java.lang.String getResponseName()
string response_name = 1;getResponseName in interface Reports.Trace.NodeOrBuilderpublic com.google.protobuf.ByteString getResponseNameBytes()
string response_name = 1;getResponseNameBytes in interface Reports.Trace.NodeOrBuilderpublic boolean hasIndex()
uint32 index = 2;hasIndex in interface Reports.Trace.NodeOrBuilderpublic int getIndex()
uint32 index = 2;getIndex in interface Reports.Trace.NodeOrBuilderpublic java.lang.String getOriginalFieldName()
string original_field_name = 14;getOriginalFieldName in interface Reports.Trace.NodeOrBuilderpublic com.google.protobuf.ByteString getOriginalFieldNameBytes()
string original_field_name = 14;getOriginalFieldNameBytes in interface Reports.Trace.NodeOrBuilderpublic java.lang.String getType()
The field's return type; e.g. "String!" for User.email:String!
string type = 3;getType in interface Reports.Trace.NodeOrBuilderpublic com.google.protobuf.ByteString getTypeBytes()
The field's return type; e.g. "String!" for User.email:String!
string type = 3;getTypeBytes in interface Reports.Trace.NodeOrBuilderpublic java.lang.String getParentType()
The field's parent type; e.g. "User" for User.email:String!
string parent_type = 13;getParentType in interface Reports.Trace.NodeOrBuilderpublic com.google.protobuf.ByteString getParentTypeBytes()
The field's parent type; e.g. "User" for User.email:String!
string parent_type = 13;getParentTypeBytes in interface Reports.Trace.NodeOrBuilderpublic boolean hasCachePolicy()
.mdg.engine.proto.Trace.CachePolicy cache_policy = 5;hasCachePolicy in interface Reports.Trace.NodeOrBuilderpublic Reports.Trace.CachePolicy getCachePolicy()
.mdg.engine.proto.Trace.CachePolicy cache_policy = 5;getCachePolicy in interface Reports.Trace.NodeOrBuilderpublic Reports.Trace.CachePolicyOrBuilder getCachePolicyOrBuilder()
.mdg.engine.proto.Trace.CachePolicy cache_policy = 5;getCachePolicyOrBuilder in interface Reports.Trace.NodeOrBuilderpublic long getStartTime()
relative to the trace's start_time, in ns
uint64 start_time = 8;getStartTime in interface Reports.Trace.NodeOrBuilderpublic long getEndTime()
relative to the trace's start_time, in ns
uint64 end_time = 9;getEndTime in interface Reports.Trace.NodeOrBuilderpublic java.util.List<Reports.Trace.Error> getErrorList()
repeated .mdg.engine.proto.Trace.Error error = 11;getErrorList in interface Reports.Trace.NodeOrBuilderpublic java.util.List<? extends Reports.Trace.ErrorOrBuilder> getErrorOrBuilderList()
repeated .mdg.engine.proto.Trace.Error error = 11;getErrorOrBuilderList in interface Reports.Trace.NodeOrBuilderpublic int getErrorCount()
repeated .mdg.engine.proto.Trace.Error error = 11;getErrorCount in interface Reports.Trace.NodeOrBuilderpublic Reports.Trace.Error getError(int index)
repeated .mdg.engine.proto.Trace.Error error = 11;getError in interface Reports.Trace.NodeOrBuilderpublic Reports.Trace.ErrorOrBuilder getErrorOrBuilder(int index)
repeated .mdg.engine.proto.Trace.Error error = 11;getErrorOrBuilder in interface Reports.Trace.NodeOrBuilderpublic java.util.List<Reports.Trace.Node> getChildList()
repeated .mdg.engine.proto.Trace.Node child = 12;getChildList in interface Reports.Trace.NodeOrBuilderpublic java.util.List<? extends Reports.Trace.NodeOrBuilder> getChildOrBuilderList()
repeated .mdg.engine.proto.Trace.Node child = 12;getChildOrBuilderList in interface Reports.Trace.NodeOrBuilderpublic int getChildCount()
repeated .mdg.engine.proto.Trace.Node child = 12;getChildCount in interface Reports.Trace.NodeOrBuilderpublic Reports.Trace.Node getChild(int index)
repeated .mdg.engine.proto.Trace.Node child = 12;getChild in interface Reports.Trace.NodeOrBuilderpublic Reports.Trace.NodeOrBuilder getChildOrBuilder(int index)
repeated .mdg.engine.proto.Trace.Node child = 12;getChildOrBuilder in interface Reports.Trace.NodeOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Reports.Trace.Node parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Reports.Trace.Node parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Reports.Trace.Node parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Reports.Trace.Node parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Reports.Trace.Node parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Reports.Trace.Node parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Reports.Trace.Node parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Reports.Trace.Node parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Reports.Trace.Node parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Reports.Trace.Node parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Reports.Trace.Node parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Reports.Trace.Node parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Reports.Trace.Node.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Reports.Trace.Node.Builder newBuilder()
public static Reports.Trace.Node.Builder newBuilder(Reports.Trace.Node prototype)
public Reports.Trace.Node.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Reports.Trace.Node.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Reports.Trace.Node getDefaultInstance()
public static com.google.protobuf.Parser<Reports.Trace.Node> parser()
public com.google.protobuf.Parser<Reports.Trace.Node> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Reports.Trace.Node getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder