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

package com.ywt.gapi.third.taihe;

/**
 * <pre>
 *医生
 * </pre>
 *
 * Protobuf type {@code com.ywt.gapi.third.taihe.Doctor}
 */
public  final class Doctor extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.third.taihe.Doctor)
    DoctorOrBuilder {
  // Use Doctor.newBuilder() to construct.
  private Doctor(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private Doctor() {
    doctorCode_ = "";
    doctorName_ = "";
    doctorTitle_ = "";
    doctorSpeciality_ = "";
    doctorIntro_ = "";
    doctorDept_ = "";
    doctorDeptCode_ = "";
    doctorJobNum_ = "";
  }

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

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

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

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

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

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

            doctorJobNum_ = 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.third.taihe.Taihe.internal_static_com_ywt_gapi_third_taihe_Doctor_descriptor;
  }

  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.ywt.gapi.third.taihe.Taihe.internal_static_com_ywt_gapi_third_taihe_Doctor_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.ywt.gapi.third.taihe.Doctor.class, com.ywt.gapi.third.taihe.Doctor.Builder.class);
  }

  public static final int DOCTORCODE_FIELD_NUMBER = 1;
  private volatile java.lang.Object doctorCode_;
  /**
   * <pre>
   *医生代码
   * </pre>
   *
   * <code>string doctorCode = 1;</code>
   */
  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;
    }
  }
  /**
   * <pre>
   *医生代码
   * </pre>
   *
   * <code>string doctorCode = 1;</code>
   */
  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_;
  /**
   * <pre>
   *医生名称
   * </pre>
   *
   * <code>string doctorName = 2;</code>
   */
  public java.lang.String getDoctorName() {
    java.lang.Object ref = doctorName_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      doctorName_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *医生名称
   * </pre>
   *
   * <code>string doctorName = 2;</code>
   */
  public com.google.protobuf.ByteString
      getDoctorNameBytes() {
    java.lang.Object ref = doctorName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      doctorName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DOCTORTITLE_FIELD_NUMBER = 3;
  private volatile java.lang.Object doctorTitle_;
  /**
   * <pre>
   *医生职称
   * </pre>
   *
   * <code>string doctorTitle = 3;</code>
   */
  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;
    }
  }
  /**
   * <pre>
   *医生职称
   * </pre>
   *
   * <code>string doctorTitle = 3;</code>
   */
  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 DOCTORSPECIALITY_FIELD_NUMBER = 4;
  private volatile java.lang.Object doctorSpeciality_;
  /**
   * <pre>
   *医生擅长
   * </pre>
   *
   * <code>string doctorSpeciality = 4;</code>
   */
  public java.lang.String getDoctorSpeciality() {
    java.lang.Object ref = doctorSpeciality_;
    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();
      doctorSpeciality_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *医生擅长
   * </pre>
   *
   * <code>string doctorSpeciality = 4;</code>
   */
  public com.google.protobuf.ByteString
      getDoctorSpecialityBytes() {
    java.lang.Object ref = doctorSpeciality_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      doctorSpeciality_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DOCTORINTRO_FIELD_NUMBER = 5;
  private volatile java.lang.Object doctorIntro_;
  /**
   * <pre>
   *医生简介
   * </pre>
   *
   * <code>string doctorIntro = 5;</code>
   */
  public java.lang.String getDoctorIntro() {
    java.lang.Object ref = doctorIntro_;
    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();
      doctorIntro_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *医生简介
   * </pre>
   *
   * <code>string doctorIntro = 5;</code>
   */
  public com.google.protobuf.ByteString
      getDoctorIntroBytes() {
    java.lang.Object ref = doctorIntro_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      doctorIntro_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DOCTORDEPT_FIELD_NUMBER = 6;
  private volatile java.lang.Object doctorDept_;
  /**
   * <pre>
   *医生科室
   * </pre>
   *
   * <code>string doctorDept = 6;</code>
   */
  public java.lang.String getDoctorDept() {
    java.lang.Object ref = doctorDept_;
    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();
      doctorDept_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *医生科室
   * </pre>
   *
   * <code>string doctorDept = 6;</code>
   */
  public com.google.protobuf.ByteString
      getDoctorDeptBytes() {
    java.lang.Object ref = doctorDept_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      doctorDept_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DOCTORDEPTCODE_FIELD_NUMBER = 7;
  private volatile java.lang.Object doctorDeptCode_;
  /**
   * <pre>
   *医生科室代码 
   * </pre>
   *
   * <code>string doctorDeptCode = 7;</code>
   */
  public java.lang.String getDoctorDeptCode() {
    java.lang.Object ref = doctorDeptCode_;
    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();
      doctorDeptCode_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *医生科室代码 
   * </pre>
   *
   * <code>string doctorDeptCode = 7;</code>
   */
  public com.google.protobuf.ByteString
      getDoctorDeptCodeBytes() {
    java.lang.Object ref = doctorDeptCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      doctorDeptCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DOCTORJOBNUM_FIELD_NUMBER = 8;
  private volatile java.lang.Object doctorJobNum_;
  /**
   * <pre>
   *医生工号
   * </pre>
   *
   * <code>string doctorJobNum = 8;</code>
   */
  public java.lang.String getDoctorJobNum() {
    java.lang.Object ref = doctorJobNum_;
    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();
      doctorJobNum_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *医生工号
   * </pre>
   *
   * <code>string doctorJobNum = 8;</code>
   */
  public com.google.protobuf.ByteString
      getDoctorJobNumBytes() {
    java.lang.Object ref = doctorJobNum_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      doctorJobNum_ = 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 (!getDoctorCodeBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, doctorCode_);
    }
    if (!getDoctorNameBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, doctorName_);
    }
    if (!getDoctorTitleBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, doctorTitle_);
    }
    if (!getDoctorSpecialityBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, doctorSpeciality_);
    }
    if (!getDoctorIntroBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, doctorIntro_);
    }
    if (!getDoctorDeptBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, doctorDept_);
    }
    if (!getDoctorDeptCodeBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, doctorDeptCode_);
    }
    if (!getDoctorJobNumBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, doctorJobNum_);
    }
  }

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

    size = 0;
    if (!getDoctorCodeBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, doctorCode_);
    }
    if (!getDoctorNameBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, doctorName_);
    }
    if (!getDoctorTitleBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, doctorTitle_);
    }
    if (!getDoctorSpecialityBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, doctorSpeciality_);
    }
    if (!getDoctorIntroBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, doctorIntro_);
    }
    if (!getDoctorDeptBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, doctorDept_);
    }
    if (!getDoctorDeptCodeBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, doctorDeptCode_);
    }
    if (!getDoctorJobNumBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, doctorJobNum_);
    }
    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.third.taihe.Doctor)) {
      return super.equals(obj);
    }
    com.ywt.gapi.third.taihe.Doctor other = (com.ywt.gapi.third.taihe.Doctor) obj;

    boolean result = true;
    result = result && getDoctorCode()
        .equals(other.getDoctorCode());
    result = result && getDoctorName()
        .equals(other.getDoctorName());
    result = result && getDoctorTitle()
        .equals(other.getDoctorTitle());
    result = result && getDoctorSpeciality()
        .equals(other.getDoctorSpeciality());
    result = result && getDoctorIntro()
        .equals(other.getDoctorIntro());
    result = result && getDoctorDept()
        .equals(other.getDoctorDept());
    result = result && getDoctorDeptCode()
        .equals(other.getDoctorDeptCode());
    result = result && getDoctorJobNum()
        .equals(other.getDoctorJobNum());
    return result;
  }

  @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) + DOCTORTITLE_FIELD_NUMBER;
    hash = (53 * hash) + getDoctorTitle().hashCode();
    hash = (37 * hash) + DOCTORSPECIALITY_FIELD_NUMBER;
    hash = (53 * hash) + getDoctorSpeciality().hashCode();
    hash = (37 * hash) + DOCTORINTRO_FIELD_NUMBER;
    hash = (53 * hash) + getDoctorIntro().hashCode();
    hash = (37 * hash) + DOCTORDEPT_FIELD_NUMBER;
    hash = (53 * hash) + getDoctorDept().hashCode();
    hash = (37 * hash) + DOCTORDEPTCODE_FIELD_NUMBER;
    hash = (53 * hash) + getDoctorDeptCode().hashCode();
    hash = (37 * hash) + DOCTORJOBNUM_FIELD_NUMBER;
    hash = (53 * hash) + getDoctorJobNum().hashCode();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.ywt.gapi.third.taihe.Doctor parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.third.taihe.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.third.taihe.Doctor parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.third.taihe.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.third.taihe.Doctor parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.third.taihe.Doctor parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.ywt.gapi.third.taihe.Doctor parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.third.taihe.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.third.taihe.Doctor parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.third.taihe.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.third.taihe.Doctor parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.third.taihe.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);
  }

  public Builder newBuilderForType() { return newBuilder(); }
  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }
  public static Builder newBuilder(com.ywt.gapi.third.taihe.Doctor 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.third.taihe.Doctor}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:com.ywt.gapi.third.taihe.Doctor)
      com.ywt.gapi.third.taihe.DoctorOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.ywt.gapi.third.taihe.Taihe.internal_static_com_ywt_gapi_third_taihe_Doctor_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.ywt.gapi.third.taihe.Taihe.internal_static_com_ywt_gapi_third_taihe_Doctor_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.ywt.gapi.third.taihe.Doctor.class, com.ywt.gapi.third.taihe.Doctor.Builder.class);
    }

    // Construct using com.ywt.gapi.third.taihe.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) {
      }
    }
    public Builder clear() {
      super.clear();
      doctorCode_ = "";

      doctorName_ = "";

      doctorTitle_ = "";

      doctorSpeciality_ = "";

      doctorIntro_ = "";

      doctorDept_ = "";

      doctorDeptCode_ = "";

      doctorJobNum_ = "";

      return this;
    }

    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.ywt.gapi.third.taihe.Taihe.internal_static_com_ywt_gapi_third_taihe_Doctor_descriptor;
    }

    public com.ywt.gapi.third.taihe.Doctor getDefaultInstanceForType() {
      return com.ywt.gapi.third.taihe.Doctor.getDefaultInstance();
    }

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

    public com.ywt.gapi.third.taihe.Doctor buildPartial() {
      com.ywt.gapi.third.taihe.Doctor result = new com.ywt.gapi.third.taihe.Doctor(this);
      result.doctorCode_ = doctorCode_;
      result.doctorName_ = doctorName_;
      result.doctorTitle_ = doctorTitle_;
      result.doctorSpeciality_ = doctorSpeciality_;
      result.doctorIntro_ = doctorIntro_;
      result.doctorDept_ = doctorDept_;
      result.doctorDeptCode_ = doctorDeptCode_;
      result.doctorJobNum_ = doctorJobNum_;
      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.third.taihe.Doctor) {
        return mergeFrom((com.ywt.gapi.third.taihe.Doctor)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.ywt.gapi.third.taihe.Doctor other) {
      if (other == com.ywt.gapi.third.taihe.Doctor.getDefaultInstance()) return this;
      if (!other.getDoctorCode().isEmpty()) {
        doctorCode_ = other.doctorCode_;
        onChanged();
      }
      if (!other.getDoctorName().isEmpty()) {
        doctorName_ = other.doctorName_;
        onChanged();
      }
      if (!other.getDoctorTitle().isEmpty()) {
        doctorTitle_ = other.doctorTitle_;
        onChanged();
      }
      if (!other.getDoctorSpeciality().isEmpty()) {
        doctorSpeciality_ = other.doctorSpeciality_;
        onChanged();
      }
      if (!other.getDoctorIntro().isEmpty()) {
        doctorIntro_ = other.doctorIntro_;
        onChanged();
      }
      if (!other.getDoctorDept().isEmpty()) {
        doctorDept_ = other.doctorDept_;
        onChanged();
      }
      if (!other.getDoctorDeptCode().isEmpty()) {
        doctorDeptCode_ = other.doctorDeptCode_;
        onChanged();
      }
      if (!other.getDoctorJobNum().isEmpty()) {
        doctorJobNum_ = other.doctorJobNum_;
        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.third.taihe.Doctor parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.ywt.gapi.third.taihe.Doctor) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private java.lang.Object doctorCode_ = "";
    /**
     * <pre>
     *医生代码
     * </pre>
     *
     * <code>string doctorCode = 1;</code>
     */
    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;
      }
    }
    /**
     * <pre>
     *医生代码
     * </pre>
     *
     * <code>string doctorCode = 1;</code>
     */
    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;
      }
    }
    /**
     * <pre>
     *医生代码
     * </pre>
     *
     * <code>string doctorCode = 1;</code>
     */
    public Builder setDoctorCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      doctorCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医生代码
     * </pre>
     *
     * <code>string doctorCode = 1;</code>
     */
    public Builder clearDoctorCode() {
      
      doctorCode_ = getDefaultInstance().getDoctorCode();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医生代码
     * </pre>
     *
     * <code>string doctorCode = 1;</code>
     */
    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_ = "";
    /**
     * <pre>
     *医生名称
     * </pre>
     *
     * <code>string doctorName = 2;</code>
     */
    public java.lang.String getDoctorName() {
      java.lang.Object ref = doctorName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        doctorName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *医生名称
     * </pre>
     *
     * <code>string doctorName = 2;</code>
     */
    public com.google.protobuf.ByteString
        getDoctorNameBytes() {
      java.lang.Object ref = doctorName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        doctorName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *医生名称
     * </pre>
     *
     * <code>string doctorName = 2;</code>
     */
    public Builder setDoctorName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      doctorName_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医生名称
     * </pre>
     *
     * <code>string doctorName = 2;</code>
     */
    public Builder clearDoctorName() {
      
      doctorName_ = getDefaultInstance().getDoctorName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医生名称
     * </pre>
     *
     * <code>string doctorName = 2;</code>
     */
    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 doctorTitle_ = "";
    /**
     * <pre>
     *医生职称
     * </pre>
     *
     * <code>string doctorTitle = 3;</code>
     */
    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;
      }
    }
    /**
     * <pre>
     *医生职称
     * </pre>
     *
     * <code>string doctorTitle = 3;</code>
     */
    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;
      }
    }
    /**
     * <pre>
     *医生职称
     * </pre>
     *
     * <code>string doctorTitle = 3;</code>
     */
    public Builder setDoctorTitle(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      doctorTitle_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医生职称
     * </pre>
     *
     * <code>string doctorTitle = 3;</code>
     */
    public Builder clearDoctorTitle() {
      
      doctorTitle_ = getDefaultInstance().getDoctorTitle();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医生职称
     * </pre>
     *
     * <code>string doctorTitle = 3;</code>
     */
    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 doctorSpeciality_ = "";
    /**
     * <pre>
     *医生擅长
     * </pre>
     *
     * <code>string doctorSpeciality = 4;</code>
     */
    public java.lang.String getDoctorSpeciality() {
      java.lang.Object ref = doctorSpeciality_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        doctorSpeciality_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *医生擅长
     * </pre>
     *
     * <code>string doctorSpeciality = 4;</code>
     */
    public com.google.protobuf.ByteString
        getDoctorSpecialityBytes() {
      java.lang.Object ref = doctorSpeciality_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        doctorSpeciality_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *医生擅长
     * </pre>
     *
     * <code>string doctorSpeciality = 4;</code>
     */
    public Builder setDoctorSpeciality(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      doctorSpeciality_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医生擅长
     * </pre>
     *
     * <code>string doctorSpeciality = 4;</code>
     */
    public Builder clearDoctorSpeciality() {
      
      doctorSpeciality_ = getDefaultInstance().getDoctorSpeciality();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医生擅长
     * </pre>
     *
     * <code>string doctorSpeciality = 4;</code>
     */
    public Builder setDoctorSpecialityBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      doctorSpeciality_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object doctorIntro_ = "";
    /**
     * <pre>
     *医生简介
     * </pre>
     *
     * <code>string doctorIntro = 5;</code>
     */
    public java.lang.String getDoctorIntro() {
      java.lang.Object ref = doctorIntro_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        doctorIntro_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *医生简介
     * </pre>
     *
     * <code>string doctorIntro = 5;</code>
     */
    public com.google.protobuf.ByteString
        getDoctorIntroBytes() {
      java.lang.Object ref = doctorIntro_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        doctorIntro_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *医生简介
     * </pre>
     *
     * <code>string doctorIntro = 5;</code>
     */
    public Builder setDoctorIntro(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      doctorIntro_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医生简介
     * </pre>
     *
     * <code>string doctorIntro = 5;</code>
     */
    public Builder clearDoctorIntro() {
      
      doctorIntro_ = getDefaultInstance().getDoctorIntro();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医生简介
     * </pre>
     *
     * <code>string doctorIntro = 5;</code>
     */
    public Builder setDoctorIntroBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      doctorIntro_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object doctorDept_ = "";
    /**
     * <pre>
     *医生科室
     * </pre>
     *
     * <code>string doctorDept = 6;</code>
     */
    public java.lang.String getDoctorDept() {
      java.lang.Object ref = doctorDept_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        doctorDept_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *医生科室
     * </pre>
     *
     * <code>string doctorDept = 6;</code>
     */
    public com.google.protobuf.ByteString
        getDoctorDeptBytes() {
      java.lang.Object ref = doctorDept_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        doctorDept_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *医生科室
     * </pre>
     *
     * <code>string doctorDept = 6;</code>
     */
    public Builder setDoctorDept(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      doctorDept_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医生科室
     * </pre>
     *
     * <code>string doctorDept = 6;</code>
     */
    public Builder clearDoctorDept() {
      
      doctorDept_ = getDefaultInstance().getDoctorDept();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医生科室
     * </pre>
     *
     * <code>string doctorDept = 6;</code>
     */
    public Builder setDoctorDeptBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      doctorDept_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object doctorDeptCode_ = "";
    /**
     * <pre>
     *医生科室代码 
     * </pre>
     *
     * <code>string doctorDeptCode = 7;</code>
     */
    public java.lang.String getDoctorDeptCode() {
      java.lang.Object ref = doctorDeptCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        doctorDeptCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *医生科室代码 
     * </pre>
     *
     * <code>string doctorDeptCode = 7;</code>
     */
    public com.google.protobuf.ByteString
        getDoctorDeptCodeBytes() {
      java.lang.Object ref = doctorDeptCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        doctorDeptCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *医生科室代码 
     * </pre>
     *
     * <code>string doctorDeptCode = 7;</code>
     */
    public Builder setDoctorDeptCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      doctorDeptCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医生科室代码 
     * </pre>
     *
     * <code>string doctorDeptCode = 7;</code>
     */
    public Builder clearDoctorDeptCode() {
      
      doctorDeptCode_ = getDefaultInstance().getDoctorDeptCode();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医生科室代码 
     * </pre>
     *
     * <code>string doctorDeptCode = 7;</code>
     */
    public Builder setDoctorDeptCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      doctorDeptCode_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object doctorJobNum_ = "";
    /**
     * <pre>
     *医生工号
     * </pre>
     *
     * <code>string doctorJobNum = 8;</code>
     */
    public java.lang.String getDoctorJobNum() {
      java.lang.Object ref = doctorJobNum_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        doctorJobNum_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *医生工号
     * </pre>
     *
     * <code>string doctorJobNum = 8;</code>
     */
    public com.google.protobuf.ByteString
        getDoctorJobNumBytes() {
      java.lang.Object ref = doctorJobNum_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        doctorJobNum_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *医生工号
     * </pre>
     *
     * <code>string doctorJobNum = 8;</code>
     */
    public Builder setDoctorJobNum(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      doctorJobNum_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医生工号
     * </pre>
     *
     * <code>string doctorJobNum = 8;</code>
     */
    public Builder clearDoctorJobNum() {
      
      doctorJobNum_ = getDefaultInstance().getDoctorJobNum();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医生工号
     * </pre>
     *
     * <code>string doctorJobNum = 8;</code>
     */
    public Builder setDoctorJobNumBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      doctorJobNum_ = 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.third.taihe.Doctor)
  }

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

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

  private static final com.google.protobuf.Parser<Doctor>
      PARSER = new com.google.protobuf.AbstractParser<Doctor>() {
    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;
  }

  public com.ywt.gapi.third.taihe.Doctor getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

