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

package com.ywt.gapi.taihe.register;

/**
 * <pre>
 *无诊疗卡挂号请求
 * </pre>
 *
 * Protobuf type {@code com.ywt.gapi.taihe.register.RegisterWithoutMedicalCardRequest}
 */
public final class RegisterWithoutMedicalCardRequest extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.taihe.register.RegisterWithoutMedicalCardRequest)
    RegisterWithoutMedicalCardRequestOrBuilder {
private static final long serialVersionUID = 0L;
  // Use RegisterWithoutMedicalCardRequest.newBuilder() to construct.
  private RegisterWithoutMedicalCardRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private RegisterWithoutMedicalCardRequest() {
    deptCode_ = "";
    deptName_ = "";
    doctorCode_ = "";
    doctorName_ = "";
    startTime_ = "";
    endTime_ = "";
    scheduleItemCode_ = "";
    idType_ = "";
    idNo_ = "";
    patientName_ = "";
    patientMobile_ = "";
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private RegisterWithoutMedicalCardRequest(
      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 8: {

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

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

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

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

            doctorName_ = s;
            break;
          }
          case 48: {

            total_ = input.readInt32();
            break;
          }
          case 56: {

            registeredFee_ = input.readInt32();
            break;
          }
          case 64: {

            medicalFee_ = input.readInt32();
            break;
          }
          case 72: {

            registeredDate_ = input.readInt64();
            break;
          }
          case 80: {

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

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

            endTime_ = s;
            break;
          }
          case 104: {

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

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

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

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

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

            patientMobile_ = s;
            break;
          }
          case 152: {

            patientSex_ = input.readInt32();
            break;
          }
          case 160: {

            birthday_ = input.readInt64();
            break;
          }
          case 168: {

            hospitalId_ = input.readInt32();
            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.taihe.register.TaiheRegisterProto.internal_static_com_ywt_gapi_taihe_register_RegisterWithoutMedicalCardRequest_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.ywt.gapi.taihe.register.TaiheRegisterProto.internal_static_com_ywt_gapi_taihe_register_RegisterWithoutMedicalCardRequest_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.ywt.gapi.taihe.register.RegisterWithoutMedicalCardRequest.class, com.ywt.gapi.taihe.register.RegisterWithoutMedicalCardRequest.Builder.class);
  }

  public static final int DEPTID_FIELD_NUMBER = 1;
  private int deptId_;
  /**
   * <pre>
   *科室ID
   * </pre>
   *
   * <code>int32 deptId = 1;</code>
   * @return The deptId.
   */
  @java.lang.Override
  public int getDeptId() {
    return deptId_;
  }

  public static final int DEPTCODE_FIELD_NUMBER = 2;
  private volatile java.lang.Object deptCode_;
  /**
   * <pre>
   *科室Code
   * </pre>
   *
   * <code>string deptCode = 2;</code>
   * @return The deptCode.
   */
  @java.lang.Override
  public java.lang.String getDeptCode() {
    java.lang.Object ref = deptCode_;
    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();
      deptCode_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *科室Code
   * </pre>
   *
   * <code>string deptCode = 2;</code>
   * @return The bytes for deptCode.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDeptCodeBytes() {
    java.lang.Object ref = deptCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      deptCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DEPTNAME_FIELD_NUMBER = 3;
  private volatile java.lang.Object deptName_;
  /**
   * <pre>
   *科室名称
   * </pre>
   *
   * <code>string deptName = 3;</code>
   * @return The deptName.
   */
  @java.lang.Override
  public java.lang.String getDeptName() {
    java.lang.Object ref = deptName_;
    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();
      deptName_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *科室名称
   * </pre>
   *
   * <code>string deptName = 3;</code>
   * @return The bytes for deptName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDeptNameBytes() {
    java.lang.Object ref = deptName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      deptName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DOCTORCODE_FIELD_NUMBER = 4;
  private volatile java.lang.Object doctorCode_;
  /**
   * <pre>
   *医生Code
   * </pre>
   *
   * <code>string doctorCode = 4;</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;
    }
  }
  /**
   * <pre>
   *医生Code
   * </pre>
   *
   * <code>string doctorCode = 4;</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 = 5;
  private volatile java.lang.Object doctorName_;
  /**
   * <pre>
   *医生名称
   * </pre>
   *
   * <code>string doctorName = 5;</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;
    }
  }
  /**
   * <pre>
   *医生名称
   * </pre>
   *
   * <code>string doctorName = 5;</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 TOTAL_FIELD_NUMBER = 6;
  private int total_;
  /**
   * <pre>
   *预约挂号总费用
   * </pre>
   *
   * <code>int32 total = 6;</code>
   * @return The total.
   */
  @java.lang.Override
  public int getTotal() {
    return total_;
  }

  public static final int REGISTEREDFEE_FIELD_NUMBER = 7;
  private int registeredFee_;
  /**
   * <pre>
   *挂号费
   * </pre>
   *
   * <code>int32 registeredFee = 7;</code>
   * @return The registeredFee.
   */
  @java.lang.Override
  public int getRegisteredFee() {
    return registeredFee_;
  }

  public static final int MEDICALFEE_FIELD_NUMBER = 8;
  private int medicalFee_;
  /**
   * <pre>
   *诊查费
   * </pre>
   *
   * <code>int32 medicalFee = 8;</code>
   * @return The medicalFee.
   */
  @java.lang.Override
  public int getMedicalFee() {
    return medicalFee_;
  }

  public static final int REGISTEREDDATE_FIELD_NUMBER = 9;
  private long registeredDate_;
  /**
   * <pre>
   *预约日期
   * </pre>
   *
   * <code>int64 registeredDate = 9;</code>
   * @return The registeredDate.
   */
  @java.lang.Override
  public long getRegisteredDate() {
    return registeredDate_;
  }

  public static final int PERIOD_FIELD_NUMBER = 10;
  private int period_;
  /**
   * <pre>
   *预约时间段
   * </pre>
   *
   * <code>int32 period = 10;</code>
   * @return The period.
   */
  @java.lang.Override
  public int getPeriod() {
    return period_;
  }

  public static final int STARTTIME_FIELD_NUMBER = 11;
  private volatile java.lang.Object startTime_;
  /**
   * <pre>
   *预约开始时间：HH:MI
   * </pre>
   *
   * <code>string startTime = 11;</code>
   * @return The startTime.
   */
  @java.lang.Override
  public java.lang.String getStartTime() {
    java.lang.Object ref = startTime_;
    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();
      startTime_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *预约开始时间：HH:MI
   * </pre>
   *
   * <code>string startTime = 11;</code>
   * @return The bytes for startTime.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getStartTimeBytes() {
    java.lang.Object ref = startTime_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      startTime_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ENDTIME_FIELD_NUMBER = 12;
  private volatile java.lang.Object endTime_;
  /**
   * <pre>
   *预约结束时间：HH:MI
   * </pre>
   *
   * <code>string endTime = 12;</code>
   * @return The endTime.
   */
  @java.lang.Override
  public java.lang.String getEndTime() {
    java.lang.Object ref = endTime_;
    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();
      endTime_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *预约结束时间：HH:MI
   * </pre>
   *
   * <code>string endTime = 12;</code>
   * @return The bytes for endTime.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getEndTimeBytes() {
    java.lang.Object ref = endTime_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      endTime_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int USERID_FIELD_NUMBER = 13;
  private int userId_;
  /**
   * <pre>
   *用户ID
   * </pre>
   *
   * <code>int32 userId = 13;</code>
   * @return The userId.
   */
  @java.lang.Override
  public int getUserId() {
    return userId_;
  }

  public static final int SCHEDULEITEMCODE_FIELD_NUMBER = 14;
  private volatile java.lang.Object scheduleItemCode_;
  /**
   * <pre>
   *门诊排班项记录标识
   * </pre>
   *
   * <code>string scheduleItemCode = 14;</code>
   * @return The scheduleItemCode.
   */
  @java.lang.Override
  public java.lang.String getScheduleItemCode() {
    java.lang.Object ref = scheduleItemCode_;
    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();
      scheduleItemCode_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *门诊排班项记录标识
   * </pre>
   *
   * <code>string scheduleItemCode = 14;</code>
   * @return The bytes for scheduleItemCode.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getScheduleItemCodeBytes() {
    java.lang.Object ref = scheduleItemCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      scheduleItemCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int IDTYPE_FIELD_NUMBER = 15;
  private volatile java.lang.Object idType_;
  /**
   * <pre>
   *证件类型
   * </pre>
   *
   * <code>string idType = 15;</code>
   * @return The idType.
   */
  @java.lang.Override
  public java.lang.String getIdType() {
    java.lang.Object ref = idType_;
    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();
      idType_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *证件类型
   * </pre>
   *
   * <code>string idType = 15;</code>
   * @return The bytes for idType.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getIdTypeBytes() {
    java.lang.Object ref = idType_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      idType_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int IDNO_FIELD_NUMBER = 16;
  private volatile java.lang.Object idNo_;
  /**
   * <pre>
   *证件号码
   * </pre>
   *
   * <code>string idNo = 16;</code>
   * @return The idNo.
   */
  @java.lang.Override
  public java.lang.String getIdNo() {
    java.lang.Object ref = idNo_;
    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();
      idNo_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *证件号码
   * </pre>
   *
   * <code>string idNo = 16;</code>
   * @return The bytes for idNo.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getIdNoBytes() {
    java.lang.Object ref = idNo_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      idNo_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PATIENTNAME_FIELD_NUMBER = 17;
  private volatile java.lang.Object patientName_;
  /**
   * <pre>
   *患者姓名
   * </pre>
   *
   * <code>string patientName = 17;</code>
   * @return The patientName.
   */
  @java.lang.Override
  public java.lang.String getPatientName() {
    java.lang.Object ref = patientName_;
    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();
      patientName_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *患者姓名
   * </pre>
   *
   * <code>string patientName = 17;</code>
   * @return The bytes for patientName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getPatientNameBytes() {
    java.lang.Object ref = patientName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      patientName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PATIENTMOBILE_FIELD_NUMBER = 18;
  private volatile java.lang.Object patientMobile_;
  /**
   * <pre>
   *患者手机号
   * </pre>
   *
   * <code>string patientMobile = 18;</code>
   * @return The patientMobile.
   */
  @java.lang.Override
  public java.lang.String getPatientMobile() {
    java.lang.Object ref = patientMobile_;
    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();
      patientMobile_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *患者手机号
   * </pre>
   *
   * <code>string patientMobile = 18;</code>
   * @return The bytes for patientMobile.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getPatientMobileBytes() {
    java.lang.Object ref = patientMobile_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      patientMobile_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PATIENTSEX_FIELD_NUMBER = 19;
  private int patientSex_;
  /**
   * <pre>
   *患者性别
   * </pre>
   *
   * <code>int32 patientSex = 19;</code>
   * @return The patientSex.
   */
  @java.lang.Override
  public int getPatientSex() {
    return patientSex_;
  }

  public static final int BIRTHDAY_FIELD_NUMBER = 20;
  private long birthday_;
  /**
   * <pre>
   *患者出生日期
   * </pre>
   *
   * <code>int64 birthday = 20;</code>
   * @return The birthday.
   */
  @java.lang.Override
  public long getBirthday() {
    return birthday_;
  }

  public static final int HOSPITALID_FIELD_NUMBER = 21;
  private int hospitalId_;
  /**
   * <code>int32 hospitalId = 21;</code>
   * @return The hospitalId.
   */
  @java.lang.Override
  public int getHospitalId() {
    return hospitalId_;
  }

  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 (deptId_ != 0) {
      output.writeInt32(1, deptId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deptCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, deptCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deptName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, deptName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctorCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, doctorCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctorName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, doctorName_);
    }
    if (total_ != 0) {
      output.writeInt32(6, total_);
    }
    if (registeredFee_ != 0) {
      output.writeInt32(7, registeredFee_);
    }
    if (medicalFee_ != 0) {
      output.writeInt32(8, medicalFee_);
    }
    if (registeredDate_ != 0L) {
      output.writeInt64(9, registeredDate_);
    }
    if (period_ != 0) {
      output.writeInt32(10, period_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(startTime_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 11, startTime_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endTime_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 12, endTime_);
    }
    if (userId_ != 0) {
      output.writeInt32(13, userId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scheduleItemCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 14, scheduleItemCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(idType_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 15, idType_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(idNo_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 16, idNo_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(patientName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 17, patientName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(patientMobile_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 18, patientMobile_);
    }
    if (patientSex_ != 0) {
      output.writeInt32(19, patientSex_);
    }
    if (birthday_ != 0L) {
      output.writeInt64(20, birthday_);
    }
    if (hospitalId_ != 0) {
      output.writeInt32(21, hospitalId_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (deptId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(1, deptId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deptCode_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, deptCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deptName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, deptName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctorCode_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, doctorCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctorName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, doctorName_);
    }
    if (total_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(6, total_);
    }
    if (registeredFee_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(7, registeredFee_);
    }
    if (medicalFee_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(8, medicalFee_);
    }
    if (registeredDate_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt64Size(9, registeredDate_);
    }
    if (period_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(10, period_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(startTime_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, startTime_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endTime_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, endTime_);
    }
    if (userId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(13, userId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scheduleItemCode_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, scheduleItemCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(idType_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, idType_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(idNo_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, idNo_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(patientName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, patientName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(patientMobile_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, patientMobile_);
    }
    if (patientSex_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(19, patientSex_);
    }
    if (birthday_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt64Size(20, birthday_);
    }
    if (hospitalId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(21, hospitalId_);
    }
    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.taihe.register.RegisterWithoutMedicalCardRequest)) {
      return super.equals(obj);
    }
    com.ywt.gapi.taihe.register.RegisterWithoutMedicalCardRequest other = (com.ywt.gapi.taihe.register.RegisterWithoutMedicalCardRequest) obj;

    if (getDeptId()
        != other.getDeptId()) return false;
    if (!getDeptCode()
        .equals(other.getDeptCode())) return false;
    if (!getDeptName()
        .equals(other.getDeptName())) return false;
    if (!getDoctorCode()
        .equals(other.getDoctorCode())) return false;
    if (!getDoctorName()
        .equals(other.getDoctorName())) return false;
    if (getTotal()
        != other.getTotal()) return false;
    if (getRegisteredFee()
        != other.getRegisteredFee()) return false;
    if (getMedicalFee()
        != other.getMedicalFee()) return false;
    if (getRegisteredDate()
        != other.getRegisteredDate()) return false;
    if (getPeriod()
        != other.getPeriod()) return false;
    if (!getStartTime()
        .equals(other.getStartTime())) return false;
    if (!getEndTime()
        .equals(other.getEndTime())) return false;
    if (getUserId()
        != other.getUserId()) return false;
    if (!getScheduleItemCode()
        .equals(other.getScheduleItemCode())) return false;
    if (!getIdType()
        .equals(other.getIdType())) return false;
    if (!getIdNo()
        .equals(other.getIdNo())) return false;
    if (!getPatientName()
        .equals(other.getPatientName())) return false;
    if (!getPatientMobile()
        .equals(other.getPatientMobile())) return false;
    if (getPatientSex()
        != other.getPatientSex()) return false;
    if (getBirthday()
        != other.getBirthday()) return false;
    if (getHospitalId()
        != other.getHospitalId()) 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) + DEPTID_FIELD_NUMBER;
    hash = (53 * hash) + getDeptId();
    hash = (37 * hash) + DEPTCODE_FIELD_NUMBER;
    hash = (53 * hash) + getDeptCode().hashCode();
    hash = (37 * hash) + DEPTNAME_FIELD_NUMBER;
    hash = (53 * hash) + getDeptName().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) + TOTAL_FIELD_NUMBER;
    hash = (53 * hash) + getTotal();
    hash = (37 * hash) + REGISTEREDFEE_FIELD_NUMBER;
    hash = (53 * hash) + getRegisteredFee();
    hash = (37 * hash) + MEDICALFEE_FIELD_NUMBER;
    hash = (53 * hash) + getMedicalFee();
    hash = (37 * hash) + REGISTEREDDATE_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getRegisteredDate());
    hash = (37 * hash) + PERIOD_FIELD_NUMBER;
    hash = (53 * hash) + getPeriod();
    hash = (37 * hash) + STARTTIME_FIELD_NUMBER;
    hash = (53 * hash) + getStartTime().hashCode();
    hash = (37 * hash) + ENDTIME_FIELD_NUMBER;
    hash = (53 * hash) + getEndTime().hashCode();
    hash = (37 * hash) + USERID_FIELD_NUMBER;
    hash = (53 * hash) + getUserId();
    hash = (37 * hash) + SCHEDULEITEMCODE_FIELD_NUMBER;
    hash = (53 * hash) + getScheduleItemCode().hashCode();
    hash = (37 * hash) + IDTYPE_FIELD_NUMBER;
    hash = (53 * hash) + getIdType().hashCode();
    hash = (37 * hash) + IDNO_FIELD_NUMBER;
    hash = (53 * hash) + getIdNo().hashCode();
    hash = (37 * hash) + PATIENTNAME_FIELD_NUMBER;
    hash = (53 * hash) + getPatientName().hashCode();
    hash = (37 * hash) + PATIENTMOBILE_FIELD_NUMBER;
    hash = (53 * hash) + getPatientMobile().hashCode();
    hash = (37 * hash) + PATIENTSEX_FIELD_NUMBER;
    hash = (53 * hash) + getPatientSex();
    hash = (37 * hash) + BIRTHDAY_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getBirthday());
    hash = (37 * hash) + HOSPITALID_FIELD_NUMBER;
    hash = (53 * hash) + getHospitalId();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.ywt.gapi.taihe.register.TaiheRegisterProto.internal_static_com_ywt_gapi_taihe_register_RegisterWithoutMedicalCardRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.ywt.gapi.taihe.register.RegisterWithoutMedicalCardRequest.class, com.ywt.gapi.taihe.register.RegisterWithoutMedicalCardRequest.Builder.class);
    }

    // Construct using com.ywt.gapi.taihe.register.RegisterWithoutMedicalCardRequest.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();
      deptId_ = 0;

      deptCode_ = "";

      deptName_ = "";

      doctorCode_ = "";

      doctorName_ = "";

      total_ = 0;

      registeredFee_ = 0;

      medicalFee_ = 0;

      registeredDate_ = 0L;

      period_ = 0;

      startTime_ = "";

      endTime_ = "";

      userId_ = 0;

      scheduleItemCode_ = "";

      idType_ = "";

      idNo_ = "";

      patientName_ = "";

      patientMobile_ = "";

      patientSex_ = 0;

      birthday_ = 0L;

      hospitalId_ = 0;

      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.ywt.gapi.taihe.register.TaiheRegisterProto.internal_static_com_ywt_gapi_taihe_register_RegisterWithoutMedicalCardRequest_descriptor;
    }

    @java.lang.Override
    public com.ywt.gapi.taihe.register.RegisterWithoutMedicalCardRequest getDefaultInstanceForType() {
      return com.ywt.gapi.taihe.register.RegisterWithoutMedicalCardRequest.getDefaultInstance();
    }

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

    @java.lang.Override
    public com.ywt.gapi.taihe.register.RegisterWithoutMedicalCardRequest buildPartial() {
      com.ywt.gapi.taihe.register.RegisterWithoutMedicalCardRequest result = new com.ywt.gapi.taihe.register.RegisterWithoutMedicalCardRequest(this);
      result.deptId_ = deptId_;
      result.deptCode_ = deptCode_;
      result.deptName_ = deptName_;
      result.doctorCode_ = doctorCode_;
      result.doctorName_ = doctorName_;
      result.total_ = total_;
      result.registeredFee_ = registeredFee_;
      result.medicalFee_ = medicalFee_;
      result.registeredDate_ = registeredDate_;
      result.period_ = period_;
      result.startTime_ = startTime_;
      result.endTime_ = endTime_;
      result.userId_ = userId_;
      result.scheduleItemCode_ = scheduleItemCode_;
      result.idType_ = idType_;
      result.idNo_ = idNo_;
      result.patientName_ = patientName_;
      result.patientMobile_ = patientMobile_;
      result.patientSex_ = patientSex_;
      result.birthday_ = birthday_;
      result.hospitalId_ = hospitalId_;
      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.taihe.register.RegisterWithoutMedicalCardRequest) {
        return mergeFrom((com.ywt.gapi.taihe.register.RegisterWithoutMedicalCardRequest)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.ywt.gapi.taihe.register.RegisterWithoutMedicalCardRequest other) {
      if (other == com.ywt.gapi.taihe.register.RegisterWithoutMedicalCardRequest.getDefaultInstance()) return this;
      if (other.getDeptId() != 0) {
        setDeptId(other.getDeptId());
      }
      if (!other.getDeptCode().isEmpty()) {
        deptCode_ = other.deptCode_;
        onChanged();
      }
      if (!other.getDeptName().isEmpty()) {
        deptName_ = other.deptName_;
        onChanged();
      }
      if (!other.getDoctorCode().isEmpty()) {
        doctorCode_ = other.doctorCode_;
        onChanged();
      }
      if (!other.getDoctorName().isEmpty()) {
        doctorName_ = other.doctorName_;
        onChanged();
      }
      if (other.getTotal() != 0) {
        setTotal(other.getTotal());
      }
      if (other.getRegisteredFee() != 0) {
        setRegisteredFee(other.getRegisteredFee());
      }
      if (other.getMedicalFee() != 0) {
        setMedicalFee(other.getMedicalFee());
      }
      if (other.getRegisteredDate() != 0L) {
        setRegisteredDate(other.getRegisteredDate());
      }
      if (other.getPeriod() != 0) {
        setPeriod(other.getPeriod());
      }
      if (!other.getStartTime().isEmpty()) {
        startTime_ = other.startTime_;
        onChanged();
      }
      if (!other.getEndTime().isEmpty()) {
        endTime_ = other.endTime_;
        onChanged();
      }
      if (other.getUserId() != 0) {
        setUserId(other.getUserId());
      }
      if (!other.getScheduleItemCode().isEmpty()) {
        scheduleItemCode_ = other.scheduleItemCode_;
        onChanged();
      }
      if (!other.getIdType().isEmpty()) {
        idType_ = other.idType_;
        onChanged();
      }
      if (!other.getIdNo().isEmpty()) {
        idNo_ = other.idNo_;
        onChanged();
      }
      if (!other.getPatientName().isEmpty()) {
        patientName_ = other.patientName_;
        onChanged();
      }
      if (!other.getPatientMobile().isEmpty()) {
        patientMobile_ = other.patientMobile_;
        onChanged();
      }
      if (other.getPatientSex() != 0) {
        setPatientSex(other.getPatientSex());
      }
      if (other.getBirthday() != 0L) {
        setBirthday(other.getBirthday());
      }
      if (other.getHospitalId() != 0) {
        setHospitalId(other.getHospitalId());
      }
      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.taihe.register.RegisterWithoutMedicalCardRequest parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.ywt.gapi.taihe.register.RegisterWithoutMedicalCardRequest) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private int deptId_ ;
    /**
     * <pre>
     *科室ID
     * </pre>
     *
     * <code>int32 deptId = 1;</code>
     * @return The deptId.
     */
    @java.lang.Override
    public int getDeptId() {
      return deptId_;
    }
    /**
     * <pre>
     *科室ID
     * </pre>
     *
     * <code>int32 deptId = 1;</code>
     * @param value The deptId to set.
     * @return This builder for chaining.
     */
    public Builder setDeptId(int value) {
      
      deptId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *科室ID
     * </pre>
     *
     * <code>int32 deptId = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearDeptId() {
      
      deptId_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object deptCode_ = "";
    /**
     * <pre>
     *科室Code
     * </pre>
     *
     * <code>string deptCode = 2;</code>
     * @return The deptCode.
     */
    public java.lang.String getDeptCode() {
      java.lang.Object ref = deptCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        deptCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *科室Code
     * </pre>
     *
     * <code>string deptCode = 2;</code>
     * @return The bytes for deptCode.
     */
    public com.google.protobuf.ByteString
        getDeptCodeBytes() {
      java.lang.Object ref = deptCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        deptCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *科室Code
     * </pre>
     *
     * <code>string deptCode = 2;</code>
     * @param value The deptCode to set.
     * @return This builder for chaining.
     */
    public Builder setDeptCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      deptCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *科室Code
     * </pre>
     *
     * <code>string deptCode = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearDeptCode() {
      
      deptCode_ = getDefaultInstance().getDeptCode();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *科室Code
     * </pre>
     *
     * <code>string deptCode = 2;</code>
     * @param value The bytes for deptCode to set.
     * @return This builder for chaining.
     */
    public Builder setDeptCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      deptCode_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object deptName_ = "";
    /**
     * <pre>
     *科室名称
     * </pre>
     *
     * <code>string deptName = 3;</code>
     * @return The deptName.
     */
    public java.lang.String getDeptName() {
      java.lang.Object ref = deptName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        deptName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *科室名称
     * </pre>
     *
     * <code>string deptName = 3;</code>
     * @return The bytes for deptName.
     */
    public com.google.protobuf.ByteString
        getDeptNameBytes() {
      java.lang.Object ref = deptName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        deptName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *科室名称
     * </pre>
     *
     * <code>string deptName = 3;</code>
     * @param value The deptName to set.
     * @return This builder for chaining.
     */
    public Builder setDeptName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      deptName_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *科室名称
     * </pre>
     *
     * <code>string deptName = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearDeptName() {
      
      deptName_ = getDefaultInstance().getDeptName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *科室名称
     * </pre>
     *
     * <code>string deptName = 3;</code>
     * @param value The bytes for deptName to set.
     * @return This builder for chaining.
     */
    public Builder setDeptNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      deptName_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object doctorCode_ = "";
    /**
     * <pre>
     *医生Code
     * </pre>
     *
     * <code>string doctorCode = 4;</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;
      }
    }
    /**
     * <pre>
     *医生Code
     * </pre>
     *
     * <code>string doctorCode = 4;</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;
      }
    }
    /**
     * <pre>
     *医生Code
     * </pre>
     *
     * <code>string doctorCode = 4;</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;
    }
    /**
     * <pre>
     *医生Code
     * </pre>
     *
     * <code>string doctorCode = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearDoctorCode() {
      
      doctorCode_ = getDefaultInstance().getDoctorCode();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医生Code
     * </pre>
     *
     * <code>string doctorCode = 4;</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_ = "";
    /**
     * <pre>
     *医生名称
     * </pre>
     *
     * <code>string doctorName = 5;</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;
      }
    }
    /**
     * <pre>
     *医生名称
     * </pre>
     *
     * <code>string doctorName = 5;</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;
      }
    }
    /**
     * <pre>
     *医生名称
     * </pre>
     *
     * <code>string doctorName = 5;</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;
    }
    /**
     * <pre>
     *医生名称
     * </pre>
     *
     * <code>string doctorName = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearDoctorName() {
      
      doctorName_ = getDefaultInstance().getDoctorName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医生名称
     * </pre>
     *
     * <code>string doctorName = 5;</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 int total_ ;
    /**
     * <pre>
     *预约挂号总费用
     * </pre>
     *
     * <code>int32 total = 6;</code>
     * @return The total.
     */
    @java.lang.Override
    public int getTotal() {
      return total_;
    }
    /**
     * <pre>
     *预约挂号总费用
     * </pre>
     *
     * <code>int32 total = 6;</code>
     * @param value The total to set.
     * @return This builder for chaining.
     */
    public Builder setTotal(int value) {
      
      total_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *预约挂号总费用
     * </pre>
     *
     * <code>int32 total = 6;</code>
     * @return This builder for chaining.
     */
    public Builder clearTotal() {
      
      total_ = 0;
      onChanged();
      return this;
    }

    private int registeredFee_ ;
    /**
     * <pre>
     *挂号费
     * </pre>
     *
     * <code>int32 registeredFee = 7;</code>
     * @return The registeredFee.
     */
    @java.lang.Override
    public int getRegisteredFee() {
      return registeredFee_;
    }
    /**
     * <pre>
     *挂号费
     * </pre>
     *
     * <code>int32 registeredFee = 7;</code>
     * @param value The registeredFee to set.
     * @return This builder for chaining.
     */
    public Builder setRegisteredFee(int value) {
      
      registeredFee_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *挂号费
     * </pre>
     *
     * <code>int32 registeredFee = 7;</code>
     * @return This builder for chaining.
     */
    public Builder clearRegisteredFee() {
      
      registeredFee_ = 0;
      onChanged();
      return this;
    }

    private int medicalFee_ ;
    /**
     * <pre>
     *诊查费
     * </pre>
     *
     * <code>int32 medicalFee = 8;</code>
     * @return The medicalFee.
     */
    @java.lang.Override
    public int getMedicalFee() {
      return medicalFee_;
    }
    /**
     * <pre>
     *诊查费
     * </pre>
     *
     * <code>int32 medicalFee = 8;</code>
     * @param value The medicalFee to set.
     * @return This builder for chaining.
     */
    public Builder setMedicalFee(int value) {
      
      medicalFee_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *诊查费
     * </pre>
     *
     * <code>int32 medicalFee = 8;</code>
     * @return This builder for chaining.
     */
    public Builder clearMedicalFee() {
      
      medicalFee_ = 0;
      onChanged();
      return this;
    }

    private long registeredDate_ ;
    /**
     * <pre>
     *预约日期
     * </pre>
     *
     * <code>int64 registeredDate = 9;</code>
     * @return The registeredDate.
     */
    @java.lang.Override
    public long getRegisteredDate() {
      return registeredDate_;
    }
    /**
     * <pre>
     *预约日期
     * </pre>
     *
     * <code>int64 registeredDate = 9;</code>
     * @param value The registeredDate to set.
     * @return This builder for chaining.
     */
    public Builder setRegisteredDate(long value) {
      
      registeredDate_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *预约日期
     * </pre>
     *
     * <code>int64 registeredDate = 9;</code>
     * @return This builder for chaining.
     */
    public Builder clearRegisteredDate() {
      
      registeredDate_ = 0L;
      onChanged();
      return this;
    }

    private int period_ ;
    /**
     * <pre>
     *预约时间段
     * </pre>
     *
     * <code>int32 period = 10;</code>
     * @return The period.
     */
    @java.lang.Override
    public int getPeriod() {
      return period_;
    }
    /**
     * <pre>
     *预约时间段
     * </pre>
     *
     * <code>int32 period = 10;</code>
     * @param value The period to set.
     * @return This builder for chaining.
     */
    public Builder setPeriod(int value) {
      
      period_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *预约时间段
     * </pre>
     *
     * <code>int32 period = 10;</code>
     * @return This builder for chaining.
     */
    public Builder clearPeriod() {
      
      period_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object startTime_ = "";
    /**
     * <pre>
     *预约开始时间：HH:MI
     * </pre>
     *
     * <code>string startTime = 11;</code>
     * @return The startTime.
     */
    public java.lang.String getStartTime() {
      java.lang.Object ref = startTime_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        startTime_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *预约开始时间：HH:MI
     * </pre>
     *
     * <code>string startTime = 11;</code>
     * @return The bytes for startTime.
     */
    public com.google.protobuf.ByteString
        getStartTimeBytes() {
      java.lang.Object ref = startTime_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        startTime_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *预约开始时间：HH:MI
     * </pre>
     *
     * <code>string startTime = 11;</code>
     * @param value The startTime to set.
     * @return This builder for chaining.
     */
    public Builder setStartTime(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      startTime_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *预约开始时间：HH:MI
     * </pre>
     *
     * <code>string startTime = 11;</code>
     * @return This builder for chaining.
     */
    public Builder clearStartTime() {
      
      startTime_ = getDefaultInstance().getStartTime();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *预约开始时间：HH:MI
     * </pre>
     *
     * <code>string startTime = 11;</code>
     * @param value The bytes for startTime to set.
     * @return This builder for chaining.
     */
    public Builder setStartTimeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      startTime_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object endTime_ = "";
    /**
     * <pre>
     *预约结束时间：HH:MI
     * </pre>
     *
     * <code>string endTime = 12;</code>
     * @return The endTime.
     */
    public java.lang.String getEndTime() {
      java.lang.Object ref = endTime_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        endTime_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *预约结束时间：HH:MI
     * </pre>
     *
     * <code>string endTime = 12;</code>
     * @return The bytes for endTime.
     */
    public com.google.protobuf.ByteString
        getEndTimeBytes() {
      java.lang.Object ref = endTime_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        endTime_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *预约结束时间：HH:MI
     * </pre>
     *
     * <code>string endTime = 12;</code>
     * @param value The endTime to set.
     * @return This builder for chaining.
     */
    public Builder setEndTime(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      endTime_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *预约结束时间：HH:MI
     * </pre>
     *
     * <code>string endTime = 12;</code>
     * @return This builder for chaining.
     */
    public Builder clearEndTime() {
      
      endTime_ = getDefaultInstance().getEndTime();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *预约结束时间：HH:MI
     * </pre>
     *
     * <code>string endTime = 12;</code>
     * @param value The bytes for endTime to set.
     * @return This builder for chaining.
     */
    public Builder setEndTimeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      endTime_ = value;
      onChanged();
      return this;
    }

    private int userId_ ;
    /**
     * <pre>
     *用户ID
     * </pre>
     *
     * <code>int32 userId = 13;</code>
     * @return The userId.
     */
    @java.lang.Override
    public int getUserId() {
      return userId_;
    }
    /**
     * <pre>
     *用户ID
     * </pre>
     *
     * <code>int32 userId = 13;</code>
     * @param value The userId to set.
     * @return This builder for chaining.
     */
    public Builder setUserId(int value) {
      
      userId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *用户ID
     * </pre>
     *
     * <code>int32 userId = 13;</code>
     * @return This builder for chaining.
     */
    public Builder clearUserId() {
      
      userId_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object scheduleItemCode_ = "";
    /**
     * <pre>
     *门诊排班项记录标识
     * </pre>
     *
     * <code>string scheduleItemCode = 14;</code>
     * @return The scheduleItemCode.
     */
    public java.lang.String getScheduleItemCode() {
      java.lang.Object ref = scheduleItemCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        scheduleItemCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *门诊排班项记录标识
     * </pre>
     *
     * <code>string scheduleItemCode = 14;</code>
     * @return The bytes for scheduleItemCode.
     */
    public com.google.protobuf.ByteString
        getScheduleItemCodeBytes() {
      java.lang.Object ref = scheduleItemCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        scheduleItemCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *门诊排班项记录标识
     * </pre>
     *
     * <code>string scheduleItemCode = 14;</code>
     * @param value The scheduleItemCode to set.
     * @return This builder for chaining.
     */
    public Builder setScheduleItemCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      scheduleItemCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *门诊排班项记录标识
     * </pre>
     *
     * <code>string scheduleItemCode = 14;</code>
     * @return This builder for chaining.
     */
    public Builder clearScheduleItemCode() {
      
      scheduleItemCode_ = getDefaultInstance().getScheduleItemCode();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *门诊排班项记录标识
     * </pre>
     *
     * <code>string scheduleItemCode = 14;</code>
     * @param value The bytes for scheduleItemCode to set.
     * @return This builder for chaining.
     */
    public Builder setScheduleItemCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      scheduleItemCode_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object idType_ = "";
    /**
     * <pre>
     *证件类型
     * </pre>
     *
     * <code>string idType = 15;</code>
     * @return The idType.
     */
    public java.lang.String getIdType() {
      java.lang.Object ref = idType_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        idType_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *证件类型
     * </pre>
     *
     * <code>string idType = 15;</code>
     * @return The bytes for idType.
     */
    public com.google.protobuf.ByteString
        getIdTypeBytes() {
      java.lang.Object ref = idType_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        idType_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *证件类型
     * </pre>
     *
     * <code>string idType = 15;</code>
     * @param value The idType to set.
     * @return This builder for chaining.
     */
    public Builder setIdType(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      idType_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *证件类型
     * </pre>
     *
     * <code>string idType = 15;</code>
     * @return This builder for chaining.
     */
    public Builder clearIdType() {
      
      idType_ = getDefaultInstance().getIdType();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *证件类型
     * </pre>
     *
     * <code>string idType = 15;</code>
     * @param value The bytes for idType to set.
     * @return This builder for chaining.
     */
    public Builder setIdTypeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      idType_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object idNo_ = "";
    /**
     * <pre>
     *证件号码
     * </pre>
     *
     * <code>string idNo = 16;</code>
     * @return The idNo.
     */
    public java.lang.String getIdNo() {
      java.lang.Object ref = idNo_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        idNo_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *证件号码
     * </pre>
     *
     * <code>string idNo = 16;</code>
     * @return The bytes for idNo.
     */
    public com.google.protobuf.ByteString
        getIdNoBytes() {
      java.lang.Object ref = idNo_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        idNo_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *证件号码
     * </pre>
     *
     * <code>string idNo = 16;</code>
     * @param value The idNo to set.
     * @return This builder for chaining.
     */
    public Builder setIdNo(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      idNo_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *证件号码
     * </pre>
     *
     * <code>string idNo = 16;</code>
     * @return This builder for chaining.
     */
    public Builder clearIdNo() {
      
      idNo_ = getDefaultInstance().getIdNo();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *证件号码
     * </pre>
     *
     * <code>string idNo = 16;</code>
     * @param value The bytes for idNo to set.
     * @return This builder for chaining.
     */
    public Builder setIdNoBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      idNo_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object patientName_ = "";
    /**
     * <pre>
     *患者姓名
     * </pre>
     *
     * <code>string patientName = 17;</code>
     * @return The patientName.
     */
    public java.lang.String getPatientName() {
      java.lang.Object ref = patientName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        patientName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *患者姓名
     * </pre>
     *
     * <code>string patientName = 17;</code>
     * @return The bytes for patientName.
     */
    public com.google.protobuf.ByteString
        getPatientNameBytes() {
      java.lang.Object ref = patientName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        patientName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *患者姓名
     * </pre>
     *
     * <code>string patientName = 17;</code>
     * @param value The patientName to set.
     * @return This builder for chaining.
     */
    public Builder setPatientName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      patientName_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *患者姓名
     * </pre>
     *
     * <code>string patientName = 17;</code>
     * @return This builder for chaining.
     */
    public Builder clearPatientName() {
      
      patientName_ = getDefaultInstance().getPatientName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *患者姓名
     * </pre>
     *
     * <code>string patientName = 17;</code>
     * @param value The bytes for patientName to set.
     * @return This builder for chaining.
     */
    public Builder setPatientNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      patientName_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object patientMobile_ = "";
    /**
     * <pre>
     *患者手机号
     * </pre>
     *
     * <code>string patientMobile = 18;</code>
     * @return The patientMobile.
     */
    public java.lang.String getPatientMobile() {
      java.lang.Object ref = patientMobile_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        patientMobile_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *患者手机号
     * </pre>
     *
     * <code>string patientMobile = 18;</code>
     * @return The bytes for patientMobile.
     */
    public com.google.protobuf.ByteString
        getPatientMobileBytes() {
      java.lang.Object ref = patientMobile_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        patientMobile_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *患者手机号
     * </pre>
     *
     * <code>string patientMobile = 18;</code>
     * @param value The patientMobile to set.
     * @return This builder for chaining.
     */
    public Builder setPatientMobile(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      patientMobile_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *患者手机号
     * </pre>
     *
     * <code>string patientMobile = 18;</code>
     * @return This builder for chaining.
     */
    public Builder clearPatientMobile() {
      
      patientMobile_ = getDefaultInstance().getPatientMobile();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *患者手机号
     * </pre>
     *
     * <code>string patientMobile = 18;</code>
     * @param value The bytes for patientMobile to set.
     * @return This builder for chaining.
     */
    public Builder setPatientMobileBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      patientMobile_ = value;
      onChanged();
      return this;
    }

    private int patientSex_ ;
    /**
     * <pre>
     *患者性别
     * </pre>
     *
     * <code>int32 patientSex = 19;</code>
     * @return The patientSex.
     */
    @java.lang.Override
    public int getPatientSex() {
      return patientSex_;
    }
    /**
     * <pre>
     *患者性别
     * </pre>
     *
     * <code>int32 patientSex = 19;</code>
     * @param value The patientSex to set.
     * @return This builder for chaining.
     */
    public Builder setPatientSex(int value) {
      
      patientSex_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *患者性别
     * </pre>
     *
     * <code>int32 patientSex = 19;</code>
     * @return This builder for chaining.
     */
    public Builder clearPatientSex() {
      
      patientSex_ = 0;
      onChanged();
      return this;
    }

    private long birthday_ ;
    /**
     * <pre>
     *患者出生日期
     * </pre>
     *
     * <code>int64 birthday = 20;</code>
     * @return The birthday.
     */
    @java.lang.Override
    public long getBirthday() {
      return birthday_;
    }
    /**
     * <pre>
     *患者出生日期
     * </pre>
     *
     * <code>int64 birthday = 20;</code>
     * @param value The birthday to set.
     * @return This builder for chaining.
     */
    public Builder setBirthday(long value) {
      
      birthday_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *患者出生日期
     * </pre>
     *
     * <code>int64 birthday = 20;</code>
     * @return This builder for chaining.
     */
    public Builder clearBirthday() {
      
      birthday_ = 0L;
      onChanged();
      return this;
    }

    private int hospitalId_ ;
    /**
     * <code>int32 hospitalId = 21;</code>
     * @return The hospitalId.
     */
    @java.lang.Override
    public int getHospitalId() {
      return hospitalId_;
    }
    /**
     * <code>int32 hospitalId = 21;</code>
     * @param value The hospitalId to set.
     * @return This builder for chaining.
     */
    public Builder setHospitalId(int value) {
      
      hospitalId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 hospitalId = 21;</code>
     * @return This builder for chaining.
     */
    public Builder clearHospitalId() {
      
      hospitalId_ = 0;
      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.taihe.register.RegisterWithoutMedicalCardRequest)
  }

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

  public static com.ywt.gapi.taihe.register.RegisterWithoutMedicalCardRequest getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

  @java.lang.Override
  public com.ywt.gapi.taihe.register.RegisterWithoutMedicalCardRequest getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

