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

package com.ywt.gapi.third.sinopharm;

/**
 * <pre>
 *药品信息
 * </pre>
 *
 * Protobuf type {@code com.ywt.gapi.third.sinopharm.DrugInfo}
 */
public final class DrugInfo extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.third.sinopharm.DrugInfo)
    DrugInfoOrBuilder {
private static final long serialVersionUID = 0L;
  // Use DrugInfo.newBuilder() to construct.
  private DrugInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private DrugInfo() {
    drugCode_ = "";
    drugTradeName_ = "";
    hosDrugName_ = "";
    hosDrugTradeName_ = "";
    drugName_ = "";
    drugSpec_ = "";
    drugDose_ = "";
    oneDosageUnit_ = "";
    totalDosageUnit_ = "";
    units_ = "";
    frequencyCode_ = "";
    frequency_ = "";
    usageCode_ = "";
    usage_ = "";
    manufaturer_ = "";
    usageDesc_ = "";
    dpDrugCode_ = "";
    dpPscriptDtlId_ = "";
    doctorAdvice_ = "";
    executionDT_ = "";
  }

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

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

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

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

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

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

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

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

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

            drugDose_ = s;
            break;
          }
          case 73: {

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

            oneDosageUnit_ = s;
            break;
          }
          case 89: {

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

            totalDosageUnit_ = s;
            break;
          }
          case 104: {

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

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

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

            frequency_ = s;
            break;
          }
          case 136: {

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

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

            usage_ = s;
            break;
          }
          case 168: {

            drugType_ = input.readInt32();
            break;
          }
          case 176: {

            drugSource_ = input.readInt32();
            break;
          }
          case 184: {

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

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

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

            dpDrugCode_ = s;
            break;
          }
          case 217: {

            price_ = input.readDouble();
            break;
          }
          case 225: {

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

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

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

            executionDT_ = 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.sinopharm.SinopharmProto.internal_static_com_ywt_gapi_third_sinopharm_DrugInfo_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.ywt.gapi.third.sinopharm.SinopharmProto.internal_static_com_ywt_gapi_third_sinopharm_DrugInfo_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.ywt.gapi.third.sinopharm.DrugInfo.class, com.ywt.gapi.third.sinopharm.DrugInfo.Builder.class);
  }

  public static final int PSCRIPTDTLID_FIELD_NUMBER = 1;
  private int pscriptDtlId_;
  /**
   * <pre>
   *药品明细ID Long
   * </pre>
   *
   * <code>int32 pscriptDtlId = 1;</code>
   * @return The pscriptDtlId.
   */
  @java.lang.Override
  public int getPscriptDtlId() {
    return pscriptDtlId_;
  }

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

  public static final int DRUGTRADENAME_FIELD_NUMBER = 3;
  private volatile java.lang.Object drugTradeName_;
  /**
   * <pre>
   *药品商品名 ++++++
   * </pre>
   *
   * <code>string drugTradeName = 3;</code>
   * @return The drugTradeName.
   */
  @java.lang.Override
  public java.lang.String getDrugTradeName() {
    java.lang.Object ref = drugTradeName_;
    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();
      drugTradeName_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *药品商品名 ++++++
   * </pre>
   *
   * <code>string drugTradeName = 3;</code>
   * @return The bytes for drugTradeName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDrugTradeNameBytes() {
    java.lang.Object ref = drugTradeName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      drugTradeName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int HOSDRUGNAME_FIELD_NUMBER = 4;
  private volatile java.lang.Object hosDrugName_;
  /**
   * <pre>
   *医院化学名
   * </pre>
   *
   * <code>string hosDrugName = 4;</code>
   * @return The hosDrugName.
   */
  @java.lang.Override
  public java.lang.String getHosDrugName() {
    java.lang.Object ref = hosDrugName_;
    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();
      hosDrugName_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *医院化学名
   * </pre>
   *
   * <code>string hosDrugName = 4;</code>
   * @return The bytes for hosDrugName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getHosDrugNameBytes() {
    java.lang.Object ref = hosDrugName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      hosDrugName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int HOSDRUGTRADENAME_FIELD_NUMBER = 5;
  private volatile java.lang.Object hosDrugTradeName_;
  /**
   * <pre>
   *医院商品名
   * </pre>
   *
   * <code>string hosDrugTradeName = 5;</code>
   * @return The hosDrugTradeName.
   */
  @java.lang.Override
  public java.lang.String getHosDrugTradeName() {
    java.lang.Object ref = hosDrugTradeName_;
    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();
      hosDrugTradeName_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *医院商品名
   * </pre>
   *
   * <code>string hosDrugTradeName = 5;</code>
   * @return The bytes for hosDrugTradeName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getHosDrugTradeNameBytes() {
    java.lang.Object ref = hosDrugTradeName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      hosDrugTradeName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DRUGNAME_FIELD_NUMBER = 6;
  private volatile java.lang.Object drugName_;
  /**
   * <pre>
   *药品名称(化学名，通用名)
   * </pre>
   *
   * <code>string drugName = 6;</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;
    }
  }
  /**
   * <pre>
   *药品名称(化学名，通用名)
   * </pre>
   *
   * <code>string drugName = 6;</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;
    }
  }

  public static final int DRUGSPEC_FIELD_NUMBER = 7;
  private volatile java.lang.Object drugSpec_;
  /**
   * <pre>
   *药品规格
   * </pre>
   *
   * <code>string drugSpec = 7;</code>
   * @return The drugSpec.
   */
  @java.lang.Override
  public java.lang.String getDrugSpec() {
    java.lang.Object ref = drugSpec_;
    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();
      drugSpec_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *药品规格
   * </pre>
   *
   * <code>string drugSpec = 7;</code>
   * @return The bytes for drugSpec.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDrugSpecBytes() {
    java.lang.Object ref = drugSpec_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      drugSpec_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DRUGDOSE_FIELD_NUMBER = 8;
  private volatile java.lang.Object drugDose_;
  /**
   * <pre>
   *剂型名称
   * </pre>
   *
   * <code>string drugDose = 8;</code>
   * @return The drugDose.
   */
  @java.lang.Override
  public java.lang.String getDrugDose() {
    java.lang.Object ref = drugDose_;
    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();
      drugDose_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *剂型名称
   * </pre>
   *
   * <code>string drugDose = 8;</code>
   * @return The bytes for drugDose.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDrugDoseBytes() {
    java.lang.Object ref = drugDose_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      drugDose_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ONEDOSAGE_FIELD_NUMBER = 9;
  private double oneDosage_;
  /**
   * <pre>
   *单次服用剂量，保留两位小数
   * </pre>
   *
   * <code>double oneDosage = 9;</code>
   * @return The oneDosage.
   */
  @java.lang.Override
  public double getOneDosage() {
    return oneDosage_;
  }

  public static final int ONEDOSAGEUNIT_FIELD_NUMBER = 10;
  private volatile java.lang.Object oneDosageUnit_;
  /**
   * <pre>
   *单次服用剂量单位
   * </pre>
   *
   * <code>string oneDosageUnit = 10;</code>
   * @return The oneDosageUnit.
   */
  @java.lang.Override
  public java.lang.String getOneDosageUnit() {
    java.lang.Object ref = oneDosageUnit_;
    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();
      oneDosageUnit_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *单次服用剂量单位
   * </pre>
   *
   * <code>string oneDosageUnit = 10;</code>
   * @return The bytes for oneDosageUnit.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getOneDosageUnitBytes() {
    java.lang.Object ref = oneDosageUnit_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      oneDosageUnit_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int TOTALDOSAGE_FIELD_NUMBER = 11;
  private double totalDosage_;
  /**
   * <pre>
   *总剂量，保留两位小数
   * </pre>
   *
   * <code>double totalDosage = 11;</code>
   * @return The totalDosage.
   */
  @java.lang.Override
  public double getTotalDosage() {
    return totalDosage_;
  }

  public static final int TOTALDOSAGEUNIT_FIELD_NUMBER = 12;
  private volatile java.lang.Object totalDosageUnit_;
  /**
   * <pre>
   *总剂量单位
   * </pre>
   *
   * <code>string totalDosageUnit = 12;</code>
   * @return The totalDosageUnit.
   */
  @java.lang.Override
  public java.lang.String getTotalDosageUnit() {
    java.lang.Object ref = totalDosageUnit_;
    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();
      totalDosageUnit_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *总剂量单位
   * </pre>
   *
   * <code>string totalDosageUnit = 12;</code>
   * @return The bytes for totalDosageUnit.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getTotalDosageUnitBytes() {
    java.lang.Object ref = totalDosageUnit_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      totalDosageUnit_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int AMOUNT_FIELD_NUMBER = 13;
  private int amount_;
  /**
   * <pre>
   *整包装数量
   * </pre>
   *
   * <code>int32 amount = 13;</code>
   * @return The amount.
   */
  @java.lang.Override
  public int getAmount() {
    return amount_;
  }

  public static final int UNITS_FIELD_NUMBER = 14;
  private volatile java.lang.Object units_;
  /**
   * <pre>
   *整包装单位
   * </pre>
   *
   * <code>string units = 14;</code>
   * @return The units.
   */
  @java.lang.Override
  public java.lang.String getUnits() {
    java.lang.Object ref = units_;
    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();
      units_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *整包装单位
   * </pre>
   *
   * <code>string units = 14;</code>
   * @return The bytes for units.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getUnitsBytes() {
    java.lang.Object ref = units_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      units_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

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

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

  public static final int FREQUENCYQTY_FIELD_NUMBER = 17;
  private int frequencyQty_;
  /**
   * <pre>
   *频次数量 INT
   * </pre>
   *
   * <code>int32 frequencyQty = 17;</code>
   * @return The frequencyQty.
   */
  @java.lang.Override
  public int getFrequencyQty() {
    return frequencyQty_;
  }

  public static final int USAGECODE_FIELD_NUMBER = 18;
  private volatile java.lang.Object usageCode_;
  /**
   * <pre>
   *用法编码 如PO
   * </pre>
   *
   * <code>string usageCode = 18;</code>
   * @return The usageCode.
   */
  @java.lang.Override
  public java.lang.String getUsageCode() {
    java.lang.Object ref = usageCode_;
    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();
      usageCode_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *用法编码 如PO
   * </pre>
   *
   * <code>string usageCode = 18;</code>
   * @return The bytes for usageCode.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getUsageCodeBytes() {
    java.lang.Object ref = usageCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      usageCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int USAGE_FIELD_NUMBER = 20;
  private volatile java.lang.Object usage_;
  /**
   * <pre>
   *用法说明
   * </pre>
   *
   * <code>string usage = 20;</code>
   * @return The usage.
   */
  @java.lang.Override
  public java.lang.String getUsage() {
    java.lang.Object ref = usage_;
    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();
      usage_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *用法说明
   * </pre>
   *
   * <code>string usage = 20;</code>
   * @return The bytes for usage.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getUsageBytes() {
    java.lang.Object ref = usage_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      usage_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DRUGTYPE_FIELD_NUMBER = 21;
  private int drugType_;
  /**
   * <pre>
   *药品类型 0-处方药；1-OTC
   * </pre>
   *
   * <code>int32 drugType = 21;</code>
   * @return The drugType.
   */
  @java.lang.Override
  public int getDrugType() {
    return drugType_;
  }

  public static final int DRUGSOURCE_FIELD_NUMBER = 22;
  private int drugSource_;
  /**
   * <pre>
   *一品两规 1-国产；2-进口；3-合资
   * </pre>
   *
   * <code>int32 drugSource = 22;</code>
   * @return The drugSource.
   */
  @java.lang.Override
  public int getDrugSource() {
    return drugSource_;
  }

  public static final int ASSEMBLE_FIELD_NUMBER = 23;
  private int assemble_;
  /**
   * <pre>
   *是否整装 1-是；0-否
   * </pre>
   *
   * <code>int32 assemble = 23;</code>
   * @return The assemble.
   */
  @java.lang.Override
  public int getAssemble() {
    return assemble_;
  }

  public static final int MANUFATURER_FIELD_NUMBER = 24;
  private volatile java.lang.Object manufaturer_;
  /**
   * <pre>
   *厂家
   * </pre>
   *
   * <code>string manufaturer = 24;</code>
   * @return The manufaturer.
   */
  @java.lang.Override
  public java.lang.String getManufaturer() {
    java.lang.Object ref = manufaturer_;
    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();
      manufaturer_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *厂家
   * </pre>
   *
   * <code>string manufaturer = 24;</code>
   * @return The bytes for manufaturer.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getManufaturerBytes() {
    java.lang.Object ref = manufaturer_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      manufaturer_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int USAGEDESC_FIELD_NUMBER = 25;
  private volatile java.lang.Object usageDesc_;
  /**
   * <pre>
   *总的用法说明：口服 一天三次 一次1片
   * </pre>
   *
   * <code>string usageDesc = 25;</code>
   * @return The usageDesc.
   */
  @java.lang.Override
  public java.lang.String getUsageDesc() {
    java.lang.Object ref = usageDesc_;
    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();
      usageDesc_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *总的用法说明：口服 一天三次 一次1片
   * </pre>
   *
   * <code>string usageDesc = 25;</code>
   * @return The bytes for usageDesc.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getUsageDescBytes() {
    java.lang.Object ref = usageDesc_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      usageDesc_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DPDRUGCODE_FIELD_NUMBER = 26;
  private volatile java.lang.Object dpDrugCode_;
  /**
   * <pre>
   * "DJ1001IG27",             //药商药品编码  对应药品编码
   * </pre>
   *
   * <code>string dpDrugCode = 26;</code>
   * @return The dpDrugCode.
   */
  @java.lang.Override
  public java.lang.String getDpDrugCode() {
    java.lang.Object ref = dpDrugCode_;
    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();
      dpDrugCode_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * "DJ1001IG27",             //药商药品编码  对应药品编码
   * </pre>
   *
   * <code>string dpDrugCode = 26;</code>
   * @return The bytes for dpDrugCode.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDpDrugCodeBytes() {
    java.lang.Object ref = dpDrugCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      dpDrugCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PRICE_FIELD_NUMBER = 27;
  private double price_;
  /**
   * <pre>
   *200,        //单价,保留两位小数
   * </pre>
   *
   * <code>double price = 27;</code>
   * @return The price.
   */
  @java.lang.Override
  public double getPrice() {
    return price_;
  }

  public static final int SUM_FIELD_NUMBER = 28;
  private double sum_;
  /**
   * <pre>
   *200,      //该明细总价
   * </pre>
   *
   * <code>double sum = 28;</code>
   * @return The sum.
   */
  @java.lang.Override
  public double getSum() {
    return sum_;
  }

  public static final int DPPSCRIPTDTLID_FIELD_NUMBER = 29;
  private volatile java.lang.Object dpPscriptDtlId_;
  /**
   * <pre>
   *药商处方明细映射ID
   * </pre>
   *
   * <code>string dpPscriptDtlId = 29;</code>
   * @return The dpPscriptDtlId.
   */
  @java.lang.Override
  public java.lang.String getDpPscriptDtlId() {
    java.lang.Object ref = dpPscriptDtlId_;
    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();
      dpPscriptDtlId_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *药商处方明细映射ID
   * </pre>
   *
   * <code>string dpPscriptDtlId = 29;</code>
   * @return The bytes for dpPscriptDtlId.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDpPscriptDtlIdBytes() {
    java.lang.Object ref = dpPscriptDtlId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      dpPscriptDtlId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

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

  public static final int EXECUTIONDT_FIELD_NUMBER = 31;
  private volatile java.lang.Object executionDT_;
  /**
   * <code>string executionDT = 31;</code>
   * @return The executionDT.
   */
  @java.lang.Override
  public java.lang.String getExecutionDT() {
    java.lang.Object ref = executionDT_;
    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();
      executionDT_ = s;
      return s;
    }
  }
  /**
   * <code>string executionDT = 31;</code>
   * @return The bytes for executionDT.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getExecutionDTBytes() {
    java.lang.Object ref = executionDT_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      executionDT_ = 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 (pscriptDtlId_ != 0) {
      output.writeInt32(1, pscriptDtlId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(drugCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, drugCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(drugTradeName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, drugTradeName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hosDrugName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, hosDrugName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hosDrugTradeName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, hosDrugTradeName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(drugName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, drugName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(drugSpec_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, drugSpec_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(drugDose_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, drugDose_);
    }
    if (java.lang.Double.doubleToRawLongBits(oneDosage_) != 0) {
      output.writeDouble(9, oneDosage_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(oneDosageUnit_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, oneDosageUnit_);
    }
    if (java.lang.Double.doubleToRawLongBits(totalDosage_) != 0) {
      output.writeDouble(11, totalDosage_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(totalDosageUnit_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 12, totalDosageUnit_);
    }
    if (amount_ != 0) {
      output.writeInt32(13, amount_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(units_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 14, units_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(frequencyCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 15, frequencyCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(frequency_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 16, frequency_);
    }
    if (frequencyQty_ != 0) {
      output.writeInt32(17, frequencyQty_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(usageCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 18, usageCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(usage_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 20, usage_);
    }
    if (drugType_ != 0) {
      output.writeInt32(21, drugType_);
    }
    if (drugSource_ != 0) {
      output.writeInt32(22, drugSource_);
    }
    if (assemble_ != 0) {
      output.writeInt32(23, assemble_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(manufaturer_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 24, manufaturer_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(usageDesc_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 25, usageDesc_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dpDrugCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 26, dpDrugCode_);
    }
    if (java.lang.Double.doubleToRawLongBits(price_) != 0) {
      output.writeDouble(27, price_);
    }
    if (java.lang.Double.doubleToRawLongBits(sum_) != 0) {
      output.writeDouble(28, sum_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dpPscriptDtlId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 29, dpPscriptDtlId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctorAdvice_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 30, doctorAdvice_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(executionDT_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 31, executionDT_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (pscriptDtlId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(1, pscriptDtlId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(drugCode_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, drugCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(drugTradeName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, drugTradeName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hosDrugName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, hosDrugName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hosDrugTradeName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, hosDrugTradeName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(drugName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, drugName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(drugSpec_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, drugSpec_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(drugDose_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, drugDose_);
    }
    if (java.lang.Double.doubleToRawLongBits(oneDosage_) != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeDoubleSize(9, oneDosage_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(oneDosageUnit_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, oneDosageUnit_);
    }
    if (java.lang.Double.doubleToRawLongBits(totalDosage_) != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeDoubleSize(11, totalDosage_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(totalDosageUnit_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, totalDosageUnit_);
    }
    if (amount_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(13, amount_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(units_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, units_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(frequencyCode_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, frequencyCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(frequency_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, frequency_);
    }
    if (frequencyQty_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(17, frequencyQty_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(usageCode_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, usageCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(usage_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, usage_);
    }
    if (drugType_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(21, drugType_);
    }
    if (drugSource_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(22, drugSource_);
    }
    if (assemble_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(23, assemble_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(manufaturer_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(24, manufaturer_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(usageDesc_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(25, usageDesc_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dpDrugCode_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(26, dpDrugCode_);
    }
    if (java.lang.Double.doubleToRawLongBits(price_) != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeDoubleSize(27, price_);
    }
    if (java.lang.Double.doubleToRawLongBits(sum_) != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeDoubleSize(28, sum_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dpPscriptDtlId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(29, dpPscriptDtlId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctorAdvice_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(30, doctorAdvice_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(executionDT_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(31, executionDT_);
    }
    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.sinopharm.DrugInfo)) {
      return super.equals(obj);
    }
    com.ywt.gapi.third.sinopharm.DrugInfo other = (com.ywt.gapi.third.sinopharm.DrugInfo) obj;

    if (getPscriptDtlId()
        != other.getPscriptDtlId()) return false;
    if (!getDrugCode()
        .equals(other.getDrugCode())) return false;
    if (!getDrugTradeName()
        .equals(other.getDrugTradeName())) return false;
    if (!getHosDrugName()
        .equals(other.getHosDrugName())) return false;
    if (!getHosDrugTradeName()
        .equals(other.getHosDrugTradeName())) return false;
    if (!getDrugName()
        .equals(other.getDrugName())) return false;
    if (!getDrugSpec()
        .equals(other.getDrugSpec())) return false;
    if (!getDrugDose()
        .equals(other.getDrugDose())) return false;
    if (java.lang.Double.doubleToLongBits(getOneDosage())
        != java.lang.Double.doubleToLongBits(
            other.getOneDosage())) return false;
    if (!getOneDosageUnit()
        .equals(other.getOneDosageUnit())) return false;
    if (java.lang.Double.doubleToLongBits(getTotalDosage())
        != java.lang.Double.doubleToLongBits(
            other.getTotalDosage())) return false;
    if (!getTotalDosageUnit()
        .equals(other.getTotalDosageUnit())) return false;
    if (getAmount()
        != other.getAmount()) return false;
    if (!getUnits()
        .equals(other.getUnits())) return false;
    if (!getFrequencyCode()
        .equals(other.getFrequencyCode())) return false;
    if (!getFrequency()
        .equals(other.getFrequency())) return false;
    if (getFrequencyQty()
        != other.getFrequencyQty()) return false;
    if (!getUsageCode()
        .equals(other.getUsageCode())) return false;
    if (!getUsage()
        .equals(other.getUsage())) return false;
    if (getDrugType()
        != other.getDrugType()) return false;
    if (getDrugSource()
        != other.getDrugSource()) return false;
    if (getAssemble()
        != other.getAssemble()) return false;
    if (!getManufaturer()
        .equals(other.getManufaturer())) return false;
    if (!getUsageDesc()
        .equals(other.getUsageDesc())) return false;
    if (!getDpDrugCode()
        .equals(other.getDpDrugCode())) return false;
    if (java.lang.Double.doubleToLongBits(getPrice())
        != java.lang.Double.doubleToLongBits(
            other.getPrice())) return false;
    if (java.lang.Double.doubleToLongBits(getSum())
        != java.lang.Double.doubleToLongBits(
            other.getSum())) return false;
    if (!getDpPscriptDtlId()
        .equals(other.getDpPscriptDtlId())) return false;
    if (!getDoctorAdvice()
        .equals(other.getDoctorAdvice())) return false;
    if (!getExecutionDT()
        .equals(other.getExecutionDT())) 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) + PSCRIPTDTLID_FIELD_NUMBER;
    hash = (53 * hash) + getPscriptDtlId();
    hash = (37 * hash) + DRUGCODE_FIELD_NUMBER;
    hash = (53 * hash) + getDrugCode().hashCode();
    hash = (37 * hash) + DRUGTRADENAME_FIELD_NUMBER;
    hash = (53 * hash) + getDrugTradeName().hashCode();
    hash = (37 * hash) + HOSDRUGNAME_FIELD_NUMBER;
    hash = (53 * hash) + getHosDrugName().hashCode();
    hash = (37 * hash) + HOSDRUGTRADENAME_FIELD_NUMBER;
    hash = (53 * hash) + getHosDrugTradeName().hashCode();
    hash = (37 * hash) + DRUGNAME_FIELD_NUMBER;
    hash = (53 * hash) + getDrugName().hashCode();
    hash = (37 * hash) + DRUGSPEC_FIELD_NUMBER;
    hash = (53 * hash) + getDrugSpec().hashCode();
    hash = (37 * hash) + DRUGDOSE_FIELD_NUMBER;
    hash = (53 * hash) + getDrugDose().hashCode();
    hash = (37 * hash) + ONEDOSAGE_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        java.lang.Double.doubleToLongBits(getOneDosage()));
    hash = (37 * hash) + ONEDOSAGEUNIT_FIELD_NUMBER;
    hash = (53 * hash) + getOneDosageUnit().hashCode();
    hash = (37 * hash) + TOTALDOSAGE_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        java.lang.Double.doubleToLongBits(getTotalDosage()));
    hash = (37 * hash) + TOTALDOSAGEUNIT_FIELD_NUMBER;
    hash = (53 * hash) + getTotalDosageUnit().hashCode();
    hash = (37 * hash) + AMOUNT_FIELD_NUMBER;
    hash = (53 * hash) + getAmount();
    hash = (37 * hash) + UNITS_FIELD_NUMBER;
    hash = (53 * hash) + getUnits().hashCode();
    hash = (37 * hash) + FREQUENCYCODE_FIELD_NUMBER;
    hash = (53 * hash) + getFrequencyCode().hashCode();
    hash = (37 * hash) + FREQUENCY_FIELD_NUMBER;
    hash = (53 * hash) + getFrequency().hashCode();
    hash = (37 * hash) + FREQUENCYQTY_FIELD_NUMBER;
    hash = (53 * hash) + getFrequencyQty();
    hash = (37 * hash) + USAGECODE_FIELD_NUMBER;
    hash = (53 * hash) + getUsageCode().hashCode();
    hash = (37 * hash) + USAGE_FIELD_NUMBER;
    hash = (53 * hash) + getUsage().hashCode();
    hash = (37 * hash) + DRUGTYPE_FIELD_NUMBER;
    hash = (53 * hash) + getDrugType();
    hash = (37 * hash) + DRUGSOURCE_FIELD_NUMBER;
    hash = (53 * hash) + getDrugSource();
    hash = (37 * hash) + ASSEMBLE_FIELD_NUMBER;
    hash = (53 * hash) + getAssemble();
    hash = (37 * hash) + MANUFATURER_FIELD_NUMBER;
    hash = (53 * hash) + getManufaturer().hashCode();
    hash = (37 * hash) + USAGEDESC_FIELD_NUMBER;
    hash = (53 * hash) + getUsageDesc().hashCode();
    hash = (37 * hash) + DPDRUGCODE_FIELD_NUMBER;
    hash = (53 * hash) + getDpDrugCode().hashCode();
    hash = (37 * hash) + PRICE_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        java.lang.Double.doubleToLongBits(getPrice()));
    hash = (37 * hash) + SUM_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        java.lang.Double.doubleToLongBits(getSum()));
    hash = (37 * hash) + DPPSCRIPTDTLID_FIELD_NUMBER;
    hash = (53 * hash) + getDpPscriptDtlId().hashCode();
    hash = (37 * hash) + DOCTORADVICE_FIELD_NUMBER;
    hash = (53 * hash) + getDoctorAdvice().hashCode();
    hash = (37 * hash) + EXECUTIONDT_FIELD_NUMBER;
    hash = (53 * hash) + getExecutionDT().hashCode();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.ywt.gapi.third.sinopharm.SinopharmProto.internal_static_com_ywt_gapi_third_sinopharm_DrugInfo_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.ywt.gapi.third.sinopharm.DrugInfo.class, com.ywt.gapi.third.sinopharm.DrugInfo.Builder.class);
    }

    // Construct using com.ywt.gapi.third.sinopharm.DrugInfo.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();
      pscriptDtlId_ = 0;

      drugCode_ = "";

      drugTradeName_ = "";

      hosDrugName_ = "";

      hosDrugTradeName_ = "";

      drugName_ = "";

      drugSpec_ = "";

      drugDose_ = "";

      oneDosage_ = 0D;

      oneDosageUnit_ = "";

      totalDosage_ = 0D;

      totalDosageUnit_ = "";

      amount_ = 0;

      units_ = "";

      frequencyCode_ = "";

      frequency_ = "";

      frequencyQty_ = 0;

      usageCode_ = "";

      usage_ = "";

      drugType_ = 0;

      drugSource_ = 0;

      assemble_ = 0;

      manufaturer_ = "";

      usageDesc_ = "";

      dpDrugCode_ = "";

      price_ = 0D;

      sum_ = 0D;

      dpPscriptDtlId_ = "";

      doctorAdvice_ = "";

      executionDT_ = "";

      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.ywt.gapi.third.sinopharm.SinopharmProto.internal_static_com_ywt_gapi_third_sinopharm_DrugInfo_descriptor;
    }

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

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

    @java.lang.Override
    public com.ywt.gapi.third.sinopharm.DrugInfo buildPartial() {
      com.ywt.gapi.third.sinopharm.DrugInfo result = new com.ywt.gapi.third.sinopharm.DrugInfo(this);
      result.pscriptDtlId_ = pscriptDtlId_;
      result.drugCode_ = drugCode_;
      result.drugTradeName_ = drugTradeName_;
      result.hosDrugName_ = hosDrugName_;
      result.hosDrugTradeName_ = hosDrugTradeName_;
      result.drugName_ = drugName_;
      result.drugSpec_ = drugSpec_;
      result.drugDose_ = drugDose_;
      result.oneDosage_ = oneDosage_;
      result.oneDosageUnit_ = oneDosageUnit_;
      result.totalDosage_ = totalDosage_;
      result.totalDosageUnit_ = totalDosageUnit_;
      result.amount_ = amount_;
      result.units_ = units_;
      result.frequencyCode_ = frequencyCode_;
      result.frequency_ = frequency_;
      result.frequencyQty_ = frequencyQty_;
      result.usageCode_ = usageCode_;
      result.usage_ = usage_;
      result.drugType_ = drugType_;
      result.drugSource_ = drugSource_;
      result.assemble_ = assemble_;
      result.manufaturer_ = manufaturer_;
      result.usageDesc_ = usageDesc_;
      result.dpDrugCode_ = dpDrugCode_;
      result.price_ = price_;
      result.sum_ = sum_;
      result.dpPscriptDtlId_ = dpPscriptDtlId_;
      result.doctorAdvice_ = doctorAdvice_;
      result.executionDT_ = executionDT_;
      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.sinopharm.DrugInfo) {
        return mergeFrom((com.ywt.gapi.third.sinopharm.DrugInfo)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.ywt.gapi.third.sinopharm.DrugInfo other) {
      if (other == com.ywt.gapi.third.sinopharm.DrugInfo.getDefaultInstance()) return this;
      if (other.getPscriptDtlId() != 0) {
        setPscriptDtlId(other.getPscriptDtlId());
      }
      if (!other.getDrugCode().isEmpty()) {
        drugCode_ = other.drugCode_;
        onChanged();
      }
      if (!other.getDrugTradeName().isEmpty()) {
        drugTradeName_ = other.drugTradeName_;
        onChanged();
      }
      if (!other.getHosDrugName().isEmpty()) {
        hosDrugName_ = other.hosDrugName_;
        onChanged();
      }
      if (!other.getHosDrugTradeName().isEmpty()) {
        hosDrugTradeName_ = other.hosDrugTradeName_;
        onChanged();
      }
      if (!other.getDrugName().isEmpty()) {
        drugName_ = other.drugName_;
        onChanged();
      }
      if (!other.getDrugSpec().isEmpty()) {
        drugSpec_ = other.drugSpec_;
        onChanged();
      }
      if (!other.getDrugDose().isEmpty()) {
        drugDose_ = other.drugDose_;
        onChanged();
      }
      if (other.getOneDosage() != 0D) {
        setOneDosage(other.getOneDosage());
      }
      if (!other.getOneDosageUnit().isEmpty()) {
        oneDosageUnit_ = other.oneDosageUnit_;
        onChanged();
      }
      if (other.getTotalDosage() != 0D) {
        setTotalDosage(other.getTotalDosage());
      }
      if (!other.getTotalDosageUnit().isEmpty()) {
        totalDosageUnit_ = other.totalDosageUnit_;
        onChanged();
      }
      if (other.getAmount() != 0) {
        setAmount(other.getAmount());
      }
      if (!other.getUnits().isEmpty()) {
        units_ = other.units_;
        onChanged();
      }
      if (!other.getFrequencyCode().isEmpty()) {
        frequencyCode_ = other.frequencyCode_;
        onChanged();
      }
      if (!other.getFrequency().isEmpty()) {
        frequency_ = other.frequency_;
        onChanged();
      }
      if (other.getFrequencyQty() != 0) {
        setFrequencyQty(other.getFrequencyQty());
      }
      if (!other.getUsageCode().isEmpty()) {
        usageCode_ = other.usageCode_;
        onChanged();
      }
      if (!other.getUsage().isEmpty()) {
        usage_ = other.usage_;
        onChanged();
      }
      if (other.getDrugType() != 0) {
        setDrugType(other.getDrugType());
      }
      if (other.getDrugSource() != 0) {
        setDrugSource(other.getDrugSource());
      }
      if (other.getAssemble() != 0) {
        setAssemble(other.getAssemble());
      }
      if (!other.getManufaturer().isEmpty()) {
        manufaturer_ = other.manufaturer_;
        onChanged();
      }
      if (!other.getUsageDesc().isEmpty()) {
        usageDesc_ = other.usageDesc_;
        onChanged();
      }
      if (!other.getDpDrugCode().isEmpty()) {
        dpDrugCode_ = other.dpDrugCode_;
        onChanged();
      }
      if (other.getPrice() != 0D) {
        setPrice(other.getPrice());
      }
      if (other.getSum() != 0D) {
        setSum(other.getSum());
      }
      if (!other.getDpPscriptDtlId().isEmpty()) {
        dpPscriptDtlId_ = other.dpPscriptDtlId_;
        onChanged();
      }
      if (!other.getDoctorAdvice().isEmpty()) {
        doctorAdvice_ = other.doctorAdvice_;
        onChanged();
      }
      if (!other.getExecutionDT().isEmpty()) {
        executionDT_ = other.executionDT_;
        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.sinopharm.DrugInfo parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.ywt.gapi.third.sinopharm.DrugInfo) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private int pscriptDtlId_ ;
    /**
     * <pre>
     *药品明细ID Long
     * </pre>
     *
     * <code>int32 pscriptDtlId = 1;</code>
     * @return The pscriptDtlId.
     */
    @java.lang.Override
    public int getPscriptDtlId() {
      return pscriptDtlId_;
    }
    /**
     * <pre>
     *药品明细ID Long
     * </pre>
     *
     * <code>int32 pscriptDtlId = 1;</code>
     * @param value The pscriptDtlId to set.
     * @return This builder for chaining.
     */
    public Builder setPscriptDtlId(int value) {
      
      pscriptDtlId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *药品明细ID Long
     * </pre>
     *
     * <code>int32 pscriptDtlId = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearPscriptDtlId() {
      
      pscriptDtlId_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object drugCode_ = "";
    /**
     * <code>string drugCode = 2;</code>
     * @return The drugCode.
     */
    public java.lang.String getDrugCode() {
      java.lang.Object ref = drugCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        drugCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string drugCode = 2;</code>
     * @return The bytes for drugCode.
     */
    public com.google.protobuf.ByteString
        getDrugCodeBytes() {
      java.lang.Object ref = drugCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        drugCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string drugCode = 2;</code>
     * @param value The drugCode to set.
     * @return This builder for chaining.
     */
    public Builder setDrugCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      drugCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string drugCode = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearDrugCode() {
      
      drugCode_ = getDefaultInstance().getDrugCode();
      onChanged();
      return this;
    }
    /**
     * <code>string drugCode = 2;</code>
     * @param value The bytes for drugCode to set.
     * @return This builder for chaining.
     */
    public Builder setDrugCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      drugCode_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object drugTradeName_ = "";
    /**
     * <pre>
     *药品商品名 ++++++
     * </pre>
     *
     * <code>string drugTradeName = 3;</code>
     * @return The drugTradeName.
     */
    public java.lang.String getDrugTradeName() {
      java.lang.Object ref = drugTradeName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        drugTradeName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *药品商品名 ++++++
     * </pre>
     *
     * <code>string drugTradeName = 3;</code>
     * @return The bytes for drugTradeName.
     */
    public com.google.protobuf.ByteString
        getDrugTradeNameBytes() {
      java.lang.Object ref = drugTradeName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        drugTradeName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *药品商品名 ++++++
     * </pre>
     *
     * <code>string drugTradeName = 3;</code>
     * @param value The drugTradeName to set.
     * @return This builder for chaining.
     */
    public Builder setDrugTradeName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      drugTradeName_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *药品商品名 ++++++
     * </pre>
     *
     * <code>string drugTradeName = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearDrugTradeName() {
      
      drugTradeName_ = getDefaultInstance().getDrugTradeName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *药品商品名 ++++++
     * </pre>
     *
     * <code>string drugTradeName = 3;</code>
     * @param value The bytes for drugTradeName to set.
     * @return This builder for chaining.
     */
    public Builder setDrugTradeNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      drugTradeName_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object hosDrugName_ = "";
    /**
     * <pre>
     *医院化学名
     * </pre>
     *
     * <code>string hosDrugName = 4;</code>
     * @return The hosDrugName.
     */
    public java.lang.String getHosDrugName() {
      java.lang.Object ref = hosDrugName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        hosDrugName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *医院化学名
     * </pre>
     *
     * <code>string hosDrugName = 4;</code>
     * @return The bytes for hosDrugName.
     */
    public com.google.protobuf.ByteString
        getHosDrugNameBytes() {
      java.lang.Object ref = hosDrugName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        hosDrugName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *医院化学名
     * </pre>
     *
     * <code>string hosDrugName = 4;</code>
     * @param value The hosDrugName to set.
     * @return This builder for chaining.
     */
    public Builder setHosDrugName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      hosDrugName_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医院化学名
     * </pre>
     *
     * <code>string hosDrugName = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearHosDrugName() {
      
      hosDrugName_ = getDefaultInstance().getHosDrugName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医院化学名
     * </pre>
     *
     * <code>string hosDrugName = 4;</code>
     * @param value The bytes for hosDrugName to set.
     * @return This builder for chaining.
     */
    public Builder setHosDrugNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      hosDrugName_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object hosDrugTradeName_ = "";
    /**
     * <pre>
     *医院商品名
     * </pre>
     *
     * <code>string hosDrugTradeName = 5;</code>
     * @return The hosDrugTradeName.
     */
    public java.lang.String getHosDrugTradeName() {
      java.lang.Object ref = hosDrugTradeName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        hosDrugTradeName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *医院商品名
     * </pre>
     *
     * <code>string hosDrugTradeName = 5;</code>
     * @return The bytes for hosDrugTradeName.
     */
    public com.google.protobuf.ByteString
        getHosDrugTradeNameBytes() {
      java.lang.Object ref = hosDrugTradeName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        hosDrugTradeName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *医院商品名
     * </pre>
     *
     * <code>string hosDrugTradeName = 5;</code>
     * @param value The hosDrugTradeName to set.
     * @return This builder for chaining.
     */
    public Builder setHosDrugTradeName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      hosDrugTradeName_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医院商品名
     * </pre>
     *
     * <code>string hosDrugTradeName = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearHosDrugTradeName() {
      
      hosDrugTradeName_ = getDefaultInstance().getHosDrugTradeName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医院商品名
     * </pre>
     *
     * <code>string hosDrugTradeName = 5;</code>
     * @param value The bytes for hosDrugTradeName to set.
     * @return This builder for chaining.
     */
    public Builder setHosDrugTradeNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      hosDrugTradeName_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object drugName_ = "";
    /**
     * <pre>
     *药品名称(化学名，通用名)
     * </pre>
     *
     * <code>string drugName = 6;</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;
      }
    }
    /**
     * <pre>
     *药品名称(化学名，通用名)
     * </pre>
     *
     * <code>string drugName = 6;</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;
      }
    }
    /**
     * <pre>
     *药品名称(化学名，通用名)
     * </pre>
     *
     * <code>string drugName = 6;</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;
    }
    /**
     * <pre>
     *药品名称(化学名，通用名)
     * </pre>
     *
     * <code>string drugName = 6;</code>
     * @return This builder for chaining.
     */
    public Builder clearDrugName() {
      
      drugName_ = getDefaultInstance().getDrugName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *药品名称(化学名，通用名)
     * </pre>
     *
     * <code>string drugName = 6;</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;
    }

    private java.lang.Object drugSpec_ = "";
    /**
     * <pre>
     *药品规格
     * </pre>
     *
     * <code>string drugSpec = 7;</code>
     * @return The drugSpec.
     */
    public java.lang.String getDrugSpec() {
      java.lang.Object ref = drugSpec_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        drugSpec_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *药品规格
     * </pre>
     *
     * <code>string drugSpec = 7;</code>
     * @return The bytes for drugSpec.
     */
    public com.google.protobuf.ByteString
        getDrugSpecBytes() {
      java.lang.Object ref = drugSpec_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        drugSpec_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *药品规格
     * </pre>
     *
     * <code>string drugSpec = 7;</code>
     * @param value The drugSpec to set.
     * @return This builder for chaining.
     */
    public Builder setDrugSpec(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      drugSpec_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *药品规格
     * </pre>
     *
     * <code>string drugSpec = 7;</code>
     * @return This builder for chaining.
     */
    public Builder clearDrugSpec() {
      
      drugSpec_ = getDefaultInstance().getDrugSpec();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *药品规格
     * </pre>
     *
     * <code>string drugSpec = 7;</code>
     * @param value The bytes for drugSpec to set.
     * @return This builder for chaining.
     */
    public Builder setDrugSpecBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      drugSpec_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object drugDose_ = "";
    /**
     * <pre>
     *剂型名称
     * </pre>
     *
     * <code>string drugDose = 8;</code>
     * @return The drugDose.
     */
    public java.lang.String getDrugDose() {
      java.lang.Object ref = drugDose_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        drugDose_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *剂型名称
     * </pre>
     *
     * <code>string drugDose = 8;</code>
     * @return The bytes for drugDose.
     */
    public com.google.protobuf.ByteString
        getDrugDoseBytes() {
      java.lang.Object ref = drugDose_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        drugDose_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *剂型名称
     * </pre>
     *
     * <code>string drugDose = 8;</code>
     * @param value The drugDose to set.
     * @return This builder for chaining.
     */
    public Builder setDrugDose(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      drugDose_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *剂型名称
     * </pre>
     *
     * <code>string drugDose = 8;</code>
     * @return This builder for chaining.
     */
    public Builder clearDrugDose() {
      
      drugDose_ = getDefaultInstance().getDrugDose();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *剂型名称
     * </pre>
     *
     * <code>string drugDose = 8;</code>
     * @param value The bytes for drugDose to set.
     * @return This builder for chaining.
     */
    public Builder setDrugDoseBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      drugDose_ = value;
      onChanged();
      return this;
    }

    private double oneDosage_ ;
    /**
     * <pre>
     *单次服用剂量，保留两位小数
     * </pre>
     *
     * <code>double oneDosage = 9;</code>
     * @return The oneDosage.
     */
    @java.lang.Override
    public double getOneDosage() {
      return oneDosage_;
    }
    /**
     * <pre>
     *单次服用剂量，保留两位小数
     * </pre>
     *
     * <code>double oneDosage = 9;</code>
     * @param value The oneDosage to set.
     * @return This builder for chaining.
     */
    public Builder setOneDosage(double value) {
      
      oneDosage_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *单次服用剂量，保留两位小数
     * </pre>
     *
     * <code>double oneDosage = 9;</code>
     * @return This builder for chaining.
     */
    public Builder clearOneDosage() {
      
      oneDosage_ = 0D;
      onChanged();
      return this;
    }

    private java.lang.Object oneDosageUnit_ = "";
    /**
     * <pre>
     *单次服用剂量单位
     * </pre>
     *
     * <code>string oneDosageUnit = 10;</code>
     * @return The oneDosageUnit.
     */
    public java.lang.String getOneDosageUnit() {
      java.lang.Object ref = oneDosageUnit_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        oneDosageUnit_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *单次服用剂量单位
     * </pre>
     *
     * <code>string oneDosageUnit = 10;</code>
     * @return The bytes for oneDosageUnit.
     */
    public com.google.protobuf.ByteString
        getOneDosageUnitBytes() {
      java.lang.Object ref = oneDosageUnit_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        oneDosageUnit_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *单次服用剂量单位
     * </pre>
     *
     * <code>string oneDosageUnit = 10;</code>
     * @param value The oneDosageUnit to set.
     * @return This builder for chaining.
     */
    public Builder setOneDosageUnit(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      oneDosageUnit_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *单次服用剂量单位
     * </pre>
     *
     * <code>string oneDosageUnit = 10;</code>
     * @return This builder for chaining.
     */
    public Builder clearOneDosageUnit() {
      
      oneDosageUnit_ = getDefaultInstance().getOneDosageUnit();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *单次服用剂量单位
     * </pre>
     *
     * <code>string oneDosageUnit = 10;</code>
     * @param value The bytes for oneDosageUnit to set.
     * @return This builder for chaining.
     */
    public Builder setOneDosageUnitBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      oneDosageUnit_ = value;
      onChanged();
      return this;
    }

    private double totalDosage_ ;
    /**
     * <pre>
     *总剂量，保留两位小数
     * </pre>
     *
     * <code>double totalDosage = 11;</code>
     * @return The totalDosage.
     */
    @java.lang.Override
    public double getTotalDosage() {
      return totalDosage_;
    }
    /**
     * <pre>
     *总剂量，保留两位小数
     * </pre>
     *
     * <code>double totalDosage = 11;</code>
     * @param value The totalDosage to set.
     * @return This builder for chaining.
     */
    public Builder setTotalDosage(double value) {
      
      totalDosage_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *总剂量，保留两位小数
     * </pre>
     *
     * <code>double totalDosage = 11;</code>
     * @return This builder for chaining.
     */
    public Builder clearTotalDosage() {
      
      totalDosage_ = 0D;
      onChanged();
      return this;
    }

    private java.lang.Object totalDosageUnit_ = "";
    /**
     * <pre>
     *总剂量单位
     * </pre>
     *
     * <code>string totalDosageUnit = 12;</code>
     * @return The totalDosageUnit.
     */
    public java.lang.String getTotalDosageUnit() {
      java.lang.Object ref = totalDosageUnit_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        totalDosageUnit_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *总剂量单位
     * </pre>
     *
     * <code>string totalDosageUnit = 12;</code>
     * @return The bytes for totalDosageUnit.
     */
    public com.google.protobuf.ByteString
        getTotalDosageUnitBytes() {
      java.lang.Object ref = totalDosageUnit_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        totalDosageUnit_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *总剂量单位
     * </pre>
     *
     * <code>string totalDosageUnit = 12;</code>
     * @param value The totalDosageUnit to set.
     * @return This builder for chaining.
     */
    public Builder setTotalDosageUnit(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      totalDosageUnit_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *总剂量单位
     * </pre>
     *
     * <code>string totalDosageUnit = 12;</code>
     * @return This builder for chaining.
     */
    public Builder clearTotalDosageUnit() {
      
      totalDosageUnit_ = getDefaultInstance().getTotalDosageUnit();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *总剂量单位
     * </pre>
     *
     * <code>string totalDosageUnit = 12;</code>
     * @param value The bytes for totalDosageUnit to set.
     * @return This builder for chaining.
     */
    public Builder setTotalDosageUnitBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      totalDosageUnit_ = value;
      onChanged();
      return this;
    }

    private int amount_ ;
    /**
     * <pre>
     *整包装数量
     * </pre>
     *
     * <code>int32 amount = 13;</code>
     * @return The amount.
     */
    @java.lang.Override
    public int getAmount() {
      return amount_;
    }
    /**
     * <pre>
     *整包装数量
     * </pre>
     *
     * <code>int32 amount = 13;</code>
     * @param value The amount to set.
     * @return This builder for chaining.
     */
    public Builder setAmount(int value) {
      
      amount_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *整包装数量
     * </pre>
     *
     * <code>int32 amount = 13;</code>
     * @return This builder for chaining.
     */
    public Builder clearAmount() {
      
      amount_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object units_ = "";
    /**
     * <pre>
     *整包装单位
     * </pre>
     *
     * <code>string units = 14;</code>
     * @return The units.
     */
    public java.lang.String getUnits() {
      java.lang.Object ref = units_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        units_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *整包装单位
     * </pre>
     *
     * <code>string units = 14;</code>
     * @return The bytes for units.
     */
    public com.google.protobuf.ByteString
        getUnitsBytes() {
      java.lang.Object ref = units_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        units_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *整包装单位
     * </pre>
     *
     * <code>string units = 14;</code>
     * @param value The units to set.
     * @return This builder for chaining.
     */
    public Builder setUnits(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      units_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *整包装单位
     * </pre>
     *
     * <code>string units = 14;</code>
     * @return This builder for chaining.
     */
    public Builder clearUnits() {
      
      units_ = getDefaultInstance().getUnits();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *整包装单位
     * </pre>
     *
     * <code>string units = 14;</code>
     * @param value The bytes for units to set.
     * @return This builder for chaining.
     */
    public Builder setUnitsBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      units_ = value;
      onChanged();
      return this;
    }

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

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

    private int frequencyQty_ ;
    /**
     * <pre>
     *频次数量 INT
     * </pre>
     *
     * <code>int32 frequencyQty = 17;</code>
     * @return The frequencyQty.
     */
    @java.lang.Override
    public int getFrequencyQty() {
      return frequencyQty_;
    }
    /**
     * <pre>
     *频次数量 INT
     * </pre>
     *
     * <code>int32 frequencyQty = 17;</code>
     * @param value The frequencyQty to set.
     * @return This builder for chaining.
     */
    public Builder setFrequencyQty(int value) {
      
      frequencyQty_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *频次数量 INT
     * </pre>
     *
     * <code>int32 frequencyQty = 17;</code>
     * @return This builder for chaining.
     */
    public Builder clearFrequencyQty() {
      
      frequencyQty_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object usageCode_ = "";
    /**
     * <pre>
     *用法编码 如PO
     * </pre>
     *
     * <code>string usageCode = 18;</code>
     * @return The usageCode.
     */
    public java.lang.String getUsageCode() {
      java.lang.Object ref = usageCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        usageCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *用法编码 如PO
     * </pre>
     *
     * <code>string usageCode = 18;</code>
     * @return The bytes for usageCode.
     */
    public com.google.protobuf.ByteString
        getUsageCodeBytes() {
      java.lang.Object ref = usageCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        usageCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *用法编码 如PO
     * </pre>
     *
     * <code>string usageCode = 18;</code>
     * @param value The usageCode to set.
     * @return This builder for chaining.
     */
    public Builder setUsageCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      usageCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *用法编码 如PO
     * </pre>
     *
     * <code>string usageCode = 18;</code>
     * @return This builder for chaining.
     */
    public Builder clearUsageCode() {
      
      usageCode_ = getDefaultInstance().getUsageCode();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *用法编码 如PO
     * </pre>
     *
     * <code>string usageCode = 18;</code>
     * @param value The bytes for usageCode to set.
     * @return This builder for chaining.
     */
    public Builder setUsageCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      usageCode_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object usage_ = "";
    /**
     * <pre>
     *用法说明
     * </pre>
     *
     * <code>string usage = 20;</code>
     * @return The usage.
     */
    public java.lang.String getUsage() {
      java.lang.Object ref = usage_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        usage_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *用法说明
     * </pre>
     *
     * <code>string usage = 20;</code>
     * @return The bytes for usage.
     */
    public com.google.protobuf.ByteString
        getUsageBytes() {
      java.lang.Object ref = usage_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        usage_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *用法说明
     * </pre>
     *
     * <code>string usage = 20;</code>
     * @param value The usage to set.
     * @return This builder for chaining.
     */
    public Builder setUsage(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      usage_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *用法说明
     * </pre>
     *
     * <code>string usage = 20;</code>
     * @return This builder for chaining.
     */
    public Builder clearUsage() {
      
      usage_ = getDefaultInstance().getUsage();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *用法说明
     * </pre>
     *
     * <code>string usage = 20;</code>
     * @param value The bytes for usage to set.
     * @return This builder for chaining.
     */
    public Builder setUsageBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      usage_ = value;
      onChanged();
      return this;
    }

    private int drugType_ ;
    /**
     * <pre>
     *药品类型 0-处方药；1-OTC
     * </pre>
     *
     * <code>int32 drugType = 21;</code>
     * @return The drugType.
     */
    @java.lang.Override
    public int getDrugType() {
      return drugType_;
    }
    /**
     * <pre>
     *药品类型 0-处方药；1-OTC
     * </pre>
     *
     * <code>int32 drugType = 21;</code>
     * @param value The drugType to set.
     * @return This builder for chaining.
     */
    public Builder setDrugType(int value) {
      
      drugType_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *药品类型 0-处方药；1-OTC
     * </pre>
     *
     * <code>int32 drugType = 21;</code>
     * @return This builder for chaining.
     */
    public Builder clearDrugType() {
      
      drugType_ = 0;
      onChanged();
      return this;
    }

    private int drugSource_ ;
    /**
     * <pre>
     *一品两规 1-国产；2-进口；3-合资
     * </pre>
     *
     * <code>int32 drugSource = 22;</code>
     * @return The drugSource.
     */
    @java.lang.Override
    public int getDrugSource() {
      return drugSource_;
    }
    /**
     * <pre>
     *一品两规 1-国产；2-进口；3-合资
     * </pre>
     *
     * <code>int32 drugSource = 22;</code>
     * @param value The drugSource to set.
     * @return This builder for chaining.
     */
    public Builder setDrugSource(int value) {
      
      drugSource_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *一品两规 1-国产；2-进口；3-合资
     * </pre>
     *
     * <code>int32 drugSource = 22;</code>
     * @return This builder for chaining.
     */
    public Builder clearDrugSource() {
      
      drugSource_ = 0;
      onChanged();
      return this;
    }

    private int assemble_ ;
    /**
     * <pre>
     *是否整装 1-是；0-否
     * </pre>
     *
     * <code>int32 assemble = 23;</code>
     * @return The assemble.
     */
    @java.lang.Override
    public int getAssemble() {
      return assemble_;
    }
    /**
     * <pre>
     *是否整装 1-是；0-否
     * </pre>
     *
     * <code>int32 assemble = 23;</code>
     * @param value The assemble to set.
     * @return This builder for chaining.
     */
    public Builder setAssemble(int value) {
      
      assemble_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *是否整装 1-是；0-否
     * </pre>
     *
     * <code>int32 assemble = 23;</code>
     * @return This builder for chaining.
     */
    public Builder clearAssemble() {
      
      assemble_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object manufaturer_ = "";
    /**
     * <pre>
     *厂家
     * </pre>
     *
     * <code>string manufaturer = 24;</code>
     * @return The manufaturer.
     */
    public java.lang.String getManufaturer() {
      java.lang.Object ref = manufaturer_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        manufaturer_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *厂家
     * </pre>
     *
     * <code>string manufaturer = 24;</code>
     * @return The bytes for manufaturer.
     */
    public com.google.protobuf.ByteString
        getManufaturerBytes() {
      java.lang.Object ref = manufaturer_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        manufaturer_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *厂家
     * </pre>
     *
     * <code>string manufaturer = 24;</code>
     * @param value The manufaturer to set.
     * @return This builder for chaining.
     */
    public Builder setManufaturer(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      manufaturer_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *厂家
     * </pre>
     *
     * <code>string manufaturer = 24;</code>
     * @return This builder for chaining.
     */
    public Builder clearManufaturer() {
      
      manufaturer_ = getDefaultInstance().getManufaturer();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *厂家
     * </pre>
     *
     * <code>string manufaturer = 24;</code>
     * @param value The bytes for manufaturer to set.
     * @return This builder for chaining.
     */
    public Builder setManufaturerBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      manufaturer_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object usageDesc_ = "";
    /**
     * <pre>
     *总的用法说明：口服 一天三次 一次1片
     * </pre>
     *
     * <code>string usageDesc = 25;</code>
     * @return The usageDesc.
     */
    public java.lang.String getUsageDesc() {
      java.lang.Object ref = usageDesc_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        usageDesc_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *总的用法说明：口服 一天三次 一次1片
     * </pre>
     *
     * <code>string usageDesc = 25;</code>
     * @return The bytes for usageDesc.
     */
    public com.google.protobuf.ByteString
        getUsageDescBytes() {
      java.lang.Object ref = usageDesc_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        usageDesc_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *总的用法说明：口服 一天三次 一次1片
     * </pre>
     *
     * <code>string usageDesc = 25;</code>
     * @param value The usageDesc to set.
     * @return This builder for chaining.
     */
    public Builder setUsageDesc(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      usageDesc_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *总的用法说明：口服 一天三次 一次1片
     * </pre>
     *
     * <code>string usageDesc = 25;</code>
     * @return This builder for chaining.
     */
    public Builder clearUsageDesc() {
      
      usageDesc_ = getDefaultInstance().getUsageDesc();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *总的用法说明：口服 一天三次 一次1片
     * </pre>
     *
     * <code>string usageDesc = 25;</code>
     * @param value The bytes for usageDesc to set.
     * @return This builder for chaining.
     */
    public Builder setUsageDescBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      usageDesc_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object dpDrugCode_ = "";
    /**
     * <pre>
     * "DJ1001IG27",             //药商药品编码  对应药品编码
     * </pre>
     *
     * <code>string dpDrugCode = 26;</code>
     * @return The dpDrugCode.
     */
    public java.lang.String getDpDrugCode() {
      java.lang.Object ref = dpDrugCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        dpDrugCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * "DJ1001IG27",             //药商药品编码  对应药品编码
     * </pre>
     *
     * <code>string dpDrugCode = 26;</code>
     * @return The bytes for dpDrugCode.
     */
    public com.google.protobuf.ByteString
        getDpDrugCodeBytes() {
      java.lang.Object ref = dpDrugCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        dpDrugCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * "DJ1001IG27",             //药商药品编码  对应药品编码
     * </pre>
     *
     * <code>string dpDrugCode = 26;</code>
     * @param value The dpDrugCode to set.
     * @return This builder for chaining.
     */
    public Builder setDpDrugCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      dpDrugCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * "DJ1001IG27",             //药商药品编码  对应药品编码
     * </pre>
     *
     * <code>string dpDrugCode = 26;</code>
     * @return This builder for chaining.
     */
    public Builder clearDpDrugCode() {
      
      dpDrugCode_ = getDefaultInstance().getDpDrugCode();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * "DJ1001IG27",             //药商药品编码  对应药品编码
     * </pre>
     *
     * <code>string dpDrugCode = 26;</code>
     * @param value The bytes for dpDrugCode to set.
     * @return This builder for chaining.
     */
    public Builder setDpDrugCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      dpDrugCode_ = value;
      onChanged();
      return this;
    }

    private double price_ ;
    /**
     * <pre>
     *200,        //单价,保留两位小数
     * </pre>
     *
     * <code>double price = 27;</code>
     * @return The price.
     */
    @java.lang.Override
    public double getPrice() {
      return price_;
    }
    /**
     * <pre>
     *200,        //单价,保留两位小数
     * </pre>
     *
     * <code>double price = 27;</code>
     * @param value The price to set.
     * @return This builder for chaining.
     */
    public Builder setPrice(double value) {
      
      price_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *200,        //单价,保留两位小数
     * </pre>
     *
     * <code>double price = 27;</code>
     * @return This builder for chaining.
     */
    public Builder clearPrice() {
      
      price_ = 0D;
      onChanged();
      return this;
    }

    private double sum_ ;
    /**
     * <pre>
     *200,      //该明细总价
     * </pre>
     *
     * <code>double sum = 28;</code>
     * @return The sum.
     */
    @java.lang.Override
    public double getSum() {
      return sum_;
    }
    /**
     * <pre>
     *200,      //该明细总价
     * </pre>
     *
     * <code>double sum = 28;</code>
     * @param value The sum to set.
     * @return This builder for chaining.
     */
    public Builder setSum(double value) {
      
      sum_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *200,      //该明细总价
     * </pre>
     *
     * <code>double sum = 28;</code>
     * @return This builder for chaining.
     */
    public Builder clearSum() {
      
      sum_ = 0D;
      onChanged();
      return this;
    }

    private java.lang.Object dpPscriptDtlId_ = "";
    /**
     * <pre>
     *药商处方明细映射ID
     * </pre>
     *
     * <code>string dpPscriptDtlId = 29;</code>
     * @return The dpPscriptDtlId.
     */
    public java.lang.String getDpPscriptDtlId() {
      java.lang.Object ref = dpPscriptDtlId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        dpPscriptDtlId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *药商处方明细映射ID
     * </pre>
     *
     * <code>string dpPscriptDtlId = 29;</code>
     * @return The bytes for dpPscriptDtlId.
     */
    public com.google.protobuf.ByteString
        getDpPscriptDtlIdBytes() {
      java.lang.Object ref = dpPscriptDtlId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        dpPscriptDtlId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *药商处方明细映射ID
     * </pre>
     *
     * <code>string dpPscriptDtlId = 29;</code>
     * @param value The dpPscriptDtlId to set.
     * @return This builder for chaining.
     */
    public Builder setDpPscriptDtlId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      dpPscriptDtlId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *药商处方明细映射ID
     * </pre>
     *
     * <code>string dpPscriptDtlId = 29;</code>
     * @return This builder for chaining.
     */
    public Builder clearDpPscriptDtlId() {
      
      dpPscriptDtlId_ = getDefaultInstance().getDpPscriptDtlId();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *药商处方明细映射ID
     * </pre>
     *
     * <code>string dpPscriptDtlId = 29;</code>
     * @param value The bytes for dpPscriptDtlId to set.
     * @return This builder for chaining.
     */
    public Builder setDpPscriptDtlIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      dpPscriptDtlId_ = value;
      onChanged();
      return this;
    }

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

    private java.lang.Object executionDT_ = "";
    /**
     * <code>string executionDT = 31;</code>
     * @return The executionDT.
     */
    public java.lang.String getExecutionDT() {
      java.lang.Object ref = executionDT_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        executionDT_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string executionDT = 31;</code>
     * @return The bytes for executionDT.
     */
    public com.google.protobuf.ByteString
        getExecutionDTBytes() {
      java.lang.Object ref = executionDT_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        executionDT_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string executionDT = 31;</code>
     * @param value The executionDT to set.
     * @return This builder for chaining.
     */
    public Builder setExecutionDT(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      executionDT_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string executionDT = 31;</code>
     * @return This builder for chaining.
     */
    public Builder clearExecutionDT() {
      
      executionDT_ = getDefaultInstance().getExecutionDT();
      onChanged();
      return this;
    }
    /**
     * <code>string executionDT = 31;</code>
     * @param value The bytes for executionDT to set.
     * @return This builder for chaining.
     */
    public Builder setExecutionDTBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      executionDT_ = 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.sinopharm.DrugInfo)
  }

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

  public static com.ywt.gapi.third.sinopharm.DrugInfo getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

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

}

