Class Reports.QueryStats

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
mdg.engine.proto.Reports.QueryStats
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, Reports.QueryStatsOrBuilder
Enclosing class:
Reports

public static final class Reports.QueryStats extends com.google.protobuf.GeneratedMessage implements Reports.QueryStatsOrBuilder
Protobuf type mdg.engine.proto.QueryStats
See Also:
  • Field Details

    • PER_CLIENT_NAME_FIELD_NUMBER

      public static final int PER_CLIENT_NAME_FIELD_NUMBER
      See Also:
    • QUERY_STATS_WITH_CONTEXT_FIELD_NUMBER

      public static final int QUERY_STATS_WITH_CONTEXT_FIELD_NUMBER
      See Also:
    • PER_TYPE_FIELD_NUMBER

      public static final int PER_TYPE_FIELD_NUMBER
      See Also:
    • PER_TYPE_STAT_FIELD_NUMBER

      public static final int PER_TYPE_STAT_FIELD_NUMBER
      See Also:
    • TYPE_STATS_WITH_CONTEXT_FIELD_NUMBER

      public static final int TYPE_STATS_WITH_CONTEXT_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getPerClientNameCount

      public int getPerClientNameCount()
      Description copied from interface: Reports.QueryStatsOrBuilder
       Either per_client_name (for back-compat) or query_stats_with_context must be specified. If both are
       specified, then query_stats_with_context will be used and per_client_name will be ignored. Although
       the fields in ClientNameStats mention things "per-version," the information in the "per-version"
       fields will only ever be over the default version, the empty String: "", if arrived at via the
       FullTracesAggregator.
       
      map<string, .mdg.engine.proto.ClientNameStats> per_client_name = 1;
      Specified by:
      getPerClientNameCount in interface Reports.QueryStatsOrBuilder
    • containsPerClientName

      public boolean containsPerClientName(String key)
       Either per_client_name (for back-compat) or query_stats_with_context must be specified. If both are
       specified, then query_stats_with_context will be used and per_client_name will be ignored. Although
       the fields in ClientNameStats mention things "per-version," the information in the "per-version"
       fields will only ever be over the default version, the empty String: "", if arrived at via the
       FullTracesAggregator.
       
      map<string, .mdg.engine.proto.ClientNameStats> per_client_name = 1;
      Specified by:
      containsPerClientName in interface Reports.QueryStatsOrBuilder
    • getPerClientName

      @Deprecated public Map<String,Reports.ClientNameStats> getPerClientName()
      Deprecated.
      Specified by:
      getPerClientName in interface Reports.QueryStatsOrBuilder
    • getPerClientNameMap

      public Map<String,Reports.ClientNameStats> getPerClientNameMap()
       Either per_client_name (for back-compat) or query_stats_with_context must be specified. If both are
       specified, then query_stats_with_context will be used and per_client_name will be ignored. Although
       the fields in ClientNameStats mention things "per-version," the information in the "per-version"
       fields will only ever be over the default version, the empty String: "", if arrived at via the
       FullTracesAggregator.
       
      map<string, .mdg.engine.proto.ClientNameStats> per_client_name = 1;
      Specified by:
      getPerClientNameMap in interface Reports.QueryStatsOrBuilder
    • getPerClientNameOrDefault

      public Reports.ClientNameStats getPerClientNameOrDefault(String key, Reports.ClientNameStats defaultValue)
       Either per_client_name (for back-compat) or query_stats_with_context must be specified. If both are
       specified, then query_stats_with_context will be used and per_client_name will be ignored. Although
       the fields in ClientNameStats mention things "per-version," the information in the "per-version"
       fields will only ever be over the default version, the empty String: "", if arrived at via the
       FullTracesAggregator.
       
      map<string, .mdg.engine.proto.ClientNameStats> per_client_name = 1;
      Specified by:
      getPerClientNameOrDefault in interface Reports.QueryStatsOrBuilder
    • getPerClientNameOrThrow

      public Reports.ClientNameStats getPerClientNameOrThrow(String key)
       Either per_client_name (for back-compat) or query_stats_with_context must be specified. If both are
       specified, then query_stats_with_context will be used and per_client_name will be ignored. Although
       the fields in ClientNameStats mention things "per-version," the information in the "per-version"
       fields will only ever be over the default version, the empty String: "", if arrived at via the
       FullTracesAggregator.
       
      map<string, .mdg.engine.proto.ClientNameStats> per_client_name = 1;
      Specified by:
      getPerClientNameOrThrow in interface Reports.QueryStatsOrBuilder
    • getQueryStatsWithContextList

      public List<Reports.ContextualizedQueryLatencyStats> getQueryStatsWithContextList()
      repeated .mdg.engine.proto.ContextualizedQueryLatencyStats query_stats_with_context = 4;
      Specified by:
      getQueryStatsWithContextList in interface Reports.QueryStatsOrBuilder
    • getQueryStatsWithContextOrBuilderList

      public List<? extends Reports.ContextualizedQueryLatencyStatsOrBuilder> getQueryStatsWithContextOrBuilderList()
      repeated .mdg.engine.proto.ContextualizedQueryLatencyStats query_stats_with_context = 4;
      Specified by:
      getQueryStatsWithContextOrBuilderList in interface Reports.QueryStatsOrBuilder
    • getQueryStatsWithContextCount

      public int getQueryStatsWithContextCount()
      repeated .mdg.engine.proto.ContextualizedQueryLatencyStats query_stats_with_context = 4;
      Specified by:
      getQueryStatsWithContextCount in interface Reports.QueryStatsOrBuilder
    • getQueryStatsWithContext

      public Reports.ContextualizedQueryLatencyStats getQueryStatsWithContext(int index)
      repeated .mdg.engine.proto.ContextualizedQueryLatencyStats query_stats_with_context = 4;
      Specified by:
      getQueryStatsWithContext in interface Reports.QueryStatsOrBuilder
    • getQueryStatsWithContextOrBuilder

      public Reports.ContextualizedQueryLatencyStatsOrBuilder getQueryStatsWithContextOrBuilder(int index)
      repeated .mdg.engine.proto.ContextualizedQueryLatencyStats query_stats_with_context = 4;
      Specified by:
      getQueryStatsWithContextOrBuilder in interface Reports.QueryStatsOrBuilder
    • getPerTypeList

      public List<Reports.TypeStat> getPerTypeList()
       deprecated; use type_stats_with_context instead
       
      repeated .mdg.engine.proto.TypeStat per_type = 2;
      Specified by:
      getPerTypeList in interface Reports.QueryStatsOrBuilder
    • getPerTypeOrBuilderList

      public List<? extends Reports.TypeStatOrBuilder> getPerTypeOrBuilderList()
       deprecated; use type_stats_with_context instead
       
      repeated .mdg.engine.proto.TypeStat per_type = 2;
      Specified by:
      getPerTypeOrBuilderList in interface Reports.QueryStatsOrBuilder
    • getPerTypeCount

      public int getPerTypeCount()
       deprecated; use type_stats_with_context instead
       
      repeated .mdg.engine.proto.TypeStat per_type = 2;
      Specified by:
      getPerTypeCount in interface Reports.QueryStatsOrBuilder
    • getPerType

      public Reports.TypeStat getPerType(int index)
       deprecated; use type_stats_with_context instead
       
      repeated .mdg.engine.proto.TypeStat per_type = 2;
      Specified by:
      getPerType in interface Reports.QueryStatsOrBuilder
    • getPerTypeOrBuilder

      public Reports.TypeStatOrBuilder getPerTypeOrBuilder(int index)
       deprecated; use type_stats_with_context instead
       
      repeated .mdg.engine.proto.TypeStat per_type = 2;
      Specified by:
      getPerTypeOrBuilder in interface Reports.QueryStatsOrBuilder
    • getPerTypeStatCount

      public int getPerTypeStatCount()
      Description copied from interface: Reports.QueryStatsOrBuilder
       Key is the parent type, e.g. "User" for User.email:String!
       
      map<string, .mdg.engine.proto.TypeStat> per_type_stat = 3;
      Specified by:
      getPerTypeStatCount in interface Reports.QueryStatsOrBuilder
    • containsPerTypeStat

      public boolean containsPerTypeStat(String key)
       Key is the parent type, e.g. "User" for User.email:String!
       
      map<string, .mdg.engine.proto.TypeStat> per_type_stat = 3;
      Specified by:
      containsPerTypeStat in interface Reports.QueryStatsOrBuilder
    • getPerTypeStat

      @Deprecated public Map<String,Reports.TypeStat> getPerTypeStat()
      Deprecated.
      Use getPerTypeStatMap() instead.
      Specified by:
      getPerTypeStat in interface Reports.QueryStatsOrBuilder
    • getPerTypeStatMap

      public Map<String,Reports.TypeStat> getPerTypeStatMap()
       Key is the parent type, e.g. "User" for User.email:String!
       
      map<string, .mdg.engine.proto.TypeStat> per_type_stat = 3;
      Specified by:
      getPerTypeStatMap in interface Reports.QueryStatsOrBuilder
    • getPerTypeStatOrDefault

      public Reports.TypeStat getPerTypeStatOrDefault(String key, Reports.TypeStat defaultValue)
       Key is the parent type, e.g. "User" for User.email:String!
       
      map<string, .mdg.engine.proto.TypeStat> per_type_stat = 3;
      Specified by:
      getPerTypeStatOrDefault in interface Reports.QueryStatsOrBuilder
    • getPerTypeStatOrThrow

      public Reports.TypeStat getPerTypeStatOrThrow(String key)
       Key is the parent type, e.g. "User" for User.email:String!
       
      map<string, .mdg.engine.proto.TypeStat> per_type_stat = 3;
      Specified by:
      getPerTypeStatOrThrow in interface Reports.QueryStatsOrBuilder
    • getTypeStatsWithContextList

      public List<Reports.ContextualizedTypeStats> getTypeStatsWithContextList()
      repeated .mdg.engine.proto.ContextualizedTypeStats type_stats_with_context = 5;
      Specified by:
      getTypeStatsWithContextList in interface Reports.QueryStatsOrBuilder
    • getTypeStatsWithContextOrBuilderList

      public List<? extends Reports.ContextualizedTypeStatsOrBuilder> getTypeStatsWithContextOrBuilderList()
      repeated .mdg.engine.proto.ContextualizedTypeStats type_stats_with_context = 5;
      Specified by:
      getTypeStatsWithContextOrBuilderList in interface Reports.QueryStatsOrBuilder
    • getTypeStatsWithContextCount

      public int getTypeStatsWithContextCount()
      repeated .mdg.engine.proto.ContextualizedTypeStats type_stats_with_context = 5;
      Specified by:
      getTypeStatsWithContextCount in interface Reports.QueryStatsOrBuilder
    • getTypeStatsWithContext

      public Reports.ContextualizedTypeStats getTypeStatsWithContext(int index)
      repeated .mdg.engine.proto.ContextualizedTypeStats type_stats_with_context = 5;
      Specified by:
      getTypeStatsWithContext in interface Reports.QueryStatsOrBuilder
    • getTypeStatsWithContextOrBuilder

      public Reports.ContextualizedTypeStatsOrBuilder getTypeStatsWithContextOrBuilder(int index)
      repeated .mdg.engine.proto.ContextualizedTypeStats type_stats_with_context = 5;
      Specified by:
      getTypeStatsWithContextOrBuilder in interface Reports.QueryStatsOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Reports.QueryStats parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Reports.QueryStats parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Reports.QueryStats parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Reports.QueryStats parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Reports.QueryStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Reports.QueryStats parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Reports.QueryStats parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Reports.QueryStats parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Reports.QueryStats parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Reports.QueryStats parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Reports.QueryStats parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Reports.QueryStats parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Reports.QueryStats.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Reports.QueryStats.Builder newBuilder()
    • newBuilder

      public static Reports.QueryStats.Builder newBuilder(Reports.QueryStats prototype)
    • toBuilder

      public Reports.QueryStats.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Reports.QueryStats.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Reports.QueryStats getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Reports.QueryStats> parser()
    • getParserForType

      public com.google.protobuf.Parser<Reports.QueryStats> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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