// 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.DoctorInfo}
 */
public  final class DoctorInfo extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.user.DoctorInfo)
    DoctorInfoOrBuilder {
  // Use DoctorInfo.newBuilder() to construct.
  private DoctorInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private DoctorInfo() {
    doctorid_ = 0;
    name_ = "";
    avatar_ = "";
    city_ = "";
    hospital_ = "";
    specialty_ = "";
    status_ = 0;
    title_ = "";
    dept_ = "";
    hospitalIds_ = "";
    deptIds_ = "";
    scheduleStatus_ = 0;
    consultFee_ = 0;
    qrCodeUrl_ = "";
    briefIntro_ = "";
    signId_ = 0;
    signUrl_ = "";
    baseInfoStatus_ = 0;
    licenseStatus_ = 0;
    mobile_ = "";
    authType_ = 0;
    userType_ = 0;
    rpContent_ = "";
    rpUrl_ = "";
    avatar2_ = "";
    rpContentPc_ = "";
    rpUrlPc_ = "";
    pharmacyId_ = 0;
    pharmacyName_ = "";
    identity_ = 0;
    negReception_ = false;
    negReceptionHint_ = "";
    enableNextConsultChance_ = false;
    offlineFee_ = 0;
    prescriptionRightStatus_ = 0;
    prescriptionRightPharmacyIds_ = "";
    showMedEquipBtn_ = false;
    hospitalId_ = 0;
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
  }
  private DoctorInfo(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    int mutable_bitField0_ = 0;
    int mutable_bitField1_ = 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();

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

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

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

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

            specialty_ = s;
            break;
          }
          case 56: {

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

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

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

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

            deptIds_ = s;
            break;
          }
          case 96: {

            scheduleStatus_ = input.readInt32();
            break;
          }
          case 104: {

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

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

            briefIntro_ = s;
            break;
          }
          case 128: {

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

            signUrl_ = s;
            break;
          }
          case 144: {

            baseInfoStatus_ = input.readInt32();
            break;
          }
          case 152: {

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

            mobile_ = s;
            break;
          }
          case 168: {

            authType_ = input.readInt32();
            break;
          }
          case 176: {

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

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

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

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

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

            rpUrlPc_ = s;
            break;
          }
          case 224: {

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

            pharmacyName_ = s;
            break;
          }
          case 240: {

            identity_ = input.readInt32();
            break;
          }
          case 248: {

            negReception_ = input.readBool();
            break;
          }
          case 258: {
            java.lang.String s = input.readStringRequireUtf8();

            negReceptionHint_ = s;
            break;
          }
          case 264: {

            enableNextConsultChance_ = input.readBool();
            break;
          }
          case 272: {

            offlineFee_ = input.readInt32();
            break;
          }
          case 280: {

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

            prescriptionRightPharmacyIds_ = s;
            break;
          }
          case 296: {

            showMedEquipBtn_ = input.readBool();
            break;
          }
          case 304: {

            hospitalId_ = 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 {
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.ywt.gapi.user.DoctorOuterClass.internal_static_com_ywt_gapi_user_DoctorInfo_descriptor;
  }

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

  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 NAME_FIELD_NUMBER = 2;
  private volatile java.lang.Object name_;
  /**
   * <code>string name = 2;</code>
   */
  public java.lang.String getName() {
    java.lang.Object ref = name_;
    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();
      name_ = s;
      return s;
    }
  }
  /**
   * <code>string name = 2;</code>
   */
  public com.google.protobuf.ByteString
      getNameBytes() {
    java.lang.Object ref = name_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      name_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

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

  public static final int HOSPITAL_FIELD_NUMBER = 5;
  private volatile java.lang.Object hospital_;
  /**
   * <code>string hospital = 5;</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 = 5;</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 SPECIALTY_FIELD_NUMBER = 6;
  private volatile java.lang.Object specialty_;
  /**
   * <code>string specialty = 6;</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 = 6;</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 STATUS_FIELD_NUMBER = 7;
  private int status_;
  /**
   * <code>int32 status = 7;</code>
   */
  public int getStatus() {
    return status_;
  }

  public static final int TITLE_FIELD_NUMBER = 8;
  private volatile java.lang.Object title_;
  /**
   * <code>string title = 8;</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 = 8;</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 DEPT_FIELD_NUMBER = 9;
  private volatile java.lang.Object dept_;
  /**
   * <code>string dept = 9;</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 = 9;</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 HOSPITALIDS_FIELD_NUMBER = 10;
  private volatile java.lang.Object hospitalIds_;
  /**
   * <code>string hospitalIds = 10;</code>
   */
  public java.lang.String getHospitalIds() {
    java.lang.Object ref = hospitalIds_;
    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();
      hospitalIds_ = s;
      return s;
    }
  }
  /**
   * <code>string hospitalIds = 10;</code>
   */
  public com.google.protobuf.ByteString
      getHospitalIdsBytes() {
    java.lang.Object ref = hospitalIds_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      hospitalIds_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DEPTIDS_FIELD_NUMBER = 11;
  private volatile java.lang.Object deptIds_;
  /**
   * <code>string deptIds = 11;</code>
   */
  public java.lang.String getDeptIds() {
    java.lang.Object ref = deptIds_;
    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();
      deptIds_ = s;
      return s;
    }
  }
  /**
   * <code>string deptIds = 11;</code>
   */
  public com.google.protobuf.ByteString
      getDeptIdsBytes() {
    java.lang.Object ref = deptIds_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      deptIds_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int SCHEDULESTATUS_FIELD_NUMBER = 12;
  private int scheduleStatus_;
  /**
   * <pre>
   *医生出诊状态
   * </pre>
   *
   * <code>int32 scheduleStatus = 12;</code>
   */
  public int getScheduleStatus() {
    return scheduleStatus_;
  }

  public static final int CONSULTFEE_FIELD_NUMBER = 13;
  private int consultFee_;
  /**
   * <pre>
   *医生咨询费用（单位：分）
   * </pre>
   *
   * <code>int32 consultFee = 13;</code>
   */
  public int getConsultFee() {
    return consultFee_;
  }

  public static final int QRCODEURL_FIELD_NUMBER = 14;
  private volatile java.lang.Object qrCodeUrl_;
  /**
   * <pre>
   *二维码链接
   * </pre>
   *
   * <code>string qrCodeUrl = 14;</code>
   */
  public java.lang.String getQrCodeUrl() {
    java.lang.Object ref = qrCodeUrl_;
    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();
      qrCodeUrl_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *二维码链接
   * </pre>
   *
   * <code>string qrCodeUrl = 14;</code>
   */
  public com.google.protobuf.ByteString
      getQrCodeUrlBytes() {
    java.lang.Object ref = qrCodeUrl_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      qrCodeUrl_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int BRIEFINTRO_FIELD_NUMBER = 15;
  private volatile java.lang.Object briefIntro_;
  /**
   * <pre>
   *简介
   * </pre>
   *
   * <code>string briefIntro = 15;</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;
    }
  }
  /**
   * <pre>
   *简介
   * </pre>
   *
   * <code>string briefIntro = 15;</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 SIGNID_FIELD_NUMBER = 16;
  private int signId_;
  /**
   * <pre>
   *医生签名ID
   * </pre>
   *
   * <code>int32 signId = 16;</code>
   */
  public int getSignId() {
    return signId_;
  }

  public static final int SIGNURL_FIELD_NUMBER = 17;
  private volatile java.lang.Object signUrl_;
  /**
   * <pre>
   *医生签名地址
   * </pre>
   *
   * <code>string signUrl = 17;</code>
   */
  public java.lang.String getSignUrl() {
    java.lang.Object ref = signUrl_;
    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();
      signUrl_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *医生签名地址
   * </pre>
   *
   * <code>string signUrl = 17;</code>
   */
  public com.google.protobuf.ByteString
      getSignUrlBytes() {
    java.lang.Object ref = signUrl_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      signUrl_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int BASEINFOSTATUS_FIELD_NUMBER = 18;
  private int baseInfoStatus_;
  /**
   * <pre>
   *基本信息是否填写（0-未填写，1-已填写）
   * </pre>
   *
   * <code>int32 baseInfoStatus = 18;</code>
   */
  public int getBaseInfoStatus() {
    return baseInfoStatus_;
  }

  public static final int LICENSESTATUS_FIELD_NUMBER = 19;
  private int licenseStatus_;
  /**
   * <pre>
   *认证状态（0-未通过，1-已通过）
   * </pre>
   *
   * <code>int32 licenseStatus = 19;</code>
   */
  public int getLicenseStatus() {
    return licenseStatus_;
  }

  public static final int MOBILE_FIELD_NUMBER = 20;
  private volatile java.lang.Object mobile_;
  /**
   * <pre>
   *手机号
   * </pre>
   *
   * <code>string mobile = 20;</code>
   */
  public java.lang.String getMobile() {
    java.lang.Object ref = mobile_;
    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();
      mobile_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *手机号
   * </pre>
   *
   * <code>string mobile = 20;</code>
   */
  public com.google.protobuf.ByteString
      getMobileBytes() {
    java.lang.Object ref = mobile_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      mobile_ = 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 USERTYPE_FIELD_NUMBER = 22;
  private int userType_;
  /**
   * <pre>
   *用户类型
   * </pre>
   *
   * <code>int32 userType = 22;</code>
   */
  public int getUserType() {
    return userType_;
  }

  public static final int RPCONTENT_FIELD_NUMBER = 23;
  private volatile java.lang.Object rpContent_;
  /**
   * <pre>
   *处方二维码内容
   * </pre>
   *
   * <code>string rpContent = 23;</code>
   */
  public java.lang.String getRpContent() {
    java.lang.Object ref = rpContent_;
    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();
      rpContent_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *处方二维码内容
   * </pre>
   *
   * <code>string rpContent = 23;</code>
   */
  public com.google.protobuf.ByteString
      getRpContentBytes() {
    java.lang.Object ref = rpContent_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      rpContent_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int RPURL_FIELD_NUMBER = 24;
  private volatile java.lang.Object rpUrl_;
  /**
   * <pre>
   *处方二维码链接
   * </pre>
   *
   * <code>string rpUrl = 24;</code>
   */
  public java.lang.String getRpUrl() {
    java.lang.Object ref = rpUrl_;
    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();
      rpUrl_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *处方二维码链接
   * </pre>
   *
   * <code>string rpUrl = 24;</code>
   */
  public com.google.protobuf.ByteString
      getRpUrlBytes() {
    java.lang.Object ref = rpUrl_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      rpUrl_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int AVATAR2_FIELD_NUMBER = 25;
  private volatile java.lang.Object avatar2_;
  /**
   * <code>string avatar2 = 25;</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 = 25;</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 RPCONTENTPC_FIELD_NUMBER = 26;
  private volatile java.lang.Object rpContentPc_;
  /**
   * <pre>
   *处方二维码内容PC端
   * </pre>
   *
   * <code>string rpContentPc = 26;</code>
   */
  public java.lang.String getRpContentPc() {
    java.lang.Object ref = rpContentPc_;
    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();
      rpContentPc_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *处方二维码内容PC端
   * </pre>
   *
   * <code>string rpContentPc = 26;</code>
   */
  public com.google.protobuf.ByteString
      getRpContentPcBytes() {
    java.lang.Object ref = rpContentPc_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      rpContentPc_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int RPURLPC_FIELD_NUMBER = 27;
  private volatile java.lang.Object rpUrlPc_;
  /**
   * <pre>
   *处方二维码链接PC端
   * </pre>
   *
   * <code>string rpUrlPc = 27;</code>
   */
  public java.lang.String getRpUrlPc() {
    java.lang.Object ref = rpUrlPc_;
    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();
      rpUrlPc_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *处方二维码链接PC端
   * </pre>
   *
   * <code>string rpUrlPc = 27;</code>
   */
  public com.google.protobuf.ByteString
      getRpUrlPcBytes() {
    java.lang.Object ref = rpUrlPc_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      rpUrlPc_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PHARMACYID_FIELD_NUMBER = 28;
  private int pharmacyId_;
  /**
   * <code>int32 pharmacyId = 28;</code>
   */
  public int getPharmacyId() {
    return pharmacyId_;
  }

  public static final int PHARMACYNAME_FIELD_NUMBER = 29;
  private volatile java.lang.Object pharmacyName_;
  /**
   * <code>string pharmacyName = 29;</code>
   */
  public java.lang.String getPharmacyName() {
    java.lang.Object ref = pharmacyName_;
    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();
      pharmacyName_ = s;
      return s;
    }
  }
  /**
   * <code>string pharmacyName = 29;</code>
   */
  public com.google.protobuf.ByteString
      getPharmacyNameBytes() {
    java.lang.Object ref = pharmacyName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      pharmacyName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

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

  public static final int NEGRECEPTION_FIELD_NUMBER = 31;
  private boolean negReception_;
  /**
   * <code>bool negReception = 31;</code>
   */
  public boolean getNegReception() {
    return negReception_;
  }

  public static final int NEGRECEPTIONHINT_FIELD_NUMBER = 32;
  private volatile java.lang.Object negReceptionHint_;
  /**
   * <code>string negReceptionHint = 32;</code>
   */
  public java.lang.String getNegReceptionHint() {
    java.lang.Object ref = negReceptionHint_;
    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();
      negReceptionHint_ = s;
      return s;
    }
  }
  /**
   * <code>string negReceptionHint = 32;</code>
   */
  public com.google.protobuf.ByteString
      getNegReceptionHintBytes() {
    java.lang.Object ref = negReceptionHint_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      negReceptionHint_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ENABLENEXTCONSULTCHANCE_FIELD_NUMBER = 33;
  private boolean enableNextConsultChance_;
  /**
   * <pre>
   * v3.2.0, 患者线下就诊后，是否3天内有1次免费咨询机会
   * </pre>
   *
   * <code>bool enableNextConsultChance = 33;</code>
   */
  public boolean getEnableNextConsultChance() {
    return enableNextConsultChance_;
  }

  public static final int OFFLINEFEE_FIELD_NUMBER = 34;
  private int offlineFee_;
  /**
   * <pre>
   * 线下就诊费用设置
   * </pre>
   *
   * <code>int32 offlineFee = 34;</code>
   */
  public int getOfflineFee() {
    return offlineFee_;
  }

  public static final int PRESCRIPTIONRIGHTSTATUS_FIELD_NUMBER = 35;
  private int prescriptionRightStatus_;
  /**
   * <code>int32 prescriptionRightStatus = 35;</code>
   */
  public int getPrescriptionRightStatus() {
    return prescriptionRightStatus_;
  }

  public static final int PRESCRIPTIONRIGHTPHARMACYIDS_FIELD_NUMBER = 36;
  private volatile java.lang.Object prescriptionRightPharmacyIds_;
  /**
   * <code>string prescriptionRightPharmacyIds = 36;</code>
   */
  public java.lang.String getPrescriptionRightPharmacyIds() {
    java.lang.Object ref = prescriptionRightPharmacyIds_;
    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();
      prescriptionRightPharmacyIds_ = s;
      return s;
    }
  }
  /**
   * <code>string prescriptionRightPharmacyIds = 36;</code>
   */
  public com.google.protobuf.ByteString
      getPrescriptionRightPharmacyIdsBytes() {
    java.lang.Object ref = prescriptionRightPharmacyIds_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      prescriptionRightPharmacyIds_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int SHOWMEDEQUIPBTN_FIELD_NUMBER = 37;
  private boolean showMedEquipBtn_;
  /**
   * <pre>
   * 是否显示开医疗设备检查按钮
   * </pre>
   *
   * <code>bool showMedEquipBtn = 37;</code>
   */
  public boolean getShowMedEquipBtn() {
    return showMedEquipBtn_;
  }

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

  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 (!getNameBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
    }
    if (!getAvatarBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, avatar_);
    }
    if (!getCityBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, city_);
    }
    if (!getHospitalBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, hospital_);
    }
    if (!getSpecialtyBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, specialty_);
    }
    if (status_ != 0) {
      output.writeInt32(7, status_);
    }
    if (!getTitleBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, title_);
    }
    if (!getDeptBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, dept_);
    }
    if (!getHospitalIdsBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, hospitalIds_);
    }
    if (!getDeptIdsBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 11, deptIds_);
    }
    if (scheduleStatus_ != 0) {
      output.writeInt32(12, scheduleStatus_);
    }
    if (consultFee_ != 0) {
      output.writeInt32(13, consultFee_);
    }
    if (!getQrCodeUrlBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 14, qrCodeUrl_);
    }
    if (!getBriefIntroBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 15, briefIntro_);
    }
    if (signId_ != 0) {
      output.writeInt32(16, signId_);
    }
    if (!getSignUrlBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 17, signUrl_);
    }
    if (baseInfoStatus_ != 0) {
      output.writeInt32(18, baseInfoStatus_);
    }
    if (licenseStatus_ != 0) {
      output.writeInt32(19, licenseStatus_);
    }
    if (!getMobileBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 20, mobile_);
    }
    if (authType_ != 0) {
      output.writeInt32(21, authType_);
    }
    if (userType_ != 0) {
      output.writeInt32(22, userType_);
    }
    if (!getRpContentBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 23, rpContent_);
    }
    if (!getRpUrlBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 24, rpUrl_);
    }
    if (!getAvatar2Bytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 25, avatar2_);
    }
    if (!getRpContentPcBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 26, rpContentPc_);
    }
    if (!getRpUrlPcBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 27, rpUrlPc_);
    }
    if (pharmacyId_ != 0) {
      output.writeInt32(28, pharmacyId_);
    }
    if (!getPharmacyNameBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 29, pharmacyName_);
    }
    if (identity_ != 0) {
      output.writeInt32(30, identity_);
    }
    if (negReception_ != false) {
      output.writeBool(31, negReception_);
    }
    if (!getNegReceptionHintBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 32, negReceptionHint_);
    }
    if (enableNextConsultChance_ != false) {
      output.writeBool(33, enableNextConsultChance_);
    }
    if (offlineFee_ != 0) {
      output.writeInt32(34, offlineFee_);
    }
    if (prescriptionRightStatus_ != 0) {
      output.writeInt32(35, prescriptionRightStatus_);
    }
    if (!getPrescriptionRightPharmacyIdsBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 36, prescriptionRightPharmacyIds_);
    }
    if (showMedEquipBtn_ != false) {
      output.writeBool(37, showMedEquipBtn_);
    }
    if (hospitalId_ != 0) {
      output.writeInt32(38, hospitalId_);
    }
  }

  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 (!getNameBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
    }
    if (!getAvatarBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, avatar_);
    }
    if (!getCityBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, city_);
    }
    if (!getHospitalBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, hospital_);
    }
    if (!getSpecialtyBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, specialty_);
    }
    if (status_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(7, status_);
    }
    if (!getTitleBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, title_);
    }
    if (!getDeptBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, dept_);
    }
    if (!getHospitalIdsBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, hospitalIds_);
    }
    if (!getDeptIdsBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, deptIds_);
    }
    if (scheduleStatus_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(12, scheduleStatus_);
    }
    if (consultFee_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(13, consultFee_);
    }
    if (!getQrCodeUrlBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, qrCodeUrl_);
    }
    if (!getBriefIntroBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, briefIntro_);
    }
    if (signId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(16, signId_);
    }
    if (!getSignUrlBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, signUrl_);
    }
    if (baseInfoStatus_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(18, baseInfoStatus_);
    }
    if (licenseStatus_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(19, licenseStatus_);
    }
    if (!getMobileBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, mobile_);
    }
    if (authType_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(21, authType_);
    }
    if (userType_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(22, userType_);
    }
    if (!getRpContentBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(23, rpContent_);
    }
    if (!getRpUrlBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(24, rpUrl_);
    }
    if (!getAvatar2Bytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(25, avatar2_);
    }
    if (!getRpContentPcBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(26, rpContentPc_);
    }
    if (!getRpUrlPcBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(27, rpUrlPc_);
    }
    if (pharmacyId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(28, pharmacyId_);
    }
    if (!getPharmacyNameBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(29, pharmacyName_);
    }
    if (identity_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(30, identity_);
    }
    if (negReception_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(31, negReception_);
    }
    if (!getNegReceptionHintBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(32, negReceptionHint_);
    }
    if (enableNextConsultChance_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(33, enableNextConsultChance_);
    }
    if (offlineFee_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(34, offlineFee_);
    }
    if (prescriptionRightStatus_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(35, prescriptionRightStatus_);
    }
    if (!getPrescriptionRightPharmacyIdsBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(36, prescriptionRightPharmacyIds_);
    }
    if (showMedEquipBtn_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(37, showMedEquipBtn_);
    }
    if (hospitalId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(38, hospitalId_);
    }
    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.DoctorInfo)) {
      return super.equals(obj);
    }
    com.ywt.gapi.user.DoctorInfo other = (com.ywt.gapi.user.DoctorInfo) obj;

    boolean result = true;
    result = result && (getDoctorid()
        == other.getDoctorid());
    result = result && getName()
        .equals(other.getName());
    result = result && getAvatar()
        .equals(other.getAvatar());
    result = result && getCity()
        .equals(other.getCity());
    result = result && getHospital()
        .equals(other.getHospital());
    result = result && getSpecialty()
        .equals(other.getSpecialty());
    result = result && (getStatus()
        == other.getStatus());
    result = result && getTitle()
        .equals(other.getTitle());
    result = result && getDept()
        .equals(other.getDept());
    result = result && getHospitalIds()
        .equals(other.getHospitalIds());
    result = result && getDeptIds()
        .equals(other.getDeptIds());
    result = result && (getScheduleStatus()
        == other.getScheduleStatus());
    result = result && (getConsultFee()
        == other.getConsultFee());
    result = result && getQrCodeUrl()
        .equals(other.getQrCodeUrl());
    result = result && getBriefIntro()
        .equals(other.getBriefIntro());
    result = result && (getSignId()
        == other.getSignId());
    result = result && getSignUrl()
        .equals(other.getSignUrl());
    result = result && (getBaseInfoStatus()
        == other.getBaseInfoStatus());
    result = result && (getLicenseStatus()
        == other.getLicenseStatus());
    result = result && getMobile()
        .equals(other.getMobile());
    result = result && (getAuthType()
        == other.getAuthType());
    result = result && (getUserType()
        == other.getUserType());
    result = result && getRpContent()
        .equals(other.getRpContent());
    result = result && getRpUrl()
        .equals(other.getRpUrl());
    result = result && getAvatar2()
        .equals(other.getAvatar2());
    result = result && getRpContentPc()
        .equals(other.getRpContentPc());
    result = result && getRpUrlPc()
        .equals(other.getRpUrlPc());
    result = result && (getPharmacyId()
        == other.getPharmacyId());
    result = result && getPharmacyName()
        .equals(other.getPharmacyName());
    result = result && (getIdentity()
        == other.getIdentity());
    result = result && (getNegReception()
        == other.getNegReception());
    result = result && getNegReceptionHint()
        .equals(other.getNegReceptionHint());
    result = result && (getEnableNextConsultChance()
        == other.getEnableNextConsultChance());
    result = result && (getOfflineFee()
        == other.getOfflineFee());
    result = result && (getPrescriptionRightStatus()
        == other.getPrescriptionRightStatus());
    result = result && getPrescriptionRightPharmacyIds()
        .equals(other.getPrescriptionRightPharmacyIds());
    result = result && (getShowMedEquipBtn()
        == other.getShowMedEquipBtn());
    result = result && (getHospitalId()
        == other.getHospitalId());
    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) + NAME_FIELD_NUMBER;
    hash = (53 * hash) + getName().hashCode();
    hash = (37 * hash) + AVATAR_FIELD_NUMBER;
    hash = (53 * hash) + getAvatar().hashCode();
    hash = (37 * hash) + CITY_FIELD_NUMBER;
    hash = (53 * hash) + getCity().hashCode();
    hash = (37 * hash) + HOSPITAL_FIELD_NUMBER;
    hash = (53 * hash) + getHospital().hashCode();
    hash = (37 * hash) + SPECIALTY_FIELD_NUMBER;
    hash = (53 * hash) + getSpecialty().hashCode();
    hash = (37 * hash) + STATUS_FIELD_NUMBER;
    hash = (53 * hash) + getStatus();
    hash = (37 * hash) + TITLE_FIELD_NUMBER;
    hash = (53 * hash) + getTitle().hashCode();
    hash = (37 * hash) + DEPT_FIELD_NUMBER;
    hash = (53 * hash) + getDept().hashCode();
    hash = (37 * hash) + HOSPITALIDS_FIELD_NUMBER;
    hash = (53 * hash) + getHospitalIds().hashCode();
    hash = (37 * hash) + DEPTIDS_FIELD_NUMBER;
    hash = (53 * hash) + getDeptIds().hashCode();
    hash = (37 * hash) + SCHEDULESTATUS_FIELD_NUMBER;
    hash = (53 * hash) + getScheduleStatus();
    hash = (37 * hash) + CONSULTFEE_FIELD_NUMBER;
    hash = (53 * hash) + getConsultFee();
    hash = (37 * hash) + QRCODEURL_FIELD_NUMBER;
    hash = (53 * hash) + getQrCodeUrl().hashCode();
    hash = (37 * hash) + BRIEFINTRO_FIELD_NUMBER;
    hash = (53 * hash) + getBriefIntro().hashCode();
    hash = (37 * hash) + SIGNID_FIELD_NUMBER;
    hash = (53 * hash) + getSignId();
    hash = (37 * hash) + SIGNURL_FIELD_NUMBER;
    hash = (53 * hash) + getSignUrl().hashCode();
    hash = (37 * hash) + BASEINFOSTATUS_FIELD_NUMBER;
    hash = (53 * hash) + getBaseInfoStatus();
    hash = (37 * hash) + LICENSESTATUS_FIELD_NUMBER;
    hash = (53 * hash) + getLicenseStatus();
    hash = (37 * hash) + MOBILE_FIELD_NUMBER;
    hash = (53 * hash) + getMobile().hashCode();
    hash = (37 * hash) + AUTHTYPE_FIELD_NUMBER;
    hash = (53 * hash) + getAuthType();
    hash = (37 * hash) + USERTYPE_FIELD_NUMBER;
    hash = (53 * hash) + getUserType();
    hash = (37 * hash) + RPCONTENT_FIELD_NUMBER;
    hash = (53 * hash) + getRpContent().hashCode();
    hash = (37 * hash) + RPURL_FIELD_NUMBER;
    hash = (53 * hash) + getRpUrl().hashCode();
    hash = (37 * hash) + AVATAR2_FIELD_NUMBER;
    hash = (53 * hash) + getAvatar2().hashCode();
    hash = (37 * hash) + RPCONTENTPC_FIELD_NUMBER;
    hash = (53 * hash) + getRpContentPc().hashCode();
    hash = (37 * hash) + RPURLPC_FIELD_NUMBER;
    hash = (53 * hash) + getRpUrlPc().hashCode();
    hash = (37 * hash) + PHARMACYID_FIELD_NUMBER;
    hash = (53 * hash) + getPharmacyId();
    hash = (37 * hash) + PHARMACYNAME_FIELD_NUMBER;
    hash = (53 * hash) + getPharmacyName().hashCode();
    hash = (37 * hash) + IDENTITY_FIELD_NUMBER;
    hash = (53 * hash) + getIdentity();
    hash = (37 * hash) + NEGRECEPTION_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getNegReception());
    hash = (37 * hash) + NEGRECEPTIONHINT_FIELD_NUMBER;
    hash = (53 * hash) + getNegReceptionHint().hashCode();
    hash = (37 * hash) + ENABLENEXTCONSULTCHANCE_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getEnableNextConsultChance());
    hash = (37 * hash) + OFFLINEFEE_FIELD_NUMBER;
    hash = (53 * hash) + getOfflineFee();
    hash = (37 * hash) + PRESCRIPTIONRIGHTSTATUS_FIELD_NUMBER;
    hash = (53 * hash) + getPrescriptionRightStatus();
    hash = (37 * hash) + PRESCRIPTIONRIGHTPHARMACYIDS_FIELD_NUMBER;
    hash = (53 * hash) + getPrescriptionRightPharmacyIds().hashCode();
    hash = (37 * hash) + SHOWMEDEQUIPBTN_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getShowMedEquipBtn());
    hash = (37 * hash) + HOSPITALID_FIELD_NUMBER;
    hash = (53 * hash) + getHospitalId();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

    // Construct using com.ywt.gapi.user.DoctorInfo.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;

      name_ = "";

      avatar_ = "";

      city_ = "";

      hospital_ = "";

      specialty_ = "";

      status_ = 0;

      title_ = "";

      dept_ = "";

      hospitalIds_ = "";

      deptIds_ = "";

      scheduleStatus_ = 0;

      consultFee_ = 0;

      qrCodeUrl_ = "";

      briefIntro_ = "";

      signId_ = 0;

      signUrl_ = "";

      baseInfoStatus_ = 0;

      licenseStatus_ = 0;

      mobile_ = "";

      authType_ = 0;

      userType_ = 0;

      rpContent_ = "";

      rpUrl_ = "";

      avatar2_ = "";

      rpContentPc_ = "";

      rpUrlPc_ = "";

      pharmacyId_ = 0;

      pharmacyName_ = "";

      identity_ = 0;

      negReception_ = false;

      negReceptionHint_ = "";

      enableNextConsultChance_ = false;

      offlineFee_ = 0;

      prescriptionRightStatus_ = 0;

      prescriptionRightPharmacyIds_ = "";

      showMedEquipBtn_ = false;

      hospitalId_ = 0;

      return this;
    }

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

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

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

    public com.ywt.gapi.user.DoctorInfo buildPartial() {
      com.ywt.gapi.user.DoctorInfo result = new com.ywt.gapi.user.DoctorInfo(this);
      result.doctorid_ = doctorid_;
      result.name_ = name_;
      result.avatar_ = avatar_;
      result.city_ = city_;
      result.hospital_ = hospital_;
      result.specialty_ = specialty_;
      result.status_ = status_;
      result.title_ = title_;
      result.dept_ = dept_;
      result.hospitalIds_ = hospitalIds_;
      result.deptIds_ = deptIds_;
      result.scheduleStatus_ = scheduleStatus_;
      result.consultFee_ = consultFee_;
      result.qrCodeUrl_ = qrCodeUrl_;
      result.briefIntro_ = briefIntro_;
      result.signId_ = signId_;
      result.signUrl_ = signUrl_;
      result.baseInfoStatus_ = baseInfoStatus_;
      result.licenseStatus_ = licenseStatus_;
      result.mobile_ = mobile_;
      result.authType_ = authType_;
      result.userType_ = userType_;
      result.rpContent_ = rpContent_;
      result.rpUrl_ = rpUrl_;
      result.avatar2_ = avatar2_;
      result.rpContentPc_ = rpContentPc_;
      result.rpUrlPc_ = rpUrlPc_;
      result.pharmacyId_ = pharmacyId_;
      result.pharmacyName_ = pharmacyName_;
      result.identity_ = identity_;
      result.negReception_ = negReception_;
      result.negReceptionHint_ = negReceptionHint_;
      result.enableNextConsultChance_ = enableNextConsultChance_;
      result.offlineFee_ = offlineFee_;
      result.prescriptionRightStatus_ = prescriptionRightStatus_;
      result.prescriptionRightPharmacyIds_ = prescriptionRightPharmacyIds_;
      result.showMedEquipBtn_ = showMedEquipBtn_;
      result.hospitalId_ = hospitalId_;
      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.DoctorInfo) {
        return mergeFrom((com.ywt.gapi.user.DoctorInfo)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.ywt.gapi.user.DoctorInfo other) {
      if (other == com.ywt.gapi.user.DoctorInfo.getDefaultInstance()) return this;
      if (other.getDoctorid() != 0) {
        setDoctorid(other.getDoctorid());
      }
      if (!other.getName().isEmpty()) {
        name_ = other.name_;
        onChanged();
      }
      if (!other.getAvatar().isEmpty()) {
        avatar_ = other.avatar_;
        onChanged();
      }
      if (!other.getCity().isEmpty()) {
        city_ = other.city_;
        onChanged();
      }
      if (!other.getHospital().isEmpty()) {
        hospital_ = other.hospital_;
        onChanged();
      }
      if (!other.getSpecialty().isEmpty()) {
        specialty_ = other.specialty_;
        onChanged();
      }
      if (other.getStatus() != 0) {
        setStatus(other.getStatus());
      }
      if (!other.getTitle().isEmpty()) {
        title_ = other.title_;
        onChanged();
      }
      if (!other.getDept().isEmpty()) {
        dept_ = other.dept_;
        onChanged();
      }
      if (!other.getHospitalIds().isEmpty()) {
        hospitalIds_ = other.hospitalIds_;
        onChanged();
      }
      if (!other.getDeptIds().isEmpty()) {
        deptIds_ = other.deptIds_;
        onChanged();
      }
      if (other.getScheduleStatus() != 0) {
        setScheduleStatus(other.getScheduleStatus());
      }
      if (other.getConsultFee() != 0) {
        setConsultFee(other.getConsultFee());
      }
      if (!other.getQrCodeUrl().isEmpty()) {
        qrCodeUrl_ = other.qrCodeUrl_;
        onChanged();
      }
      if (!other.getBriefIntro().isEmpty()) {
        briefIntro_ = other.briefIntro_;
        onChanged();
      }
      if (other.getSignId() != 0) {
        setSignId(other.getSignId());
      }
      if (!other.getSignUrl().isEmpty()) {
        signUrl_ = other.signUrl_;
        onChanged();
      }
      if (other.getBaseInfoStatus() != 0) {
        setBaseInfoStatus(other.getBaseInfoStatus());
      }
      if (other.getLicenseStatus() != 0) {
        setLicenseStatus(other.getLicenseStatus());
      }
      if (!other.getMobile().isEmpty()) {
        mobile_ = other.mobile_;
        onChanged();
      }
      if (other.getAuthType() != 0) {
        setAuthType(other.getAuthType());
      }
      if (other.getUserType() != 0) {
        setUserType(other.getUserType());
      }
      if (!other.getRpContent().isEmpty()) {
        rpContent_ = other.rpContent_;
        onChanged();
      }
      if (!other.getRpUrl().isEmpty()) {
        rpUrl_ = other.rpUrl_;
        onChanged();
      }
      if (!other.getAvatar2().isEmpty()) {
        avatar2_ = other.avatar2_;
        onChanged();
      }
      if (!other.getRpContentPc().isEmpty()) {
        rpContentPc_ = other.rpContentPc_;
        onChanged();
      }
      if (!other.getRpUrlPc().isEmpty()) {
        rpUrlPc_ = other.rpUrlPc_;
        onChanged();
      }
      if (other.getPharmacyId() != 0) {
        setPharmacyId(other.getPharmacyId());
      }
      if (!other.getPharmacyName().isEmpty()) {
        pharmacyName_ = other.pharmacyName_;
        onChanged();
      }
      if (other.getIdentity() != 0) {
        setIdentity(other.getIdentity());
      }
      if (other.getNegReception() != false) {
        setNegReception(other.getNegReception());
      }
      if (!other.getNegReceptionHint().isEmpty()) {
        negReceptionHint_ = other.negReceptionHint_;
        onChanged();
      }
      if (other.getEnableNextConsultChance() != false) {
        setEnableNextConsultChance(other.getEnableNextConsultChance());
      }
      if (other.getOfflineFee() != 0) {
        setOfflineFee(other.getOfflineFee());
      }
      if (other.getPrescriptionRightStatus() != 0) {
        setPrescriptionRightStatus(other.getPrescriptionRightStatus());
      }
      if (!other.getPrescriptionRightPharmacyIds().isEmpty()) {
        prescriptionRightPharmacyIds_ = other.prescriptionRightPharmacyIds_;
        onChanged();
      }
      if (other.getShowMedEquipBtn() != false) {
        setShowMedEquipBtn(other.getShowMedEquipBtn());
      }
      if (other.getHospitalId() != 0) {
        setHospitalId(other.getHospitalId());
      }
      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.DoctorInfo parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.ywt.gapi.user.DoctorInfo) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    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 name_ = "";
    /**
     * <code>string name = 2;</code>
     */
    public java.lang.String getName() {
      java.lang.Object ref = name_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        name_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string name = 2;</code>
     */
    public com.google.protobuf.ByteString
        getNameBytes() {
      java.lang.Object ref = name_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        name_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string name = 2;</code>
     */
    public Builder setName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      name_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string name = 2;</code>
     */
    public Builder clearName() {
      
      name_ = getDefaultInstance().getName();
      onChanged();
      return this;
    }
    /**
     * <code>string name = 2;</code>
     */
    public Builder setNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      name_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object avatar_ = "";
    /**
     * <code>string avatar = 3;</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 = 3;</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 = 3;</code>
     */
    public Builder setAvatar(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      avatar_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string avatar = 3;</code>
     */
    public Builder clearAvatar() {
      
      avatar_ = getDefaultInstance().getAvatar();
      onChanged();
      return this;
    }
    /**
     * <code>string avatar = 3;</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 city_ = "";
    /**
     * <code>string city = 4;</code>
     */
    public java.lang.String getCity() {
      java.lang.Object ref = city_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        city_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string city = 4;</code>
     */
    public com.google.protobuf.ByteString
        getCityBytes() {
      java.lang.Object ref = city_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        city_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string city = 4;</code>
     */
    public Builder setCity(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      city_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string city = 4;</code>
     */
    public Builder clearCity() {
      
      city_ = getDefaultInstance().getCity();
      onChanged();
      return this;
    }
    /**
     * <code>string city = 4;</code>
     */
    public Builder setCityBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      city_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object hospital_ = "";
    /**
     * <code>string hospital = 5;</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 = 5;</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 = 5;</code>
     */
    public Builder setHospital(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      hospital_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string hospital = 5;</code>
     */
    public Builder clearHospital() {
      
      hospital_ = getDefaultInstance().getHospital();
      onChanged();
      return this;
    }
    /**
     * <code>string hospital = 5;</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 specialty_ = "";
    /**
     * <code>string specialty = 6;</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 = 6;</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 = 6;</code>
     */
    public Builder setSpecialty(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      specialty_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string specialty = 6;</code>
     */
    public Builder clearSpecialty() {
      
      specialty_ = getDefaultInstance().getSpecialty();
      onChanged();
      return this;
    }
    /**
     * <code>string specialty = 6;</code>
     */
    public Builder setSpecialtyBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      specialty_ = value;
      onChanged();
      return this;
    }

    private int status_ ;
    /**
     * <code>int32 status = 7;</code>
     */
    public int getStatus() {
      return status_;
    }
    /**
     * <code>int32 status = 7;</code>
     */
    public Builder setStatus(int value) {
      
      status_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 status = 7;</code>
     */
    public Builder clearStatus() {
      
      status_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object title_ = "";
    /**
     * <code>string title = 8;</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 = 8;</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 = 8;</code>
     */
    public Builder setTitle(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      title_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string title = 8;</code>
     */
    public Builder clearTitle() {
      
      title_ = getDefaultInstance().getTitle();
      onChanged();
      return this;
    }
    /**
     * <code>string title = 8;</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 dept_ = "";
    /**
     * <code>string dept = 9;</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 = 9;</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 = 9;</code>
     */
    public Builder setDept(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      dept_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string dept = 9;</code>
     */
    public Builder clearDept() {
      
      dept_ = getDefaultInstance().getDept();
      onChanged();
      return this;
    }
    /**
     * <code>string dept = 9;</code>
     */
    public Builder setDeptBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      dept_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object hospitalIds_ = "";
    /**
     * <code>string hospitalIds = 10;</code>
     */
    public java.lang.String getHospitalIds() {
      java.lang.Object ref = hospitalIds_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        hospitalIds_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string hospitalIds = 10;</code>
     */
    public com.google.protobuf.ByteString
        getHospitalIdsBytes() {
      java.lang.Object ref = hospitalIds_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        hospitalIds_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string hospitalIds = 10;</code>
     */
    public Builder setHospitalIds(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      hospitalIds_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string hospitalIds = 10;</code>
     */
    public Builder clearHospitalIds() {
      
      hospitalIds_ = getDefaultInstance().getHospitalIds();
      onChanged();
      return this;
    }
    /**
     * <code>string hospitalIds = 10;</code>
     */
    public Builder setHospitalIdsBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      hospitalIds_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object deptIds_ = "";
    /**
     * <code>string deptIds = 11;</code>
     */
    public java.lang.String getDeptIds() {
      java.lang.Object ref = deptIds_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        deptIds_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string deptIds = 11;</code>
     */
    public com.google.protobuf.ByteString
        getDeptIdsBytes() {
      java.lang.Object ref = deptIds_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        deptIds_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string deptIds = 11;</code>
     */
    public Builder setDeptIds(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      deptIds_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string deptIds = 11;</code>
     */
    public Builder clearDeptIds() {
      
      deptIds_ = getDefaultInstance().getDeptIds();
      onChanged();
      return this;
    }
    /**
     * <code>string deptIds = 11;</code>
     */
    public Builder setDeptIdsBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      deptIds_ = value;
      onChanged();
      return this;
    }

    private int scheduleStatus_ ;
    /**
     * <pre>
     *医生出诊状态
     * </pre>
     *
     * <code>int32 scheduleStatus = 12;</code>
     */
    public int getScheduleStatus() {
      return scheduleStatus_;
    }
    /**
     * <pre>
     *医生出诊状态
     * </pre>
     *
     * <code>int32 scheduleStatus = 12;</code>
     */
    public Builder setScheduleStatus(int value) {
      
      scheduleStatus_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医生出诊状态
     * </pre>
     *
     * <code>int32 scheduleStatus = 12;</code>
     */
    public Builder clearScheduleStatus() {
      
      scheduleStatus_ = 0;
      onChanged();
      return this;
    }

    private int consultFee_ ;
    /**
     * <pre>
     *医生咨询费用（单位：分）
     * </pre>
     *
     * <code>int32 consultFee = 13;</code>
     */
    public int getConsultFee() {
      return consultFee_;
    }
    /**
     * <pre>
     *医生咨询费用（单位：分）
     * </pre>
     *
     * <code>int32 consultFee = 13;</code>
     */
    public Builder setConsultFee(int value) {
      
      consultFee_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医生咨询费用（单位：分）
     * </pre>
     *
     * <code>int32 consultFee = 13;</code>
     */
    public Builder clearConsultFee() {
      
      consultFee_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object qrCodeUrl_ = "";
    /**
     * <pre>
     *二维码链接
     * </pre>
     *
     * <code>string qrCodeUrl = 14;</code>
     */
    public java.lang.String getQrCodeUrl() {
      java.lang.Object ref = qrCodeUrl_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        qrCodeUrl_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *二维码链接
     * </pre>
     *
     * <code>string qrCodeUrl = 14;</code>
     */
    public com.google.protobuf.ByteString
        getQrCodeUrlBytes() {
      java.lang.Object ref = qrCodeUrl_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        qrCodeUrl_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *二维码链接
     * </pre>
     *
     * <code>string qrCodeUrl = 14;</code>
     */
    public Builder setQrCodeUrl(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      qrCodeUrl_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *二维码链接
     * </pre>
     *
     * <code>string qrCodeUrl = 14;</code>
     */
    public Builder clearQrCodeUrl() {
      
      qrCodeUrl_ = getDefaultInstance().getQrCodeUrl();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *二维码链接
     * </pre>
     *
     * <code>string qrCodeUrl = 14;</code>
     */
    public Builder setQrCodeUrlBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      qrCodeUrl_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object briefIntro_ = "";
    /**
     * <pre>
     *简介
     * </pre>
     *
     * <code>string briefIntro = 15;</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;
      }
    }
    /**
     * <pre>
     *简介
     * </pre>
     *
     * <code>string briefIntro = 15;</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;
      }
    }
    /**
     * <pre>
     *简介
     * </pre>
     *
     * <code>string briefIntro = 15;</code>
     */
    public Builder setBriefIntro(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      briefIntro_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *简介
     * </pre>
     *
     * <code>string briefIntro = 15;</code>
     */
    public Builder clearBriefIntro() {
      
      briefIntro_ = getDefaultInstance().getBriefIntro();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *简介
     * </pre>
     *
     * <code>string briefIntro = 15;</code>
     */
    public Builder setBriefIntroBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      briefIntro_ = value;
      onChanged();
      return this;
    }

    private int signId_ ;
    /**
     * <pre>
     *医生签名ID
     * </pre>
     *
     * <code>int32 signId = 16;</code>
     */
    public int getSignId() {
      return signId_;
    }
    /**
     * <pre>
     *医生签名ID
     * </pre>
     *
     * <code>int32 signId = 16;</code>
     */
    public Builder setSignId(int value) {
      
      signId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医生签名ID
     * </pre>
     *
     * <code>int32 signId = 16;</code>
     */
    public Builder clearSignId() {
      
      signId_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object signUrl_ = "";
    /**
     * <pre>
     *医生签名地址
     * </pre>
     *
     * <code>string signUrl = 17;</code>
     */
    public java.lang.String getSignUrl() {
      java.lang.Object ref = signUrl_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        signUrl_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *医生签名地址
     * </pre>
     *
     * <code>string signUrl = 17;</code>
     */
    public com.google.protobuf.ByteString
        getSignUrlBytes() {
      java.lang.Object ref = signUrl_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        signUrl_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *医生签名地址
     * </pre>
     *
     * <code>string signUrl = 17;</code>
     */
    public Builder setSignUrl(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      signUrl_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医生签名地址
     * </pre>
     *
     * <code>string signUrl = 17;</code>
     */
    public Builder clearSignUrl() {
      
      signUrl_ = getDefaultInstance().getSignUrl();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医生签名地址
     * </pre>
     *
     * <code>string signUrl = 17;</code>
     */
    public Builder setSignUrlBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      signUrl_ = value;
      onChanged();
      return this;
    }

    private int baseInfoStatus_ ;
    /**
     * <pre>
     *基本信息是否填写（0-未填写，1-已填写）
     * </pre>
     *
     * <code>int32 baseInfoStatus = 18;</code>
     */
    public int getBaseInfoStatus() {
      return baseInfoStatus_;
    }
    /**
     * <pre>
     *基本信息是否填写（0-未填写，1-已填写）
     * </pre>
     *
     * <code>int32 baseInfoStatus = 18;</code>
     */
    public Builder setBaseInfoStatus(int value) {
      
      baseInfoStatus_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *基本信息是否填写（0-未填写，1-已填写）
     * </pre>
     *
     * <code>int32 baseInfoStatus = 18;</code>
     */
    public Builder clearBaseInfoStatus() {
      
      baseInfoStatus_ = 0;
      onChanged();
      return this;
    }

    private int licenseStatus_ ;
    /**
     * <pre>
     *认证状态（0-未通过，1-已通过）
     * </pre>
     *
     * <code>int32 licenseStatus = 19;</code>
     */
    public int getLicenseStatus() {
      return licenseStatus_;
    }
    /**
     * <pre>
     *认证状态（0-未通过，1-已通过）
     * </pre>
     *
     * <code>int32 licenseStatus = 19;</code>
     */
    public Builder setLicenseStatus(int value) {
      
      licenseStatus_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *认证状态（0-未通过，1-已通过）
     * </pre>
     *
     * <code>int32 licenseStatus = 19;</code>
     */
    public Builder clearLicenseStatus() {
      
      licenseStatus_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object mobile_ = "";
    /**
     * <pre>
     *手机号
     * </pre>
     *
     * <code>string mobile = 20;</code>
     */
    public java.lang.String getMobile() {
      java.lang.Object ref = mobile_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        mobile_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *手机号
     * </pre>
     *
     * <code>string mobile = 20;</code>
     */
    public com.google.protobuf.ByteString
        getMobileBytes() {
      java.lang.Object ref = mobile_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        mobile_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *手机号
     * </pre>
     *
     * <code>string mobile = 20;</code>
     */
    public Builder setMobile(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      mobile_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *手机号
     * </pre>
     *
     * <code>string mobile = 20;</code>
     */
    public Builder clearMobile() {
      
      mobile_ = getDefaultInstance().getMobile();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *手机号
     * </pre>
     *
     * <code>string mobile = 20;</code>
     */
    public Builder setMobileBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      mobile_ = 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 int userType_ ;
    /**
     * <pre>
     *用户类型
     * </pre>
     *
     * <code>int32 userType = 22;</code>
     */
    public int getUserType() {
      return userType_;
    }
    /**
     * <pre>
     *用户类型
     * </pre>
     *
     * <code>int32 userType = 22;</code>
     */
    public Builder setUserType(int value) {
      
      userType_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *用户类型
     * </pre>
     *
     * <code>int32 userType = 22;</code>
     */
    public Builder clearUserType() {
      
      userType_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object rpContent_ = "";
    /**
     * <pre>
     *处方二维码内容
     * </pre>
     *
     * <code>string rpContent = 23;</code>
     */
    public java.lang.String getRpContent() {
      java.lang.Object ref = rpContent_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        rpContent_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *处方二维码内容
     * </pre>
     *
     * <code>string rpContent = 23;</code>
     */
    public com.google.protobuf.ByteString
        getRpContentBytes() {
      java.lang.Object ref = rpContent_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        rpContent_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *处方二维码内容
     * </pre>
     *
     * <code>string rpContent = 23;</code>
     */
    public Builder setRpContent(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      rpContent_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *处方二维码内容
     * </pre>
     *
     * <code>string rpContent = 23;</code>
     */
    public Builder clearRpContent() {
      
      rpContent_ = getDefaultInstance().getRpContent();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *处方二维码内容
     * </pre>
     *
     * <code>string rpContent = 23;</code>
     */
    public Builder setRpContentBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      rpContent_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object rpUrl_ = "";
    /**
     * <pre>
     *处方二维码链接
     * </pre>
     *
     * <code>string rpUrl = 24;</code>
     */
    public java.lang.String getRpUrl() {
      java.lang.Object ref = rpUrl_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        rpUrl_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *处方二维码链接
     * </pre>
     *
     * <code>string rpUrl = 24;</code>
     */
    public com.google.protobuf.ByteString
        getRpUrlBytes() {
      java.lang.Object ref = rpUrl_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        rpUrl_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *处方二维码链接
     * </pre>
     *
     * <code>string rpUrl = 24;</code>
     */
    public Builder setRpUrl(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      rpUrl_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *处方二维码链接
     * </pre>
     *
     * <code>string rpUrl = 24;</code>
     */
    public Builder clearRpUrl() {
      
      rpUrl_ = getDefaultInstance().getRpUrl();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *处方二维码链接
     * </pre>
     *
     * <code>string rpUrl = 24;</code>
     */
    public Builder setRpUrlBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      rpUrl_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object avatar2_ = "";
    /**
     * <code>string avatar2 = 25;</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 = 25;</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 = 25;</code>
     */
    public Builder setAvatar2(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      avatar2_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string avatar2 = 25;</code>
     */
    public Builder clearAvatar2() {
      
      avatar2_ = getDefaultInstance().getAvatar2();
      onChanged();
      return this;
    }
    /**
     * <code>string avatar2 = 25;</code>
     */
    public Builder setAvatar2Bytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      avatar2_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object rpContentPc_ = "";
    /**
     * <pre>
     *处方二维码内容PC端
     * </pre>
     *
     * <code>string rpContentPc = 26;</code>
     */
    public java.lang.String getRpContentPc() {
      java.lang.Object ref = rpContentPc_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        rpContentPc_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *处方二维码内容PC端
     * </pre>
     *
     * <code>string rpContentPc = 26;</code>
     */
    public com.google.protobuf.ByteString
        getRpContentPcBytes() {
      java.lang.Object ref = rpContentPc_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        rpContentPc_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *处方二维码内容PC端
     * </pre>
     *
     * <code>string rpContentPc = 26;</code>
     */
    public Builder setRpContentPc(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      rpContentPc_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *处方二维码内容PC端
     * </pre>
     *
     * <code>string rpContentPc = 26;</code>
     */
    public Builder clearRpContentPc() {
      
      rpContentPc_ = getDefaultInstance().getRpContentPc();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *处方二维码内容PC端
     * </pre>
     *
     * <code>string rpContentPc = 26;</code>
     */
    public Builder setRpContentPcBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      rpContentPc_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object rpUrlPc_ = "";
    /**
     * <pre>
     *处方二维码链接PC端
     * </pre>
     *
     * <code>string rpUrlPc = 27;</code>
     */
    public java.lang.String getRpUrlPc() {
      java.lang.Object ref = rpUrlPc_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        rpUrlPc_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *处方二维码链接PC端
     * </pre>
     *
     * <code>string rpUrlPc = 27;</code>
     */
    public com.google.protobuf.ByteString
        getRpUrlPcBytes() {
      java.lang.Object ref = rpUrlPc_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        rpUrlPc_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *处方二维码链接PC端
     * </pre>
     *
     * <code>string rpUrlPc = 27;</code>
     */
    public Builder setRpUrlPc(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      rpUrlPc_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *处方二维码链接PC端
     * </pre>
     *
     * <code>string rpUrlPc = 27;</code>
     */
    public Builder clearRpUrlPc() {
      
      rpUrlPc_ = getDefaultInstance().getRpUrlPc();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *处方二维码链接PC端
     * </pre>
     *
     * <code>string rpUrlPc = 27;</code>
     */
    public Builder setRpUrlPcBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      rpUrlPc_ = value;
      onChanged();
      return this;
    }

    private int pharmacyId_ ;
    /**
     * <code>int32 pharmacyId = 28;</code>
     */
    public int getPharmacyId() {
      return pharmacyId_;
    }
    /**
     * <code>int32 pharmacyId = 28;</code>
     */
    public Builder setPharmacyId(int value) {
      
      pharmacyId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 pharmacyId = 28;</code>
     */
    public Builder clearPharmacyId() {
      
      pharmacyId_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object pharmacyName_ = "";
    /**
     * <code>string pharmacyName = 29;</code>
     */
    public java.lang.String getPharmacyName() {
      java.lang.Object ref = pharmacyName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        pharmacyName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string pharmacyName = 29;</code>
     */
    public com.google.protobuf.ByteString
        getPharmacyNameBytes() {
      java.lang.Object ref = pharmacyName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        pharmacyName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string pharmacyName = 29;</code>
     */
    public Builder setPharmacyName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      pharmacyName_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string pharmacyName = 29;</code>
     */
    public Builder clearPharmacyName() {
      
      pharmacyName_ = getDefaultInstance().getPharmacyName();
      onChanged();
      return this;
    }
    /**
     * <code>string pharmacyName = 29;</code>
     */
    public Builder setPharmacyNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      pharmacyName_ = value;
      onChanged();
      return this;
    }

    private int identity_ ;
    /**
     * <code>int32 identity = 30;</code>
     */
    public int getIdentity() {
      return identity_;
    }
    /**
     * <code>int32 identity = 30;</code>
     */
    public Builder setIdentity(int value) {
      
      identity_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 identity = 30;</code>
     */
    public Builder clearIdentity() {
      
      identity_ = 0;
      onChanged();
      return this;
    }

    private boolean negReception_ ;
    /**
     * <code>bool negReception = 31;</code>
     */
    public boolean getNegReception() {
      return negReception_;
    }
    /**
     * <code>bool negReception = 31;</code>
     */
    public Builder setNegReception(boolean value) {
      
      negReception_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>bool negReception = 31;</code>
     */
    public Builder clearNegReception() {
      
      negReception_ = false;
      onChanged();
      return this;
    }

    private java.lang.Object negReceptionHint_ = "";
    /**
     * <code>string negReceptionHint = 32;</code>
     */
    public java.lang.String getNegReceptionHint() {
      java.lang.Object ref = negReceptionHint_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        negReceptionHint_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string negReceptionHint = 32;</code>
     */
    public com.google.protobuf.ByteString
        getNegReceptionHintBytes() {
      java.lang.Object ref = negReceptionHint_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        negReceptionHint_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string negReceptionHint = 32;</code>
     */
    public Builder setNegReceptionHint(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      negReceptionHint_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string negReceptionHint = 32;</code>
     */
    public Builder clearNegReceptionHint() {
      
      negReceptionHint_ = getDefaultInstance().getNegReceptionHint();
      onChanged();
      return this;
    }
    /**
     * <code>string negReceptionHint = 32;</code>
     */
    public Builder setNegReceptionHintBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      negReceptionHint_ = value;
      onChanged();
      return this;
    }

    private boolean enableNextConsultChance_ ;
    /**
     * <pre>
     * v3.2.0, 患者线下就诊后，是否3天内有1次免费咨询机会
     * </pre>
     *
     * <code>bool enableNextConsultChance = 33;</code>
     */
    public boolean getEnableNextConsultChance() {
      return enableNextConsultChance_;
    }
    /**
     * <pre>
     * v3.2.0, 患者线下就诊后，是否3天内有1次免费咨询机会
     * </pre>
     *
     * <code>bool enableNextConsultChance = 33;</code>
     */
    public Builder setEnableNextConsultChance(boolean value) {
      
      enableNextConsultChance_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * v3.2.0, 患者线下就诊后，是否3天内有1次免费咨询机会
     * </pre>
     *
     * <code>bool enableNextConsultChance = 33;</code>
     */
    public Builder clearEnableNextConsultChance() {
      
      enableNextConsultChance_ = false;
      onChanged();
      return this;
    }

    private int offlineFee_ ;
    /**
     * <pre>
     * 线下就诊费用设置
     * </pre>
     *
     * <code>int32 offlineFee = 34;</code>
     */
    public int getOfflineFee() {
      return offlineFee_;
    }
    /**
     * <pre>
     * 线下就诊费用设置
     * </pre>
     *
     * <code>int32 offlineFee = 34;</code>
     */
    public Builder setOfflineFee(int value) {
      
      offlineFee_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 线下就诊费用设置
     * </pre>
     *
     * <code>int32 offlineFee = 34;</code>
     */
    public Builder clearOfflineFee() {
      
      offlineFee_ = 0;
      onChanged();
      return this;
    }

    private int prescriptionRightStatus_ ;
    /**
     * <code>int32 prescriptionRightStatus = 35;</code>
     */
    public int getPrescriptionRightStatus() {
      return prescriptionRightStatus_;
    }
    /**
     * <code>int32 prescriptionRightStatus = 35;</code>
     */
    public Builder setPrescriptionRightStatus(int value) {
      
      prescriptionRightStatus_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 prescriptionRightStatus = 35;</code>
     */
    public Builder clearPrescriptionRightStatus() {
      
      prescriptionRightStatus_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object prescriptionRightPharmacyIds_ = "";
    /**
     * <code>string prescriptionRightPharmacyIds = 36;</code>
     */
    public java.lang.String getPrescriptionRightPharmacyIds() {
      java.lang.Object ref = prescriptionRightPharmacyIds_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        prescriptionRightPharmacyIds_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string prescriptionRightPharmacyIds = 36;</code>
     */
    public com.google.protobuf.ByteString
        getPrescriptionRightPharmacyIdsBytes() {
      java.lang.Object ref = prescriptionRightPharmacyIds_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        prescriptionRightPharmacyIds_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string prescriptionRightPharmacyIds = 36;</code>
     */
    public Builder setPrescriptionRightPharmacyIds(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      prescriptionRightPharmacyIds_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string prescriptionRightPharmacyIds = 36;</code>
     */
    public Builder clearPrescriptionRightPharmacyIds() {
      
      prescriptionRightPharmacyIds_ = getDefaultInstance().getPrescriptionRightPharmacyIds();
      onChanged();
      return this;
    }
    /**
     * <code>string prescriptionRightPharmacyIds = 36;</code>
     */
    public Builder setPrescriptionRightPharmacyIdsBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      prescriptionRightPharmacyIds_ = value;
      onChanged();
      return this;
    }

    private boolean showMedEquipBtn_ ;
    /**
     * <pre>
     * 是否显示开医疗设备检查按钮
     * </pre>
     *
     * <code>bool showMedEquipBtn = 37;</code>
     */
    public boolean getShowMedEquipBtn() {
      return showMedEquipBtn_;
    }
    /**
     * <pre>
     * 是否显示开医疗设备检查按钮
     * </pre>
     *
     * <code>bool showMedEquipBtn = 37;</code>
     */
    public Builder setShowMedEquipBtn(boolean value) {
      
      showMedEquipBtn_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 是否显示开医疗设备检查按钮
     * </pre>
     *
     * <code>bool showMedEquipBtn = 37;</code>
     */
    public Builder clearShowMedEquipBtn() {
      
      showMedEquipBtn_ = false;
      onChanged();
      return this;
    }

    private int hospitalId_ ;
    /**
     * <code>int32 hospitalId = 38;</code>
     */
    public int getHospitalId() {
      return hospitalId_;
    }
    /**
     * <code>int32 hospitalId = 38;</code>
     */
    public Builder setHospitalId(int value) {
      
      hospitalId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 hospitalId = 38;</code>
     */
    public Builder clearHospitalId() {
      
      hospitalId_ = 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.DoctorInfo)
  }

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

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

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

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

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

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

}

