Interface Reports.StatsReportOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Reports.StatsReport, Reports.StatsReport.Builder
Enclosing class:
Reports

public static interface Reports.StatsReportOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasHeader

      boolean hasHeader()
       required
       
      .mdg.engine.proto.ReportHeader header = 1;
      Returns:
      Whether the header field is set.
    • getHeader

       required
       
      .mdg.engine.proto.ReportHeader header = 1;
      Returns:
      The header.
    • getHeaderOrBuilder

      Reports.ReportHeaderOrBuilder getHeaderOrBuilder()
       required
       
      .mdg.engine.proto.ReportHeader header = 1;
    • hasMemStats

      boolean hasMemStats()
       These fields are about properties of the engineproxy and are not generated
       from FullTracesReports.
       
      .mdg.engine.proto.MemStats mem_stats = 2;
      Returns:
      Whether the memStats field is set.
    • getMemStats

      Reports.MemStats getMemStats()
       These fields are about properties of the engineproxy and are not generated
       from FullTracesReports.
       
      .mdg.engine.proto.MemStats mem_stats = 2;
      Returns:
      The memStats.
    • getMemStatsOrBuilder

      Reports.MemStatsOrBuilder getMemStatsOrBuilder()
       These fields are about properties of the engineproxy and are not generated
       from FullTracesReports.
       
      .mdg.engine.proto.MemStats mem_stats = 2;
    • hasTimeStats

      boolean hasTimeStats()
      .mdg.engine.proto.TimeStats time_stats = 3;
      Returns:
      Whether the timeStats field is set.
    • getTimeStats

      Reports.TimeStats getTimeStats()
      .mdg.engine.proto.TimeStats time_stats = 3;
      Returns:
      The timeStats.
    • getTimeStatsOrBuilder

      Reports.TimeStatsOrBuilder getTimeStatsOrBuilder()
      .mdg.engine.proto.TimeStats time_stats = 3;
    • hasStartTime

      boolean hasStartTime()
       Beginning of the period over which stats are collected.
       
      .google.protobuf.Timestamp start_time = 8;
      Returns:
      Whether the startTime field is set.
    • getStartTime

      com.google.protobuf.Timestamp getStartTime()
       Beginning of the period over which stats are collected.
       
      .google.protobuf.Timestamp start_time = 8;
      Returns:
      The startTime.
    • getStartTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
       Beginning of the period over which stats are collected.
       
      .google.protobuf.Timestamp start_time = 8;
    • hasEndTime

      boolean hasEndTime()
       End of the period of which stats are collected.
       
      .google.protobuf.Timestamp end_time = 9;
      Returns:
      Whether the endTime field is set.
    • getEndTime

      com.google.protobuf.Timestamp getEndTime()
       End of the period of which stats are collected.
       
      .google.protobuf.Timestamp end_time = 9;
      Returns:
      The endTime.
    • getEndTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
       End of the period of which stats are collected.
       
      .google.protobuf.Timestamp end_time = 9;
    • getRealtimeDuration

      long getRealtimeDuration()
       Only used to interpret mem_stats and time_stats; not generated from
       FullTracesReports.
       
      uint64 realtime_duration = 10;
      Returns:
      The realtimeDuration.
    • getPerQueryCount

      int getPerQueryCount()
       Maps from query descriptor to QueryStats. Required unless
       legacy_per_query_missing_operation_name is set. The keys are strings of the
       form `# operationName\nsignature` (literal hash and space), with
       operationName - if there is no operation name.
       
      map<string, .mdg.engine.proto.QueryStats> per_query = 14;
    • containsPerQuery

      boolean containsPerQuery(String key)
       Maps from query descriptor to QueryStats. Required unless
       legacy_per_query_missing_operation_name is set. The keys are strings of the
       form `# operationName\nsignature` (literal hash and space), with
       operationName - if there is no operation name.
       
      map<string, .mdg.engine.proto.QueryStats> per_query = 14;
    • getPerQuery

      Deprecated.
      Use getPerQueryMap() instead.
    • getPerQueryMap

      Map<String,Reports.QueryStats> getPerQueryMap()
       Maps from query descriptor to QueryStats. Required unless
       legacy_per_query_missing_operation_name is set. The keys are strings of the
       form `# operationName\nsignature` (literal hash and space), with
       operationName - if there is no operation name.
       
      map<string, .mdg.engine.proto.QueryStats> per_query = 14;
    • getPerQueryOrDefault

      Reports.QueryStats getPerQueryOrDefault(String key, Reports.QueryStats defaultValue)
       Maps from query descriptor to QueryStats. Required unless
       legacy_per_query_missing_operation_name is set. The keys are strings of the
       form `# operationName\nsignature` (literal hash and space), with
       operationName - if there is no operation name.
       
      map<string, .mdg.engine.proto.QueryStats> per_query = 14;
    • getPerQueryOrThrow

      Reports.QueryStats getPerQueryOrThrow(String key)
       Maps from query descriptor to QueryStats. Required unless
       legacy_per_query_missing_operation_name is set. The keys are strings of the
       form `# operationName\nsignature` (literal hash and space), with
       operationName - if there is no operation name.
       
      map<string, .mdg.engine.proto.QueryStats> per_query = 14;
    • getLegacyPerQueryImplicitOperationNameCount

      int getLegacyPerQueryImplicitOperationNameCount()
       Older agents (Go engineproxy) didn't explicitly include the operation name
       in the key of this map, and the server had to parse it out (after a
       re-signing operation which is no longer performed). The key here is just the query
       signature. Deprecated.
       
      map<string, .mdg.engine.proto.QueryStats> legacy_per_query_implicit_operation_name = 12;
    • containsLegacyPerQueryImplicitOperationName

      boolean containsLegacyPerQueryImplicitOperationName(String key)
       Older agents (Go engineproxy) didn't explicitly include the operation name
       in the key of this map, and the server had to parse it out (after a
       re-signing operation which is no longer performed). The key here is just the query
       signature. Deprecated.
       
      map<string, .mdg.engine.proto.QueryStats> legacy_per_query_implicit_operation_name = 12;
    • getLegacyPerQueryImplicitOperationName

      @Deprecated Map<String,Reports.QueryStats> getLegacyPerQueryImplicitOperationName()
      Deprecated.
    • getLegacyPerQueryImplicitOperationNameMap

      Map<String,Reports.QueryStats> getLegacyPerQueryImplicitOperationNameMap()
       Older agents (Go engineproxy) didn't explicitly include the operation name
       in the key of this map, and the server had to parse it out (after a
       re-signing operation which is no longer performed). The key here is just the query
       signature. Deprecated.
       
      map<string, .mdg.engine.proto.QueryStats> legacy_per_query_implicit_operation_name = 12;
    • getLegacyPerQueryImplicitOperationNameOrDefault

      Reports.QueryStats getLegacyPerQueryImplicitOperationNameOrDefault(String key, Reports.QueryStats defaultValue)
       Older agents (Go engineproxy) didn't explicitly include the operation name
       in the key of this map, and the server had to parse it out (after a
       re-signing operation which is no longer performed). The key here is just the query
       signature. Deprecated.
       
      map<string, .mdg.engine.proto.QueryStats> legacy_per_query_implicit_operation_name = 12;
    • getLegacyPerQueryImplicitOperationNameOrThrow

      Reports.QueryStats getLegacyPerQueryImplicitOperationNameOrThrow(String key)
       Older agents (Go engineproxy) didn't explicitly include the operation name
       in the key of this map, and the server had to parse it out (after a
       re-signing operation which is no longer performed). The key here is just the query
       signature. Deprecated.
       
      map<string, .mdg.engine.proto.QueryStats> legacy_per_query_implicit_operation_name = 12;
    • getTypeList

      List<Reports.Type> getTypeList()
       Deprecated: it was useful in Optics where we had access to the whole schema
       but has not been ever used in Engine.  apollo-engine-reporting will not
       send it.
       
      repeated .mdg.engine.proto.Type type = 13;
    • getType

      Reports.Type getType(int index)
       Deprecated: it was useful in Optics where we had access to the whole schema
       but has not been ever used in Engine.  apollo-engine-reporting will not
       send it.
       
      repeated .mdg.engine.proto.Type type = 13;
    • getTypeCount

      int getTypeCount()
       Deprecated: it was useful in Optics where we had access to the whole schema
       but has not been ever used in Engine.  apollo-engine-reporting will not
       send it.
       
      repeated .mdg.engine.proto.Type type = 13;
    • getTypeOrBuilderList

      List<? extends Reports.TypeOrBuilder> getTypeOrBuilderList()
       Deprecated: it was useful in Optics where we had access to the whole schema
       but has not been ever used in Engine.  apollo-engine-reporting will not
       send it.
       
      repeated .mdg.engine.proto.Type type = 13;
    • getTypeOrBuilder

      Reports.TypeOrBuilder getTypeOrBuilder(int index)
       Deprecated: it was useful in Optics where we had access to the whole schema
       but has not been ever used in Engine.  apollo-engine-reporting will not
       send it.
       
      repeated .mdg.engine.proto.Type type = 13;