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

package com.ywt.gapi.user;

/**
 * <pre>
 *获取所有医生信息响应
 * </pre>
 *
 * Protobuf type {@code com.ywt.gapi.user.GetDoctorAllResponse}
 */
public  final class GetDoctorAllResponse extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.user.GetDoctorAllResponse)
    GetDoctorAllResponseOrBuilder {
  // Use GetDoctorAllResponse.newBuilder() to construct.
  private GetDoctorAllResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private GetDoctorAllResponse() {
    code_ = 0;
    doctorInfos_ = java.util.Collections.emptyList();
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
  }
  private GetDoctorAllResponse(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    int mutable_bitField0_ = 0;
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          default: {
            if (!input.skipField(tag)) {
              done = true;
            }
            break;
          }
          case 8: {

            code_ = input.readInt32();
            break;
          }
          case 18: {
            if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
              doctorInfos_ = new java.util.ArrayList<com.ywt.gapi.user.DoctorInfo>();
              mutable_bitField0_ |= 0x00000002;
            }
            doctorInfos_.add(
                input.readMessage(com.ywt.gapi.user.DoctorInfo.parser(), extensionRegistry));
            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_ & 0x00000002) == 0x00000002)) {
        doctorInfos_ = java.util.Collections.unmodifiableList(doctorInfos_);
      }
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.ywt.gapi.user.DoctorOuterClass.internal_static_com_ywt_gapi_user_GetDoctorAllResponse_descriptor;
  }

  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.ywt.gapi.user.DoctorOuterClass.internal_static_com_ywt_gapi_user_GetDoctorAllResponse_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.ywt.gapi.user.GetDoctorAllResponse.class, com.ywt.gapi.user.GetDoctorAllResponse.Builder.class);
  }

  private int bitField0_;
  public static final int CODE_FIELD_NUMBER = 1;
  private int code_;
  /**
   * <code>int32 code = 1;</code>
   */
  public int getCode() {
    return code_;
  }

  public static final int DOCTORINFOS_FIELD_NUMBER = 2;
  private java.util.List<com.ywt.gapi.user.DoctorInfo> doctorInfos_;
  /**
   * <pre>
   *医生信息集合
   * </pre>
   *
   * <code>repeated .com.ywt.gapi.user.DoctorInfo doctorInfos = 2;</code>
   */
  public java.util.List<com.ywt.gapi.user.DoctorInfo> getDoctorInfosList() {
    return doctorInfos_;
  }
  /**
   * <pre>
   *医生信息集合
   * </pre>
   *
   * <code>repeated .com.ywt.gapi.user.DoctorInfo doctorInfos = 2;</code>
   */
  public java.util.List<? extends com.ywt.gapi.user.DoctorInfoOrBuilder> 
      getDoctorInfosOrBuilderList() {
    return doctorInfos_;
  }
  /**
   * <pre>
   *医生信息集合
   * </pre>
   *
   * <code>repeated .com.ywt.gapi.user.DoctorInfo doctorInfos = 2;</code>
   */
  public int getDoctorInfosCount() {
    return doctorInfos_.size();
  }
  /**
   * <pre>
   *医生信息集合
   * </pre>
   *
   * <code>repeated .com.ywt.gapi.user.DoctorInfo doctorInfos = 2;</code>
   */
  public com.ywt.gapi.user.DoctorInfo getDoctorInfos(int index) {
    return doctorInfos_.get(index);
  }
  /**
   * <pre>
   *医生信息集合
   * </pre>
   *
   * <code>repeated .com.ywt.gapi.user.DoctorInfo doctorInfos = 2;</code>
   */
  public com.ywt.gapi.user.DoctorInfoOrBuilder getDoctorInfosOrBuilder(
      int index) {
    return doctorInfos_.get(index);
  }

  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 (code_ != 0) {
      output.writeInt32(1, code_);
    }
    for (int i = 0; i < doctorInfos_.size(); i++) {
      output.writeMessage(2, doctorInfos_.get(i));
    }
  }

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

    size = 0;
    if (code_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(1, code_);
    }
    for (int i = 0; i < doctorInfos_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(2, doctorInfos_.get(i));
    }
    memoizedSize = size;
    return size;
  }

  private static final long serialVersionUID = 0L;
  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof com.ywt.gapi.user.GetDoctorAllResponse)) {
      return super.equals(obj);
    }
    com.ywt.gapi.user.GetDoctorAllResponse other = (com.ywt.gapi.user.GetDoctorAllResponse) obj;

    boolean result = true;
    result = result && (getCode()
        == other.getCode());
    result = result && getDoctorInfosList()
        .equals(other.getDoctorInfosList());
    return result;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + CODE_FIELD_NUMBER;
    hash = (53 * hash) + getCode();
    if (getDoctorInfosCount() > 0) {
      hash = (37 * hash) + DOCTORINFOS_FIELD_NUMBER;
      hash = (53 * hash) + getDoctorInfosList().hashCode();
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.ywt.gapi.user.GetDoctorAllResponse parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.user.GetDoctorAllResponse 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.user.GetDoctorAllResponse parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.user.GetDoctorAllResponse 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.user.GetDoctorAllResponse parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.user.GetDoctorAllResponse parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.ywt.gapi.user.GetDoctorAllResponse parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.user.GetDoctorAllResponse 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.user.GetDoctorAllResponse parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.user.GetDoctorAllResponse 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.user.GetDoctorAllResponse parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.user.GetDoctorAllResponse 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(com.ywt.gapi.user.GetDoctorAllResponse 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>
   *获取所有医生信息响应
   * </pre>
   *
   * Protobuf type {@code com.ywt.gapi.user.GetDoctorAllResponse}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:com.ywt.gapi.user.GetDoctorAllResponse)
      com.ywt.gapi.user.GetDoctorAllResponseOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.ywt.gapi.user.DoctorOuterClass.internal_static_com_ywt_gapi_user_GetDoctorAllResponse_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.ywt.gapi.user.DoctorOuterClass.internal_static_com_ywt_gapi_user_GetDoctorAllResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.ywt.gapi.user.GetDoctorAllResponse.class, com.ywt.gapi.user.GetDoctorAllResponse.Builder.class);
    }

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

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

      if (doctorInfosBuilder_ == null) {
        doctorInfos_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000002);
      } else {
        doctorInfosBuilder_.clear();
      }
      return this;
    }

    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.ywt.gapi.user.DoctorOuterClass.internal_static_com_ywt_gapi_user_GetDoctorAllResponse_descriptor;
    }

    public com.ywt.gapi.user.GetDoctorAllResponse getDefaultInstanceForType() {
      return com.ywt.gapi.user.GetDoctorAllResponse.getDefaultInstance();
    }

    public com.ywt.gapi.user.GetDoctorAllResponse build() {
      com.ywt.gapi.user.GetDoctorAllResponse result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    public com.ywt.gapi.user.GetDoctorAllResponse buildPartial() {
      com.ywt.gapi.user.GetDoctorAllResponse result = new com.ywt.gapi.user.GetDoctorAllResponse(this);
      int from_bitField0_ = bitField0_;
      int to_bitField0_ = 0;
      result.code_ = code_;
      if (doctorInfosBuilder_ == null) {
        if (((bitField0_ & 0x00000002) == 0x00000002)) {
          doctorInfos_ = java.util.Collections.unmodifiableList(doctorInfos_);
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.doctorInfos_ = doctorInfos_;
      } else {
        result.doctorInfos_ = doctorInfosBuilder_.build();
      }
      result.bitField0_ = to_bitField0_;
      onBuilt();
      return result;
    }

    public Builder clone() {
      return (Builder) super.clone();
    }
    public Builder setField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        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, Object value) {
      return (Builder) super.setRepeatedField(field, index, value);
    }
    public Builder addRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        Object value) {
      return (Builder) super.addRepeatedField(field, value);
    }
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof com.ywt.gapi.user.GetDoctorAllResponse) {
        return mergeFrom((com.ywt.gapi.user.GetDoctorAllResponse)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.ywt.gapi.user.GetDoctorAllResponse other) {
      if (other == com.ywt.gapi.user.GetDoctorAllResponse.getDefaultInstance()) return this;
      if (other.getCode() != 0) {
        setCode(other.getCode());
      }
      if (doctorInfosBuilder_ == null) {
        if (!other.doctorInfos_.isEmpty()) {
          if (doctorInfos_.isEmpty()) {
            doctorInfos_ = other.doctorInfos_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureDoctorInfosIsMutable();
            doctorInfos_.addAll(other.doctorInfos_);
          }
          onChanged();
        }
      } else {
        if (!other.doctorInfos_.isEmpty()) {
          if (doctorInfosBuilder_.isEmpty()) {
            doctorInfosBuilder_.dispose();
            doctorInfosBuilder_ = null;
            doctorInfos_ = other.doctorInfos_;
            bitField0_ = (bitField0_ & ~0x00000002);
            doctorInfosBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getDoctorInfosFieldBuilder() : null;
          } else {
            doctorInfosBuilder_.addAllMessages(other.doctorInfos_);
          }
        }
      }
      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 {
      com.ywt.gapi.user.GetDoctorAllResponse parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.ywt.gapi.user.GetDoctorAllResponse) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int bitField0_;

    private int code_ ;
    /**
     * <code>int32 code = 1;</code>
     */
    public int getCode() {
      return code_;
    }
    /**
     * <code>int32 code = 1;</code>
     */
    public Builder setCode(int value) {
      
      code_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 code = 1;</code>
     */
    public Builder clearCode() {
      
      code_ = 0;
      onChanged();
      return this;
    }

    private java.util.List<com.ywt.gapi.user.DoctorInfo> doctorInfos_ =
      java.util.Collections.emptyList();
    private void ensureDoctorInfosIsMutable() {
      if (!((bitField0_ & 0x00000002) == 0x00000002)) {
        doctorInfos_ = new java.util.ArrayList<com.ywt.gapi.user.DoctorInfo>(doctorInfos_);
        bitField0_ |= 0x00000002;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.ywt.gapi.user.DoctorInfo, com.ywt.gapi.user.DoctorInfo.Builder, com.ywt.gapi.user.DoctorInfoOrBuilder> doctorInfosBuilder_;

    /**
     * <pre>
     *医生信息集合
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.user.DoctorInfo doctorInfos = 2;</code>
     */
    public java.util.List<com.ywt.gapi.user.DoctorInfo> getDoctorInfosList() {
      if (doctorInfosBuilder_ == null) {
        return java.util.Collections.unmodifiableList(doctorInfos_);
      } else {
        return doctorInfosBuilder_.getMessageList();
      }
    }
    /**
     * <pre>
     *医生信息集合
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.user.DoctorInfo doctorInfos = 2;</code>
     */
    public int getDoctorInfosCount() {
      if (doctorInfosBuilder_ == null) {
        return doctorInfos_.size();
      } else {
        return doctorInfosBuilder_.getCount();
      }
    }
    /**
     * <pre>
     *医生信息集合
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.user.DoctorInfo doctorInfos = 2;</code>
     */
    public com.ywt.gapi.user.DoctorInfo getDoctorInfos(int index) {
      if (doctorInfosBuilder_ == null) {
        return doctorInfos_.get(index);
      } else {
        return doctorInfosBuilder_.getMessage(index);
      }
    }
    /**
     * <pre>
     *医生信息集合
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.user.DoctorInfo doctorInfos = 2;</code>
     */
    public Builder setDoctorInfos(
        int index, com.ywt.gapi.user.DoctorInfo value) {
      if (doctorInfosBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureDoctorInfosIsMutable();
        doctorInfos_.set(index, value);
        onChanged();
      } else {
        doctorInfosBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * <pre>
     *医生信息集合
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.user.DoctorInfo doctorInfos = 2;</code>
     */
    public Builder setDoctorInfos(
        int index, com.ywt.gapi.user.DoctorInfo.Builder builderForValue) {
      if (doctorInfosBuilder_ == null) {
        ensureDoctorInfosIsMutable();
        doctorInfos_.set(index, builderForValue.build());
        onChanged();
      } else {
        doctorInfosBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <pre>
     *医生信息集合
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.user.DoctorInfo doctorInfos = 2;</code>
     */
    public Builder addDoctorInfos(com.ywt.gapi.user.DoctorInfo value) {
      if (doctorInfosBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureDoctorInfosIsMutable();
        doctorInfos_.add(value);
        onChanged();
      } else {
        doctorInfosBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * <pre>
     *医生信息集合
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.user.DoctorInfo doctorInfos = 2;</code>
     */
    public Builder addDoctorInfos(
        int index, com.ywt.gapi.user.DoctorInfo value) {
      if (doctorInfosBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureDoctorInfosIsMutable();
        doctorInfos_.add(index, value);
        onChanged();
      } else {
        doctorInfosBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * <pre>
     *医生信息集合
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.user.DoctorInfo doctorInfos = 2;</code>
     */
    public Builder addDoctorInfos(
        com.ywt.gapi.user.DoctorInfo.Builder builderForValue) {
      if (doctorInfosBuilder_ == null) {
        ensureDoctorInfosIsMutable();
        doctorInfos_.add(builderForValue.build());
        onChanged();
      } else {
        doctorInfosBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * <pre>
     *医生信息集合
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.user.DoctorInfo doctorInfos = 2;</code>
     */
    public Builder addDoctorInfos(
        int index, com.ywt.gapi.user.DoctorInfo.Builder builderForValue) {
      if (doctorInfosBuilder_ == null) {
        ensureDoctorInfosIsMutable();
        doctorInfos_.add(index, builderForValue.build());
        onChanged();
      } else {
        doctorInfosBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <pre>
     *医生信息集合
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.user.DoctorInfo doctorInfos = 2;</code>
     */
    public Builder addAllDoctorInfos(
        java.lang.Iterable<? extends com.ywt.gapi.user.DoctorInfo> values) {
      if (doctorInfosBuilder_ == null) {
        ensureDoctorInfosIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, doctorInfos_);
        onChanged();
      } else {
        doctorInfosBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * <pre>
     *医生信息集合
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.user.DoctorInfo doctorInfos = 2;</code>
     */
    public Builder clearDoctorInfos() {
      if (doctorInfosBuilder_ == null) {
        doctorInfos_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
      } else {
        doctorInfosBuilder_.clear();
      }
      return this;
    }
    /**
     * <pre>
     *医生信息集合
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.user.DoctorInfo doctorInfos = 2;</code>
     */
    public Builder removeDoctorInfos(int index) {
      if (doctorInfosBuilder_ == null) {
        ensureDoctorInfosIsMutable();
        doctorInfos_.remove(index);
        onChanged();
      } else {
        doctorInfosBuilder_.remove(index);
      }
      return this;
    }
    /**
     * <pre>
     *医生信息集合
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.user.DoctorInfo doctorInfos = 2;</code>
     */
    public com.ywt.gapi.user.DoctorInfo.Builder getDoctorInfosBuilder(
        int index) {
      return getDoctorInfosFieldBuilder().getBuilder(index);
    }
    /**
     * <pre>
     *医生信息集合
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.user.DoctorInfo doctorInfos = 2;</code>
     */
    public com.ywt.gapi.user.DoctorInfoOrBuilder getDoctorInfosOrBuilder(
        int index) {
      if (doctorInfosBuilder_ == null) {
        return doctorInfos_.get(index);  } else {
        return doctorInfosBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * <pre>
     *医生信息集合
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.user.DoctorInfo doctorInfos = 2;</code>
     */
    public java.util.List<? extends com.ywt.gapi.user.DoctorInfoOrBuilder> 
         getDoctorInfosOrBuilderList() {
      if (doctorInfosBuilder_ != null) {
        return doctorInfosBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(doctorInfos_);
      }
    }
    /**
     * <pre>
     *医生信息集合
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.user.DoctorInfo doctorInfos = 2;</code>
     */
    public com.ywt.gapi.user.DoctorInfo.Builder addDoctorInfosBuilder() {
      return getDoctorInfosFieldBuilder().addBuilder(
          com.ywt.gapi.user.DoctorInfo.getDefaultInstance());
    }
    /**
     * <pre>
     *医生信息集合
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.user.DoctorInfo doctorInfos = 2;</code>
     */
    public com.ywt.gapi.user.DoctorInfo.Builder addDoctorInfosBuilder(
        int index) {
      return getDoctorInfosFieldBuilder().addBuilder(
          index, com.ywt.gapi.user.DoctorInfo.getDefaultInstance());
    }
    /**
     * <pre>
     *医生信息集合
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.user.DoctorInfo doctorInfos = 2;</code>
     */
    public java.util.List<com.ywt.gapi.user.DoctorInfo.Builder> 
         getDoctorInfosBuilderList() {
      return getDoctorInfosFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.ywt.gapi.user.DoctorInfo, com.ywt.gapi.user.DoctorInfo.Builder, com.ywt.gapi.user.DoctorInfoOrBuilder> 
        getDoctorInfosFieldBuilder() {
      if (doctorInfosBuilder_ == null) {
        doctorInfosBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            com.ywt.gapi.user.DoctorInfo, com.ywt.gapi.user.DoctorInfo.Builder, com.ywt.gapi.user.DoctorInfoOrBuilder>(
                doctorInfos_,
                ((bitField0_ & 0x00000002) == 0x00000002),
                getParentForChildren(),
                isClean());
        doctorInfos_ = null;
      }
      return doctorInfosBuilder_;
    }
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return this;
    }

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


    // @@protoc_insertion_point(builder_scope:com.ywt.gapi.user.GetDoctorAllResponse)
  }

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

  public static com.ywt.gapi.user.GetDoctorAllResponse getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

  public com.ywt.gapi.user.GetDoctorAllResponse getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

