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

package com.ywt.gapi.taihe.register;

/**
 * <pre>
 *预约挂号订单详情
 * </pre>
 *
 * Protobuf type {@code com.ywt.gapi.taihe.register.RegisteredOrder}
 */
public  final class RegisteredOrder extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.taihe.register.RegisteredOrder)
    RegisteredOrderOrBuilder {
  // Use RegisteredOrder.newBuilder() to construct.
  private RegisteredOrder(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private RegisteredOrder() {
    orderId_ = 0;
    registeredId_ = 0;
    userId_ = 0;
    hospitalId_ = 0;
    hospitalName_ = "";
    registeredDate_ = 0L;
    registeredPeriod_ = 0;
    startTime_ = "";
    endTime_ = "";
    medicalCardId_ = 0;
    patientName_ = "";
    paymentChannel_ = 0;
    updateTime_ = 0L;
    createTime_ = 0L;
    doctorCode_ = "";
    deptCode_ = "";
    deptName_ = "";
    registeredFee_ = 0;
    medicalFee_ = 0;
    paymentStatus_ = 0;
    registeredStatus_ = 0;
    remark_ = "";
    orderNo_ = "";
    orderRemark_ = "";
    orderType_ = 0;
    total_ = 0;
    doctorName_ = "";
    sex_ = 0;
    hisClinicCode_ = "";
    address_ = "";
    statusName_ = "";
    status_ = 0;
    paymentDate_ = 0L;
    registeredType_ = 0;
    hisSeqCode_ = "";
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
  }
  private RegisteredOrder(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    int mutable_bitField0_ = 0;
    int mutable_bitField1_ = 0;
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          default: {
            if (!input.skipField(tag)) {
              done = true;
            }
            break;
          }
          case 8: {

            orderId_ = input.readInt32();
            break;
          }
          case 16: {

            registeredId_ = input.readInt32();
            break;
          }
          case 24: {

            userId_ = input.readInt32();
            break;
          }
          case 32: {

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

            hospitalName_ = s;
            break;
          }
          case 48: {

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

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

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

            endTime_ = s;
            break;
          }
          case 80: {

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

            patientName_ = s;
            break;
          }
          case 96: {

            paymentChannel_ = input.readInt32();
            break;
          }
          case 104: {

            updateTime_ = input.readInt64();
            break;
          }
          case 112: {

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

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

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

            deptName_ = s;
            break;
          }
          case 144: {

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

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

            paymentStatus_ = input.readInt32();
            break;
          }
          case 168: {

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

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

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

            orderRemark_ = s;
            break;
          }
          case 200: {

            orderType_ = input.readInt32();
            break;
          }
          case 208: {

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

            doctorName_ = s;
            break;
          }
          case 224: {

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

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

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

            statusName_ = s;
            break;
          }
          case 256: {

            status_ = input.readInt32();
            break;
          }
          case 264: {

            paymentDate_ = input.readInt64();
            break;
          }
          case 272: {

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

            hisSeqCode_ = s;
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.ywt.gapi.taihe.register.TaiheRegister.internal_static_com_ywt_gapi_taihe_register_RegisteredOrder_descriptor;
  }

  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.ywt.gapi.taihe.register.TaiheRegister.internal_static_com_ywt_gapi_taihe_register_RegisteredOrder_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.ywt.gapi.taihe.register.RegisteredOrder.class, com.ywt.gapi.taihe.register.RegisteredOrder.Builder.class);
  }

  public static final int ORDERID_FIELD_NUMBER = 1;
  private int orderId_;
  /**
   * <pre>
   *预约挂号订单ID
   * </pre>
   *
   * <code>int32 orderId = 1;</code>
   */
  public int getOrderId() {
    return orderId_;
  }

  public static final int REGISTEREDID_FIELD_NUMBER = 2;
  private int registeredId_;
  /**
   * <code>int32 registeredId = 2;</code>
   */
  public int getRegisteredId() {
    return registeredId_;
  }

  public static final int USERID_FIELD_NUMBER = 3;
  private int userId_;
  /**
   * <code>int32 userId = 3;</code>
   */
  public int getUserId() {
    return userId_;
  }

  public static final int HOSPITALID_FIELD_NUMBER = 4;
  private int hospitalId_;
  /**
   * <code>int32 hospitalId = 4;</code>
   */
  public int getHospitalId() {
    return hospitalId_;
  }

  public static final int HOSPITALNAME_FIELD_NUMBER = 5;
  private volatile java.lang.Object hospitalName_;
  /**
   * <code>string hospitalName = 5;</code>
   */
  public java.lang.String getHospitalName() {
    java.lang.Object ref = hospitalName_;
    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();
      hospitalName_ = s;
      return s;
    }
  }
  /**
   * <code>string hospitalName = 5;</code>
   */
  public com.google.protobuf.ByteString
      getHospitalNameBytes() {
    java.lang.Object ref = hospitalName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      hospitalName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int REGISTEREDDATE_FIELD_NUMBER = 6;
  private long registeredDate_;
  /**
   * <pre>
   *预约日期
   * </pre>
   *
   * <code>int64 registeredDate = 6;</code>
   */
  public long getRegisteredDate() {
    return registeredDate_;
  }

  public static final int REGISTEREDPERIOD_FIELD_NUMBER = 7;
  private int registeredPeriod_;
  /**
   * <code>int32 registeredPeriod = 7;</code>
   */
  public int getRegisteredPeriod() {
    return registeredPeriod_;
  }

  public static final int STARTTIME_FIELD_NUMBER = 8;
  private volatile java.lang.Object startTime_;
  /**
   * <pre>
   *开始时间
   * </pre>
   *
   * <code>string startTime = 8;</code>
   */
  public java.lang.String getStartTime() {
    java.lang.Object ref = startTime_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      startTime_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *开始时间
   * </pre>
   *
   * <code>string startTime = 8;</code>
   */
  public com.google.protobuf.ByteString
      getStartTimeBytes() {
    java.lang.Object ref = startTime_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      startTime_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ENDTIME_FIELD_NUMBER = 9;
  private volatile java.lang.Object endTime_;
  /**
   * <pre>
   *截止时间
   * </pre>
   *
   * <code>string endTime = 9;</code>
   */
  public java.lang.String getEndTime() {
    java.lang.Object ref = endTime_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      endTime_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *截止时间
   * </pre>
   *
   * <code>string endTime = 9;</code>
   */
  public com.google.protobuf.ByteString
      getEndTimeBytes() {
    java.lang.Object ref = endTime_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      endTime_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int MEDICALCARDID_FIELD_NUMBER = 10;
  private int medicalCardId_;
  /**
   * <code>int32 medicalCardId = 10;</code>
   */
  public int getMedicalCardId() {
    return medicalCardId_;
  }

  public static final int PATIENTNAME_FIELD_NUMBER = 11;
  private volatile java.lang.Object patientName_;
  /**
   * <pre>
   *患者姓名
   * </pre>
   *
   * <code>string patientName = 11;</code>
   */
  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 = 11;</code>
   */
  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 PAYMENTCHANNEL_FIELD_NUMBER = 12;
  private int paymentChannel_;
  /**
   * <code>int32 paymentChannel = 12;</code>
   */
  public int getPaymentChannel() {
    return paymentChannel_;
  }

  public static final int UPDATETIME_FIELD_NUMBER = 13;
  private long updateTime_;
  /**
   * <code>int64 updateTime = 13;</code>
   */
  public long getUpdateTime() {
    return updateTime_;
  }

  public static final int CREATETIME_FIELD_NUMBER = 14;
  private long createTime_;
  /**
   * <code>int64 createTime = 14;</code>
   */
  public long getCreateTime() {
    return createTime_;
  }

  public static final int DOCTORCODE_FIELD_NUMBER = 15;
  private volatile java.lang.Object doctorCode_;
  /**
   * <code>string doctorCode = 15;</code>
   */
  public java.lang.String getDoctorCode() {
    java.lang.Object ref = doctorCode_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      doctorCode_ = s;
      return s;
    }
  }
  /**
   * <code>string doctorCode = 15;</code>
   */
  public com.google.protobuf.ByteString
      getDoctorCodeBytes() {
    java.lang.Object ref = doctorCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      doctorCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DEPTCODE_FIELD_NUMBER = 16;
  private volatile java.lang.Object deptCode_;
  /**
   * <code>string deptCode = 16;</code>
   */
  public java.lang.String getDeptCode() {
    java.lang.Object ref = deptCode_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      deptCode_ = s;
      return s;
    }
  }
  /**
   * <code>string deptCode = 16;</code>
   */
  public com.google.protobuf.ByteString
      getDeptCodeBytes() {
    java.lang.Object ref = deptCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      deptCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DEPTNAME_FIELD_NUMBER = 17;
  private volatile java.lang.Object deptName_;
  /**
   * <pre>
   *预约科室
   * </pre>
   *
   * <code>string deptName = 17;</code>
   */
  public java.lang.String getDeptName() {
    java.lang.Object ref = deptName_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      deptName_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *预约科室
   * </pre>
   *
   * <code>string deptName = 17;</code>
   */
  public com.google.protobuf.ByteString
      getDeptNameBytes() {
    java.lang.Object ref = deptName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      deptName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int REGISTEREDFEE_FIELD_NUMBER = 18;
  private int registeredFee_;
  /**
   * <code>int32 registeredFee = 18;</code>
   */
  public int getRegisteredFee() {
    return registeredFee_;
  }

  public static final int MEDICALFEE_FIELD_NUMBER = 19;
  private int medicalFee_;
  /**
   * <code>int32 medicalFee = 19;</code>
   */
  public int getMedicalFee() {
    return medicalFee_;
  }

  public static final int PAYMENTSTATUS_FIELD_NUMBER = 20;
  private int paymentStatus_;
  /**
   * <pre>
   *支付状态
   * </pre>
   *
   * <code>int32 paymentStatus = 20;</code>
   */
  public int getPaymentStatus() {
    return paymentStatus_;
  }

  public static final int REGISTEREDSTATUS_FIELD_NUMBER = 21;
  private int registeredStatus_;
  /**
   * <code>int32 registeredStatus = 21;</code>
   */
  public int getRegisteredStatus() {
    return registeredStatus_;
  }

  public static final int REMARK_FIELD_NUMBER = 22;
  private volatile java.lang.Object remark_;
  /**
   * <code>string remark = 22;</code>
   */
  public java.lang.String getRemark() {
    java.lang.Object ref = remark_;
    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();
      remark_ = s;
      return s;
    }
  }
  /**
   * <code>string remark = 22;</code>
   */
  public com.google.protobuf.ByteString
      getRemarkBytes() {
    java.lang.Object ref = remark_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      remark_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ORDERNO_FIELD_NUMBER = 23;
  private volatile java.lang.Object orderNo_;
  /**
   * <code>string orderNo = 23;</code>
   */
  public java.lang.String getOrderNo() {
    java.lang.Object ref = orderNo_;
    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();
      orderNo_ = s;
      return s;
    }
  }
  /**
   * <code>string orderNo = 23;</code>
   */
  public com.google.protobuf.ByteString
      getOrderNoBytes() {
    java.lang.Object ref = orderNo_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      orderNo_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ORDERREMARK_FIELD_NUMBER = 24;
  private volatile java.lang.Object orderRemark_;
  /**
   * <code>string orderRemark = 24;</code>
   */
  public java.lang.String getOrderRemark() {
    java.lang.Object ref = orderRemark_;
    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();
      orderRemark_ = s;
      return s;
    }
  }
  /**
   * <code>string orderRemark = 24;</code>
   */
  public com.google.protobuf.ByteString
      getOrderRemarkBytes() {
    java.lang.Object ref = orderRemark_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      orderRemark_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ORDERTYPE_FIELD_NUMBER = 25;
  private int orderType_;
  /**
   * <code>int32 orderType = 25;</code>
   */
  public int getOrderType() {
    return orderType_;
  }

  public static final int TOTAL_FIELD_NUMBER = 26;
  private int total_;
  /**
   * <code>int32 total = 26;</code>
   */
  public int getTotal() {
    return total_;
  }

  public static final int DOCTORNAME_FIELD_NUMBER = 27;
  private volatile java.lang.Object doctorName_;
  /**
   * <pre>
   *预约医生
   * </pre>
   *
   * <code>string doctorName = 27;</code>
   */
  public java.lang.String getDoctorName() {
    java.lang.Object ref = doctorName_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      doctorName_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *预约医生
   * </pre>
   *
   * <code>string doctorName = 27;</code>
   */
  public com.google.protobuf.ByteString
      getDoctorNameBytes() {
    java.lang.Object ref = doctorName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      doctorName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int SEX_FIELD_NUMBER = 28;
  private int sex_;
  /**
   * <code>int32 sex = 28;</code>
   */
  public int getSex() {
    return sex_;
  }

  public static final int HISCLINICCODE_FIELD_NUMBER = 29;
  private volatile java.lang.Object hisClinicCode_;
  /**
   * <pre>
   *就诊流水号
   * </pre>
   *
   * <code>string hisClinicCode = 29;</code>
   */
  public java.lang.String getHisClinicCode() {
    java.lang.Object ref = hisClinicCode_;
    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();
      hisClinicCode_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *就诊流水号
   * </pre>
   *
   * <code>string hisClinicCode = 29;</code>
   */
  public com.google.protobuf.ByteString
      getHisClinicCodeBytes() {
    java.lang.Object ref = hisClinicCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      hisClinicCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ADDRESS_FIELD_NUMBER = 30;
  private volatile java.lang.Object address_;
  /**
   * <pre>
   *就诊地点
   * </pre>
   *
   * <code>string address = 30;</code>
   */
  public java.lang.String getAddress() {
    java.lang.Object ref = address_;
    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();
      address_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *就诊地点
   * </pre>
   *
   * <code>string address = 30;</code>
   */
  public com.google.protobuf.ByteString
      getAddressBytes() {
    java.lang.Object ref = address_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      address_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int STATUSNAME_FIELD_NUMBER = 31;
  private volatile java.lang.Object statusName_;
  /**
   * <pre>
   *取号状态（文字）
   * </pre>
   *
   * <code>string statusName = 31;</code>
   */
  public java.lang.String getStatusName() {
    java.lang.Object ref = statusName_;
    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();
      statusName_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *取号状态（文字）
   * </pre>
   *
   * <code>string statusName = 31;</code>
   */
  public com.google.protobuf.ByteString
      getStatusNameBytes() {
    java.lang.Object ref = statusName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      statusName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int STATUS_FIELD_NUMBER = 32;
  private int status_;
  /**
   * <pre>
   *取号状态（数字）
   * </pre>
   *
   * <code>int32 status = 32;</code>
   */
  public int getStatus() {
    return status_;
  }

  public static final int PAYMENTDATE_FIELD_NUMBER = 33;
  private long paymentDate_;
  /**
   * <pre>
   *支付日期
   * </pre>
   *
   * <code>int64 paymentDate = 33;</code>
   */
  public long getPaymentDate() {
    return paymentDate_;
  }

  public static final int REGISTEREDTYPE_FIELD_NUMBER = 34;
  private int registeredType_;
  /**
   * <code>int32 registeredType = 34;</code>
   */
  public int getRegisteredType() {
    return registeredType_;
  }

  public static final int HISSEQCODE_FIELD_NUMBER = 35;
  private volatile java.lang.Object hisSeqCode_;
  /**
   * <code>string hisSeqCode = 35;</code>
   */
  public java.lang.String getHisSeqCode() {
    java.lang.Object ref = hisSeqCode_;
    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();
      hisSeqCode_ = s;
      return s;
    }
  }
  /**
   * <code>string hisSeqCode = 35;</code>
   */
  public com.google.protobuf.ByteString
      getHisSeqCodeBytes() {
    java.lang.Object ref = hisSeqCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      hisSeqCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  private byte memoizedIsInitialized = -1;
  public final boolean isInitialized() {
    byte isInitialized = memoizedIsInitialized;
    if (isInitialized == 1) return true;
    if (isInitialized == 0) return false;

    memoizedIsInitialized = 1;
    return true;
  }

  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (orderId_ != 0) {
      output.writeInt32(1, orderId_);
    }
    if (registeredId_ != 0) {
      output.writeInt32(2, registeredId_);
    }
    if (userId_ != 0) {
      output.writeInt32(3, userId_);
    }
    if (hospitalId_ != 0) {
      output.writeInt32(4, hospitalId_);
    }
    if (!getHospitalNameBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, hospitalName_);
    }
    if (registeredDate_ != 0L) {
      output.writeInt64(6, registeredDate_);
    }
    if (registeredPeriod_ != 0) {
      output.writeInt32(7, registeredPeriod_);
    }
    if (!getStartTimeBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, startTime_);
    }
    if (!getEndTimeBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, endTime_);
    }
    if (medicalCardId_ != 0) {
      output.writeInt32(10, medicalCardId_);
    }
    if (!getPatientNameBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 11, patientName_);
    }
    if (paymentChannel_ != 0) {
      output.writeInt32(12, paymentChannel_);
    }
    if (updateTime_ != 0L) {
      output.writeInt64(13, updateTime_);
    }
    if (createTime_ != 0L) {
      output.writeInt64(14, createTime_);
    }
    if (!getDoctorCodeBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 15, doctorCode_);
    }
    if (!getDeptCodeBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 16, deptCode_);
    }
    if (!getDeptNameBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 17, deptName_);
    }
    if (registeredFee_ != 0) {
      output.writeInt32(18, registeredFee_);
    }
    if (medicalFee_ != 0) {
      output.writeInt32(19, medicalFee_);
    }
    if (paymentStatus_ != 0) {
      output.writeInt32(20, paymentStatus_);
    }
    if (registeredStatus_ != 0) {
      output.writeInt32(21, registeredStatus_);
    }
    if (!getRemarkBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 22, remark_);
    }
    if (!getOrderNoBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 23, orderNo_);
    }
    if (!getOrderRemarkBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 24, orderRemark_);
    }
    if (orderType_ != 0) {
      output.writeInt32(25, orderType_);
    }
    if (total_ != 0) {
      output.writeInt32(26, total_);
    }
    if (!getDoctorNameBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 27, doctorName_);
    }
    if (sex_ != 0) {
      output.writeInt32(28, sex_);
    }
    if (!getHisClinicCodeBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 29, hisClinicCode_);
    }
    if (!getAddressBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 30, address_);
    }
    if (!getStatusNameBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 31, statusName_);
    }
    if (status_ != 0) {
      output.writeInt32(32, status_);
    }
    if (paymentDate_ != 0L) {
      output.writeInt64(33, paymentDate_);
    }
    if (registeredType_ != 0) {
      output.writeInt32(34, registeredType_);
    }
    if (!getHisSeqCodeBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 35, hisSeqCode_);
    }
  }

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

    size = 0;
    if (orderId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(1, orderId_);
    }
    if (registeredId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(2, registeredId_);
    }
    if (userId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(3, userId_);
    }
    if (hospitalId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(4, hospitalId_);
    }
    if (!getHospitalNameBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, hospitalName_);
    }
    if (registeredDate_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt64Size(6, registeredDate_);
    }
    if (registeredPeriod_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(7, registeredPeriod_);
    }
    if (!getStartTimeBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, startTime_);
    }
    if (!getEndTimeBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, endTime_);
    }
    if (medicalCardId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(10, medicalCardId_);
    }
    if (!getPatientNameBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, patientName_);
    }
    if (paymentChannel_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(12, paymentChannel_);
    }
    if (updateTime_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt64Size(13, updateTime_);
    }
    if (createTime_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt64Size(14, createTime_);
    }
    if (!getDoctorCodeBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, doctorCode_);
    }
    if (!getDeptCodeBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, deptCode_);
    }
    if (!getDeptNameBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, deptName_);
    }
    if (registeredFee_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(18, registeredFee_);
    }
    if (medicalFee_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(19, medicalFee_);
    }
    if (paymentStatus_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(20, paymentStatus_);
    }
    if (registeredStatus_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(21, registeredStatus_);
    }
    if (!getRemarkBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, remark_);
    }
    if (!getOrderNoBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(23, orderNo_);
    }
    if (!getOrderRemarkBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(24, orderRemark_);
    }
    if (orderType_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(25, orderType_);
    }
    if (total_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(26, total_);
    }
    if (!getDoctorNameBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(27, doctorName_);
    }
    if (sex_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(28, sex_);
    }
    if (!getHisClinicCodeBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(29, hisClinicCode_);
    }
    if (!getAddressBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(30, address_);
    }
    if (!getStatusNameBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(31, statusName_);
    }
    if (status_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(32, status_);
    }
    if (paymentDate_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt64Size(33, paymentDate_);
    }
    if (registeredType_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(34, registeredType_);
    }
    if (!getHisSeqCodeBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(35, hisSeqCode_);
    }
    memoizedSize = size;
    return size;
  }

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

    boolean result = true;
    result = result && (getOrderId()
        == other.getOrderId());
    result = result && (getRegisteredId()
        == other.getRegisteredId());
    result = result && (getUserId()
        == other.getUserId());
    result = result && (getHospitalId()
        == other.getHospitalId());
    result = result && getHospitalName()
        .equals(other.getHospitalName());
    result = result && (getRegisteredDate()
        == other.getRegisteredDate());
    result = result && (getRegisteredPeriod()
        == other.getRegisteredPeriod());
    result = result && getStartTime()
        .equals(other.getStartTime());
    result = result && getEndTime()
        .equals(other.getEndTime());
    result = result && (getMedicalCardId()
        == other.getMedicalCardId());
    result = result && getPatientName()
        .equals(other.getPatientName());
    result = result && (getPaymentChannel()
        == other.getPaymentChannel());
    result = result && (getUpdateTime()
        == other.getUpdateTime());
    result = result && (getCreateTime()
        == other.getCreateTime());
    result = result && getDoctorCode()
        .equals(other.getDoctorCode());
    result = result && getDeptCode()
        .equals(other.getDeptCode());
    result = result && getDeptName()
        .equals(other.getDeptName());
    result = result && (getRegisteredFee()
        == other.getRegisteredFee());
    result = result && (getMedicalFee()
        == other.getMedicalFee());
    result = result && (getPaymentStatus()
        == other.getPaymentStatus());
    result = result && (getRegisteredStatus()
        == other.getRegisteredStatus());
    result = result && getRemark()
        .equals(other.getRemark());
    result = result && getOrderNo()
        .equals(other.getOrderNo());
    result = result && getOrderRemark()
        .equals(other.getOrderRemark());
    result = result && (getOrderType()
        == other.getOrderType());
    result = result && (getTotal()
        == other.getTotal());
    result = result && getDoctorName()
        .equals(other.getDoctorName());
    result = result && (getSex()
        == other.getSex());
    result = result && getHisClinicCode()
        .equals(other.getHisClinicCode());
    result = result && getAddress()
        .equals(other.getAddress());
    result = result && getStatusName()
        .equals(other.getStatusName());
    result = result && (getStatus()
        == other.getStatus());
    result = result && (getPaymentDate()
        == other.getPaymentDate());
    result = result && (getRegisteredType()
        == other.getRegisteredType());
    result = result && getHisSeqCode()
        .equals(other.getHisSeqCode());
    return result;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + ORDERID_FIELD_NUMBER;
    hash = (53 * hash) + getOrderId();
    hash = (37 * hash) + REGISTEREDID_FIELD_NUMBER;
    hash = (53 * hash) + getRegisteredId();
    hash = (37 * hash) + USERID_FIELD_NUMBER;
    hash = (53 * hash) + getUserId();
    hash = (37 * hash) + HOSPITALID_FIELD_NUMBER;
    hash = (53 * hash) + getHospitalId();
    hash = (37 * hash) + HOSPITALNAME_FIELD_NUMBER;
    hash = (53 * hash) + getHospitalName().hashCode();
    hash = (37 * hash) + REGISTEREDDATE_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getRegisteredDate());
    hash = (37 * hash) + REGISTEREDPERIOD_FIELD_NUMBER;
    hash = (53 * hash) + getRegisteredPeriod();
    hash = (37 * hash) + STARTTIME_FIELD_NUMBER;
    hash = (53 * hash) + getStartTime().hashCode();
    hash = (37 * hash) + ENDTIME_FIELD_NUMBER;
    hash = (53 * hash) + getEndTime().hashCode();
    hash = (37 * hash) + MEDICALCARDID_FIELD_NUMBER;
    hash = (53 * hash) + getMedicalCardId();
    hash = (37 * hash) + PATIENTNAME_FIELD_NUMBER;
    hash = (53 * hash) + getPatientName().hashCode();
    hash = (37 * hash) + PAYMENTCHANNEL_FIELD_NUMBER;
    hash = (53 * hash) + getPaymentChannel();
    hash = (37 * hash) + UPDATETIME_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getUpdateTime());
    hash = (37 * hash) + CREATETIME_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getCreateTime());
    hash = (37 * hash) + DOCTORCODE_FIELD_NUMBER;
    hash = (53 * hash) + getDoctorCode().hashCode();
    hash = (37 * hash) + DEPTCODE_FIELD_NUMBER;
    hash = (53 * hash) + getDeptCode().hashCode();
    hash = (37 * hash) + DEPTNAME_FIELD_NUMBER;
    hash = (53 * hash) + getDeptName().hashCode();
    hash = (37 * hash) + REGISTEREDFEE_FIELD_NUMBER;
    hash = (53 * hash) + getRegisteredFee();
    hash = (37 * hash) + MEDICALFEE_FIELD_NUMBER;
    hash = (53 * hash) + getMedicalFee();
    hash = (37 * hash) + PAYMENTSTATUS_FIELD_NUMBER;
    hash = (53 * hash) + getPaymentStatus();
    hash = (37 * hash) + REGISTEREDSTATUS_FIELD_NUMBER;
    hash = (53 * hash) + getRegisteredStatus();
    hash = (37 * hash) + REMARK_FIELD_NUMBER;
    hash = (53 * hash) + getRemark().hashCode();
    hash = (37 * hash) + ORDERNO_FIELD_NUMBER;
    hash = (53 * hash) + getOrderNo().hashCode();
    hash = (37 * hash) + ORDERREMARK_FIELD_NUMBER;
    hash = (53 * hash) + getOrderRemark().hashCode();
    hash = (37 * hash) + ORDERTYPE_FIELD_NUMBER;
    hash = (53 * hash) + getOrderType();
    hash = (37 * hash) + TOTAL_FIELD_NUMBER;
    hash = (53 * hash) + getTotal();
    hash = (37 * hash) + DOCTORNAME_FIELD_NUMBER;
    hash = (53 * hash) + getDoctorName().hashCode();
    hash = (37 * hash) + SEX_FIELD_NUMBER;
    hash = (53 * hash) + getSex();
    hash = (37 * hash) + HISCLINICCODE_FIELD_NUMBER;
    hash = (53 * hash) + getHisClinicCode().hashCode();
    hash = (37 * hash) + ADDRESS_FIELD_NUMBER;
    hash = (53 * hash) + getAddress().hashCode();
    hash = (37 * hash) + STATUSNAME_FIELD_NUMBER;
    hash = (53 * hash) + getStatusName().hashCode();
    hash = (37 * hash) + STATUS_FIELD_NUMBER;
    hash = (53 * hash) + getStatus();
    hash = (37 * hash) + PAYMENTDATE_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getPaymentDate());
    hash = (37 * hash) + REGISTEREDTYPE_FIELD_NUMBER;
    hash = (53 * hash) + getRegisteredType();
    hash = (37 * hash) + HISSEQCODE_FIELD_NUMBER;
    hash = (53 * hash) + getHisSeqCode().hashCode();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

  public Builder newBuilderForType() { return newBuilder(); }
  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }
  public static Builder newBuilder(com.ywt.gapi.taihe.register.RegisteredOrder prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE
        ? new Builder() : new Builder().mergeFrom(this);
  }

  @java.lang.Override
  protected Builder newBuilderForType(
      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * <pre>
   *预约挂号订单详情
   * </pre>
   *
   * Protobuf type {@code com.ywt.gapi.taihe.register.RegisteredOrder}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:com.ywt.gapi.taihe.register.RegisteredOrder)
      com.ywt.gapi.taihe.register.RegisteredOrderOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.ywt.gapi.taihe.register.TaiheRegister.internal_static_com_ywt_gapi_taihe_register_RegisteredOrder_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.ywt.gapi.taihe.register.TaiheRegister.internal_static_com_ywt_gapi_taihe_register_RegisteredOrder_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.ywt.gapi.taihe.register.RegisteredOrder.class, com.ywt.gapi.taihe.register.RegisteredOrder.Builder.class);
    }

    // Construct using com.ywt.gapi.taihe.register.RegisteredOrder.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
      }
    }
    public Builder clear() {
      super.clear();
      orderId_ = 0;

      registeredId_ = 0;

      userId_ = 0;

      hospitalId_ = 0;

      hospitalName_ = "";

      registeredDate_ = 0L;

      registeredPeriod_ = 0;

      startTime_ = "";

      endTime_ = "";

      medicalCardId_ = 0;

      patientName_ = "";

      paymentChannel_ = 0;

      updateTime_ = 0L;

      createTime_ = 0L;

      doctorCode_ = "";

      deptCode_ = "";

      deptName_ = "";

      registeredFee_ = 0;

      medicalFee_ = 0;

      paymentStatus_ = 0;

      registeredStatus_ = 0;

      remark_ = "";

      orderNo_ = "";

      orderRemark_ = "";

      orderType_ = 0;

      total_ = 0;

      doctorName_ = "";

      sex_ = 0;

      hisClinicCode_ = "";

      address_ = "";

      statusName_ = "";

      status_ = 0;

      paymentDate_ = 0L;

      registeredType_ = 0;

      hisSeqCode_ = "";

      return this;
    }

    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.ywt.gapi.taihe.register.TaiheRegister.internal_static_com_ywt_gapi_taihe_register_RegisteredOrder_descriptor;
    }

    public com.ywt.gapi.taihe.register.RegisteredOrder getDefaultInstanceForType() {
      return com.ywt.gapi.taihe.register.RegisteredOrder.getDefaultInstance();
    }

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

    public com.ywt.gapi.taihe.register.RegisteredOrder buildPartial() {
      com.ywt.gapi.taihe.register.RegisteredOrder result = new com.ywt.gapi.taihe.register.RegisteredOrder(this);
      result.orderId_ = orderId_;
      result.registeredId_ = registeredId_;
      result.userId_ = userId_;
      result.hospitalId_ = hospitalId_;
      result.hospitalName_ = hospitalName_;
      result.registeredDate_ = registeredDate_;
      result.registeredPeriod_ = registeredPeriod_;
      result.startTime_ = startTime_;
      result.endTime_ = endTime_;
      result.medicalCardId_ = medicalCardId_;
      result.patientName_ = patientName_;
      result.paymentChannel_ = paymentChannel_;
      result.updateTime_ = updateTime_;
      result.createTime_ = createTime_;
      result.doctorCode_ = doctorCode_;
      result.deptCode_ = deptCode_;
      result.deptName_ = deptName_;
      result.registeredFee_ = registeredFee_;
      result.medicalFee_ = medicalFee_;
      result.paymentStatus_ = paymentStatus_;
      result.registeredStatus_ = registeredStatus_;
      result.remark_ = remark_;
      result.orderNo_ = orderNo_;
      result.orderRemark_ = orderRemark_;
      result.orderType_ = orderType_;
      result.total_ = total_;
      result.doctorName_ = doctorName_;
      result.sex_ = sex_;
      result.hisClinicCode_ = hisClinicCode_;
      result.address_ = address_;
      result.statusName_ = statusName_;
      result.status_ = status_;
      result.paymentDate_ = paymentDate_;
      result.registeredType_ = registeredType_;
      result.hisSeqCode_ = hisSeqCode_;
      onBuilt();
      return result;
    }

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

    public Builder mergeFrom(com.ywt.gapi.taihe.register.RegisteredOrder other) {
      if (other == com.ywt.gapi.taihe.register.RegisteredOrder.getDefaultInstance()) return this;
      if (other.getOrderId() != 0) {
        setOrderId(other.getOrderId());
      }
      if (other.getRegisteredId() != 0) {
        setRegisteredId(other.getRegisteredId());
      }
      if (other.getUserId() != 0) {
        setUserId(other.getUserId());
      }
      if (other.getHospitalId() != 0) {
        setHospitalId(other.getHospitalId());
      }
      if (!other.getHospitalName().isEmpty()) {
        hospitalName_ = other.hospitalName_;
        onChanged();
      }
      if (other.getRegisteredDate() != 0L) {
        setRegisteredDate(other.getRegisteredDate());
      }
      if (other.getRegisteredPeriod() != 0) {
        setRegisteredPeriod(other.getRegisteredPeriod());
      }
      if (!other.getStartTime().isEmpty()) {
        startTime_ = other.startTime_;
        onChanged();
      }
      if (!other.getEndTime().isEmpty()) {
        endTime_ = other.endTime_;
        onChanged();
      }
      if (other.getMedicalCardId() != 0) {
        setMedicalCardId(other.getMedicalCardId());
      }
      if (!other.getPatientName().isEmpty()) {
        patientName_ = other.patientName_;
        onChanged();
      }
      if (other.getPaymentChannel() != 0) {
        setPaymentChannel(other.getPaymentChannel());
      }
      if (other.getUpdateTime() != 0L) {
        setUpdateTime(other.getUpdateTime());
      }
      if (other.getCreateTime() != 0L) {
        setCreateTime(other.getCreateTime());
      }
      if (!other.getDoctorCode().isEmpty()) {
        doctorCode_ = other.doctorCode_;
        onChanged();
      }
      if (!other.getDeptCode().isEmpty()) {
        deptCode_ = other.deptCode_;
        onChanged();
      }
      if (!other.getDeptName().isEmpty()) {
        deptName_ = other.deptName_;
        onChanged();
      }
      if (other.getRegisteredFee() != 0) {
        setRegisteredFee(other.getRegisteredFee());
      }
      if (other.getMedicalFee() != 0) {
        setMedicalFee(other.getMedicalFee());
      }
      if (other.getPaymentStatus() != 0) {
        setPaymentStatus(other.getPaymentStatus());
      }
      if (other.getRegisteredStatus() != 0) {
        setRegisteredStatus(other.getRegisteredStatus());
      }
      if (!other.getRemark().isEmpty()) {
        remark_ = other.remark_;
        onChanged();
      }
      if (!other.getOrderNo().isEmpty()) {
        orderNo_ = other.orderNo_;
        onChanged();
      }
      if (!other.getOrderRemark().isEmpty()) {
        orderRemark_ = other.orderRemark_;
        onChanged();
      }
      if (other.getOrderType() != 0) {
        setOrderType(other.getOrderType());
      }
      if (other.getTotal() != 0) {
        setTotal(other.getTotal());
      }
      if (!other.getDoctorName().isEmpty()) {
        doctorName_ = other.doctorName_;
        onChanged();
      }
      if (other.getSex() != 0) {
        setSex(other.getSex());
      }
      if (!other.getHisClinicCode().isEmpty()) {
        hisClinicCode_ = other.hisClinicCode_;
        onChanged();
      }
      if (!other.getAddress().isEmpty()) {
        address_ = other.address_;
        onChanged();
      }
      if (!other.getStatusName().isEmpty()) {
        statusName_ = other.statusName_;
        onChanged();
      }
      if (other.getStatus() != 0) {
        setStatus(other.getStatus());
      }
      if (other.getPaymentDate() != 0L) {
        setPaymentDate(other.getPaymentDate());
      }
      if (other.getRegisteredType() != 0) {
        setRegisteredType(other.getRegisteredType());
      }
      if (!other.getHisSeqCode().isEmpty()) {
        hisSeqCode_ = other.hisSeqCode_;
        onChanged();
      }
      onChanged();
      return this;
    }

    public final boolean isInitialized() {
      return true;
    }

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

    private int orderId_ ;
    /**
     * <pre>
     *预约挂号订单ID
     * </pre>
     *
     * <code>int32 orderId = 1;</code>
     */
    public int getOrderId() {
      return orderId_;
    }
    /**
     * <pre>
     *预约挂号订单ID
     * </pre>
     *
     * <code>int32 orderId = 1;</code>
     */
    public Builder setOrderId(int value) {
      
      orderId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *预约挂号订单ID
     * </pre>
     *
     * <code>int32 orderId = 1;</code>
     */
    public Builder clearOrderId() {
      
      orderId_ = 0;
      onChanged();
      return this;
    }

    private int registeredId_ ;
    /**
     * <code>int32 registeredId = 2;</code>
     */
    public int getRegisteredId() {
      return registeredId_;
    }
    /**
     * <code>int32 registeredId = 2;</code>
     */
    public Builder setRegisteredId(int value) {
      
      registeredId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 registeredId = 2;</code>
     */
    public Builder clearRegisteredId() {
      
      registeredId_ = 0;
      onChanged();
      return this;
    }

    private int userId_ ;
    /**
     * <code>int32 userId = 3;</code>
     */
    public int getUserId() {
      return userId_;
    }
    /**
     * <code>int32 userId = 3;</code>
     */
    public Builder setUserId(int value) {
      
      userId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 userId = 3;</code>
     */
    public Builder clearUserId() {
      
      userId_ = 0;
      onChanged();
      return this;
    }

    private int hospitalId_ ;
    /**
     * <code>int32 hospitalId = 4;</code>
     */
    public int getHospitalId() {
      return hospitalId_;
    }
    /**
     * <code>int32 hospitalId = 4;</code>
     */
    public Builder setHospitalId(int value) {
      
      hospitalId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 hospitalId = 4;</code>
     */
    public Builder clearHospitalId() {
      
      hospitalId_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object hospitalName_ = "";
    /**
     * <code>string hospitalName = 5;</code>
     */
    public java.lang.String getHospitalName() {
      java.lang.Object ref = hospitalName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        hospitalName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string hospitalName = 5;</code>
     */
    public com.google.protobuf.ByteString
        getHospitalNameBytes() {
      java.lang.Object ref = hospitalName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        hospitalName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string hospitalName = 5;</code>
     */
    public Builder setHospitalName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      hospitalName_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string hospitalName = 5;</code>
     */
    public Builder clearHospitalName() {
      
      hospitalName_ = getDefaultInstance().getHospitalName();
      onChanged();
      return this;
    }
    /**
     * <code>string hospitalName = 5;</code>
     */
    public Builder setHospitalNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      hospitalName_ = value;
      onChanged();
      return this;
    }

    private long registeredDate_ ;
    /**
     * <pre>
     *预约日期
     * </pre>
     *
     * <code>int64 registeredDate = 6;</code>
     */
    public long getRegisteredDate() {
      return registeredDate_;
    }
    /**
     * <pre>
     *预约日期
     * </pre>
     *
     * <code>int64 registeredDate = 6;</code>
     */
    public Builder setRegisteredDate(long value) {
      
      registeredDate_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *预约日期
     * </pre>
     *
     * <code>int64 registeredDate = 6;</code>
     */
    public Builder clearRegisteredDate() {
      
      registeredDate_ = 0L;
      onChanged();
      return this;
    }

    private int registeredPeriod_ ;
    /**
     * <code>int32 registeredPeriod = 7;</code>
     */
    public int getRegisteredPeriod() {
      return registeredPeriod_;
    }
    /**
     * <code>int32 registeredPeriod = 7;</code>
     */
    public Builder setRegisteredPeriod(int value) {
      
      registeredPeriod_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 registeredPeriod = 7;</code>
     */
    public Builder clearRegisteredPeriod() {
      
      registeredPeriod_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object startTime_ = "";
    /**
     * <pre>
     *开始时间
     * </pre>
     *
     * <code>string startTime = 8;</code>
     */
    public java.lang.String getStartTime() {
      java.lang.Object ref = startTime_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        startTime_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *开始时间
     * </pre>
     *
     * <code>string startTime = 8;</code>
     */
    public com.google.protobuf.ByteString
        getStartTimeBytes() {
      java.lang.Object ref = startTime_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        startTime_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *开始时间
     * </pre>
     *
     * <code>string startTime = 8;</code>
     */
    public Builder setStartTime(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      startTime_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *开始时间
     * </pre>
     *
     * <code>string startTime = 8;</code>
     */
    public Builder clearStartTime() {
      
      startTime_ = getDefaultInstance().getStartTime();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *开始时间
     * </pre>
     *
     * <code>string startTime = 8;</code>
     */
    public Builder setStartTimeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      startTime_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object endTime_ = "";
    /**
     * <pre>
     *截止时间
     * </pre>
     *
     * <code>string endTime = 9;</code>
     */
    public java.lang.String getEndTime() {
      java.lang.Object ref = endTime_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        endTime_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *截止时间
     * </pre>
     *
     * <code>string endTime = 9;</code>
     */
    public com.google.protobuf.ByteString
        getEndTimeBytes() {
      java.lang.Object ref = endTime_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        endTime_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *截止时间
     * </pre>
     *
     * <code>string endTime = 9;</code>
     */
    public Builder setEndTime(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      endTime_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *截止时间
     * </pre>
     *
     * <code>string endTime = 9;</code>
     */
    public Builder clearEndTime() {
      
      endTime_ = getDefaultInstance().getEndTime();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *截止时间
     * </pre>
     *
     * <code>string endTime = 9;</code>
     */
    public Builder setEndTimeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      endTime_ = value;
      onChanged();
      return this;
    }

    private int medicalCardId_ ;
    /**
     * <code>int32 medicalCardId = 10;</code>
     */
    public int getMedicalCardId() {
      return medicalCardId_;
    }
    /**
     * <code>int32 medicalCardId = 10;</code>
     */
    public Builder setMedicalCardId(int value) {
      
      medicalCardId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 medicalCardId = 10;</code>
     */
    public Builder clearMedicalCardId() {
      
      medicalCardId_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object patientName_ = "";
    /**
     * <pre>
     *患者姓名
     * </pre>
     *
     * <code>string patientName = 11;</code>
     */
    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 = 11;</code>
     */
    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 = 11;</code>
     */
    public Builder setPatientName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      patientName_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *患者姓名
     * </pre>
     *
     * <code>string patientName = 11;</code>
     */
    public Builder clearPatientName() {
      
      patientName_ = getDefaultInstance().getPatientName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *患者姓名
     * </pre>
     *
     * <code>string patientName = 11;</code>
     */
    public Builder setPatientNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      patientName_ = value;
      onChanged();
      return this;
    }

    private int paymentChannel_ ;
    /**
     * <code>int32 paymentChannel = 12;</code>
     */
    public int getPaymentChannel() {
      return paymentChannel_;
    }
    /**
     * <code>int32 paymentChannel = 12;</code>
     */
    public Builder setPaymentChannel(int value) {
      
      paymentChannel_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 paymentChannel = 12;</code>
     */
    public Builder clearPaymentChannel() {
      
      paymentChannel_ = 0;
      onChanged();
      return this;
    }

    private long updateTime_ ;
    /**
     * <code>int64 updateTime = 13;</code>
     */
    public long getUpdateTime() {
      return updateTime_;
    }
    /**
     * <code>int64 updateTime = 13;</code>
     */
    public Builder setUpdateTime(long value) {
      
      updateTime_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int64 updateTime = 13;</code>
     */
    public Builder clearUpdateTime() {
      
      updateTime_ = 0L;
      onChanged();
      return this;
    }

    private long createTime_ ;
    /**
     * <code>int64 createTime = 14;</code>
     */
    public long getCreateTime() {
      return createTime_;
    }
    /**
     * <code>int64 createTime = 14;</code>
     */
    public Builder setCreateTime(long value) {
      
      createTime_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int64 createTime = 14;</code>
     */
    public Builder clearCreateTime() {
      
      createTime_ = 0L;
      onChanged();
      return this;
    }

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

    private java.lang.Object deptCode_ = "";
    /**
     * <code>string deptCode = 16;</code>
     */
    public java.lang.String getDeptCode() {
      java.lang.Object ref = deptCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        deptCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string deptCode = 16;</code>
     */
    public com.google.protobuf.ByteString
        getDeptCodeBytes() {
      java.lang.Object ref = deptCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        deptCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string deptCode = 16;</code>
     */
    public Builder setDeptCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      deptCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string deptCode = 16;</code>
     */
    public Builder clearDeptCode() {
      
      deptCode_ = getDefaultInstance().getDeptCode();
      onChanged();
      return this;
    }
    /**
     * <code>string deptCode = 16;</code>
     */
    public Builder setDeptCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      deptCode_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object deptName_ = "";
    /**
     * <pre>
     *预约科室
     * </pre>
     *
     * <code>string deptName = 17;</code>
     */
    public java.lang.String getDeptName() {
      java.lang.Object ref = deptName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        deptName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *预约科室
     * </pre>
     *
     * <code>string deptName = 17;</code>
     */
    public com.google.protobuf.ByteString
        getDeptNameBytes() {
      java.lang.Object ref = deptName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        deptName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *预约科室
     * </pre>
     *
     * <code>string deptName = 17;</code>
     */
    public Builder setDeptName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      deptName_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *预约科室
     * </pre>
     *
     * <code>string deptName = 17;</code>
     */
    public Builder clearDeptName() {
      
      deptName_ = getDefaultInstance().getDeptName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *预约科室
     * </pre>
     *
     * <code>string deptName = 17;</code>
     */
    public Builder setDeptNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      deptName_ = value;
      onChanged();
      return this;
    }

    private int registeredFee_ ;
    /**
     * <code>int32 registeredFee = 18;</code>
     */
    public int getRegisteredFee() {
      return registeredFee_;
    }
    /**
     * <code>int32 registeredFee = 18;</code>
     */
    public Builder setRegisteredFee(int value) {
      
      registeredFee_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 registeredFee = 18;</code>
     */
    public Builder clearRegisteredFee() {
      
      registeredFee_ = 0;
      onChanged();
      return this;
    }

    private int medicalFee_ ;
    /**
     * <code>int32 medicalFee = 19;</code>
     */
    public int getMedicalFee() {
      return medicalFee_;
    }
    /**
     * <code>int32 medicalFee = 19;</code>
     */
    public Builder setMedicalFee(int value) {
      
      medicalFee_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 medicalFee = 19;</code>
     */
    public Builder clearMedicalFee() {
      
      medicalFee_ = 0;
      onChanged();
      return this;
    }

    private int paymentStatus_ ;
    /**
     * <pre>
     *支付状态
     * </pre>
     *
     * <code>int32 paymentStatus = 20;</code>
     */
    public int getPaymentStatus() {
      return paymentStatus_;
    }
    /**
     * <pre>
     *支付状态
     * </pre>
     *
     * <code>int32 paymentStatus = 20;</code>
     */
    public Builder setPaymentStatus(int value) {
      
      paymentStatus_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *支付状态
     * </pre>
     *
     * <code>int32 paymentStatus = 20;</code>
     */
    public Builder clearPaymentStatus() {
      
      paymentStatus_ = 0;
      onChanged();
      return this;
    }

    private int registeredStatus_ ;
    /**
     * <code>int32 registeredStatus = 21;</code>
     */
    public int getRegisteredStatus() {
      return registeredStatus_;
    }
    /**
     * <code>int32 registeredStatus = 21;</code>
     */
    public Builder setRegisteredStatus(int value) {
      
      registeredStatus_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 registeredStatus = 21;</code>
     */
    public Builder clearRegisteredStatus() {
      
      registeredStatus_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object remark_ = "";
    /**
     * <code>string remark = 22;</code>
     */
    public java.lang.String getRemark() {
      java.lang.Object ref = remark_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        remark_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string remark = 22;</code>
     */
    public com.google.protobuf.ByteString
        getRemarkBytes() {
      java.lang.Object ref = remark_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        remark_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string remark = 22;</code>
     */
    public Builder setRemark(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      remark_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string remark = 22;</code>
     */
    public Builder clearRemark() {
      
      remark_ = getDefaultInstance().getRemark();
      onChanged();
      return this;
    }
    /**
     * <code>string remark = 22;</code>
     */
    public Builder setRemarkBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      remark_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object orderNo_ = "";
    /**
     * <code>string orderNo = 23;</code>
     */
    public java.lang.String getOrderNo() {
      java.lang.Object ref = orderNo_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        orderNo_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string orderNo = 23;</code>
     */
    public com.google.protobuf.ByteString
        getOrderNoBytes() {
      java.lang.Object ref = orderNo_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        orderNo_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string orderNo = 23;</code>
     */
    public Builder setOrderNo(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      orderNo_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string orderNo = 23;</code>
     */
    public Builder clearOrderNo() {
      
      orderNo_ = getDefaultInstance().getOrderNo();
      onChanged();
      return this;
    }
    /**
     * <code>string orderNo = 23;</code>
     */
    public Builder setOrderNoBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      orderNo_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object orderRemark_ = "";
    /**
     * <code>string orderRemark = 24;</code>
     */
    public java.lang.String getOrderRemark() {
      java.lang.Object ref = orderRemark_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        orderRemark_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string orderRemark = 24;</code>
     */
    public com.google.protobuf.ByteString
        getOrderRemarkBytes() {
      java.lang.Object ref = orderRemark_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        orderRemark_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string orderRemark = 24;</code>
     */
    public Builder setOrderRemark(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      orderRemark_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string orderRemark = 24;</code>
     */
    public Builder clearOrderRemark() {
      
      orderRemark_ = getDefaultInstance().getOrderRemark();
      onChanged();
      return this;
    }
    /**
     * <code>string orderRemark = 24;</code>
     */
    public Builder setOrderRemarkBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      orderRemark_ = value;
      onChanged();
      return this;
    }

    private int orderType_ ;
    /**
     * <code>int32 orderType = 25;</code>
     */
    public int getOrderType() {
      return orderType_;
    }
    /**
     * <code>int32 orderType = 25;</code>
     */
    public Builder setOrderType(int value) {
      
      orderType_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 orderType = 25;</code>
     */
    public Builder clearOrderType() {
      
      orderType_ = 0;
      onChanged();
      return this;
    }

    private int total_ ;
    /**
     * <code>int32 total = 26;</code>
     */
    public int getTotal() {
      return total_;
    }
    /**
     * <code>int32 total = 26;</code>
     */
    public Builder setTotal(int value) {
      
      total_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 total = 26;</code>
     */
    public Builder clearTotal() {
      
      total_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object doctorName_ = "";
    /**
     * <pre>
     *预约医生
     * </pre>
     *
     * <code>string doctorName = 27;</code>
     */
    public java.lang.String getDoctorName() {
      java.lang.Object ref = doctorName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        doctorName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *预约医生
     * </pre>
     *
     * <code>string doctorName = 27;</code>
     */
    public com.google.protobuf.ByteString
        getDoctorNameBytes() {
      java.lang.Object ref = doctorName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        doctorName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *预约医生
     * </pre>
     *
     * <code>string doctorName = 27;</code>
     */
    public Builder setDoctorName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      doctorName_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *预约医生
     * </pre>
     *
     * <code>string doctorName = 27;</code>
     */
    public Builder clearDoctorName() {
      
      doctorName_ = getDefaultInstance().getDoctorName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *预约医生
     * </pre>
     *
     * <code>string doctorName = 27;</code>
     */
    public Builder setDoctorNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      doctorName_ = value;
      onChanged();
      return this;
    }

    private int sex_ ;
    /**
     * <code>int32 sex = 28;</code>
     */
    public int getSex() {
      return sex_;
    }
    /**
     * <code>int32 sex = 28;</code>
     */
    public Builder setSex(int value) {
      
      sex_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 sex = 28;</code>
     */
    public Builder clearSex() {
      
      sex_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object hisClinicCode_ = "";
    /**
     * <pre>
     *就诊流水号
     * </pre>
     *
     * <code>string hisClinicCode = 29;</code>
     */
    public java.lang.String getHisClinicCode() {
      java.lang.Object ref = hisClinicCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        hisClinicCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *就诊流水号
     * </pre>
     *
     * <code>string hisClinicCode = 29;</code>
     */
    public com.google.protobuf.ByteString
        getHisClinicCodeBytes() {
      java.lang.Object ref = hisClinicCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        hisClinicCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *就诊流水号
     * </pre>
     *
     * <code>string hisClinicCode = 29;</code>
     */
    public Builder setHisClinicCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      hisClinicCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *就诊流水号
     * </pre>
     *
     * <code>string hisClinicCode = 29;</code>
     */
    public Builder clearHisClinicCode() {
      
      hisClinicCode_ = getDefaultInstance().getHisClinicCode();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *就诊流水号
     * </pre>
     *
     * <code>string hisClinicCode = 29;</code>
     */
    public Builder setHisClinicCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      hisClinicCode_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object address_ = "";
    /**
     * <pre>
     *就诊地点
     * </pre>
     *
     * <code>string address = 30;</code>
     */
    public java.lang.String getAddress() {
      java.lang.Object ref = address_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        address_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *就诊地点
     * </pre>
     *
     * <code>string address = 30;</code>
     */
    public com.google.protobuf.ByteString
        getAddressBytes() {
      java.lang.Object ref = address_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        address_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *就诊地点
     * </pre>
     *
     * <code>string address = 30;</code>
     */
    public Builder setAddress(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      address_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *就诊地点
     * </pre>
     *
     * <code>string address = 30;</code>
     */
    public Builder clearAddress() {
      
      address_ = getDefaultInstance().getAddress();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *就诊地点
     * </pre>
     *
     * <code>string address = 30;</code>
     */
    public Builder setAddressBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      address_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object statusName_ = "";
    /**
     * <pre>
     *取号状态（文字）
     * </pre>
     *
     * <code>string statusName = 31;</code>
     */
    public java.lang.String getStatusName() {
      java.lang.Object ref = statusName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        statusName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *取号状态（文字）
     * </pre>
     *
     * <code>string statusName = 31;</code>
     */
    public com.google.protobuf.ByteString
        getStatusNameBytes() {
      java.lang.Object ref = statusName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        statusName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *取号状态（文字）
     * </pre>
     *
     * <code>string statusName = 31;</code>
     */
    public Builder setStatusName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      statusName_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *取号状态（文字）
     * </pre>
     *
     * <code>string statusName = 31;</code>
     */
    public Builder clearStatusName() {
      
      statusName_ = getDefaultInstance().getStatusName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *取号状态（文字）
     * </pre>
     *
     * <code>string statusName = 31;</code>
     */
    public Builder setStatusNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      statusName_ = value;
      onChanged();
      return this;
    }

    private int status_ ;
    /**
     * <pre>
     *取号状态（数字）
     * </pre>
     *
     * <code>int32 status = 32;</code>
     */
    public int getStatus() {
      return status_;
    }
    /**
     * <pre>
     *取号状态（数字）
     * </pre>
     *
     * <code>int32 status = 32;</code>
     */
    public Builder setStatus(int value) {
      
      status_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *取号状态（数字）
     * </pre>
     *
     * <code>int32 status = 32;</code>
     */
    public Builder clearStatus() {
      
      status_ = 0;
      onChanged();
      return this;
    }

    private long paymentDate_ ;
    /**
     * <pre>
     *支付日期
     * </pre>
     *
     * <code>int64 paymentDate = 33;</code>
     */
    public long getPaymentDate() {
      return paymentDate_;
    }
    /**
     * <pre>
     *支付日期
     * </pre>
     *
     * <code>int64 paymentDate = 33;</code>
     */
    public Builder setPaymentDate(long value) {
      
      paymentDate_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *支付日期
     * </pre>
     *
     * <code>int64 paymentDate = 33;</code>
     */
    public Builder clearPaymentDate() {
      
      paymentDate_ = 0L;
      onChanged();
      return this;
    }

    private int registeredType_ ;
    /**
     * <code>int32 registeredType = 34;</code>
     */
    public int getRegisteredType() {
      return registeredType_;
    }
    /**
     * <code>int32 registeredType = 34;</code>
     */
    public Builder setRegisteredType(int value) {
      
      registeredType_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 registeredType = 34;</code>
     */
    public Builder clearRegisteredType() {
      
      registeredType_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object hisSeqCode_ = "";
    /**
     * <code>string hisSeqCode = 35;</code>
     */
    public java.lang.String getHisSeqCode() {
      java.lang.Object ref = hisSeqCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        hisSeqCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string hisSeqCode = 35;</code>
     */
    public com.google.protobuf.ByteString
        getHisSeqCodeBytes() {
      java.lang.Object ref = hisSeqCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        hisSeqCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string hisSeqCode = 35;</code>
     */
    public Builder setHisSeqCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      hisSeqCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string hisSeqCode = 35;</code>
     */
    public Builder clearHisSeqCode() {
      
      hisSeqCode_ = getDefaultInstance().getHisSeqCode();
      onChanged();
      return this;
    }
    /**
     * <code>string hisSeqCode = 35;</code>
     */
    public Builder setHisSeqCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      hisSeqCode_ = value;
      onChanged();
      return this;
    }
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return this;
    }

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


    // @@protoc_insertion_point(builder_scope:com.ywt.gapi.taihe.register.RegisteredOrder)
  }

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

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

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

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

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

  public com.ywt.gapi.taihe.register.RegisteredOrder getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

