// 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.DoctorInfoAudit}
 */
public  final class DoctorInfoAudit extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.user.DoctorInfoAudit)
    DoctorInfoAuditOrBuilder {
  // Use DoctorInfoAudit.newBuilder() to construct.
  private DoctorInfoAudit(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private DoctorInfoAudit() {
    doctorId_ = 0;
    avatar_ = "";
    doctorName_ = "";
    sex_ = 0;
    hospitalId_ = 0;
    deptId_ = 0;
    title_ = "";
    briefIntro_ = "";
    specialty_ = "";
    certificateUrl_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    auditStatus_ = 0;
    auditTime_ = 0L;
    auditRemark_ = "";
    infoId_ = 0;
    hospital_ = "";
    dept_ = "";
    doctorIdNoImg_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    doctorQualificationImg_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    doctorProfessionalSkillImg_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    idNo_ = "";
    authType_ = 0;
    avatar2_ = "";
    identity_ = 0;
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
  }
  private DoctorInfoAudit(
      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: {

            doctorId_ = input.readInt32();
            break;
          }
          case 18: {
            java.lang.String s = input.readStringRequireUtf8();

            avatar_ = s;
            break;
          }
          case 26: {
            java.lang.String s = input.readStringRequireUtf8();

            doctorName_ = s;
            break;
          }
          case 32: {

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

            hospitalId_ = input.readInt32();
            break;
          }
          case 48: {

            deptId_ = input.readInt32();
            break;
          }
          case 58: {
            java.lang.String s = input.readStringRequireUtf8();

            title_ = s;
            break;
          }
          case 66: {
            java.lang.String s = input.readStringRequireUtf8();

            briefIntro_ = s;
            break;
          }
          case 74: {
            java.lang.String s = input.readStringRequireUtf8();

            specialty_ = s;
            break;
          }
          case 82: {
            java.lang.String s = input.readStringRequireUtf8();
            if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
              certificateUrl_ = new com.google.protobuf.LazyStringArrayList();
              mutable_bitField0_ |= 0x00000200;
            }
            certificateUrl_.add(s);
            break;
          }
          case 88: {

            auditStatus_ = input.readInt32();
            break;
          }
          case 96: {

            auditTime_ = input.readInt64();
            break;
          }
          case 106: {
            java.lang.String s = input.readStringRequireUtf8();

            auditRemark_ = s;
            break;
          }
          case 112: {

            infoId_ = input.readInt32();
            break;
          }
          case 122: {
            java.lang.String s = input.readStringRequireUtf8();

            hospital_ = s;
            break;
          }
          case 130: {
            java.lang.String s = input.readStringRequireUtf8();

            dept_ = s;
            break;
          }
          case 138: {
            java.lang.String s = input.readStringRequireUtf8();
            if (!((mutable_bitField0_ & 0x00010000) == 0x00010000)) {
              doctorIdNoImg_ = new com.google.protobuf.LazyStringArrayList();
              mutable_bitField0_ |= 0x00010000;
            }
            doctorIdNoImg_.add(s);
            break;
          }
          case 146: {
            java.lang.String s = input.readStringRequireUtf8();
            if (!((mutable_bitField0_ & 0x00020000) == 0x00020000)) {
              doctorQualificationImg_ = new com.google.protobuf.LazyStringArrayList();
              mutable_bitField0_ |= 0x00020000;
            }
            doctorQualificationImg_.add(s);
            break;
          }
          case 154: {
            java.lang.String s = input.readStringRequireUtf8();
            if (!((mutable_bitField0_ & 0x00040000) == 0x00040000)) {
              doctorProfessionalSkillImg_ = new com.google.protobuf.LazyStringArrayList();
              mutable_bitField0_ |= 0x00040000;
            }
            doctorProfessionalSkillImg_.add(s);
            break;
          }
          case 162: {
            java.lang.String s = input.readStringRequireUtf8();

            idNo_ = s;
            break;
          }
          case 168: {

            authType_ = input.readInt32();
            break;
          }
          case 178: {
            java.lang.String s = input.readStringRequireUtf8();

            avatar2_ = s;
            break;
          }
          case 184: {

            identity_ = input.readInt32();
            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_ & 0x00000200) == 0x00000200)) {
        certificateUrl_ = certificateUrl_.getUnmodifiableView();
      }
      if (((mutable_bitField0_ & 0x00010000) == 0x00010000)) {
        doctorIdNoImg_ = doctorIdNoImg_.getUnmodifiableView();
      }
      if (((mutable_bitField0_ & 0x00020000) == 0x00020000)) {
        doctorQualificationImg_ = doctorQualificationImg_.getUnmodifiableView();
      }
      if (((mutable_bitField0_ & 0x00040000) == 0x00040000)) {
        doctorProfessionalSkillImg_ = doctorProfessionalSkillImg_.getUnmodifiableView();
      }
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.ywt.gapi.user.DoctorOuterClass.internal_static_com_ywt_gapi_user_DoctorInfoAudit_descriptor;
  }

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

  private int bitField0_;
  public static final int DOCTORID_FIELD_NUMBER = 1;
  private int doctorId_;
  /**
   * <code>int32 doctorId = 1;</code>
   */
  public int getDoctorId() {
    return doctorId_;
  }

  public static final int AVATAR_FIELD_NUMBER = 2;
  private volatile java.lang.Object avatar_;
  /**
   * <code>string avatar = 2;</code>
   */
  public java.lang.String getAvatar() {
    java.lang.Object ref = avatar_;
    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();
      avatar_ = s;
      return s;
    }
  }
  /**
   * <code>string avatar = 2;</code>
   */
  public com.google.protobuf.ByteString
      getAvatarBytes() {
    java.lang.Object ref = avatar_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      avatar_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DOCTORNAME_FIELD_NUMBER = 3;
  private volatile java.lang.Object doctorName_;
  /**
   * <code>string doctorName = 3;</code>
   */
  public java.lang.String getDoctorName() {
    java.lang.Object ref = doctorName_;
    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();
      doctorName_ = s;
      return s;
    }
  }
  /**
   * <code>string doctorName = 3;</code>
   */
  public com.google.protobuf.ByteString
      getDoctorNameBytes() {
    java.lang.Object ref = doctorName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      doctorName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int SEX_FIELD_NUMBER = 4;
  private int sex_;
  /**
   * <code>int32 sex = 4;</code>
   */
  public int getSex() {
    return sex_;
  }

  public static final int HOSPITALID_FIELD_NUMBER = 5;
  private int hospitalId_;
  /**
   * <code>int32 hospitalId = 5;</code>
   */
  public int getHospitalId() {
    return hospitalId_;
  }

  public static final int DEPTID_FIELD_NUMBER = 6;
  private int deptId_;
  /**
   * <code>int32 deptId = 6;</code>
   */
  public int getDeptId() {
    return deptId_;
  }

  public static final int TITLE_FIELD_NUMBER = 7;
  private volatile java.lang.Object title_;
  /**
   * <code>string title = 7;</code>
   */
  public java.lang.String getTitle() {
    java.lang.Object ref = title_;
    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();
      title_ = s;
      return s;
    }
  }
  /**
   * <code>string title = 7;</code>
   */
  public com.google.protobuf.ByteString
      getTitleBytes() {
    java.lang.Object ref = title_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      title_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int BRIEFINTRO_FIELD_NUMBER = 8;
  private volatile java.lang.Object briefIntro_;
  /**
   * <code>string briefIntro = 8;</code>
   */
  public java.lang.String getBriefIntro() {
    java.lang.Object ref = briefIntro_;
    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();
      briefIntro_ = s;
      return s;
    }
  }
  /**
   * <code>string briefIntro = 8;</code>
   */
  public com.google.protobuf.ByteString
      getBriefIntroBytes() {
    java.lang.Object ref = briefIntro_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      briefIntro_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int SPECIALTY_FIELD_NUMBER = 9;
  private volatile java.lang.Object specialty_;
  /**
   * <code>string specialty = 9;</code>
   */
  public java.lang.String getSpecialty() {
    java.lang.Object ref = specialty_;
    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();
      specialty_ = s;
      return s;
    }
  }
  /**
   * <code>string specialty = 9;</code>
   */
  public com.google.protobuf.ByteString
      getSpecialtyBytes() {
    java.lang.Object ref = specialty_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      specialty_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int CERTIFICATEURL_FIELD_NUMBER = 10;
  private com.google.protobuf.LazyStringList certificateUrl_;
  /**
   * <pre>
   *执业证书
   * </pre>
   *
   * <code>repeated string certificateUrl = 10;</code>
   */
  public com.google.protobuf.ProtocolStringList
      getCertificateUrlList() {
    return certificateUrl_;
  }
  /**
   * <pre>
   *执业证书
   * </pre>
   *
   * <code>repeated string certificateUrl = 10;</code>
   */
  public int getCertificateUrlCount() {
    return certificateUrl_.size();
  }
  /**
   * <pre>
   *执业证书
   * </pre>
   *
   * <code>repeated string certificateUrl = 10;</code>
   */
  public java.lang.String getCertificateUrl(int index) {
    return certificateUrl_.get(index);
  }
  /**
   * <pre>
   *执业证书
   * </pre>
   *
   * <code>repeated string certificateUrl = 10;</code>
   */
  public com.google.protobuf.ByteString
      getCertificateUrlBytes(int index) {
    return certificateUrl_.getByteString(index);
  }

  public static final int AUDITSTATUS_FIELD_NUMBER = 11;
  private int auditStatus_;
  /**
   * <code>int32 auditStatus = 11;</code>
   */
  public int getAuditStatus() {
    return auditStatus_;
  }

  public static final int AUDITTIME_FIELD_NUMBER = 12;
  private long auditTime_;
  /**
   * <code>int64 auditTime = 12;</code>
   */
  public long getAuditTime() {
    return auditTime_;
  }

  public static final int AUDITREMARK_FIELD_NUMBER = 13;
  private volatile java.lang.Object auditRemark_;
  /**
   * <code>string auditRemark = 13;</code>
   */
  public java.lang.String getAuditRemark() {
    java.lang.Object ref = auditRemark_;
    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();
      auditRemark_ = s;
      return s;
    }
  }
  /**
   * <code>string auditRemark = 13;</code>
   */
  public com.google.protobuf.ByteString
      getAuditRemarkBytes() {
    java.lang.Object ref = auditRemark_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      auditRemark_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int INFOID_FIELD_NUMBER = 14;
  private int infoId_;
  /**
   * <code>int32 infoId = 14;</code>
   */
  public int getInfoId() {
    return infoId_;
  }

  public static final int HOSPITAL_FIELD_NUMBER = 15;
  private volatile java.lang.Object hospital_;
  /**
   * <code>string hospital = 15;</code>
   */
  public java.lang.String getHospital() {
    java.lang.Object ref = hospital_;
    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();
      hospital_ = s;
      return s;
    }
  }
  /**
   * <code>string hospital = 15;</code>
   */
  public com.google.protobuf.ByteString
      getHospitalBytes() {
    java.lang.Object ref = hospital_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      hospital_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DEPT_FIELD_NUMBER = 16;
  private volatile java.lang.Object dept_;
  /**
   * <code>string dept = 16;</code>
   */
  public java.lang.String getDept() {
    java.lang.Object ref = dept_;
    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();
      dept_ = s;
      return s;
    }
  }
  /**
   * <code>string dept = 16;</code>
   */
  public com.google.protobuf.ByteString
      getDeptBytes() {
    java.lang.Object ref = dept_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      dept_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DOCTORIDNOIMG_FIELD_NUMBER = 17;
  private com.google.protobuf.LazyStringList doctorIdNoImg_;
  /**
   * <pre>
   *医生身份证照片
   * </pre>
   *
   * <code>repeated string doctorIdNoImg = 17;</code>
   */
  public com.google.protobuf.ProtocolStringList
      getDoctorIdNoImgList() {
    return doctorIdNoImg_;
  }
  /**
   * <pre>
   *医生身份证照片
   * </pre>
   *
   * <code>repeated string doctorIdNoImg = 17;</code>
   */
  public int getDoctorIdNoImgCount() {
    return doctorIdNoImg_.size();
  }
  /**
   * <pre>
   *医生身份证照片
   * </pre>
   *
   * <code>repeated string doctorIdNoImg = 17;</code>
   */
  public java.lang.String getDoctorIdNoImg(int index) {
    return doctorIdNoImg_.get(index);
  }
  /**
   * <pre>
   *医生身份证照片
   * </pre>
   *
   * <code>repeated string doctorIdNoImg = 17;</code>
   */
  public com.google.protobuf.ByteString
      getDoctorIdNoImgBytes(int index) {
    return doctorIdNoImg_.getByteString(index);
  }

  public static final int DOCTORQUALIFICATIONIMG_FIELD_NUMBER = 18;
  private com.google.protobuf.LazyStringList doctorQualificationImg_;
  /**
   * <pre>
   *医师资格证
   * </pre>
   *
   * <code>repeated string doctorQualificationImg = 18;</code>
   */
  public com.google.protobuf.ProtocolStringList
      getDoctorQualificationImgList() {
    return doctorQualificationImg_;
  }
  /**
   * <pre>
   *医师资格证
   * </pre>
   *
   * <code>repeated string doctorQualificationImg = 18;</code>
   */
  public int getDoctorQualificationImgCount() {
    return doctorQualificationImg_.size();
  }
  /**
   * <pre>
   *医师资格证
   * </pre>
   *
   * <code>repeated string doctorQualificationImg = 18;</code>
   */
  public java.lang.String getDoctorQualificationImg(int index) {
    return doctorQualificationImg_.get(index);
  }
  /**
   * <pre>
   *医师资格证
   * </pre>
   *
   * <code>repeated string doctorQualificationImg = 18;</code>
   */
  public com.google.protobuf.ByteString
      getDoctorQualificationImgBytes(int index) {
    return doctorQualificationImg_.getByteString(index);
  }

  public static final int DOCTORPROFESSIONALSKILLIMG_FIELD_NUMBER = 19;
  private com.google.protobuf.LazyStringList doctorProfessionalSkillImg_;
  /**
   * <pre>
   *医师专业技术资格证
   * </pre>
   *
   * <code>repeated string doctorProfessionalSkillImg = 19;</code>
   */
  public com.google.protobuf.ProtocolStringList
      getDoctorProfessionalSkillImgList() {
    return doctorProfessionalSkillImg_;
  }
  /**
   * <pre>
   *医师专业技术资格证
   * </pre>
   *
   * <code>repeated string doctorProfessionalSkillImg = 19;</code>
   */
  public int getDoctorProfessionalSkillImgCount() {
    return doctorProfessionalSkillImg_.size();
  }
  /**
   * <pre>
   *医师专业技术资格证
   * </pre>
   *
   * <code>repeated string doctorProfessionalSkillImg = 19;</code>
   */
  public java.lang.String getDoctorProfessionalSkillImg(int index) {
    return doctorProfessionalSkillImg_.get(index);
  }
  /**
   * <pre>
   *医师专业技术资格证
   * </pre>
   *
   * <code>repeated string doctorProfessionalSkillImg = 19;</code>
   */
  public com.google.protobuf.ByteString
      getDoctorProfessionalSkillImgBytes(int index) {
    return doctorProfessionalSkillImg_.getByteString(index);
  }

  public static final int IDNO_FIELD_NUMBER = 20;
  private volatile java.lang.Object idNo_;
  /**
   * <pre>
   *身份证号码
   * </pre>
   *
   * <code>string idNo = 20;</code>
   */
  public java.lang.String getIdNo() {
    java.lang.Object ref = idNo_;
    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();
      idNo_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *身份证号码
   * </pre>
   *
   * <code>string idNo = 20;</code>
   */
  public com.google.protobuf.ByteString
      getIdNoBytes() {
    java.lang.Object ref = idNo_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      idNo_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int AUTHTYPE_FIELD_NUMBER = 21;
  private int authType_;
  /**
   * <pre>
   *认证方式, 0-后台导入；1-医生认证
   * </pre>
   *
   * <code>int32 authType = 21;</code>
   */
  public int getAuthType() {
    return authType_;
  }

  public static final int AVATAR2_FIELD_NUMBER = 22;
  private volatile java.lang.Object avatar2_;
  /**
   * <code>string avatar2 = 22;</code>
   */
  public java.lang.String getAvatar2() {
    java.lang.Object ref = avatar2_;
    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();
      avatar2_ = s;
      return s;
    }
  }
  /**
   * <code>string avatar2 = 22;</code>
   */
  public com.google.protobuf.ByteString
      getAvatar2Bytes() {
    java.lang.Object ref = avatar2_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      avatar2_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int IDENTITY_FIELD_NUMBER = 23;
  private int identity_;
  /**
   * <code>int32 identity = 23;</code>
   */
  public int getIdentity() {
    return identity_;
  }

  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 (doctorId_ != 0) {
      output.writeInt32(1, doctorId_);
    }
    if (!getAvatarBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, avatar_);
    }
    if (!getDoctorNameBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, doctorName_);
    }
    if (sex_ != 0) {
      output.writeInt32(4, sex_);
    }
    if (hospitalId_ != 0) {
      output.writeInt32(5, hospitalId_);
    }
    if (deptId_ != 0) {
      output.writeInt32(6, deptId_);
    }
    if (!getTitleBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, title_);
    }
    if (!getBriefIntroBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, briefIntro_);
    }
    if (!getSpecialtyBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, specialty_);
    }
    for (int i = 0; i < certificateUrl_.size(); i++) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, certificateUrl_.getRaw(i));
    }
    if (auditStatus_ != 0) {
      output.writeInt32(11, auditStatus_);
    }
    if (auditTime_ != 0L) {
      output.writeInt64(12, auditTime_);
    }
    if (!getAuditRemarkBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 13, auditRemark_);
    }
    if (infoId_ != 0) {
      output.writeInt32(14, infoId_);
    }
    if (!getHospitalBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 15, hospital_);
    }
    if (!getDeptBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 16, dept_);
    }
    for (int i = 0; i < doctorIdNoImg_.size(); i++) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 17, doctorIdNoImg_.getRaw(i));
    }
    for (int i = 0; i < doctorQualificationImg_.size(); i++) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 18, doctorQualificationImg_.getRaw(i));
    }
    for (int i = 0; i < doctorProfessionalSkillImg_.size(); i++) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 19, doctorProfessionalSkillImg_.getRaw(i));
    }
    if (!getIdNoBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 20, idNo_);
    }
    if (authType_ != 0) {
      output.writeInt32(21, authType_);
    }
    if (!getAvatar2Bytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 22, avatar2_);
    }
    if (identity_ != 0) {
      output.writeInt32(23, identity_);
    }
  }

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

    size = 0;
    if (doctorId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(1, doctorId_);
    }
    if (!getAvatarBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, avatar_);
    }
    if (!getDoctorNameBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, doctorName_);
    }
    if (sex_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(4, sex_);
    }
    if (hospitalId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(5, hospitalId_);
    }
    if (deptId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(6, deptId_);
    }
    if (!getTitleBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, title_);
    }
    if (!getBriefIntroBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, briefIntro_);
    }
    if (!getSpecialtyBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, specialty_);
    }
    {
      int dataSize = 0;
      for (int i = 0; i < certificateUrl_.size(); i++) {
        dataSize += computeStringSizeNoTag(certificateUrl_.getRaw(i));
      }
      size += dataSize;
      size += 1 * getCertificateUrlList().size();
    }
    if (auditStatus_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(11, auditStatus_);
    }
    if (auditTime_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt64Size(12, auditTime_);
    }
    if (!getAuditRemarkBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, auditRemark_);
    }
    if (infoId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(14, infoId_);
    }
    if (!getHospitalBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, hospital_);
    }
    if (!getDeptBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, dept_);
    }
    {
      int dataSize = 0;
      for (int i = 0; i < doctorIdNoImg_.size(); i++) {
        dataSize += computeStringSizeNoTag(doctorIdNoImg_.getRaw(i));
      }
      size += dataSize;
      size += 2 * getDoctorIdNoImgList().size();
    }
    {
      int dataSize = 0;
      for (int i = 0; i < doctorQualificationImg_.size(); i++) {
        dataSize += computeStringSizeNoTag(doctorQualificationImg_.getRaw(i));
      }
      size += dataSize;
      size += 2 * getDoctorQualificationImgList().size();
    }
    {
      int dataSize = 0;
      for (int i = 0; i < doctorProfessionalSkillImg_.size(); i++) {
        dataSize += computeStringSizeNoTag(doctorProfessionalSkillImg_.getRaw(i));
      }
      size += dataSize;
      size += 2 * getDoctorProfessionalSkillImgList().size();
    }
    if (!getIdNoBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, idNo_);
    }
    if (authType_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(21, authType_);
    }
    if (!getAvatar2Bytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, avatar2_);
    }
    if (identity_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(23, identity_);
    }
    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.DoctorInfoAudit)) {
      return super.equals(obj);
    }
    com.ywt.gapi.user.DoctorInfoAudit other = (com.ywt.gapi.user.DoctorInfoAudit) obj;

    boolean result = true;
    result = result && (getDoctorId()
        == other.getDoctorId());
    result = result && getAvatar()
        .equals(other.getAvatar());
    result = result && getDoctorName()
        .equals(other.getDoctorName());
    result = result && (getSex()
        == other.getSex());
    result = result && (getHospitalId()
        == other.getHospitalId());
    result = result && (getDeptId()
        == other.getDeptId());
    result = result && getTitle()
        .equals(other.getTitle());
    result = result && getBriefIntro()
        .equals(other.getBriefIntro());
    result = result && getSpecialty()
        .equals(other.getSpecialty());
    result = result && getCertificateUrlList()
        .equals(other.getCertificateUrlList());
    result = result && (getAuditStatus()
        == other.getAuditStatus());
    result = result && (getAuditTime()
        == other.getAuditTime());
    result = result && getAuditRemark()
        .equals(other.getAuditRemark());
    result = result && (getInfoId()
        == other.getInfoId());
    result = result && getHospital()
        .equals(other.getHospital());
    result = result && getDept()
        .equals(other.getDept());
    result = result && getDoctorIdNoImgList()
        .equals(other.getDoctorIdNoImgList());
    result = result && getDoctorQualificationImgList()
        .equals(other.getDoctorQualificationImgList());
    result = result && getDoctorProfessionalSkillImgList()
        .equals(other.getDoctorProfessionalSkillImgList());
    result = result && getIdNo()
        .equals(other.getIdNo());
    result = result && (getAuthType()
        == other.getAuthType());
    result = result && getAvatar2()
        .equals(other.getAvatar2());
    result = result && (getIdentity()
        == other.getIdentity());
    return result;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + DOCTORID_FIELD_NUMBER;
    hash = (53 * hash) + getDoctorId();
    hash = (37 * hash) + AVATAR_FIELD_NUMBER;
    hash = (53 * hash) + getAvatar().hashCode();
    hash = (37 * hash) + DOCTORNAME_FIELD_NUMBER;
    hash = (53 * hash) + getDoctorName().hashCode();
    hash = (37 * hash) + SEX_FIELD_NUMBER;
    hash = (53 * hash) + getSex();
    hash = (37 * hash) + HOSPITALID_FIELD_NUMBER;
    hash = (53 * hash) + getHospitalId();
    hash = (37 * hash) + DEPTID_FIELD_NUMBER;
    hash = (53 * hash) + getDeptId();
    hash = (37 * hash) + TITLE_FIELD_NUMBER;
    hash = (53 * hash) + getTitle().hashCode();
    hash = (37 * hash) + BRIEFINTRO_FIELD_NUMBER;
    hash = (53 * hash) + getBriefIntro().hashCode();
    hash = (37 * hash) + SPECIALTY_FIELD_NUMBER;
    hash = (53 * hash) + getSpecialty().hashCode();
    if (getCertificateUrlCount() > 0) {
      hash = (37 * hash) + CERTIFICATEURL_FIELD_NUMBER;
      hash = (53 * hash) + getCertificateUrlList().hashCode();
    }
    hash = (37 * hash) + AUDITSTATUS_FIELD_NUMBER;
    hash = (53 * hash) + getAuditStatus();
    hash = (37 * hash) + AUDITTIME_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getAuditTime());
    hash = (37 * hash) + AUDITREMARK_FIELD_NUMBER;
    hash = (53 * hash) + getAuditRemark().hashCode();
    hash = (37 * hash) + INFOID_FIELD_NUMBER;
    hash = (53 * hash) + getInfoId();
    hash = (37 * hash) + HOSPITAL_FIELD_NUMBER;
    hash = (53 * hash) + getHospital().hashCode();
    hash = (37 * hash) + DEPT_FIELD_NUMBER;
    hash = (53 * hash) + getDept().hashCode();
    if (getDoctorIdNoImgCount() > 0) {
      hash = (37 * hash) + DOCTORIDNOIMG_FIELD_NUMBER;
      hash = (53 * hash) + getDoctorIdNoImgList().hashCode();
    }
    if (getDoctorQualificationImgCount() > 0) {
      hash = (37 * hash) + DOCTORQUALIFICATIONIMG_FIELD_NUMBER;
      hash = (53 * hash) + getDoctorQualificationImgList().hashCode();
    }
    if (getDoctorProfessionalSkillImgCount() > 0) {
      hash = (37 * hash) + DOCTORPROFESSIONALSKILLIMG_FIELD_NUMBER;
      hash = (53 * hash) + getDoctorProfessionalSkillImgList().hashCode();
    }
    hash = (37 * hash) + IDNO_FIELD_NUMBER;
    hash = (53 * hash) + getIdNo().hashCode();
    hash = (37 * hash) + AUTHTYPE_FIELD_NUMBER;
    hash = (53 * hash) + getAuthType();
    hash = (37 * hash) + AVATAR2_FIELD_NUMBER;
    hash = (53 * hash) + getAvatar2().hashCode();
    hash = (37 * hash) + IDENTITY_FIELD_NUMBER;
    hash = (53 * hash) + getIdentity();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.ywt.gapi.user.DoctorInfoAudit parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.user.DoctorInfoAudit 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.DoctorInfoAudit parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.user.DoctorInfoAudit 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.DoctorInfoAudit parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.user.DoctorInfoAudit parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.ywt.gapi.user.DoctorInfoAudit parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.user.DoctorInfoAudit 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.DoctorInfoAudit parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.user.DoctorInfoAudit 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.DoctorInfoAudit parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.user.DoctorInfoAudit 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.DoctorInfoAudit 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.DoctorInfoAudit}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:com.ywt.gapi.user.DoctorInfoAudit)
      com.ywt.gapi.user.DoctorInfoAuditOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.ywt.gapi.user.DoctorOuterClass.internal_static_com_ywt_gapi_user_DoctorInfoAudit_descriptor;
    }

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

    // Construct using com.ywt.gapi.user.DoctorInfoAudit.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();
      doctorId_ = 0;

      avatar_ = "";

      doctorName_ = "";

      sex_ = 0;

      hospitalId_ = 0;

      deptId_ = 0;

      title_ = "";

      briefIntro_ = "";

      specialty_ = "";

      certificateUrl_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      bitField0_ = (bitField0_ & ~0x00000200);
      auditStatus_ = 0;

      auditTime_ = 0L;

      auditRemark_ = "";

      infoId_ = 0;

      hospital_ = "";

      dept_ = "";

      doctorIdNoImg_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      bitField0_ = (bitField0_ & ~0x00010000);
      doctorQualificationImg_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      bitField0_ = (bitField0_ & ~0x00020000);
      doctorProfessionalSkillImg_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      bitField0_ = (bitField0_ & ~0x00040000);
      idNo_ = "";

      authType_ = 0;

      avatar2_ = "";

      identity_ = 0;

      return this;
    }

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

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

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

    public com.ywt.gapi.user.DoctorInfoAudit buildPartial() {
      com.ywt.gapi.user.DoctorInfoAudit result = new com.ywt.gapi.user.DoctorInfoAudit(this);
      int from_bitField0_ = bitField0_;
      int to_bitField0_ = 0;
      result.doctorId_ = doctorId_;
      result.avatar_ = avatar_;
      result.doctorName_ = doctorName_;
      result.sex_ = sex_;
      result.hospitalId_ = hospitalId_;
      result.deptId_ = deptId_;
      result.title_ = title_;
      result.briefIntro_ = briefIntro_;
      result.specialty_ = specialty_;
      if (((bitField0_ & 0x00000200) == 0x00000200)) {
        certificateUrl_ = certificateUrl_.getUnmodifiableView();
        bitField0_ = (bitField0_ & ~0x00000200);
      }
      result.certificateUrl_ = certificateUrl_;
      result.auditStatus_ = auditStatus_;
      result.auditTime_ = auditTime_;
      result.auditRemark_ = auditRemark_;
      result.infoId_ = infoId_;
      result.hospital_ = hospital_;
      result.dept_ = dept_;
      if (((bitField0_ & 0x00010000) == 0x00010000)) {
        doctorIdNoImg_ = doctorIdNoImg_.getUnmodifiableView();
        bitField0_ = (bitField0_ & ~0x00010000);
      }
      result.doctorIdNoImg_ = doctorIdNoImg_;
      if (((bitField0_ & 0x00020000) == 0x00020000)) {
        doctorQualificationImg_ = doctorQualificationImg_.getUnmodifiableView();
        bitField0_ = (bitField0_ & ~0x00020000);
      }
      result.doctorQualificationImg_ = doctorQualificationImg_;
      if (((bitField0_ & 0x00040000) == 0x00040000)) {
        doctorProfessionalSkillImg_ = doctorProfessionalSkillImg_.getUnmodifiableView();
        bitField0_ = (bitField0_ & ~0x00040000);
      }
      result.doctorProfessionalSkillImg_ = doctorProfessionalSkillImg_;
      result.idNo_ = idNo_;
      result.authType_ = authType_;
      result.avatar2_ = avatar2_;
      result.identity_ = identity_;
      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.DoctorInfoAudit) {
        return mergeFrom((com.ywt.gapi.user.DoctorInfoAudit)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.ywt.gapi.user.DoctorInfoAudit other) {
      if (other == com.ywt.gapi.user.DoctorInfoAudit.getDefaultInstance()) return this;
      if (other.getDoctorId() != 0) {
        setDoctorId(other.getDoctorId());
      }
      if (!other.getAvatar().isEmpty()) {
        avatar_ = other.avatar_;
        onChanged();
      }
      if (!other.getDoctorName().isEmpty()) {
        doctorName_ = other.doctorName_;
        onChanged();
      }
      if (other.getSex() != 0) {
        setSex(other.getSex());
      }
      if (other.getHospitalId() != 0) {
        setHospitalId(other.getHospitalId());
      }
      if (other.getDeptId() != 0) {
        setDeptId(other.getDeptId());
      }
      if (!other.getTitle().isEmpty()) {
        title_ = other.title_;
        onChanged();
      }
      if (!other.getBriefIntro().isEmpty()) {
        briefIntro_ = other.briefIntro_;
        onChanged();
      }
      if (!other.getSpecialty().isEmpty()) {
        specialty_ = other.specialty_;
        onChanged();
      }
      if (!other.certificateUrl_.isEmpty()) {
        if (certificateUrl_.isEmpty()) {
          certificateUrl_ = other.certificateUrl_;
          bitField0_ = (bitField0_ & ~0x00000200);
        } else {
          ensureCertificateUrlIsMutable();
          certificateUrl_.addAll(other.certificateUrl_);
        }
        onChanged();
      }
      if (other.getAuditStatus() != 0) {
        setAuditStatus(other.getAuditStatus());
      }
      if (other.getAuditTime() != 0L) {
        setAuditTime(other.getAuditTime());
      }
      if (!other.getAuditRemark().isEmpty()) {
        auditRemark_ = other.auditRemark_;
        onChanged();
      }
      if (other.getInfoId() != 0) {
        setInfoId(other.getInfoId());
      }
      if (!other.getHospital().isEmpty()) {
        hospital_ = other.hospital_;
        onChanged();
      }
      if (!other.getDept().isEmpty()) {
        dept_ = other.dept_;
        onChanged();
      }
      if (!other.doctorIdNoImg_.isEmpty()) {
        if (doctorIdNoImg_.isEmpty()) {
          doctorIdNoImg_ = other.doctorIdNoImg_;
          bitField0_ = (bitField0_ & ~0x00010000);
        } else {
          ensureDoctorIdNoImgIsMutable();
          doctorIdNoImg_.addAll(other.doctorIdNoImg_);
        }
        onChanged();
      }
      if (!other.doctorQualificationImg_.isEmpty()) {
        if (doctorQualificationImg_.isEmpty()) {
          doctorQualificationImg_ = other.doctorQualificationImg_;
          bitField0_ = (bitField0_ & ~0x00020000);
        } else {
          ensureDoctorQualificationImgIsMutable();
          doctorQualificationImg_.addAll(other.doctorQualificationImg_);
        }
        onChanged();
      }
      if (!other.doctorProfessionalSkillImg_.isEmpty()) {
        if (doctorProfessionalSkillImg_.isEmpty()) {
          doctorProfessionalSkillImg_ = other.doctorProfessionalSkillImg_;
          bitField0_ = (bitField0_ & ~0x00040000);
        } else {
          ensureDoctorProfessionalSkillImgIsMutable();
          doctorProfessionalSkillImg_.addAll(other.doctorProfessionalSkillImg_);
        }
        onChanged();
      }
      if (!other.getIdNo().isEmpty()) {
        idNo_ = other.idNo_;
        onChanged();
      }
      if (other.getAuthType() != 0) {
        setAuthType(other.getAuthType());
      }
      if (!other.getAvatar2().isEmpty()) {
        avatar2_ = other.avatar2_;
        onChanged();
      }
      if (other.getIdentity() != 0) {
        setIdentity(other.getIdentity());
      }
      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.DoctorInfoAudit parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.ywt.gapi.user.DoctorInfoAudit) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int bitField0_;

    private int doctorId_ ;
    /**
     * <code>int32 doctorId = 1;</code>
     */
    public int getDoctorId() {
      return doctorId_;
    }
    /**
     * <code>int32 doctorId = 1;</code>
     */
    public Builder setDoctorId(int value) {
      
      doctorId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 doctorId = 1;</code>
     */
    public Builder clearDoctorId() {
      
      doctorId_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object avatar_ = "";
    /**
     * <code>string avatar = 2;</code>
     */
    public java.lang.String getAvatar() {
      java.lang.Object ref = avatar_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        avatar_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string avatar = 2;</code>
     */
    public com.google.protobuf.ByteString
        getAvatarBytes() {
      java.lang.Object ref = avatar_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        avatar_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string avatar = 2;</code>
     */
    public Builder setAvatar(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      avatar_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string avatar = 2;</code>
     */
    public Builder clearAvatar() {
      
      avatar_ = getDefaultInstance().getAvatar();
      onChanged();
      return this;
    }
    /**
     * <code>string avatar = 2;</code>
     */
    public Builder setAvatarBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      avatar_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object doctorName_ = "";
    /**
     * <code>string doctorName = 3;</code>
     */
    public java.lang.String getDoctorName() {
      java.lang.Object ref = doctorName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        doctorName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string doctorName = 3;</code>
     */
    public com.google.protobuf.ByteString
        getDoctorNameBytes() {
      java.lang.Object ref = doctorName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        doctorName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string doctorName = 3;</code>
     */
    public Builder setDoctorName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      doctorName_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string doctorName = 3;</code>
     */
    public Builder clearDoctorName() {
      
      doctorName_ = getDefaultInstance().getDoctorName();
      onChanged();
      return this;
    }
    /**
     * <code>string doctorName = 3;</code>
     */
    public Builder setDoctorNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      doctorName_ = value;
      onChanged();
      return this;
    }

    private int sex_ ;
    /**
     * <code>int32 sex = 4;</code>
     */
    public int getSex() {
      return sex_;
    }
    /**
     * <code>int32 sex = 4;</code>
     */
    public Builder setSex(int value) {
      
      sex_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 sex = 4;</code>
     */
    public Builder clearSex() {
      
      sex_ = 0;
      onChanged();
      return this;
    }

    private int hospitalId_ ;
    /**
     * <code>int32 hospitalId = 5;</code>
     */
    public int getHospitalId() {
      return hospitalId_;
    }
    /**
     * <code>int32 hospitalId = 5;</code>
     */
    public Builder setHospitalId(int value) {
      
      hospitalId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 hospitalId = 5;</code>
     */
    public Builder clearHospitalId() {
      
      hospitalId_ = 0;
      onChanged();
      return this;
    }

    private int deptId_ ;
    /**
     * <code>int32 deptId = 6;</code>
     */
    public int getDeptId() {
      return deptId_;
    }
    /**
     * <code>int32 deptId = 6;</code>
     */
    public Builder setDeptId(int value) {
      
      deptId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 deptId = 6;</code>
     */
    public Builder clearDeptId() {
      
      deptId_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object title_ = "";
    /**
     * <code>string title = 7;</code>
     */
    public java.lang.String getTitle() {
      java.lang.Object ref = title_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        title_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string title = 7;</code>
     */
    public com.google.protobuf.ByteString
        getTitleBytes() {
      java.lang.Object ref = title_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        title_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string title = 7;</code>
     */
    public Builder setTitle(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      title_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string title = 7;</code>
     */
    public Builder clearTitle() {
      
      title_ = getDefaultInstance().getTitle();
      onChanged();
      return this;
    }
    /**
     * <code>string title = 7;</code>
     */
    public Builder setTitleBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      title_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object briefIntro_ = "";
    /**
     * <code>string briefIntro = 8;</code>
     */
    public java.lang.String getBriefIntro() {
      java.lang.Object ref = briefIntro_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        briefIntro_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string briefIntro = 8;</code>
     */
    public com.google.protobuf.ByteString
        getBriefIntroBytes() {
      java.lang.Object ref = briefIntro_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        briefIntro_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string briefIntro = 8;</code>
     */
    public Builder setBriefIntro(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      briefIntro_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string briefIntro = 8;</code>
     */
    public Builder clearBriefIntro() {
      
      briefIntro_ = getDefaultInstance().getBriefIntro();
      onChanged();
      return this;
    }
    /**
     * <code>string briefIntro = 8;</code>
     */
    public Builder setBriefIntroBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      briefIntro_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object specialty_ = "";
    /**
     * <code>string specialty = 9;</code>
     */
    public java.lang.String getSpecialty() {
      java.lang.Object ref = specialty_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        specialty_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string specialty = 9;</code>
     */
    public com.google.protobuf.ByteString
        getSpecialtyBytes() {
      java.lang.Object ref = specialty_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        specialty_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string specialty = 9;</code>
     */
    public Builder setSpecialty(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      specialty_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string specialty = 9;</code>
     */
    public Builder clearSpecialty() {
      
      specialty_ = getDefaultInstance().getSpecialty();
      onChanged();
      return this;
    }
    /**
     * <code>string specialty = 9;</code>
     */
    public Builder setSpecialtyBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      specialty_ = value;
      onChanged();
      return this;
    }

    private com.google.protobuf.LazyStringList certificateUrl_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    private void ensureCertificateUrlIsMutable() {
      if (!((bitField0_ & 0x00000200) == 0x00000200)) {
        certificateUrl_ = new com.google.protobuf.LazyStringArrayList(certificateUrl_);
        bitField0_ |= 0x00000200;
       }
    }
    /**
     * <pre>
     *执业证书
     * </pre>
     *
     * <code>repeated string certificateUrl = 10;</code>
     */
    public com.google.protobuf.ProtocolStringList
        getCertificateUrlList() {
      return certificateUrl_.getUnmodifiableView();
    }
    /**
     * <pre>
     *执业证书
     * </pre>
     *
     * <code>repeated string certificateUrl = 10;</code>
     */
    public int getCertificateUrlCount() {
      return certificateUrl_.size();
    }
    /**
     * <pre>
     *执业证书
     * </pre>
     *
     * <code>repeated string certificateUrl = 10;</code>
     */
    public java.lang.String getCertificateUrl(int index) {
      return certificateUrl_.get(index);
    }
    /**
     * <pre>
     *执业证书
     * </pre>
     *
     * <code>repeated string certificateUrl = 10;</code>
     */
    public com.google.protobuf.ByteString
        getCertificateUrlBytes(int index) {
      return certificateUrl_.getByteString(index);
    }
    /**
     * <pre>
     *执业证书
     * </pre>
     *
     * <code>repeated string certificateUrl = 10;</code>
     */
    public Builder setCertificateUrl(
        int index, java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  ensureCertificateUrlIsMutable();
      certificateUrl_.set(index, value);
      onChanged();
      return this;
    }
    /**
     * <pre>
     *执业证书
     * </pre>
     *
     * <code>repeated string certificateUrl = 10;</code>
     */
    public Builder addCertificateUrl(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  ensureCertificateUrlIsMutable();
      certificateUrl_.add(value);
      onChanged();
      return this;
    }
    /**
     * <pre>
     *执业证书
     * </pre>
     *
     * <code>repeated string certificateUrl = 10;</code>
     */
    public Builder addAllCertificateUrl(
        java.lang.Iterable<java.lang.String> values) {
      ensureCertificateUrlIsMutable();
      com.google.protobuf.AbstractMessageLite.Builder.addAll(
          values, certificateUrl_);
      onChanged();
      return this;
    }
    /**
     * <pre>
     *执业证书
     * </pre>
     *
     * <code>repeated string certificateUrl = 10;</code>
     */
    public Builder clearCertificateUrl() {
      certificateUrl_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      bitField0_ = (bitField0_ & ~0x00000200);
      onChanged();
      return this;
    }
    /**
     * <pre>
     *执业证书
     * </pre>
     *
     * <code>repeated string certificateUrl = 10;</code>
     */
    public Builder addCertificateUrlBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      ensureCertificateUrlIsMutable();
      certificateUrl_.add(value);
      onChanged();
      return this;
    }

    private int auditStatus_ ;
    /**
     * <code>int32 auditStatus = 11;</code>
     */
    public int getAuditStatus() {
      return auditStatus_;
    }
    /**
     * <code>int32 auditStatus = 11;</code>
     */
    public Builder setAuditStatus(int value) {
      
      auditStatus_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 auditStatus = 11;</code>
     */
    public Builder clearAuditStatus() {
      
      auditStatus_ = 0;
      onChanged();
      return this;
    }

    private long auditTime_ ;
    /**
     * <code>int64 auditTime = 12;</code>
     */
    public long getAuditTime() {
      return auditTime_;
    }
    /**
     * <code>int64 auditTime = 12;</code>
     */
    public Builder setAuditTime(long value) {
      
      auditTime_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int64 auditTime = 12;</code>
     */
    public Builder clearAuditTime() {
      
      auditTime_ = 0L;
      onChanged();
      return this;
    }

    private java.lang.Object auditRemark_ = "";
    /**
     * <code>string auditRemark = 13;</code>
     */
    public java.lang.String getAuditRemark() {
      java.lang.Object ref = auditRemark_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        auditRemark_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string auditRemark = 13;</code>
     */
    public com.google.protobuf.ByteString
        getAuditRemarkBytes() {
      java.lang.Object ref = auditRemark_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        auditRemark_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string auditRemark = 13;</code>
     */
    public Builder setAuditRemark(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      auditRemark_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string auditRemark = 13;</code>
     */
    public Builder clearAuditRemark() {
      
      auditRemark_ = getDefaultInstance().getAuditRemark();
      onChanged();
      return this;
    }
    /**
     * <code>string auditRemark = 13;</code>
     */
    public Builder setAuditRemarkBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      auditRemark_ = value;
      onChanged();
      return this;
    }

    private int infoId_ ;
    /**
     * <code>int32 infoId = 14;</code>
     */
    public int getInfoId() {
      return infoId_;
    }
    /**
     * <code>int32 infoId = 14;</code>
     */
    public Builder setInfoId(int value) {
      
      infoId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 infoId = 14;</code>
     */
    public Builder clearInfoId() {
      
      infoId_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object hospital_ = "";
    /**
     * <code>string hospital = 15;</code>
     */
    public java.lang.String getHospital() {
      java.lang.Object ref = hospital_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        hospital_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string hospital = 15;</code>
     */
    public com.google.protobuf.ByteString
        getHospitalBytes() {
      java.lang.Object ref = hospital_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        hospital_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string hospital = 15;</code>
     */
    public Builder setHospital(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      hospital_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string hospital = 15;</code>
     */
    public Builder clearHospital() {
      
      hospital_ = getDefaultInstance().getHospital();
      onChanged();
      return this;
    }
    /**
     * <code>string hospital = 15;</code>
     */
    public Builder setHospitalBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      hospital_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object dept_ = "";
    /**
     * <code>string dept = 16;</code>
     */
    public java.lang.String getDept() {
      java.lang.Object ref = dept_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        dept_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string dept = 16;</code>
     */
    public com.google.protobuf.ByteString
        getDeptBytes() {
      java.lang.Object ref = dept_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        dept_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string dept = 16;</code>
     */
    public Builder setDept(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      dept_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string dept = 16;</code>
     */
    public Builder clearDept() {
      
      dept_ = getDefaultInstance().getDept();
      onChanged();
      return this;
    }
    /**
     * <code>string dept = 16;</code>
     */
    public Builder setDeptBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      dept_ = value;
      onChanged();
      return this;
    }

    private com.google.protobuf.LazyStringList doctorIdNoImg_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    private void ensureDoctorIdNoImgIsMutable() {
      if (!((bitField0_ & 0x00010000) == 0x00010000)) {
        doctorIdNoImg_ = new com.google.protobuf.LazyStringArrayList(doctorIdNoImg_);
        bitField0_ |= 0x00010000;
       }
    }
    /**
     * <pre>
     *医生身份证照片
     * </pre>
     *
     * <code>repeated string doctorIdNoImg = 17;</code>
     */
    public com.google.protobuf.ProtocolStringList
        getDoctorIdNoImgList() {
      return doctorIdNoImg_.getUnmodifiableView();
    }
    /**
     * <pre>
     *医生身份证照片
     * </pre>
     *
     * <code>repeated string doctorIdNoImg = 17;</code>
     */
    public int getDoctorIdNoImgCount() {
      return doctorIdNoImg_.size();
    }
    /**
     * <pre>
     *医生身份证照片
     * </pre>
     *
     * <code>repeated string doctorIdNoImg = 17;</code>
     */
    public java.lang.String getDoctorIdNoImg(int index) {
      return doctorIdNoImg_.get(index);
    }
    /**
     * <pre>
     *医生身份证照片
     * </pre>
     *
     * <code>repeated string doctorIdNoImg = 17;</code>
     */
    public com.google.protobuf.ByteString
        getDoctorIdNoImgBytes(int index) {
      return doctorIdNoImg_.getByteString(index);
    }
    /**
     * <pre>
     *医生身份证照片
     * </pre>
     *
     * <code>repeated string doctorIdNoImg = 17;</code>
     */
    public Builder setDoctorIdNoImg(
        int index, java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  ensureDoctorIdNoImgIsMutable();
      doctorIdNoImg_.set(index, value);
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医生身份证照片
     * </pre>
     *
     * <code>repeated string doctorIdNoImg = 17;</code>
     */
    public Builder addDoctorIdNoImg(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  ensureDoctorIdNoImgIsMutable();
      doctorIdNoImg_.add(value);
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医生身份证照片
     * </pre>
     *
     * <code>repeated string doctorIdNoImg = 17;</code>
     */
    public Builder addAllDoctorIdNoImg(
        java.lang.Iterable<java.lang.String> values) {
      ensureDoctorIdNoImgIsMutable();
      com.google.protobuf.AbstractMessageLite.Builder.addAll(
          values, doctorIdNoImg_);
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医生身份证照片
     * </pre>
     *
     * <code>repeated string doctorIdNoImg = 17;</code>
     */
    public Builder clearDoctorIdNoImg() {
      doctorIdNoImg_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      bitField0_ = (bitField0_ & ~0x00010000);
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医生身份证照片
     * </pre>
     *
     * <code>repeated string doctorIdNoImg = 17;</code>
     */
    public Builder addDoctorIdNoImgBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      ensureDoctorIdNoImgIsMutable();
      doctorIdNoImg_.add(value);
      onChanged();
      return this;
    }

    private com.google.protobuf.LazyStringList doctorQualificationImg_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    private void ensureDoctorQualificationImgIsMutable() {
      if (!((bitField0_ & 0x00020000) == 0x00020000)) {
        doctorQualificationImg_ = new com.google.protobuf.LazyStringArrayList(doctorQualificationImg_);
        bitField0_ |= 0x00020000;
       }
    }
    /**
     * <pre>
     *医师资格证
     * </pre>
     *
     * <code>repeated string doctorQualificationImg = 18;</code>
     */
    public com.google.protobuf.ProtocolStringList
        getDoctorQualificationImgList() {
      return doctorQualificationImg_.getUnmodifiableView();
    }
    /**
     * <pre>
     *医师资格证
     * </pre>
     *
     * <code>repeated string doctorQualificationImg = 18;</code>
     */
    public int getDoctorQualificationImgCount() {
      return doctorQualificationImg_.size();
    }
    /**
     * <pre>
     *医师资格证
     * </pre>
     *
     * <code>repeated string doctorQualificationImg = 18;</code>
     */
    public java.lang.String getDoctorQualificationImg(int index) {
      return doctorQualificationImg_.get(index);
    }
    /**
     * <pre>
     *医师资格证
     * </pre>
     *
     * <code>repeated string doctorQualificationImg = 18;</code>
     */
    public com.google.protobuf.ByteString
        getDoctorQualificationImgBytes(int index) {
      return doctorQualificationImg_.getByteString(index);
    }
    /**
     * <pre>
     *医师资格证
     * </pre>
     *
     * <code>repeated string doctorQualificationImg = 18;</code>
     */
    public Builder setDoctorQualificationImg(
        int index, java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  ensureDoctorQualificationImgIsMutable();
      doctorQualificationImg_.set(index, value);
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医师资格证
     * </pre>
     *
     * <code>repeated string doctorQualificationImg = 18;</code>
     */
    public Builder addDoctorQualificationImg(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  ensureDoctorQualificationImgIsMutable();
      doctorQualificationImg_.add(value);
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医师资格证
     * </pre>
     *
     * <code>repeated string doctorQualificationImg = 18;</code>
     */
    public Builder addAllDoctorQualificationImg(
        java.lang.Iterable<java.lang.String> values) {
      ensureDoctorQualificationImgIsMutable();
      com.google.protobuf.AbstractMessageLite.Builder.addAll(
          values, doctorQualificationImg_);
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医师资格证
     * </pre>
     *
     * <code>repeated string doctorQualificationImg = 18;</code>
     */
    public Builder clearDoctorQualificationImg() {
      doctorQualificationImg_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      bitField0_ = (bitField0_ & ~0x00020000);
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医师资格证
     * </pre>
     *
     * <code>repeated string doctorQualificationImg = 18;</code>
     */
    public Builder addDoctorQualificationImgBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      ensureDoctorQualificationImgIsMutable();
      doctorQualificationImg_.add(value);
      onChanged();
      return this;
    }

    private com.google.protobuf.LazyStringList doctorProfessionalSkillImg_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    private void ensureDoctorProfessionalSkillImgIsMutable() {
      if (!((bitField0_ & 0x00040000) == 0x00040000)) {
        doctorProfessionalSkillImg_ = new com.google.protobuf.LazyStringArrayList(doctorProfessionalSkillImg_);
        bitField0_ |= 0x00040000;
       }
    }
    /**
     * <pre>
     *医师专业技术资格证
     * </pre>
     *
     * <code>repeated string doctorProfessionalSkillImg = 19;</code>
     */
    public com.google.protobuf.ProtocolStringList
        getDoctorProfessionalSkillImgList() {
      return doctorProfessionalSkillImg_.getUnmodifiableView();
    }
    /**
     * <pre>
     *医师专业技术资格证
     * </pre>
     *
     * <code>repeated string doctorProfessionalSkillImg = 19;</code>
     */
    public int getDoctorProfessionalSkillImgCount() {
      return doctorProfessionalSkillImg_.size();
    }
    /**
     * <pre>
     *医师专业技术资格证
     * </pre>
     *
     * <code>repeated string doctorProfessionalSkillImg = 19;</code>
     */
    public java.lang.String getDoctorProfessionalSkillImg(int index) {
      return doctorProfessionalSkillImg_.get(index);
    }
    /**
     * <pre>
     *医师专业技术资格证
     * </pre>
     *
     * <code>repeated string doctorProfessionalSkillImg = 19;</code>
     */
    public com.google.protobuf.ByteString
        getDoctorProfessionalSkillImgBytes(int index) {
      return doctorProfessionalSkillImg_.getByteString(index);
    }
    /**
     * <pre>
     *医师专业技术资格证
     * </pre>
     *
     * <code>repeated string doctorProfessionalSkillImg = 19;</code>
     */
    public Builder setDoctorProfessionalSkillImg(
        int index, java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  ensureDoctorProfessionalSkillImgIsMutable();
      doctorProfessionalSkillImg_.set(index, value);
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医师专业技术资格证
     * </pre>
     *
     * <code>repeated string doctorProfessionalSkillImg = 19;</code>
     */
    public Builder addDoctorProfessionalSkillImg(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  ensureDoctorProfessionalSkillImgIsMutable();
      doctorProfessionalSkillImg_.add(value);
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医师专业技术资格证
     * </pre>
     *
     * <code>repeated string doctorProfessionalSkillImg = 19;</code>
     */
    public Builder addAllDoctorProfessionalSkillImg(
        java.lang.Iterable<java.lang.String> values) {
      ensureDoctorProfessionalSkillImgIsMutable();
      com.google.protobuf.AbstractMessageLite.Builder.addAll(
          values, doctorProfessionalSkillImg_);
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医师专业技术资格证
     * </pre>
     *
     * <code>repeated string doctorProfessionalSkillImg = 19;</code>
     */
    public Builder clearDoctorProfessionalSkillImg() {
      doctorProfessionalSkillImg_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      bitField0_ = (bitField0_ & ~0x00040000);
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医师专业技术资格证
     * </pre>
     *
     * <code>repeated string doctorProfessionalSkillImg = 19;</code>
     */
    public Builder addDoctorProfessionalSkillImgBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      ensureDoctorProfessionalSkillImgIsMutable();
      doctorProfessionalSkillImg_.add(value);
      onChanged();
      return this;
    }

    private java.lang.Object idNo_ = "";
    /**
     * <pre>
     *身份证号码
     * </pre>
     *
     * <code>string idNo = 20;</code>
     */
    public java.lang.String getIdNo() {
      java.lang.Object ref = idNo_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        idNo_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *身份证号码
     * </pre>
     *
     * <code>string idNo = 20;</code>
     */
    public com.google.protobuf.ByteString
        getIdNoBytes() {
      java.lang.Object ref = idNo_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        idNo_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *身份证号码
     * </pre>
     *
     * <code>string idNo = 20;</code>
     */
    public Builder setIdNo(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      idNo_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *身份证号码
     * </pre>
     *
     * <code>string idNo = 20;</code>
     */
    public Builder clearIdNo() {
      
      idNo_ = getDefaultInstance().getIdNo();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *身份证号码
     * </pre>
     *
     * <code>string idNo = 20;</code>
     */
    public Builder setIdNoBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      idNo_ = value;
      onChanged();
      return this;
    }

    private int authType_ ;
    /**
     * <pre>
     *认证方式, 0-后台导入；1-医生认证
     * </pre>
     *
     * <code>int32 authType = 21;</code>
     */
    public int getAuthType() {
      return authType_;
    }
    /**
     * <pre>
     *认证方式, 0-后台导入；1-医生认证
     * </pre>
     *
     * <code>int32 authType = 21;</code>
     */
    public Builder setAuthType(int value) {
      
      authType_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *认证方式, 0-后台导入；1-医生认证
     * </pre>
     *
     * <code>int32 authType = 21;</code>
     */
    public Builder clearAuthType() {
      
      authType_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object avatar2_ = "";
    /**
     * <code>string avatar2 = 22;</code>
     */
    public java.lang.String getAvatar2() {
      java.lang.Object ref = avatar2_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        avatar2_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string avatar2 = 22;</code>
     */
    public com.google.protobuf.ByteString
        getAvatar2Bytes() {
      java.lang.Object ref = avatar2_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        avatar2_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string avatar2 = 22;</code>
     */
    public Builder setAvatar2(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      avatar2_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string avatar2 = 22;</code>
     */
    public Builder clearAvatar2() {
      
      avatar2_ = getDefaultInstance().getAvatar2();
      onChanged();
      return this;
    }
    /**
     * <code>string avatar2 = 22;</code>
     */
    public Builder setAvatar2Bytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      avatar2_ = value;
      onChanged();
      return this;
    }

    private int identity_ ;
    /**
     * <code>int32 identity = 23;</code>
     */
    public int getIdentity() {
      return identity_;
    }
    /**
     * <code>int32 identity = 23;</code>
     */
    public Builder setIdentity(int value) {
      
      identity_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 identity = 23;</code>
     */
    public Builder clearIdentity() {
      
      identity_ = 0;
      onChanged();
      return this;
    }
    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.DoctorInfoAudit)
  }

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

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

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

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

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

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

}

