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

package com.ywt.gapi.third.taihe;

/**
 * <pre>
 * 医嘱
 * </pre>
 *
 * Protobuf type {@code com.ywt.gapi.third.taihe.HisOEORI}
 */
public final class HisOEORI extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.third.taihe.HisOEORI)
    HisOEORIOrBuilder {
private static final long serialVersionUID = 0L;
  // Use HisOEORI.newBuilder() to construct.
  private HisOEORI(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private HisOEORI() {
    orderId_ = "";
    orderNo_ = "";
    mastCode_ = "";
    priorityCode_ = "";
    froms_ = "";
    qty_ = "";
    unitCode_ = "";
    freqCode_ = "";
    instrCode_ = "";
    durationCode_ = "";
    orderQty_ = "";
    remark_ = "";
    enterDoctorCode_ = "";
    enterDate_ = "";
    enterTime_ = "";
    enterDeptCode_ = "";
    execDeptCode_ = "";
    execDate_ = "";
    execTime_ = "";
    stopDate_ = "";
    stopTime_ = "";
    stopDoctorCode_ = "";
    qtyPackUOM_ = "";
    drugName_ = "";
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            drugName_ = s;
            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.ywt.gapi.third.taihe.TaiheProto.internal_static_com_ywt_gapi_third_taihe_HisOEORI_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.ywt.gapi.third.taihe.TaiheProto.internal_static_com_ywt_gapi_third_taihe_HisOEORI_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.ywt.gapi.third.taihe.HisOEORI.class, com.ywt.gapi.third.taihe.HisOEORI.Builder.class);
  }

  public static final int ORDERID_FIELD_NUMBER = 1;
  private volatile java.lang.Object orderId_;
  /**
   * <code>string orderId = 1;</code>
   * @return The orderId.
   */
  @java.lang.Override
  public java.lang.String getOrderId() {
    java.lang.Object ref = orderId_;
    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();
      orderId_ = s;
      return s;
    }
  }
  /**
   * <code>string orderId = 1;</code>
   * @return The bytes for orderId.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getOrderIdBytes() {
    java.lang.Object ref = orderId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      orderId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ORDERNO_FIELD_NUMBER = 2;
  private volatile java.lang.Object orderNo_;
  /**
   * <code>string orderNo = 2;</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 = 2;</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 MASTCODE_FIELD_NUMBER = 3;
  private volatile java.lang.Object mastCode_;
  /**
   * <code>string mastCode = 3;</code>
   * @return The mastCode.
   */
  @java.lang.Override
  public java.lang.String getMastCode() {
    java.lang.Object ref = mastCode_;
    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();
      mastCode_ = s;
      return s;
    }
  }
  /**
   * <code>string mastCode = 3;</code>
   * @return The bytes for mastCode.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getMastCodeBytes() {
    java.lang.Object ref = mastCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      mastCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PRIORITYCODE_FIELD_NUMBER = 4;
  private volatile java.lang.Object priorityCode_;
  /**
   * <code>string priorityCode = 4;</code>
   * @return The priorityCode.
   */
  @java.lang.Override
  public java.lang.String getPriorityCode() {
    java.lang.Object ref = priorityCode_;
    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();
      priorityCode_ = s;
      return s;
    }
  }
  /**
   * <code>string priorityCode = 4;</code>
   * @return The bytes for priorityCode.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getPriorityCodeBytes() {
    java.lang.Object ref = priorityCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      priorityCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int FROMS_FIELD_NUMBER = 5;
  private volatile java.lang.Object froms_;
  /**
   * <code>string froms = 5;</code>
   * @return The froms.
   */
  @java.lang.Override
  public java.lang.String getFroms() {
    java.lang.Object ref = froms_;
    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();
      froms_ = s;
      return s;
    }
  }
  /**
   * <code>string froms = 5;</code>
   * @return The bytes for froms.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getFromsBytes() {
    java.lang.Object ref = froms_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      froms_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

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

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

  public static final int FREQCODE_FIELD_NUMBER = 8;
  private volatile java.lang.Object freqCode_;
  /**
   * <code>string freqCode = 8;</code>
   * @return The freqCode.
   */
  @java.lang.Override
  public java.lang.String getFreqCode() {
    java.lang.Object ref = freqCode_;
    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();
      freqCode_ = s;
      return s;
    }
  }
  /**
   * <code>string freqCode = 8;</code>
   * @return The bytes for freqCode.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getFreqCodeBytes() {
    java.lang.Object ref = freqCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      freqCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int INSTRCODE_FIELD_NUMBER = 9;
  private volatile java.lang.Object instrCode_;
  /**
   * <code>string instrCode = 9;</code>
   * @return The instrCode.
   */
  @java.lang.Override
  public java.lang.String getInstrCode() {
    java.lang.Object ref = instrCode_;
    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();
      instrCode_ = s;
      return s;
    }
  }
  /**
   * <code>string instrCode = 9;</code>
   * @return The bytes for instrCode.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getInstrCodeBytes() {
    java.lang.Object ref = instrCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      instrCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

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

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

  public static final int REMARK_FIELD_NUMBER = 12;
  private volatile java.lang.Object remark_;
  /**
   * <code>string remark = 12;</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 = 12;</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 ENTERDOCTORCODE_FIELD_NUMBER = 13;
  private volatile java.lang.Object enterDoctorCode_;
  /**
   * <code>string enterDoctorCode = 13;</code>
   * @return The enterDoctorCode.
   */
  @java.lang.Override
  public java.lang.String getEnterDoctorCode() {
    java.lang.Object ref = enterDoctorCode_;
    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();
      enterDoctorCode_ = s;
      return s;
    }
  }
  /**
   * <code>string enterDoctorCode = 13;</code>
   * @return The bytes for enterDoctorCode.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getEnterDoctorCodeBytes() {
    java.lang.Object ref = enterDoctorCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      enterDoctorCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ENTERDATE_FIELD_NUMBER = 14;
  private volatile java.lang.Object enterDate_;
  /**
   * <code>string enterDate = 14;</code>
   * @return The enterDate.
   */
  @java.lang.Override
  public java.lang.String getEnterDate() {
    java.lang.Object ref = enterDate_;
    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();
      enterDate_ = s;
      return s;
    }
  }
  /**
   * <code>string enterDate = 14;</code>
   * @return The bytes for enterDate.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getEnterDateBytes() {
    java.lang.Object ref = enterDate_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      enterDate_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ENTERTIME_FIELD_NUMBER = 15;
  private volatile java.lang.Object enterTime_;
  /**
   * <code>string enterTime = 15;</code>
   * @return The enterTime.
   */
  @java.lang.Override
  public java.lang.String getEnterTime() {
    java.lang.Object ref = enterTime_;
    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();
      enterTime_ = s;
      return s;
    }
  }
  /**
   * <code>string enterTime = 15;</code>
   * @return The bytes for enterTime.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getEnterTimeBytes() {
    java.lang.Object ref = enterTime_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      enterTime_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

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

  public static final int EXECDEPTCODE_FIELD_NUMBER = 17;
  private volatile java.lang.Object execDeptCode_;
  /**
   * <code>string execDeptCode = 17;</code>
   * @return The execDeptCode.
   */
  @java.lang.Override
  public java.lang.String getExecDeptCode() {
    java.lang.Object ref = execDeptCode_;
    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();
      execDeptCode_ = s;
      return s;
    }
  }
  /**
   * <code>string execDeptCode = 17;</code>
   * @return The bytes for execDeptCode.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getExecDeptCodeBytes() {
    java.lang.Object ref = execDeptCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      execDeptCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int EXECDATE_FIELD_NUMBER = 18;
  private volatile java.lang.Object execDate_;
  /**
   * <code>string execDate = 18;</code>
   * @return The execDate.
   */
  @java.lang.Override
  public java.lang.String getExecDate() {
    java.lang.Object ref = execDate_;
    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();
      execDate_ = s;
      return s;
    }
  }
  /**
   * <code>string execDate = 18;</code>
   * @return The bytes for execDate.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getExecDateBytes() {
    java.lang.Object ref = execDate_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      execDate_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int EXECTIME_FIELD_NUMBER = 19;
  private volatile java.lang.Object execTime_;
  /**
   * <code>string execTime = 19;</code>
   * @return The execTime.
   */
  @java.lang.Override
  public java.lang.String getExecTime() {
    java.lang.Object ref = execTime_;
    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();
      execTime_ = s;
      return s;
    }
  }
  /**
   * <code>string execTime = 19;</code>
   * @return The bytes for execTime.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getExecTimeBytes() {
    java.lang.Object ref = execTime_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      execTime_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

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

  public static final int STOPTIME_FIELD_NUMBER = 21;
  private volatile java.lang.Object stopTime_;
  /**
   * <code>string stopTime = 21;</code>
   * @return The stopTime.
   */
  @java.lang.Override
  public java.lang.String getStopTime() {
    java.lang.Object ref = stopTime_;
    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();
      stopTime_ = s;
      return s;
    }
  }
  /**
   * <code>string stopTime = 21;</code>
   * @return The bytes for stopTime.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getStopTimeBytes() {
    java.lang.Object ref = stopTime_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      stopTime_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int STOPDOCTORCODE_FIELD_NUMBER = 22;
  private volatile java.lang.Object stopDoctorCode_;
  /**
   * <code>string stopDoctorCode = 22;</code>
   * @return The stopDoctorCode.
   */
  @java.lang.Override
  public java.lang.String getStopDoctorCode() {
    java.lang.Object ref = stopDoctorCode_;
    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();
      stopDoctorCode_ = s;
      return s;
    }
  }
  /**
   * <code>string stopDoctorCode = 22;</code>
   * @return The bytes for stopDoctorCode.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getStopDoctorCodeBytes() {
    java.lang.Object ref = stopDoctorCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      stopDoctorCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int QTYPACKUOM_FIELD_NUMBER = 23;
  private volatile java.lang.Object qtyPackUOM_;
  /**
   * <code>string qtyPackUOM = 23;</code>
   * @return The qtyPackUOM.
   */
  @java.lang.Override
  public java.lang.String getQtyPackUOM() {
    java.lang.Object ref = qtyPackUOM_;
    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();
      qtyPackUOM_ = s;
      return s;
    }
  }
  /**
   * <code>string qtyPackUOM = 23;</code>
   * @return The bytes for qtyPackUOM.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getQtyPackUOMBytes() {
    java.lang.Object ref = qtyPackUOM_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      qtyPackUOM_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DRUGNAME_FIELD_NUMBER = 24;
  private volatile java.lang.Object drugName_;
  /**
   * <code>string drugName = 24;</code>
   * @return The drugName.
   */
  @java.lang.Override
  public java.lang.String getDrugName() {
    java.lang.Object ref = drugName_;
    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();
      drugName_ = s;
      return s;
    }
  }
  /**
   * <code>string drugName = 24;</code>
   * @return The bytes for drugName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDrugNameBytes() {
    java.lang.Object ref = drugName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      drugName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

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

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, orderId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderNo_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, orderNo_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mastCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, mastCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(priorityCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, priorityCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(froms_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, froms_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(qty_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, qty_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(unitCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, unitCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(freqCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, freqCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instrCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, instrCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(durationCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, durationCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderQty_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 11, orderQty_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(remark_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 12, remark_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(enterDoctorCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 13, enterDoctorCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(enterDate_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 14, enterDate_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(enterTime_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 15, enterTime_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(enterDeptCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 16, enterDeptCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(execDeptCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 17, execDeptCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(execDate_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 18, execDate_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(execTime_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 19, execTime_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stopDate_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 20, stopDate_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stopTime_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 21, stopTime_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stopDoctorCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 22, stopDoctorCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(qtyPackUOM_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 23, qtyPackUOM_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(drugName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 24, drugName_);
    }
    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(orderId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, orderId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderNo_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, orderNo_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mastCode_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, mastCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(priorityCode_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, priorityCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(froms_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, froms_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(qty_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, qty_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(unitCode_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, unitCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(freqCode_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, freqCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instrCode_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, instrCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(durationCode_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, durationCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderQty_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, orderQty_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(remark_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, remark_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(enterDoctorCode_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, enterDoctorCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(enterDate_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, enterDate_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(enterTime_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, enterTime_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(enterDeptCode_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, enterDeptCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(execDeptCode_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, execDeptCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(execDate_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, execDate_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(execTime_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, execTime_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stopDate_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, stopDate_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stopTime_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, stopTime_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stopDoctorCode_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, stopDoctorCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(qtyPackUOM_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(23, qtyPackUOM_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(drugName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(24, drugName_);
    }
    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.third.taihe.HisOEORI)) {
      return super.equals(obj);
    }
    com.ywt.gapi.third.taihe.HisOEORI other = (com.ywt.gapi.third.taihe.HisOEORI) obj;

    if (!getOrderId()
        .equals(other.getOrderId())) return false;
    if (!getOrderNo()
        .equals(other.getOrderNo())) return false;
    if (!getMastCode()
        .equals(other.getMastCode())) return false;
    if (!getPriorityCode()
        .equals(other.getPriorityCode())) return false;
    if (!getFroms()
        .equals(other.getFroms())) return false;
    if (!getQty()
        .equals(other.getQty())) return false;
    if (!getUnitCode()
        .equals(other.getUnitCode())) return false;
    if (!getFreqCode()
        .equals(other.getFreqCode())) return false;
    if (!getInstrCode()
        .equals(other.getInstrCode())) return false;
    if (!getDurationCode()
        .equals(other.getDurationCode())) return false;
    if (!getOrderQty()
        .equals(other.getOrderQty())) return false;
    if (!getRemark()
        .equals(other.getRemark())) return false;
    if (!getEnterDoctorCode()
        .equals(other.getEnterDoctorCode())) return false;
    if (!getEnterDate()
        .equals(other.getEnterDate())) return false;
    if (!getEnterTime()
        .equals(other.getEnterTime())) return false;
    if (!getEnterDeptCode()
        .equals(other.getEnterDeptCode())) return false;
    if (!getExecDeptCode()
        .equals(other.getExecDeptCode())) return false;
    if (!getExecDate()
        .equals(other.getExecDate())) return false;
    if (!getExecTime()
        .equals(other.getExecTime())) return false;
    if (!getStopDate()
        .equals(other.getStopDate())) return false;
    if (!getStopTime()
        .equals(other.getStopTime())) return false;
    if (!getStopDoctorCode()
        .equals(other.getStopDoctorCode())) return false;
    if (!getQtyPackUOM()
        .equals(other.getQtyPackUOM())) return false;
    if (!getDrugName()
        .equals(other.getDrugName())) 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) + ORDERID_FIELD_NUMBER;
    hash = (53 * hash) + getOrderId().hashCode();
    hash = (37 * hash) + ORDERNO_FIELD_NUMBER;
    hash = (53 * hash) + getOrderNo().hashCode();
    hash = (37 * hash) + MASTCODE_FIELD_NUMBER;
    hash = (53 * hash) + getMastCode().hashCode();
    hash = (37 * hash) + PRIORITYCODE_FIELD_NUMBER;
    hash = (53 * hash) + getPriorityCode().hashCode();
    hash = (37 * hash) + FROMS_FIELD_NUMBER;
    hash = (53 * hash) + getFroms().hashCode();
    hash = (37 * hash) + QTY_FIELD_NUMBER;
    hash = (53 * hash) + getQty().hashCode();
    hash = (37 * hash) + UNITCODE_FIELD_NUMBER;
    hash = (53 * hash) + getUnitCode().hashCode();
    hash = (37 * hash) + FREQCODE_FIELD_NUMBER;
    hash = (53 * hash) + getFreqCode().hashCode();
    hash = (37 * hash) + INSTRCODE_FIELD_NUMBER;
    hash = (53 * hash) + getInstrCode().hashCode();
    hash = (37 * hash) + DURATIONCODE_FIELD_NUMBER;
    hash = (53 * hash) + getDurationCode().hashCode();
    hash = (37 * hash) + ORDERQTY_FIELD_NUMBER;
    hash = (53 * hash) + getOrderQty().hashCode();
    hash = (37 * hash) + REMARK_FIELD_NUMBER;
    hash = (53 * hash) + getRemark().hashCode();
    hash = (37 * hash) + ENTERDOCTORCODE_FIELD_NUMBER;
    hash = (53 * hash) + getEnterDoctorCode().hashCode();
    hash = (37 * hash) + ENTERDATE_FIELD_NUMBER;
    hash = (53 * hash) + getEnterDate().hashCode();
    hash = (37 * hash) + ENTERTIME_FIELD_NUMBER;
    hash = (53 * hash) + getEnterTime().hashCode();
    hash = (37 * hash) + ENTERDEPTCODE_FIELD_NUMBER;
    hash = (53 * hash) + getEnterDeptCode().hashCode();
    hash = (37 * hash) + EXECDEPTCODE_FIELD_NUMBER;
    hash = (53 * hash) + getExecDeptCode().hashCode();
    hash = (37 * hash) + EXECDATE_FIELD_NUMBER;
    hash = (53 * hash) + getExecDate().hashCode();
    hash = (37 * hash) + EXECTIME_FIELD_NUMBER;
    hash = (53 * hash) + getExecTime().hashCode();
    hash = (37 * hash) + STOPDATE_FIELD_NUMBER;
    hash = (53 * hash) + getStopDate().hashCode();
    hash = (37 * hash) + STOPTIME_FIELD_NUMBER;
    hash = (53 * hash) + getStopTime().hashCode();
    hash = (37 * hash) + STOPDOCTORCODE_FIELD_NUMBER;
    hash = (53 * hash) + getStopDoctorCode().hashCode();
    hash = (37 * hash) + QTYPACKUOM_FIELD_NUMBER;
    hash = (53 * hash) + getQtyPackUOM().hashCode();
    hash = (37 * hash) + DRUGNAME_FIELD_NUMBER;
    hash = (53 * hash) + getDrugName().hashCode();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.ywt.gapi.third.taihe.HisOEORI parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.third.taihe.HisOEORI 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.third.taihe.HisOEORI parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.third.taihe.HisOEORI 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.third.taihe.HisOEORI parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.third.taihe.HisOEORI parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.ywt.gapi.third.taihe.HisOEORI parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.third.taihe.HisOEORI 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.third.taihe.HisOEORI parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.third.taihe.HisOEORI 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.third.taihe.HisOEORI parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.third.taihe.HisOEORI 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.third.taihe.HisOEORI prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  @java.lang.Override
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE
        ? new Builder() : new Builder().mergeFrom(this);
  }

  @java.lang.Override
  protected Builder newBuilderForType(
      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * <pre>
   * 医嘱
   * </pre>
   *
   * Protobuf type {@code com.ywt.gapi.third.taihe.HisOEORI}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:com.ywt.gapi.third.taihe.HisOEORI)
      com.ywt.gapi.third.taihe.HisOEORIOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.ywt.gapi.third.taihe.TaiheProto.internal_static_com_ywt_gapi_third_taihe_HisOEORI_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.ywt.gapi.third.taihe.TaiheProto.internal_static_com_ywt_gapi_third_taihe_HisOEORI_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.ywt.gapi.third.taihe.HisOEORI.class, com.ywt.gapi.third.taihe.HisOEORI.Builder.class);
    }

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

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

      orderNo_ = "";

      mastCode_ = "";

      priorityCode_ = "";

      froms_ = "";

      qty_ = "";

      unitCode_ = "";

      freqCode_ = "";

      instrCode_ = "";

      durationCode_ = "";

      orderQty_ = "";

      remark_ = "";

      enterDoctorCode_ = "";

      enterDate_ = "";

      enterTime_ = "";

      enterDeptCode_ = "";

      execDeptCode_ = "";

      execDate_ = "";

      execTime_ = "";

      stopDate_ = "";

      stopTime_ = "";

      stopDoctorCode_ = "";

      qtyPackUOM_ = "";

      drugName_ = "";

      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.ywt.gapi.third.taihe.TaiheProto.internal_static_com_ywt_gapi_third_taihe_HisOEORI_descriptor;
    }

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

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

    @java.lang.Override
    public com.ywt.gapi.third.taihe.HisOEORI buildPartial() {
      com.ywt.gapi.third.taihe.HisOEORI result = new com.ywt.gapi.third.taihe.HisOEORI(this);
      result.orderId_ = orderId_;
      result.orderNo_ = orderNo_;
      result.mastCode_ = mastCode_;
      result.priorityCode_ = priorityCode_;
      result.froms_ = froms_;
      result.qty_ = qty_;
      result.unitCode_ = unitCode_;
      result.freqCode_ = freqCode_;
      result.instrCode_ = instrCode_;
      result.durationCode_ = durationCode_;
      result.orderQty_ = orderQty_;
      result.remark_ = remark_;
      result.enterDoctorCode_ = enterDoctorCode_;
      result.enterDate_ = enterDate_;
      result.enterTime_ = enterTime_;
      result.enterDeptCode_ = enterDeptCode_;
      result.execDeptCode_ = execDeptCode_;
      result.execDate_ = execDate_;
      result.execTime_ = execTime_;
      result.stopDate_ = stopDate_;
      result.stopTime_ = stopTime_;
      result.stopDoctorCode_ = stopDoctorCode_;
      result.qtyPackUOM_ = qtyPackUOM_;
      result.drugName_ = drugName_;
      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.third.taihe.HisOEORI) {
        return mergeFrom((com.ywt.gapi.third.taihe.HisOEORI)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.ywt.gapi.third.taihe.HisOEORI other) {
      if (other == com.ywt.gapi.third.taihe.HisOEORI.getDefaultInstance()) return this;
      if (!other.getOrderId().isEmpty()) {
        orderId_ = other.orderId_;
        onChanged();
      }
      if (!other.getOrderNo().isEmpty()) {
        orderNo_ = other.orderNo_;
        onChanged();
      }
      if (!other.getMastCode().isEmpty()) {
        mastCode_ = other.mastCode_;
        onChanged();
      }
      if (!other.getPriorityCode().isEmpty()) {
        priorityCode_ = other.priorityCode_;
        onChanged();
      }
      if (!other.getFroms().isEmpty()) {
        froms_ = other.froms_;
        onChanged();
      }
      if (!other.getQty().isEmpty()) {
        qty_ = other.qty_;
        onChanged();
      }
      if (!other.getUnitCode().isEmpty()) {
        unitCode_ = other.unitCode_;
        onChanged();
      }
      if (!other.getFreqCode().isEmpty()) {
        freqCode_ = other.freqCode_;
        onChanged();
      }
      if (!other.getInstrCode().isEmpty()) {
        instrCode_ = other.instrCode_;
        onChanged();
      }
      if (!other.getDurationCode().isEmpty()) {
        durationCode_ = other.durationCode_;
        onChanged();
      }
      if (!other.getOrderQty().isEmpty()) {
        orderQty_ = other.orderQty_;
        onChanged();
      }
      if (!other.getRemark().isEmpty()) {
        remark_ = other.remark_;
        onChanged();
      }
      if (!other.getEnterDoctorCode().isEmpty()) {
        enterDoctorCode_ = other.enterDoctorCode_;
        onChanged();
      }
      if (!other.getEnterDate().isEmpty()) {
        enterDate_ = other.enterDate_;
        onChanged();
      }
      if (!other.getEnterTime().isEmpty()) {
        enterTime_ = other.enterTime_;
        onChanged();
      }
      if (!other.getEnterDeptCode().isEmpty()) {
        enterDeptCode_ = other.enterDeptCode_;
        onChanged();
      }
      if (!other.getExecDeptCode().isEmpty()) {
        execDeptCode_ = other.execDeptCode_;
        onChanged();
      }
      if (!other.getExecDate().isEmpty()) {
        execDate_ = other.execDate_;
        onChanged();
      }
      if (!other.getExecTime().isEmpty()) {
        execTime_ = other.execTime_;
        onChanged();
      }
      if (!other.getStopDate().isEmpty()) {
        stopDate_ = other.stopDate_;
        onChanged();
      }
      if (!other.getStopTime().isEmpty()) {
        stopTime_ = other.stopTime_;
        onChanged();
      }
      if (!other.getStopDoctorCode().isEmpty()) {
        stopDoctorCode_ = other.stopDoctorCode_;
        onChanged();
      }
      if (!other.getQtyPackUOM().isEmpty()) {
        qtyPackUOM_ = other.qtyPackUOM_;
        onChanged();
      }
      if (!other.getDrugName().isEmpty()) {
        drugName_ = other.drugName_;
        onChanged();
      }
      this.mergeUnknownFields(other.unknownFields);
      onChanged();
      return this;
    }

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

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

    private java.lang.Object orderId_ = "";
    /**
     * <code>string orderId = 1;</code>
     * @return The orderId.
     */
    public java.lang.String getOrderId() {
      java.lang.Object ref = orderId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        orderId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string orderId = 1;</code>
     * @return The bytes for orderId.
     */
    public com.google.protobuf.ByteString
        getOrderIdBytes() {
      java.lang.Object ref = orderId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        orderId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string orderId = 1;</code>
     * @param value The orderId to set.
     * @return This builder for chaining.
     */
    public Builder setOrderId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      orderId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string orderId = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearOrderId() {
      
      orderId_ = getDefaultInstance().getOrderId();
      onChanged();
      return this;
    }
    /**
     * <code>string orderId = 1;</code>
     * @param value The bytes for orderId to set.
     * @return This builder for chaining.
     */
    public Builder setOrderIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      orderId_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object orderNo_ = "";
    /**
     * <code>string orderNo = 2;</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 = 2;</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 = 2;</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 = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearOrderNo() {
      
      orderNo_ = getDefaultInstance().getOrderNo();
      onChanged();
      return this;
    }
    /**
     * <code>string orderNo = 2;</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 mastCode_ = "";
    /**
     * <code>string mastCode = 3;</code>
     * @return The mastCode.
     */
    public java.lang.String getMastCode() {
      java.lang.Object ref = mastCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        mastCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string mastCode = 3;</code>
     * @return The bytes for mastCode.
     */
    public com.google.protobuf.ByteString
        getMastCodeBytes() {
      java.lang.Object ref = mastCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        mastCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string mastCode = 3;</code>
     * @param value The mastCode to set.
     * @return This builder for chaining.
     */
    public Builder setMastCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      mastCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string mastCode = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearMastCode() {
      
      mastCode_ = getDefaultInstance().getMastCode();
      onChanged();
      return this;
    }
    /**
     * <code>string mastCode = 3;</code>
     * @param value The bytes for mastCode to set.
     * @return This builder for chaining.
     */
    public Builder setMastCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      mastCode_ = value;
      onChanged();
      return this;
    }

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

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

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

    private java.lang.Object unitCode_ = "";
    /**
     * <code>string unitCode = 7;</code>
     * @return The unitCode.
     */
    public java.lang.String getUnitCode() {
      java.lang.Object ref = unitCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        unitCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string unitCode = 7;</code>
     * @return The bytes for unitCode.
     */
    public com.google.protobuf.ByteString
        getUnitCodeBytes() {
      java.lang.Object ref = unitCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        unitCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string unitCode = 7;</code>
     * @param value The unitCode to set.
     * @return This builder for chaining.
     */
    public Builder setUnitCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      unitCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string unitCode = 7;</code>
     * @return This builder for chaining.
     */
    public Builder clearUnitCode() {
      
      unitCode_ = getDefaultInstance().getUnitCode();
      onChanged();
      return this;
    }
    /**
     * <code>string unitCode = 7;</code>
     * @param value The bytes for unitCode to set.
     * @return This builder for chaining.
     */
    public Builder setUnitCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      unitCode_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object freqCode_ = "";
    /**
     * <code>string freqCode = 8;</code>
     * @return The freqCode.
     */
    public java.lang.String getFreqCode() {
      java.lang.Object ref = freqCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        freqCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string freqCode = 8;</code>
     * @return The bytes for freqCode.
     */
    public com.google.protobuf.ByteString
        getFreqCodeBytes() {
      java.lang.Object ref = freqCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        freqCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string freqCode = 8;</code>
     * @param value The freqCode to set.
     * @return This builder for chaining.
     */
    public Builder setFreqCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      freqCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string freqCode = 8;</code>
     * @return This builder for chaining.
     */
    public Builder clearFreqCode() {
      
      freqCode_ = getDefaultInstance().getFreqCode();
      onChanged();
      return this;
    }
    /**
     * <code>string freqCode = 8;</code>
     * @param value The bytes for freqCode to set.
     * @return This builder for chaining.
     */
    public Builder setFreqCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      freqCode_ = value;
      onChanged();
      return this;
    }

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

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

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

    private java.lang.Object remark_ = "";
    /**
     * <code>string remark = 12;</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 = 12;</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 = 12;</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 = 12;</code>
     * @return This builder for chaining.
     */
    public Builder clearRemark() {
      
      remark_ = getDefaultInstance().getRemark();
      onChanged();
      return this;
    }
    /**
     * <code>string remark = 12;</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 java.lang.Object enterDoctorCode_ = "";
    /**
     * <code>string enterDoctorCode = 13;</code>
     * @return The enterDoctorCode.
     */
    public java.lang.String getEnterDoctorCode() {
      java.lang.Object ref = enterDoctorCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        enterDoctorCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string enterDoctorCode = 13;</code>
     * @return The bytes for enterDoctorCode.
     */
    public com.google.protobuf.ByteString
        getEnterDoctorCodeBytes() {
      java.lang.Object ref = enterDoctorCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        enterDoctorCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string enterDoctorCode = 13;</code>
     * @param value The enterDoctorCode to set.
     * @return This builder for chaining.
     */
    public Builder setEnterDoctorCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      enterDoctorCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string enterDoctorCode = 13;</code>
     * @return This builder for chaining.
     */
    public Builder clearEnterDoctorCode() {
      
      enterDoctorCode_ = getDefaultInstance().getEnterDoctorCode();
      onChanged();
      return this;
    }
    /**
     * <code>string enterDoctorCode = 13;</code>
     * @param value The bytes for enterDoctorCode to set.
     * @return This builder for chaining.
     */
    public Builder setEnterDoctorCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      enterDoctorCode_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object enterDate_ = "";
    /**
     * <code>string enterDate = 14;</code>
     * @return The enterDate.
     */
    public java.lang.String getEnterDate() {
      java.lang.Object ref = enterDate_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        enterDate_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string enterDate = 14;</code>
     * @return The bytes for enterDate.
     */
    public com.google.protobuf.ByteString
        getEnterDateBytes() {
      java.lang.Object ref = enterDate_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        enterDate_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string enterDate = 14;</code>
     * @param value The enterDate to set.
     * @return This builder for chaining.
     */
    public Builder setEnterDate(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      enterDate_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string enterDate = 14;</code>
     * @return This builder for chaining.
     */
    public Builder clearEnterDate() {
      
      enterDate_ = getDefaultInstance().getEnterDate();
      onChanged();
      return this;
    }
    /**
     * <code>string enterDate = 14;</code>
     * @param value The bytes for enterDate to set.
     * @return This builder for chaining.
     */
    public Builder setEnterDateBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      enterDate_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object enterTime_ = "";
    /**
     * <code>string enterTime = 15;</code>
     * @return The enterTime.
     */
    public java.lang.String getEnterTime() {
      java.lang.Object ref = enterTime_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        enterTime_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string enterTime = 15;</code>
     * @return The bytes for enterTime.
     */
    public com.google.protobuf.ByteString
        getEnterTimeBytes() {
      java.lang.Object ref = enterTime_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        enterTime_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string enterTime = 15;</code>
     * @param value The enterTime to set.
     * @return This builder for chaining.
     */
    public Builder setEnterTime(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      enterTime_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string enterTime = 15;</code>
     * @return This builder for chaining.
     */
    public Builder clearEnterTime() {
      
      enterTime_ = getDefaultInstance().getEnterTime();
      onChanged();
      return this;
    }
    /**
     * <code>string enterTime = 15;</code>
     * @param value The bytes for enterTime to set.
     * @return This builder for chaining.
     */
    public Builder setEnterTimeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      enterTime_ = value;
      onChanged();
      return this;
    }

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

    private java.lang.Object execDeptCode_ = "";
    /**
     * <code>string execDeptCode = 17;</code>
     * @return The execDeptCode.
     */
    public java.lang.String getExecDeptCode() {
      java.lang.Object ref = execDeptCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        execDeptCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string execDeptCode = 17;</code>
     * @return The bytes for execDeptCode.
     */
    public com.google.protobuf.ByteString
        getExecDeptCodeBytes() {
      java.lang.Object ref = execDeptCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        execDeptCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string execDeptCode = 17;</code>
     * @param value The execDeptCode to set.
     * @return This builder for chaining.
     */
    public Builder setExecDeptCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      execDeptCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string execDeptCode = 17;</code>
     * @return This builder for chaining.
     */
    public Builder clearExecDeptCode() {
      
      execDeptCode_ = getDefaultInstance().getExecDeptCode();
      onChanged();
      return this;
    }
    /**
     * <code>string execDeptCode = 17;</code>
     * @param value The bytes for execDeptCode to set.
     * @return This builder for chaining.
     */
    public Builder setExecDeptCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      execDeptCode_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object execDate_ = "";
    /**
     * <code>string execDate = 18;</code>
     * @return The execDate.
     */
    public java.lang.String getExecDate() {
      java.lang.Object ref = execDate_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        execDate_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string execDate = 18;</code>
     * @return The bytes for execDate.
     */
    public com.google.protobuf.ByteString
        getExecDateBytes() {
      java.lang.Object ref = execDate_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        execDate_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string execDate = 18;</code>
     * @param value The execDate to set.
     * @return This builder for chaining.
     */
    public Builder setExecDate(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      execDate_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string execDate = 18;</code>
     * @return This builder for chaining.
     */
    public Builder clearExecDate() {
      
      execDate_ = getDefaultInstance().getExecDate();
      onChanged();
      return this;
    }
    /**
     * <code>string execDate = 18;</code>
     * @param value The bytes for execDate to set.
     * @return This builder for chaining.
     */
    public Builder setExecDateBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      execDate_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object execTime_ = "";
    /**
     * <code>string execTime = 19;</code>
     * @return The execTime.
     */
    public java.lang.String getExecTime() {
      java.lang.Object ref = execTime_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        execTime_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string execTime = 19;</code>
     * @return The bytes for execTime.
     */
    public com.google.protobuf.ByteString
        getExecTimeBytes() {
      java.lang.Object ref = execTime_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        execTime_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string execTime = 19;</code>
     * @param value The execTime to set.
     * @return This builder for chaining.
     */
    public Builder setExecTime(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      execTime_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string execTime = 19;</code>
     * @return This builder for chaining.
     */
    public Builder clearExecTime() {
      
      execTime_ = getDefaultInstance().getExecTime();
      onChanged();
      return this;
    }
    /**
     * <code>string execTime = 19;</code>
     * @param value The bytes for execTime to set.
     * @return This builder for chaining.
     */
    public Builder setExecTimeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      execTime_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object stopDate_ = "";
    /**
     * <code>string stopDate = 20;</code>
     * @return The stopDate.
     */
    public java.lang.String getStopDate() {
      java.lang.Object ref = stopDate_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        stopDate_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string stopDate = 20;</code>
     * @return The bytes for stopDate.
     */
    public com.google.protobuf.ByteString
        getStopDateBytes() {
      java.lang.Object ref = stopDate_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        stopDate_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string stopDate = 20;</code>
     * @param value The stopDate to set.
     * @return This builder for chaining.
     */
    public Builder setStopDate(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      stopDate_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string stopDate = 20;</code>
     * @return This builder for chaining.
     */
    public Builder clearStopDate() {
      
      stopDate_ = getDefaultInstance().getStopDate();
      onChanged();
      return this;
    }
    /**
     * <code>string stopDate = 20;</code>
     * @param value The bytes for stopDate to set.
     * @return This builder for chaining.
     */
    public Builder setStopDateBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      stopDate_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object stopTime_ = "";
    /**
     * <code>string stopTime = 21;</code>
     * @return The stopTime.
     */
    public java.lang.String getStopTime() {
      java.lang.Object ref = stopTime_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        stopTime_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string stopTime = 21;</code>
     * @return The bytes for stopTime.
     */
    public com.google.protobuf.ByteString
        getStopTimeBytes() {
      java.lang.Object ref = stopTime_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        stopTime_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string stopTime = 21;</code>
     * @param value The stopTime to set.
     * @return This builder for chaining.
     */
    public Builder setStopTime(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      stopTime_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string stopTime = 21;</code>
     * @return This builder for chaining.
     */
    public Builder clearStopTime() {
      
      stopTime_ = getDefaultInstance().getStopTime();
      onChanged();
      return this;
    }
    /**
     * <code>string stopTime = 21;</code>
     * @param value The bytes for stopTime to set.
     * @return This builder for chaining.
     */
    public Builder setStopTimeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      stopTime_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object stopDoctorCode_ = "";
    /**
     * <code>string stopDoctorCode = 22;</code>
     * @return The stopDoctorCode.
     */
    public java.lang.String getStopDoctorCode() {
      java.lang.Object ref = stopDoctorCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        stopDoctorCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string stopDoctorCode = 22;</code>
     * @return The bytes for stopDoctorCode.
     */
    public com.google.protobuf.ByteString
        getStopDoctorCodeBytes() {
      java.lang.Object ref = stopDoctorCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        stopDoctorCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string stopDoctorCode = 22;</code>
     * @param value The stopDoctorCode to set.
     * @return This builder for chaining.
     */
    public Builder setStopDoctorCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      stopDoctorCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string stopDoctorCode = 22;</code>
     * @return This builder for chaining.
     */
    public Builder clearStopDoctorCode() {
      
      stopDoctorCode_ = getDefaultInstance().getStopDoctorCode();
      onChanged();
      return this;
    }
    /**
     * <code>string stopDoctorCode = 22;</code>
     * @param value The bytes for stopDoctorCode to set.
     * @return This builder for chaining.
     */
    public Builder setStopDoctorCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      stopDoctorCode_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object qtyPackUOM_ = "";
    /**
     * <code>string qtyPackUOM = 23;</code>
     * @return The qtyPackUOM.
     */
    public java.lang.String getQtyPackUOM() {
      java.lang.Object ref = qtyPackUOM_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        qtyPackUOM_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string qtyPackUOM = 23;</code>
     * @return The bytes for qtyPackUOM.
     */
    public com.google.protobuf.ByteString
        getQtyPackUOMBytes() {
      java.lang.Object ref = qtyPackUOM_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        qtyPackUOM_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string qtyPackUOM = 23;</code>
     * @param value The qtyPackUOM to set.
     * @return This builder for chaining.
     */
    public Builder setQtyPackUOM(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      qtyPackUOM_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string qtyPackUOM = 23;</code>
     * @return This builder for chaining.
     */
    public Builder clearQtyPackUOM() {
      
      qtyPackUOM_ = getDefaultInstance().getQtyPackUOM();
      onChanged();
      return this;
    }
    /**
     * <code>string qtyPackUOM = 23;</code>
     * @param value The bytes for qtyPackUOM to set.
     * @return This builder for chaining.
     */
    public Builder setQtyPackUOMBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      qtyPackUOM_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object drugName_ = "";
    /**
     * <code>string drugName = 24;</code>
     * @return The drugName.
     */
    public java.lang.String getDrugName() {
      java.lang.Object ref = drugName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        drugName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string drugName = 24;</code>
     * @return The bytes for drugName.
     */
    public com.google.protobuf.ByteString
        getDrugNameBytes() {
      java.lang.Object ref = drugName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        drugName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string drugName = 24;</code>
     * @param value The drugName to set.
     * @return This builder for chaining.
     */
    public Builder setDrugName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      drugName_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string drugName = 24;</code>
     * @return This builder for chaining.
     */
    public Builder clearDrugName() {
      
      drugName_ = getDefaultInstance().getDrugName();
      onChanged();
      return this;
    }
    /**
     * <code>string drugName = 24;</code>
     * @param value The bytes for drugName to set.
     * @return This builder for chaining.
     */
    public Builder setDrugNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      drugName_ = value;
      onChanged();
      return this;
    }
    @java.lang.Override
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

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


    // @@protoc_insertion_point(builder_scope:com.ywt.gapi.third.taihe.HisOEORI)
  }

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

  public static com.ywt.gapi.third.taihe.HisOEORI getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

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

}

