public static final class Reports.FullTracesReport extends com.google.protobuf.GeneratedMessageV3 implements Reports.FullTracesReportOrBuilder
This is the top-level message used by the new traces ingress. This is designed for the apollo-engine-reporting TypeScript agent and will eventually be documented as a public ingress API. This message consists solely of traces; the equivalent of the StatsReport is automatically generated server-side from this message. Agents should send traces for all requests in this report. Generally, buffering up until a large size has been reached (say, 4MB) or 5-10 seconds has passed is appropriate.Protobuf type
mdg.engine.proto.FullTracesReport| Modifier and Type | Class and Description |
|---|---|
static class |
Reports.FullTracesReport.Builder
This is the top-level message used by the new traces ingress.
|
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 |
HEADER_FIELD_NUMBER |
static int |
TRACES_PER_QUERY_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsTracesPerQuery(java.lang.String key)
key is statsReportKey (# operationName\nsignature) Note that the nested
traces will *not* have a signature or details.operationName (because the
key is adequate).
|
boolean |
equals(java.lang.Object obj) |
static Reports.FullTracesReport |
getDefaultInstance() |
Reports.FullTracesReport |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Reports.ReportHeader |
getHeader()
.mdg.engine.proto.ReportHeader header = 1; |
Reports.ReportHeaderOrBuilder |
getHeaderOrBuilder()
.mdg.engine.proto.ReportHeader header = 1; |
com.google.protobuf.Parser<Reports.FullTracesReport> |
getParserForType() |
int |
getSerializedSize() |
java.util.Map<java.lang.String,Reports.Traces> |
getTracesPerQuery()
Deprecated.
|
int |
getTracesPerQueryCount()
key is statsReportKey (# operationName\nsignature) Note that the nested
traces will *not* have a signature or details.operationName (because the
key is adequate).
|
java.util.Map<java.lang.String,Reports.Traces> |
getTracesPerQueryMap()
key is statsReportKey (# operationName\nsignature) Note that the nested
traces will *not* have a signature or details.operationName (because the
key is adequate).
|
Reports.Traces |
getTracesPerQueryOrDefault(java.lang.String key,
Reports.Traces defaultValue)
key is statsReportKey (# operationName\nsignature) Note that the nested
traces will *not* have a signature or details.operationName (because the
key is adequate).
|
Reports.Traces |
getTracesPerQueryOrThrow(java.lang.String key)
key is statsReportKey (# operationName\nsignature) Note that the nested
traces will *not* have a signature or details.operationName (because the
key is adequate).
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasHeader()
.mdg.engine.proto.ReportHeader header = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Reports.FullTracesReport.Builder |
newBuilder() |
static Reports.FullTracesReport.Builder |
newBuilder(Reports.FullTracesReport prototype) |
Reports.FullTracesReport.Builder |
newBuilderForType() |
protected Reports.FullTracesReport.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Reports.FullTracesReport |
parseDelimitedFrom(java.io.InputStream input) |
static Reports.FullTracesReport |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Reports.FullTracesReport |
parseFrom(byte[] data) |
static Reports.FullTracesReport |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Reports.FullTracesReport |
parseFrom(java.nio.ByteBuffer data) |
static Reports.FullTracesReport |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Reports.FullTracesReport |
parseFrom(com.google.protobuf.ByteString data) |
static Reports.FullTracesReport |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Reports.FullTracesReport |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Reports.FullTracesReport |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Reports.FullTracesReport |
parseFrom(java.io.InputStream input) |
static Reports.FullTracesReport |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Reports.FullTracesReport> |
parser() |
Reports.FullTracesReport.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, 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 HEADER_FIELD_NUMBER
public static final int TRACES_PER_QUERY_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.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasHeader()
.mdg.engine.proto.ReportHeader header = 1;hasHeader in interface Reports.FullTracesReportOrBuilderpublic Reports.ReportHeader getHeader()
.mdg.engine.proto.ReportHeader header = 1;getHeader in interface Reports.FullTracesReportOrBuilderpublic Reports.ReportHeaderOrBuilder getHeaderOrBuilder()
.mdg.engine.proto.ReportHeader header = 1;getHeaderOrBuilder in interface Reports.FullTracesReportOrBuilderpublic int getTracesPerQueryCount()
Reports.FullTracesReportOrBuilderkey is statsReportKey (# operationName\nsignature) Note that the nested traces will *not* have a signature or details.operationName (because the key is adequate). We also assume that traces don't have legacy_per_query_implicit_operation_name, and we don't require them to have details.raw_query (which would consume a lot of space and has privacy/data access issues, and isn't currently exposed by our app anyway).
map<string, .mdg.engine.proto.Traces> traces_per_query = 5;getTracesPerQueryCount in interface Reports.FullTracesReportOrBuilderpublic boolean containsTracesPerQuery(java.lang.String key)
key is statsReportKey (# operationName\nsignature) Note that the nested traces will *not* have a signature or details.operationName (because the key is adequate). We also assume that traces don't have legacy_per_query_implicit_operation_name, and we don't require them to have details.raw_query (which would consume a lot of space and has privacy/data access issues, and isn't currently exposed by our app anyway).
map<string, .mdg.engine.proto.Traces> traces_per_query = 5;containsTracesPerQuery in interface Reports.FullTracesReportOrBuilder@Deprecated public java.util.Map<java.lang.String,Reports.Traces> getTracesPerQuery()
getTracesPerQueryMap() instead.getTracesPerQuery in interface Reports.FullTracesReportOrBuilderpublic java.util.Map<java.lang.String,Reports.Traces> getTracesPerQueryMap()
key is statsReportKey (# operationName\nsignature) Note that the nested traces will *not* have a signature or details.operationName (because the key is adequate). We also assume that traces don't have legacy_per_query_implicit_operation_name, and we don't require them to have details.raw_query (which would consume a lot of space and has privacy/data access issues, and isn't currently exposed by our app anyway).
map<string, .mdg.engine.proto.Traces> traces_per_query = 5;getTracesPerQueryMap in interface Reports.FullTracesReportOrBuilderpublic Reports.Traces getTracesPerQueryOrDefault(java.lang.String key, Reports.Traces defaultValue)
key is statsReportKey (# operationName\nsignature) Note that the nested traces will *not* have a signature or details.operationName (because the key is adequate). We also assume that traces don't have legacy_per_query_implicit_operation_name, and we don't require them to have details.raw_query (which would consume a lot of space and has privacy/data access issues, and isn't currently exposed by our app anyway).
map<string, .mdg.engine.proto.Traces> traces_per_query = 5;getTracesPerQueryOrDefault in interface Reports.FullTracesReportOrBuilderpublic Reports.Traces getTracesPerQueryOrThrow(java.lang.String key)
key is statsReportKey (# operationName\nsignature) Note that the nested traces will *not* have a signature or details.operationName (because the key is adequate). We also assume that traces don't have legacy_per_query_implicit_operation_name, and we don't require them to have details.raw_query (which would consume a lot of space and has privacy/data access issues, and isn't currently exposed by our app anyway).
map<string, .mdg.engine.proto.Traces> traces_per_query = 5;getTracesPerQueryOrThrow in interface Reports.FullTracesReportOrBuilderpublic 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.FullTracesReport parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Reports.FullTracesReport parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Reports.FullTracesReport parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Reports.FullTracesReport parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Reports.FullTracesReport parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Reports.FullTracesReport parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Reports.FullTracesReport parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Reports.FullTracesReport parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Reports.FullTracesReport parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Reports.FullTracesReport parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Reports.FullTracesReport parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Reports.FullTracesReport parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Reports.FullTracesReport.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Reports.FullTracesReport.Builder newBuilder()
public static Reports.FullTracesReport.Builder newBuilder(Reports.FullTracesReport prototype)
public Reports.FullTracesReport.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Reports.FullTracesReport.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Reports.FullTracesReport getDefaultInstance()
public static com.google.protobuf.Parser<Reports.FullTracesReport> parser()
public com.google.protobuf.Parser<Reports.FullTracesReport> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Reports.FullTracesReport getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder