Package mdg.engine.proto
Class Reports.Trace.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Reports.Trace.Builder>
mdg.engine.proto.Reports.Trace.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Reports.TraceOrBuilder
- Enclosing class:
- Reports.Trace
public static final class Reports.Trace.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Reports.Trace.Builder>
implements Reports.TraceOrBuilder
Protobuf type
mdg.engine.proto.Trace-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear().mdg.engine.proto.Trace.CachePolicy cache_policy = 18;string client_address = 9;Note: engineproxy always sets client_name, client_version, and client_address to "none".string client_reference_id = 23;string client_version = 8;.mdg.engine.proto.Trace.Details details = 6;High precision duration of the trace; may not equal end_time-start_time (eg, if your machine's clock changed during the trace).Wallclock time when the trace ended.Was this operation forbidden due to lack of safelisting?Was this response served from a full query response cache? (In that case the node tree will have no resolvers.).mdg.engine.proto.Trace.HTTP http = 10;Older agents (eg the Go engineproxy) relied to some degree on the Engine backend to run their own semi-compatible implementation of a specific variant of query signatures.uint64 origin_reported_duration_ns = 17;.google.protobuf.Timestamp origin_reported_end_time = 16;-------------------------------------------------------------- Fields below this line are only set by the old Go engineproxy.Was this query specified successfully as a persisted query hash?Did this query contain both a full query string and a persisted query hash? (This typically means that a previous request was rejected as an unknown persisted query.)If this Trace was created by a gateway, this is the query plan, including sub-Traces for federated services.Was this operation registered and a part of the safelist?A tree containing information about all resolvers run directly by this service, including errors.In addition to details.raw_query, we include a "signature" of the query, which can be normalized: for example, you may want to discard aliases, drop unused operations and fragments, sort fields, etc.Wallclock time when the trace began..mdg.engine.proto.Trace.CachePolicy cache_policy = 18;.mdg.engine.proto.Trace.CachePolicy cache_policy = 18;.mdg.engine.proto.Trace.CachePolicy cache_policy = 18;string client_address = 9;com.google.protobuf.ByteStringstring client_address = 9;Note: engineproxy always sets client_name, client_version, and client_address to "none".com.google.protobuf.ByteStringNote: engineproxy always sets client_name, client_version, and client_address to "none".string client_reference_id = 23;com.google.protobuf.ByteStringstring client_reference_id = 23;string client_version = 8;com.google.protobuf.ByteStringstring client_version = 8;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptor.mdg.engine.proto.Trace.Details details = 6;.mdg.engine.proto.Trace.Details details = 6;.mdg.engine.proto.Trace.Details details = 6;longHigh precision duration of the trace; may not equal end_time-start_time (eg, if your machine's clock changed during the trace).com.google.protobuf.TimestampWallclock time when the trace ended.com.google.protobuf.Timestamp.BuilderWallclock time when the trace ended.com.google.protobuf.TimestampOrBuilderWallclock time when the trace ended.booleanWas this operation forbidden due to lack of safelisting?booleanWas this response served from a full query response cache? (In that case the node tree will have no resolvers.)getHttp().mdg.engine.proto.Trace.HTTP http = 10;.mdg.engine.proto.Trace.HTTP http = 10;.mdg.engine.proto.Trace.HTTP http = 10;Older agents (eg the Go engineproxy) relied to some degree on the Engine backend to run their own semi-compatible implementation of a specific variant of query signatures.com.google.protobuf.ByteStringOlder agents (eg the Go engineproxy) relied to some degree on the Engine backend to run their own semi-compatible implementation of a specific variant of query signatures.longuint64 origin_reported_duration_ns = 17;com.google.protobuf.Timestamp.google.protobuf.Timestamp origin_reported_end_time = 16;com.google.protobuf.Timestamp.Builder.google.protobuf.Timestamp origin_reported_end_time = 16;com.google.protobuf.TimestampOrBuilder.google.protobuf.Timestamp origin_reported_end_time = 16;com.google.protobuf.Timestamp-------------------------------------------------------------- Fields below this line are only set by the old Go engineproxy.com.google.protobuf.Timestamp.Builder-------------------------------------------------------------- Fields below this line are only set by the old Go engineproxy.com.google.protobuf.TimestampOrBuilder-------------------------------------------------------------- Fields below this line are only set by the old Go engineproxy.booleanWas this query specified successfully as a persisted query hash?booleanDid this query contain both a full query string and a persisted query hash? (This typically means that a previous request was rejected as an unknown persisted query.)If this Trace was created by a gateway, this is the query plan, including sub-Traces for federated services.If this Trace was created by a gateway, this is the query plan, including sub-Traces for federated services.If this Trace was created by a gateway, this is the query plan, including sub-Traces for federated services.booleanWas this operation registered and a part of the safelist?getRoot()A tree containing information about all resolvers run directly by this service, including errors.A tree containing information about all resolvers run directly by this service, including errors.A tree containing information about all resolvers run directly by this service, including errors.In addition to details.raw_query, we include a "signature" of the query, which can be normalized: for example, you may want to discard aliases, drop unused operations and fragments, sort fields, etc.com.google.protobuf.ByteStringIn addition to details.raw_query, we include a "signature" of the query, which can be normalized: for example, you may want to discard aliases, drop unused operations and fragments, sort fields, etc.com.google.protobuf.TimestampWallclock time when the trace began.com.google.protobuf.Timestamp.BuilderWallclock time when the trace began.com.google.protobuf.TimestampOrBuilderWallclock time when the trace began.boolean.mdg.engine.proto.Trace.CachePolicy cache_policy = 18;boolean.mdg.engine.proto.Trace.Details details = 6;booleanWallclock time when the trace ended.booleanhasHttp().mdg.engine.proto.Trace.HTTP http = 10;boolean.google.protobuf.Timestamp origin_reported_end_time = 16;boolean-------------------------------------------------------------- Fields below this line are only set by the old Go engineproxy.booleanIf this Trace was created by a gateway, this is the query plan, including sub-Traces for federated services.booleanhasRoot()A tree containing information about all resolvers run directly by this service, including errors.booleanWallclock time when the trace began.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal boolean.mdg.engine.proto.Trace.CachePolicy cache_policy = 18;.mdg.engine.proto.Trace.Details details = 6;mergeEndTime(com.google.protobuf.Timestamp value) Wallclock time when the trace ended.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Reports.Trace other) mergeHttp(Reports.Trace.HTTP value) .mdg.engine.proto.Trace.HTTP http = 10;mergeOriginReportedEndTime(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp origin_reported_end_time = 16;mergeOriginReportedStartTime(com.google.protobuf.Timestamp value) -------------------------------------------------------------- Fields below this line are only set by the old Go engineproxy.If this Trace was created by a gateway, this is the query plan, including sub-Traces for federated services.mergeRoot(Reports.Trace.Node value) A tree containing information about all resolvers run directly by this service, including errors.mergeStartTime(com.google.protobuf.Timestamp value) Wallclock time when the trace began..mdg.engine.proto.Trace.CachePolicy cache_policy = 18;setCachePolicy(Reports.Trace.CachePolicy.Builder builderForValue) .mdg.engine.proto.Trace.CachePolicy cache_policy = 18;setClientAddress(String value) string client_address = 9;setClientAddressBytes(com.google.protobuf.ByteString value) string client_address = 9;setClientName(String value) Note: engineproxy always sets client_name, client_version, and client_address to "none".setClientNameBytes(com.google.protobuf.ByteString value) Note: engineproxy always sets client_name, client_version, and client_address to "none".setClientReferenceId(String value) string client_reference_id = 23;setClientReferenceIdBytes(com.google.protobuf.ByteString value) string client_reference_id = 23;setClientVersion(String value) string client_version = 8;setClientVersionBytes(com.google.protobuf.ByteString value) string client_version = 8;setDetails(Reports.Trace.Details value) .mdg.engine.proto.Trace.Details details = 6;setDetails(Reports.Trace.Details.Builder builderForValue) .mdg.engine.proto.Trace.Details details = 6;setDurationNs(long value) High precision duration of the trace; may not equal end_time-start_time (eg, if your machine's clock changed during the trace).setEndTime(com.google.protobuf.Timestamp value) Wallclock time when the trace ended.setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) Wallclock time when the trace ended.setForbiddenOperation(boolean value) Was this operation forbidden due to lack of safelisting?setFullQueryCacheHit(boolean value) Was this response served from a full query response cache? (In that case the node tree will have no resolvers.)setHttp(Reports.Trace.HTTP value) .mdg.engine.proto.Trace.HTTP http = 10;setHttp(Reports.Trace.HTTP.Builder builderForValue) .mdg.engine.proto.Trace.HTTP http = 10;Older agents (eg the Go engineproxy) relied to some degree on the Engine backend to run their own semi-compatible implementation of a specific variant of query signatures.setLegacySignatureNeedsResigningBytes(com.google.protobuf.ByteString value) Older agents (eg the Go engineproxy) relied to some degree on the Engine backend to run their own semi-compatible implementation of a specific variant of query signatures.setOriginReportedDurationNs(long value) uint64 origin_reported_duration_ns = 17;setOriginReportedEndTime(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp origin_reported_end_time = 16;setOriginReportedEndTime(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp origin_reported_end_time = 16;setOriginReportedStartTime(com.google.protobuf.Timestamp value) -------------------------------------------------------------- Fields below this line are only set by the old Go engineproxy.setOriginReportedStartTime(com.google.protobuf.Timestamp.Builder builderForValue) -------------------------------------------------------------- Fields below this line are only set by the old Go engineproxy.setPersistedQueryHit(boolean value) Was this query specified successfully as a persisted query hash?setPersistedQueryRegister(boolean value) Did this query contain both a full query string and a persisted query hash? (This typically means that a previous request was rejected as an unknown persisted query.)If this Trace was created by a gateway, this is the query plan, including sub-Traces for federated services.setQueryPlan(Reports.Trace.QueryPlanNode.Builder builderForValue) If this Trace was created by a gateway, this is the query plan, including sub-Traces for federated services.setRegisteredOperation(boolean value) Was this operation registered and a part of the safelist?setRoot(Reports.Trace.Node value) A tree containing information about all resolvers run directly by this service, including errors.setRoot(Reports.Trace.Node.Builder builderForValue) A tree containing information about all resolvers run directly by this service, including errors.setSignature(String value) In addition to details.raw_query, we include a "signature" of the query, which can be normalized: for example, you may want to discard aliases, drop unused operations and fragments, sort fields, etc.setSignatureBytes(com.google.protobuf.ByteString value) In addition to details.raw_query, we include a "signature" of the query, which can be normalized: for example, you may want to discard aliases, drop unused operations and fragments, sort fields, etc.setStartTime(com.google.protobuf.Timestamp value) Wallclock time when the trace began.setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Wallclock time when the trace began.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<Reports.Trace.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Reports.Trace.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Reports.Trace.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Reports.Trace.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Reports.Trace.Builder>
-
mergeFrom
public Reports.Trace.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Reports.Trace.Builder>- Throws:
IOException
-
hasStartTime
public boolean hasStartTime()Wallclock time when the trace began.
.google.protobuf.Timestamp start_time = 4;- Specified by:
hasStartTimein interfaceReports.TraceOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()Wallclock time when the trace began.
.google.protobuf.Timestamp start_time = 4;- Specified by:
getStartTimein interfaceReports.TraceOrBuilder- Returns:
- The startTime.
-
setStartTime
Wallclock time when the trace began.
.google.protobuf.Timestamp start_time = 4; -
setStartTime
Wallclock time when the trace began.
.google.protobuf.Timestamp start_time = 4; -
mergeStartTime
Wallclock time when the trace began.
.google.protobuf.Timestamp start_time = 4; -
clearStartTime
Wallclock time when the trace began.
.google.protobuf.Timestamp start_time = 4; -
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()Wallclock time when the trace began.
.google.protobuf.Timestamp start_time = 4; -
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()Wallclock time when the trace began.
.google.protobuf.Timestamp start_time = 4;- Specified by:
getStartTimeOrBuilderin interfaceReports.TraceOrBuilder
-
hasEndTime
public boolean hasEndTime()Wallclock time when the trace ended.
.google.protobuf.Timestamp end_time = 3;- Specified by:
hasEndTimein interfaceReports.TraceOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public com.google.protobuf.Timestamp getEndTime()Wallclock time when the trace ended.
.google.protobuf.Timestamp end_time = 3;- Specified by:
getEndTimein interfaceReports.TraceOrBuilder- Returns:
- The endTime.
-
setEndTime
Wallclock time when the trace ended.
.google.protobuf.Timestamp end_time = 3; -
setEndTime
Wallclock time when the trace ended.
.google.protobuf.Timestamp end_time = 3; -
mergeEndTime
Wallclock time when the trace ended.
.google.protobuf.Timestamp end_time = 3; -
clearEndTime
Wallclock time when the trace ended.
.google.protobuf.Timestamp end_time = 3; -
getEndTimeBuilder
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()Wallclock time when the trace ended.
.google.protobuf.Timestamp end_time = 3; -
getEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()Wallclock time when the trace ended.
.google.protobuf.Timestamp end_time = 3;- Specified by:
getEndTimeOrBuilderin interfaceReports.TraceOrBuilder
-
getDurationNs
public long getDurationNs()High precision duration of the trace; may not equal end_time-start_time (eg, if your machine's clock changed during the trace).
uint64 duration_ns = 11;- Specified by:
getDurationNsin interfaceReports.TraceOrBuilder- Returns:
- The durationNs.
-
setDurationNs
High precision duration of the trace; may not equal end_time-start_time (eg, if your machine's clock changed during the trace).
uint64 duration_ns = 11;- Parameters:
value- The durationNs to set.- Returns:
- This builder for chaining.
-
clearDurationNs
High precision duration of the trace; may not equal end_time-start_time (eg, if your machine's clock changed during the trace).
uint64 duration_ns = 11;- Returns:
- This builder for chaining.
-
hasRoot
public boolean hasRoot()A tree containing information about all resolvers run directly by this service, including errors.
.mdg.engine.proto.Trace.Node root = 14;- Specified by:
hasRootin interfaceReports.TraceOrBuilder- Returns:
- Whether the root field is set.
-
getRoot
A tree containing information about all resolvers run directly by this service, including errors.
.mdg.engine.proto.Trace.Node root = 14;- Specified by:
getRootin interfaceReports.TraceOrBuilder- Returns:
- The root.
-
setRoot
A tree containing information about all resolvers run directly by this service, including errors.
.mdg.engine.proto.Trace.Node root = 14; -
setRoot
A tree containing information about all resolvers run directly by this service, including errors.
.mdg.engine.proto.Trace.Node root = 14; -
mergeRoot
A tree containing information about all resolvers run directly by this service, including errors.
.mdg.engine.proto.Trace.Node root = 14; -
clearRoot
A tree containing information about all resolvers run directly by this service, including errors.
.mdg.engine.proto.Trace.Node root = 14; -
getRootBuilder
A tree containing information about all resolvers run directly by this service, including errors.
.mdg.engine.proto.Trace.Node root = 14; -
getRootOrBuilder
A tree containing information about all resolvers run directly by this service, including errors.
.mdg.engine.proto.Trace.Node root = 14;- Specified by:
getRootOrBuilderin interfaceReports.TraceOrBuilder
-
getSignature
In addition to details.raw_query, we include a "signature" of the query, which can be normalized: for example, you may want to discard aliases, drop unused operations and fragments, sort fields, etc. The most important thing here is that the signature match the signature in StatsReports. In StatsReports signatures show up as the key in the per_query map (with the operation name prepended). The signature should be a valid GraphQL query. All traces must have a signature; if this Trace is in a FullTracesReport that signature is in the key of traces_per_query rather than in this field. Engineproxy provides the signature in legacy_signature_needs_resigning instead.
string signature = 19;- Specified by:
getSignaturein interfaceReports.TraceOrBuilder- Returns:
- The signature.
-
getSignatureBytes
public com.google.protobuf.ByteString getSignatureBytes()In addition to details.raw_query, we include a "signature" of the query, which can be normalized: for example, you may want to discard aliases, drop unused operations and fragments, sort fields, etc. The most important thing here is that the signature match the signature in StatsReports. In StatsReports signatures show up as the key in the per_query map (with the operation name prepended). The signature should be a valid GraphQL query. All traces must have a signature; if this Trace is in a FullTracesReport that signature is in the key of traces_per_query rather than in this field. Engineproxy provides the signature in legacy_signature_needs_resigning instead.
string signature = 19;- Specified by:
getSignatureBytesin interfaceReports.TraceOrBuilder- Returns:
- The bytes for signature.
-
setSignature
In addition to details.raw_query, we include a "signature" of the query, which can be normalized: for example, you may want to discard aliases, drop unused operations and fragments, sort fields, etc. The most important thing here is that the signature match the signature in StatsReports. In StatsReports signatures show up as the key in the per_query map (with the operation name prepended). The signature should be a valid GraphQL query. All traces must have a signature; if this Trace is in a FullTracesReport that signature is in the key of traces_per_query rather than in this field. Engineproxy provides the signature in legacy_signature_needs_resigning instead.
string signature = 19;- Parameters:
value- The signature to set.- Returns:
- This builder for chaining.
-
clearSignature
In addition to details.raw_query, we include a "signature" of the query, which can be normalized: for example, you may want to discard aliases, drop unused operations and fragments, sort fields, etc. The most important thing here is that the signature match the signature in StatsReports. In StatsReports signatures show up as the key in the per_query map (with the operation name prepended). The signature should be a valid GraphQL query. All traces must have a signature; if this Trace is in a FullTracesReport that signature is in the key of traces_per_query rather than in this field. Engineproxy provides the signature in legacy_signature_needs_resigning instead.
string signature = 19;- Returns:
- This builder for chaining.
-
setSignatureBytes
In addition to details.raw_query, we include a "signature" of the query, which can be normalized: for example, you may want to discard aliases, drop unused operations and fragments, sort fields, etc. The most important thing here is that the signature match the signature in StatsReports. In StatsReports signatures show up as the key in the per_query map (with the operation name prepended). The signature should be a valid GraphQL query. All traces must have a signature; if this Trace is in a FullTracesReport that signature is in the key of traces_per_query rather than in this field. Engineproxy provides the signature in legacy_signature_needs_resigning instead.
string signature = 19;- Parameters:
value- The bytes for signature to set.- Returns:
- This builder for chaining.
-
hasDetails
public boolean hasDetails().mdg.engine.proto.Trace.Details details = 6;- Specified by:
hasDetailsin interfaceReports.TraceOrBuilder- Returns:
- Whether the details field is set.
-
getDetails
.mdg.engine.proto.Trace.Details details = 6;- Specified by:
getDetailsin interfaceReports.TraceOrBuilder- Returns:
- The details.
-
setDetails
.mdg.engine.proto.Trace.Details details = 6; -
setDetails
.mdg.engine.proto.Trace.Details details = 6; -
mergeDetails
.mdg.engine.proto.Trace.Details details = 6; -
clearDetails
.mdg.engine.proto.Trace.Details details = 6; -
getDetailsBuilder
.mdg.engine.proto.Trace.Details details = 6; -
getDetailsOrBuilder
.mdg.engine.proto.Trace.Details details = 6;- Specified by:
getDetailsOrBuilderin interfaceReports.TraceOrBuilder
-
getClientName
Note: engineproxy always sets client_name, client_version, and client_address to "none". apollo-engine-reporting allows for them to be set by the user.
string client_name = 7;- Specified by:
getClientNamein interfaceReports.TraceOrBuilder- Returns:
- The clientName.
-
getClientNameBytes
public com.google.protobuf.ByteString getClientNameBytes()Note: engineproxy always sets client_name, client_version, and client_address to "none". apollo-engine-reporting allows for them to be set by the user.
string client_name = 7;- Specified by:
getClientNameBytesin interfaceReports.TraceOrBuilder- Returns:
- The bytes for clientName.
-
setClientName
Note: engineproxy always sets client_name, client_version, and client_address to "none". apollo-engine-reporting allows for them to be set by the user.
string client_name = 7;- Parameters:
value- The clientName to set.- Returns:
- This builder for chaining.
-
clearClientName
Note: engineproxy always sets client_name, client_version, and client_address to "none". apollo-engine-reporting allows for them to be set by the user.
string client_name = 7;- Returns:
- This builder for chaining.
-
setClientNameBytes
Note: engineproxy always sets client_name, client_version, and client_address to "none". apollo-engine-reporting allows for them to be set by the user.
string client_name = 7;- Parameters:
value- The bytes for clientName to set.- Returns:
- This builder for chaining.
-
getClientVersion
string client_version = 8;- Specified by:
getClientVersionin interfaceReports.TraceOrBuilder- Returns:
- The clientVersion.
-
getClientVersionBytes
public com.google.protobuf.ByteString getClientVersionBytes()string client_version = 8;- Specified by:
getClientVersionBytesin interfaceReports.TraceOrBuilder- Returns:
- The bytes for clientVersion.
-
setClientVersion
string client_version = 8;- Parameters:
value- The clientVersion to set.- Returns:
- This builder for chaining.
-
clearClientVersion
string client_version = 8;- Returns:
- This builder for chaining.
-
setClientVersionBytes
string client_version = 8;- Parameters:
value- The bytes for clientVersion to set.- Returns:
- This builder for chaining.
-
getClientAddress
string client_address = 9;- Specified by:
getClientAddressin interfaceReports.TraceOrBuilder- Returns:
- The clientAddress.
-
getClientAddressBytes
public com.google.protobuf.ByteString getClientAddressBytes()string client_address = 9;- Specified by:
getClientAddressBytesin interfaceReports.TraceOrBuilder- Returns:
- The bytes for clientAddress.
-
setClientAddress
string client_address = 9;- Parameters:
value- The clientAddress to set.- Returns:
- This builder for chaining.
-
clearClientAddress
string client_address = 9;- Returns:
- This builder for chaining.
-
setClientAddressBytes
string client_address = 9;- Parameters:
value- The bytes for clientAddress to set.- Returns:
- This builder for chaining.
-
getClientReferenceId
string client_reference_id = 23;- Specified by:
getClientReferenceIdin interfaceReports.TraceOrBuilder- Returns:
- The clientReferenceId.
-
getClientReferenceIdBytes
public com.google.protobuf.ByteString getClientReferenceIdBytes()string client_reference_id = 23;- Specified by:
getClientReferenceIdBytesin interfaceReports.TraceOrBuilder- Returns:
- The bytes for clientReferenceId.
-
setClientReferenceId
string client_reference_id = 23;- Parameters:
value- The clientReferenceId to set.- Returns:
- This builder for chaining.
-
clearClientReferenceId
string client_reference_id = 23;- Returns:
- This builder for chaining.
-
setClientReferenceIdBytes
string client_reference_id = 23;- Parameters:
value- The bytes for clientReferenceId to set.- Returns:
- This builder for chaining.
-
hasHttp
public boolean hasHttp().mdg.engine.proto.Trace.HTTP http = 10;- Specified by:
hasHttpin interfaceReports.TraceOrBuilder- Returns:
- Whether the http field is set.
-
getHttp
.mdg.engine.proto.Trace.HTTP http = 10;- Specified by:
getHttpin interfaceReports.TraceOrBuilder- Returns:
- The http.
-
setHttp
.mdg.engine.proto.Trace.HTTP http = 10; -
setHttp
.mdg.engine.proto.Trace.HTTP http = 10; -
mergeHttp
.mdg.engine.proto.Trace.HTTP http = 10; -
clearHttp
.mdg.engine.proto.Trace.HTTP http = 10; -
getHttpBuilder
.mdg.engine.proto.Trace.HTTP http = 10; -
getHttpOrBuilder
.mdg.engine.proto.Trace.HTTP http = 10;- Specified by:
getHttpOrBuilderin interfaceReports.TraceOrBuilder
-
hasCachePolicy
public boolean hasCachePolicy().mdg.engine.proto.Trace.CachePolicy cache_policy = 18;- Specified by:
hasCachePolicyin interfaceReports.TraceOrBuilder- Returns:
- Whether the cachePolicy field is set.
-
getCachePolicy
.mdg.engine.proto.Trace.CachePolicy cache_policy = 18;- Specified by:
getCachePolicyin interfaceReports.TraceOrBuilder- Returns:
- The cachePolicy.
-
setCachePolicy
.mdg.engine.proto.Trace.CachePolicy cache_policy = 18; -
setCachePolicy
.mdg.engine.proto.Trace.CachePolicy cache_policy = 18; -
mergeCachePolicy
.mdg.engine.proto.Trace.CachePolicy cache_policy = 18; -
clearCachePolicy
.mdg.engine.proto.Trace.CachePolicy cache_policy = 18; -
getCachePolicyBuilder
.mdg.engine.proto.Trace.CachePolicy cache_policy = 18; -
getCachePolicyOrBuilder
.mdg.engine.proto.Trace.CachePolicy cache_policy = 18;- Specified by:
getCachePolicyOrBuilderin interfaceReports.TraceOrBuilder
-
hasQueryPlan
public boolean hasQueryPlan()If this Trace was created by a gateway, this is the query plan, including sub-Traces for federated services. Note that the 'root' tree on the top-level Trace won't contain any resolvers (though it could contain errors that occurred in the gateway itself).
.mdg.engine.proto.Trace.QueryPlanNode query_plan = 26;- Specified by:
hasQueryPlanin interfaceReports.TraceOrBuilder- Returns:
- Whether the queryPlan field is set.
-
getQueryPlan
If this Trace was created by a gateway, this is the query plan, including sub-Traces for federated services. Note that the 'root' tree on the top-level Trace won't contain any resolvers (though it could contain errors that occurred in the gateway itself).
.mdg.engine.proto.Trace.QueryPlanNode query_plan = 26;- Specified by:
getQueryPlanin interfaceReports.TraceOrBuilder- Returns:
- The queryPlan.
-
setQueryPlan
If this Trace was created by a gateway, this is the query plan, including sub-Traces for federated services. Note that the 'root' tree on the top-level Trace won't contain any resolvers (though it could contain errors that occurred in the gateway itself).
.mdg.engine.proto.Trace.QueryPlanNode query_plan = 26; -
setQueryPlan
If this Trace was created by a gateway, this is the query plan, including sub-Traces for federated services. Note that the 'root' tree on the top-level Trace won't contain any resolvers (though it could contain errors that occurred in the gateway itself).
.mdg.engine.proto.Trace.QueryPlanNode query_plan = 26; -
mergeQueryPlan
If this Trace was created by a gateway, this is the query plan, including sub-Traces for federated services. Note that the 'root' tree on the top-level Trace won't contain any resolvers (though it could contain errors that occurred in the gateway itself).
.mdg.engine.proto.Trace.QueryPlanNode query_plan = 26; -
clearQueryPlan
If this Trace was created by a gateway, this is the query plan, including sub-Traces for federated services. Note that the 'root' tree on the top-level Trace won't contain any resolvers (though it could contain errors that occurred in the gateway itself).
.mdg.engine.proto.Trace.QueryPlanNode query_plan = 26; -
getQueryPlanBuilder
If this Trace was created by a gateway, this is the query plan, including sub-Traces for federated services. Note that the 'root' tree on the top-level Trace won't contain any resolvers (though it could contain errors that occurred in the gateway itself).
.mdg.engine.proto.Trace.QueryPlanNode query_plan = 26; -
getQueryPlanOrBuilder
If this Trace was created by a gateway, this is the query plan, including sub-Traces for federated services. Note that the 'root' tree on the top-level Trace won't contain any resolvers (though it could contain errors that occurred in the gateway itself).
.mdg.engine.proto.Trace.QueryPlanNode query_plan = 26;- Specified by:
getQueryPlanOrBuilderin interfaceReports.TraceOrBuilder
-
getFullQueryCacheHit
public boolean getFullQueryCacheHit()Was this response served from a full query response cache? (In that case the node tree will have no resolvers.)
bool full_query_cache_hit = 20;- Specified by:
getFullQueryCacheHitin interfaceReports.TraceOrBuilder- Returns:
- The fullQueryCacheHit.
-
setFullQueryCacheHit
Was this response served from a full query response cache? (In that case the node tree will have no resolvers.)
bool full_query_cache_hit = 20;- Parameters:
value- The fullQueryCacheHit to set.- Returns:
- This builder for chaining.
-
clearFullQueryCacheHit
Was this response served from a full query response cache? (In that case the node tree will have no resolvers.)
bool full_query_cache_hit = 20;- Returns:
- This builder for chaining.
-
getPersistedQueryHit
public boolean getPersistedQueryHit()Was this query specified successfully as a persisted query hash?
bool persisted_query_hit = 21;- Specified by:
getPersistedQueryHitin interfaceReports.TraceOrBuilder- Returns:
- The persistedQueryHit.
-
setPersistedQueryHit
Was this query specified successfully as a persisted query hash?
bool persisted_query_hit = 21;- Parameters:
value- The persistedQueryHit to set.- Returns:
- This builder for chaining.
-
clearPersistedQueryHit
Was this query specified successfully as a persisted query hash?
bool persisted_query_hit = 21;- Returns:
- This builder for chaining.
-
getPersistedQueryRegister
public boolean getPersistedQueryRegister()Did this query contain both a full query string and a persisted query hash? (This typically means that a previous request was rejected as an unknown persisted query.)
bool persisted_query_register = 22;- Specified by:
getPersistedQueryRegisterin interfaceReports.TraceOrBuilder- Returns:
- The persistedQueryRegister.
-
setPersistedQueryRegister
Did this query contain both a full query string and a persisted query hash? (This typically means that a previous request was rejected as an unknown persisted query.)
bool persisted_query_register = 22;- Parameters:
value- The persistedQueryRegister to set.- Returns:
- This builder for chaining.
-
clearPersistedQueryRegister
Did this query contain both a full query string and a persisted query hash? (This typically means that a previous request was rejected as an unknown persisted query.)
bool persisted_query_register = 22;- Returns:
- This builder for chaining.
-
getRegisteredOperation
public boolean getRegisteredOperation()Was this operation registered and a part of the safelist?
bool registered_operation = 24;- Specified by:
getRegisteredOperationin interfaceReports.TraceOrBuilder- Returns:
- The registeredOperation.
-
setRegisteredOperation
Was this operation registered and a part of the safelist?
bool registered_operation = 24;- Parameters:
value- The registeredOperation to set.- Returns:
- This builder for chaining.
-
clearRegisteredOperation
Was this operation registered and a part of the safelist?
bool registered_operation = 24;- Returns:
- This builder for chaining.
-
getForbiddenOperation
public boolean getForbiddenOperation()Was this operation forbidden due to lack of safelisting?
bool forbidden_operation = 25;- Specified by:
getForbiddenOperationin interfaceReports.TraceOrBuilder- Returns:
- The forbiddenOperation.
-
setForbiddenOperation
Was this operation forbidden due to lack of safelisting?
bool forbidden_operation = 25;- Parameters:
value- The forbiddenOperation to set.- Returns:
- This builder for chaining.
-
clearForbiddenOperation
Was this operation forbidden due to lack of safelisting?
bool forbidden_operation = 25;- Returns:
- This builder for chaining.
-
hasOriginReportedStartTime
public boolean hasOriginReportedStartTime()-------------------------------------------------------------- Fields below this line are only set by the old Go engineproxy.
.google.protobuf.Timestamp origin_reported_start_time = 15;- Specified by:
hasOriginReportedStartTimein interfaceReports.TraceOrBuilder- Returns:
- Whether the originReportedStartTime field is set.
-
getOriginReportedStartTime
public com.google.protobuf.Timestamp getOriginReportedStartTime()-------------------------------------------------------------- Fields below this line are only set by the old Go engineproxy.
.google.protobuf.Timestamp origin_reported_start_time = 15;- Specified by:
getOriginReportedStartTimein interfaceReports.TraceOrBuilder- Returns:
- The originReportedStartTime.
-
setOriginReportedStartTime
-------------------------------------------------------------- Fields below this line are only set by the old Go engineproxy.
.google.protobuf.Timestamp origin_reported_start_time = 15; -
setOriginReportedStartTime
public Reports.Trace.Builder setOriginReportedStartTime(com.google.protobuf.Timestamp.Builder builderForValue) -------------------------------------------------------------- Fields below this line are only set by the old Go engineproxy.
.google.protobuf.Timestamp origin_reported_start_time = 15; -
mergeOriginReportedStartTime
-------------------------------------------------------------- Fields below this line are only set by the old Go engineproxy.
.google.protobuf.Timestamp origin_reported_start_time = 15; -
clearOriginReportedStartTime
-------------------------------------------------------------- Fields below this line are only set by the old Go engineproxy.
.google.protobuf.Timestamp origin_reported_start_time = 15; -
getOriginReportedStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getOriginReportedStartTimeBuilder()-------------------------------------------------------------- Fields below this line are only set by the old Go engineproxy.
.google.protobuf.Timestamp origin_reported_start_time = 15; -
getOriginReportedStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getOriginReportedStartTimeOrBuilder()-------------------------------------------------------------- Fields below this line are only set by the old Go engineproxy.
.google.protobuf.Timestamp origin_reported_start_time = 15;- Specified by:
getOriginReportedStartTimeOrBuilderin interfaceReports.TraceOrBuilder
-
hasOriginReportedEndTime
public boolean hasOriginReportedEndTime().google.protobuf.Timestamp origin_reported_end_time = 16;- Specified by:
hasOriginReportedEndTimein interfaceReports.TraceOrBuilder- Returns:
- Whether the originReportedEndTime field is set.
-
getOriginReportedEndTime
public com.google.protobuf.Timestamp getOriginReportedEndTime().google.protobuf.Timestamp origin_reported_end_time = 16;- Specified by:
getOriginReportedEndTimein interfaceReports.TraceOrBuilder- Returns:
- The originReportedEndTime.
-
setOriginReportedEndTime
.google.protobuf.Timestamp origin_reported_end_time = 16; -
setOriginReportedEndTime
public Reports.Trace.Builder setOriginReportedEndTime(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp origin_reported_end_time = 16; -
mergeOriginReportedEndTime
.google.protobuf.Timestamp origin_reported_end_time = 16; -
clearOriginReportedEndTime
.google.protobuf.Timestamp origin_reported_end_time = 16; -
getOriginReportedEndTimeBuilder
public com.google.protobuf.Timestamp.Builder getOriginReportedEndTimeBuilder().google.protobuf.Timestamp origin_reported_end_time = 16; -
getOriginReportedEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getOriginReportedEndTimeOrBuilder().google.protobuf.Timestamp origin_reported_end_time = 16;- Specified by:
getOriginReportedEndTimeOrBuilderin interfaceReports.TraceOrBuilder
-
getOriginReportedDurationNs
public long getOriginReportedDurationNs()uint64 origin_reported_duration_ns = 17;- Specified by:
getOriginReportedDurationNsin interfaceReports.TraceOrBuilder- Returns:
- The originReportedDurationNs.
-
setOriginReportedDurationNs
uint64 origin_reported_duration_ns = 17;- Parameters:
value- The originReportedDurationNs to set.- Returns:
- This builder for chaining.
-
clearOriginReportedDurationNs
uint64 origin_reported_duration_ns = 17;- Returns:
- This builder for chaining.
-
getLegacySignatureNeedsResigning
Older agents (eg the Go engineproxy) relied to some degree on the Engine backend to run their own semi-compatible implementation of a specific variant of query signatures. The backend does not do this for new agents (which set the above 'signature' field). It used to still "re-sign" signatures from engineproxy, but we've now simplified the backend to no longer do this. Deprecated and ignored in FullTracesReports.
string legacy_signature_needs_resigning = 5;- Specified by:
getLegacySignatureNeedsResigningin interfaceReports.TraceOrBuilder- Returns:
- The legacySignatureNeedsResigning.
-
getLegacySignatureNeedsResigningBytes
public com.google.protobuf.ByteString getLegacySignatureNeedsResigningBytes()Older agents (eg the Go engineproxy) relied to some degree on the Engine backend to run their own semi-compatible implementation of a specific variant of query signatures. The backend does not do this for new agents (which set the above 'signature' field). It used to still "re-sign" signatures from engineproxy, but we've now simplified the backend to no longer do this. Deprecated and ignored in FullTracesReports.
string legacy_signature_needs_resigning = 5;- Specified by:
getLegacySignatureNeedsResigningBytesin interfaceReports.TraceOrBuilder- Returns:
- The bytes for legacySignatureNeedsResigning.
-
setLegacySignatureNeedsResigning
Older agents (eg the Go engineproxy) relied to some degree on the Engine backend to run their own semi-compatible implementation of a specific variant of query signatures. The backend does not do this for new agents (which set the above 'signature' field). It used to still "re-sign" signatures from engineproxy, but we've now simplified the backend to no longer do this. Deprecated and ignored in FullTracesReports.
string legacy_signature_needs_resigning = 5;- Parameters:
value- The legacySignatureNeedsResigning to set.- Returns:
- This builder for chaining.
-
clearLegacySignatureNeedsResigning
Older agents (eg the Go engineproxy) relied to some degree on the Engine backend to run their own semi-compatible implementation of a specific variant of query signatures. The backend does not do this for new agents (which set the above 'signature' field). It used to still "re-sign" signatures from engineproxy, but we've now simplified the backend to no longer do this. Deprecated and ignored in FullTracesReports.
string legacy_signature_needs_resigning = 5;- Returns:
- This builder for chaining.
-
setLegacySignatureNeedsResigningBytes
public Reports.Trace.Builder setLegacySignatureNeedsResigningBytes(com.google.protobuf.ByteString value) Older agents (eg the Go engineproxy) relied to some degree on the Engine backend to run their own semi-compatible implementation of a specific variant of query signatures. The backend does not do this for new agents (which set the above 'signature' field). It used to still "re-sign" signatures from engineproxy, but we've now simplified the backend to no longer do this. Deprecated and ignored in FullTracesReports.
string legacy_signature_needs_resigning = 5;- Parameters:
value- The bytes for legacySignatureNeedsResigning to set.- Returns:
- This builder for chaining.
-