Class Reports.QueryLatencyStats.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Reports.QueryLatencyStats.Builder>
mdg.engine.proto.Reports.QueryLatencyStats.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Reports.QueryLatencyStatsOrBuilder
Enclosing class:
Reports.QueryLatencyStats

public static final class Reports.QueryLatencyStats.Builder extends com.google.protobuf.GeneratedMessage.Builder<Reports.QueryLatencyStats.Builder> implements Reports.QueryLatencyStatsOrBuilder
Protobuf type mdg.engine.proto.QueryLatencyStats
  • 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.QueryLatencyStats.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.QueryLatencyStats.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.QueryLatencyStats.Builder>
    • getDefaultInstanceForType

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

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

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

      public Reports.QueryLatencyStats.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.QueryLatencyStats.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Reports.QueryLatencyStats.Builder>
    • mergeFrom

      public Reports.QueryLatencyStats.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.QueryLatencyStats.Builder>
      Throws:
      IOException
    • getLatencyCountList

      public List<Long> getLatencyCountList()
      repeated int64 latency_count = 1;
      Specified by:
      getLatencyCountList in interface Reports.QueryLatencyStatsOrBuilder
      Returns:
      A list containing the latencyCount.
    • getLatencyCountCount

      public int getLatencyCountCount()
      repeated int64 latency_count = 1;
      Specified by:
      getLatencyCountCount in interface Reports.QueryLatencyStatsOrBuilder
      Returns:
      The count of latencyCount.
    • getLatencyCount

      public long getLatencyCount(int index)
      repeated int64 latency_count = 1;
      Specified by:
      getLatencyCount in interface Reports.QueryLatencyStatsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The latencyCount at the given index.
    • setLatencyCount

      public Reports.QueryLatencyStats.Builder setLatencyCount(int index, long value)
      repeated int64 latency_count = 1;
      Parameters:
      index - The index to set the value at.
      value - The latencyCount to set.
      Returns:
      This builder for chaining.
    • addLatencyCount

      public Reports.QueryLatencyStats.Builder addLatencyCount(long value)
      repeated int64 latency_count = 1;
      Parameters:
      value - The latencyCount to add.
      Returns:
      This builder for chaining.
    • addAllLatencyCount

      public Reports.QueryLatencyStats.Builder addAllLatencyCount(Iterable<? extends Long> values)
      repeated int64 latency_count = 1;
      Parameters:
      values - The latencyCount to add.
      Returns:
      This builder for chaining.
    • clearLatencyCount

      public Reports.QueryLatencyStats.Builder clearLatencyCount()
      repeated int64 latency_count = 1;
      Returns:
      This builder for chaining.
    • getRequestCount

      public long getRequestCount()
      uint64 request_count = 2;
      Specified by:
      getRequestCount in interface Reports.QueryLatencyStatsOrBuilder
      Returns:
      The requestCount.
    • setRequestCount

      public Reports.QueryLatencyStats.Builder setRequestCount(long value)
      uint64 request_count = 2;
      Parameters:
      value - The requestCount to set.
      Returns:
      This builder for chaining.
    • clearRequestCount

      public Reports.QueryLatencyStats.Builder clearRequestCount()
      uint64 request_count = 2;
      Returns:
      This builder for chaining.
    • getCacheHits

      public long getCacheHits()
      uint64 cache_hits = 3;
      Specified by:
      getCacheHits in interface Reports.QueryLatencyStatsOrBuilder
      Returns:
      The cacheHits.
    • setCacheHits

      public Reports.QueryLatencyStats.Builder setCacheHits(long value)
      uint64 cache_hits = 3;
      Parameters:
      value - The cacheHits to set.
      Returns:
      This builder for chaining.
    • clearCacheHits

      public Reports.QueryLatencyStats.Builder clearCacheHits()
      uint64 cache_hits = 3;
      Returns:
      This builder for chaining.
    • getPersistedQueryHits

      public long getPersistedQueryHits()
      uint64 persisted_query_hits = 4;
      Specified by:
      getPersistedQueryHits in interface Reports.QueryLatencyStatsOrBuilder
      Returns:
      The persistedQueryHits.
    • setPersistedQueryHits

      public Reports.QueryLatencyStats.Builder setPersistedQueryHits(long value)
      uint64 persisted_query_hits = 4;
      Parameters:
      value - The persistedQueryHits to set.
      Returns:
      This builder for chaining.
    • clearPersistedQueryHits

      public Reports.QueryLatencyStats.Builder clearPersistedQueryHits()
      uint64 persisted_query_hits = 4;
      Returns:
      This builder for chaining.
    • getPersistedQueryMisses

      public long getPersistedQueryMisses()
      uint64 persisted_query_misses = 5;
      Specified by:
      getPersistedQueryMisses in interface Reports.QueryLatencyStatsOrBuilder
      Returns:
      The persistedQueryMisses.
    • setPersistedQueryMisses

      public Reports.QueryLatencyStats.Builder setPersistedQueryMisses(long value)
      uint64 persisted_query_misses = 5;
      Parameters:
      value - The persistedQueryMisses to set.
      Returns:
      This builder for chaining.
    • clearPersistedQueryMisses

      public Reports.QueryLatencyStats.Builder clearPersistedQueryMisses()
      uint64 persisted_query_misses = 5;
      Returns:
      This builder for chaining.
    • getCacheLatencyCountList

      public List<Long> getCacheLatencyCountList()
      repeated int64 cache_latency_count = 6;
      Specified by:
      getCacheLatencyCountList in interface Reports.QueryLatencyStatsOrBuilder
      Returns:
      A list containing the cacheLatencyCount.
    • getCacheLatencyCountCount

      public int getCacheLatencyCountCount()
      repeated int64 cache_latency_count = 6;
      Specified by:
      getCacheLatencyCountCount in interface Reports.QueryLatencyStatsOrBuilder
      Returns:
      The count of cacheLatencyCount.
    • getCacheLatencyCount

      public long getCacheLatencyCount(int index)
      repeated int64 cache_latency_count = 6;
      Specified by:
      getCacheLatencyCount in interface Reports.QueryLatencyStatsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The cacheLatencyCount at the given index.
    • setCacheLatencyCount

      public Reports.QueryLatencyStats.Builder setCacheLatencyCount(int index, long value)
      repeated int64 cache_latency_count = 6;
      Parameters:
      index - The index to set the value at.
      value - The cacheLatencyCount to set.
      Returns:
      This builder for chaining.
    • addCacheLatencyCount

      public Reports.QueryLatencyStats.Builder addCacheLatencyCount(long value)
      repeated int64 cache_latency_count = 6;
      Parameters:
      value - The cacheLatencyCount to add.
      Returns:
      This builder for chaining.
    • addAllCacheLatencyCount

      public Reports.QueryLatencyStats.Builder addAllCacheLatencyCount(Iterable<? extends Long> values)
      repeated int64 cache_latency_count = 6;
      Parameters:
      values - The cacheLatencyCount to add.
      Returns:
      This builder for chaining.
    • clearCacheLatencyCount

      public Reports.QueryLatencyStats.Builder clearCacheLatencyCount()
      repeated int64 cache_latency_count = 6;
      Returns:
      This builder for chaining.
    • hasRootErrorStats

      public boolean hasRootErrorStats()
      .mdg.engine.proto.PathErrorStats root_error_stats = 7;
      Specified by:
      hasRootErrorStats in interface Reports.QueryLatencyStatsOrBuilder
      Returns:
      Whether the rootErrorStats field is set.
    • getRootErrorStats

      public Reports.PathErrorStats getRootErrorStats()
      .mdg.engine.proto.PathErrorStats root_error_stats = 7;
      Specified by:
      getRootErrorStats in interface Reports.QueryLatencyStatsOrBuilder
      Returns:
      The rootErrorStats.
    • setRootErrorStats

      .mdg.engine.proto.PathErrorStats root_error_stats = 7;
    • setRootErrorStats

      public Reports.QueryLatencyStats.Builder setRootErrorStats(Reports.PathErrorStats.Builder builderForValue)
      .mdg.engine.proto.PathErrorStats root_error_stats = 7;
    • mergeRootErrorStats

      public Reports.QueryLatencyStats.Builder mergeRootErrorStats(Reports.PathErrorStats value)
      .mdg.engine.proto.PathErrorStats root_error_stats = 7;
    • clearRootErrorStats

      public Reports.QueryLatencyStats.Builder clearRootErrorStats()
      .mdg.engine.proto.PathErrorStats root_error_stats = 7;
    • getRootErrorStatsBuilder

      public Reports.PathErrorStats.Builder getRootErrorStatsBuilder()
      .mdg.engine.proto.PathErrorStats root_error_stats = 7;
    • getRootErrorStatsOrBuilder

      public Reports.PathErrorStatsOrBuilder getRootErrorStatsOrBuilder()
      .mdg.engine.proto.PathErrorStats root_error_stats = 7;
      Specified by:
      getRootErrorStatsOrBuilder in interface Reports.QueryLatencyStatsOrBuilder
    • getRequestsWithErrorsCount

      public long getRequestsWithErrorsCount()
      uint64 requests_with_errors_count = 8;
      Specified by:
      getRequestsWithErrorsCount in interface Reports.QueryLatencyStatsOrBuilder
      Returns:
      The requestsWithErrorsCount.
    • setRequestsWithErrorsCount

      public Reports.QueryLatencyStats.Builder setRequestsWithErrorsCount(long value)
      uint64 requests_with_errors_count = 8;
      Parameters:
      value - The requestsWithErrorsCount to set.
      Returns:
      This builder for chaining.
    • clearRequestsWithErrorsCount

      public Reports.QueryLatencyStats.Builder clearRequestsWithErrorsCount()
      uint64 requests_with_errors_count = 8;
      Returns:
      This builder for chaining.
    • getPublicCacheTtlCountList

      public List<Long> getPublicCacheTtlCountList()
      repeated int64 public_cache_ttl_count = 9;
      Specified by:
      getPublicCacheTtlCountList in interface Reports.QueryLatencyStatsOrBuilder
      Returns:
      A list containing the publicCacheTtlCount.
    • getPublicCacheTtlCountCount

      public int getPublicCacheTtlCountCount()
      repeated int64 public_cache_ttl_count = 9;
      Specified by:
      getPublicCacheTtlCountCount in interface Reports.QueryLatencyStatsOrBuilder
      Returns:
      The count of publicCacheTtlCount.
    • getPublicCacheTtlCount

      public long getPublicCacheTtlCount(int index)
      repeated int64 public_cache_ttl_count = 9;
      Specified by:
      getPublicCacheTtlCount in interface Reports.QueryLatencyStatsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The publicCacheTtlCount at the given index.
    • setPublicCacheTtlCount

      public Reports.QueryLatencyStats.Builder setPublicCacheTtlCount(int index, long value)
      repeated int64 public_cache_ttl_count = 9;
      Parameters:
      index - The index to set the value at.
      value - The publicCacheTtlCount to set.
      Returns:
      This builder for chaining.
    • addPublicCacheTtlCount

      public Reports.QueryLatencyStats.Builder addPublicCacheTtlCount(long value)
      repeated int64 public_cache_ttl_count = 9;
      Parameters:
      value - The publicCacheTtlCount to add.
      Returns:
      This builder for chaining.
    • addAllPublicCacheTtlCount

      public Reports.QueryLatencyStats.Builder addAllPublicCacheTtlCount(Iterable<? extends Long> values)
      repeated int64 public_cache_ttl_count = 9;
      Parameters:
      values - The publicCacheTtlCount to add.
      Returns:
      This builder for chaining.
    • clearPublicCacheTtlCount

      public Reports.QueryLatencyStats.Builder clearPublicCacheTtlCount()
      repeated int64 public_cache_ttl_count = 9;
      Returns:
      This builder for chaining.
    • getPrivateCacheTtlCountList

      public List<Long> getPrivateCacheTtlCountList()
      repeated int64 private_cache_ttl_count = 10;
      Specified by:
      getPrivateCacheTtlCountList in interface Reports.QueryLatencyStatsOrBuilder
      Returns:
      A list containing the privateCacheTtlCount.
    • getPrivateCacheTtlCountCount

      public int getPrivateCacheTtlCountCount()
      repeated int64 private_cache_ttl_count = 10;
      Specified by:
      getPrivateCacheTtlCountCount in interface Reports.QueryLatencyStatsOrBuilder
      Returns:
      The count of privateCacheTtlCount.
    • getPrivateCacheTtlCount

      public long getPrivateCacheTtlCount(int index)
      repeated int64 private_cache_ttl_count = 10;
      Specified by:
      getPrivateCacheTtlCount in interface Reports.QueryLatencyStatsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The privateCacheTtlCount at the given index.
    • setPrivateCacheTtlCount

      public Reports.QueryLatencyStats.Builder setPrivateCacheTtlCount(int index, long value)
      repeated int64 private_cache_ttl_count = 10;
      Parameters:
      index - The index to set the value at.
      value - The privateCacheTtlCount to set.
      Returns:
      This builder for chaining.
    • addPrivateCacheTtlCount

      public Reports.QueryLatencyStats.Builder addPrivateCacheTtlCount(long value)
      repeated int64 private_cache_ttl_count = 10;
      Parameters:
      value - The privateCacheTtlCount to add.
      Returns:
      This builder for chaining.
    • addAllPrivateCacheTtlCount

      public Reports.QueryLatencyStats.Builder addAllPrivateCacheTtlCount(Iterable<? extends Long> values)
      repeated int64 private_cache_ttl_count = 10;
      Parameters:
      values - The privateCacheTtlCount to add.
      Returns:
      This builder for chaining.
    • clearPrivateCacheTtlCount

      public Reports.QueryLatencyStats.Builder clearPrivateCacheTtlCount()
      repeated int64 private_cache_ttl_count = 10;
      Returns:
      This builder for chaining.
    • getRegisteredOperationCount

      public long getRegisteredOperationCount()
      uint64 registered_operation_count = 11;
      Specified by:
      getRegisteredOperationCount in interface Reports.QueryLatencyStatsOrBuilder
      Returns:
      The registeredOperationCount.
    • setRegisteredOperationCount

      public Reports.QueryLatencyStats.Builder setRegisteredOperationCount(long value)
      uint64 registered_operation_count = 11;
      Parameters:
      value - The registeredOperationCount to set.
      Returns:
      This builder for chaining.
    • clearRegisteredOperationCount

      public Reports.QueryLatencyStats.Builder clearRegisteredOperationCount()
      uint64 registered_operation_count = 11;
      Returns:
      This builder for chaining.
    • getForbiddenOperationCount

      public long getForbiddenOperationCount()
      uint64 forbidden_operation_count = 12;
      Specified by:
      getForbiddenOperationCount in interface Reports.QueryLatencyStatsOrBuilder
      Returns:
      The forbiddenOperationCount.
    • setForbiddenOperationCount

      public Reports.QueryLatencyStats.Builder setForbiddenOperationCount(long value)
      uint64 forbidden_operation_count = 12;
      Parameters:
      value - The forbiddenOperationCount to set.
      Returns:
      This builder for chaining.
    • clearForbiddenOperationCount

      public Reports.QueryLatencyStats.Builder clearForbiddenOperationCount()
      uint64 forbidden_operation_count = 12;
      Returns:
      This builder for chaining.