// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: grpc/testing/stats.proto

package io.grpc.benchmarks.proto;

public final class Stats {
  private Stats() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface ServerStatsOrBuilder extends
      // @@protoc_insertion_point(interface_extends:grpc.testing.ServerStats)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <pre>
     * wall clock time change in seconds since last reset
     * </pre>
     *
     * <code>double time_elapsed = 1;</code>
     */
    double getTimeElapsed();

    /**
     * <pre>
     * change in user time (in seconds) used by the server since last reset
     * </pre>
     *
     * <code>double time_user = 2;</code>
     */
    double getTimeUser();

    /**
     * <pre>
     * change in server time (in seconds) used by the server process and all
     * threads since last reset
     * </pre>
     *
     * <code>double time_system = 3;</code>
     */
    double getTimeSystem();

    /**
     * <pre>
     * change in total cpu time of the server (data from proc/stat)
     * </pre>
     *
     * <code>uint64 total_cpu_time = 4;</code>
     */
    long getTotalCpuTime();

    /**
     * <pre>
     * change in idle time of the server (data from proc/stat)
     * </pre>
     *
     * <code>uint64 idle_cpu_time = 5;</code>
     */
    long getIdleCpuTime();

    /**
     * <pre>
     * Number of polls called inside completion queue
     * </pre>
     *
     * <code>uint64 cq_poll_count = 6;</code>
     */
    long getCqPollCount();
  }
  /**
   * Protobuf type {@code grpc.testing.ServerStats}
   */
  public  static final class ServerStats extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:grpc.testing.ServerStats)
      ServerStatsOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ServerStats.newBuilder() to construct.
    private ServerStats(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private ServerStats() {
      timeElapsed_ = 0D;
      timeUser_ = 0D;
      timeSystem_ = 0D;
      totalCpuTime_ = 0L;
      idleCpuTime_ = 0L;
      cqPollCount_ = 0L;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private ServerStats(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownFieldProto3(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 9: {

              timeElapsed_ = input.readDouble();
              break;
            }
            case 17: {

              timeUser_ = input.readDouble();
              break;
            }
            case 25: {

              timeSystem_ = input.readDouble();
              break;
            }
            case 32: {

              totalCpuTime_ = input.readUInt64();
              break;
            }
            case 40: {

              idleCpuTime_ = input.readUInt64();
              break;
            }
            case 48: {

              cqPollCount_ = input.readUInt64();
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_ServerStats_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_ServerStats_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.grpc.benchmarks.proto.Stats.ServerStats.class, io.grpc.benchmarks.proto.Stats.ServerStats.Builder.class);
    }

    public static final int TIME_ELAPSED_FIELD_NUMBER = 1;
    private double timeElapsed_;
    /**
     * <pre>
     * wall clock time change in seconds since last reset
     * </pre>
     *
     * <code>double time_elapsed = 1;</code>
     */
    public double getTimeElapsed() {
      return timeElapsed_;
    }

    public static final int TIME_USER_FIELD_NUMBER = 2;
    private double timeUser_;
    /**
     * <pre>
     * change in user time (in seconds) used by the server since last reset
     * </pre>
     *
     * <code>double time_user = 2;</code>
     */
    public double getTimeUser() {
      return timeUser_;
    }

    public static final int TIME_SYSTEM_FIELD_NUMBER = 3;
    private double timeSystem_;
    /**
     * <pre>
     * change in server time (in seconds) used by the server process and all
     * threads since last reset
     * </pre>
     *
     * <code>double time_system = 3;</code>
     */
    public double getTimeSystem() {
      return timeSystem_;
    }

    public static final int TOTAL_CPU_TIME_FIELD_NUMBER = 4;
    private long totalCpuTime_;
    /**
     * <pre>
     * change in total cpu time of the server (data from proc/stat)
     * </pre>
     *
     * <code>uint64 total_cpu_time = 4;</code>
     */
    public long getTotalCpuTime() {
      return totalCpuTime_;
    }

    public static final int IDLE_CPU_TIME_FIELD_NUMBER = 5;
    private long idleCpuTime_;
    /**
     * <pre>
     * change in idle time of the server (data from proc/stat)
     * </pre>
     *
     * <code>uint64 idle_cpu_time = 5;</code>
     */
    public long getIdleCpuTime() {
      return idleCpuTime_;
    }

    public static final int CQ_POLL_COUNT_FIELD_NUMBER = 6;
    private long cqPollCount_;
    /**
     * <pre>
     * Number of polls called inside completion queue
     * </pre>
     *
     * <code>uint64 cq_poll_count = 6;</code>
     */
    public long getCqPollCount() {
      return cqPollCount_;
    }

    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (timeElapsed_ != 0D) {
        output.writeDouble(1, timeElapsed_);
      }
      if (timeUser_ != 0D) {
        output.writeDouble(2, timeUser_);
      }
      if (timeSystem_ != 0D) {
        output.writeDouble(3, timeSystem_);
      }
      if (totalCpuTime_ != 0L) {
        output.writeUInt64(4, totalCpuTime_);
      }
      if (idleCpuTime_ != 0L) {
        output.writeUInt64(5, idleCpuTime_);
      }
      if (cqPollCount_ != 0L) {
        output.writeUInt64(6, cqPollCount_);
      }
      unknownFields.writeTo(output);
    }

    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (timeElapsed_ != 0D) {
        size += com.google.protobuf.CodedOutputStream
          .computeDoubleSize(1, timeElapsed_);
      }
      if (timeUser_ != 0D) {
        size += com.google.protobuf.CodedOutputStream
          .computeDoubleSize(2, timeUser_);
      }
      if (timeSystem_ != 0D) {
        size += com.google.protobuf.CodedOutputStream
          .computeDoubleSize(3, timeSystem_);
      }
      if (totalCpuTime_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(4, totalCpuTime_);
      }
      if (idleCpuTime_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(5, idleCpuTime_);
      }
      if (cqPollCount_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(6, cqPollCount_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof io.grpc.benchmarks.proto.Stats.ServerStats)) {
        return super.equals(obj);
      }
      io.grpc.benchmarks.proto.Stats.ServerStats other = (io.grpc.benchmarks.proto.Stats.ServerStats) obj;

      boolean result = true;
      result = result && (
          java.lang.Double.doubleToLongBits(getTimeElapsed())
          == java.lang.Double.doubleToLongBits(
              other.getTimeElapsed()));
      result = result && (
          java.lang.Double.doubleToLongBits(getTimeUser())
          == java.lang.Double.doubleToLongBits(
              other.getTimeUser()));
      result = result && (
          java.lang.Double.doubleToLongBits(getTimeSystem())
          == java.lang.Double.doubleToLongBits(
              other.getTimeSystem()));
      result = result && (getTotalCpuTime()
          == other.getTotalCpuTime());
      result = result && (getIdleCpuTime()
          == other.getIdleCpuTime());
      result = result && (getCqPollCount()
          == other.getCqPollCount());
      result = result && unknownFields.equals(other.unknownFields);
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + TIME_ELAPSED_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          java.lang.Double.doubleToLongBits(getTimeElapsed()));
      hash = (37 * hash) + TIME_USER_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          java.lang.Double.doubleToLongBits(getTimeUser()));
      hash = (37 * hash) + TIME_SYSTEM_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          java.lang.Double.doubleToLongBits(getTimeSystem()));
      hash = (37 * hash) + TOTAL_CPU_TIME_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getTotalCpuTime());
      hash = (37 * hash) + IDLE_CPU_TIME_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getIdleCpuTime());
      hash = (37 * hash) + CQ_POLL_COUNT_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getCqPollCount());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static io.grpc.benchmarks.proto.Stats.ServerStats parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.grpc.benchmarks.proto.Stats.ServerStats parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.grpc.benchmarks.proto.Stats.ServerStats parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.grpc.benchmarks.proto.Stats.ServerStats parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.grpc.benchmarks.proto.Stats.ServerStats parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.grpc.benchmarks.proto.Stats.ServerStats parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.grpc.benchmarks.proto.Stats.ServerStats parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.grpc.benchmarks.proto.Stats.ServerStats parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static io.grpc.benchmarks.proto.Stats.ServerStats parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static io.grpc.benchmarks.proto.Stats.ServerStats parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static io.grpc.benchmarks.proto.Stats.ServerStats parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.grpc.benchmarks.proto.Stats.ServerStats parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(io.grpc.benchmarks.proto.Stats.ServerStats prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code grpc.testing.ServerStats}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:grpc.testing.ServerStats)
        io.grpc.benchmarks.proto.Stats.ServerStatsOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_ServerStats_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_ServerStats_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                io.grpc.benchmarks.proto.Stats.ServerStats.class, io.grpc.benchmarks.proto.Stats.ServerStats.Builder.class);
      }

      // Construct using io.grpc.benchmarks.proto.Stats.ServerStats.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        timeElapsed_ = 0D;

        timeUser_ = 0D;

        timeSystem_ = 0D;

        totalCpuTime_ = 0L;

        idleCpuTime_ = 0L;

        cqPollCount_ = 0L;

        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_ServerStats_descriptor;
      }

      public io.grpc.benchmarks.proto.Stats.ServerStats getDefaultInstanceForType() {
        return io.grpc.benchmarks.proto.Stats.ServerStats.getDefaultInstance();
      }

      public io.grpc.benchmarks.proto.Stats.ServerStats build() {
        io.grpc.benchmarks.proto.Stats.ServerStats result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public io.grpc.benchmarks.proto.Stats.ServerStats buildPartial() {
        io.grpc.benchmarks.proto.Stats.ServerStats result = new io.grpc.benchmarks.proto.Stats.ServerStats(this);
        result.timeElapsed_ = timeElapsed_;
        result.timeUser_ = timeUser_;
        result.timeSystem_ = timeSystem_;
        result.totalCpuTime_ = totalCpuTime_;
        result.idleCpuTime_ = idleCpuTime_;
        result.cqPollCount_ = cqPollCount_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof io.grpc.benchmarks.proto.Stats.ServerStats) {
          return mergeFrom((io.grpc.benchmarks.proto.Stats.ServerStats)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(io.grpc.benchmarks.proto.Stats.ServerStats other) {
        if (other == io.grpc.benchmarks.proto.Stats.ServerStats.getDefaultInstance()) return this;
        if (other.getTimeElapsed() != 0D) {
          setTimeElapsed(other.getTimeElapsed());
        }
        if (other.getTimeUser() != 0D) {
          setTimeUser(other.getTimeUser());
        }
        if (other.getTimeSystem() != 0D) {
          setTimeSystem(other.getTimeSystem());
        }
        if (other.getTotalCpuTime() != 0L) {
          setTotalCpuTime(other.getTotalCpuTime());
        }
        if (other.getIdleCpuTime() != 0L) {
          setIdleCpuTime(other.getIdleCpuTime());
        }
        if (other.getCqPollCount() != 0L) {
          setCqPollCount(other.getCqPollCount());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        io.grpc.benchmarks.proto.Stats.ServerStats parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (io.grpc.benchmarks.proto.Stats.ServerStats) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private double timeElapsed_ ;
      /**
       * <pre>
       * wall clock time change in seconds since last reset
       * </pre>
       *
       * <code>double time_elapsed = 1;</code>
       */
      public double getTimeElapsed() {
        return timeElapsed_;
      }
      /**
       * <pre>
       * wall clock time change in seconds since last reset
       * </pre>
       *
       * <code>double time_elapsed = 1;</code>
       */
      public Builder setTimeElapsed(double value) {
        
        timeElapsed_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * wall clock time change in seconds since last reset
       * </pre>
       *
       * <code>double time_elapsed = 1;</code>
       */
      public Builder clearTimeElapsed() {
        
        timeElapsed_ = 0D;
        onChanged();
        return this;
      }

      private double timeUser_ ;
      /**
       * <pre>
       * change in user time (in seconds) used by the server since last reset
       * </pre>
       *
       * <code>double time_user = 2;</code>
       */
      public double getTimeUser() {
        return timeUser_;
      }
      /**
       * <pre>
       * change in user time (in seconds) used by the server since last reset
       * </pre>
       *
       * <code>double time_user = 2;</code>
       */
      public Builder setTimeUser(double value) {
        
        timeUser_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * change in user time (in seconds) used by the server since last reset
       * </pre>
       *
       * <code>double time_user = 2;</code>
       */
      public Builder clearTimeUser() {
        
        timeUser_ = 0D;
        onChanged();
        return this;
      }

      private double timeSystem_ ;
      /**
       * <pre>
       * change in server time (in seconds) used by the server process and all
       * threads since last reset
       * </pre>
       *
       * <code>double time_system = 3;</code>
       */
      public double getTimeSystem() {
        return timeSystem_;
      }
      /**
       * <pre>
       * change in server time (in seconds) used by the server process and all
       * threads since last reset
       * </pre>
       *
       * <code>double time_system = 3;</code>
       */
      public Builder setTimeSystem(double value) {
        
        timeSystem_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * change in server time (in seconds) used by the server process and all
       * threads since last reset
       * </pre>
       *
       * <code>double time_system = 3;</code>
       */
      public Builder clearTimeSystem() {
        
        timeSystem_ = 0D;
        onChanged();
        return this;
      }

      private long totalCpuTime_ ;
      /**
       * <pre>
       * change in total cpu time of the server (data from proc/stat)
       * </pre>
       *
       * <code>uint64 total_cpu_time = 4;</code>
       */
      public long getTotalCpuTime() {
        return totalCpuTime_;
      }
      /**
       * <pre>
       * change in total cpu time of the server (data from proc/stat)
       * </pre>
       *
       * <code>uint64 total_cpu_time = 4;</code>
       */
      public Builder setTotalCpuTime(long value) {
        
        totalCpuTime_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * change in total cpu time of the server (data from proc/stat)
       * </pre>
       *
       * <code>uint64 total_cpu_time = 4;</code>
       */
      public Builder clearTotalCpuTime() {
        
        totalCpuTime_ = 0L;
        onChanged();
        return this;
      }

      private long idleCpuTime_ ;
      /**
       * <pre>
       * change in idle time of the server (data from proc/stat)
       * </pre>
       *
       * <code>uint64 idle_cpu_time = 5;</code>
       */
      public long getIdleCpuTime() {
        return idleCpuTime_;
      }
      /**
       * <pre>
       * change in idle time of the server (data from proc/stat)
       * </pre>
       *
       * <code>uint64 idle_cpu_time = 5;</code>
       */
      public Builder setIdleCpuTime(long value) {
        
        idleCpuTime_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * change in idle time of the server (data from proc/stat)
       * </pre>
       *
       * <code>uint64 idle_cpu_time = 5;</code>
       */
      public Builder clearIdleCpuTime() {
        
        idleCpuTime_ = 0L;
        onChanged();
        return this;
      }

      private long cqPollCount_ ;
      /**
       * <pre>
       * Number of polls called inside completion queue
       * </pre>
       *
       * <code>uint64 cq_poll_count = 6;</code>
       */
      public long getCqPollCount() {
        return cqPollCount_;
      }
      /**
       * <pre>
       * Number of polls called inside completion queue
       * </pre>
       *
       * <code>uint64 cq_poll_count = 6;</code>
       */
      public Builder setCqPollCount(long value) {
        
        cqPollCount_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Number of polls called inside completion queue
       * </pre>
       *
       * <code>uint64 cq_poll_count = 6;</code>
       */
      public Builder clearCqPollCount() {
        
        cqPollCount_ = 0L;
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFieldsProto3(unknownFields);
      }

      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:grpc.testing.ServerStats)
    }

    // @@protoc_insertion_point(class_scope:grpc.testing.ServerStats)
    private static final io.grpc.benchmarks.proto.Stats.ServerStats DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new io.grpc.benchmarks.proto.Stats.ServerStats();
    }

    public static io.grpc.benchmarks.proto.Stats.ServerStats getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<ServerStats>
        PARSER = new com.google.protobuf.AbstractParser<ServerStats>() {
      public ServerStats parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new ServerStats(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser<ServerStats> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<ServerStats> getParserForType() {
      return PARSER;
    }

    public io.grpc.benchmarks.proto.Stats.ServerStats getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface HistogramParamsOrBuilder extends
      // @@protoc_insertion_point(interface_extends:grpc.testing.HistogramParams)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <pre>
     * first bucket is [0, 1 + resolution)
     * </pre>
     *
     * <code>double resolution = 1;</code>
     */
    double getResolution();

    /**
     * <pre>
     * use enough buckets to allow this value
     * </pre>
     *
     * <code>double max_possible = 2;</code>
     */
    double getMaxPossible();
  }
  /**
   * <pre>
   * Histogram params based on grpc/support/histogram.c
   * </pre>
   *
   * Protobuf type {@code grpc.testing.HistogramParams}
   */
  public  static final class HistogramParams extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:grpc.testing.HistogramParams)
      HistogramParamsOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use HistogramParams.newBuilder() to construct.
    private HistogramParams(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private HistogramParams() {
      resolution_ = 0D;
      maxPossible_ = 0D;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private HistogramParams(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownFieldProto3(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 9: {

              resolution_ = input.readDouble();
              break;
            }
            case 17: {

              maxPossible_ = input.readDouble();
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_HistogramParams_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_HistogramParams_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.grpc.benchmarks.proto.Stats.HistogramParams.class, io.grpc.benchmarks.proto.Stats.HistogramParams.Builder.class);
    }

    public static final int RESOLUTION_FIELD_NUMBER = 1;
    private double resolution_;
    /**
     * <pre>
     * first bucket is [0, 1 + resolution)
     * </pre>
     *
     * <code>double resolution = 1;</code>
     */
    public double getResolution() {
      return resolution_;
    }

    public static final int MAX_POSSIBLE_FIELD_NUMBER = 2;
    private double maxPossible_;
    /**
     * <pre>
     * use enough buckets to allow this value
     * </pre>
     *
     * <code>double max_possible = 2;</code>
     */
    public double getMaxPossible() {
      return maxPossible_;
    }

    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (resolution_ != 0D) {
        output.writeDouble(1, resolution_);
      }
      if (maxPossible_ != 0D) {
        output.writeDouble(2, maxPossible_);
      }
      unknownFields.writeTo(output);
    }

    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (resolution_ != 0D) {
        size += com.google.protobuf.CodedOutputStream
          .computeDoubleSize(1, resolution_);
      }
      if (maxPossible_ != 0D) {
        size += com.google.protobuf.CodedOutputStream
          .computeDoubleSize(2, maxPossible_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof io.grpc.benchmarks.proto.Stats.HistogramParams)) {
        return super.equals(obj);
      }
      io.grpc.benchmarks.proto.Stats.HistogramParams other = (io.grpc.benchmarks.proto.Stats.HistogramParams) obj;

      boolean result = true;
      result = result && (
          java.lang.Double.doubleToLongBits(getResolution())
          == java.lang.Double.doubleToLongBits(
              other.getResolution()));
      result = result && (
          java.lang.Double.doubleToLongBits(getMaxPossible())
          == java.lang.Double.doubleToLongBits(
              other.getMaxPossible()));
      result = result && unknownFields.equals(other.unknownFields);
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + RESOLUTION_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          java.lang.Double.doubleToLongBits(getResolution()));
      hash = (37 * hash) + MAX_POSSIBLE_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          java.lang.Double.doubleToLongBits(getMaxPossible()));
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static io.grpc.benchmarks.proto.Stats.HistogramParams parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.grpc.benchmarks.proto.Stats.HistogramParams parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.grpc.benchmarks.proto.Stats.HistogramParams parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.grpc.benchmarks.proto.Stats.HistogramParams parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.grpc.benchmarks.proto.Stats.HistogramParams parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.grpc.benchmarks.proto.Stats.HistogramParams parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.grpc.benchmarks.proto.Stats.HistogramParams parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.grpc.benchmarks.proto.Stats.HistogramParams parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static io.grpc.benchmarks.proto.Stats.HistogramParams parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static io.grpc.benchmarks.proto.Stats.HistogramParams parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static io.grpc.benchmarks.proto.Stats.HistogramParams parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.grpc.benchmarks.proto.Stats.HistogramParams parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(io.grpc.benchmarks.proto.Stats.HistogramParams prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * <pre>
     * Histogram params based on grpc/support/histogram.c
     * </pre>
     *
     * Protobuf type {@code grpc.testing.HistogramParams}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:grpc.testing.HistogramParams)
        io.grpc.benchmarks.proto.Stats.HistogramParamsOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_HistogramParams_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_HistogramParams_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                io.grpc.benchmarks.proto.Stats.HistogramParams.class, io.grpc.benchmarks.proto.Stats.HistogramParams.Builder.class);
      }

      // Construct using io.grpc.benchmarks.proto.Stats.HistogramParams.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        resolution_ = 0D;

        maxPossible_ = 0D;

        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_HistogramParams_descriptor;
      }

      public io.grpc.benchmarks.proto.Stats.HistogramParams getDefaultInstanceForType() {
        return io.grpc.benchmarks.proto.Stats.HistogramParams.getDefaultInstance();
      }

      public io.grpc.benchmarks.proto.Stats.HistogramParams build() {
        io.grpc.benchmarks.proto.Stats.HistogramParams result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public io.grpc.benchmarks.proto.Stats.HistogramParams buildPartial() {
        io.grpc.benchmarks.proto.Stats.HistogramParams result = new io.grpc.benchmarks.proto.Stats.HistogramParams(this);
        result.resolution_ = resolution_;
        result.maxPossible_ = maxPossible_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof io.grpc.benchmarks.proto.Stats.HistogramParams) {
          return mergeFrom((io.grpc.benchmarks.proto.Stats.HistogramParams)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(io.grpc.benchmarks.proto.Stats.HistogramParams other) {
        if (other == io.grpc.benchmarks.proto.Stats.HistogramParams.getDefaultInstance()) return this;
        if (other.getResolution() != 0D) {
          setResolution(other.getResolution());
        }
        if (other.getMaxPossible() != 0D) {
          setMaxPossible(other.getMaxPossible());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        io.grpc.benchmarks.proto.Stats.HistogramParams parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (io.grpc.benchmarks.proto.Stats.HistogramParams) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private double resolution_ ;
      /**
       * <pre>
       * first bucket is [0, 1 + resolution)
       * </pre>
       *
       * <code>double resolution = 1;</code>
       */
      public double getResolution() {
        return resolution_;
      }
      /**
       * <pre>
       * first bucket is [0, 1 + resolution)
       * </pre>
       *
       * <code>double resolution = 1;</code>
       */
      public Builder setResolution(double value) {
        
        resolution_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * first bucket is [0, 1 + resolution)
       * </pre>
       *
       * <code>double resolution = 1;</code>
       */
      public Builder clearResolution() {
        
        resolution_ = 0D;
        onChanged();
        return this;
      }

      private double maxPossible_ ;
      /**
       * <pre>
       * use enough buckets to allow this value
       * </pre>
       *
       * <code>double max_possible = 2;</code>
       */
      public double getMaxPossible() {
        return maxPossible_;
      }
      /**
       * <pre>
       * use enough buckets to allow this value
       * </pre>
       *
       * <code>double max_possible = 2;</code>
       */
      public Builder setMaxPossible(double value) {
        
        maxPossible_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * use enough buckets to allow this value
       * </pre>
       *
       * <code>double max_possible = 2;</code>
       */
      public Builder clearMaxPossible() {
        
        maxPossible_ = 0D;
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFieldsProto3(unknownFields);
      }

      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:grpc.testing.HistogramParams)
    }

    // @@protoc_insertion_point(class_scope:grpc.testing.HistogramParams)
    private static final io.grpc.benchmarks.proto.Stats.HistogramParams DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new io.grpc.benchmarks.proto.Stats.HistogramParams();
    }

    public static io.grpc.benchmarks.proto.Stats.HistogramParams getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<HistogramParams>
        PARSER = new com.google.protobuf.AbstractParser<HistogramParams>() {
      public HistogramParams parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new HistogramParams(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser<HistogramParams> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<HistogramParams> getParserForType() {
      return PARSER;
    }

    public io.grpc.benchmarks.proto.Stats.HistogramParams getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface HistogramDataOrBuilder extends
      // @@protoc_insertion_point(interface_extends:grpc.testing.HistogramData)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>repeated uint32 bucket = 1;</code>
     */
    java.util.List<java.lang.Integer> getBucketList();
    /**
     * <code>repeated uint32 bucket = 1;</code>
     */
    int getBucketCount();
    /**
     * <code>repeated uint32 bucket = 1;</code>
     */
    int getBucket(int index);

    /**
     * <code>double min_seen = 2;</code>
     */
    double getMinSeen();

    /**
     * <code>double max_seen = 3;</code>
     */
    double getMaxSeen();

    /**
     * <code>double sum = 4;</code>
     */
    double getSum();

    /**
     * <code>double sum_of_squares = 5;</code>
     */
    double getSumOfSquares();

    /**
     * <code>double count = 6;</code>
     */
    double getCount();
  }
  /**
   * <pre>
   * Histogram data based on grpc/support/histogram.c
   * </pre>
   *
   * Protobuf type {@code grpc.testing.HistogramData}
   */
  public  static final class HistogramData extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:grpc.testing.HistogramData)
      HistogramDataOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use HistogramData.newBuilder() to construct.
    private HistogramData(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private HistogramData() {
      bucket_ = java.util.Collections.emptyList();
      minSeen_ = 0D;
      maxSeen_ = 0D;
      sum_ = 0D;
      sumOfSquares_ = 0D;
      count_ = 0D;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private HistogramData(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownFieldProto3(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 8: {
              if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                bucket_ = new java.util.ArrayList<java.lang.Integer>();
                mutable_bitField0_ |= 0x00000001;
              }
              bucket_.add(input.readUInt32());
              break;
            }
            case 10: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) {
                bucket_ = new java.util.ArrayList<java.lang.Integer>();
                mutable_bitField0_ |= 0x00000001;
              }
              while (input.getBytesUntilLimit() > 0) {
                bucket_.add(input.readUInt32());
              }
              input.popLimit(limit);
              break;
            }
            case 17: {

              minSeen_ = input.readDouble();
              break;
            }
            case 25: {

              maxSeen_ = input.readDouble();
              break;
            }
            case 33: {

              sum_ = input.readDouble();
              break;
            }
            case 41: {

              sumOfSquares_ = input.readDouble();
              break;
            }
            case 49: {

              count_ = input.readDouble();
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
          bucket_ = java.util.Collections.unmodifiableList(bucket_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_HistogramData_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_HistogramData_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.grpc.benchmarks.proto.Stats.HistogramData.class, io.grpc.benchmarks.proto.Stats.HistogramData.Builder.class);
    }

    private int bitField0_;
    public static final int BUCKET_FIELD_NUMBER = 1;
    private java.util.List<java.lang.Integer> bucket_;
    /**
     * <code>repeated uint32 bucket = 1;</code>
     */
    public java.util.List<java.lang.Integer>
        getBucketList() {
      return bucket_;
    }
    /**
     * <code>repeated uint32 bucket = 1;</code>
     */
    public int getBucketCount() {
      return bucket_.size();
    }
    /**
     * <code>repeated uint32 bucket = 1;</code>
     */
    public int getBucket(int index) {
      return bucket_.get(index);
    }
    private int bucketMemoizedSerializedSize = -1;

    public static final int MIN_SEEN_FIELD_NUMBER = 2;
    private double minSeen_;
    /**
     * <code>double min_seen = 2;</code>
     */
    public double getMinSeen() {
      return minSeen_;
    }

    public static final int MAX_SEEN_FIELD_NUMBER = 3;
    private double maxSeen_;
    /**
     * <code>double max_seen = 3;</code>
     */
    public double getMaxSeen() {
      return maxSeen_;
    }

    public static final int SUM_FIELD_NUMBER = 4;
    private double sum_;
    /**
     * <code>double sum = 4;</code>
     */
    public double getSum() {
      return sum_;
    }

    public static final int SUM_OF_SQUARES_FIELD_NUMBER = 5;
    private double sumOfSquares_;
    /**
     * <code>double sum_of_squares = 5;</code>
     */
    public double getSumOfSquares() {
      return sumOfSquares_;
    }

    public static final int COUNT_FIELD_NUMBER = 6;
    private double count_;
    /**
     * <code>double count = 6;</code>
     */
    public double getCount() {
      return count_;
    }

    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (getBucketList().size() > 0) {
        output.writeUInt32NoTag(10);
        output.writeUInt32NoTag(bucketMemoizedSerializedSize);
      }
      for (int i = 0; i < bucket_.size(); i++) {
        output.writeUInt32NoTag(bucket_.get(i));
      }
      if (minSeen_ != 0D) {
        output.writeDouble(2, minSeen_);
      }
      if (maxSeen_ != 0D) {
        output.writeDouble(3, maxSeen_);
      }
      if (sum_ != 0D) {
        output.writeDouble(4, sum_);
      }
      if (sumOfSquares_ != 0D) {
        output.writeDouble(5, sumOfSquares_);
      }
      if (count_ != 0D) {
        output.writeDouble(6, count_);
      }
      unknownFields.writeTo(output);
    }

    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      {
        int dataSize = 0;
        for (int i = 0; i < bucket_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeUInt32SizeNoTag(bucket_.get(i));
        }
        size += dataSize;
        if (!getBucketList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        bucketMemoizedSerializedSize = dataSize;
      }
      if (minSeen_ != 0D) {
        size += com.google.protobuf.CodedOutputStream
          .computeDoubleSize(2, minSeen_);
      }
      if (maxSeen_ != 0D) {
        size += com.google.protobuf.CodedOutputStream
          .computeDoubleSize(3, maxSeen_);
      }
      if (sum_ != 0D) {
        size += com.google.protobuf.CodedOutputStream
          .computeDoubleSize(4, sum_);
      }
      if (sumOfSquares_ != 0D) {
        size += com.google.protobuf.CodedOutputStream
          .computeDoubleSize(5, sumOfSquares_);
      }
      if (count_ != 0D) {
        size += com.google.protobuf.CodedOutputStream
          .computeDoubleSize(6, count_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof io.grpc.benchmarks.proto.Stats.HistogramData)) {
        return super.equals(obj);
      }
      io.grpc.benchmarks.proto.Stats.HistogramData other = (io.grpc.benchmarks.proto.Stats.HistogramData) obj;

      boolean result = true;
      result = result && getBucketList()
          .equals(other.getBucketList());
      result = result && (
          java.lang.Double.doubleToLongBits(getMinSeen())
          == java.lang.Double.doubleToLongBits(
              other.getMinSeen()));
      result = result && (
          java.lang.Double.doubleToLongBits(getMaxSeen())
          == java.lang.Double.doubleToLongBits(
              other.getMaxSeen()));
      result = result && (
          java.lang.Double.doubleToLongBits(getSum())
          == java.lang.Double.doubleToLongBits(
              other.getSum()));
      result = result && (
          java.lang.Double.doubleToLongBits(getSumOfSquares())
          == java.lang.Double.doubleToLongBits(
              other.getSumOfSquares()));
      result = result && (
          java.lang.Double.doubleToLongBits(getCount())
          == java.lang.Double.doubleToLongBits(
              other.getCount()));
      result = result && unknownFields.equals(other.unknownFields);
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (getBucketCount() > 0) {
        hash = (37 * hash) + BUCKET_FIELD_NUMBER;
        hash = (53 * hash) + getBucketList().hashCode();
      }
      hash = (37 * hash) + MIN_SEEN_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          java.lang.Double.doubleToLongBits(getMinSeen()));
      hash = (37 * hash) + MAX_SEEN_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          java.lang.Double.doubleToLongBits(getMaxSeen()));
      hash = (37 * hash) + SUM_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          java.lang.Double.doubleToLongBits(getSum()));
      hash = (37 * hash) + SUM_OF_SQUARES_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          java.lang.Double.doubleToLongBits(getSumOfSquares()));
      hash = (37 * hash) + COUNT_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          java.lang.Double.doubleToLongBits(getCount()));
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static io.grpc.benchmarks.proto.Stats.HistogramData parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.grpc.benchmarks.proto.Stats.HistogramData parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.grpc.benchmarks.proto.Stats.HistogramData parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.grpc.benchmarks.proto.Stats.HistogramData parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.grpc.benchmarks.proto.Stats.HistogramData parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.grpc.benchmarks.proto.Stats.HistogramData parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.grpc.benchmarks.proto.Stats.HistogramData parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.grpc.benchmarks.proto.Stats.HistogramData parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static io.grpc.benchmarks.proto.Stats.HistogramData parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static io.grpc.benchmarks.proto.Stats.HistogramData parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static io.grpc.benchmarks.proto.Stats.HistogramData parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.grpc.benchmarks.proto.Stats.HistogramData parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(io.grpc.benchmarks.proto.Stats.HistogramData prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * <pre>
     * Histogram data based on grpc/support/histogram.c
     * </pre>
     *
     * Protobuf type {@code grpc.testing.HistogramData}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:grpc.testing.HistogramData)
        io.grpc.benchmarks.proto.Stats.HistogramDataOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_HistogramData_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_HistogramData_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                io.grpc.benchmarks.proto.Stats.HistogramData.class, io.grpc.benchmarks.proto.Stats.HistogramData.Builder.class);
      }

      // Construct using io.grpc.benchmarks.proto.Stats.HistogramData.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        bucket_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        minSeen_ = 0D;

        maxSeen_ = 0D;

        sum_ = 0D;

        sumOfSquares_ = 0D;

        count_ = 0D;

        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_HistogramData_descriptor;
      }

      public io.grpc.benchmarks.proto.Stats.HistogramData getDefaultInstanceForType() {
        return io.grpc.benchmarks.proto.Stats.HistogramData.getDefaultInstance();
      }

      public io.grpc.benchmarks.proto.Stats.HistogramData build() {
        io.grpc.benchmarks.proto.Stats.HistogramData result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public io.grpc.benchmarks.proto.Stats.HistogramData buildPartial() {
        io.grpc.benchmarks.proto.Stats.HistogramData result = new io.grpc.benchmarks.proto.Stats.HistogramData(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((bitField0_ & 0x00000001) == 0x00000001)) {
          bucket_ = java.util.Collections.unmodifiableList(bucket_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.bucket_ = bucket_;
        result.minSeen_ = minSeen_;
        result.maxSeen_ = maxSeen_;
        result.sum_ = sum_;
        result.sumOfSquares_ = sumOfSquares_;
        result.count_ = count_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof io.grpc.benchmarks.proto.Stats.HistogramData) {
          return mergeFrom((io.grpc.benchmarks.proto.Stats.HistogramData)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(io.grpc.benchmarks.proto.Stats.HistogramData other) {
        if (other == io.grpc.benchmarks.proto.Stats.HistogramData.getDefaultInstance()) return this;
        if (!other.bucket_.isEmpty()) {
          if (bucket_.isEmpty()) {
            bucket_ = other.bucket_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureBucketIsMutable();
            bucket_.addAll(other.bucket_);
          }
          onChanged();
        }
        if (other.getMinSeen() != 0D) {
          setMinSeen(other.getMinSeen());
        }
        if (other.getMaxSeen() != 0D) {
          setMaxSeen(other.getMaxSeen());
        }
        if (other.getSum() != 0D) {
          setSum(other.getSum());
        }
        if (other.getSumOfSquares() != 0D) {
          setSumOfSquares(other.getSumOfSquares());
        }
        if (other.getCount() != 0D) {
          setCount(other.getCount());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        io.grpc.benchmarks.proto.Stats.HistogramData parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (io.grpc.benchmarks.proto.Stats.HistogramData) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.util.List<java.lang.Integer> bucket_ = java.util.Collections.emptyList();
      private void ensureBucketIsMutable() {
        if (!((bitField0_ & 0x00000001) == 0x00000001)) {
          bucket_ = new java.util.ArrayList<java.lang.Integer>(bucket_);
          bitField0_ |= 0x00000001;
         }
      }
      /**
       * <code>repeated uint32 bucket = 1;</code>
       */
      public java.util.List<java.lang.Integer>
          getBucketList() {
        return java.util.Collections.unmodifiableList(bucket_);
      }
      /**
       * <code>repeated uint32 bucket = 1;</code>
       */
      public int getBucketCount() {
        return bucket_.size();
      }
      /**
       * <code>repeated uint32 bucket = 1;</code>
       */
      public int getBucket(int index) {
        return bucket_.get(index);
      }
      /**
       * <code>repeated uint32 bucket = 1;</code>
       */
      public Builder setBucket(
          int index, int value) {
        ensureBucketIsMutable();
        bucket_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 bucket = 1;</code>
       */
      public Builder addBucket(int value) {
        ensureBucketIsMutable();
        bucket_.add(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 bucket = 1;</code>
       */
      public Builder addAllBucket(
          java.lang.Iterable<? extends java.lang.Integer> values) {
        ensureBucketIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, bucket_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 bucket = 1;</code>
       */
      public Builder clearBucket() {
        bucket_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }

      private double minSeen_ ;
      /**
       * <code>double min_seen = 2;</code>
       */
      public double getMinSeen() {
        return minSeen_;
      }
      /**
       * <code>double min_seen = 2;</code>
       */
      public Builder setMinSeen(double value) {
        
        minSeen_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>double min_seen = 2;</code>
       */
      public Builder clearMinSeen() {
        
        minSeen_ = 0D;
        onChanged();
        return this;
      }

      private double maxSeen_ ;
      /**
       * <code>double max_seen = 3;</code>
       */
      public double getMaxSeen() {
        return maxSeen_;
      }
      /**
       * <code>double max_seen = 3;</code>
       */
      public Builder setMaxSeen(double value) {
        
        maxSeen_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>double max_seen = 3;</code>
       */
      public Builder clearMaxSeen() {
        
        maxSeen_ = 0D;
        onChanged();
        return this;
      }

      private double sum_ ;
      /**
       * <code>double sum = 4;</code>
       */
      public double getSum() {
        return sum_;
      }
      /**
       * <code>double sum = 4;</code>
       */
      public Builder setSum(double value) {
        
        sum_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>double sum = 4;</code>
       */
      public Builder clearSum() {
        
        sum_ = 0D;
        onChanged();
        return this;
      }

      private double sumOfSquares_ ;
      /**
       * <code>double sum_of_squares = 5;</code>
       */
      public double getSumOfSquares() {
        return sumOfSquares_;
      }
      /**
       * <code>double sum_of_squares = 5;</code>
       */
      public Builder setSumOfSquares(double value) {
        
        sumOfSquares_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>double sum_of_squares = 5;</code>
       */
      public Builder clearSumOfSquares() {
        
        sumOfSquares_ = 0D;
        onChanged();
        return this;
      }

      private double count_ ;
      /**
       * <code>double count = 6;</code>
       */
      public double getCount() {
        return count_;
      }
      /**
       * <code>double count = 6;</code>
       */
      public Builder setCount(double value) {
        
        count_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>double count = 6;</code>
       */
      public Builder clearCount() {
        
        count_ = 0D;
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFieldsProto3(unknownFields);
      }

      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:grpc.testing.HistogramData)
    }

    // @@protoc_insertion_point(class_scope:grpc.testing.HistogramData)
    private static final io.grpc.benchmarks.proto.Stats.HistogramData DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new io.grpc.benchmarks.proto.Stats.HistogramData();
    }

    public static io.grpc.benchmarks.proto.Stats.HistogramData getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<HistogramData>
        PARSER = new com.google.protobuf.AbstractParser<HistogramData>() {
      public HistogramData parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new HistogramData(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser<HistogramData> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<HistogramData> getParserForType() {
      return PARSER;
    }

    public io.grpc.benchmarks.proto.Stats.HistogramData getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface RequestResultCountOrBuilder extends
      // @@protoc_insertion_point(interface_extends:grpc.testing.RequestResultCount)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>int32 status_code = 1;</code>
     */
    int getStatusCode();

    /**
     * <code>int64 count = 2;</code>
     */
    long getCount();
  }
  /**
   * Protobuf type {@code grpc.testing.RequestResultCount}
   */
  public  static final class RequestResultCount extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:grpc.testing.RequestResultCount)
      RequestResultCountOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use RequestResultCount.newBuilder() to construct.
    private RequestResultCount(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private RequestResultCount() {
      statusCode_ = 0;
      count_ = 0L;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private RequestResultCount(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownFieldProto3(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 8: {

              statusCode_ = input.readInt32();
              break;
            }
            case 16: {

              count_ = input.readInt64();
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_RequestResultCount_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_RequestResultCount_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.grpc.benchmarks.proto.Stats.RequestResultCount.class, io.grpc.benchmarks.proto.Stats.RequestResultCount.Builder.class);
    }

    public static final int STATUS_CODE_FIELD_NUMBER = 1;
    private int statusCode_;
    /**
     * <code>int32 status_code = 1;</code>
     */
    public int getStatusCode() {
      return statusCode_;
    }

    public static final int COUNT_FIELD_NUMBER = 2;
    private long count_;
    /**
     * <code>int64 count = 2;</code>
     */
    public long getCount() {
      return count_;
    }

    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (statusCode_ != 0) {
        output.writeInt32(1, statusCode_);
      }
      if (count_ != 0L) {
        output.writeInt64(2, count_);
      }
      unknownFields.writeTo(output);
    }

    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (statusCode_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(1, statusCode_);
      }
      if (count_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(2, count_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof io.grpc.benchmarks.proto.Stats.RequestResultCount)) {
        return super.equals(obj);
      }
      io.grpc.benchmarks.proto.Stats.RequestResultCount other = (io.grpc.benchmarks.proto.Stats.RequestResultCount) obj;

      boolean result = true;
      result = result && (getStatusCode()
          == other.getStatusCode());
      result = result && (getCount()
          == other.getCount());
      result = result && unknownFields.equals(other.unknownFields);
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + STATUS_CODE_FIELD_NUMBER;
      hash = (53 * hash) + getStatusCode();
      hash = (37 * hash) + COUNT_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getCount());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static io.grpc.benchmarks.proto.Stats.RequestResultCount parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.grpc.benchmarks.proto.Stats.RequestResultCount parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.grpc.benchmarks.proto.Stats.RequestResultCount parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.grpc.benchmarks.proto.Stats.RequestResultCount parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.grpc.benchmarks.proto.Stats.RequestResultCount parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.grpc.benchmarks.proto.Stats.RequestResultCount parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.grpc.benchmarks.proto.Stats.RequestResultCount parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.grpc.benchmarks.proto.Stats.RequestResultCount parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static io.grpc.benchmarks.proto.Stats.RequestResultCount parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static io.grpc.benchmarks.proto.Stats.RequestResultCount parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static io.grpc.benchmarks.proto.Stats.RequestResultCount parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.grpc.benchmarks.proto.Stats.RequestResultCount parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(io.grpc.benchmarks.proto.Stats.RequestResultCount prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code grpc.testing.RequestResultCount}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:grpc.testing.RequestResultCount)
        io.grpc.benchmarks.proto.Stats.RequestResultCountOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_RequestResultCount_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_RequestResultCount_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                io.grpc.benchmarks.proto.Stats.RequestResultCount.class, io.grpc.benchmarks.proto.Stats.RequestResultCount.Builder.class);
      }

      // Construct using io.grpc.benchmarks.proto.Stats.RequestResultCount.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        statusCode_ = 0;

        count_ = 0L;

        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_RequestResultCount_descriptor;
      }

      public io.grpc.benchmarks.proto.Stats.RequestResultCount getDefaultInstanceForType() {
        return io.grpc.benchmarks.proto.Stats.RequestResultCount.getDefaultInstance();
      }

      public io.grpc.benchmarks.proto.Stats.RequestResultCount build() {
        io.grpc.benchmarks.proto.Stats.RequestResultCount result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public io.grpc.benchmarks.proto.Stats.RequestResultCount buildPartial() {
        io.grpc.benchmarks.proto.Stats.RequestResultCount result = new io.grpc.benchmarks.proto.Stats.RequestResultCount(this);
        result.statusCode_ = statusCode_;
        result.count_ = count_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof io.grpc.benchmarks.proto.Stats.RequestResultCount) {
          return mergeFrom((io.grpc.benchmarks.proto.Stats.RequestResultCount)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(io.grpc.benchmarks.proto.Stats.RequestResultCount other) {
        if (other == io.grpc.benchmarks.proto.Stats.RequestResultCount.getDefaultInstance()) return this;
        if (other.getStatusCode() != 0) {
          setStatusCode(other.getStatusCode());
        }
        if (other.getCount() != 0L) {
          setCount(other.getCount());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        io.grpc.benchmarks.proto.Stats.RequestResultCount parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (io.grpc.benchmarks.proto.Stats.RequestResultCount) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private int statusCode_ ;
      /**
       * <code>int32 status_code = 1;</code>
       */
      public int getStatusCode() {
        return statusCode_;
      }
      /**
       * <code>int32 status_code = 1;</code>
       */
      public Builder setStatusCode(int value) {
        
        statusCode_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int32 status_code = 1;</code>
       */
      public Builder clearStatusCode() {
        
        statusCode_ = 0;
        onChanged();
        return this;
      }

      private long count_ ;
      /**
       * <code>int64 count = 2;</code>
       */
      public long getCount() {
        return count_;
      }
      /**
       * <code>int64 count = 2;</code>
       */
      public Builder setCount(long value) {
        
        count_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int64 count = 2;</code>
       */
      public Builder clearCount() {
        
        count_ = 0L;
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFieldsProto3(unknownFields);
      }

      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:grpc.testing.RequestResultCount)
    }

    // @@protoc_insertion_point(class_scope:grpc.testing.RequestResultCount)
    private static final io.grpc.benchmarks.proto.Stats.RequestResultCount DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new io.grpc.benchmarks.proto.Stats.RequestResultCount();
    }

    public static io.grpc.benchmarks.proto.Stats.RequestResultCount getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<RequestResultCount>
        PARSER = new com.google.protobuf.AbstractParser<RequestResultCount>() {
      public RequestResultCount parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new RequestResultCount(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser<RequestResultCount> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<RequestResultCount> getParserForType() {
      return PARSER;
    }

    public io.grpc.benchmarks.proto.Stats.RequestResultCount getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface ClientStatsOrBuilder extends
      // @@protoc_insertion_point(interface_extends:grpc.testing.ClientStats)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <pre>
     * Latency histogram. Data points are in nanoseconds.
     * </pre>
     *
     * <code>.grpc.testing.HistogramData latencies = 1;</code>
     */
    boolean hasLatencies();
    /**
     * <pre>
     * Latency histogram. Data points are in nanoseconds.
     * </pre>
     *
     * <code>.grpc.testing.HistogramData latencies = 1;</code>
     */
    io.grpc.benchmarks.proto.Stats.HistogramData getLatencies();
    /**
     * <pre>
     * Latency histogram. Data points are in nanoseconds.
     * </pre>
     *
     * <code>.grpc.testing.HistogramData latencies = 1;</code>
     */
    io.grpc.benchmarks.proto.Stats.HistogramDataOrBuilder getLatenciesOrBuilder();

    /**
     * <pre>
     * See ServerStats for details.
     * </pre>
     *
     * <code>double time_elapsed = 2;</code>
     */
    double getTimeElapsed();

    /**
     * <code>double time_user = 3;</code>
     */
    double getTimeUser();

    /**
     * <code>double time_system = 4;</code>
     */
    double getTimeSystem();

    /**
     * <pre>
     * Number of failed requests (one row per status code seen)
     * </pre>
     *
     * <code>repeated .grpc.testing.RequestResultCount request_results = 5;</code>
     */
    java.util.List<io.grpc.benchmarks.proto.Stats.RequestResultCount> 
        getRequestResultsList();
    /**
     * <pre>
     * Number of failed requests (one row per status code seen)
     * </pre>
     *
     * <code>repeated .grpc.testing.RequestResultCount request_results = 5;</code>
     */
    io.grpc.benchmarks.proto.Stats.RequestResultCount getRequestResults(int index);
    /**
     * <pre>
     * Number of failed requests (one row per status code seen)
     * </pre>
     *
     * <code>repeated .grpc.testing.RequestResultCount request_results = 5;</code>
     */
    int getRequestResultsCount();
    /**
     * <pre>
     * Number of failed requests (one row per status code seen)
     * </pre>
     *
     * <code>repeated .grpc.testing.RequestResultCount request_results = 5;</code>
     */
    java.util.List<? extends io.grpc.benchmarks.proto.Stats.RequestResultCountOrBuilder> 
        getRequestResultsOrBuilderList();
    /**
     * <pre>
     * Number of failed requests (one row per status code seen)
     * </pre>
     *
     * <code>repeated .grpc.testing.RequestResultCount request_results = 5;</code>
     */
    io.grpc.benchmarks.proto.Stats.RequestResultCountOrBuilder getRequestResultsOrBuilder(
        int index);

    /**
     * <pre>
     * Number of polls called inside completion queue
     * </pre>
     *
     * <code>uint64 cq_poll_count = 6;</code>
     */
    long getCqPollCount();
  }
  /**
   * Protobuf type {@code grpc.testing.ClientStats}
   */
  public  static final class ClientStats extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:grpc.testing.ClientStats)
      ClientStatsOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ClientStats.newBuilder() to construct.
    private ClientStats(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private ClientStats() {
      timeElapsed_ = 0D;
      timeUser_ = 0D;
      timeSystem_ = 0D;
      requestResults_ = java.util.Collections.emptyList();
      cqPollCount_ = 0L;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private ClientStats(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownFieldProto3(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              io.grpc.benchmarks.proto.Stats.HistogramData.Builder subBuilder = null;
              if (latencies_ != null) {
                subBuilder = latencies_.toBuilder();
              }
              latencies_ = input.readMessage(io.grpc.benchmarks.proto.Stats.HistogramData.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(latencies_);
                latencies_ = subBuilder.buildPartial();
              }

              break;
            }
            case 17: {

              timeElapsed_ = input.readDouble();
              break;
            }
            case 25: {

              timeUser_ = input.readDouble();
              break;
            }
            case 33: {

              timeSystem_ = input.readDouble();
              break;
            }
            case 42: {
              if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
                requestResults_ = new java.util.ArrayList<io.grpc.benchmarks.proto.Stats.RequestResultCount>();
                mutable_bitField0_ |= 0x00000010;
              }
              requestResults_.add(
                  input.readMessage(io.grpc.benchmarks.proto.Stats.RequestResultCount.parser(), extensionRegistry));
              break;
            }
            case 48: {

              cqPollCount_ = input.readUInt64();
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
          requestResults_ = java.util.Collections.unmodifiableList(requestResults_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_ClientStats_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_ClientStats_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.grpc.benchmarks.proto.Stats.ClientStats.class, io.grpc.benchmarks.proto.Stats.ClientStats.Builder.class);
    }

    private int bitField0_;
    public static final int LATENCIES_FIELD_NUMBER = 1;
    private io.grpc.benchmarks.proto.Stats.HistogramData latencies_;
    /**
     * <pre>
     * Latency histogram. Data points are in nanoseconds.
     * </pre>
     *
     * <code>.grpc.testing.HistogramData latencies = 1;</code>
     */
    public boolean hasLatencies() {
      return latencies_ != null;
    }
    /**
     * <pre>
     * Latency histogram. Data points are in nanoseconds.
     * </pre>
     *
     * <code>.grpc.testing.HistogramData latencies = 1;</code>
     */
    public io.grpc.benchmarks.proto.Stats.HistogramData getLatencies() {
      return latencies_ == null ? io.grpc.benchmarks.proto.Stats.HistogramData.getDefaultInstance() : latencies_;
    }
    /**
     * <pre>
     * Latency histogram. Data points are in nanoseconds.
     * </pre>
     *
     * <code>.grpc.testing.HistogramData latencies = 1;</code>
     */
    public io.grpc.benchmarks.proto.Stats.HistogramDataOrBuilder getLatenciesOrBuilder() {
      return getLatencies();
    }

    public static final int TIME_ELAPSED_FIELD_NUMBER = 2;
    private double timeElapsed_;
    /**
     * <pre>
     * See ServerStats for details.
     * </pre>
     *
     * <code>double time_elapsed = 2;</code>
     */
    public double getTimeElapsed() {
      return timeElapsed_;
    }

    public static final int TIME_USER_FIELD_NUMBER = 3;
    private double timeUser_;
    /**
     * <code>double time_user = 3;</code>
     */
    public double getTimeUser() {
      return timeUser_;
    }

    public static final int TIME_SYSTEM_FIELD_NUMBER = 4;
    private double timeSystem_;
    /**
     * <code>double time_system = 4;</code>
     */
    public double getTimeSystem() {
      return timeSystem_;
    }

    public static final int REQUEST_RESULTS_FIELD_NUMBER = 5;
    private java.util.List<io.grpc.benchmarks.proto.Stats.RequestResultCount> requestResults_;
    /**
     * <pre>
     * Number of failed requests (one row per status code seen)
     * </pre>
     *
     * <code>repeated .grpc.testing.RequestResultCount request_results = 5;</code>
     */
    public java.util.List<io.grpc.benchmarks.proto.Stats.RequestResultCount> getRequestResultsList() {
      return requestResults_;
    }
    /**
     * <pre>
     * Number of failed requests (one row per status code seen)
     * </pre>
     *
     * <code>repeated .grpc.testing.RequestResultCount request_results = 5;</code>
     */
    public java.util.List<? extends io.grpc.benchmarks.proto.Stats.RequestResultCountOrBuilder> 
        getRequestResultsOrBuilderList() {
      return requestResults_;
    }
    /**
     * <pre>
     * Number of failed requests (one row per status code seen)
     * </pre>
     *
     * <code>repeated .grpc.testing.RequestResultCount request_results = 5;</code>
     */
    public int getRequestResultsCount() {
      return requestResults_.size();
    }
    /**
     * <pre>
     * Number of failed requests (one row per status code seen)
     * </pre>
     *
     * <code>repeated .grpc.testing.RequestResultCount request_results = 5;</code>
     */
    public io.grpc.benchmarks.proto.Stats.RequestResultCount getRequestResults(int index) {
      return requestResults_.get(index);
    }
    /**
     * <pre>
     * Number of failed requests (one row per status code seen)
     * </pre>
     *
     * <code>repeated .grpc.testing.RequestResultCount request_results = 5;</code>
     */
    public io.grpc.benchmarks.proto.Stats.RequestResultCountOrBuilder getRequestResultsOrBuilder(
        int index) {
      return requestResults_.get(index);
    }

    public static final int CQ_POLL_COUNT_FIELD_NUMBER = 6;
    private long cqPollCount_;
    /**
     * <pre>
     * Number of polls called inside completion queue
     * </pre>
     *
     * <code>uint64 cq_poll_count = 6;</code>
     */
    public long getCqPollCount() {
      return cqPollCount_;
    }

    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (latencies_ != null) {
        output.writeMessage(1, getLatencies());
      }
      if (timeElapsed_ != 0D) {
        output.writeDouble(2, timeElapsed_);
      }
      if (timeUser_ != 0D) {
        output.writeDouble(3, timeUser_);
      }
      if (timeSystem_ != 0D) {
        output.writeDouble(4, timeSystem_);
      }
      for (int i = 0; i < requestResults_.size(); i++) {
        output.writeMessage(5, requestResults_.get(i));
      }
      if (cqPollCount_ != 0L) {
        output.writeUInt64(6, cqPollCount_);
      }
      unknownFields.writeTo(output);
    }

    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (latencies_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getLatencies());
      }
      if (timeElapsed_ != 0D) {
        size += com.google.protobuf.CodedOutputStream
          .computeDoubleSize(2, timeElapsed_);
      }
      if (timeUser_ != 0D) {
        size += com.google.protobuf.CodedOutputStream
          .computeDoubleSize(3, timeUser_);
      }
      if (timeSystem_ != 0D) {
        size += com.google.protobuf.CodedOutputStream
          .computeDoubleSize(4, timeSystem_);
      }
      for (int i = 0; i < requestResults_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(5, requestResults_.get(i));
      }
      if (cqPollCount_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(6, cqPollCount_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof io.grpc.benchmarks.proto.Stats.ClientStats)) {
        return super.equals(obj);
      }
      io.grpc.benchmarks.proto.Stats.ClientStats other = (io.grpc.benchmarks.proto.Stats.ClientStats) obj;

      boolean result = true;
      result = result && (hasLatencies() == other.hasLatencies());
      if (hasLatencies()) {
        result = result && getLatencies()
            .equals(other.getLatencies());
      }
      result = result && (
          java.lang.Double.doubleToLongBits(getTimeElapsed())
          == java.lang.Double.doubleToLongBits(
              other.getTimeElapsed()));
      result = result && (
          java.lang.Double.doubleToLongBits(getTimeUser())
          == java.lang.Double.doubleToLongBits(
              other.getTimeUser()));
      result = result && (
          java.lang.Double.doubleToLongBits(getTimeSystem())
          == java.lang.Double.doubleToLongBits(
              other.getTimeSystem()));
      result = result && getRequestResultsList()
          .equals(other.getRequestResultsList());
      result = result && (getCqPollCount()
          == other.getCqPollCount());
      result = result && unknownFields.equals(other.unknownFields);
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasLatencies()) {
        hash = (37 * hash) + LATENCIES_FIELD_NUMBER;
        hash = (53 * hash) + getLatencies().hashCode();
      }
      hash = (37 * hash) + TIME_ELAPSED_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          java.lang.Double.doubleToLongBits(getTimeElapsed()));
      hash = (37 * hash) + TIME_USER_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          java.lang.Double.doubleToLongBits(getTimeUser()));
      hash = (37 * hash) + TIME_SYSTEM_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          java.lang.Double.doubleToLongBits(getTimeSystem()));
      if (getRequestResultsCount() > 0) {
        hash = (37 * hash) + REQUEST_RESULTS_FIELD_NUMBER;
        hash = (53 * hash) + getRequestResultsList().hashCode();
      }
      hash = (37 * hash) + CQ_POLL_COUNT_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getCqPollCount());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static io.grpc.benchmarks.proto.Stats.ClientStats parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.grpc.benchmarks.proto.Stats.ClientStats parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.grpc.benchmarks.proto.Stats.ClientStats parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.grpc.benchmarks.proto.Stats.ClientStats parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.grpc.benchmarks.proto.Stats.ClientStats parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.grpc.benchmarks.proto.Stats.ClientStats parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.grpc.benchmarks.proto.Stats.ClientStats parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.grpc.benchmarks.proto.Stats.ClientStats parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static io.grpc.benchmarks.proto.Stats.ClientStats parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static io.grpc.benchmarks.proto.Stats.ClientStats parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static io.grpc.benchmarks.proto.Stats.ClientStats parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.grpc.benchmarks.proto.Stats.ClientStats parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(io.grpc.benchmarks.proto.Stats.ClientStats prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code grpc.testing.ClientStats}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:grpc.testing.ClientStats)
        io.grpc.benchmarks.proto.Stats.ClientStatsOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_ClientStats_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_ClientStats_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                io.grpc.benchmarks.proto.Stats.ClientStats.class, io.grpc.benchmarks.proto.Stats.ClientStats.Builder.class);
      }

      // Construct using io.grpc.benchmarks.proto.Stats.ClientStats.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getRequestResultsFieldBuilder();
        }
      }
      public Builder clear() {
        super.clear();
        if (latenciesBuilder_ == null) {
          latencies_ = null;
        } else {
          latencies_ = null;
          latenciesBuilder_ = null;
        }
        timeElapsed_ = 0D;

        timeUser_ = 0D;

        timeSystem_ = 0D;

        if (requestResultsBuilder_ == null) {
          requestResults_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000010);
        } else {
          requestResultsBuilder_.clear();
        }
        cqPollCount_ = 0L;

        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return io.grpc.benchmarks.proto.Stats.internal_static_grpc_testing_ClientStats_descriptor;
      }

      public io.grpc.benchmarks.proto.Stats.ClientStats getDefaultInstanceForType() {
        return io.grpc.benchmarks.proto.Stats.ClientStats.getDefaultInstance();
      }

      public io.grpc.benchmarks.proto.Stats.ClientStats build() {
        io.grpc.benchmarks.proto.Stats.ClientStats result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public io.grpc.benchmarks.proto.Stats.ClientStats buildPartial() {
        io.grpc.benchmarks.proto.Stats.ClientStats result = new io.grpc.benchmarks.proto.Stats.ClientStats(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (latenciesBuilder_ == null) {
          result.latencies_ = latencies_;
        } else {
          result.latencies_ = latenciesBuilder_.build();
        }
        result.timeElapsed_ = timeElapsed_;
        result.timeUser_ = timeUser_;
        result.timeSystem_ = timeSystem_;
        if (requestResultsBuilder_ == null) {
          if (((bitField0_ & 0x00000010) == 0x00000010)) {
            requestResults_ = java.util.Collections.unmodifiableList(requestResults_);
            bitField0_ = (bitField0_ & ~0x00000010);
          }
          result.requestResults_ = requestResults_;
        } else {
          result.requestResults_ = requestResultsBuilder_.build();
        }
        result.cqPollCount_ = cqPollCount_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof io.grpc.benchmarks.proto.Stats.ClientStats) {
          return mergeFrom((io.grpc.benchmarks.proto.Stats.ClientStats)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(io.grpc.benchmarks.proto.Stats.ClientStats other) {
        if (other == io.grpc.benchmarks.proto.Stats.ClientStats.getDefaultInstance()) return this;
        if (other.hasLatencies()) {
          mergeLatencies(other.getLatencies());
        }
        if (other.getTimeElapsed() != 0D) {
          setTimeElapsed(other.getTimeElapsed());
        }
        if (other.getTimeUser() != 0D) {
          setTimeUser(other.getTimeUser());
        }
        if (other.getTimeSystem() != 0D) {
          setTimeSystem(other.getTimeSystem());
        }
        if (requestResultsBuilder_ == null) {
          if (!other.requestResults_.isEmpty()) {
            if (requestResults_.isEmpty()) {
              requestResults_ = other.requestResults_;
              bitField0_ = (bitField0_ & ~0x00000010);
            } else {
              ensureRequestResultsIsMutable();
              requestResults_.addAll(other.requestResults_);
            }
            onChanged();
          }
        } else {
          if (!other.requestResults_.isEmpty()) {
            if (requestResultsBuilder_.isEmpty()) {
              requestResultsBuilder_.dispose();
              requestResultsBuilder_ = null;
              requestResults_ = other.requestResults_;
              bitField0_ = (bitField0_ & ~0x00000010);
              requestResultsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getRequestResultsFieldBuilder() : null;
            } else {
              requestResultsBuilder_.addAllMessages(other.requestResults_);
            }
          }
        }
        if (other.getCqPollCount() != 0L) {
          setCqPollCount(other.getCqPollCount());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        io.grpc.benchmarks.proto.Stats.ClientStats parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (io.grpc.benchmarks.proto.Stats.ClientStats) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private io.grpc.benchmarks.proto.Stats.HistogramData latencies_ = null;
      private com.google.protobuf.SingleFieldBuilderV3<
          io.grpc.benchmarks.proto.Stats.HistogramData, io.grpc.benchmarks.proto.Stats.HistogramData.Builder, io.grpc.benchmarks.proto.Stats.HistogramDataOrBuilder> latenciesBuilder_;
      /**
       * <pre>
       * Latency histogram. Data points are in nanoseconds.
       * </pre>
       *
       * <code>.grpc.testing.HistogramData latencies = 1;</code>
       */
      public boolean hasLatencies() {
        return latenciesBuilder_ != null || latencies_ != null;
      }
      /**
       * <pre>
       * Latency histogram. Data points are in nanoseconds.
       * </pre>
       *
       * <code>.grpc.testing.HistogramData latencies = 1;</code>
       */
      public io.grpc.benchmarks.proto.Stats.HistogramData getLatencies() {
        if (latenciesBuilder_ == null) {
          return latencies_ == null ? io.grpc.benchmarks.proto.Stats.HistogramData.getDefaultInstance() : latencies_;
        } else {
          return latenciesBuilder_.getMessage();
        }
      }
      /**
       * <pre>
       * Latency histogram. Data points are in nanoseconds.
       * </pre>
       *
       * <code>.grpc.testing.HistogramData latencies = 1;</code>
       */
      public Builder setLatencies(io.grpc.benchmarks.proto.Stats.HistogramData value) {
        if (latenciesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          latencies_ = value;
          onChanged();
        } else {
          latenciesBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <pre>
       * Latency histogram. Data points are in nanoseconds.
       * </pre>
       *
       * <code>.grpc.testing.HistogramData latencies = 1;</code>
       */
      public Builder setLatencies(
          io.grpc.benchmarks.proto.Stats.HistogramData.Builder builderForValue) {
        if (latenciesBuilder_ == null) {
          latencies_ = builderForValue.build();
          onChanged();
        } else {
          latenciesBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <pre>
       * Latency histogram. Data points are in nanoseconds.
       * </pre>
       *
       * <code>.grpc.testing.HistogramData latencies = 1;</code>
       */
      public Builder mergeLatencies(io.grpc.benchmarks.proto.Stats.HistogramData value) {
        if (latenciesBuilder_ == null) {
          if (latencies_ != null) {
            latencies_ =
              io.grpc.benchmarks.proto.Stats.HistogramData.newBuilder(latencies_).mergeFrom(value).buildPartial();
          } else {
            latencies_ = value;
          }
          onChanged();
        } else {
          latenciesBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <pre>
       * Latency histogram. Data points are in nanoseconds.
       * </pre>
       *
       * <code>.grpc.testing.HistogramData latencies = 1;</code>
       */
      public Builder clearLatencies() {
        if (latenciesBuilder_ == null) {
          latencies_ = null;
          onChanged();
        } else {
          latencies_ = null;
          latenciesBuilder_ = null;
        }

        return this;
      }
      /**
       * <pre>
       * Latency histogram. Data points are in nanoseconds.
       * </pre>
       *
       * <code>.grpc.testing.HistogramData latencies = 1;</code>
       */
      public io.grpc.benchmarks.proto.Stats.HistogramData.Builder getLatenciesBuilder() {
        
        onChanged();
        return getLatenciesFieldBuilder().getBuilder();
      }
      /**
       * <pre>
       * Latency histogram. Data points are in nanoseconds.
       * </pre>
       *
       * <code>.grpc.testing.HistogramData latencies = 1;</code>
       */
      public io.grpc.benchmarks.proto.Stats.HistogramDataOrBuilder getLatenciesOrBuilder() {
        if (latenciesBuilder_ != null) {
          return latenciesBuilder_.getMessageOrBuilder();
        } else {
          return latencies_ == null ?
              io.grpc.benchmarks.proto.Stats.HistogramData.getDefaultInstance() : latencies_;
        }
      }
      /**
       * <pre>
       * Latency histogram. Data points are in nanoseconds.
       * </pre>
       *
       * <code>.grpc.testing.HistogramData latencies = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          io.grpc.benchmarks.proto.Stats.HistogramData, io.grpc.benchmarks.proto.Stats.HistogramData.Builder, io.grpc.benchmarks.proto.Stats.HistogramDataOrBuilder> 
          getLatenciesFieldBuilder() {
        if (latenciesBuilder_ == null) {
          latenciesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              io.grpc.benchmarks.proto.Stats.HistogramData, io.grpc.benchmarks.proto.Stats.HistogramData.Builder, io.grpc.benchmarks.proto.Stats.HistogramDataOrBuilder>(
                  getLatencies(),
                  getParentForChildren(),
                  isClean());
          latencies_ = null;
        }
        return latenciesBuilder_;
      }

      private double timeElapsed_ ;
      /**
       * <pre>
       * See ServerStats for details.
       * </pre>
       *
       * <code>double time_elapsed = 2;</code>
       */
      public double getTimeElapsed() {
        return timeElapsed_;
      }
      /**
       * <pre>
       * See ServerStats for details.
       * </pre>
       *
       * <code>double time_elapsed = 2;</code>
       */
      public Builder setTimeElapsed(double value) {
        
        timeElapsed_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * See ServerStats for details.
       * </pre>
       *
       * <code>double time_elapsed = 2;</code>
       */
      public Builder clearTimeElapsed() {
        
        timeElapsed_ = 0D;
        onChanged();
        return this;
      }

      private double timeUser_ ;
      /**
       * <code>double time_user = 3;</code>
       */
      public double getTimeUser() {
        return timeUser_;
      }
      /**
       * <code>double time_user = 3;</code>
       */
      public Builder setTimeUser(double value) {
        
        timeUser_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>double time_user = 3;</code>
       */
      public Builder clearTimeUser() {
        
        timeUser_ = 0D;
        onChanged();
        return this;
      }

      private double timeSystem_ ;
      /**
       * <code>double time_system = 4;</code>
       */
      public double getTimeSystem() {
        return timeSystem_;
      }
      /**
       * <code>double time_system = 4;</code>
       */
      public Builder setTimeSystem(double value) {
        
        timeSystem_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>double time_system = 4;</code>
       */
      public Builder clearTimeSystem() {
        
        timeSystem_ = 0D;
        onChanged();
        return this;
      }

      private java.util.List<io.grpc.benchmarks.proto.Stats.RequestResultCount> requestResults_ =
        java.util.Collections.emptyList();
      private void ensureRequestResultsIsMutable() {
        if (!((bitField0_ & 0x00000010) == 0x00000010)) {
          requestResults_ = new java.util.ArrayList<io.grpc.benchmarks.proto.Stats.RequestResultCount>(requestResults_);
          bitField0_ |= 0x00000010;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          io.grpc.benchmarks.proto.Stats.RequestResultCount, io.grpc.benchmarks.proto.Stats.RequestResultCount.Builder, io.grpc.benchmarks.proto.Stats.RequestResultCountOrBuilder> requestResultsBuilder_;

      /**
       * <pre>
       * Number of failed requests (one row per status code seen)
       * </pre>
       *
       * <code>repeated .grpc.testing.RequestResultCount request_results = 5;</code>
       */
      public java.util.List<io.grpc.benchmarks.proto.Stats.RequestResultCount> getRequestResultsList() {
        if (requestResultsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(requestResults_);
        } else {
          return requestResultsBuilder_.getMessageList();
        }
      }
      /**
       * <pre>
       * Number of failed requests (one row per status code seen)
       * </pre>
       *
       * <code>repeated .grpc.testing.RequestResultCount request_results = 5;</code>
       */
      public int getRequestResultsCount() {
        if (requestResultsBuilder_ == null) {
          return requestResults_.size();
        } else {
          return requestResultsBuilder_.getCount();
        }
      }
      /**
       * <pre>
       * Number of failed requests (one row per status code seen)
       * </pre>
       *
       * <code>repeated .grpc.testing.RequestResultCount request_results = 5;</code>
       */
      public io.grpc.benchmarks.proto.Stats.RequestResultCount getRequestResults(int index) {
        if (requestResultsBuilder_ == null) {
          return requestResults_.get(index);
        } else {
          return requestResultsBuilder_.getMessage(index);
        }
      }
      /**
       * <pre>
       * Number of failed requests (one row per status code seen)
       * </pre>
       *
       * <code>repeated .grpc.testing.RequestResultCount request_results = 5;</code>
       */
      public Builder setRequestResults(
          int index, io.grpc.benchmarks.proto.Stats.RequestResultCount value) {
        if (requestResultsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureRequestResultsIsMutable();
          requestResults_.set(index, value);
          onChanged();
        } else {
          requestResultsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <pre>
       * Number of failed requests (one row per status code seen)
       * </pre>
       *
       * <code>repeated .grpc.testing.RequestResultCount request_results = 5;</code>
       */
      public Builder setRequestResults(
          int index, io.grpc.benchmarks.proto.Stats.RequestResultCount.Builder builderForValue) {
        if (requestResultsBuilder_ == null) {
          ensureRequestResultsIsMutable();
          requestResults_.set(index, builderForValue.build());
          onChanged();
        } else {
          requestResultsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       * Number of failed requests (one row per status code seen)
       * </pre>
       *
       * <code>repeated .grpc.testing.RequestResultCount request_results = 5;</code>
       */
      public Builder addRequestResults(io.grpc.benchmarks.proto.Stats.RequestResultCount value) {
        if (requestResultsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureRequestResultsIsMutable();
          requestResults_.add(value);
          onChanged();
        } else {
          requestResultsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <pre>
       * Number of failed requests (one row per status code seen)
       * </pre>
       *
       * <code>repeated .grpc.testing.RequestResultCount request_results = 5;</code>
       */
      public Builder addRequestResults(
          int index, io.grpc.benchmarks.proto.Stats.RequestResultCount value) {
        if (requestResultsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureRequestResultsIsMutable();
          requestResults_.add(index, value);
          onChanged();
        } else {
          requestResultsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <pre>
       * Number of failed requests (one row per status code seen)
       * </pre>
       *
       * <code>repeated .grpc.testing.RequestResultCount request_results = 5;</code>
       */
      public Builder addRequestResults(
          io.grpc.benchmarks.proto.Stats.RequestResultCount.Builder builderForValue) {
        if (requestResultsBuilder_ == null) {
          ensureRequestResultsIsMutable();
          requestResults_.add(builderForValue.build());
          onChanged();
        } else {
          requestResultsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       * Number of failed requests (one row per status code seen)
       * </pre>
       *
       * <code>repeated .grpc.testing.RequestResultCount request_results = 5;</code>
       */
      public Builder addRequestResults(
          int index, io.grpc.benchmarks.proto.Stats.RequestResultCount.Builder builderForValue) {
        if (requestResultsBuilder_ == null) {
          ensureRequestResultsIsMutable();
          requestResults_.add(index, builderForValue.build());
          onChanged();
        } else {
          requestResultsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       * Number of failed requests (one row per status code seen)
       * </pre>
       *
       * <code>repeated .grpc.testing.RequestResultCount request_results = 5;</code>
       */
      public Builder addAllRequestResults(
          java.lang.Iterable<? extends io.grpc.benchmarks.proto.Stats.RequestResultCount> values) {
        if (requestResultsBuilder_ == null) {
          ensureRequestResultsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, requestResults_);
          onChanged();
        } else {
          requestResultsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <pre>
       * Number of failed requests (one row per status code seen)
       * </pre>
       *
       * <code>repeated .grpc.testing.RequestResultCount request_results = 5;</code>
       */
      public Builder clearRequestResults() {
        if (requestResultsBuilder_ == null) {
          requestResults_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000010);
          onChanged();
        } else {
          requestResultsBuilder_.clear();
        }
        return this;
      }
      /**
       * <pre>
       * Number of failed requests (one row per status code seen)
       * </pre>
       *
       * <code>repeated .grpc.testing.RequestResultCount request_results = 5;</code>
       */
      public Builder removeRequestResults(int index) {
        if (requestResultsBuilder_ == null) {
          ensureRequestResultsIsMutable();
          requestResults_.remove(index);
          onChanged();
        } else {
          requestResultsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <pre>
       * Number of failed requests (one row per status code seen)
       * </pre>
       *
       * <code>repeated .grpc.testing.RequestResultCount request_results = 5;</code>
       */
      public io.grpc.benchmarks.proto.Stats.RequestResultCount.Builder getRequestResultsBuilder(
          int index) {
        return getRequestResultsFieldBuilder().getBuilder(index);
      }
      /**
       * <pre>
       * Number of failed requests (one row per status code seen)
       * </pre>
       *
       * <code>repeated .grpc.testing.RequestResultCount request_results = 5;</code>
       */
      public io.grpc.benchmarks.proto.Stats.RequestResultCountOrBuilder getRequestResultsOrBuilder(
          int index) {
        if (requestResultsBuilder_ == null) {
          return requestResults_.get(index);  } else {
          return requestResultsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <pre>
       * Number of failed requests (one row per status code seen)
       * </pre>
       *
       * <code>repeated .grpc.testing.RequestResultCount request_results = 5;</code>
       */
      public java.util.List<? extends io.grpc.benchmarks.proto.Stats.RequestResultCountOrBuilder> 
           getRequestResultsOrBuilderList() {
        if (requestResultsBuilder_ != null) {
          return requestResultsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(requestResults_);
        }
      }
      /**
       * <pre>
       * Number of failed requests (one row per status code seen)
       * </pre>
       *
       * <code>repeated .grpc.testing.RequestResultCount request_results = 5;</code>
       */
      public io.grpc.benchmarks.proto.Stats.RequestResultCount.Builder addRequestResultsBuilder() {
        return getRequestResultsFieldBuilder().addBuilder(
            io.grpc.benchmarks.proto.Stats.RequestResultCount.getDefaultInstance());
      }
      /**
       * <pre>
       * Number of failed requests (one row per status code seen)
       * </pre>
       *
       * <code>repeated .grpc.testing.RequestResultCount request_results = 5;</code>
       */
      public io.grpc.benchmarks.proto.Stats.RequestResultCount.Builder addRequestResultsBuilder(
          int index) {
        return getRequestResultsFieldBuilder().addBuilder(
            index, io.grpc.benchmarks.proto.Stats.RequestResultCount.getDefaultInstance());
      }
      /**
       * <pre>
       * Number of failed requests (one row per status code seen)
       * </pre>
       *
       * <code>repeated .grpc.testing.RequestResultCount request_results = 5;</code>
       */
      public java.util.List<io.grpc.benchmarks.proto.Stats.RequestResultCount.Builder> 
           getRequestResultsBuilderList() {
        return getRequestResultsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          io.grpc.benchmarks.proto.Stats.RequestResultCount, io.grpc.benchmarks.proto.Stats.RequestResultCount.Builder, io.grpc.benchmarks.proto.Stats.RequestResultCountOrBuilder> 
          getRequestResultsFieldBuilder() {
        if (requestResultsBuilder_ == null) {
          requestResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              io.grpc.benchmarks.proto.Stats.RequestResultCount, io.grpc.benchmarks.proto.Stats.RequestResultCount.Builder, io.grpc.benchmarks.proto.Stats.RequestResultCountOrBuilder>(
                  requestResults_,
                  ((bitField0_ & 0x00000010) == 0x00000010),
                  getParentForChildren(),
                  isClean());
          requestResults_ = null;
        }
        return requestResultsBuilder_;
      }

      private long cqPollCount_ ;
      /**
       * <pre>
       * Number of polls called inside completion queue
       * </pre>
       *
       * <code>uint64 cq_poll_count = 6;</code>
       */
      public long getCqPollCount() {
        return cqPollCount_;
      }
      /**
       * <pre>
       * Number of polls called inside completion queue
       * </pre>
       *
       * <code>uint64 cq_poll_count = 6;</code>
       */
      public Builder setCqPollCount(long value) {
        
        cqPollCount_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Number of polls called inside completion queue
       * </pre>
       *
       * <code>uint64 cq_poll_count = 6;</code>
       */
      public Builder clearCqPollCount() {
        
        cqPollCount_ = 0L;
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFieldsProto3(unknownFields);
      }

      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:grpc.testing.ClientStats)
    }

    // @@protoc_insertion_point(class_scope:grpc.testing.ClientStats)
    private static final io.grpc.benchmarks.proto.Stats.ClientStats DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new io.grpc.benchmarks.proto.Stats.ClientStats();
    }

    public static io.grpc.benchmarks.proto.Stats.ClientStats getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<ClientStats>
        PARSER = new com.google.protobuf.AbstractParser<ClientStats>() {
      public ClientStats parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new ClientStats(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser<ClientStats> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<ClientStats> getParserForType() {
      return PARSER;
    }

    public io.grpc.benchmarks.proto.Stats.ClientStats getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_grpc_testing_ServerStats_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_grpc_testing_ServerStats_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_grpc_testing_HistogramParams_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_grpc_testing_HistogramParams_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_grpc_testing_HistogramData_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_grpc_testing_HistogramData_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_grpc_testing_RequestResultCount_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_grpc_testing_RequestResultCount_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_grpc_testing_ClientStats_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_grpc_testing_ClientStats_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n\030grpc/testing/stats.proto\022\014grpc.testing" +
      "\"\221\001\n\013ServerStats\022\024\n\014time_elapsed\030\001 \001(\001\022\021" +
      "\n\ttime_user\030\002 \001(\001\022\023\n\013time_system\030\003 \001(\001\022\026" +
      "\n\016total_cpu_time\030\004 \001(\004\022\025\n\ridle_cpu_time\030" +
      "\005 \001(\004\022\025\n\rcq_poll_count\030\006 \001(\004\";\n\017Histogra" +
      "mParams\022\022\n\nresolution\030\001 \001(\001\022\024\n\014max_possi" +
      "ble\030\002 \001(\001\"w\n\rHistogramData\022\016\n\006bucket\030\001 \003" +
      "(\r\022\020\n\010min_seen\030\002 \001(\001\022\020\n\010max_seen\030\003 \001(\001\022\013" +
      "\n\003sum\030\004 \001(\001\022\026\n\016sum_of_squares\030\005 \001(\001\022\r\n\005c" +
      "ount\030\006 \001(\001\"8\n\022RequestResultCount\022\023\n\013stat" +
      "us_code\030\001 \001(\005\022\r\n\005count\030\002 \001(\003\"\315\001\n\013ClientS" +
      "tats\022.\n\tlatencies\030\001 \001(\0132\033.grpc.testing.H" +
      "istogramData\022\024\n\014time_elapsed\030\002 \001(\001\022\021\n\tti" +
      "me_user\030\003 \001(\001\022\023\n\013time_system\030\004 \001(\001\0229\n\017re" +
      "quest_results\030\005 \003(\0132 .grpc.testing.Reque" +
      "stResultCount\022\025\n\rcq_poll_count\030\006 \001(\004B!\n\030" +
      "io.grpc.benchmarks.protoB\005Statsb\006proto3"
    };
    com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
        new com.google.protobuf.Descriptors.FileDescriptor.    InternalDescriptorAssigner() {
          public com.google.protobuf.ExtensionRegistry assignDescriptors(
              com.google.protobuf.Descriptors.FileDescriptor root) {
            descriptor = root;
            return null;
          }
        };
    com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
        }, assigner);
    internal_static_grpc_testing_ServerStats_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_grpc_testing_ServerStats_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_grpc_testing_ServerStats_descriptor,
        new java.lang.String[] { "TimeElapsed", "TimeUser", "TimeSystem", "TotalCpuTime", "IdleCpuTime", "CqPollCount", });
    internal_static_grpc_testing_HistogramParams_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_grpc_testing_HistogramParams_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_grpc_testing_HistogramParams_descriptor,
        new java.lang.String[] { "Resolution", "MaxPossible", });
    internal_static_grpc_testing_HistogramData_descriptor =
      getDescriptor().getMessageTypes().get(2);
    internal_static_grpc_testing_HistogramData_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_grpc_testing_HistogramData_descriptor,
        new java.lang.String[] { "Bucket", "MinSeen", "MaxSeen", "Sum", "SumOfSquares", "Count", });
    internal_static_grpc_testing_RequestResultCount_descriptor =
      getDescriptor().getMessageTypes().get(3);
    internal_static_grpc_testing_RequestResultCount_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_grpc_testing_RequestResultCount_descriptor,
        new java.lang.String[] { "StatusCode", "Count", });
    internal_static_grpc_testing_ClientStats_descriptor =
      getDescriptor().getMessageTypes().get(4);
    internal_static_grpc_testing_ClientStats_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_grpc_testing_ClientStats_descriptor,
        new java.lang.String[] { "Latencies", "TimeElapsed", "TimeUser", "TimeSystem", "RequestResults", "CqPollCount", });
  }

  // @@protoc_insertion_point(outer_class_scope)
}
