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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Reports.Trace.Builder>
    • clear

      public Reports.Trace.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Reports.Trace.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Reports.Trace.Builder>
    • getDefaultInstanceForType

      public Reports.Trace getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Reports.Trace build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Reports.Trace buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Reports.Trace.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Reports.Trace.Builder>
    • mergeFrom

      public Reports.Trace.Builder mergeFrom(Reports.Trace other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      hasStartTime in interface Reports.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:
      getStartTime in interface Reports.TraceOrBuilder
      Returns:
      The startTime.
    • setStartTime

      public Reports.Trace.Builder setStartTime(com.google.protobuf.Timestamp value)
       Wallclock time when the trace began.
       
      .google.protobuf.Timestamp start_time = 4;
    • setStartTime

      public Reports.Trace.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Wallclock time when the trace began.
       
      .google.protobuf.Timestamp start_time = 4;
    • mergeStartTime

      public Reports.Trace.Builder mergeStartTime(com.google.protobuf.Timestamp value)
       Wallclock time when the trace began.
       
      .google.protobuf.Timestamp start_time = 4;
    • clearStartTime

      public Reports.Trace.Builder 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:
      getStartTimeOrBuilder in interface Reports.TraceOrBuilder
    • hasEndTime

      public boolean hasEndTime()
       Wallclock time when the trace ended.
       
      .google.protobuf.Timestamp end_time = 3;
      Specified by:
      hasEndTime in interface Reports.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:
      getEndTime in interface Reports.TraceOrBuilder
      Returns:
      The endTime.
    • setEndTime

      public Reports.Trace.Builder setEndTime(com.google.protobuf.Timestamp value)
       Wallclock time when the trace ended.
       
      .google.protobuf.Timestamp end_time = 3;
    • setEndTime

      public Reports.Trace.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Wallclock time when the trace ended.
       
      .google.protobuf.Timestamp end_time = 3;
    • mergeEndTime

      public Reports.Trace.Builder mergeEndTime(com.google.protobuf.Timestamp value)
       Wallclock time when the trace ended.
       
      .google.protobuf.Timestamp end_time = 3;
    • clearEndTime

      public Reports.Trace.Builder 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:
      getEndTimeOrBuilder in interface Reports.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:
      getDurationNs in interface Reports.TraceOrBuilder
      Returns:
      The durationNs.
    • setDurationNs

      public Reports.Trace.Builder 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).
       
      uint64 duration_ns = 11;
      Parameters:
      value - The durationNs to set.
      Returns:
      This builder for chaining.
    • clearDurationNs

      public Reports.Trace.Builder 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:
      hasRoot in interface Reports.TraceOrBuilder
      Returns:
      Whether the root field is set.
    • getRoot

      public Reports.Trace.Node getRoot()
       A tree containing information about all resolvers run directly by this
       service, including errors.
       
      .mdg.engine.proto.Trace.Node root = 14;
      Specified by:
      getRoot in interface Reports.TraceOrBuilder
      Returns:
      The root.
    • setRoot

      public Reports.Trace.Builder setRoot(Reports.Trace.Node value)
       A tree containing information about all resolvers run directly by this
       service, including errors.
       
      .mdg.engine.proto.Trace.Node root = 14;
    • setRoot

      public Reports.Trace.Builder setRoot(Reports.Trace.Node.Builder builderForValue)
       A tree containing information about all resolvers run directly by this
       service, including errors.
       
      .mdg.engine.proto.Trace.Node root = 14;
    • mergeRoot

      public Reports.Trace.Builder mergeRoot(Reports.Trace.Node value)
       A tree containing information about all resolvers run directly by this
       service, including errors.
       
      .mdg.engine.proto.Trace.Node root = 14;
    • clearRoot

      public Reports.Trace.Builder clearRoot()
       A tree containing information about all resolvers run directly by this
       service, including errors.
       
      .mdg.engine.proto.Trace.Node root = 14;
    • getRootBuilder

      public Reports.Trace.Node.Builder getRootBuilder()
       A tree containing information about all resolvers run directly by this
       service, including errors.
       
      .mdg.engine.proto.Trace.Node root = 14;
    • getRootOrBuilder

      public Reports.Trace.NodeOrBuilder getRootOrBuilder()
       A tree containing information about all resolvers run directly by this
       service, including errors.
       
      .mdg.engine.proto.Trace.Node root = 14;
      Specified by:
      getRootOrBuilder in interface Reports.TraceOrBuilder
    • getSignature

      public String 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:
      getSignature in interface Reports.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:
      getSignatureBytes in interface Reports.TraceOrBuilder
      Returns:
      The bytes for signature.
    • setSignature

      public Reports.Trace.Builder 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. 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

      public Reports.Trace.Builder 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

      public Reports.Trace.Builder 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. 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:
      hasDetails in interface Reports.TraceOrBuilder
      Returns:
      Whether the details field is set.
    • getDetails

      public Reports.Trace.Details getDetails()
      .mdg.engine.proto.Trace.Details details = 6;
      Specified by:
      getDetails in interface Reports.TraceOrBuilder
      Returns:
      The details.
    • setDetails

      public Reports.Trace.Builder setDetails(Reports.Trace.Details value)
      .mdg.engine.proto.Trace.Details details = 6;
    • setDetails

      public Reports.Trace.Builder setDetails(Reports.Trace.Details.Builder builderForValue)
      .mdg.engine.proto.Trace.Details details = 6;
    • mergeDetails

      public Reports.Trace.Builder mergeDetails(Reports.Trace.Details value)
      .mdg.engine.proto.Trace.Details details = 6;
    • clearDetails

      public Reports.Trace.Builder clearDetails()
      .mdg.engine.proto.Trace.Details details = 6;
    • getDetailsBuilder

      public Reports.Trace.Details.Builder getDetailsBuilder()
      .mdg.engine.proto.Trace.Details details = 6;
    • getDetailsOrBuilder

      public Reports.Trace.DetailsOrBuilder getDetailsOrBuilder()
      .mdg.engine.proto.Trace.Details details = 6;
      Specified by:
      getDetailsOrBuilder in interface Reports.TraceOrBuilder
    • getClientName

      public String 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:
      getClientName in interface Reports.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:
      getClientNameBytes in interface Reports.TraceOrBuilder
      Returns:
      The bytes for clientName.
    • setClientName

      public Reports.Trace.Builder setClientName(String value)
       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

      public Reports.Trace.Builder 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

      public Reports.Trace.Builder setClientNameBytes(com.google.protobuf.ByteString value)
       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

      public String getClientVersion()
      string client_version = 8;
      Specified by:
      getClientVersion in interface Reports.TraceOrBuilder
      Returns:
      The clientVersion.
    • getClientVersionBytes

      public com.google.protobuf.ByteString getClientVersionBytes()
      string client_version = 8;
      Specified by:
      getClientVersionBytes in interface Reports.TraceOrBuilder
      Returns:
      The bytes for clientVersion.
    • setClientVersion

      public Reports.Trace.Builder setClientVersion(String value)
      string client_version = 8;
      Parameters:
      value - The clientVersion to set.
      Returns:
      This builder for chaining.
    • clearClientVersion

      public Reports.Trace.Builder clearClientVersion()
      string client_version = 8;
      Returns:
      This builder for chaining.
    • setClientVersionBytes

      public Reports.Trace.Builder setClientVersionBytes(com.google.protobuf.ByteString value)
      string client_version = 8;
      Parameters:
      value - The bytes for clientVersion to set.
      Returns:
      This builder for chaining.
    • getClientAddress

      public String getClientAddress()
      string client_address = 9;
      Specified by:
      getClientAddress in interface Reports.TraceOrBuilder
      Returns:
      The clientAddress.
    • getClientAddressBytes

      public com.google.protobuf.ByteString getClientAddressBytes()
      string client_address = 9;
      Specified by:
      getClientAddressBytes in interface Reports.TraceOrBuilder
      Returns:
      The bytes for clientAddress.
    • setClientAddress

      public Reports.Trace.Builder setClientAddress(String value)
      string client_address = 9;
      Parameters:
      value - The clientAddress to set.
      Returns:
      This builder for chaining.
    • clearClientAddress

      public Reports.Trace.Builder clearClientAddress()
      string client_address = 9;
      Returns:
      This builder for chaining.
    • setClientAddressBytes

      public Reports.Trace.Builder setClientAddressBytes(com.google.protobuf.ByteString value)
      string client_address = 9;
      Parameters:
      value - The bytes for clientAddress to set.
      Returns:
      This builder for chaining.
    • getClientReferenceId

      public String getClientReferenceId()
      string client_reference_id = 23;
      Specified by:
      getClientReferenceId in interface Reports.TraceOrBuilder
      Returns:
      The clientReferenceId.
    • getClientReferenceIdBytes

      public com.google.protobuf.ByteString getClientReferenceIdBytes()
      string client_reference_id = 23;
      Specified by:
      getClientReferenceIdBytes in interface Reports.TraceOrBuilder
      Returns:
      The bytes for clientReferenceId.
    • setClientReferenceId

      public Reports.Trace.Builder setClientReferenceId(String value)
      string client_reference_id = 23;
      Parameters:
      value - The clientReferenceId to set.
      Returns:
      This builder for chaining.
    • clearClientReferenceId

      public Reports.Trace.Builder clearClientReferenceId()
      string client_reference_id = 23;
      Returns:
      This builder for chaining.
    • setClientReferenceIdBytes

      public Reports.Trace.Builder setClientReferenceIdBytes(com.google.protobuf.ByteString value)
      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:
      hasHttp in interface Reports.TraceOrBuilder
      Returns:
      Whether the http field is set.
    • getHttp

      public Reports.Trace.HTTP getHttp()
      .mdg.engine.proto.Trace.HTTP http = 10;
      Specified by:
      getHttp in interface Reports.TraceOrBuilder
      Returns:
      The http.
    • setHttp

      public Reports.Trace.Builder setHttp(Reports.Trace.HTTP value)
      .mdg.engine.proto.Trace.HTTP http = 10;
    • setHttp

      public Reports.Trace.Builder setHttp(Reports.Trace.HTTP.Builder builderForValue)
      .mdg.engine.proto.Trace.HTTP http = 10;
    • mergeHttp

      public Reports.Trace.Builder mergeHttp(Reports.Trace.HTTP value)
      .mdg.engine.proto.Trace.HTTP http = 10;
    • clearHttp

      public Reports.Trace.Builder clearHttp()
      .mdg.engine.proto.Trace.HTTP http = 10;
    • getHttpBuilder

      public Reports.Trace.HTTP.Builder getHttpBuilder()
      .mdg.engine.proto.Trace.HTTP http = 10;
    • getHttpOrBuilder

      public Reports.Trace.HTTPOrBuilder getHttpOrBuilder()
      .mdg.engine.proto.Trace.HTTP http = 10;
      Specified by:
      getHttpOrBuilder in interface Reports.TraceOrBuilder
    • hasCachePolicy

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

      public Reports.Trace.CachePolicy getCachePolicy()
      .mdg.engine.proto.Trace.CachePolicy cache_policy = 18;
      Specified by:
      getCachePolicy in interface Reports.TraceOrBuilder
      Returns:
      The cachePolicy.
    • setCachePolicy

      public Reports.Trace.Builder setCachePolicy(Reports.Trace.CachePolicy value)
      .mdg.engine.proto.Trace.CachePolicy cache_policy = 18;
    • setCachePolicy

      public Reports.Trace.Builder setCachePolicy(Reports.Trace.CachePolicy.Builder builderForValue)
      .mdg.engine.proto.Trace.CachePolicy cache_policy = 18;
    • mergeCachePolicy

      public Reports.Trace.Builder mergeCachePolicy(Reports.Trace.CachePolicy value)
      .mdg.engine.proto.Trace.CachePolicy cache_policy = 18;
    • clearCachePolicy

      public Reports.Trace.Builder clearCachePolicy()
      .mdg.engine.proto.Trace.CachePolicy cache_policy = 18;
    • getCachePolicyBuilder

      public Reports.Trace.CachePolicy.Builder getCachePolicyBuilder()
      .mdg.engine.proto.Trace.CachePolicy cache_policy = 18;
    • getCachePolicyOrBuilder

      public Reports.Trace.CachePolicyOrBuilder getCachePolicyOrBuilder()
      .mdg.engine.proto.Trace.CachePolicy cache_policy = 18;
      Specified by:
      getCachePolicyOrBuilder in interface Reports.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:
      hasQueryPlan in interface Reports.TraceOrBuilder
      Returns:
      Whether the queryPlan field is set.
    • getQueryPlan

      public Reports.Trace.QueryPlanNode 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:
      getQueryPlan in interface Reports.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

      public Reports.Trace.Builder 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. 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

      public Reports.Trace.Builder mergeQueryPlan(Reports.Trace.QueryPlanNode value)
       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

      public Reports.Trace.Builder 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

      public Reports.Trace.QueryPlanNode.Builder 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

      public Reports.Trace.QueryPlanNodeOrBuilder 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:
      getQueryPlanOrBuilder in interface Reports.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:
      getFullQueryCacheHit in interface Reports.TraceOrBuilder
      Returns:
      The fullQueryCacheHit.
    • setFullQueryCacheHit

      public Reports.Trace.Builder setFullQueryCacheHit(boolean value)
       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

      public Reports.Trace.Builder 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:
      getPersistedQueryHit in interface Reports.TraceOrBuilder
      Returns:
      The persistedQueryHit.
    • setPersistedQueryHit

      public Reports.Trace.Builder setPersistedQueryHit(boolean value)
       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

      public Reports.Trace.Builder 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:
      getPersistedQueryRegister in interface Reports.TraceOrBuilder
      Returns:
      The persistedQueryRegister.
    • setPersistedQueryRegister

      public Reports.Trace.Builder 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.)
       
      bool persisted_query_register = 22;
      Parameters:
      value - The persistedQueryRegister to set.
      Returns:
      This builder for chaining.
    • clearPersistedQueryRegister

      public Reports.Trace.Builder 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:
      getRegisteredOperation in interface Reports.TraceOrBuilder
      Returns:
      The registeredOperation.
    • setRegisteredOperation

      public Reports.Trace.Builder setRegisteredOperation(boolean value)
       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

      public Reports.Trace.Builder 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:
      getForbiddenOperation in interface Reports.TraceOrBuilder
      Returns:
      The forbiddenOperation.
    • setForbiddenOperation

      public Reports.Trace.Builder setForbiddenOperation(boolean value)
       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

      public Reports.Trace.Builder 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:
      hasOriginReportedStartTime in interface Reports.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:
      getOriginReportedStartTime in interface Reports.TraceOrBuilder
      Returns:
      The originReportedStartTime.
    • setOriginReportedStartTime

      public Reports.Trace.Builder setOriginReportedStartTime(com.google.protobuf.Timestamp value)
       --------------------------------------------------------------
       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

      public Reports.Trace.Builder mergeOriginReportedStartTime(com.google.protobuf.Timestamp value)
       --------------------------------------------------------------
       Fields below this line are only set by the old Go engineproxy.
       
      .google.protobuf.Timestamp origin_reported_start_time = 15;
    • clearOriginReportedStartTime

      public Reports.Trace.Builder 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:
      getOriginReportedStartTimeOrBuilder in interface Reports.TraceOrBuilder
    • hasOriginReportedEndTime

      public boolean hasOriginReportedEndTime()
      .google.protobuf.Timestamp origin_reported_end_time = 16;
      Specified by:
      hasOriginReportedEndTime in interface Reports.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:
      getOriginReportedEndTime in interface Reports.TraceOrBuilder
      Returns:
      The originReportedEndTime.
    • setOriginReportedEndTime

      public Reports.Trace.Builder setOriginReportedEndTime(com.google.protobuf.Timestamp value)
      .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

      public Reports.Trace.Builder mergeOriginReportedEndTime(com.google.protobuf.Timestamp value)
      .google.protobuf.Timestamp origin_reported_end_time = 16;
    • clearOriginReportedEndTime

      public Reports.Trace.Builder 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:
      getOriginReportedEndTimeOrBuilder in interface Reports.TraceOrBuilder
    • getOriginReportedDurationNs

      public long getOriginReportedDurationNs()
      uint64 origin_reported_duration_ns = 17;
      Specified by:
      getOriginReportedDurationNs in interface Reports.TraceOrBuilder
      Returns:
      The originReportedDurationNs.
    • setOriginReportedDurationNs

      public Reports.Trace.Builder setOriginReportedDurationNs(long value)
      uint64 origin_reported_duration_ns = 17;
      Parameters:
      value - The originReportedDurationNs to set.
      Returns:
      This builder for chaining.
    • clearOriginReportedDurationNs

      public Reports.Trace.Builder clearOriginReportedDurationNs()
      uint64 origin_reported_duration_ns = 17;
      Returns:
      This builder for chaining.
    • getLegacySignatureNeedsResigning

      public String 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:
      getLegacySignatureNeedsResigning in interface Reports.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:
      getLegacySignatureNeedsResigningBytes in interface Reports.TraceOrBuilder
      Returns:
      The bytes for legacySignatureNeedsResigning.
    • setLegacySignatureNeedsResigning

      public Reports.Trace.Builder setLegacySignatureNeedsResigning(String 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 legacySignatureNeedsResigning to set.
      Returns:
      This builder for chaining.
    • clearLegacySignatureNeedsResigning

      public Reports.Trace.Builder 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.