// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: nfyy.proto

package com.ywt.gapi.nfyy;

/**
 * Protobuf type {@code com.ywt.gapi.nfyy.StatsDoctorRequest}
 */
public final class StatsDoctorRequest extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.nfyy.StatsDoctorRequest)
    StatsDoctorRequestOrBuilder {
private static final long serialVersionUID = 0L;
  // Use StatsDoctorRequest.newBuilder() to construct.
  private StatsDoctorRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private StatsDoctorRequest() {
    departmentId_ = "";
    doctorIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(
      UnusedPrivateParameter unused) {
    return new StatsDoctorRequest();
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private StatsDoctorRequest(
      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;
          case 10: {
            java.lang.String s = input.readStringRequireUtf8();

            departmentId_ = s;
            break;
          }
          case 18: {
            java.lang.String s = input.readStringRequireUtf8();
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              doctorIds_ = new com.google.protobuf.LazyStringArrayList();
              mutable_bitField0_ |= 0x00000001;
            }
            doctorIds_.add(s);
            break;
          }
          case 24: {

            topDiseaseCount_ = input.readInt32();
            break;
          }
          case 32: {

            start_ = input.readInt32();
            break;
          }
          case 40: {

            size_ = input.readInt32();
            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            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) != 0)) {
        doctorIds_ = doctorIds_.getUnmodifiableView();
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.ywt.gapi.nfyy.NfyyProto.internal_static_com_ywt_gapi_nfyy_StatsDoctorRequest_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.ywt.gapi.nfyy.NfyyProto.internal_static_com_ywt_gapi_nfyy_StatsDoctorRequest_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.ywt.gapi.nfyy.StatsDoctorRequest.class, com.ywt.gapi.nfyy.StatsDoctorRequest.Builder.class);
  }

  public static final int DEPARTMENTID_FIELD_NUMBER = 1;
  private volatile java.lang.Object departmentId_;
  /**
   * <pre>
   *科室ID
   * </pre>
   *
   * <code>string departmentId = 1;</code>
   * @return The departmentId.
   */
  @java.lang.Override
  public java.lang.String getDepartmentId() {
    java.lang.Object ref = departmentId_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      departmentId_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *科室ID
   * </pre>
   *
   * <code>string departmentId = 1;</code>
   * @return The bytes for departmentId.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDepartmentIdBytes() {
    java.lang.Object ref = departmentId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      departmentId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DOCTORIDS_FIELD_NUMBER = 2;
  private com.google.protobuf.LazyStringList doctorIds_;
  /**
   * <pre>
   *医生ID列表
   * </pre>
   *
   * <code>repeated string doctorIds = 2;</code>
   * @return A list containing the doctorIds.
   */
  public com.google.protobuf.ProtocolStringList
      getDoctorIdsList() {
    return doctorIds_;
  }
  /**
   * <pre>
   *医生ID列表
   * </pre>
   *
   * <code>repeated string doctorIds = 2;</code>
   * @return The count of doctorIds.
   */
  public int getDoctorIdsCount() {
    return doctorIds_.size();
  }
  /**
   * <pre>
   *医生ID列表
   * </pre>
   *
   * <code>repeated string doctorIds = 2;</code>
   * @param index The index of the element to return.
   * @return The doctorIds at the given index.
   */
  public java.lang.String getDoctorIds(int index) {
    return doctorIds_.get(index);
  }
  /**
   * <pre>
   *医生ID列表
   * </pre>
   *
   * <code>repeated string doctorIds = 2;</code>
   * @param index The index of the value to return.
   * @return The bytes of the doctorIds at the given index.
   */
  public com.google.protobuf.ByteString
      getDoctorIdsBytes(int index) {
    return doctorIds_.getByteString(index);
  }

  public static final int TOPDISEASECOUNT_FIELD_NUMBER = 3;
  private int topDiseaseCount_;
  /**
   * <pre>
   *每个医生显示的治疗疾病数量
   * </pre>
   *
   * <code>int32 topDiseaseCount = 3;</code>
   * @return The topDiseaseCount.
   */
  @java.lang.Override
  public int getTopDiseaseCount() {
    return topDiseaseCount_;
  }

  public static final int START_FIELD_NUMBER = 4;
  private int start_;
  /**
   * <pre>
   *查询开始位置
   * </pre>
   *
   * <code>int32 start = 4;</code>
   * @return The start.
   */
  @java.lang.Override
  public int getStart() {
    return start_;
  }

  public static final int SIZE_FIELD_NUMBER = 5;
  private int size_;
  /**
   * <pre>
   *返回结果条数
   * </pre>
   *
   * <code>int32 size = 5;</code>
   * @return The size.
   */
  @java.lang.Override
  public int getSize() {
    return size_;
  }

  private byte memoizedIsInitialized = -1;
  @java.lang.Override
  public final boolean isInitialized() {
    byte isInitialized = memoizedIsInitialized;
    if (isInitialized == 1) return true;
    if (isInitialized == 0) return false;

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(departmentId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, departmentId_);
    }
    for (int i = 0; i < doctorIds_.size(); i++) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, doctorIds_.getRaw(i));
    }
    if (topDiseaseCount_ != 0) {
      output.writeInt32(3, topDiseaseCount_);
    }
    if (start_ != 0) {
      output.writeInt32(4, start_);
    }
    if (size_ != 0) {
      output.writeInt32(5, size_);
    }
    unknownFields.writeTo(output);
  }

  @java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(departmentId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, departmentId_);
    }
    {
      int dataSize = 0;
      for (int i = 0; i < doctorIds_.size(); i++) {
        dataSize += computeStringSizeNoTag(doctorIds_.getRaw(i));
      }
      size += dataSize;
      size += 1 * getDoctorIdsList().size();
    }
    if (topDiseaseCount_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(3, topDiseaseCount_);
    }
    if (start_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(4, start_);
    }
    if (size_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(5, size_);
    }
    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 com.ywt.gapi.nfyy.StatsDoctorRequest)) {
      return super.equals(obj);
    }
    com.ywt.gapi.nfyy.StatsDoctorRequest other = (com.ywt.gapi.nfyy.StatsDoctorRequest) obj;

    if (!getDepartmentId()
        .equals(other.getDepartmentId())) return false;
    if (!getDoctorIdsList()
        .equals(other.getDoctorIdsList())) return false;
    if (getTopDiseaseCount()
        != other.getTopDiseaseCount()) return false;
    if (getStart()
        != other.getStart()) return false;
    if (getSize()
        != other.getSize()) return false;
    if (!unknownFields.equals(other.unknownFields)) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + DEPARTMENTID_FIELD_NUMBER;
    hash = (53 * hash) + getDepartmentId().hashCode();
    if (getDoctorIdsCount() > 0) {
      hash = (37 * hash) + DOCTORIDS_FIELD_NUMBER;
      hash = (53 * hash) + getDoctorIdsList().hashCode();
    }
    hash = (37 * hash) + TOPDISEASECOUNT_FIELD_NUMBER;
    hash = (53 * hash) + getTopDiseaseCount();
    hash = (37 * hash) + START_FIELD_NUMBER;
    hash = (53 * hash) + getStart();
    hash = (37 * hash) + SIZE_FIELD_NUMBER;
    hash = (53 * hash) + getSize();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.ywt.gapi.nfyy.StatsDoctorRequest parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.nfyy.StatsDoctorRequest parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.ywt.gapi.nfyy.StatsDoctorRequest parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.nfyy.StatsDoctorRequest parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.ywt.gapi.nfyy.StatsDoctorRequest parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.nfyy.StatsDoctorRequest parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.ywt.gapi.nfyy.StatsDoctorRequest parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.nfyy.StatsDoctorRequest 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 com.ywt.gapi.nfyy.StatsDoctorRequest parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.nfyy.StatsDoctorRequest 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 com.ywt.gapi.nfyy.StatsDoctorRequest parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.nfyy.StatsDoctorRequest parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }

  @java.lang.Override
  public Builder newBuilderForType() { return newBuilder(); }
  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }
  public static Builder newBuilder(com.ywt.gapi.nfyy.StatsDoctorRequest prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  @java.lang.Override
  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 com.ywt.gapi.nfyy.StatsDoctorRequest}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:com.ywt.gapi.nfyy.StatsDoctorRequest)
      com.ywt.gapi.nfyy.StatsDoctorRequestOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.ywt.gapi.nfyy.NfyyProto.internal_static_com_ywt_gapi_nfyy_StatsDoctorRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.ywt.gapi.nfyy.NfyyProto.internal_static_com_ywt_gapi_nfyy_StatsDoctorRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.ywt.gapi.nfyy.StatsDoctorRequest.class, com.ywt.gapi.nfyy.StatsDoctorRequest.Builder.class);
    }

    // Construct using com.ywt.gapi.nfyy.StatsDoctorRequest.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      departmentId_ = "";

      doctorIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      bitField0_ = (bitField0_ & ~0x00000001);
      topDiseaseCount_ = 0;

      start_ = 0;

      size_ = 0;

      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.ywt.gapi.nfyy.NfyyProto.internal_static_com_ywt_gapi_nfyy_StatsDoctorRequest_descriptor;
    }

    @java.lang.Override
    public com.ywt.gapi.nfyy.StatsDoctorRequest getDefaultInstanceForType() {
      return com.ywt.gapi.nfyy.StatsDoctorRequest.getDefaultInstance();
    }

    @java.lang.Override
    public com.ywt.gapi.nfyy.StatsDoctorRequest build() {
      com.ywt.gapi.nfyy.StatsDoctorRequest result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public com.ywt.gapi.nfyy.StatsDoctorRequest buildPartial() {
      com.ywt.gapi.nfyy.StatsDoctorRequest result = new com.ywt.gapi.nfyy.StatsDoctorRequest(this);
      int from_bitField0_ = bitField0_;
      result.departmentId_ = departmentId_;
      if (((bitField0_ & 0x00000001) != 0)) {
        doctorIds_ = doctorIds_.getUnmodifiableView();
        bitField0_ = (bitField0_ & ~0x00000001);
      }
      result.doctorIds_ = doctorIds_;
      result.topDiseaseCount_ = topDiseaseCount_;
      result.start_ = start_;
      result.size_ = size_;
      onBuilt();
      return result;
    }

    @java.lang.Override
    public Builder clone() {
      return super.clone();
    }
    @java.lang.Override
    public Builder setField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.setField(field, value);
    }
    @java.lang.Override
    public Builder clearField(
        com.google.protobuf.Descriptors.FieldDescriptor field) {
      return super.clearField(field);
    }
    @java.lang.Override
    public Builder clearOneof(
        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
      return super.clearOneof(oneof);
    }
    @java.lang.Override
    public Builder setRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        int index, java.lang.Object value) {
      return super.setRepeatedField(field, index, value);
    }
    @java.lang.Override
    public Builder addRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.addRepeatedField(field, value);
    }
    @java.lang.Override
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof com.ywt.gapi.nfyy.StatsDoctorRequest) {
        return mergeFrom((com.ywt.gapi.nfyy.StatsDoctorRequest)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.ywt.gapi.nfyy.StatsDoctorRequest other) {
      if (other == com.ywt.gapi.nfyy.StatsDoctorRequest.getDefaultInstance()) return this;
      if (!other.getDepartmentId().isEmpty()) {
        departmentId_ = other.departmentId_;
        onChanged();
      }
      if (!other.doctorIds_.isEmpty()) {
        if (doctorIds_.isEmpty()) {
          doctorIds_ = other.doctorIds_;
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          ensureDoctorIdsIsMutable();
          doctorIds_.addAll(other.doctorIds_);
        }
        onChanged();
      }
      if (other.getTopDiseaseCount() != 0) {
        setTopDiseaseCount(other.getTopDiseaseCount());
      }
      if (other.getStart() != 0) {
        setStart(other.getStart());
      }
      if (other.getSize() != 0) {
        setSize(other.getSize());
      }
      this.mergeUnknownFields(other.unknownFields);
      onChanged();
      return this;
    }

    @java.lang.Override
    public final boolean isInitialized() {
      return true;
    }

    @java.lang.Override
    public Builder mergeFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      com.ywt.gapi.nfyy.StatsDoctorRequest parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.ywt.gapi.nfyy.StatsDoctorRequest) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int bitField0_;

    private java.lang.Object departmentId_ = "";
    /**
     * <pre>
     *科室ID
     * </pre>
     *
     * <code>string departmentId = 1;</code>
     * @return The departmentId.
     */
    public java.lang.String getDepartmentId() {
      java.lang.Object ref = departmentId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        departmentId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *科室ID
     * </pre>
     *
     * <code>string departmentId = 1;</code>
     * @return The bytes for departmentId.
     */
    public com.google.protobuf.ByteString
        getDepartmentIdBytes() {
      java.lang.Object ref = departmentId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        departmentId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *科室ID
     * </pre>
     *
     * <code>string departmentId = 1;</code>
     * @param value The departmentId to set.
     * @return This builder for chaining.
     */
    public Builder setDepartmentId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      departmentId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *科室ID
     * </pre>
     *
     * <code>string departmentId = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearDepartmentId() {
      
      departmentId_ = getDefaultInstance().getDepartmentId();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *科室ID
     * </pre>
     *
     * <code>string departmentId = 1;</code>
     * @param value The bytes for departmentId to set.
     * @return This builder for chaining.
     */
    public Builder setDepartmentIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      departmentId_ = value;
      onChanged();
      return this;
    }

    private com.google.protobuf.LazyStringList doctorIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    private void ensureDoctorIdsIsMutable() {
      if (!((bitField0_ & 0x00000001) != 0)) {
        doctorIds_ = new com.google.protobuf.LazyStringArrayList(doctorIds_);
        bitField0_ |= 0x00000001;
       }
    }
    /**
     * <pre>
     *医生ID列表
     * </pre>
     *
     * <code>repeated string doctorIds = 2;</code>
     * @return A list containing the doctorIds.
     */
    public com.google.protobuf.ProtocolStringList
        getDoctorIdsList() {
      return doctorIds_.getUnmodifiableView();
    }
    /**
     * <pre>
     *医生ID列表
     * </pre>
     *
     * <code>repeated string doctorIds = 2;</code>
     * @return The count of doctorIds.
     */
    public int getDoctorIdsCount() {
      return doctorIds_.size();
    }
    /**
     * <pre>
     *医生ID列表
     * </pre>
     *
     * <code>repeated string doctorIds = 2;</code>
     * @param index The index of the element to return.
     * @return The doctorIds at the given index.
     */
    public java.lang.String getDoctorIds(int index) {
      return doctorIds_.get(index);
    }
    /**
     * <pre>
     *医生ID列表
     * </pre>
     *
     * <code>repeated string doctorIds = 2;</code>
     * @param index The index of the value to return.
     * @return The bytes of the doctorIds at the given index.
     */
    public com.google.protobuf.ByteString
        getDoctorIdsBytes(int index) {
      return doctorIds_.getByteString(index);
    }
    /**
     * <pre>
     *医生ID列表
     * </pre>
     *
     * <code>repeated string doctorIds = 2;</code>
     * @param index The index to set the value at.
     * @param value The doctorIds to set.
     * @return This builder for chaining.
     */
    public Builder setDoctorIds(
        int index, java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  ensureDoctorIdsIsMutable();
      doctorIds_.set(index, value);
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医生ID列表
     * </pre>
     *
     * <code>repeated string doctorIds = 2;</code>
     * @param value The doctorIds to add.
     * @return This builder for chaining.
     */
    public Builder addDoctorIds(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  ensureDoctorIdsIsMutable();
      doctorIds_.add(value);
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医生ID列表
     * </pre>
     *
     * <code>repeated string doctorIds = 2;</code>
     * @param values The doctorIds to add.
     * @return This builder for chaining.
     */
    public Builder addAllDoctorIds(
        java.lang.Iterable<java.lang.String> values) {
      ensureDoctorIdsIsMutable();
      com.google.protobuf.AbstractMessageLite.Builder.addAll(
          values, doctorIds_);
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医生ID列表
     * </pre>
     *
     * <code>repeated string doctorIds = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearDoctorIds() {
      doctorIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      bitField0_ = (bitField0_ & ~0x00000001);
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医生ID列表
     * </pre>
     *
     * <code>repeated string doctorIds = 2;</code>
     * @param value The bytes of the doctorIds to add.
     * @return This builder for chaining.
     */
    public Builder addDoctorIdsBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      ensureDoctorIdsIsMutable();
      doctorIds_.add(value);
      onChanged();
      return this;
    }

    private int topDiseaseCount_ ;
    /**
     * <pre>
     *每个医生显示的治疗疾病数量
     * </pre>
     *
     * <code>int32 topDiseaseCount = 3;</code>
     * @return The topDiseaseCount.
     */
    @java.lang.Override
    public int getTopDiseaseCount() {
      return topDiseaseCount_;
    }
    /**
     * <pre>
     *每个医生显示的治疗疾病数量
     * </pre>
     *
     * <code>int32 topDiseaseCount = 3;</code>
     * @param value The topDiseaseCount to set.
     * @return This builder for chaining.
     */
    public Builder setTopDiseaseCount(int value) {
      
      topDiseaseCount_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *每个医生显示的治疗疾病数量
     * </pre>
     *
     * <code>int32 topDiseaseCount = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearTopDiseaseCount() {
      
      topDiseaseCount_ = 0;
      onChanged();
      return this;
    }

    private int start_ ;
    /**
     * <pre>
     *查询开始位置
     * </pre>
     *
     * <code>int32 start = 4;</code>
     * @return The start.
     */
    @java.lang.Override
    public int getStart() {
      return start_;
    }
    /**
     * <pre>
     *查询开始位置
     * </pre>
     *
     * <code>int32 start = 4;</code>
     * @param value The start to set.
     * @return This builder for chaining.
     */
    public Builder setStart(int value) {
      
      start_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *查询开始位置
     * </pre>
     *
     * <code>int32 start = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearStart() {
      
      start_ = 0;
      onChanged();
      return this;
    }

    private int size_ ;
    /**
     * <pre>
     *返回结果条数
     * </pre>
     *
     * <code>int32 size = 5;</code>
     * @return The size.
     */
    @java.lang.Override
    public int getSize() {
      return size_;
    }
    /**
     * <pre>
     *返回结果条数
     * </pre>
     *
     * <code>int32 size = 5;</code>
     * @param value The size to set.
     * @return This builder for chaining.
     */
    public Builder setSize(int value) {
      
      size_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *返回结果条数
     * </pre>
     *
     * <code>int32 size = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearSize() {
      
      size_ = 0;
      onChanged();
      return this;
    }
    @java.lang.Override
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

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


    // @@protoc_insertion_point(builder_scope:com.ywt.gapi.nfyy.StatsDoctorRequest)
  }

  // @@protoc_insertion_point(class_scope:com.ywt.gapi.nfyy.StatsDoctorRequest)
  private static final com.ywt.gapi.nfyy.StatsDoctorRequest DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new com.ywt.gapi.nfyy.StatsDoctorRequest();
  }

  public static com.ywt.gapi.nfyy.StatsDoctorRequest getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

  @java.lang.Override
  public com.ywt.gapi.nfyy.StatsDoctorRequest getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

