// 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.RecommendDoctor}
 */
public  final class RecommendDoctor extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.user.RecommendDoctor)
    RecommendDoctorOrBuilder {
  // Use RecommendDoctor.newBuilder() to construct.
  private RecommendDoctor(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private RecommendDoctor() {
    doctorId_ = 0;
    title_ = "";
    specialty_ = "";
    briefintro_ = "";
    createtime_ = 0L;
    updatetime_ = 0L;
    hospitals_ = "";
    depts_ = "";
    realName_ = "";
    avatar_ = "";
    lineNumber_ = 0;
    avatar2_ = "";
  }

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

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

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

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

            briefintro_ = s;
            break;
          }
          case 40: {

            createtime_ = input.readInt64();
            break;
          }
          case 48: {

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

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

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

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

            avatar_ = s;
            break;
          }
          case 88: {

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

            avatar2_ = s;
            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_RecommendDoctor_descriptor;
  }

  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.ywt.gapi.user.DoctorOuterClass.internal_static_com_ywt_gapi_user_RecommendDoctor_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.ywt.gapi.user.RecommendDoctor.class, com.ywt.gapi.user.RecommendDoctor.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 TITLE_FIELD_NUMBER = 2;
  private volatile java.lang.Object title_;
  /**
   * <code>string title = 2;</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 = 2;</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 SPECIALTY_FIELD_NUMBER = 3;
  private volatile java.lang.Object specialty_;
  /**
   * <code>string specialty = 3;</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 = 3;</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 BRIEFINTRO_FIELD_NUMBER = 4;
  private volatile java.lang.Object briefintro_;
  /**
   * <code>string briefintro = 4;</code>
   */
  public java.lang.String getBriefintro() {
    java.lang.Object ref = briefintro_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      briefintro_ = s;
      return s;
    }
  }
  /**
   * <code>string briefintro = 4;</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 CREATETIME_FIELD_NUMBER = 5;
  private long createtime_;
  /**
   * <code>int64 createtime = 5;</code>
   */
  public long getCreatetime() {
    return createtime_;
  }

  public static final int UPDATETIME_FIELD_NUMBER = 6;
  private long updatetime_;
  /**
   * <code>int64 updatetime = 6;</code>
   */
  public long getUpdatetime() {
    return updatetime_;
  }

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

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

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

  public static final int AVATAR_FIELD_NUMBER = 10;
  private volatile java.lang.Object avatar_;
  /**
   * <code>string avatar = 10;</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 = 10;</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 LINENUMBER_FIELD_NUMBER = 11;
  private int lineNumber_;
  /**
   * <pre>
   *行数
   * </pre>
   *
   * <code>int32 lineNumber = 11;</code>
   */
  public int getLineNumber() {
    return lineNumber_;
  }

  public static final int AVATAR2_FIELD_NUMBER = 12;
  private volatile java.lang.Object avatar2_;
  /**
   * <code>string avatar2 = 12;</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 = 12;</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;
    }
  }

  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 (!getTitleBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, title_);
    }
    if (!getSpecialtyBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, specialty_);
    }
    if (!getBriefintroBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, briefintro_);
    }
    if (createtime_ != 0L) {
      output.writeInt64(5, createtime_);
    }
    if (updatetime_ != 0L) {
      output.writeInt64(6, updatetime_);
    }
    if (!getHospitalsBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, hospitals_);
    }
    if (!getDeptsBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, depts_);
    }
    if (!getRealNameBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, realName_);
    }
    if (!getAvatarBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, avatar_);
    }
    if (lineNumber_ != 0) {
      output.writeInt32(11, lineNumber_);
    }
    if (!getAvatar2Bytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 12, avatar2_);
    }
  }

  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 (!getTitleBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, title_);
    }
    if (!getSpecialtyBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, specialty_);
    }
    if (!getBriefintroBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, briefintro_);
    }
    if (createtime_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt64Size(5, createtime_);
    }
    if (updatetime_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt64Size(6, updatetime_);
    }
    if (!getHospitalsBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, hospitals_);
    }
    if (!getDeptsBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, depts_);
    }
    if (!getRealNameBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, realName_);
    }
    if (!getAvatarBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, avatar_);
    }
    if (lineNumber_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(11, lineNumber_);
    }
    if (!getAvatar2Bytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, avatar2_);
    }
    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.RecommendDoctor)) {
      return super.equals(obj);
    }
    com.ywt.gapi.user.RecommendDoctor other = (com.ywt.gapi.user.RecommendDoctor) obj;

    boolean result = true;
    result = result && (getDoctorId()
        == other.getDoctorId());
    result = result && getTitle()
        .equals(other.getTitle());
    result = result && getSpecialty()
        .equals(other.getSpecialty());
    result = result && getBriefintro()
        .equals(other.getBriefintro());
    result = result && (getCreatetime()
        == other.getCreatetime());
    result = result && (getUpdatetime()
        == other.getUpdatetime());
    result = result && getHospitals()
        .equals(other.getHospitals());
    result = result && getDepts()
        .equals(other.getDepts());
    result = result && getRealName()
        .equals(other.getRealName());
    result = result && getAvatar()
        .equals(other.getAvatar());
    result = result && (getLineNumber()
        == other.getLineNumber());
    result = result && getAvatar2()
        .equals(other.getAvatar2());
    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) + TITLE_FIELD_NUMBER;
    hash = (53 * hash) + getTitle().hashCode();
    hash = (37 * hash) + SPECIALTY_FIELD_NUMBER;
    hash = (53 * hash) + getSpecialty().hashCode();
    hash = (37 * hash) + BRIEFINTRO_FIELD_NUMBER;
    hash = (53 * hash) + getBriefintro().hashCode();
    hash = (37 * hash) + CREATETIME_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getCreatetime());
    hash = (37 * hash) + UPDATETIME_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getUpdatetime());
    hash = (37 * hash) + HOSPITALS_FIELD_NUMBER;
    hash = (53 * hash) + getHospitals().hashCode();
    hash = (37 * hash) + DEPTS_FIELD_NUMBER;
    hash = (53 * hash) + getDepts().hashCode();
    hash = (37 * hash) + REALNAME_FIELD_NUMBER;
    hash = (53 * hash) + getRealName().hashCode();
    hash = (37 * hash) + AVATAR_FIELD_NUMBER;
    hash = (53 * hash) + getAvatar().hashCode();
    hash = (37 * hash) + LINENUMBER_FIELD_NUMBER;
    hash = (53 * hash) + getLineNumber();
    hash = (37 * hash) + AVATAR2_FIELD_NUMBER;
    hash = (53 * hash) + getAvatar2().hashCode();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

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

      title_ = "";

      specialty_ = "";

      briefintro_ = "";

      createtime_ = 0L;

      updatetime_ = 0L;

      hospitals_ = "";

      depts_ = "";

      realName_ = "";

      avatar_ = "";

      lineNumber_ = 0;

      avatar2_ = "";

      return this;
    }

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

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

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

    public com.ywt.gapi.user.RecommendDoctor buildPartial() {
      com.ywt.gapi.user.RecommendDoctor result = new com.ywt.gapi.user.RecommendDoctor(this);
      result.doctorId_ = doctorId_;
      result.title_ = title_;
      result.specialty_ = specialty_;
      result.briefintro_ = briefintro_;
      result.createtime_ = createtime_;
      result.updatetime_ = updatetime_;
      result.hospitals_ = hospitals_;
      result.depts_ = depts_;
      result.realName_ = realName_;
      result.avatar_ = avatar_;
      result.lineNumber_ = lineNumber_;
      result.avatar2_ = avatar2_;
      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.RecommendDoctor) {
        return mergeFrom((com.ywt.gapi.user.RecommendDoctor)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.ywt.gapi.user.RecommendDoctor other) {
      if (other == com.ywt.gapi.user.RecommendDoctor.getDefaultInstance()) return this;
      if (other.getDoctorId() != 0) {
        setDoctorId(other.getDoctorId());
      }
      if (!other.getTitle().isEmpty()) {
        title_ = other.title_;
        onChanged();
      }
      if (!other.getSpecialty().isEmpty()) {
        specialty_ = other.specialty_;
        onChanged();
      }
      if (!other.getBriefintro().isEmpty()) {
        briefintro_ = other.briefintro_;
        onChanged();
      }
      if (other.getCreatetime() != 0L) {
        setCreatetime(other.getCreatetime());
      }
      if (other.getUpdatetime() != 0L) {
        setUpdatetime(other.getUpdatetime());
      }
      if (!other.getHospitals().isEmpty()) {
        hospitals_ = other.hospitals_;
        onChanged();
      }
      if (!other.getDepts().isEmpty()) {
        depts_ = other.depts_;
        onChanged();
      }
      if (!other.getRealName().isEmpty()) {
        realName_ = other.realName_;
        onChanged();
      }
      if (!other.getAvatar().isEmpty()) {
        avatar_ = other.avatar_;
        onChanged();
      }
      if (other.getLineNumber() != 0) {
        setLineNumber(other.getLineNumber());
      }
      if (!other.getAvatar2().isEmpty()) {
        avatar2_ = other.avatar2_;
        onChanged();
      }
      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.RecommendDoctor parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.ywt.gapi.user.RecommendDoctor) 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 title_ = "";
    /**
     * <code>string title = 2;</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 = 2;</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 = 2;</code>
     */
    public Builder setTitle(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      title_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string title = 2;</code>
     */
    public Builder clearTitle() {
      
      title_ = getDefaultInstance().getTitle();
      onChanged();
      return this;
    }
    /**
     * <code>string title = 2;</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 specialty_ = "";
    /**
     * <code>string specialty = 3;</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 = 3;</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 = 3;</code>
     */
    public Builder setSpecialty(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      specialty_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string specialty = 3;</code>
     */
    public Builder clearSpecialty() {
      
      specialty_ = getDefaultInstance().getSpecialty();
      onChanged();
      return this;
    }
    /**
     * <code>string specialty = 3;</code>
     */
    public Builder setSpecialtyBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      specialty_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object briefintro_ = "";
    /**
     * <code>string briefintro = 4;</code>
     */
    public java.lang.String getBriefintro() {
      java.lang.Object ref = briefintro_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        briefintro_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string briefintro = 4;</code>
     */
    public com.google.protobuf.ByteString
        getBriefintroBytes() {
      java.lang.Object ref = briefintro_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        briefintro_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string briefintro = 4;</code>
     */
    public Builder setBriefintro(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      briefintro_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string briefintro = 4;</code>
     */
    public Builder clearBriefintro() {
      
      briefintro_ = getDefaultInstance().getBriefintro();
      onChanged();
      return this;
    }
    /**
     * <code>string briefintro = 4;</code>
     */
    public Builder setBriefintroBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      briefintro_ = value;
      onChanged();
      return this;
    }

    private long createtime_ ;
    /**
     * <code>int64 createtime = 5;</code>
     */
    public long getCreatetime() {
      return createtime_;
    }
    /**
     * <code>int64 createtime = 5;</code>
     */
    public Builder setCreatetime(long value) {
      
      createtime_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int64 createtime = 5;</code>
     */
    public Builder clearCreatetime() {
      
      createtime_ = 0L;
      onChanged();
      return this;
    }

    private long updatetime_ ;
    /**
     * <code>int64 updatetime = 6;</code>
     */
    public long getUpdatetime() {
      return updatetime_;
    }
    /**
     * <code>int64 updatetime = 6;</code>
     */
    public Builder setUpdatetime(long value) {
      
      updatetime_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int64 updatetime = 6;</code>
     */
    public Builder clearUpdatetime() {
      
      updatetime_ = 0L;
      onChanged();
      return this;
    }

    private java.lang.Object hospitals_ = "";
    /**
     * <code>string hospitals = 7;</code>
     */
    public java.lang.String getHospitals() {
      java.lang.Object ref = hospitals_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        hospitals_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string hospitals = 7;</code>
     */
    public com.google.protobuf.ByteString
        getHospitalsBytes() {
      java.lang.Object ref = hospitals_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        hospitals_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string hospitals = 7;</code>
     */
    public Builder setHospitals(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      hospitals_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string hospitals = 7;</code>
     */
    public Builder clearHospitals() {
      
      hospitals_ = getDefaultInstance().getHospitals();
      onChanged();
      return this;
    }
    /**
     * <code>string hospitals = 7;</code>
     */
    public Builder setHospitalsBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      hospitals_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object depts_ = "";
    /**
     * <code>string depts = 8;</code>
     */
    public java.lang.String getDepts() {
      java.lang.Object ref = depts_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        depts_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string depts = 8;</code>
     */
    public com.google.protobuf.ByteString
        getDeptsBytes() {
      java.lang.Object ref = depts_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        depts_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string depts = 8;</code>
     */
    public Builder setDepts(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      depts_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string depts = 8;</code>
     */
    public Builder clearDepts() {
      
      depts_ = getDefaultInstance().getDepts();
      onChanged();
      return this;
    }
    /**
     * <code>string depts = 8;</code>
     */
    public Builder setDeptsBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      depts_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object realName_ = "";
    /**
     * <code>string realName = 9;</code>
     */
    public java.lang.String getRealName() {
      java.lang.Object ref = realName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        realName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string realName = 9;</code>
     */
    public com.google.protobuf.ByteString
        getRealNameBytes() {
      java.lang.Object ref = realName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        realName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string realName = 9;</code>
     */
    public Builder setRealName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      realName_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string realName = 9;</code>
     */
    public Builder clearRealName() {
      
      realName_ = getDefaultInstance().getRealName();
      onChanged();
      return this;
    }
    /**
     * <code>string realName = 9;</code>
     */
    public Builder setRealNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      realName_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object avatar_ = "";
    /**
     * <code>string avatar = 10;</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 = 10;</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 = 10;</code>
     */
    public Builder setAvatar(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      avatar_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string avatar = 10;</code>
     */
    public Builder clearAvatar() {
      
      avatar_ = getDefaultInstance().getAvatar();
      onChanged();
      return this;
    }
    /**
     * <code>string avatar = 10;</code>
     */
    public Builder setAvatarBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      avatar_ = value;
      onChanged();
      return this;
    }

    private int lineNumber_ ;
    /**
     * <pre>
     *行数
     * </pre>
     *
     * <code>int32 lineNumber = 11;</code>
     */
    public int getLineNumber() {
      return lineNumber_;
    }
    /**
     * <pre>
     *行数
     * </pre>
     *
     * <code>int32 lineNumber = 11;</code>
     */
    public Builder setLineNumber(int value) {
      
      lineNumber_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *行数
     * </pre>
     *
     * <code>int32 lineNumber = 11;</code>
     */
    public Builder clearLineNumber() {
      
      lineNumber_ = 0;
      onChanged();
      return this;
    }

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

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

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

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

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

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

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

}

