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

package com.ywt.gapi.user;

/**
 * <pre>
 *医生信息
 * </pre>
 *
 * Protobuf type {@code com.ywt.gapi.user.Doctor}
 */
public  final class Doctor extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.user.Doctor)
    DoctorOrBuilder {
  // Use Doctor.newBuilder() to construct.
  private Doctor(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private Doctor() {
    userid_ = 0;
    title_ = "";
    specialty_ = "";
    briefintro_ = "";
    createtime_ = 0L;
    updatetime_ = 0L;
  }

  @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 8: {

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

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

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

            briefintro_ = s;
            break;
          }
          case 40: {

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

            updatetime_ = input.readInt64();
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.ywt.gapi.user.DoctorOuterClass.internal_static_com_ywt_gapi_user_Doctor_descriptor;
  }

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

  public static final int USERID_FIELD_NUMBER = 1;
  private int userid_;
  /**
   * <code>int32 userid = 1;</code>
   */
  public int getUserid() {
    return userid_;
  }

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

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

  public static final int BRIEFINTRO_FIELD_NUMBER = 4;
  private volatile java.lang.Object briefintro_;
  /**
   * <code>string briefintro = 4;</code>
   */
  public java.lang.String getBriefintro() {
    java.lang.Object ref = briefintro_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      briefintro_ = s;
      return s;
    }
  }
  /**
   * <code>string briefintro = 4;</code>
   */
  public com.google.protobuf.ByteString
      getBriefintroBytes() {
    java.lang.Object ref = briefintro_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      briefintro_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int CREATETIME_FIELD_NUMBER = 5;
  private long createtime_;
  /**
   * <code>int64 createtime = 5;</code>
   */
  public long getCreatetime() {
    return createtime_;
  }

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

  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 (userid_ != 0) {
      output.writeInt32(1, userid_);
    }
    if (!getTitleBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, title_);
    }
    if (!getSpecialtyBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, specialty_);
    }
    if (!getBriefintroBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, briefintro_);
    }
    if (createtime_ != 0L) {
      output.writeInt64(5, createtime_);
    }
    if (updatetime_ != 0L) {
      output.writeInt64(6, updatetime_);
    }
  }

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

    size = 0;
    if (userid_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(1, userid_);
    }
    if (!getTitleBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, title_);
    }
    if (!getSpecialtyBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, specialty_);
    }
    if (!getBriefintroBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, briefintro_);
    }
    if (createtime_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt64Size(5, createtime_);
    }
    if (updatetime_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt64Size(6, updatetime_);
    }
    memoizedSize = size;
    return size;
  }

  private static final long serialVersionUID = 0L;
  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof com.ywt.gapi.user.Doctor)) {
      return super.equals(obj);
    }
    com.ywt.gapi.user.Doctor other = (com.ywt.gapi.user.Doctor) obj;

    boolean result = true;
    result = result && (getUserid()
        == other.getUserid());
    result = result && getTitle()
        .equals(other.getTitle());
    result = result && getSpecialty()
        .equals(other.getSpecialty());
    result = result && getBriefintro()
        .equals(other.getBriefintro());
    result = result && (getCreatetime()
        == other.getCreatetime());
    result = result && (getUpdatetime()
        == other.getUpdatetime());
    return result;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + USERID_FIELD_NUMBER;
    hash = (53 * hash) + getUserid();
    hash = (37 * hash) + TITLE_FIELD_NUMBER;
    hash = (53 * hash) + getTitle().hashCode();
    hash = (37 * hash) + SPECIALTY_FIELD_NUMBER;
    hash = (53 * hash) + getSpecialty().hashCode();
    hash = (37 * hash) + BRIEFINTRO_FIELD_NUMBER;
    hash = (53 * hash) + getBriefintro().hashCode();
    hash = (37 * hash) + CREATETIME_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getCreatetime());
    hash = (37 * hash) + UPDATETIME_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getUpdatetime());
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

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

      title_ = "";

      specialty_ = "";

      briefintro_ = "";

      createtime_ = 0L;

      updatetime_ = 0L;

      return this;
    }

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

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

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

    public com.ywt.gapi.user.Doctor buildPartial() {
      com.ywt.gapi.user.Doctor result = new com.ywt.gapi.user.Doctor(this);
      result.userid_ = userid_;
      result.title_ = title_;
      result.specialty_ = specialty_;
      result.briefintro_ = briefintro_;
      result.createtime_ = createtime_;
      result.updatetime_ = updatetime_;
      onBuilt();
      return result;
    }

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

    public Builder mergeFrom(com.ywt.gapi.user.Doctor other) {
      if (other == com.ywt.gapi.user.Doctor.getDefaultInstance()) return this;
      if (other.getUserid() != 0) {
        setUserid(other.getUserid());
      }
      if (!other.getTitle().isEmpty()) {
        title_ = other.title_;
        onChanged();
      }
      if (!other.getSpecialty().isEmpty()) {
        specialty_ = other.specialty_;
        onChanged();
      }
      if (!other.getBriefintro().isEmpty()) {
        briefintro_ = other.briefintro_;
        onChanged();
      }
      if (other.getCreatetime() != 0L) {
        setCreatetime(other.getCreatetime());
      }
      if (other.getUpdatetime() != 0L) {
        setUpdatetime(other.getUpdatetime());
      }
      onChanged();
      return this;
    }

    public final boolean isInitialized() {
      return true;
    }

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

    private int userid_ ;
    /**
     * <code>int32 userid = 1;</code>
     */
    public int getUserid() {
      return userid_;
    }
    /**
     * <code>int32 userid = 1;</code>
     */
    public Builder setUserid(int value) {
      
      userid_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 userid = 1;</code>
     */
    public Builder clearUserid() {
      
      userid_ = 0;
      onChanged();
      return this;
    }

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

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

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

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

    private long updatetime_ ;
    /**
     * <code>int64 updatetime = 6;</code>
     */
    public long getUpdatetime() {
      return updatetime_;
    }
    /**
     * <code>int64 updatetime = 6;</code>
     */
    public Builder setUpdatetime(long value) {
      
      updatetime_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int64 updatetime = 6;</code>
     */
    public Builder clearUpdatetime() {
      
      updatetime_ = 0L;
      onChanged();
      return this;
    }
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return this;
    }

    public final Builder mergeUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return this;
    }


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

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

  public static com.ywt.gapi.user.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.user.Doctor getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

