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

package com.ywt.gapi.nfyy;

/**
 * <pre>
 *南方医院医生信息
 * </pre>
 *
 * Protobuf type {@code com.ywt.gapi.nfyy.Doctor}
 */
public final class Doctor extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.nfyy.Doctor)
    DoctorOrBuilder {
private static final long serialVersionUID = 0L;
  // Use Doctor.newBuilder() to construct.
  private Doctor(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private Doctor() {
    doctorCode_ = "";
    doctorName_ = "";
    doctorTitleCode_ = "";
    doctorTitle_ = "";
    doctorBriefIntro_ = "";
    doctorSpec_ = "";
    doctorSessTypeCode_ = "";
    doctorSessType_ = "";
    imageUrl_ = "";
    departmentCode_ = "";
    firstLetter_ = "";
    letters_ = "";
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private Doctor(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
        com.google.protobuf.UnknownFieldSet.newBuilder();
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          case 10: {
            java.lang.String s = input.readStringRequireUtf8();

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

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

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

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

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

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

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

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

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

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

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

            letters_ = s;
            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.ywt.gapi.nfyy.NfyyProto.internal_static_com_ywt_gapi_nfyy_Doctor_descriptor;
  }

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

  public static final int DOCTORCODE_FIELD_NUMBER = 1;
  private volatile java.lang.Object doctorCode_;
  /**
   * <code>string doctorCode = 1;</code>
   * @return The doctorCode.
   */
  @java.lang.Override
  public java.lang.String getDoctorCode() {
    java.lang.Object ref = doctorCode_;
    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();
      doctorCode_ = s;
      return s;
    }
  }
  /**
   * <code>string doctorCode = 1;</code>
   * @return The bytes for doctorCode.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDoctorCodeBytes() {
    java.lang.Object ref = doctorCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      doctorCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DOCTORNAME_FIELD_NUMBER = 2;
  private volatile java.lang.Object doctorName_;
  /**
   * <code>string doctorName = 2;</code>
   * @return The doctorName.
   */
  @java.lang.Override
  public java.lang.String getDoctorName() {
    java.lang.Object ref = doctorName_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      doctorName_ = s;
      return s;
    }
  }
  /**
   * <code>string doctorName = 2;</code>
   * @return The bytes for doctorName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDoctorNameBytes() {
    java.lang.Object ref = doctorName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      doctorName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DOCTORTITLECODE_FIELD_NUMBER = 3;
  private volatile java.lang.Object doctorTitleCode_;
  /**
   * <code>string doctorTitleCode = 3;</code>
   * @return The doctorTitleCode.
   */
  @java.lang.Override
  public java.lang.String getDoctorTitleCode() {
    java.lang.Object ref = doctorTitleCode_;
    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();
      doctorTitleCode_ = s;
      return s;
    }
  }
  /**
   * <code>string doctorTitleCode = 3;</code>
   * @return The bytes for doctorTitleCode.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDoctorTitleCodeBytes() {
    java.lang.Object ref = doctorTitleCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      doctorTitleCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DOCTORTITLE_FIELD_NUMBER = 4;
  private volatile java.lang.Object doctorTitle_;
  /**
   * <code>string doctorTitle = 4;</code>
   * @return The doctorTitle.
   */
  @java.lang.Override
  public java.lang.String getDoctorTitle() {
    java.lang.Object ref = doctorTitle_;
    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();
      doctorTitle_ = s;
      return s;
    }
  }
  /**
   * <code>string doctorTitle = 4;</code>
   * @return The bytes for doctorTitle.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDoctorTitleBytes() {
    java.lang.Object ref = doctorTitle_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      doctorTitle_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DOCTORBRIEFINTRO_FIELD_NUMBER = 5;
  private volatile java.lang.Object doctorBriefIntro_;
  /**
   * <code>string doctorBriefIntro = 5;</code>
   * @return The doctorBriefIntro.
   */
  @java.lang.Override
  public java.lang.String getDoctorBriefIntro() {
    java.lang.Object ref = doctorBriefIntro_;
    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();
      doctorBriefIntro_ = s;
      return s;
    }
  }
  /**
   * <code>string doctorBriefIntro = 5;</code>
   * @return The bytes for doctorBriefIntro.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDoctorBriefIntroBytes() {
    java.lang.Object ref = doctorBriefIntro_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      doctorBriefIntro_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DOCTORSPEC_FIELD_NUMBER = 6;
  private volatile java.lang.Object doctorSpec_;
  /**
   * <code>string doctorSpec = 6;</code>
   * @return The doctorSpec.
   */
  @java.lang.Override
  public java.lang.String getDoctorSpec() {
    java.lang.Object ref = doctorSpec_;
    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();
      doctorSpec_ = s;
      return s;
    }
  }
  /**
   * <code>string doctorSpec = 6;</code>
   * @return The bytes for doctorSpec.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDoctorSpecBytes() {
    java.lang.Object ref = doctorSpec_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      doctorSpec_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DOCTORSESSTYPECODE_FIELD_NUMBER = 7;
  private volatile java.lang.Object doctorSessTypeCode_;
  /**
   * <code>string doctorSessTypeCode = 7;</code>
   * @return The doctorSessTypeCode.
   */
  @java.lang.Override
  public java.lang.String getDoctorSessTypeCode() {
    java.lang.Object ref = doctorSessTypeCode_;
    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();
      doctorSessTypeCode_ = s;
      return s;
    }
  }
  /**
   * <code>string doctorSessTypeCode = 7;</code>
   * @return The bytes for doctorSessTypeCode.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDoctorSessTypeCodeBytes() {
    java.lang.Object ref = doctorSessTypeCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      doctorSessTypeCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DOCTORSESSTYPE_FIELD_NUMBER = 8;
  private volatile java.lang.Object doctorSessType_;
  /**
   * <code>string doctorSessType = 8;</code>
   * @return The doctorSessType.
   */
  @java.lang.Override
  public java.lang.String getDoctorSessType() {
    java.lang.Object ref = doctorSessType_;
    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();
      doctorSessType_ = s;
      return s;
    }
  }
  /**
   * <code>string doctorSessType = 8;</code>
   * @return The bytes for doctorSessType.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDoctorSessTypeBytes() {
    java.lang.Object ref = doctorSessType_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      doctorSessType_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int IMAGEURL_FIELD_NUMBER = 9;
  private volatile java.lang.Object imageUrl_;
  /**
   * <code>string imageUrl = 9;</code>
   * @return The imageUrl.
   */
  @java.lang.Override
  public java.lang.String getImageUrl() {
    java.lang.Object ref = imageUrl_;
    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();
      imageUrl_ = s;
      return s;
    }
  }
  /**
   * <code>string imageUrl = 9;</code>
   * @return The bytes for imageUrl.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getImageUrlBytes() {
    java.lang.Object ref = imageUrl_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      imageUrl_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DEPARTMENTCODE_FIELD_NUMBER = 10;
  private volatile java.lang.Object departmentCode_;
  /**
   * <code>string departmentCode = 10;</code>
   * @return The departmentCode.
   */
  @java.lang.Override
  public java.lang.String getDepartmentCode() {
    java.lang.Object ref = departmentCode_;
    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();
      departmentCode_ = s;
      return s;
    }
  }
  /**
   * <code>string departmentCode = 10;</code>
   * @return The bytes for departmentCode.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDepartmentCodeBytes() {
    java.lang.Object ref = departmentCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      departmentCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int FIRSTLETTER_FIELD_NUMBER = 11;
  private volatile java.lang.Object firstLetter_;
  /**
   * <code>string firstLetter = 11;</code>
   * @return The firstLetter.
   */
  @java.lang.Override
  public java.lang.String getFirstLetter() {
    java.lang.Object ref = firstLetter_;
    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();
      firstLetter_ = s;
      return s;
    }
  }
  /**
   * <code>string firstLetter = 11;</code>
   * @return The bytes for firstLetter.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getFirstLetterBytes() {
    java.lang.Object ref = firstLetter_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      firstLetter_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int LETTERS_FIELD_NUMBER = 12;
  private volatile java.lang.Object letters_;
  /**
   * <code>string letters = 12;</code>
   * @return The letters.
   */
  @java.lang.Override
  public java.lang.String getLetters() {
    java.lang.Object ref = letters_;
    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();
      letters_ = s;
      return s;
    }
  }
  /**
   * <code>string letters = 12;</code>
   * @return The bytes for letters.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getLettersBytes() {
    java.lang.Object ref = letters_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      letters_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

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

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctorCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, doctorCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctorName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, doctorName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctorTitleCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, doctorTitleCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctorTitle_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, doctorTitle_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctorBriefIntro_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, doctorBriefIntro_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctorSpec_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, doctorSpec_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctorSessTypeCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, doctorSessTypeCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctorSessType_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, doctorSessType_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageUrl_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, imageUrl_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(departmentCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, departmentCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firstLetter_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 11, firstLetter_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(letters_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 12, letters_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctorCode_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, doctorCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctorName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, doctorName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctorTitleCode_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, doctorTitleCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctorTitle_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, doctorTitle_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctorBriefIntro_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, doctorBriefIntro_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctorSpec_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, doctorSpec_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctorSessTypeCode_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, doctorSessTypeCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctorSessType_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, doctorSessType_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageUrl_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, imageUrl_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(departmentCode_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, departmentCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firstLetter_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, firstLetter_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(letters_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, letters_);
    }
    size += unknownFields.getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof com.ywt.gapi.nfyy.Doctor)) {
      return super.equals(obj);
    }
    com.ywt.gapi.nfyy.Doctor other = (com.ywt.gapi.nfyy.Doctor) obj;

    if (!getDoctorCode()
        .equals(other.getDoctorCode())) return false;
    if (!getDoctorName()
        .equals(other.getDoctorName())) return false;
    if (!getDoctorTitleCode()
        .equals(other.getDoctorTitleCode())) return false;
    if (!getDoctorTitle()
        .equals(other.getDoctorTitle())) return false;
    if (!getDoctorBriefIntro()
        .equals(other.getDoctorBriefIntro())) return false;
    if (!getDoctorSpec()
        .equals(other.getDoctorSpec())) return false;
    if (!getDoctorSessTypeCode()
        .equals(other.getDoctorSessTypeCode())) return false;
    if (!getDoctorSessType()
        .equals(other.getDoctorSessType())) return false;
    if (!getImageUrl()
        .equals(other.getImageUrl())) return false;
    if (!getDepartmentCode()
        .equals(other.getDepartmentCode())) return false;
    if (!getFirstLetter()
        .equals(other.getFirstLetter())) return false;
    if (!getLetters()
        .equals(other.getLetters())) return false;
    if (!unknownFields.equals(other.unknownFields)) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + DOCTORCODE_FIELD_NUMBER;
    hash = (53 * hash) + getDoctorCode().hashCode();
    hash = (37 * hash) + DOCTORNAME_FIELD_NUMBER;
    hash = (53 * hash) + getDoctorName().hashCode();
    hash = (37 * hash) + DOCTORTITLECODE_FIELD_NUMBER;
    hash = (53 * hash) + getDoctorTitleCode().hashCode();
    hash = (37 * hash) + DOCTORTITLE_FIELD_NUMBER;
    hash = (53 * hash) + getDoctorTitle().hashCode();
    hash = (37 * hash) + DOCTORBRIEFINTRO_FIELD_NUMBER;
    hash = (53 * hash) + getDoctorBriefIntro().hashCode();
    hash = (37 * hash) + DOCTORSPEC_FIELD_NUMBER;
    hash = (53 * hash) + getDoctorSpec().hashCode();
    hash = (37 * hash) + DOCTORSESSTYPECODE_FIELD_NUMBER;
    hash = (53 * hash) + getDoctorSessTypeCode().hashCode();
    hash = (37 * hash) + DOCTORSESSTYPE_FIELD_NUMBER;
    hash = (53 * hash) + getDoctorSessType().hashCode();
    hash = (37 * hash) + IMAGEURL_FIELD_NUMBER;
    hash = (53 * hash) + getImageUrl().hashCode();
    hash = (37 * hash) + DEPARTMENTCODE_FIELD_NUMBER;
    hash = (53 * hash) + getDepartmentCode().hashCode();
    hash = (37 * hash) + FIRSTLETTER_FIELD_NUMBER;
    hash = (53 * hash) + getFirstLetter().hashCode();
    hash = (37 * hash) + LETTERS_FIELD_NUMBER;
    hash = (53 * hash) + getLetters().hashCode();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.ywt.gapi.nfyy.Doctor parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.nfyy.Doctor parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.ywt.gapi.nfyy.Doctor parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.nfyy.Doctor parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.ywt.gapi.nfyy.Doctor parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.nfyy.Doctor parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.ywt.gapi.nfyy.Doctor parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.nfyy.Doctor parseFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }
  public static com.ywt.gapi.nfyy.Doctor parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.nfyy.Doctor parseDelimitedFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
  }
  public static com.ywt.gapi.nfyy.Doctor parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.nfyy.Doctor parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }

  @java.lang.Override
  public Builder newBuilderForType() { return newBuilder(); }
  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }
  public static Builder newBuilder(com.ywt.gapi.nfyy.Doctor prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  @java.lang.Override
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE
        ? new Builder() : new Builder().mergeFrom(this);
  }

  @java.lang.Override
  protected Builder newBuilderForType(
      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * <pre>
   *南方医院医生信息
   * </pre>
   *
   * Protobuf type {@code com.ywt.gapi.nfyy.Doctor}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:com.ywt.gapi.nfyy.Doctor)
      com.ywt.gapi.nfyy.DoctorOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.ywt.gapi.nfyy.NfyyProto.internal_static_com_ywt_gapi_nfyy_Doctor_descriptor;
    }

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

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

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

      doctorName_ = "";

      doctorTitleCode_ = "";

      doctorTitle_ = "";

      doctorBriefIntro_ = "";

      doctorSpec_ = "";

      doctorSessTypeCode_ = "";

      doctorSessType_ = "";

      imageUrl_ = "";

      departmentCode_ = "";

      firstLetter_ = "";

      letters_ = "";

      return this;
    }

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

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

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

    @java.lang.Override
    public com.ywt.gapi.nfyy.Doctor buildPartial() {
      com.ywt.gapi.nfyy.Doctor result = new com.ywt.gapi.nfyy.Doctor(this);
      result.doctorCode_ = doctorCode_;
      result.doctorName_ = doctorName_;
      result.doctorTitleCode_ = doctorTitleCode_;
      result.doctorTitle_ = doctorTitle_;
      result.doctorBriefIntro_ = doctorBriefIntro_;
      result.doctorSpec_ = doctorSpec_;
      result.doctorSessTypeCode_ = doctorSessTypeCode_;
      result.doctorSessType_ = doctorSessType_;
      result.imageUrl_ = imageUrl_;
      result.departmentCode_ = departmentCode_;
      result.firstLetter_ = firstLetter_;
      result.letters_ = letters_;
      onBuilt();
      return result;
    }

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

    public Builder mergeFrom(com.ywt.gapi.nfyy.Doctor other) {
      if (other == com.ywt.gapi.nfyy.Doctor.getDefaultInstance()) return this;
      if (!other.getDoctorCode().isEmpty()) {
        doctorCode_ = other.doctorCode_;
        onChanged();
      }
      if (!other.getDoctorName().isEmpty()) {
        doctorName_ = other.doctorName_;
        onChanged();
      }
      if (!other.getDoctorTitleCode().isEmpty()) {
        doctorTitleCode_ = other.doctorTitleCode_;
        onChanged();
      }
      if (!other.getDoctorTitle().isEmpty()) {
        doctorTitle_ = other.doctorTitle_;
        onChanged();
      }
      if (!other.getDoctorBriefIntro().isEmpty()) {
        doctorBriefIntro_ = other.doctorBriefIntro_;
        onChanged();
      }
      if (!other.getDoctorSpec().isEmpty()) {
        doctorSpec_ = other.doctorSpec_;
        onChanged();
      }
      if (!other.getDoctorSessTypeCode().isEmpty()) {
        doctorSessTypeCode_ = other.doctorSessTypeCode_;
        onChanged();
      }
      if (!other.getDoctorSessType().isEmpty()) {
        doctorSessType_ = other.doctorSessType_;
        onChanged();
      }
      if (!other.getImageUrl().isEmpty()) {
        imageUrl_ = other.imageUrl_;
        onChanged();
      }
      if (!other.getDepartmentCode().isEmpty()) {
        departmentCode_ = other.departmentCode_;
        onChanged();
      }
      if (!other.getFirstLetter().isEmpty()) {
        firstLetter_ = other.firstLetter_;
        onChanged();
      }
      if (!other.getLetters().isEmpty()) {
        letters_ = other.letters_;
        onChanged();
      }
      this.mergeUnknownFields(other.unknownFields);
      onChanged();
      return this;
    }

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

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

    private java.lang.Object doctorCode_ = "";
    /**
     * <code>string doctorCode = 1;</code>
     * @return The doctorCode.
     */
    public java.lang.String getDoctorCode() {
      java.lang.Object ref = doctorCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        doctorCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string doctorCode = 1;</code>
     * @return The bytes for doctorCode.
     */
    public com.google.protobuf.ByteString
        getDoctorCodeBytes() {
      java.lang.Object ref = doctorCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        doctorCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string doctorCode = 1;</code>
     * @param value The doctorCode to set.
     * @return This builder for chaining.
     */
    public Builder setDoctorCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      doctorCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string doctorCode = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearDoctorCode() {
      
      doctorCode_ = getDefaultInstance().getDoctorCode();
      onChanged();
      return this;
    }
    /**
     * <code>string doctorCode = 1;</code>
     * @param value The bytes for doctorCode to set.
     * @return This builder for chaining.
     */
    public Builder setDoctorCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      doctorCode_ = value;
      onChanged();
      return this;
    }

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

    private java.lang.Object doctorTitleCode_ = "";
    /**
     * <code>string doctorTitleCode = 3;</code>
     * @return The doctorTitleCode.
     */
    public java.lang.String getDoctorTitleCode() {
      java.lang.Object ref = doctorTitleCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        doctorTitleCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string doctorTitleCode = 3;</code>
     * @return The bytes for doctorTitleCode.
     */
    public com.google.protobuf.ByteString
        getDoctorTitleCodeBytes() {
      java.lang.Object ref = doctorTitleCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        doctorTitleCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string doctorTitleCode = 3;</code>
     * @param value The doctorTitleCode to set.
     * @return This builder for chaining.
     */
    public Builder setDoctorTitleCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      doctorTitleCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string doctorTitleCode = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearDoctorTitleCode() {
      
      doctorTitleCode_ = getDefaultInstance().getDoctorTitleCode();
      onChanged();
      return this;
    }
    /**
     * <code>string doctorTitleCode = 3;</code>
     * @param value The bytes for doctorTitleCode to set.
     * @return This builder for chaining.
     */
    public Builder setDoctorTitleCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      doctorTitleCode_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object doctorTitle_ = "";
    /**
     * <code>string doctorTitle = 4;</code>
     * @return The doctorTitle.
     */
    public java.lang.String getDoctorTitle() {
      java.lang.Object ref = doctorTitle_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        doctorTitle_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string doctorTitle = 4;</code>
     * @return The bytes for doctorTitle.
     */
    public com.google.protobuf.ByteString
        getDoctorTitleBytes() {
      java.lang.Object ref = doctorTitle_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        doctorTitle_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string doctorTitle = 4;</code>
     * @param value The doctorTitle to set.
     * @return This builder for chaining.
     */
    public Builder setDoctorTitle(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      doctorTitle_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string doctorTitle = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearDoctorTitle() {
      
      doctorTitle_ = getDefaultInstance().getDoctorTitle();
      onChanged();
      return this;
    }
    /**
     * <code>string doctorTitle = 4;</code>
     * @param value The bytes for doctorTitle to set.
     * @return This builder for chaining.
     */
    public Builder setDoctorTitleBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      doctorTitle_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object doctorBriefIntro_ = "";
    /**
     * <code>string doctorBriefIntro = 5;</code>
     * @return The doctorBriefIntro.
     */
    public java.lang.String getDoctorBriefIntro() {
      java.lang.Object ref = doctorBriefIntro_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        doctorBriefIntro_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string doctorBriefIntro = 5;</code>
     * @return The bytes for doctorBriefIntro.
     */
    public com.google.protobuf.ByteString
        getDoctorBriefIntroBytes() {
      java.lang.Object ref = doctorBriefIntro_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        doctorBriefIntro_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string doctorBriefIntro = 5;</code>
     * @param value The doctorBriefIntro to set.
     * @return This builder for chaining.
     */
    public Builder setDoctorBriefIntro(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      doctorBriefIntro_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string doctorBriefIntro = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearDoctorBriefIntro() {
      
      doctorBriefIntro_ = getDefaultInstance().getDoctorBriefIntro();
      onChanged();
      return this;
    }
    /**
     * <code>string doctorBriefIntro = 5;</code>
     * @param value The bytes for doctorBriefIntro to set.
     * @return This builder for chaining.
     */
    public Builder setDoctorBriefIntroBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      doctorBriefIntro_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object doctorSpec_ = "";
    /**
     * <code>string doctorSpec = 6;</code>
     * @return The doctorSpec.
     */
    public java.lang.String getDoctorSpec() {
      java.lang.Object ref = doctorSpec_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        doctorSpec_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string doctorSpec = 6;</code>
     * @return The bytes for doctorSpec.
     */
    public com.google.protobuf.ByteString
        getDoctorSpecBytes() {
      java.lang.Object ref = doctorSpec_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        doctorSpec_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string doctorSpec = 6;</code>
     * @param value The doctorSpec to set.
     * @return This builder for chaining.
     */
    public Builder setDoctorSpec(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      doctorSpec_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string doctorSpec = 6;</code>
     * @return This builder for chaining.
     */
    public Builder clearDoctorSpec() {
      
      doctorSpec_ = getDefaultInstance().getDoctorSpec();
      onChanged();
      return this;
    }
    /**
     * <code>string doctorSpec = 6;</code>
     * @param value The bytes for doctorSpec to set.
     * @return This builder for chaining.
     */
    public Builder setDoctorSpecBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      doctorSpec_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object doctorSessTypeCode_ = "";
    /**
     * <code>string doctorSessTypeCode = 7;</code>
     * @return The doctorSessTypeCode.
     */
    public java.lang.String getDoctorSessTypeCode() {
      java.lang.Object ref = doctorSessTypeCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        doctorSessTypeCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string doctorSessTypeCode = 7;</code>
     * @return The bytes for doctorSessTypeCode.
     */
    public com.google.protobuf.ByteString
        getDoctorSessTypeCodeBytes() {
      java.lang.Object ref = doctorSessTypeCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        doctorSessTypeCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string doctorSessTypeCode = 7;</code>
     * @param value The doctorSessTypeCode to set.
     * @return This builder for chaining.
     */
    public Builder setDoctorSessTypeCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      doctorSessTypeCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string doctorSessTypeCode = 7;</code>
     * @return This builder for chaining.
     */
    public Builder clearDoctorSessTypeCode() {
      
      doctorSessTypeCode_ = getDefaultInstance().getDoctorSessTypeCode();
      onChanged();
      return this;
    }
    /**
     * <code>string doctorSessTypeCode = 7;</code>
     * @param value The bytes for doctorSessTypeCode to set.
     * @return This builder for chaining.
     */
    public Builder setDoctorSessTypeCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      doctorSessTypeCode_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object doctorSessType_ = "";
    /**
     * <code>string doctorSessType = 8;</code>
     * @return The doctorSessType.
     */
    public java.lang.String getDoctorSessType() {
      java.lang.Object ref = doctorSessType_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        doctorSessType_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string doctorSessType = 8;</code>
     * @return The bytes for doctorSessType.
     */
    public com.google.protobuf.ByteString
        getDoctorSessTypeBytes() {
      java.lang.Object ref = doctorSessType_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        doctorSessType_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string doctorSessType = 8;</code>
     * @param value The doctorSessType to set.
     * @return This builder for chaining.
     */
    public Builder setDoctorSessType(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      doctorSessType_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string doctorSessType = 8;</code>
     * @return This builder for chaining.
     */
    public Builder clearDoctorSessType() {
      
      doctorSessType_ = getDefaultInstance().getDoctorSessType();
      onChanged();
      return this;
    }
    /**
     * <code>string doctorSessType = 8;</code>
     * @param value The bytes for doctorSessType to set.
     * @return This builder for chaining.
     */
    public Builder setDoctorSessTypeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      doctorSessType_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object imageUrl_ = "";
    /**
     * <code>string imageUrl = 9;</code>
     * @return The imageUrl.
     */
    public java.lang.String getImageUrl() {
      java.lang.Object ref = imageUrl_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        imageUrl_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string imageUrl = 9;</code>
     * @return The bytes for imageUrl.
     */
    public com.google.protobuf.ByteString
        getImageUrlBytes() {
      java.lang.Object ref = imageUrl_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        imageUrl_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string imageUrl = 9;</code>
     * @param value The imageUrl to set.
     * @return This builder for chaining.
     */
    public Builder setImageUrl(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      imageUrl_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string imageUrl = 9;</code>
     * @return This builder for chaining.
     */
    public Builder clearImageUrl() {
      
      imageUrl_ = getDefaultInstance().getImageUrl();
      onChanged();
      return this;
    }
    /**
     * <code>string imageUrl = 9;</code>
     * @param value The bytes for imageUrl to set.
     * @return This builder for chaining.
     */
    public Builder setImageUrlBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      imageUrl_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object departmentCode_ = "";
    /**
     * <code>string departmentCode = 10;</code>
     * @return The departmentCode.
     */
    public java.lang.String getDepartmentCode() {
      java.lang.Object ref = departmentCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        departmentCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string departmentCode = 10;</code>
     * @return The bytes for departmentCode.
     */
    public com.google.protobuf.ByteString
        getDepartmentCodeBytes() {
      java.lang.Object ref = departmentCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        departmentCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string departmentCode = 10;</code>
     * @param value The departmentCode to set.
     * @return This builder for chaining.
     */
    public Builder setDepartmentCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      departmentCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string departmentCode = 10;</code>
     * @return This builder for chaining.
     */
    public Builder clearDepartmentCode() {
      
      departmentCode_ = getDefaultInstance().getDepartmentCode();
      onChanged();
      return this;
    }
    /**
     * <code>string departmentCode = 10;</code>
     * @param value The bytes for departmentCode to set.
     * @return This builder for chaining.
     */
    public Builder setDepartmentCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      departmentCode_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object firstLetter_ = "";
    /**
     * <code>string firstLetter = 11;</code>
     * @return The firstLetter.
     */
    public java.lang.String getFirstLetter() {
      java.lang.Object ref = firstLetter_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        firstLetter_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string firstLetter = 11;</code>
     * @return The bytes for firstLetter.
     */
    public com.google.protobuf.ByteString
        getFirstLetterBytes() {
      java.lang.Object ref = firstLetter_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        firstLetter_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string firstLetter = 11;</code>
     * @param value The firstLetter to set.
     * @return This builder for chaining.
     */
    public Builder setFirstLetter(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      firstLetter_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string firstLetter = 11;</code>
     * @return This builder for chaining.
     */
    public Builder clearFirstLetter() {
      
      firstLetter_ = getDefaultInstance().getFirstLetter();
      onChanged();
      return this;
    }
    /**
     * <code>string firstLetter = 11;</code>
     * @param value The bytes for firstLetter to set.
     * @return This builder for chaining.
     */
    public Builder setFirstLetterBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      firstLetter_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object letters_ = "";
    /**
     * <code>string letters = 12;</code>
     * @return The letters.
     */
    public java.lang.String getLetters() {
      java.lang.Object ref = letters_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        letters_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string letters = 12;</code>
     * @return The bytes for letters.
     */
    public com.google.protobuf.ByteString
        getLettersBytes() {
      java.lang.Object ref = letters_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        letters_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string letters = 12;</code>
     * @param value The letters to set.
     * @return This builder for chaining.
     */
    public Builder setLetters(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      letters_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string letters = 12;</code>
     * @return This builder for chaining.
     */
    public Builder clearLetters() {
      
      letters_ = getDefaultInstance().getLetters();
      onChanged();
      return this;
    }
    /**
     * <code>string letters = 12;</code>
     * @param value The bytes for letters to set.
     * @return This builder for chaining.
     */
    public Builder setLettersBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      letters_ = value;
      onChanged();
      return this;
    }
    @java.lang.Override
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

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


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

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

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

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

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

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

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

}

