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

package com.ywt.gapi.med_equip;

/**
 * Protobuf type {@code com.ywt.gapi.med_equip.OrderInfo}
 */
public final class OrderInfo extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.med_equip.OrderInfo)
    OrderInfoOrBuilder {
private static final long serialVersionUID = 0L;
  // Use OrderInfo.newBuilder() to construct.
  private OrderInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private OrderInfo() {
    orderNo_ = "";
    hospitalName_ = "";
    doctorName_ = "";
    deptName_ = "";
    patientName_ = "";
    patientIdCard_ = "";
    patientMobile_ = "";
    paymentTime_ = "";
    diagnose_ = "";
    inspectionItem_ = java.util.Collections.emptyList();
    remark_ = "";
    statusStr_ = "";
    payUrl_ = "";
    equipCode_ = "";
    senderName_ = "";
    recyclerName_ = "";
    refundApplyDoctor_ = "";
    refundRejectReason_ = "";
    createTime_ = "";
    doctorSignUrl_ = "";
    recCode_ = "";
  }

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

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

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

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

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

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

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

            patientIdCard_ = s;
            break;
          }
          case 56: {

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

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

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

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

            diagnose_ = s;
            break;
          }
          case 98: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              inspectionItem_ = new java.util.ArrayList<com.ywt.gapi.med_equip.InspectionItem>();
              mutable_bitField0_ |= 0x00000001;
            }
            inspectionItem_.add(
                input.readMessage(com.ywt.gapi.med_equip.InspectionItem.parser(), extensionRegistry));
            break;
          }
          case 104: {

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

            remark_ = s;
            break;
          }
          case 120: {

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

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

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

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

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

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

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

            refundRejectReason_ = s;
            break;
          }
          case 184: {

            equipId_ = input.readInt32();
            break;
          }
          case 192: {

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

            createTime_ = s;
            break;
          }
          case 208: {

            totalPrice_ = input.readInt32();
            break;
          }
          case 216: {

            refundFlag_ = input.readInt32();
            break;
          }
          case 224: {

            allocFlag_ = input.readInt32();
            break;
          }
          case 232: {

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

            doctorSignUrl_ = s;
            break;
          }
          case 248: {

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

            recCode_ = s;
            break;
          }
          case 264: {

            equipCodeEditable_ = input.readBool();
            break;
          }
          case 272: {

            hospitalId_ = input.readInt32();
            break;
          }
          case 280: {

            changedHospitalId_ = input.readInt32();
            break;
          }
          case 288: {

            viewReportFlag_ = input.readInt32();
            break;
          }
          case 296: {

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

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.ywt.gapi.med_equip.MedEquipProto.internal_static_com_ywt_gapi_med_equip_OrderInfo_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.ywt.gapi.med_equip.OrderInfo.class, com.ywt.gapi.med_equip.OrderInfo.Builder.class);
  }

  public static final int ORDERNO_FIELD_NUMBER = 1;
  private volatile java.lang.Object orderNo_;
  /**
   * <code>string orderNo = 1;</code>
   * @return The orderNo.
   */
  @java.lang.Override
  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 = 1;</code>
   * @return The bytes for orderNo.
   */
  @java.lang.Override
  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 HOSPITALNAME_FIELD_NUMBER = 2;
  private volatile java.lang.Object hospitalName_;
  /**
   * <code>string hospitalName = 2;</code>
   * @return The hospitalName.
   */
  @java.lang.Override
  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 = 2;</code>
   * @return The bytes for hospitalName.
   */
  @java.lang.Override
  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 DOCTORNAME_FIELD_NUMBER = 3;
  private volatile java.lang.Object doctorName_;
  /**
   * <code>string doctorName = 3;</code>
   * @return The doctorName.
   */
  @java.lang.Override
  public java.lang.String getDoctorName() {
    java.lang.Object ref = doctorName_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      doctorName_ = s;
      return s;
    }
  }
  /**
   * <code>string doctorName = 3;</code>
   * @return The bytes for doctorName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDoctorNameBytes() {
    java.lang.Object ref = doctorName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      doctorName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DEPTNAME_FIELD_NUMBER = 4;
  private volatile java.lang.Object deptName_;
  /**
   * <code>string deptName = 4;</code>
   * @return The deptName.
   */
  @java.lang.Override
  public java.lang.String getDeptName() {
    java.lang.Object ref = deptName_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      deptName_ = s;
      return s;
    }
  }
  /**
   * <code>string deptName = 4;</code>
   * @return The bytes for deptName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDeptNameBytes() {
    java.lang.Object ref = deptName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      deptName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PATIENTNAME_FIELD_NUMBER = 5;
  private volatile java.lang.Object patientName_;
  /**
   * <code>string patientName = 5;</code>
   * @return The patientName.
   */
  @java.lang.Override
  public java.lang.String getPatientName() {
    java.lang.Object ref = patientName_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      patientName_ = s;
      return s;
    }
  }
  /**
   * <code>string patientName = 5;</code>
   * @return The bytes for patientName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getPatientNameBytes() {
    java.lang.Object ref = patientName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      patientName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PATIENTIDCARD_FIELD_NUMBER = 6;
  private volatile java.lang.Object patientIdCard_;
  /**
   * <code>string patientIdCard = 6;</code>
   * @return The patientIdCard.
   */
  @java.lang.Override
  public java.lang.String getPatientIdCard() {
    java.lang.Object ref = patientIdCard_;
    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();
      patientIdCard_ = s;
      return s;
    }
  }
  /**
   * <code>string patientIdCard = 6;</code>
   * @return The bytes for patientIdCard.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getPatientIdCardBytes() {
    java.lang.Object ref = patientIdCard_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      patientIdCard_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PATIENTAGE_FIELD_NUMBER = 7;
  private int patientAge_;
  /**
   * <code>int32 patientAge = 7;</code>
   * @return The patientAge.
   */
  @java.lang.Override
  public int getPatientAge() {
    return patientAge_;
  }

  public static final int PATIENTGENDER_FIELD_NUMBER = 8;
  private int patientGender_;
  /**
   * <code>int32 patientGender = 8;</code>
   * @return The patientGender.
   */
  @java.lang.Override
  public int getPatientGender() {
    return patientGender_;
  }

  public static final int PATIENTMOBILE_FIELD_NUMBER = 9;
  private volatile java.lang.Object patientMobile_;
  /**
   * <code>string patientMobile = 9;</code>
   * @return The patientMobile.
   */
  @java.lang.Override
  public java.lang.String getPatientMobile() {
    java.lang.Object ref = patientMobile_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      patientMobile_ = s;
      return s;
    }
  }
  /**
   * <code>string patientMobile = 9;</code>
   * @return The bytes for patientMobile.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getPatientMobileBytes() {
    java.lang.Object ref = patientMobile_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      patientMobile_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PAYMENTTIME_FIELD_NUMBER = 10;
  private volatile java.lang.Object paymentTime_;
  /**
   * <code>string paymentTime = 10;</code>
   * @return The paymentTime.
   */
  @java.lang.Override
  public java.lang.String getPaymentTime() {
    java.lang.Object ref = paymentTime_;
    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();
      paymentTime_ = s;
      return s;
    }
  }
  /**
   * <code>string paymentTime = 10;</code>
   * @return The bytes for paymentTime.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getPaymentTimeBytes() {
    java.lang.Object ref = paymentTime_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      paymentTime_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DIAGNOSE_FIELD_NUMBER = 11;
  private volatile java.lang.Object diagnose_;
  /**
   * <code>string diagnose = 11;</code>
   * @return The diagnose.
   */
  @java.lang.Override
  public java.lang.String getDiagnose() {
    java.lang.Object ref = diagnose_;
    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();
      diagnose_ = s;
      return s;
    }
  }
  /**
   * <code>string diagnose = 11;</code>
   * @return The bytes for diagnose.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDiagnoseBytes() {
    java.lang.Object ref = diagnose_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      diagnose_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int INSPECTIONITEM_FIELD_NUMBER = 12;
  private java.util.List<com.ywt.gapi.med_equip.InspectionItem> inspectionItem_;
  /**
   * <code>repeated .com.ywt.gapi.med_equip.InspectionItem inspectionItem = 12;</code>
   */
  @java.lang.Override
  public java.util.List<com.ywt.gapi.med_equip.InspectionItem> getInspectionItemList() {
    return inspectionItem_;
  }
  /**
   * <code>repeated .com.ywt.gapi.med_equip.InspectionItem inspectionItem = 12;</code>
   */
  @java.lang.Override
  public java.util.List<? extends com.ywt.gapi.med_equip.InspectionItemOrBuilder> 
      getInspectionItemOrBuilderList() {
    return inspectionItem_;
  }
  /**
   * <code>repeated .com.ywt.gapi.med_equip.InspectionItem inspectionItem = 12;</code>
   */
  @java.lang.Override
  public int getInspectionItemCount() {
    return inspectionItem_.size();
  }
  /**
   * <code>repeated .com.ywt.gapi.med_equip.InspectionItem inspectionItem = 12;</code>
   */
  @java.lang.Override
  public com.ywt.gapi.med_equip.InspectionItem getInspectionItem(int index) {
    return inspectionItem_.get(index);
  }
  /**
   * <code>repeated .com.ywt.gapi.med_equip.InspectionItem inspectionItem = 12;</code>
   */
  @java.lang.Override
  public com.ywt.gapi.med_equip.InspectionItemOrBuilder getInspectionItemOrBuilder(
      int index) {
    return inspectionItem_.get(index);
  }

  public static final int DOCTORSIGNID_FIELD_NUMBER = 13;
  private int doctorSignId_;
  /**
   * <code>int32 doctorSignId = 13;</code>
   * @return The doctorSignId.
   */
  @java.lang.Override
  public int getDoctorSignId() {
    return doctorSignId_;
  }

  public static final int REMARK_FIELD_NUMBER = 14;
  private volatile java.lang.Object remark_;
  /**
   * <code>string remark = 14;</code>
   * @return The remark.
   */
  @java.lang.Override
  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 = 14;</code>
   * @return The bytes for remark.
   */
  @java.lang.Override
  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 STATUS_FIELD_NUMBER = 15;
  private int status_;
  /**
   * <code>int32 status = 15;</code>
   * @return The status.
   */
  @java.lang.Override
  public int getStatus() {
    return status_;
  }

  public static final int STATUSSTR_FIELD_NUMBER = 16;
  private volatile java.lang.Object statusStr_;
  /**
   * <code>string statusStr = 16;</code>
   * @return The statusStr.
   */
  @java.lang.Override
  public java.lang.String getStatusStr() {
    java.lang.Object ref = statusStr_;
    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();
      statusStr_ = s;
      return s;
    }
  }
  /**
   * <code>string statusStr = 16;</code>
   * @return The bytes for statusStr.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getStatusStrBytes() {
    java.lang.Object ref = statusStr_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      statusStr_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PAYURL_FIELD_NUMBER = 17;
  private volatile java.lang.Object payUrl_;
  /**
   * <pre>
   * 展示给患者扫码支付的地址
   * </pre>
   *
   * <code>string payUrl = 17;</code>
   * @return The payUrl.
   */
  @java.lang.Override
  public java.lang.String getPayUrl() {
    java.lang.Object ref = payUrl_;
    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();
      payUrl_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 展示给患者扫码支付的地址
   * </pre>
   *
   * <code>string payUrl = 17;</code>
   * @return The bytes for payUrl.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getPayUrlBytes() {
    java.lang.Object ref = payUrl_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      payUrl_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int EQUIPCODE_FIELD_NUMBER = 18;
  private volatile java.lang.Object equipCode_;
  /**
   * <pre>
   * 设备码
   * </pre>
   *
   * <code>string equipCode = 18;</code>
   * @return The equipCode.
   */
  @java.lang.Override
  public java.lang.String getEquipCode() {
    java.lang.Object ref = equipCode_;
    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();
      equipCode_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 设备码
   * </pre>
   *
   * <code>string equipCode = 18;</code>
   * @return The bytes for equipCode.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getEquipCodeBytes() {
    java.lang.Object ref = equipCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      equipCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int SENDERNAME_FIELD_NUMBER = 19;
  private volatile java.lang.Object senderName_;
  /**
   * <pre>
   * 派发人姓名
   * </pre>
   *
   * <code>string senderName = 19;</code>
   * @return The senderName.
   */
  @java.lang.Override
  public java.lang.String getSenderName() {
    java.lang.Object ref = senderName_;
    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();
      senderName_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 派发人姓名
   * </pre>
   *
   * <code>string senderName = 19;</code>
   * @return The bytes for senderName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getSenderNameBytes() {
    java.lang.Object ref = senderName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      senderName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int RECYCLERNAME_FIELD_NUMBER = 20;
  private volatile java.lang.Object recyclerName_;
  /**
   * <pre>
   * 回收人员姓名
   * </pre>
   *
   * <code>string recyclerName = 20;</code>
   * @return The recyclerName.
   */
  @java.lang.Override
  public java.lang.String getRecyclerName() {
    java.lang.Object ref = recyclerName_;
    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();
      recyclerName_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 回收人员姓名
   * </pre>
   *
   * <code>string recyclerName = 20;</code>
   * @return The bytes for recyclerName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getRecyclerNameBytes() {
    java.lang.Object ref = recyclerName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      recyclerName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int REFUNDAPPLYDOCTOR_FIELD_NUMBER = 21;
  private volatile java.lang.Object refundApplyDoctor_;
  /**
   * <pre>
   * 退款申请医生
   * </pre>
   *
   * <code>string refundApplyDoctor = 21;</code>
   * @return The refundApplyDoctor.
   */
  @java.lang.Override
  public java.lang.String getRefundApplyDoctor() {
    java.lang.Object ref = refundApplyDoctor_;
    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();
      refundApplyDoctor_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 退款申请医生
   * </pre>
   *
   * <code>string refundApplyDoctor = 21;</code>
   * @return The bytes for refundApplyDoctor.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getRefundApplyDoctorBytes() {
    java.lang.Object ref = refundApplyDoctor_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      refundApplyDoctor_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int REFUNDREJECTREASON_FIELD_NUMBER = 22;
  private volatile java.lang.Object refundRejectReason_;
  /**
   * <pre>
   * 退款不通过原因
   * </pre>
   *
   * <code>string refundRejectReason = 22;</code>
   * @return The refundRejectReason.
   */
  @java.lang.Override
  public java.lang.String getRefundRejectReason() {
    java.lang.Object ref = refundRejectReason_;
    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();
      refundRejectReason_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 退款不通过原因
   * </pre>
   *
   * <code>string refundRejectReason = 22;</code>
   * @return The bytes for refundRejectReason.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getRefundRejectReasonBytes() {
    java.lang.Object ref = refundRejectReason_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      refundRejectReason_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int EQUIPID_FIELD_NUMBER = 23;
  private int equipId_;
  /**
   * <pre>
   * 设备 id
   * </pre>
   *
   * <code>int32 equipId = 23;</code>
   * @return The equipId.
   */
  @java.lang.Override
  public int getEquipId() {
    return equipId_;
  }

  public static final int ORDERID_FIELD_NUMBER = 24;
  private int orderId_;
  /**
   * <code>int32 orderId = 24;</code>
   * @return The orderId.
   */
  @java.lang.Override
  public int getOrderId() {
    return orderId_;
  }

  public static final int CREATETIME_FIELD_NUMBER = 25;
  private volatile java.lang.Object createTime_;
  /**
   * <code>string createTime = 25;</code>
   * @return The createTime.
   */
  @java.lang.Override
  public java.lang.String getCreateTime() {
    java.lang.Object ref = createTime_;
    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();
      createTime_ = s;
      return s;
    }
  }
  /**
   * <code>string createTime = 25;</code>
   * @return The bytes for createTime.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getCreateTimeBytes() {
    java.lang.Object ref = createTime_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      createTime_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int TOTALPRICE_FIELD_NUMBER = 26;
  private int totalPrice_;
  /**
   * <code>int32 totalPrice = 26;</code>
   * @return The totalPrice.
   */
  @java.lang.Override
  public int getTotalPrice() {
    return totalPrice_;
  }

  public static final int REFUNDFLAG_FIELD_NUMBER = 27;
  private int refundFlag_;
  /**
   * <pre>
   * 申请退款按钮显示状态：1：显示且可以点击；0：隐藏；-1：显示但不能点击
   * </pre>
   *
   * <code>int32 refundFlag = 27;</code>
   * @return The refundFlag.
   */
  @java.lang.Override
  public int getRefundFlag() {
    return refundFlag_;
  }

  public static final int ALLOCFLAG_FIELD_NUMBER = 28;
  private int allocFlag_;
  /**
   * <pre>
   * 确认领取按钮显示状态：1：显示且可以点击；0：隐藏；-1：显示但不能点击
   * </pre>
   *
   * <code>int32 allocFlag = 28;</code>
   * @return The allocFlag.
   */
  @java.lang.Override
  public int getAllocFlag() {
    return allocFlag_;
  }

  public static final int RECYCLEFLAG_FIELD_NUMBER = 29;
  private int recycleFlag_;
  /**
   * <pre>
   * 确认回收按钮显示状态：1：显示且可以点击；0：隐藏；-1：显示但不能点击
   * </pre>
   *
   * <code>int32 recycleFlag = 29;</code>
   * @return The recycleFlag.
   */
  @java.lang.Override
  public int getRecycleFlag() {
    return recycleFlag_;
  }

  public static final int DOCTORSIGNURL_FIELD_NUMBER = 30;
  private volatile java.lang.Object doctorSignUrl_;
  /**
   * <code>string doctorSignUrl = 30;</code>
   * @return The doctorSignUrl.
   */
  @java.lang.Override
  public java.lang.String getDoctorSignUrl() {
    java.lang.Object ref = doctorSignUrl_;
    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();
      doctorSignUrl_ = s;
      return s;
    }
  }
  /**
   * <code>string doctorSignUrl = 30;</code>
   * @return The bytes for doctorSignUrl.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDoctorSignUrlBytes() {
    java.lang.Object ref = doctorSignUrl_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      doctorSignUrl_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int EQUIPORDERID_FIELD_NUMBER = 31;
  private int equipOrderId_;
  /**
   * <code>int32 equipOrderId = 31;</code>
   * @return The equipOrderId.
   */
  @java.lang.Override
  public int getEquipOrderId() {
    return equipOrderId_;
  }

  public static final int RECCODE_FIELD_NUMBER = 32;
  private volatile java.lang.Object recCode_;
  /**
   * <pre>
   * 领取码
   * </pre>
   *
   * <code>string recCode = 32;</code>
   * @return The recCode.
   */
  @java.lang.Override
  public java.lang.String getRecCode() {
    java.lang.Object ref = recCode_;
    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();
      recCode_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 领取码
   * </pre>
   *
   * <code>string recCode = 32;</code>
   * @return The bytes for recCode.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getRecCodeBytes() {
    java.lang.Object ref = recCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      recCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int EQUIPCODEEDITABLE_FIELD_NUMBER = 33;
  private boolean equipCodeEditable_;
  /**
   * <pre>
   * 设备码能否修改
   * </pre>
   *
   * <code>bool equipCodeEditable = 33;</code>
   * @return The equipCodeEditable.
   */
  @java.lang.Override
  public boolean getEquipCodeEditable() {
    return equipCodeEditable_;
  }

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

  public static final int CHANGEDHOSPITALID_FIELD_NUMBER = 35;
  private int changedHospitalId_;
  /**
   * <code>int32 changedHospitalId = 35;</code>
   * @return The changedHospitalId.
   */
  @java.lang.Override
  public int getChangedHospitalId() {
    return changedHospitalId_;
  }

  public static final int VIEWREPORTFLAG_FIELD_NUMBER = 36;
  private int viewReportFlag_;
  /**
   * <pre>
   * 查看检查报告按钮显示状态：1：显示且可以点击；0：隐藏
   * </pre>
   *
   * <code>int32 viewReportFlag = 36;</code>
   * @return The viewReportFlag.
   */
  @java.lang.Override
  public int getViewReportFlag() {
    return viewReportFlag_;
  }

  public static final int RELATEDREPORTID_FIELD_NUMBER = 37;
  private int relatedReportId_;
  /**
   * <pre>
   * 订单关联的报告 id，用于查看报告详情
   * </pre>
   *
   * <code>int32 relatedReportId = 37;</code>
   * @return The relatedReportId.
   */
  @java.lang.Override
  public int getRelatedReportId() {
    return relatedReportId_;
  }

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

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderNo_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, orderNo_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hospitalName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, hospitalName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctorName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, doctorName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deptName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, deptName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(patientName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, patientName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(patientIdCard_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, patientIdCard_);
    }
    if (patientAge_ != 0) {
      output.writeInt32(7, patientAge_);
    }
    if (patientGender_ != 0) {
      output.writeInt32(8, patientGender_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(patientMobile_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, patientMobile_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(paymentTime_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, paymentTime_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(diagnose_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 11, diagnose_);
    }
    for (int i = 0; i < inspectionItem_.size(); i++) {
      output.writeMessage(12, inspectionItem_.get(i));
    }
    if (doctorSignId_ != 0) {
      output.writeInt32(13, doctorSignId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(remark_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 14, remark_);
    }
    if (status_ != 0) {
      output.writeInt32(15, status_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(statusStr_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 16, statusStr_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(payUrl_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 17, payUrl_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(equipCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 18, equipCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 19, senderName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(recyclerName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 20, recyclerName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(refundApplyDoctor_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 21, refundApplyDoctor_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(refundRejectReason_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 22, refundRejectReason_);
    }
    if (equipId_ != 0) {
      output.writeInt32(23, equipId_);
    }
    if (orderId_ != 0) {
      output.writeInt32(24, orderId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(createTime_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 25, createTime_);
    }
    if (totalPrice_ != 0) {
      output.writeInt32(26, totalPrice_);
    }
    if (refundFlag_ != 0) {
      output.writeInt32(27, refundFlag_);
    }
    if (allocFlag_ != 0) {
      output.writeInt32(28, allocFlag_);
    }
    if (recycleFlag_ != 0) {
      output.writeInt32(29, recycleFlag_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctorSignUrl_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 30, doctorSignUrl_);
    }
    if (equipOrderId_ != 0) {
      output.writeInt32(31, equipOrderId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(recCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 32, recCode_);
    }
    if (equipCodeEditable_ != false) {
      output.writeBool(33, equipCodeEditable_);
    }
    if (hospitalId_ != 0) {
      output.writeInt32(34, hospitalId_);
    }
    if (changedHospitalId_ != 0) {
      output.writeInt32(35, changedHospitalId_);
    }
    if (viewReportFlag_ != 0) {
      output.writeInt32(36, viewReportFlag_);
    }
    if (relatedReportId_ != 0) {
      output.writeInt32(37, relatedReportId_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderNo_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, orderNo_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hospitalName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, hospitalName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctorName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, doctorName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deptName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, deptName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(patientName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, patientName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(patientIdCard_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, patientIdCard_);
    }
    if (patientAge_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(7, patientAge_);
    }
    if (patientGender_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(8, patientGender_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(patientMobile_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, patientMobile_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(paymentTime_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, paymentTime_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(diagnose_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, diagnose_);
    }
    for (int i = 0; i < inspectionItem_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(12, inspectionItem_.get(i));
    }
    if (doctorSignId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(13, doctorSignId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(remark_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, remark_);
    }
    if (status_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(15, status_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(statusStr_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, statusStr_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(payUrl_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, payUrl_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(equipCode_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, equipCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, senderName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(recyclerName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, recyclerName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(refundApplyDoctor_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, refundApplyDoctor_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(refundRejectReason_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, refundRejectReason_);
    }
    if (equipId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(23, equipId_);
    }
    if (orderId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(24, orderId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(createTime_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(25, createTime_);
    }
    if (totalPrice_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(26, totalPrice_);
    }
    if (refundFlag_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(27, refundFlag_);
    }
    if (allocFlag_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(28, allocFlag_);
    }
    if (recycleFlag_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(29, recycleFlag_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctorSignUrl_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(30, doctorSignUrl_);
    }
    if (equipOrderId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(31, equipOrderId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(recCode_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(32, recCode_);
    }
    if (equipCodeEditable_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(33, equipCodeEditable_);
    }
    if (hospitalId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(34, hospitalId_);
    }
    if (changedHospitalId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(35, changedHospitalId_);
    }
    if (viewReportFlag_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(36, viewReportFlag_);
    }
    if (relatedReportId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(37, relatedReportId_);
    }
    size += unknownFields.getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof com.ywt.gapi.med_equip.OrderInfo)) {
      return super.equals(obj);
    }
    com.ywt.gapi.med_equip.OrderInfo other = (com.ywt.gapi.med_equip.OrderInfo) obj;

    if (!getOrderNo()
        .equals(other.getOrderNo())) return false;
    if (!getHospitalName()
        .equals(other.getHospitalName())) return false;
    if (!getDoctorName()
        .equals(other.getDoctorName())) return false;
    if (!getDeptName()
        .equals(other.getDeptName())) return false;
    if (!getPatientName()
        .equals(other.getPatientName())) return false;
    if (!getPatientIdCard()
        .equals(other.getPatientIdCard())) return false;
    if (getPatientAge()
        != other.getPatientAge()) return false;
    if (getPatientGender()
        != other.getPatientGender()) return false;
    if (!getPatientMobile()
        .equals(other.getPatientMobile())) return false;
    if (!getPaymentTime()
        .equals(other.getPaymentTime())) return false;
    if (!getDiagnose()
        .equals(other.getDiagnose())) return false;
    if (!getInspectionItemList()
        .equals(other.getInspectionItemList())) return false;
    if (getDoctorSignId()
        != other.getDoctorSignId()) return false;
    if (!getRemark()
        .equals(other.getRemark())) return false;
    if (getStatus()
        != other.getStatus()) return false;
    if (!getStatusStr()
        .equals(other.getStatusStr())) return false;
    if (!getPayUrl()
        .equals(other.getPayUrl())) return false;
    if (!getEquipCode()
        .equals(other.getEquipCode())) return false;
    if (!getSenderName()
        .equals(other.getSenderName())) return false;
    if (!getRecyclerName()
        .equals(other.getRecyclerName())) return false;
    if (!getRefundApplyDoctor()
        .equals(other.getRefundApplyDoctor())) return false;
    if (!getRefundRejectReason()
        .equals(other.getRefundRejectReason())) return false;
    if (getEquipId()
        != other.getEquipId()) return false;
    if (getOrderId()
        != other.getOrderId()) return false;
    if (!getCreateTime()
        .equals(other.getCreateTime())) return false;
    if (getTotalPrice()
        != other.getTotalPrice()) return false;
    if (getRefundFlag()
        != other.getRefundFlag()) return false;
    if (getAllocFlag()
        != other.getAllocFlag()) return false;
    if (getRecycleFlag()
        != other.getRecycleFlag()) return false;
    if (!getDoctorSignUrl()
        .equals(other.getDoctorSignUrl())) return false;
    if (getEquipOrderId()
        != other.getEquipOrderId()) return false;
    if (!getRecCode()
        .equals(other.getRecCode())) return false;
    if (getEquipCodeEditable()
        != other.getEquipCodeEditable()) return false;
    if (getHospitalId()
        != other.getHospitalId()) return false;
    if (getChangedHospitalId()
        != other.getChangedHospitalId()) return false;
    if (getViewReportFlag()
        != other.getViewReportFlag()) return false;
    if (getRelatedReportId()
        != other.getRelatedReportId()) return false;
    if (!unknownFields.equals(other.unknownFields)) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + ORDERNO_FIELD_NUMBER;
    hash = (53 * hash) + getOrderNo().hashCode();
    hash = (37 * hash) + HOSPITALNAME_FIELD_NUMBER;
    hash = (53 * hash) + getHospitalName().hashCode();
    hash = (37 * hash) + DOCTORNAME_FIELD_NUMBER;
    hash = (53 * hash) + getDoctorName().hashCode();
    hash = (37 * hash) + DEPTNAME_FIELD_NUMBER;
    hash = (53 * hash) + getDeptName().hashCode();
    hash = (37 * hash) + PATIENTNAME_FIELD_NUMBER;
    hash = (53 * hash) + getPatientName().hashCode();
    hash = (37 * hash) + PATIENTIDCARD_FIELD_NUMBER;
    hash = (53 * hash) + getPatientIdCard().hashCode();
    hash = (37 * hash) + PATIENTAGE_FIELD_NUMBER;
    hash = (53 * hash) + getPatientAge();
    hash = (37 * hash) + PATIENTGENDER_FIELD_NUMBER;
    hash = (53 * hash) + getPatientGender();
    hash = (37 * hash) + PATIENTMOBILE_FIELD_NUMBER;
    hash = (53 * hash) + getPatientMobile().hashCode();
    hash = (37 * hash) + PAYMENTTIME_FIELD_NUMBER;
    hash = (53 * hash) + getPaymentTime().hashCode();
    hash = (37 * hash) + DIAGNOSE_FIELD_NUMBER;
    hash = (53 * hash) + getDiagnose().hashCode();
    if (getInspectionItemCount() > 0) {
      hash = (37 * hash) + INSPECTIONITEM_FIELD_NUMBER;
      hash = (53 * hash) + getInspectionItemList().hashCode();
    }
    hash = (37 * hash) + DOCTORSIGNID_FIELD_NUMBER;
    hash = (53 * hash) + getDoctorSignId();
    hash = (37 * hash) + REMARK_FIELD_NUMBER;
    hash = (53 * hash) + getRemark().hashCode();
    hash = (37 * hash) + STATUS_FIELD_NUMBER;
    hash = (53 * hash) + getStatus();
    hash = (37 * hash) + STATUSSTR_FIELD_NUMBER;
    hash = (53 * hash) + getStatusStr().hashCode();
    hash = (37 * hash) + PAYURL_FIELD_NUMBER;
    hash = (53 * hash) + getPayUrl().hashCode();
    hash = (37 * hash) + EQUIPCODE_FIELD_NUMBER;
    hash = (53 * hash) + getEquipCode().hashCode();
    hash = (37 * hash) + SENDERNAME_FIELD_NUMBER;
    hash = (53 * hash) + getSenderName().hashCode();
    hash = (37 * hash) + RECYCLERNAME_FIELD_NUMBER;
    hash = (53 * hash) + getRecyclerName().hashCode();
    hash = (37 * hash) + REFUNDAPPLYDOCTOR_FIELD_NUMBER;
    hash = (53 * hash) + getRefundApplyDoctor().hashCode();
    hash = (37 * hash) + REFUNDREJECTREASON_FIELD_NUMBER;
    hash = (53 * hash) + getRefundRejectReason().hashCode();
    hash = (37 * hash) + EQUIPID_FIELD_NUMBER;
    hash = (53 * hash) + getEquipId();
    hash = (37 * hash) + ORDERID_FIELD_NUMBER;
    hash = (53 * hash) + getOrderId();
    hash = (37 * hash) + CREATETIME_FIELD_NUMBER;
    hash = (53 * hash) + getCreateTime().hashCode();
    hash = (37 * hash) + TOTALPRICE_FIELD_NUMBER;
    hash = (53 * hash) + getTotalPrice();
    hash = (37 * hash) + REFUNDFLAG_FIELD_NUMBER;
    hash = (53 * hash) + getRefundFlag();
    hash = (37 * hash) + ALLOCFLAG_FIELD_NUMBER;
    hash = (53 * hash) + getAllocFlag();
    hash = (37 * hash) + RECYCLEFLAG_FIELD_NUMBER;
    hash = (53 * hash) + getRecycleFlag();
    hash = (37 * hash) + DOCTORSIGNURL_FIELD_NUMBER;
    hash = (53 * hash) + getDoctorSignUrl().hashCode();
    hash = (37 * hash) + EQUIPORDERID_FIELD_NUMBER;
    hash = (53 * hash) + getEquipOrderId();
    hash = (37 * hash) + RECCODE_FIELD_NUMBER;
    hash = (53 * hash) + getRecCode().hashCode();
    hash = (37 * hash) + EQUIPCODEEDITABLE_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getEquipCodeEditable());
    hash = (37 * hash) + HOSPITALID_FIELD_NUMBER;
    hash = (53 * hash) + getHospitalId();
    hash = (37 * hash) + CHANGEDHOSPITALID_FIELD_NUMBER;
    hash = (53 * hash) + getChangedHospitalId();
    hash = (37 * hash) + VIEWREPORTFLAG_FIELD_NUMBER;
    hash = (53 * hash) + getViewReportFlag();
    hash = (37 * hash) + RELATEDREPORTID_FIELD_NUMBER;
    hash = (53 * hash) + getRelatedReportId();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

  @java.lang.Override
  public Builder newBuilderForType() { return newBuilder(); }
  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }
  public static Builder newBuilder(com.ywt.gapi.med_equip.OrderInfo prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  @java.lang.Override
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE
        ? new Builder() : new Builder().mergeFrom(this);
  }

  @java.lang.Override
  protected Builder newBuilderForType(
      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * Protobuf type {@code com.ywt.gapi.med_equip.OrderInfo}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:com.ywt.gapi.med_equip.OrderInfo)
      com.ywt.gapi.med_equip.OrderInfoOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.ywt.gapi.med_equip.MedEquipProto.internal_static_com_ywt_gapi_med_equip_OrderInfo_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.ywt.gapi.med_equip.MedEquipProto.internal_static_com_ywt_gapi_med_equip_OrderInfo_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.ywt.gapi.med_equip.OrderInfo.class, com.ywt.gapi.med_equip.OrderInfo.Builder.class);
    }

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

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

      hospitalName_ = "";

      doctorName_ = "";

      deptName_ = "";

      patientName_ = "";

      patientIdCard_ = "";

      patientAge_ = 0;

      patientGender_ = 0;

      patientMobile_ = "";

      paymentTime_ = "";

      diagnose_ = "";

      if (inspectionItemBuilder_ == null) {
        inspectionItem_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
      } else {
        inspectionItemBuilder_.clear();
      }
      doctorSignId_ = 0;

      remark_ = "";

      status_ = 0;

      statusStr_ = "";

      payUrl_ = "";

      equipCode_ = "";

      senderName_ = "";

      recyclerName_ = "";

      refundApplyDoctor_ = "";

      refundRejectReason_ = "";

      equipId_ = 0;

      orderId_ = 0;

      createTime_ = "";

      totalPrice_ = 0;

      refundFlag_ = 0;

      allocFlag_ = 0;

      recycleFlag_ = 0;

      doctorSignUrl_ = "";

      equipOrderId_ = 0;

      recCode_ = "";

      equipCodeEditable_ = false;

      hospitalId_ = 0;

      changedHospitalId_ = 0;

      viewReportFlag_ = 0;

      relatedReportId_ = 0;

      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.ywt.gapi.med_equip.MedEquipProto.internal_static_com_ywt_gapi_med_equip_OrderInfo_descriptor;
    }

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

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

    @java.lang.Override
    public com.ywt.gapi.med_equip.OrderInfo buildPartial() {
      com.ywt.gapi.med_equip.OrderInfo result = new com.ywt.gapi.med_equip.OrderInfo(this);
      int from_bitField0_ = bitField0_;
      result.orderNo_ = orderNo_;
      result.hospitalName_ = hospitalName_;
      result.doctorName_ = doctorName_;
      result.deptName_ = deptName_;
      result.patientName_ = patientName_;
      result.patientIdCard_ = patientIdCard_;
      result.patientAge_ = patientAge_;
      result.patientGender_ = patientGender_;
      result.patientMobile_ = patientMobile_;
      result.paymentTime_ = paymentTime_;
      result.diagnose_ = diagnose_;
      if (inspectionItemBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0)) {
          inspectionItem_ = java.util.Collections.unmodifiableList(inspectionItem_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.inspectionItem_ = inspectionItem_;
      } else {
        result.inspectionItem_ = inspectionItemBuilder_.build();
      }
      result.doctorSignId_ = doctorSignId_;
      result.remark_ = remark_;
      result.status_ = status_;
      result.statusStr_ = statusStr_;
      result.payUrl_ = payUrl_;
      result.equipCode_ = equipCode_;
      result.senderName_ = senderName_;
      result.recyclerName_ = recyclerName_;
      result.refundApplyDoctor_ = refundApplyDoctor_;
      result.refundRejectReason_ = refundRejectReason_;
      result.equipId_ = equipId_;
      result.orderId_ = orderId_;
      result.createTime_ = createTime_;
      result.totalPrice_ = totalPrice_;
      result.refundFlag_ = refundFlag_;
      result.allocFlag_ = allocFlag_;
      result.recycleFlag_ = recycleFlag_;
      result.doctorSignUrl_ = doctorSignUrl_;
      result.equipOrderId_ = equipOrderId_;
      result.recCode_ = recCode_;
      result.equipCodeEditable_ = equipCodeEditable_;
      result.hospitalId_ = hospitalId_;
      result.changedHospitalId_ = changedHospitalId_;
      result.viewReportFlag_ = viewReportFlag_;
      result.relatedReportId_ = relatedReportId_;
      onBuilt();
      return result;
    }

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

    public Builder mergeFrom(com.ywt.gapi.med_equip.OrderInfo other) {
      if (other == com.ywt.gapi.med_equip.OrderInfo.getDefaultInstance()) return this;
      if (!other.getOrderNo().isEmpty()) {
        orderNo_ = other.orderNo_;
        onChanged();
      }
      if (!other.getHospitalName().isEmpty()) {
        hospitalName_ = other.hospitalName_;
        onChanged();
      }
      if (!other.getDoctorName().isEmpty()) {
        doctorName_ = other.doctorName_;
        onChanged();
      }
      if (!other.getDeptName().isEmpty()) {
        deptName_ = other.deptName_;
        onChanged();
      }
      if (!other.getPatientName().isEmpty()) {
        patientName_ = other.patientName_;
        onChanged();
      }
      if (!other.getPatientIdCard().isEmpty()) {
        patientIdCard_ = other.patientIdCard_;
        onChanged();
      }
      if (other.getPatientAge() != 0) {
        setPatientAge(other.getPatientAge());
      }
      if (other.getPatientGender() != 0) {
        setPatientGender(other.getPatientGender());
      }
      if (!other.getPatientMobile().isEmpty()) {
        patientMobile_ = other.patientMobile_;
        onChanged();
      }
      if (!other.getPaymentTime().isEmpty()) {
        paymentTime_ = other.paymentTime_;
        onChanged();
      }
      if (!other.getDiagnose().isEmpty()) {
        diagnose_ = other.diagnose_;
        onChanged();
      }
      if (inspectionItemBuilder_ == null) {
        if (!other.inspectionItem_.isEmpty()) {
          if (inspectionItem_.isEmpty()) {
            inspectionItem_ = other.inspectionItem_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureInspectionItemIsMutable();
            inspectionItem_.addAll(other.inspectionItem_);
          }
          onChanged();
        }
      } else {
        if (!other.inspectionItem_.isEmpty()) {
          if (inspectionItemBuilder_.isEmpty()) {
            inspectionItemBuilder_.dispose();
            inspectionItemBuilder_ = null;
            inspectionItem_ = other.inspectionItem_;
            bitField0_ = (bitField0_ & ~0x00000001);
            inspectionItemBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getInspectionItemFieldBuilder() : null;
          } else {
            inspectionItemBuilder_.addAllMessages(other.inspectionItem_);
          }
        }
      }
      if (other.getDoctorSignId() != 0) {
        setDoctorSignId(other.getDoctorSignId());
      }
      if (!other.getRemark().isEmpty()) {
        remark_ = other.remark_;
        onChanged();
      }
      if (other.getStatus() != 0) {
        setStatus(other.getStatus());
      }
      if (!other.getStatusStr().isEmpty()) {
        statusStr_ = other.statusStr_;
        onChanged();
      }
      if (!other.getPayUrl().isEmpty()) {
        payUrl_ = other.payUrl_;
        onChanged();
      }
      if (!other.getEquipCode().isEmpty()) {
        equipCode_ = other.equipCode_;
        onChanged();
      }
      if (!other.getSenderName().isEmpty()) {
        senderName_ = other.senderName_;
        onChanged();
      }
      if (!other.getRecyclerName().isEmpty()) {
        recyclerName_ = other.recyclerName_;
        onChanged();
      }
      if (!other.getRefundApplyDoctor().isEmpty()) {
        refundApplyDoctor_ = other.refundApplyDoctor_;
        onChanged();
      }
      if (!other.getRefundRejectReason().isEmpty()) {
        refundRejectReason_ = other.refundRejectReason_;
        onChanged();
      }
      if (other.getEquipId() != 0) {
        setEquipId(other.getEquipId());
      }
      if (other.getOrderId() != 0) {
        setOrderId(other.getOrderId());
      }
      if (!other.getCreateTime().isEmpty()) {
        createTime_ = other.createTime_;
        onChanged();
      }
      if (other.getTotalPrice() != 0) {
        setTotalPrice(other.getTotalPrice());
      }
      if (other.getRefundFlag() != 0) {
        setRefundFlag(other.getRefundFlag());
      }
      if (other.getAllocFlag() != 0) {
        setAllocFlag(other.getAllocFlag());
      }
      if (other.getRecycleFlag() != 0) {
        setRecycleFlag(other.getRecycleFlag());
      }
      if (!other.getDoctorSignUrl().isEmpty()) {
        doctorSignUrl_ = other.doctorSignUrl_;
        onChanged();
      }
      if (other.getEquipOrderId() != 0) {
        setEquipOrderId(other.getEquipOrderId());
      }
      if (!other.getRecCode().isEmpty()) {
        recCode_ = other.recCode_;
        onChanged();
      }
      if (other.getEquipCodeEditable() != false) {
        setEquipCodeEditable(other.getEquipCodeEditable());
      }
      if (other.getHospitalId() != 0) {
        setHospitalId(other.getHospitalId());
      }
      if (other.getChangedHospitalId() != 0) {
        setChangedHospitalId(other.getChangedHospitalId());
      }
      if (other.getViewReportFlag() != 0) {
        setViewReportFlag(other.getViewReportFlag());
      }
      if (other.getRelatedReportId() != 0) {
        setRelatedReportId(other.getRelatedReportId());
      }
      this.mergeUnknownFields(other.unknownFields);
      onChanged();
      return this;
    }

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

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

    private java.lang.Object orderNo_ = "";
    /**
     * <code>string orderNo = 1;</code>
     * @return The orderNo.
     */
    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 = 1;</code>
     * @return The bytes for orderNo.
     */
    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 = 1;</code>
     * @param value The orderNo to set.
     * @return This builder for chaining.
     */
    public Builder setOrderNo(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      orderNo_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string orderNo = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearOrderNo() {
      
      orderNo_ = getDefaultInstance().getOrderNo();
      onChanged();
      return this;
    }
    /**
     * <code>string orderNo = 1;</code>
     * @param value The bytes for orderNo to set.
     * @return This builder for chaining.
     */
    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 hospitalName_ = "";
    /**
     * <code>string hospitalName = 2;</code>
     * @return The hospitalName.
     */
    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 = 2;</code>
     * @return The bytes for hospitalName.
     */
    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 = 2;</code>
     * @param value The hospitalName to set.
     * @return This builder for chaining.
     */
    public Builder setHospitalName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      hospitalName_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string hospitalName = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearHospitalName() {
      
      hospitalName_ = getDefaultInstance().getHospitalName();
      onChanged();
      return this;
    }
    /**
     * <code>string hospitalName = 2;</code>
     * @param value The bytes for hospitalName to set.
     * @return This builder for chaining.
     */
    public Builder setHospitalNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      hospitalName_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object doctorName_ = "";
    /**
     * <code>string doctorName = 3;</code>
     * @return The doctorName.
     */
    public java.lang.String getDoctorName() {
      java.lang.Object ref = doctorName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        doctorName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string doctorName = 3;</code>
     * @return The bytes for doctorName.
     */
    public com.google.protobuf.ByteString
        getDoctorNameBytes() {
      java.lang.Object ref = doctorName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        doctorName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string doctorName = 3;</code>
     * @param value The doctorName to set.
     * @return This builder for chaining.
     */
    public Builder setDoctorName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      doctorName_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string doctorName = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearDoctorName() {
      
      doctorName_ = getDefaultInstance().getDoctorName();
      onChanged();
      return this;
    }
    /**
     * <code>string doctorName = 3;</code>
     * @param value The bytes for doctorName to set.
     * @return This builder for chaining.
     */
    public Builder setDoctorNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      doctorName_ = value;
      onChanged();
      return this;
    }

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

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

    private java.lang.Object patientIdCard_ = "";
    /**
     * <code>string patientIdCard = 6;</code>
     * @return The patientIdCard.
     */
    public java.lang.String getPatientIdCard() {
      java.lang.Object ref = patientIdCard_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        patientIdCard_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string patientIdCard = 6;</code>
     * @return The bytes for patientIdCard.
     */
    public com.google.protobuf.ByteString
        getPatientIdCardBytes() {
      java.lang.Object ref = patientIdCard_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        patientIdCard_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string patientIdCard = 6;</code>
     * @param value The patientIdCard to set.
     * @return This builder for chaining.
     */
    public Builder setPatientIdCard(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      patientIdCard_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string patientIdCard = 6;</code>
     * @return This builder for chaining.
     */
    public Builder clearPatientIdCard() {
      
      patientIdCard_ = getDefaultInstance().getPatientIdCard();
      onChanged();
      return this;
    }
    /**
     * <code>string patientIdCard = 6;</code>
     * @param value The bytes for patientIdCard to set.
     * @return This builder for chaining.
     */
    public Builder setPatientIdCardBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      patientIdCard_ = value;
      onChanged();
      return this;
    }

    private int patientAge_ ;
    /**
     * <code>int32 patientAge = 7;</code>
     * @return The patientAge.
     */
    @java.lang.Override
    public int getPatientAge() {
      return patientAge_;
    }
    /**
     * <code>int32 patientAge = 7;</code>
     * @param value The patientAge to set.
     * @return This builder for chaining.
     */
    public Builder setPatientAge(int value) {
      
      patientAge_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 patientAge = 7;</code>
     * @return This builder for chaining.
     */
    public Builder clearPatientAge() {
      
      patientAge_ = 0;
      onChanged();
      return this;
    }

    private int patientGender_ ;
    /**
     * <code>int32 patientGender = 8;</code>
     * @return The patientGender.
     */
    @java.lang.Override
    public int getPatientGender() {
      return patientGender_;
    }
    /**
     * <code>int32 patientGender = 8;</code>
     * @param value The patientGender to set.
     * @return This builder for chaining.
     */
    public Builder setPatientGender(int value) {
      
      patientGender_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 patientGender = 8;</code>
     * @return This builder for chaining.
     */
    public Builder clearPatientGender() {
      
      patientGender_ = 0;
      onChanged();
      return this;
    }

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

    private java.lang.Object paymentTime_ = "";
    /**
     * <code>string paymentTime = 10;</code>
     * @return The paymentTime.
     */
    public java.lang.String getPaymentTime() {
      java.lang.Object ref = paymentTime_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        paymentTime_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string paymentTime = 10;</code>
     * @return The bytes for paymentTime.
     */
    public com.google.protobuf.ByteString
        getPaymentTimeBytes() {
      java.lang.Object ref = paymentTime_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        paymentTime_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string paymentTime = 10;</code>
     * @param value The paymentTime to set.
     * @return This builder for chaining.
     */
    public Builder setPaymentTime(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      paymentTime_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string paymentTime = 10;</code>
     * @return This builder for chaining.
     */
    public Builder clearPaymentTime() {
      
      paymentTime_ = getDefaultInstance().getPaymentTime();
      onChanged();
      return this;
    }
    /**
     * <code>string paymentTime = 10;</code>
     * @param value The bytes for paymentTime to set.
     * @return This builder for chaining.
     */
    public Builder setPaymentTimeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      paymentTime_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object diagnose_ = "";
    /**
     * <code>string diagnose = 11;</code>
     * @return The diagnose.
     */
    public java.lang.String getDiagnose() {
      java.lang.Object ref = diagnose_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        diagnose_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string diagnose = 11;</code>
     * @return The bytes for diagnose.
     */
    public com.google.protobuf.ByteString
        getDiagnoseBytes() {
      java.lang.Object ref = diagnose_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        diagnose_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string diagnose = 11;</code>
     * @param value The diagnose to set.
     * @return This builder for chaining.
     */
    public Builder setDiagnose(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      diagnose_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string diagnose = 11;</code>
     * @return This builder for chaining.
     */
    public Builder clearDiagnose() {
      
      diagnose_ = getDefaultInstance().getDiagnose();
      onChanged();
      return this;
    }
    /**
     * <code>string diagnose = 11;</code>
     * @param value The bytes for diagnose to set.
     * @return This builder for chaining.
     */
    public Builder setDiagnoseBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      diagnose_ = value;
      onChanged();
      return this;
    }

    private java.util.List<com.ywt.gapi.med_equip.InspectionItem> inspectionItem_ =
      java.util.Collections.emptyList();
    private void ensureInspectionItemIsMutable() {
      if (!((bitField0_ & 0x00000001) != 0)) {
        inspectionItem_ = new java.util.ArrayList<com.ywt.gapi.med_equip.InspectionItem>(inspectionItem_);
        bitField0_ |= 0x00000001;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.ywt.gapi.med_equip.InspectionItem, com.ywt.gapi.med_equip.InspectionItem.Builder, com.ywt.gapi.med_equip.InspectionItemOrBuilder> inspectionItemBuilder_;

    /**
     * <code>repeated .com.ywt.gapi.med_equip.InspectionItem inspectionItem = 12;</code>
     */
    public java.util.List<com.ywt.gapi.med_equip.InspectionItem> getInspectionItemList() {
      if (inspectionItemBuilder_ == null) {
        return java.util.Collections.unmodifiableList(inspectionItem_);
      } else {
        return inspectionItemBuilder_.getMessageList();
      }
    }
    /**
     * <code>repeated .com.ywt.gapi.med_equip.InspectionItem inspectionItem = 12;</code>
     */
    public int getInspectionItemCount() {
      if (inspectionItemBuilder_ == null) {
        return inspectionItem_.size();
      } else {
        return inspectionItemBuilder_.getCount();
      }
    }
    /**
     * <code>repeated .com.ywt.gapi.med_equip.InspectionItem inspectionItem = 12;</code>
     */
    public com.ywt.gapi.med_equip.InspectionItem getInspectionItem(int index) {
      if (inspectionItemBuilder_ == null) {
        return inspectionItem_.get(index);
      } else {
        return inspectionItemBuilder_.getMessage(index);
      }
    }
    /**
     * <code>repeated .com.ywt.gapi.med_equip.InspectionItem inspectionItem = 12;</code>
     */
    public Builder setInspectionItem(
        int index, com.ywt.gapi.med_equip.InspectionItem value) {
      if (inspectionItemBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureInspectionItemIsMutable();
        inspectionItem_.set(index, value);
        onChanged();
      } else {
        inspectionItemBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.med_equip.InspectionItem inspectionItem = 12;</code>
     */
    public Builder setInspectionItem(
        int index, com.ywt.gapi.med_equip.InspectionItem.Builder builderForValue) {
      if (inspectionItemBuilder_ == null) {
        ensureInspectionItemIsMutable();
        inspectionItem_.set(index, builderForValue.build());
        onChanged();
      } else {
        inspectionItemBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.med_equip.InspectionItem inspectionItem = 12;</code>
     */
    public Builder addInspectionItem(com.ywt.gapi.med_equip.InspectionItem value) {
      if (inspectionItemBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureInspectionItemIsMutable();
        inspectionItem_.add(value);
        onChanged();
      } else {
        inspectionItemBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.med_equip.InspectionItem inspectionItem = 12;</code>
     */
    public Builder addInspectionItem(
        int index, com.ywt.gapi.med_equip.InspectionItem value) {
      if (inspectionItemBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureInspectionItemIsMutable();
        inspectionItem_.add(index, value);
        onChanged();
      } else {
        inspectionItemBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.med_equip.InspectionItem inspectionItem = 12;</code>
     */
    public Builder addInspectionItem(
        com.ywt.gapi.med_equip.InspectionItem.Builder builderForValue) {
      if (inspectionItemBuilder_ == null) {
        ensureInspectionItemIsMutable();
        inspectionItem_.add(builderForValue.build());
        onChanged();
      } else {
        inspectionItemBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.med_equip.InspectionItem inspectionItem = 12;</code>
     */
    public Builder addInspectionItem(
        int index, com.ywt.gapi.med_equip.InspectionItem.Builder builderForValue) {
      if (inspectionItemBuilder_ == null) {
        ensureInspectionItemIsMutable();
        inspectionItem_.add(index, builderForValue.build());
        onChanged();
      } else {
        inspectionItemBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.med_equip.InspectionItem inspectionItem = 12;</code>
     */
    public Builder addAllInspectionItem(
        java.lang.Iterable<? extends com.ywt.gapi.med_equip.InspectionItem> values) {
      if (inspectionItemBuilder_ == null) {
        ensureInspectionItemIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, inspectionItem_);
        onChanged();
      } else {
        inspectionItemBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.med_equip.InspectionItem inspectionItem = 12;</code>
     */
    public Builder clearInspectionItem() {
      if (inspectionItemBuilder_ == null) {
        inspectionItem_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
      } else {
        inspectionItemBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.med_equip.InspectionItem inspectionItem = 12;</code>
     */
    public Builder removeInspectionItem(int index) {
      if (inspectionItemBuilder_ == null) {
        ensureInspectionItemIsMutable();
        inspectionItem_.remove(index);
        onChanged();
      } else {
        inspectionItemBuilder_.remove(index);
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.med_equip.InspectionItem inspectionItem = 12;</code>
     */
    public com.ywt.gapi.med_equip.InspectionItem.Builder getInspectionItemBuilder(
        int index) {
      return getInspectionItemFieldBuilder().getBuilder(index);
    }
    /**
     * <code>repeated .com.ywt.gapi.med_equip.InspectionItem inspectionItem = 12;</code>
     */
    public com.ywt.gapi.med_equip.InspectionItemOrBuilder getInspectionItemOrBuilder(
        int index) {
      if (inspectionItemBuilder_ == null) {
        return inspectionItem_.get(index);  } else {
        return inspectionItemBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * <code>repeated .com.ywt.gapi.med_equip.InspectionItem inspectionItem = 12;</code>
     */
    public java.util.List<? extends com.ywt.gapi.med_equip.InspectionItemOrBuilder> 
         getInspectionItemOrBuilderList() {
      if (inspectionItemBuilder_ != null) {
        return inspectionItemBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(inspectionItem_);
      }
    }
    /**
     * <code>repeated .com.ywt.gapi.med_equip.InspectionItem inspectionItem = 12;</code>
     */
    public com.ywt.gapi.med_equip.InspectionItem.Builder addInspectionItemBuilder() {
      return getInspectionItemFieldBuilder().addBuilder(
          com.ywt.gapi.med_equip.InspectionItem.getDefaultInstance());
    }
    /**
     * <code>repeated .com.ywt.gapi.med_equip.InspectionItem inspectionItem = 12;</code>
     */
    public com.ywt.gapi.med_equip.InspectionItem.Builder addInspectionItemBuilder(
        int index) {
      return getInspectionItemFieldBuilder().addBuilder(
          index, com.ywt.gapi.med_equip.InspectionItem.getDefaultInstance());
    }
    /**
     * <code>repeated .com.ywt.gapi.med_equip.InspectionItem inspectionItem = 12;</code>
     */
    public java.util.List<com.ywt.gapi.med_equip.InspectionItem.Builder> 
         getInspectionItemBuilderList() {
      return getInspectionItemFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.ywt.gapi.med_equip.InspectionItem, com.ywt.gapi.med_equip.InspectionItem.Builder, com.ywt.gapi.med_equip.InspectionItemOrBuilder> 
        getInspectionItemFieldBuilder() {
      if (inspectionItemBuilder_ == null) {
        inspectionItemBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            com.ywt.gapi.med_equip.InspectionItem, com.ywt.gapi.med_equip.InspectionItem.Builder, com.ywt.gapi.med_equip.InspectionItemOrBuilder>(
                inspectionItem_,
                ((bitField0_ & 0x00000001) != 0),
                getParentForChildren(),
                isClean());
        inspectionItem_ = null;
      }
      return inspectionItemBuilder_;
    }

    private int doctorSignId_ ;
    /**
     * <code>int32 doctorSignId = 13;</code>
     * @return The doctorSignId.
     */
    @java.lang.Override
    public int getDoctorSignId() {
      return doctorSignId_;
    }
    /**
     * <code>int32 doctorSignId = 13;</code>
     * @param value The doctorSignId to set.
     * @return This builder for chaining.
     */
    public Builder setDoctorSignId(int value) {
      
      doctorSignId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 doctorSignId = 13;</code>
     * @return This builder for chaining.
     */
    public Builder clearDoctorSignId() {
      
      doctorSignId_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object remark_ = "";
    /**
     * <code>string remark = 14;</code>
     * @return The remark.
     */
    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 = 14;</code>
     * @return The bytes for remark.
     */
    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 = 14;</code>
     * @param value The remark to set.
     * @return This builder for chaining.
     */
    public Builder setRemark(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      remark_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string remark = 14;</code>
     * @return This builder for chaining.
     */
    public Builder clearRemark() {
      
      remark_ = getDefaultInstance().getRemark();
      onChanged();
      return this;
    }
    /**
     * <code>string remark = 14;</code>
     * @param value The bytes for remark to set.
     * @return This builder for chaining.
     */
    public Builder setRemarkBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      remark_ = value;
      onChanged();
      return this;
    }

    private int status_ ;
    /**
     * <code>int32 status = 15;</code>
     * @return The status.
     */
    @java.lang.Override
    public int getStatus() {
      return status_;
    }
    /**
     * <code>int32 status = 15;</code>
     * @param value The status to set.
     * @return This builder for chaining.
     */
    public Builder setStatus(int value) {
      
      status_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 status = 15;</code>
     * @return This builder for chaining.
     */
    public Builder clearStatus() {
      
      status_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object statusStr_ = "";
    /**
     * <code>string statusStr = 16;</code>
     * @return The statusStr.
     */
    public java.lang.String getStatusStr() {
      java.lang.Object ref = statusStr_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        statusStr_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string statusStr = 16;</code>
     * @return The bytes for statusStr.
     */
    public com.google.protobuf.ByteString
        getStatusStrBytes() {
      java.lang.Object ref = statusStr_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        statusStr_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string statusStr = 16;</code>
     * @param value The statusStr to set.
     * @return This builder for chaining.
     */
    public Builder setStatusStr(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      statusStr_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string statusStr = 16;</code>
     * @return This builder for chaining.
     */
    public Builder clearStatusStr() {
      
      statusStr_ = getDefaultInstance().getStatusStr();
      onChanged();
      return this;
    }
    /**
     * <code>string statusStr = 16;</code>
     * @param value The bytes for statusStr to set.
     * @return This builder for chaining.
     */
    public Builder setStatusStrBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      statusStr_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object payUrl_ = "";
    /**
     * <pre>
     * 展示给患者扫码支付的地址
     * </pre>
     *
     * <code>string payUrl = 17;</code>
     * @return The payUrl.
     */
    public java.lang.String getPayUrl() {
      java.lang.Object ref = payUrl_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        payUrl_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 展示给患者扫码支付的地址
     * </pre>
     *
     * <code>string payUrl = 17;</code>
     * @return The bytes for payUrl.
     */
    public com.google.protobuf.ByteString
        getPayUrlBytes() {
      java.lang.Object ref = payUrl_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        payUrl_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 展示给患者扫码支付的地址
     * </pre>
     *
     * <code>string payUrl = 17;</code>
     * @param value The payUrl to set.
     * @return This builder for chaining.
     */
    public Builder setPayUrl(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      payUrl_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 展示给患者扫码支付的地址
     * </pre>
     *
     * <code>string payUrl = 17;</code>
     * @return This builder for chaining.
     */
    public Builder clearPayUrl() {
      
      payUrl_ = getDefaultInstance().getPayUrl();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 展示给患者扫码支付的地址
     * </pre>
     *
     * <code>string payUrl = 17;</code>
     * @param value The bytes for payUrl to set.
     * @return This builder for chaining.
     */
    public Builder setPayUrlBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      payUrl_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object equipCode_ = "";
    /**
     * <pre>
     * 设备码
     * </pre>
     *
     * <code>string equipCode = 18;</code>
     * @return The equipCode.
     */
    public java.lang.String getEquipCode() {
      java.lang.Object ref = equipCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        equipCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 设备码
     * </pre>
     *
     * <code>string equipCode = 18;</code>
     * @return The bytes for equipCode.
     */
    public com.google.protobuf.ByteString
        getEquipCodeBytes() {
      java.lang.Object ref = equipCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        equipCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 设备码
     * </pre>
     *
     * <code>string equipCode = 18;</code>
     * @param value The equipCode to set.
     * @return This builder for chaining.
     */
    public Builder setEquipCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      equipCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 设备码
     * </pre>
     *
     * <code>string equipCode = 18;</code>
     * @return This builder for chaining.
     */
    public Builder clearEquipCode() {
      
      equipCode_ = getDefaultInstance().getEquipCode();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 设备码
     * </pre>
     *
     * <code>string equipCode = 18;</code>
     * @param value The bytes for equipCode to set.
     * @return This builder for chaining.
     */
    public Builder setEquipCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      equipCode_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object senderName_ = "";
    /**
     * <pre>
     * 派发人姓名
     * </pre>
     *
     * <code>string senderName = 19;</code>
     * @return The senderName.
     */
    public java.lang.String getSenderName() {
      java.lang.Object ref = senderName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        senderName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 派发人姓名
     * </pre>
     *
     * <code>string senderName = 19;</code>
     * @return The bytes for senderName.
     */
    public com.google.protobuf.ByteString
        getSenderNameBytes() {
      java.lang.Object ref = senderName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        senderName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 派发人姓名
     * </pre>
     *
     * <code>string senderName = 19;</code>
     * @param value The senderName to set.
     * @return This builder for chaining.
     */
    public Builder setSenderName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      senderName_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 派发人姓名
     * </pre>
     *
     * <code>string senderName = 19;</code>
     * @return This builder for chaining.
     */
    public Builder clearSenderName() {
      
      senderName_ = getDefaultInstance().getSenderName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 派发人姓名
     * </pre>
     *
     * <code>string senderName = 19;</code>
     * @param value The bytes for senderName to set.
     * @return This builder for chaining.
     */
    public Builder setSenderNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      senderName_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object recyclerName_ = "";
    /**
     * <pre>
     * 回收人员姓名
     * </pre>
     *
     * <code>string recyclerName = 20;</code>
     * @return The recyclerName.
     */
    public java.lang.String getRecyclerName() {
      java.lang.Object ref = recyclerName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        recyclerName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 回收人员姓名
     * </pre>
     *
     * <code>string recyclerName = 20;</code>
     * @return The bytes for recyclerName.
     */
    public com.google.protobuf.ByteString
        getRecyclerNameBytes() {
      java.lang.Object ref = recyclerName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        recyclerName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 回收人员姓名
     * </pre>
     *
     * <code>string recyclerName = 20;</code>
     * @param value The recyclerName to set.
     * @return This builder for chaining.
     */
    public Builder setRecyclerName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      recyclerName_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 回收人员姓名
     * </pre>
     *
     * <code>string recyclerName = 20;</code>
     * @return This builder for chaining.
     */
    public Builder clearRecyclerName() {
      
      recyclerName_ = getDefaultInstance().getRecyclerName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 回收人员姓名
     * </pre>
     *
     * <code>string recyclerName = 20;</code>
     * @param value The bytes for recyclerName to set.
     * @return This builder for chaining.
     */
    public Builder setRecyclerNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      recyclerName_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object refundApplyDoctor_ = "";
    /**
     * <pre>
     * 退款申请医生
     * </pre>
     *
     * <code>string refundApplyDoctor = 21;</code>
     * @return The refundApplyDoctor.
     */
    public java.lang.String getRefundApplyDoctor() {
      java.lang.Object ref = refundApplyDoctor_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        refundApplyDoctor_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 退款申请医生
     * </pre>
     *
     * <code>string refundApplyDoctor = 21;</code>
     * @return The bytes for refundApplyDoctor.
     */
    public com.google.protobuf.ByteString
        getRefundApplyDoctorBytes() {
      java.lang.Object ref = refundApplyDoctor_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        refundApplyDoctor_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 退款申请医生
     * </pre>
     *
     * <code>string refundApplyDoctor = 21;</code>
     * @param value The refundApplyDoctor to set.
     * @return This builder for chaining.
     */
    public Builder setRefundApplyDoctor(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      refundApplyDoctor_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 退款申请医生
     * </pre>
     *
     * <code>string refundApplyDoctor = 21;</code>
     * @return This builder for chaining.
     */
    public Builder clearRefundApplyDoctor() {
      
      refundApplyDoctor_ = getDefaultInstance().getRefundApplyDoctor();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 退款申请医生
     * </pre>
     *
     * <code>string refundApplyDoctor = 21;</code>
     * @param value The bytes for refundApplyDoctor to set.
     * @return This builder for chaining.
     */
    public Builder setRefundApplyDoctorBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      refundApplyDoctor_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object refundRejectReason_ = "";
    /**
     * <pre>
     * 退款不通过原因
     * </pre>
     *
     * <code>string refundRejectReason = 22;</code>
     * @return The refundRejectReason.
     */
    public java.lang.String getRefundRejectReason() {
      java.lang.Object ref = refundRejectReason_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        refundRejectReason_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 退款不通过原因
     * </pre>
     *
     * <code>string refundRejectReason = 22;</code>
     * @return The bytes for refundRejectReason.
     */
    public com.google.protobuf.ByteString
        getRefundRejectReasonBytes() {
      java.lang.Object ref = refundRejectReason_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        refundRejectReason_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 退款不通过原因
     * </pre>
     *
     * <code>string refundRejectReason = 22;</code>
     * @param value The refundRejectReason to set.
     * @return This builder for chaining.
     */
    public Builder setRefundRejectReason(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      refundRejectReason_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 退款不通过原因
     * </pre>
     *
     * <code>string refundRejectReason = 22;</code>
     * @return This builder for chaining.
     */
    public Builder clearRefundRejectReason() {
      
      refundRejectReason_ = getDefaultInstance().getRefundRejectReason();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 退款不通过原因
     * </pre>
     *
     * <code>string refundRejectReason = 22;</code>
     * @param value The bytes for refundRejectReason to set.
     * @return This builder for chaining.
     */
    public Builder setRefundRejectReasonBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      refundRejectReason_ = value;
      onChanged();
      return this;
    }

    private int equipId_ ;
    /**
     * <pre>
     * 设备 id
     * </pre>
     *
     * <code>int32 equipId = 23;</code>
     * @return The equipId.
     */
    @java.lang.Override
    public int getEquipId() {
      return equipId_;
    }
    /**
     * <pre>
     * 设备 id
     * </pre>
     *
     * <code>int32 equipId = 23;</code>
     * @param value The equipId to set.
     * @return This builder for chaining.
     */
    public Builder setEquipId(int value) {
      
      equipId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 设备 id
     * </pre>
     *
     * <code>int32 equipId = 23;</code>
     * @return This builder for chaining.
     */
    public Builder clearEquipId() {
      
      equipId_ = 0;
      onChanged();
      return this;
    }

    private int orderId_ ;
    /**
     * <code>int32 orderId = 24;</code>
     * @return The orderId.
     */
    @java.lang.Override
    public int getOrderId() {
      return orderId_;
    }
    /**
     * <code>int32 orderId = 24;</code>
     * @param value The orderId to set.
     * @return This builder for chaining.
     */
    public Builder setOrderId(int value) {
      
      orderId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 orderId = 24;</code>
     * @return This builder for chaining.
     */
    public Builder clearOrderId() {
      
      orderId_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object createTime_ = "";
    /**
     * <code>string createTime = 25;</code>
     * @return The createTime.
     */
    public java.lang.String getCreateTime() {
      java.lang.Object ref = createTime_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        createTime_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string createTime = 25;</code>
     * @return The bytes for createTime.
     */
    public com.google.protobuf.ByteString
        getCreateTimeBytes() {
      java.lang.Object ref = createTime_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        createTime_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string createTime = 25;</code>
     * @param value The createTime to set.
     * @return This builder for chaining.
     */
    public Builder setCreateTime(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      createTime_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string createTime = 25;</code>
     * @return This builder for chaining.
     */
    public Builder clearCreateTime() {
      
      createTime_ = getDefaultInstance().getCreateTime();
      onChanged();
      return this;
    }
    /**
     * <code>string createTime = 25;</code>
     * @param value The bytes for createTime to set.
     * @return This builder for chaining.
     */
    public Builder setCreateTimeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      createTime_ = value;
      onChanged();
      return this;
    }

    private int totalPrice_ ;
    /**
     * <code>int32 totalPrice = 26;</code>
     * @return The totalPrice.
     */
    @java.lang.Override
    public int getTotalPrice() {
      return totalPrice_;
    }
    /**
     * <code>int32 totalPrice = 26;</code>
     * @param value The totalPrice to set.
     * @return This builder for chaining.
     */
    public Builder setTotalPrice(int value) {
      
      totalPrice_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 totalPrice = 26;</code>
     * @return This builder for chaining.
     */
    public Builder clearTotalPrice() {
      
      totalPrice_ = 0;
      onChanged();
      return this;
    }

    private int refundFlag_ ;
    /**
     * <pre>
     * 申请退款按钮显示状态：1：显示且可以点击；0：隐藏；-1：显示但不能点击
     * </pre>
     *
     * <code>int32 refundFlag = 27;</code>
     * @return The refundFlag.
     */
    @java.lang.Override
    public int getRefundFlag() {
      return refundFlag_;
    }
    /**
     * <pre>
     * 申请退款按钮显示状态：1：显示且可以点击；0：隐藏；-1：显示但不能点击
     * </pre>
     *
     * <code>int32 refundFlag = 27;</code>
     * @param value The refundFlag to set.
     * @return This builder for chaining.
     */
    public Builder setRefundFlag(int value) {
      
      refundFlag_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 申请退款按钮显示状态：1：显示且可以点击；0：隐藏；-1：显示但不能点击
     * </pre>
     *
     * <code>int32 refundFlag = 27;</code>
     * @return This builder for chaining.
     */
    public Builder clearRefundFlag() {
      
      refundFlag_ = 0;
      onChanged();
      return this;
    }

    private int allocFlag_ ;
    /**
     * <pre>
     * 确认领取按钮显示状态：1：显示且可以点击；0：隐藏；-1：显示但不能点击
     * </pre>
     *
     * <code>int32 allocFlag = 28;</code>
     * @return The allocFlag.
     */
    @java.lang.Override
    public int getAllocFlag() {
      return allocFlag_;
    }
    /**
     * <pre>
     * 确认领取按钮显示状态：1：显示且可以点击；0：隐藏；-1：显示但不能点击
     * </pre>
     *
     * <code>int32 allocFlag = 28;</code>
     * @param value The allocFlag to set.
     * @return This builder for chaining.
     */
    public Builder setAllocFlag(int value) {
      
      allocFlag_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 确认领取按钮显示状态：1：显示且可以点击；0：隐藏；-1：显示但不能点击
     * </pre>
     *
     * <code>int32 allocFlag = 28;</code>
     * @return This builder for chaining.
     */
    public Builder clearAllocFlag() {
      
      allocFlag_ = 0;
      onChanged();
      return this;
    }

    private int recycleFlag_ ;
    /**
     * <pre>
     * 确认回收按钮显示状态：1：显示且可以点击；0：隐藏；-1：显示但不能点击
     * </pre>
     *
     * <code>int32 recycleFlag = 29;</code>
     * @return The recycleFlag.
     */
    @java.lang.Override
    public int getRecycleFlag() {
      return recycleFlag_;
    }
    /**
     * <pre>
     * 确认回收按钮显示状态：1：显示且可以点击；0：隐藏；-1：显示但不能点击
     * </pre>
     *
     * <code>int32 recycleFlag = 29;</code>
     * @param value The recycleFlag to set.
     * @return This builder for chaining.
     */
    public Builder setRecycleFlag(int value) {
      
      recycleFlag_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 确认回收按钮显示状态：1：显示且可以点击；0：隐藏；-1：显示但不能点击
     * </pre>
     *
     * <code>int32 recycleFlag = 29;</code>
     * @return This builder for chaining.
     */
    public Builder clearRecycleFlag() {
      
      recycleFlag_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object doctorSignUrl_ = "";
    /**
     * <code>string doctorSignUrl = 30;</code>
     * @return The doctorSignUrl.
     */
    public java.lang.String getDoctorSignUrl() {
      java.lang.Object ref = doctorSignUrl_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        doctorSignUrl_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string doctorSignUrl = 30;</code>
     * @return The bytes for doctorSignUrl.
     */
    public com.google.protobuf.ByteString
        getDoctorSignUrlBytes() {
      java.lang.Object ref = doctorSignUrl_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        doctorSignUrl_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string doctorSignUrl = 30;</code>
     * @param value The doctorSignUrl to set.
     * @return This builder for chaining.
     */
    public Builder setDoctorSignUrl(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      doctorSignUrl_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string doctorSignUrl = 30;</code>
     * @return This builder for chaining.
     */
    public Builder clearDoctorSignUrl() {
      
      doctorSignUrl_ = getDefaultInstance().getDoctorSignUrl();
      onChanged();
      return this;
    }
    /**
     * <code>string doctorSignUrl = 30;</code>
     * @param value The bytes for doctorSignUrl to set.
     * @return This builder for chaining.
     */
    public Builder setDoctorSignUrlBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      doctorSignUrl_ = value;
      onChanged();
      return this;
    }

    private int equipOrderId_ ;
    /**
     * <code>int32 equipOrderId = 31;</code>
     * @return The equipOrderId.
     */
    @java.lang.Override
    public int getEquipOrderId() {
      return equipOrderId_;
    }
    /**
     * <code>int32 equipOrderId = 31;</code>
     * @param value The equipOrderId to set.
     * @return This builder for chaining.
     */
    public Builder setEquipOrderId(int value) {
      
      equipOrderId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 equipOrderId = 31;</code>
     * @return This builder for chaining.
     */
    public Builder clearEquipOrderId() {
      
      equipOrderId_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object recCode_ = "";
    /**
     * <pre>
     * 领取码
     * </pre>
     *
     * <code>string recCode = 32;</code>
     * @return The recCode.
     */
    public java.lang.String getRecCode() {
      java.lang.Object ref = recCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        recCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 领取码
     * </pre>
     *
     * <code>string recCode = 32;</code>
     * @return The bytes for recCode.
     */
    public com.google.protobuf.ByteString
        getRecCodeBytes() {
      java.lang.Object ref = recCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        recCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 领取码
     * </pre>
     *
     * <code>string recCode = 32;</code>
     * @param value The recCode to set.
     * @return This builder for chaining.
     */
    public Builder setRecCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      recCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 领取码
     * </pre>
     *
     * <code>string recCode = 32;</code>
     * @return This builder for chaining.
     */
    public Builder clearRecCode() {
      
      recCode_ = getDefaultInstance().getRecCode();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 领取码
     * </pre>
     *
     * <code>string recCode = 32;</code>
     * @param value The bytes for recCode to set.
     * @return This builder for chaining.
     */
    public Builder setRecCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      recCode_ = value;
      onChanged();
      return this;
    }

    private boolean equipCodeEditable_ ;
    /**
     * <pre>
     * 设备码能否修改
     * </pre>
     *
     * <code>bool equipCodeEditable = 33;</code>
     * @return The equipCodeEditable.
     */
    @java.lang.Override
    public boolean getEquipCodeEditable() {
      return equipCodeEditable_;
    }
    /**
     * <pre>
     * 设备码能否修改
     * </pre>
     *
     * <code>bool equipCodeEditable = 33;</code>
     * @param value The equipCodeEditable to set.
     * @return This builder for chaining.
     */
    public Builder setEquipCodeEditable(boolean value) {
      
      equipCodeEditable_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 设备码能否修改
     * </pre>
     *
     * <code>bool equipCodeEditable = 33;</code>
     * @return This builder for chaining.
     */
    public Builder clearEquipCodeEditable() {
      
      equipCodeEditable_ = false;
      onChanged();
      return this;
    }

    private int hospitalId_ ;
    /**
     * <code>int32 hospitalId = 34;</code>
     * @return The hospitalId.
     */
    @java.lang.Override
    public int getHospitalId() {
      return hospitalId_;
    }
    /**
     * <code>int32 hospitalId = 34;</code>
     * @param value The hospitalId to set.
     * @return This builder for chaining.
     */
    public Builder setHospitalId(int value) {
      
      hospitalId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 hospitalId = 34;</code>
     * @return This builder for chaining.
     */
    public Builder clearHospitalId() {
      
      hospitalId_ = 0;
      onChanged();
      return this;
    }

    private int changedHospitalId_ ;
    /**
     * <code>int32 changedHospitalId = 35;</code>
     * @return The changedHospitalId.
     */
    @java.lang.Override
    public int getChangedHospitalId() {
      return changedHospitalId_;
    }
    /**
     * <code>int32 changedHospitalId = 35;</code>
     * @param value The changedHospitalId to set.
     * @return This builder for chaining.
     */
    public Builder setChangedHospitalId(int value) {
      
      changedHospitalId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 changedHospitalId = 35;</code>
     * @return This builder for chaining.
     */
    public Builder clearChangedHospitalId() {
      
      changedHospitalId_ = 0;
      onChanged();
      return this;
    }

    private int viewReportFlag_ ;
    /**
     * <pre>
     * 查看检查报告按钮显示状态：1：显示且可以点击；0：隐藏
     * </pre>
     *
     * <code>int32 viewReportFlag = 36;</code>
     * @return The viewReportFlag.
     */
    @java.lang.Override
    public int getViewReportFlag() {
      return viewReportFlag_;
    }
    /**
     * <pre>
     * 查看检查报告按钮显示状态：1：显示且可以点击；0：隐藏
     * </pre>
     *
     * <code>int32 viewReportFlag = 36;</code>
     * @param value The viewReportFlag to set.
     * @return This builder for chaining.
     */
    public Builder setViewReportFlag(int value) {
      
      viewReportFlag_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 查看检查报告按钮显示状态：1：显示且可以点击；0：隐藏
     * </pre>
     *
     * <code>int32 viewReportFlag = 36;</code>
     * @return This builder for chaining.
     */
    public Builder clearViewReportFlag() {
      
      viewReportFlag_ = 0;
      onChanged();
      return this;
    }

    private int relatedReportId_ ;
    /**
     * <pre>
     * 订单关联的报告 id，用于查看报告详情
     * </pre>
     *
     * <code>int32 relatedReportId = 37;</code>
     * @return The relatedReportId.
     */
    @java.lang.Override
    public int getRelatedReportId() {
      return relatedReportId_;
    }
    /**
     * <pre>
     * 订单关联的报告 id，用于查看报告详情
     * </pre>
     *
     * <code>int32 relatedReportId = 37;</code>
     * @param value The relatedReportId to set.
     * @return This builder for chaining.
     */
    public Builder setRelatedReportId(int value) {
      
      relatedReportId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 订单关联的报告 id，用于查看报告详情
     * </pre>
     *
     * <code>int32 relatedReportId = 37;</code>
     * @return This builder for chaining.
     */
    public Builder clearRelatedReportId() {
      
      relatedReportId_ = 0;
      onChanged();
      return this;
    }
    @java.lang.Override
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

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


    // @@protoc_insertion_point(builder_scope:com.ywt.gapi.med_equip.OrderInfo)
  }

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

  public static com.ywt.gapi.med_equip.OrderInfo getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

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

}

