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

package com.ywt.gapi.checkup_booking;

/**
 * <pre>
 * 预约成功
 * </pre>
 *
 * Protobuf type {@code com.ywt.gapi.checkup_booking.RegRecord}
 */
public final class RegRecord extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.checkup_booking.RegRecord)
    RegRecordOrBuilder {
private static final long serialVersionUID = 0L;
  // Use RegRecord.newBuilder() to construct.
  private RegRecord(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private RegRecord() {
    patientRegNo_ = "";
    patientName_ = "";
    sex_ = "";
    patientAge_ = "";
    patientIdNo_ = "";
    regId_ = "";
    phoneNo_ = "";
    levelDesc_ = "";
    status_ = "";
    payFlag_ = "";
    admId_ = "";
    preIADM_ = "";
    locId_ = "";
    locDesc_ = "";
    regExamDate_ = "";
    regExamTime_ = "";
    pmType_ = "";
    peId_ = "";
    canModifyFlag_ = "";
    preWay_ = "";
    regCheckupItem_ = java.util.Collections.emptyList();
    ordSetsId_ = "";
    ordSetsDesc_ = "";
  }

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

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

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

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

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

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

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

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

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

            levelDesc_ = s;
            break;
          }
          case 72: {

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

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

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

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

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

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

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

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

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

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

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

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

            preWay_ = s;
            break;
          }
          case 178: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              regCheckupItem_ = new java.util.ArrayList<com.ywt.gapi.checkup_booking.RegCheckupItem>();
              mutable_bitField0_ |= 0x00000001;
            }
            regCheckupItem_.add(
                input.readMessage(com.ywt.gapi.checkup_booking.RegCheckupItem.parser(), extensionRegistry));
            break;
          }
          case 186: {
            java.lang.String s = input.readStringRequireUtf8();

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

            ordSetsDesc_ = s;
            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      if (((mutable_bitField0_ & 0x00000001) != 0)) {
        regCheckupItem_ = java.util.Collections.unmodifiableList(regCheckupItem_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.ywt.gapi.checkup_booking.CheckupBookingProto.internal_static_com_ywt_gapi_checkup_booking_RegRecord_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.ywt.gapi.checkup_booking.CheckupBookingProto.internal_static_com_ywt_gapi_checkup_booking_RegRecord_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.ywt.gapi.checkup_booking.RegRecord.class, com.ywt.gapi.checkup_booking.RegRecord.Builder.class);
  }

  public static final int PATIENTREGNO_FIELD_NUMBER = 1;
  private volatile java.lang.Object patientRegNo_;
  /**
   * <pre>
   * 体检登记号也是病人ID
   * </pre>
   *
   * <code>string patientRegNo = 1;</code>
   * @return The patientRegNo.
   */
  @java.lang.Override
  public java.lang.String getPatientRegNo() {
    java.lang.Object ref = patientRegNo_;
    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();
      patientRegNo_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 体检登记号也是病人ID
   * </pre>
   *
   * <code>string patientRegNo = 1;</code>
   * @return The bytes for patientRegNo.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getPatientRegNoBytes() {
    java.lang.Object ref = patientRegNo_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      patientRegNo_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PATIENTNAME_FIELD_NUMBER = 2;
  private volatile java.lang.Object patientName_;
  /**
   * <pre>
   * 姓名
   * </pre>
   *
   * <code>string patientName = 2;</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 = 2;</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 SEX_FIELD_NUMBER = 3;
  private volatile java.lang.Object sex_;
  /**
   * <pre>
   * 性别描述
   * </pre>
   *
   * <code>string sex = 3;</code>
   * @return The sex.
   */
  @java.lang.Override
  public java.lang.String getSex() {
    java.lang.Object ref = sex_;
    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();
      sex_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 性别描述
   * </pre>
   *
   * <code>string sex = 3;</code>
   * @return The bytes for sex.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getSexBytes() {
    java.lang.Object ref = sex_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      sex_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PATIENTAGE_FIELD_NUMBER = 4;
  private volatile java.lang.Object patientAge_;
  /**
   * <pre>
   * 年龄
   * </pre>
   *
   * <code>string patientAge = 4;</code>
   * @return The patientAge.
   */
  @java.lang.Override
  public java.lang.String getPatientAge() {
    java.lang.Object ref = patientAge_;
    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();
      patientAge_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 年龄
   * </pre>
   *
   * <code>string patientAge = 4;</code>
   * @return The bytes for patientAge.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getPatientAgeBytes() {
    java.lang.Object ref = patientAge_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      patientAge_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PATIENTIDNO_FIELD_NUMBER = 5;
  private volatile java.lang.Object patientIdNo_;
  /**
   * <pre>
   * 身份证号
   * </pre>
   *
   * <code>string patientIdNo = 5;</code>
   * @return The patientIdNo.
   */
  @java.lang.Override
  public java.lang.String getPatientIdNo() {
    java.lang.Object ref = patientIdNo_;
    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();
      patientIdNo_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 身份证号
   * </pre>
   *
   * <code>string patientIdNo = 5;</code>
   * @return The bytes for patientIdNo.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getPatientIdNoBytes() {
    java.lang.Object ref = patientIdNo_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      patientIdNo_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int REGID_FIELD_NUMBER = 6;
  private volatile java.lang.Object regId_;
  /**
   * <pre>
   * 网上预约记录ID
   * </pre>
   *
   * <code>string regId = 6;</code>
   * @return The regId.
   */
  @java.lang.Override
  public java.lang.String getRegId() {
    java.lang.Object ref = regId_;
    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();
      regId_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 网上预约记录ID
   * </pre>
   *
   * <code>string regId = 6;</code>
   * @return The bytes for regId.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getRegIdBytes() {
    java.lang.Object ref = regId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      regId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

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

  public static final int LEVELDESC_FIELD_NUMBER = 8;
  private volatile java.lang.Object levelDesc_;
  /**
   * <pre>
   * 普通
   * </pre>
   *
   * <code>string levelDesc = 8;</code>
   * @return The levelDesc.
   */
  @java.lang.Override
  public java.lang.String getLevelDesc() {
    java.lang.Object ref = levelDesc_;
    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();
      levelDesc_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 普通
   * </pre>
   *
   * <code>string levelDesc = 8;</code>
   * @return The bytes for levelDesc.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getLevelDescBytes() {
    java.lang.Object ref = levelDesc_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      levelDesc_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int TOTALAMOUNT_FIELD_NUMBER = 9;
  private int totalAmount_;
  /**
   * <pre>
   * 订单金额
   * </pre>
   *
   * <code>int32 totalAmount = 9;</code>
   * @return The totalAmount.
   */
  @java.lang.Override
  public int getTotalAmount() {
    return totalAmount_;
  }

  public static final int STATUS_FIELD_NUMBER = 10;
  private volatile java.lang.Object status_;
  /**
   * <pre>
   * 预约状态 0：已预约 1：医院已处理  2：取消预约 4：已缴费 5：已体检 6：取消体检
   * </pre>
   *
   * <code>string status = 10;</code>
   * @return The status.
   */
  @java.lang.Override
  public java.lang.String getStatus() {
    java.lang.Object ref = status_;
    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();
      status_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 预约状态 0：已预约 1：医院已处理  2：取消预约 4：已缴费 5：已体检 6：取消体检
   * </pre>
   *
   * <code>string status = 10;</code>
   * @return The bytes for status.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getStatusBytes() {
    java.lang.Object ref = status_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      status_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PAYFLAG_FIELD_NUMBER = 11;
  private volatile java.lang.Object payFlag_;
  /**
   * <pre>
   * 缴费标志 0：未缴费 1：已缴费
   * </pre>
   *
   * <code>string payFlag = 11;</code>
   * @return The payFlag.
   */
  @java.lang.Override
  public java.lang.String getPayFlag() {
    java.lang.Object ref = payFlag_;
    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();
      payFlag_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 缴费标志 0：未缴费 1：已缴费
   * </pre>
   *
   * <code>string payFlag = 11;</code>
   * @return The bytes for payFlag.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getPayFlagBytes() {
    java.lang.Object ref = payFlag_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      payFlag_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ADMID_FIELD_NUMBER = 12;
  private volatile java.lang.Object admId_;
  /**
   * <pre>
   * 就诊ID
   * </pre>
   *
   * <code>string admId = 12;</code>
   * @return The admId.
   */
  @java.lang.Override
  public java.lang.String getAdmId() {
    java.lang.Object ref = admId_;
    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();
      admId_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 就诊ID
   * </pre>
   *
   * <code>string admId = 12;</code>
   * @return The bytes for admId.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getAdmIdBytes() {
    java.lang.Object ref = admId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      admId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PREIADM_FIELD_NUMBER = 13;
  private volatile java.lang.Object preIADM_;
  /**
   * <pre>
   * 体检系统预约ID
   * </pre>
   *
   * <code>string preIADM = 13;</code>
   * @return The preIADM.
   */
  @java.lang.Override
  public java.lang.String getPreIADM() {
    java.lang.Object ref = preIADM_;
    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();
      preIADM_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 体检系统预约ID
   * </pre>
   *
   * <code>string preIADM = 13;</code>
   * @return The bytes for preIADM.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getPreIADMBytes() {
    java.lang.Object ref = preIADM_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      preIADM_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int LOCID_FIELD_NUMBER = 14;
  private volatile java.lang.Object locId_;
  /**
   * <pre>
   * 体检科室ID
   * </pre>
   *
   * <code>string locId = 14;</code>
   * @return The locId.
   */
  @java.lang.Override
  public java.lang.String getLocId() {
    java.lang.Object ref = locId_;
    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();
      locId_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 体检科室ID
   * </pre>
   *
   * <code>string locId = 14;</code>
   * @return The bytes for locId.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getLocIdBytes() {
    java.lang.Object ref = locId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      locId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int LOCDESC_FIELD_NUMBER = 15;
  private volatile java.lang.Object locDesc_;
  /**
   * <pre>
   * 体检科室描述
   * </pre>
   *
   * <code>string locDesc = 15;</code>
   * @return The locDesc.
   */
  @java.lang.Override
  public java.lang.String getLocDesc() {
    java.lang.Object ref = locDesc_;
    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();
      locDesc_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 体检科室描述
   * </pre>
   *
   * <code>string locDesc = 15;</code>
   * @return The bytes for locDesc.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getLocDescBytes() {
    java.lang.Object ref = locDesc_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      locDesc_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int REGEXAMDATE_FIELD_NUMBER = 16;
  private volatile java.lang.Object regExamDate_;
  /**
   * <pre>
   * 预约日期
   * </pre>
   *
   * <code>string regExamDate = 16;</code>
   * @return The regExamDate.
   */
  @java.lang.Override
  public java.lang.String getRegExamDate() {
    java.lang.Object ref = regExamDate_;
    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();
      regExamDate_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 预约日期
   * </pre>
   *
   * <code>string regExamDate = 16;</code>
   * @return The bytes for regExamDate.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getRegExamDateBytes() {
    java.lang.Object ref = regExamDate_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      regExamDate_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int REGEXAMTIME_FIELD_NUMBER = 17;
  private volatile java.lang.Object regExamTime_;
  /**
   * <pre>
   * 预约时间段
   * </pre>
   *
   * <code>string regExamTime = 17;</code>
   * @return The regExamTime.
   */
  @java.lang.Override
  public java.lang.String getRegExamTime() {
    java.lang.Object ref = regExamTime_;
    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();
      regExamTime_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 预约时间段
   * </pre>
   *
   * <code>string regExamTime = 17;</code>
   * @return The bytes for regExamTime.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getRegExamTimeBytes() {
    java.lang.Object ref = regExamTime_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      regExamTime_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PMTYPE_FIELD_NUMBER = 18;
  private volatile java.lang.Object pmType_;
  /**
   * <pre>
   * 预约类型 I:个人  G:团体  O:过期主场
   * </pre>
   *
   * <code>string pmType = 18;</code>
   * @return The pmType.
   */
  @java.lang.Override
  public java.lang.String getPmType() {
    java.lang.Object ref = pmType_;
    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();
      pmType_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 预约类型 I:个人  G:团体  O:过期主场
   * </pre>
   *
   * <code>string pmType = 18;</code>
   * @return The bytes for pmType.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getPmTypeBytes() {
    java.lang.Object ref = pmType_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      pmType_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PEID_FIELD_NUMBER = 19;
  private volatile java.lang.Object peId_;
  /**
   * <pre>
   * 体检编号
   * </pre>
   *
   * <code>string peId = 19;</code>
   * @return The peId.
   */
  @java.lang.Override
  public java.lang.String getPeId() {
    java.lang.Object ref = peId_;
    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();
      peId_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 体检编号
   * </pre>
   *
   * <code>string peId = 19;</code>
   * @return The bytes for peId.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getPeIdBytes() {
    java.lang.Object ref = peId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      peId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int CANMODIFYFLAG_FIELD_NUMBER = 20;
  private volatile java.lang.Object canModifyFlag_;
  /**
   * <pre>
   * </pre>
   *
   * <code>string canModifyFlag = 20;</code>
   * @return The canModifyFlag.
   */
  @java.lang.Override
  public java.lang.String getCanModifyFlag() {
    java.lang.Object ref = canModifyFlag_;
    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();
      canModifyFlag_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * </pre>
   *
   * <code>string canModifyFlag = 20;</code>
   * @return The bytes for canModifyFlag.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getCanModifyFlagBytes() {
    java.lang.Object ref = canModifyFlag_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      canModifyFlag_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PREWAY_FIELD_NUMBER = 21;
  private volatile java.lang.Object preWay_;
  /**
   * <pre>
   * 预约途径 PC/APP/WeChat/Self-help
   * </pre>
   *
   * <code>string preWay = 21;</code>
   * @return The preWay.
   */
  @java.lang.Override
  public java.lang.String getPreWay() {
    java.lang.Object ref = preWay_;
    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();
      preWay_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 预约途径 PC/APP/WeChat/Self-help
   * </pre>
   *
   * <code>string preWay = 21;</code>
   * @return The bytes for preWay.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getPreWayBytes() {
    java.lang.Object ref = preWay_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      preWay_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int REGCHECKUPITEM_FIELD_NUMBER = 22;
  private java.util.List<com.ywt.gapi.checkup_booking.RegCheckupItem> regCheckupItem_;
  /**
   * <pre>
   *  体检项目详情列表
   * </pre>
   *
   * <code>repeated .com.ywt.gapi.checkup_booking.RegCheckupItem regCheckupItem = 22;</code>
   */
  @java.lang.Override
  public java.util.List<com.ywt.gapi.checkup_booking.RegCheckupItem> getRegCheckupItemList() {
    return regCheckupItem_;
  }
  /**
   * <pre>
   *  体检项目详情列表
   * </pre>
   *
   * <code>repeated .com.ywt.gapi.checkup_booking.RegCheckupItem regCheckupItem = 22;</code>
   */
  @java.lang.Override
  public java.util.List<? extends com.ywt.gapi.checkup_booking.RegCheckupItemOrBuilder> 
      getRegCheckupItemOrBuilderList() {
    return regCheckupItem_;
  }
  /**
   * <pre>
   *  体检项目详情列表
   * </pre>
   *
   * <code>repeated .com.ywt.gapi.checkup_booking.RegCheckupItem regCheckupItem = 22;</code>
   */
  @java.lang.Override
  public int getRegCheckupItemCount() {
    return regCheckupItem_.size();
  }
  /**
   * <pre>
   *  体检项目详情列表
   * </pre>
   *
   * <code>repeated .com.ywt.gapi.checkup_booking.RegCheckupItem regCheckupItem = 22;</code>
   */
  @java.lang.Override
  public com.ywt.gapi.checkup_booking.RegCheckupItem getRegCheckupItem(int index) {
    return regCheckupItem_.get(index);
  }
  /**
   * <pre>
   *  体检项目详情列表
   * </pre>
   *
   * <code>repeated .com.ywt.gapi.checkup_booking.RegCheckupItem regCheckupItem = 22;</code>
   */
  @java.lang.Override
  public com.ywt.gapi.checkup_booking.RegCheckupItemOrBuilder getRegCheckupItemOrBuilder(
      int index) {
    return regCheckupItem_.get(index);
  }

  public static final int ORDSETSID_FIELD_NUMBER = 23;
  private volatile java.lang.Object ordSetsId_;
  /**
   * <pre>
   * HIS 套餐 id
   * </pre>
   *
   * <code>string ordSetsId = 23;</code>
   * @return The ordSetsId.
   */
  @java.lang.Override
  public java.lang.String getOrdSetsId() {
    java.lang.Object ref = ordSetsId_;
    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();
      ordSetsId_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * HIS 套餐 id
   * </pre>
   *
   * <code>string ordSetsId = 23;</code>
   * @return The bytes for ordSetsId.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getOrdSetsIdBytes() {
    java.lang.Object ref = ordSetsId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      ordSetsId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ORDSETSDESC_FIELD_NUMBER = 24;
  private volatile java.lang.Object ordSetsDesc_;
  /**
   * <pre>
   * 套餐名称
   * </pre>
   *
   * <code>string ordSetsDesc = 24;</code>
   * @return The ordSetsDesc.
   */
  @java.lang.Override
  public java.lang.String getOrdSetsDesc() {
    java.lang.Object ref = ordSetsDesc_;
    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();
      ordSetsDesc_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 套餐名称
   * </pre>
   *
   * <code>string ordSetsDesc = 24;</code>
   * @return The bytes for ordSetsDesc.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getOrdSetsDescBytes() {
    java.lang.Object ref = ordSetsDesc_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      ordSetsDesc_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

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

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(patientRegNo_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, patientRegNo_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(patientName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, patientName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sex_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, sex_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(patientAge_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, patientAge_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(patientIdNo_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, patientIdNo_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(regId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, regId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(phoneNo_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, phoneNo_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(levelDesc_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, levelDesc_);
    }
    if (totalAmount_ != 0) {
      output.writeInt32(9, totalAmount_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(status_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, status_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(payFlag_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 11, payFlag_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(admId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 12, admId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(preIADM_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 13, preIADM_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 14, locId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locDesc_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 15, locDesc_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(regExamDate_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 16, regExamDate_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(regExamTime_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 17, regExamTime_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pmType_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 18, pmType_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(peId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 19, peId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(canModifyFlag_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 20, canModifyFlag_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(preWay_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 21, preWay_);
    }
    for (int i = 0; i < regCheckupItem_.size(); i++) {
      output.writeMessage(22, regCheckupItem_.get(i));
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ordSetsId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 23, ordSetsId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ordSetsDesc_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 24, ordSetsDesc_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(patientRegNo_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, patientRegNo_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(patientName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, patientName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sex_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sex_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(patientAge_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, patientAge_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(patientIdNo_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, patientIdNo_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(regId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, regId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(phoneNo_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, phoneNo_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(levelDesc_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, levelDesc_);
    }
    if (totalAmount_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(9, totalAmount_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(status_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, status_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(payFlag_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, payFlag_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(admId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, admId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(preIADM_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, preIADM_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, locId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locDesc_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, locDesc_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(regExamDate_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, regExamDate_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(regExamTime_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, regExamTime_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pmType_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, pmType_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(peId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, peId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(canModifyFlag_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, canModifyFlag_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(preWay_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, preWay_);
    }
    for (int i = 0; i < regCheckupItem_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(22, regCheckupItem_.get(i));
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ordSetsId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(23, ordSetsId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ordSetsDesc_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(24, ordSetsDesc_);
    }
    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.checkup_booking.RegRecord)) {
      return super.equals(obj);
    }
    com.ywt.gapi.checkup_booking.RegRecord other = (com.ywt.gapi.checkup_booking.RegRecord) obj;

    if (!getPatientRegNo()
        .equals(other.getPatientRegNo())) return false;
    if (!getPatientName()
        .equals(other.getPatientName())) return false;
    if (!getSex()
        .equals(other.getSex())) return false;
    if (!getPatientAge()
        .equals(other.getPatientAge())) return false;
    if (!getPatientIdNo()
        .equals(other.getPatientIdNo())) return false;
    if (!getRegId()
        .equals(other.getRegId())) return false;
    if (!getPhoneNo()
        .equals(other.getPhoneNo())) return false;
    if (!getLevelDesc()
        .equals(other.getLevelDesc())) return false;
    if (getTotalAmount()
        != other.getTotalAmount()) return false;
    if (!getStatus()
        .equals(other.getStatus())) return false;
    if (!getPayFlag()
        .equals(other.getPayFlag())) return false;
    if (!getAdmId()
        .equals(other.getAdmId())) return false;
    if (!getPreIADM()
        .equals(other.getPreIADM())) return false;
    if (!getLocId()
        .equals(other.getLocId())) return false;
    if (!getLocDesc()
        .equals(other.getLocDesc())) return false;
    if (!getRegExamDate()
        .equals(other.getRegExamDate())) return false;
    if (!getRegExamTime()
        .equals(other.getRegExamTime())) return false;
    if (!getPmType()
        .equals(other.getPmType())) return false;
    if (!getPeId()
        .equals(other.getPeId())) return false;
    if (!getCanModifyFlag()
        .equals(other.getCanModifyFlag())) return false;
    if (!getPreWay()
        .equals(other.getPreWay())) return false;
    if (!getRegCheckupItemList()
        .equals(other.getRegCheckupItemList())) return false;
    if (!getOrdSetsId()
        .equals(other.getOrdSetsId())) return false;
    if (!getOrdSetsDesc()
        .equals(other.getOrdSetsDesc())) 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) + PATIENTREGNO_FIELD_NUMBER;
    hash = (53 * hash) + getPatientRegNo().hashCode();
    hash = (37 * hash) + PATIENTNAME_FIELD_NUMBER;
    hash = (53 * hash) + getPatientName().hashCode();
    hash = (37 * hash) + SEX_FIELD_NUMBER;
    hash = (53 * hash) + getSex().hashCode();
    hash = (37 * hash) + PATIENTAGE_FIELD_NUMBER;
    hash = (53 * hash) + getPatientAge().hashCode();
    hash = (37 * hash) + PATIENTIDNO_FIELD_NUMBER;
    hash = (53 * hash) + getPatientIdNo().hashCode();
    hash = (37 * hash) + REGID_FIELD_NUMBER;
    hash = (53 * hash) + getRegId().hashCode();
    hash = (37 * hash) + PHONENO_FIELD_NUMBER;
    hash = (53 * hash) + getPhoneNo().hashCode();
    hash = (37 * hash) + LEVELDESC_FIELD_NUMBER;
    hash = (53 * hash) + getLevelDesc().hashCode();
    hash = (37 * hash) + TOTALAMOUNT_FIELD_NUMBER;
    hash = (53 * hash) + getTotalAmount();
    hash = (37 * hash) + STATUS_FIELD_NUMBER;
    hash = (53 * hash) + getStatus().hashCode();
    hash = (37 * hash) + PAYFLAG_FIELD_NUMBER;
    hash = (53 * hash) + getPayFlag().hashCode();
    hash = (37 * hash) + ADMID_FIELD_NUMBER;
    hash = (53 * hash) + getAdmId().hashCode();
    hash = (37 * hash) + PREIADM_FIELD_NUMBER;
    hash = (53 * hash) + getPreIADM().hashCode();
    hash = (37 * hash) + LOCID_FIELD_NUMBER;
    hash = (53 * hash) + getLocId().hashCode();
    hash = (37 * hash) + LOCDESC_FIELD_NUMBER;
    hash = (53 * hash) + getLocDesc().hashCode();
    hash = (37 * hash) + REGEXAMDATE_FIELD_NUMBER;
    hash = (53 * hash) + getRegExamDate().hashCode();
    hash = (37 * hash) + REGEXAMTIME_FIELD_NUMBER;
    hash = (53 * hash) + getRegExamTime().hashCode();
    hash = (37 * hash) + PMTYPE_FIELD_NUMBER;
    hash = (53 * hash) + getPmType().hashCode();
    hash = (37 * hash) + PEID_FIELD_NUMBER;
    hash = (53 * hash) + getPeId().hashCode();
    hash = (37 * hash) + CANMODIFYFLAG_FIELD_NUMBER;
    hash = (53 * hash) + getCanModifyFlag().hashCode();
    hash = (37 * hash) + PREWAY_FIELD_NUMBER;
    hash = (53 * hash) + getPreWay().hashCode();
    if (getRegCheckupItemCount() > 0) {
      hash = (37 * hash) + REGCHECKUPITEM_FIELD_NUMBER;
      hash = (53 * hash) + getRegCheckupItemList().hashCode();
    }
    hash = (37 * hash) + ORDSETSID_FIELD_NUMBER;
    hash = (53 * hash) + getOrdSetsId().hashCode();
    hash = (37 * hash) + ORDSETSDESC_FIELD_NUMBER;
    hash = (53 * hash) + getOrdSetsDesc().hashCode();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.ywt.gapi.checkup_booking.CheckupBookingProto.internal_static_com_ywt_gapi_checkup_booking_RegRecord_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.ywt.gapi.checkup_booking.RegRecord.class, com.ywt.gapi.checkup_booking.RegRecord.Builder.class);
    }

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

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

      patientName_ = "";

      sex_ = "";

      patientAge_ = "";

      patientIdNo_ = "";

      regId_ = "";

      phoneNo_ = "";

      levelDesc_ = "";

      totalAmount_ = 0;

      status_ = "";

      payFlag_ = "";

      admId_ = "";

      preIADM_ = "";

      locId_ = "";

      locDesc_ = "";

      regExamDate_ = "";

      regExamTime_ = "";

      pmType_ = "";

      peId_ = "";

      canModifyFlag_ = "";

      preWay_ = "";

      if (regCheckupItemBuilder_ == null) {
        regCheckupItem_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
      } else {
        regCheckupItemBuilder_.clear();
      }
      ordSetsId_ = "";

      ordSetsDesc_ = "";

      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.ywt.gapi.checkup_booking.CheckupBookingProto.internal_static_com_ywt_gapi_checkup_booking_RegRecord_descriptor;
    }

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

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

    @java.lang.Override
    public com.ywt.gapi.checkup_booking.RegRecord buildPartial() {
      com.ywt.gapi.checkup_booking.RegRecord result = new com.ywt.gapi.checkup_booking.RegRecord(this);
      int from_bitField0_ = bitField0_;
      result.patientRegNo_ = patientRegNo_;
      result.patientName_ = patientName_;
      result.sex_ = sex_;
      result.patientAge_ = patientAge_;
      result.patientIdNo_ = patientIdNo_;
      result.regId_ = regId_;
      result.phoneNo_ = phoneNo_;
      result.levelDesc_ = levelDesc_;
      result.totalAmount_ = totalAmount_;
      result.status_ = status_;
      result.payFlag_ = payFlag_;
      result.admId_ = admId_;
      result.preIADM_ = preIADM_;
      result.locId_ = locId_;
      result.locDesc_ = locDesc_;
      result.regExamDate_ = regExamDate_;
      result.regExamTime_ = regExamTime_;
      result.pmType_ = pmType_;
      result.peId_ = peId_;
      result.canModifyFlag_ = canModifyFlag_;
      result.preWay_ = preWay_;
      if (regCheckupItemBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0)) {
          regCheckupItem_ = java.util.Collections.unmodifiableList(regCheckupItem_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.regCheckupItem_ = regCheckupItem_;
      } else {
        result.regCheckupItem_ = regCheckupItemBuilder_.build();
      }
      result.ordSetsId_ = ordSetsId_;
      result.ordSetsDesc_ = ordSetsDesc_;
      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.checkup_booking.RegRecord) {
        return mergeFrom((com.ywt.gapi.checkup_booking.RegRecord)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.ywt.gapi.checkup_booking.RegRecord other) {
      if (other == com.ywt.gapi.checkup_booking.RegRecord.getDefaultInstance()) return this;
      if (!other.getPatientRegNo().isEmpty()) {
        patientRegNo_ = other.patientRegNo_;
        onChanged();
      }
      if (!other.getPatientName().isEmpty()) {
        patientName_ = other.patientName_;
        onChanged();
      }
      if (!other.getSex().isEmpty()) {
        sex_ = other.sex_;
        onChanged();
      }
      if (!other.getPatientAge().isEmpty()) {
        patientAge_ = other.patientAge_;
        onChanged();
      }
      if (!other.getPatientIdNo().isEmpty()) {
        patientIdNo_ = other.patientIdNo_;
        onChanged();
      }
      if (!other.getRegId().isEmpty()) {
        regId_ = other.regId_;
        onChanged();
      }
      if (!other.getPhoneNo().isEmpty()) {
        phoneNo_ = other.phoneNo_;
        onChanged();
      }
      if (!other.getLevelDesc().isEmpty()) {
        levelDesc_ = other.levelDesc_;
        onChanged();
      }
      if (other.getTotalAmount() != 0) {
        setTotalAmount(other.getTotalAmount());
      }
      if (!other.getStatus().isEmpty()) {
        status_ = other.status_;
        onChanged();
      }
      if (!other.getPayFlag().isEmpty()) {
        payFlag_ = other.payFlag_;
        onChanged();
      }
      if (!other.getAdmId().isEmpty()) {
        admId_ = other.admId_;
        onChanged();
      }
      if (!other.getPreIADM().isEmpty()) {
        preIADM_ = other.preIADM_;
        onChanged();
      }
      if (!other.getLocId().isEmpty()) {
        locId_ = other.locId_;
        onChanged();
      }
      if (!other.getLocDesc().isEmpty()) {
        locDesc_ = other.locDesc_;
        onChanged();
      }
      if (!other.getRegExamDate().isEmpty()) {
        regExamDate_ = other.regExamDate_;
        onChanged();
      }
      if (!other.getRegExamTime().isEmpty()) {
        regExamTime_ = other.regExamTime_;
        onChanged();
      }
      if (!other.getPmType().isEmpty()) {
        pmType_ = other.pmType_;
        onChanged();
      }
      if (!other.getPeId().isEmpty()) {
        peId_ = other.peId_;
        onChanged();
      }
      if (!other.getCanModifyFlag().isEmpty()) {
        canModifyFlag_ = other.canModifyFlag_;
        onChanged();
      }
      if (!other.getPreWay().isEmpty()) {
        preWay_ = other.preWay_;
        onChanged();
      }
      if (regCheckupItemBuilder_ == null) {
        if (!other.regCheckupItem_.isEmpty()) {
          if (regCheckupItem_.isEmpty()) {
            regCheckupItem_ = other.regCheckupItem_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureRegCheckupItemIsMutable();
            regCheckupItem_.addAll(other.regCheckupItem_);
          }
          onChanged();
        }
      } else {
        if (!other.regCheckupItem_.isEmpty()) {
          if (regCheckupItemBuilder_.isEmpty()) {
            regCheckupItemBuilder_.dispose();
            regCheckupItemBuilder_ = null;
            regCheckupItem_ = other.regCheckupItem_;
            bitField0_ = (bitField0_ & ~0x00000001);
            regCheckupItemBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getRegCheckupItemFieldBuilder() : null;
          } else {
            regCheckupItemBuilder_.addAllMessages(other.regCheckupItem_);
          }
        }
      }
      if (!other.getOrdSetsId().isEmpty()) {
        ordSetsId_ = other.ordSetsId_;
        onChanged();
      }
      if (!other.getOrdSetsDesc().isEmpty()) {
        ordSetsDesc_ = other.ordSetsDesc_;
        onChanged();
      }
      this.mergeUnknownFields(other.unknownFields);
      onChanged();
      return this;
    }

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

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

    private java.lang.Object patientRegNo_ = "";
    /**
     * <pre>
     * 体检登记号也是病人ID
     * </pre>
     *
     * <code>string patientRegNo = 1;</code>
     * @return The patientRegNo.
     */
    public java.lang.String getPatientRegNo() {
      java.lang.Object ref = patientRegNo_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        patientRegNo_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 体检登记号也是病人ID
     * </pre>
     *
     * <code>string patientRegNo = 1;</code>
     * @return The bytes for patientRegNo.
     */
    public com.google.protobuf.ByteString
        getPatientRegNoBytes() {
      java.lang.Object ref = patientRegNo_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        patientRegNo_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 体检登记号也是病人ID
     * </pre>
     *
     * <code>string patientRegNo = 1;</code>
     * @param value The patientRegNo to set.
     * @return This builder for chaining.
     */
    public Builder setPatientRegNo(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      patientRegNo_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 体检登记号也是病人ID
     * </pre>
     *
     * <code>string patientRegNo = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearPatientRegNo() {
      
      patientRegNo_ = getDefaultInstance().getPatientRegNo();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 体检登记号也是病人ID
     * </pre>
     *
     * <code>string patientRegNo = 1;</code>
     * @param value The bytes for patientRegNo to set.
     * @return This builder for chaining.
     */
    public Builder setPatientRegNoBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      patientRegNo_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object patientName_ = "";
    /**
     * <pre>
     * 姓名
     * </pre>
     *
     * <code>string patientName = 2;</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 = 2;</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 = 2;</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 = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearPatientName() {
      
      patientName_ = getDefaultInstance().getPatientName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 姓名
     * </pre>
     *
     * <code>string patientName = 2;</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 sex_ = "";
    /**
     * <pre>
     * 性别描述
     * </pre>
     *
     * <code>string sex = 3;</code>
     * @return The sex.
     */
    public java.lang.String getSex() {
      java.lang.Object ref = sex_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        sex_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 性别描述
     * </pre>
     *
     * <code>string sex = 3;</code>
     * @return The bytes for sex.
     */
    public com.google.protobuf.ByteString
        getSexBytes() {
      java.lang.Object ref = sex_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        sex_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 性别描述
     * </pre>
     *
     * <code>string sex = 3;</code>
     * @param value The sex to set.
     * @return This builder for chaining.
     */
    public Builder setSex(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      sex_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 性别描述
     * </pre>
     *
     * <code>string sex = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearSex() {
      
      sex_ = getDefaultInstance().getSex();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 性别描述
     * </pre>
     *
     * <code>string sex = 3;</code>
     * @param value The bytes for sex to set.
     * @return This builder for chaining.
     */
    public Builder setSexBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      sex_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object patientAge_ = "";
    /**
     * <pre>
     * 年龄
     * </pre>
     *
     * <code>string patientAge = 4;</code>
     * @return The patientAge.
     */
    public java.lang.String getPatientAge() {
      java.lang.Object ref = patientAge_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        patientAge_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 年龄
     * </pre>
     *
     * <code>string patientAge = 4;</code>
     * @return The bytes for patientAge.
     */
    public com.google.protobuf.ByteString
        getPatientAgeBytes() {
      java.lang.Object ref = patientAge_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        patientAge_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 年龄
     * </pre>
     *
     * <code>string patientAge = 4;</code>
     * @param value The patientAge to set.
     * @return This builder for chaining.
     */
    public Builder setPatientAge(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      patientAge_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 年龄
     * </pre>
     *
     * <code>string patientAge = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearPatientAge() {
      
      patientAge_ = getDefaultInstance().getPatientAge();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 年龄
     * </pre>
     *
     * <code>string patientAge = 4;</code>
     * @param value The bytes for patientAge to set.
     * @return This builder for chaining.
     */
    public Builder setPatientAgeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      patientAge_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object patientIdNo_ = "";
    /**
     * <pre>
     * 身份证号
     * </pre>
     *
     * <code>string patientIdNo = 5;</code>
     * @return The patientIdNo.
     */
    public java.lang.String getPatientIdNo() {
      java.lang.Object ref = patientIdNo_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        patientIdNo_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 身份证号
     * </pre>
     *
     * <code>string patientIdNo = 5;</code>
     * @return The bytes for patientIdNo.
     */
    public com.google.protobuf.ByteString
        getPatientIdNoBytes() {
      java.lang.Object ref = patientIdNo_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        patientIdNo_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 身份证号
     * </pre>
     *
     * <code>string patientIdNo = 5;</code>
     * @param value The patientIdNo to set.
     * @return This builder for chaining.
     */
    public Builder setPatientIdNo(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      patientIdNo_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 身份证号
     * </pre>
     *
     * <code>string patientIdNo = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearPatientIdNo() {
      
      patientIdNo_ = getDefaultInstance().getPatientIdNo();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 身份证号
     * </pre>
     *
     * <code>string patientIdNo = 5;</code>
     * @param value The bytes for patientIdNo to set.
     * @return This builder for chaining.
     */
    public Builder setPatientIdNoBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      patientIdNo_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object regId_ = "";
    /**
     * <pre>
     * 网上预约记录ID
     * </pre>
     *
     * <code>string regId = 6;</code>
     * @return The regId.
     */
    public java.lang.String getRegId() {
      java.lang.Object ref = regId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        regId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 网上预约记录ID
     * </pre>
     *
     * <code>string regId = 6;</code>
     * @return The bytes for regId.
     */
    public com.google.protobuf.ByteString
        getRegIdBytes() {
      java.lang.Object ref = regId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        regId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 网上预约记录ID
     * </pre>
     *
     * <code>string regId = 6;</code>
     * @param value The regId to set.
     * @return This builder for chaining.
     */
    public Builder setRegId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      regId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 网上预约记录ID
     * </pre>
     *
     * <code>string regId = 6;</code>
     * @return This builder for chaining.
     */
    public Builder clearRegId() {
      
      regId_ = getDefaultInstance().getRegId();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 网上预约记录ID
     * </pre>
     *
     * <code>string regId = 6;</code>
     * @param value The bytes for regId to set.
     * @return This builder for chaining.
     */
    public Builder setRegIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      regId_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object phoneNo_ = "";
    /**
     * <pre>
     * </pre>
     *
     * <code>string phoneNo = 7;</code>
     * @return The phoneNo.
     */
    public java.lang.String getPhoneNo() {
      java.lang.Object ref = phoneNo_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        phoneNo_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * </pre>
     *
     * <code>string phoneNo = 7;</code>
     * @return The bytes for phoneNo.
     */
    public com.google.protobuf.ByteString
        getPhoneNoBytes() {
      java.lang.Object ref = phoneNo_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        phoneNo_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * </pre>
     *
     * <code>string phoneNo = 7;</code>
     * @param value The phoneNo to set.
     * @return This builder for chaining.
     */
    public Builder setPhoneNo(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      phoneNo_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * </pre>
     *
     * <code>string phoneNo = 7;</code>
     * @return This builder for chaining.
     */
    public Builder clearPhoneNo() {
      
      phoneNo_ = getDefaultInstance().getPhoneNo();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * </pre>
     *
     * <code>string phoneNo = 7;</code>
     * @param value The bytes for phoneNo to set.
     * @return This builder for chaining.
     */
    public Builder setPhoneNoBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      phoneNo_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object levelDesc_ = "";
    /**
     * <pre>
     * 普通
     * </pre>
     *
     * <code>string levelDesc = 8;</code>
     * @return The levelDesc.
     */
    public java.lang.String getLevelDesc() {
      java.lang.Object ref = levelDesc_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        levelDesc_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 普通
     * </pre>
     *
     * <code>string levelDesc = 8;</code>
     * @return The bytes for levelDesc.
     */
    public com.google.protobuf.ByteString
        getLevelDescBytes() {
      java.lang.Object ref = levelDesc_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        levelDesc_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 普通
     * </pre>
     *
     * <code>string levelDesc = 8;</code>
     * @param value The levelDesc to set.
     * @return This builder for chaining.
     */
    public Builder setLevelDesc(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      levelDesc_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 普通
     * </pre>
     *
     * <code>string levelDesc = 8;</code>
     * @return This builder for chaining.
     */
    public Builder clearLevelDesc() {
      
      levelDesc_ = getDefaultInstance().getLevelDesc();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 普通
     * </pre>
     *
     * <code>string levelDesc = 8;</code>
     * @param value The bytes for levelDesc to set.
     * @return This builder for chaining.
     */
    public Builder setLevelDescBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      levelDesc_ = value;
      onChanged();
      return this;
    }

    private int totalAmount_ ;
    /**
     * <pre>
     * 订单金额
     * </pre>
     *
     * <code>int32 totalAmount = 9;</code>
     * @return The totalAmount.
     */
    @java.lang.Override
    public int getTotalAmount() {
      return totalAmount_;
    }
    /**
     * <pre>
     * 订单金额
     * </pre>
     *
     * <code>int32 totalAmount = 9;</code>
     * @param value The totalAmount to set.
     * @return This builder for chaining.
     */
    public Builder setTotalAmount(int value) {
      
      totalAmount_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 订单金额
     * </pre>
     *
     * <code>int32 totalAmount = 9;</code>
     * @return This builder for chaining.
     */
    public Builder clearTotalAmount() {
      
      totalAmount_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object status_ = "";
    /**
     * <pre>
     * 预约状态 0：已预约 1：医院已处理  2：取消预约 4：已缴费 5：已体检 6：取消体检
     * </pre>
     *
     * <code>string status = 10;</code>
     * @return The status.
     */
    public java.lang.String getStatus() {
      java.lang.Object ref = status_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        status_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 预约状态 0：已预约 1：医院已处理  2：取消预约 4：已缴费 5：已体检 6：取消体检
     * </pre>
     *
     * <code>string status = 10;</code>
     * @return The bytes for status.
     */
    public com.google.protobuf.ByteString
        getStatusBytes() {
      java.lang.Object ref = status_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        status_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 预约状态 0：已预约 1：医院已处理  2：取消预约 4：已缴费 5：已体检 6：取消体检
     * </pre>
     *
     * <code>string status = 10;</code>
     * @param value The status to set.
     * @return This builder for chaining.
     */
    public Builder setStatus(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      status_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 预约状态 0：已预约 1：医院已处理  2：取消预约 4：已缴费 5：已体检 6：取消体检
     * </pre>
     *
     * <code>string status = 10;</code>
     * @return This builder for chaining.
     */
    public Builder clearStatus() {
      
      status_ = getDefaultInstance().getStatus();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 预约状态 0：已预约 1：医院已处理  2：取消预约 4：已缴费 5：已体检 6：取消体检
     * </pre>
     *
     * <code>string status = 10;</code>
     * @param value The bytes for status to set.
     * @return This builder for chaining.
     */
    public Builder setStatusBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      status_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object payFlag_ = "";
    /**
     * <pre>
     * 缴费标志 0：未缴费 1：已缴费
     * </pre>
     *
     * <code>string payFlag = 11;</code>
     * @return The payFlag.
     */
    public java.lang.String getPayFlag() {
      java.lang.Object ref = payFlag_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        payFlag_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 缴费标志 0：未缴费 1：已缴费
     * </pre>
     *
     * <code>string payFlag = 11;</code>
     * @return The bytes for payFlag.
     */
    public com.google.protobuf.ByteString
        getPayFlagBytes() {
      java.lang.Object ref = payFlag_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        payFlag_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 缴费标志 0：未缴费 1：已缴费
     * </pre>
     *
     * <code>string payFlag = 11;</code>
     * @param value The payFlag to set.
     * @return This builder for chaining.
     */
    public Builder setPayFlag(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      payFlag_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 缴费标志 0：未缴费 1：已缴费
     * </pre>
     *
     * <code>string payFlag = 11;</code>
     * @return This builder for chaining.
     */
    public Builder clearPayFlag() {
      
      payFlag_ = getDefaultInstance().getPayFlag();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 缴费标志 0：未缴费 1：已缴费
     * </pre>
     *
     * <code>string payFlag = 11;</code>
     * @param value The bytes for payFlag to set.
     * @return This builder for chaining.
     */
    public Builder setPayFlagBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      payFlag_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object admId_ = "";
    /**
     * <pre>
     * 就诊ID
     * </pre>
     *
     * <code>string admId = 12;</code>
     * @return The admId.
     */
    public java.lang.String getAdmId() {
      java.lang.Object ref = admId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        admId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 就诊ID
     * </pre>
     *
     * <code>string admId = 12;</code>
     * @return The bytes for admId.
     */
    public com.google.protobuf.ByteString
        getAdmIdBytes() {
      java.lang.Object ref = admId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        admId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 就诊ID
     * </pre>
     *
     * <code>string admId = 12;</code>
     * @param value The admId to set.
     * @return This builder for chaining.
     */
    public Builder setAdmId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      admId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 就诊ID
     * </pre>
     *
     * <code>string admId = 12;</code>
     * @return This builder for chaining.
     */
    public Builder clearAdmId() {
      
      admId_ = getDefaultInstance().getAdmId();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 就诊ID
     * </pre>
     *
     * <code>string admId = 12;</code>
     * @param value The bytes for admId to set.
     * @return This builder for chaining.
     */
    public Builder setAdmIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      admId_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object preIADM_ = "";
    /**
     * <pre>
     * 体检系统预约ID
     * </pre>
     *
     * <code>string preIADM = 13;</code>
     * @return The preIADM.
     */
    public java.lang.String getPreIADM() {
      java.lang.Object ref = preIADM_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        preIADM_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 体检系统预约ID
     * </pre>
     *
     * <code>string preIADM = 13;</code>
     * @return The bytes for preIADM.
     */
    public com.google.protobuf.ByteString
        getPreIADMBytes() {
      java.lang.Object ref = preIADM_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        preIADM_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 体检系统预约ID
     * </pre>
     *
     * <code>string preIADM = 13;</code>
     * @param value The preIADM to set.
     * @return This builder for chaining.
     */
    public Builder setPreIADM(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      preIADM_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 体检系统预约ID
     * </pre>
     *
     * <code>string preIADM = 13;</code>
     * @return This builder for chaining.
     */
    public Builder clearPreIADM() {
      
      preIADM_ = getDefaultInstance().getPreIADM();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 体检系统预约ID
     * </pre>
     *
     * <code>string preIADM = 13;</code>
     * @param value The bytes for preIADM to set.
     * @return This builder for chaining.
     */
    public Builder setPreIADMBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      preIADM_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object locId_ = "";
    /**
     * <pre>
     * 体检科室ID
     * </pre>
     *
     * <code>string locId = 14;</code>
     * @return The locId.
     */
    public java.lang.String getLocId() {
      java.lang.Object ref = locId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        locId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 体检科室ID
     * </pre>
     *
     * <code>string locId = 14;</code>
     * @return The bytes for locId.
     */
    public com.google.protobuf.ByteString
        getLocIdBytes() {
      java.lang.Object ref = locId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        locId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 体检科室ID
     * </pre>
     *
     * <code>string locId = 14;</code>
     * @param value The locId to set.
     * @return This builder for chaining.
     */
    public Builder setLocId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      locId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 体检科室ID
     * </pre>
     *
     * <code>string locId = 14;</code>
     * @return This builder for chaining.
     */
    public Builder clearLocId() {
      
      locId_ = getDefaultInstance().getLocId();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 体检科室ID
     * </pre>
     *
     * <code>string locId = 14;</code>
     * @param value The bytes for locId to set.
     * @return This builder for chaining.
     */
    public Builder setLocIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      locId_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object locDesc_ = "";
    /**
     * <pre>
     * 体检科室描述
     * </pre>
     *
     * <code>string locDesc = 15;</code>
     * @return The locDesc.
     */
    public java.lang.String getLocDesc() {
      java.lang.Object ref = locDesc_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        locDesc_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 体检科室描述
     * </pre>
     *
     * <code>string locDesc = 15;</code>
     * @return The bytes for locDesc.
     */
    public com.google.protobuf.ByteString
        getLocDescBytes() {
      java.lang.Object ref = locDesc_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        locDesc_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 体检科室描述
     * </pre>
     *
     * <code>string locDesc = 15;</code>
     * @param value The locDesc to set.
     * @return This builder for chaining.
     */
    public Builder setLocDesc(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      locDesc_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 体检科室描述
     * </pre>
     *
     * <code>string locDesc = 15;</code>
     * @return This builder for chaining.
     */
    public Builder clearLocDesc() {
      
      locDesc_ = getDefaultInstance().getLocDesc();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 体检科室描述
     * </pre>
     *
     * <code>string locDesc = 15;</code>
     * @param value The bytes for locDesc to set.
     * @return This builder for chaining.
     */
    public Builder setLocDescBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      locDesc_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object regExamDate_ = "";
    /**
     * <pre>
     * 预约日期
     * </pre>
     *
     * <code>string regExamDate = 16;</code>
     * @return The regExamDate.
     */
    public java.lang.String getRegExamDate() {
      java.lang.Object ref = regExamDate_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        regExamDate_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 预约日期
     * </pre>
     *
     * <code>string regExamDate = 16;</code>
     * @return The bytes for regExamDate.
     */
    public com.google.protobuf.ByteString
        getRegExamDateBytes() {
      java.lang.Object ref = regExamDate_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        regExamDate_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 预约日期
     * </pre>
     *
     * <code>string regExamDate = 16;</code>
     * @param value The regExamDate to set.
     * @return This builder for chaining.
     */
    public Builder setRegExamDate(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      regExamDate_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 预约日期
     * </pre>
     *
     * <code>string regExamDate = 16;</code>
     * @return This builder for chaining.
     */
    public Builder clearRegExamDate() {
      
      regExamDate_ = getDefaultInstance().getRegExamDate();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 预约日期
     * </pre>
     *
     * <code>string regExamDate = 16;</code>
     * @param value The bytes for regExamDate to set.
     * @return This builder for chaining.
     */
    public Builder setRegExamDateBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      regExamDate_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object regExamTime_ = "";
    /**
     * <pre>
     * 预约时间段
     * </pre>
     *
     * <code>string regExamTime = 17;</code>
     * @return The regExamTime.
     */
    public java.lang.String getRegExamTime() {
      java.lang.Object ref = regExamTime_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        regExamTime_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 预约时间段
     * </pre>
     *
     * <code>string regExamTime = 17;</code>
     * @return The bytes for regExamTime.
     */
    public com.google.protobuf.ByteString
        getRegExamTimeBytes() {
      java.lang.Object ref = regExamTime_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        regExamTime_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 预约时间段
     * </pre>
     *
     * <code>string regExamTime = 17;</code>
     * @param value The regExamTime to set.
     * @return This builder for chaining.
     */
    public Builder setRegExamTime(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      regExamTime_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 预约时间段
     * </pre>
     *
     * <code>string regExamTime = 17;</code>
     * @return This builder for chaining.
     */
    public Builder clearRegExamTime() {
      
      regExamTime_ = getDefaultInstance().getRegExamTime();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 预约时间段
     * </pre>
     *
     * <code>string regExamTime = 17;</code>
     * @param value The bytes for regExamTime to set.
     * @return This builder for chaining.
     */
    public Builder setRegExamTimeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      regExamTime_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object pmType_ = "";
    /**
     * <pre>
     * 预约类型 I:个人  G:团体  O:过期主场
     * </pre>
     *
     * <code>string pmType = 18;</code>
     * @return The pmType.
     */
    public java.lang.String getPmType() {
      java.lang.Object ref = pmType_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        pmType_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 预约类型 I:个人  G:团体  O:过期主场
     * </pre>
     *
     * <code>string pmType = 18;</code>
     * @return The bytes for pmType.
     */
    public com.google.protobuf.ByteString
        getPmTypeBytes() {
      java.lang.Object ref = pmType_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        pmType_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 预约类型 I:个人  G:团体  O:过期主场
     * </pre>
     *
     * <code>string pmType = 18;</code>
     * @param value The pmType to set.
     * @return This builder for chaining.
     */
    public Builder setPmType(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      pmType_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 预约类型 I:个人  G:团体  O:过期主场
     * </pre>
     *
     * <code>string pmType = 18;</code>
     * @return This builder for chaining.
     */
    public Builder clearPmType() {
      
      pmType_ = getDefaultInstance().getPmType();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 预约类型 I:个人  G:团体  O:过期主场
     * </pre>
     *
     * <code>string pmType = 18;</code>
     * @param value The bytes for pmType to set.
     * @return This builder for chaining.
     */
    public Builder setPmTypeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      pmType_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object peId_ = "";
    /**
     * <pre>
     * 体检编号
     * </pre>
     *
     * <code>string peId = 19;</code>
     * @return The peId.
     */
    public java.lang.String getPeId() {
      java.lang.Object ref = peId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        peId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 体检编号
     * </pre>
     *
     * <code>string peId = 19;</code>
     * @return The bytes for peId.
     */
    public com.google.protobuf.ByteString
        getPeIdBytes() {
      java.lang.Object ref = peId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        peId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 体检编号
     * </pre>
     *
     * <code>string peId = 19;</code>
     * @param value The peId to set.
     * @return This builder for chaining.
     */
    public Builder setPeId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      peId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 体检编号
     * </pre>
     *
     * <code>string peId = 19;</code>
     * @return This builder for chaining.
     */
    public Builder clearPeId() {
      
      peId_ = getDefaultInstance().getPeId();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 体检编号
     * </pre>
     *
     * <code>string peId = 19;</code>
     * @param value The bytes for peId to set.
     * @return This builder for chaining.
     */
    public Builder setPeIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      peId_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object canModifyFlag_ = "";
    /**
     * <pre>
     * </pre>
     *
     * <code>string canModifyFlag = 20;</code>
     * @return The canModifyFlag.
     */
    public java.lang.String getCanModifyFlag() {
      java.lang.Object ref = canModifyFlag_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        canModifyFlag_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * </pre>
     *
     * <code>string canModifyFlag = 20;</code>
     * @return The bytes for canModifyFlag.
     */
    public com.google.protobuf.ByteString
        getCanModifyFlagBytes() {
      java.lang.Object ref = canModifyFlag_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        canModifyFlag_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * </pre>
     *
     * <code>string canModifyFlag = 20;</code>
     * @param value The canModifyFlag to set.
     * @return This builder for chaining.
     */
    public Builder setCanModifyFlag(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      canModifyFlag_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * </pre>
     *
     * <code>string canModifyFlag = 20;</code>
     * @return This builder for chaining.
     */
    public Builder clearCanModifyFlag() {
      
      canModifyFlag_ = getDefaultInstance().getCanModifyFlag();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * </pre>
     *
     * <code>string canModifyFlag = 20;</code>
     * @param value The bytes for canModifyFlag to set.
     * @return This builder for chaining.
     */
    public Builder setCanModifyFlagBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      canModifyFlag_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object preWay_ = "";
    /**
     * <pre>
     * 预约途径 PC/APP/WeChat/Self-help
     * </pre>
     *
     * <code>string preWay = 21;</code>
     * @return The preWay.
     */
    public java.lang.String getPreWay() {
      java.lang.Object ref = preWay_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        preWay_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 预约途径 PC/APP/WeChat/Self-help
     * </pre>
     *
     * <code>string preWay = 21;</code>
     * @return The bytes for preWay.
     */
    public com.google.protobuf.ByteString
        getPreWayBytes() {
      java.lang.Object ref = preWay_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        preWay_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 预约途径 PC/APP/WeChat/Self-help
     * </pre>
     *
     * <code>string preWay = 21;</code>
     * @param value The preWay to set.
     * @return This builder for chaining.
     */
    public Builder setPreWay(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      preWay_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 预约途径 PC/APP/WeChat/Self-help
     * </pre>
     *
     * <code>string preWay = 21;</code>
     * @return This builder for chaining.
     */
    public Builder clearPreWay() {
      
      preWay_ = getDefaultInstance().getPreWay();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 预约途径 PC/APP/WeChat/Self-help
     * </pre>
     *
     * <code>string preWay = 21;</code>
     * @param value The bytes for preWay to set.
     * @return This builder for chaining.
     */
    public Builder setPreWayBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      preWay_ = value;
      onChanged();
      return this;
    }

    private java.util.List<com.ywt.gapi.checkup_booking.RegCheckupItem> regCheckupItem_ =
      java.util.Collections.emptyList();
    private void ensureRegCheckupItemIsMutable() {
      if (!((bitField0_ & 0x00000001) != 0)) {
        regCheckupItem_ = new java.util.ArrayList<com.ywt.gapi.checkup_booking.RegCheckupItem>(regCheckupItem_);
        bitField0_ |= 0x00000001;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.ywt.gapi.checkup_booking.RegCheckupItem, com.ywt.gapi.checkup_booking.RegCheckupItem.Builder, com.ywt.gapi.checkup_booking.RegCheckupItemOrBuilder> regCheckupItemBuilder_;

    /**
     * <pre>
     *  体检项目详情列表
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.checkup_booking.RegCheckupItem regCheckupItem = 22;</code>
     */
    public java.util.List<com.ywt.gapi.checkup_booking.RegCheckupItem> getRegCheckupItemList() {
      if (regCheckupItemBuilder_ == null) {
        return java.util.Collections.unmodifiableList(regCheckupItem_);
      } else {
        return regCheckupItemBuilder_.getMessageList();
      }
    }
    /**
     * <pre>
     *  体检项目详情列表
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.checkup_booking.RegCheckupItem regCheckupItem = 22;</code>
     */
    public int getRegCheckupItemCount() {
      if (regCheckupItemBuilder_ == null) {
        return regCheckupItem_.size();
      } else {
        return regCheckupItemBuilder_.getCount();
      }
    }
    /**
     * <pre>
     *  体检项目详情列表
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.checkup_booking.RegCheckupItem regCheckupItem = 22;</code>
     */
    public com.ywt.gapi.checkup_booking.RegCheckupItem getRegCheckupItem(int index) {
      if (regCheckupItemBuilder_ == null) {
        return regCheckupItem_.get(index);
      } else {
        return regCheckupItemBuilder_.getMessage(index);
      }
    }
    /**
     * <pre>
     *  体检项目详情列表
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.checkup_booking.RegCheckupItem regCheckupItem = 22;</code>
     */
    public Builder setRegCheckupItem(
        int index, com.ywt.gapi.checkup_booking.RegCheckupItem value) {
      if (regCheckupItemBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureRegCheckupItemIsMutable();
        regCheckupItem_.set(index, value);
        onChanged();
      } else {
        regCheckupItemBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * <pre>
     *  体检项目详情列表
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.checkup_booking.RegCheckupItem regCheckupItem = 22;</code>
     */
    public Builder setRegCheckupItem(
        int index, com.ywt.gapi.checkup_booking.RegCheckupItem.Builder builderForValue) {
      if (regCheckupItemBuilder_ == null) {
        ensureRegCheckupItemIsMutable();
        regCheckupItem_.set(index, builderForValue.build());
        onChanged();
      } else {
        regCheckupItemBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <pre>
     *  体检项目详情列表
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.checkup_booking.RegCheckupItem regCheckupItem = 22;</code>
     */
    public Builder addRegCheckupItem(com.ywt.gapi.checkup_booking.RegCheckupItem value) {
      if (regCheckupItemBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureRegCheckupItemIsMutable();
        regCheckupItem_.add(value);
        onChanged();
      } else {
        regCheckupItemBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * <pre>
     *  体检项目详情列表
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.checkup_booking.RegCheckupItem regCheckupItem = 22;</code>
     */
    public Builder addRegCheckupItem(
        int index, com.ywt.gapi.checkup_booking.RegCheckupItem value) {
      if (regCheckupItemBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureRegCheckupItemIsMutable();
        regCheckupItem_.add(index, value);
        onChanged();
      } else {
        regCheckupItemBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * <pre>
     *  体检项目详情列表
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.checkup_booking.RegCheckupItem regCheckupItem = 22;</code>
     */
    public Builder addRegCheckupItem(
        com.ywt.gapi.checkup_booking.RegCheckupItem.Builder builderForValue) {
      if (regCheckupItemBuilder_ == null) {
        ensureRegCheckupItemIsMutable();
        regCheckupItem_.add(builderForValue.build());
        onChanged();
      } else {
        regCheckupItemBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * <pre>
     *  体检项目详情列表
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.checkup_booking.RegCheckupItem regCheckupItem = 22;</code>
     */
    public Builder addRegCheckupItem(
        int index, com.ywt.gapi.checkup_booking.RegCheckupItem.Builder builderForValue) {
      if (regCheckupItemBuilder_ == null) {
        ensureRegCheckupItemIsMutable();
        regCheckupItem_.add(index, builderForValue.build());
        onChanged();
      } else {
        regCheckupItemBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <pre>
     *  体检项目详情列表
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.checkup_booking.RegCheckupItem regCheckupItem = 22;</code>
     */
    public Builder addAllRegCheckupItem(
        java.lang.Iterable<? extends com.ywt.gapi.checkup_booking.RegCheckupItem> values) {
      if (regCheckupItemBuilder_ == null) {
        ensureRegCheckupItemIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, regCheckupItem_);
        onChanged();
      } else {
        regCheckupItemBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * <pre>
     *  体检项目详情列表
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.checkup_booking.RegCheckupItem regCheckupItem = 22;</code>
     */
    public Builder clearRegCheckupItem() {
      if (regCheckupItemBuilder_ == null) {
        regCheckupItem_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
      } else {
        regCheckupItemBuilder_.clear();
      }
      return this;
    }
    /**
     * <pre>
     *  体检项目详情列表
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.checkup_booking.RegCheckupItem regCheckupItem = 22;</code>
     */
    public Builder removeRegCheckupItem(int index) {
      if (regCheckupItemBuilder_ == null) {
        ensureRegCheckupItemIsMutable();
        regCheckupItem_.remove(index);
        onChanged();
      } else {
        regCheckupItemBuilder_.remove(index);
      }
      return this;
    }
    /**
     * <pre>
     *  体检项目详情列表
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.checkup_booking.RegCheckupItem regCheckupItem = 22;</code>
     */
    public com.ywt.gapi.checkup_booking.RegCheckupItem.Builder getRegCheckupItemBuilder(
        int index) {
      return getRegCheckupItemFieldBuilder().getBuilder(index);
    }
    /**
     * <pre>
     *  体检项目详情列表
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.checkup_booking.RegCheckupItem regCheckupItem = 22;</code>
     */
    public com.ywt.gapi.checkup_booking.RegCheckupItemOrBuilder getRegCheckupItemOrBuilder(
        int index) {
      if (regCheckupItemBuilder_ == null) {
        return regCheckupItem_.get(index);  } else {
        return regCheckupItemBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * <pre>
     *  体检项目详情列表
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.checkup_booking.RegCheckupItem regCheckupItem = 22;</code>
     */
    public java.util.List<? extends com.ywt.gapi.checkup_booking.RegCheckupItemOrBuilder> 
         getRegCheckupItemOrBuilderList() {
      if (regCheckupItemBuilder_ != null) {
        return regCheckupItemBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(regCheckupItem_);
      }
    }
    /**
     * <pre>
     *  体检项目详情列表
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.checkup_booking.RegCheckupItem regCheckupItem = 22;</code>
     */
    public com.ywt.gapi.checkup_booking.RegCheckupItem.Builder addRegCheckupItemBuilder() {
      return getRegCheckupItemFieldBuilder().addBuilder(
          com.ywt.gapi.checkup_booking.RegCheckupItem.getDefaultInstance());
    }
    /**
     * <pre>
     *  体检项目详情列表
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.checkup_booking.RegCheckupItem regCheckupItem = 22;</code>
     */
    public com.ywt.gapi.checkup_booking.RegCheckupItem.Builder addRegCheckupItemBuilder(
        int index) {
      return getRegCheckupItemFieldBuilder().addBuilder(
          index, com.ywt.gapi.checkup_booking.RegCheckupItem.getDefaultInstance());
    }
    /**
     * <pre>
     *  体检项目详情列表
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.checkup_booking.RegCheckupItem regCheckupItem = 22;</code>
     */
    public java.util.List<com.ywt.gapi.checkup_booking.RegCheckupItem.Builder> 
         getRegCheckupItemBuilderList() {
      return getRegCheckupItemFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.ywt.gapi.checkup_booking.RegCheckupItem, com.ywt.gapi.checkup_booking.RegCheckupItem.Builder, com.ywt.gapi.checkup_booking.RegCheckupItemOrBuilder> 
        getRegCheckupItemFieldBuilder() {
      if (regCheckupItemBuilder_ == null) {
        regCheckupItemBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            com.ywt.gapi.checkup_booking.RegCheckupItem, com.ywt.gapi.checkup_booking.RegCheckupItem.Builder, com.ywt.gapi.checkup_booking.RegCheckupItemOrBuilder>(
                regCheckupItem_,
                ((bitField0_ & 0x00000001) != 0),
                getParentForChildren(),
                isClean());
        regCheckupItem_ = null;
      }
      return regCheckupItemBuilder_;
    }

    private java.lang.Object ordSetsId_ = "";
    /**
     * <pre>
     * HIS 套餐 id
     * </pre>
     *
     * <code>string ordSetsId = 23;</code>
     * @return The ordSetsId.
     */
    public java.lang.String getOrdSetsId() {
      java.lang.Object ref = ordSetsId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        ordSetsId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * HIS 套餐 id
     * </pre>
     *
     * <code>string ordSetsId = 23;</code>
     * @return The bytes for ordSetsId.
     */
    public com.google.protobuf.ByteString
        getOrdSetsIdBytes() {
      java.lang.Object ref = ordSetsId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        ordSetsId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * HIS 套餐 id
     * </pre>
     *
     * <code>string ordSetsId = 23;</code>
     * @param value The ordSetsId to set.
     * @return This builder for chaining.
     */
    public Builder setOrdSetsId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      ordSetsId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * HIS 套餐 id
     * </pre>
     *
     * <code>string ordSetsId = 23;</code>
     * @return This builder for chaining.
     */
    public Builder clearOrdSetsId() {
      
      ordSetsId_ = getDefaultInstance().getOrdSetsId();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * HIS 套餐 id
     * </pre>
     *
     * <code>string ordSetsId = 23;</code>
     * @param value The bytes for ordSetsId to set.
     * @return This builder for chaining.
     */
    public Builder setOrdSetsIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      ordSetsId_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object ordSetsDesc_ = "";
    /**
     * <pre>
     * 套餐名称
     * </pre>
     *
     * <code>string ordSetsDesc = 24;</code>
     * @return The ordSetsDesc.
     */
    public java.lang.String getOrdSetsDesc() {
      java.lang.Object ref = ordSetsDesc_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        ordSetsDesc_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 套餐名称
     * </pre>
     *
     * <code>string ordSetsDesc = 24;</code>
     * @return The bytes for ordSetsDesc.
     */
    public com.google.protobuf.ByteString
        getOrdSetsDescBytes() {
      java.lang.Object ref = ordSetsDesc_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        ordSetsDesc_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 套餐名称
     * </pre>
     *
     * <code>string ordSetsDesc = 24;</code>
     * @param value The ordSetsDesc to set.
     * @return This builder for chaining.
     */
    public Builder setOrdSetsDesc(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      ordSetsDesc_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 套餐名称
     * </pre>
     *
     * <code>string ordSetsDesc = 24;</code>
     * @return This builder for chaining.
     */
    public Builder clearOrdSetsDesc() {
      
      ordSetsDesc_ = getDefaultInstance().getOrdSetsDesc();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 套餐名称
     * </pre>
     *
     * <code>string ordSetsDesc = 24;</code>
     * @param value The bytes for ordSetsDesc to set.
     * @return This builder for chaining.
     */
    public Builder setOrdSetsDescBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      ordSetsDesc_ = value;
      onChanged();
      return this;
    }
    @java.lang.Override
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

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


    // @@protoc_insertion_point(builder_scope:com.ywt.gapi.checkup_booking.RegRecord)
  }

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

  public static com.ywt.gapi.checkup_booking.RegRecord getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

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

}

