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

package com.ywt.gapi.drug;

/**
 * <pre>
 *获取耗材订单详情响应消息
 * </pre>
 *
 * Protobuf type {@code com.ywt.gapi.drug.GetMedConOrderInfoResponse}
 */
public  final class GetMedConOrderInfoResponse extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.drug.GetMedConOrderInfoResponse)
    GetMedConOrderInfoResponseOrBuilder {
  // Use GetMedConOrderInfoResponse.newBuilder() to construct.
  private GetMedConOrderInfoResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private GetMedConOrderInfoResponse() {
    code_ = 0;
    info_ = "";
    medConList_ = java.util.Collections.emptyList();
    patientName_ = "";
    mobile_ = "";
    totalPrice_ = 0;
    status_ = 0;
    createTime_ = 0L;
    createType_ = 0;
    statusStr_ = "";
    pharmacyId_ = 0;
    pharmacyName_ = "";
    pharmacyAddress_ = "";
    invoiceRequired_ = false;
    orderId_ = 0;
    deptName_ = "";
    doctorName_ = "";
    paymentTime_ = 0L;
    hasInvoice_ = 0;
    showInt_ = 0;
  }

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

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

            info_ = s;
            break;
          }
          case 26: {
            if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
              medConList_ = new java.util.ArrayList<com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons>();
              mutable_bitField0_ |= 0x00000004;
            }
            medConList_.add(
                input.readMessage(com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons.parser(), extensionRegistry));
            break;
          }
          case 34: {
            java.lang.String s = input.readStringRequireUtf8();

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

            mobile_ = s;
            break;
          }
          case 48: {

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

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

            createTime_ = input.readInt64();
            break;
          }
          case 72: {

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

            statusStr_ = s;
            break;
          }
          case 88: {

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

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

            pharmacyAddress_ = s;
            break;
          }
          case 112: {

            invoiceRequired_ = input.readBool();
            break;
          }
          case 120: {

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

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

            doctorName_ = s;
            break;
          }
          case 144: {

            paymentTime_ = input.readInt64();
            break;
          }
          case 152: {

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

            showInt_ = input.readInt32();
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
        medConList_ = java.util.Collections.unmodifiableList(medConList_);
      }
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.ywt.gapi.drug.DrugOuterClass.internal_static_com_ywt_gapi_drug_GetMedConOrderInfoResponse_descriptor;
  }

  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.ywt.gapi.drug.DrugOuterClass.internal_static_com_ywt_gapi_drug_GetMedConOrderInfoResponse_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.ywt.gapi.drug.GetMedConOrderInfoResponse.class, com.ywt.gapi.drug.GetMedConOrderInfoResponse.Builder.class);
  }

  public interface MedConsOrBuilder extends
      // @@protoc_insertion_point(interface_extends:com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>int32 id = 1;</code>
     */
    int getId();

    /**
     * <code>string code = 2;</code>
     */
    java.lang.String getCode();
    /**
     * <code>string code = 2;</code>
     */
    com.google.protobuf.ByteString
        getCodeBytes();

    /**
     * <code>string medConName = 3;</code>
     */
    java.lang.String getMedConName();
    /**
     * <code>string medConName = 3;</code>
     */
    com.google.protobuf.ByteString
        getMedConNameBytes();

    /**
     * <code>string medConSpec = 4;</code>
     */
    java.lang.String getMedConSpec();
    /**
     * <code>string medConSpec = 4;</code>
     */
    com.google.protobuf.ByteString
        getMedConSpecBytes();

    /**
     * <code>string producer = 5;</code>
     */
    java.lang.String getProducer();
    /**
     * <code>string producer = 5;</code>
     */
    com.google.protobuf.ByteString
        getProducerBytes();

    /**
     * <code>int32 price = 6;</code>
     */
    int getPrice();

    /**
     * <code>int32 totalPrice = 7;</code>
     */
    int getTotalPrice();

    /**
     * <code>string picUrl = 8;</code>
     */
    java.lang.String getPicUrl();
    /**
     * <code>string picUrl = 8;</code>
     */
    com.google.protobuf.ByteString
        getPicUrlBytes();

    /**
     * <code>int32 quantity = 9;</code>
     */
    int getQuantity();
  }
  /**
   * Protobuf type {@code com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons}
   */
  public  static final class MedCons extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons)
      MedConsOrBuilder {
    // Use MedCons.newBuilder() to construct.
    private MedCons(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private MedCons() {
      id_ = 0;
      code_ = "";
      medConName_ = "";
      medConSpec_ = "";
      producer_ = "";
      price_ = 0;
      totalPrice_ = 0;
      picUrl_ = "";
      quantity_ = 0;
    }

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

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

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

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

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

              producer_ = s;
              break;
            }
            case 48: {

              price_ = input.readInt32();
              break;
            }
            case 56: {

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

              picUrl_ = s;
              break;
            }
            case 72: {

              quantity_ = input.readInt32();
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.ywt.gapi.drug.DrugOuterClass.internal_static_com_ywt_gapi_drug_GetMedConOrderInfoResponse_MedCons_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.ywt.gapi.drug.DrugOuterClass.internal_static_com_ywt_gapi_drug_GetMedConOrderInfoResponse_MedCons_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons.class, com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons.Builder.class);
    }

    public static final int ID_FIELD_NUMBER = 1;
    private int id_;
    /**
     * <code>int32 id = 1;</code>
     */
    public int getId() {
      return id_;
    }

    public static final int CODE_FIELD_NUMBER = 2;
    private volatile java.lang.Object code_;
    /**
     * <code>string code = 2;</code>
     */
    public java.lang.String getCode() {
      java.lang.Object ref = code_;
      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();
        code_ = s;
        return s;
      }
    }
    /**
     * <code>string code = 2;</code>
     */
    public com.google.protobuf.ByteString
        getCodeBytes() {
      java.lang.Object ref = code_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        code_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int MEDCONNAME_FIELD_NUMBER = 3;
    private volatile java.lang.Object medConName_;
    /**
     * <code>string medConName = 3;</code>
     */
    public java.lang.String getMedConName() {
      java.lang.Object ref = medConName_;
      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();
        medConName_ = s;
        return s;
      }
    }
    /**
     * <code>string medConName = 3;</code>
     */
    public com.google.protobuf.ByteString
        getMedConNameBytes() {
      java.lang.Object ref = medConName_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        medConName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int MEDCONSPEC_FIELD_NUMBER = 4;
    private volatile java.lang.Object medConSpec_;
    /**
     * <code>string medConSpec = 4;</code>
     */
    public java.lang.String getMedConSpec() {
      java.lang.Object ref = medConSpec_;
      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();
        medConSpec_ = s;
        return s;
      }
    }
    /**
     * <code>string medConSpec = 4;</code>
     */
    public com.google.protobuf.ByteString
        getMedConSpecBytes() {
      java.lang.Object ref = medConSpec_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        medConSpec_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

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

    public static final int PRICE_FIELD_NUMBER = 6;
    private int price_;
    /**
     * <code>int32 price = 6;</code>
     */
    public int getPrice() {
      return price_;
    }

    public static final int TOTALPRICE_FIELD_NUMBER = 7;
    private int totalPrice_;
    /**
     * <code>int32 totalPrice = 7;</code>
     */
    public int getTotalPrice() {
      return totalPrice_;
    }

    public static final int PICURL_FIELD_NUMBER = 8;
    private volatile java.lang.Object picUrl_;
    /**
     * <code>string picUrl = 8;</code>
     */
    public java.lang.String getPicUrl() {
      java.lang.Object ref = picUrl_;
      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();
        picUrl_ = s;
        return s;
      }
    }
    /**
     * <code>string picUrl = 8;</code>
     */
    public com.google.protobuf.ByteString
        getPicUrlBytes() {
      java.lang.Object ref = picUrl_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        picUrl_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int QUANTITY_FIELD_NUMBER = 9;
    private int quantity_;
    /**
     * <code>int32 quantity = 9;</code>
     */
    public int getQuantity() {
      return quantity_;
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (id_ != 0) {
        output.writeInt32(1, id_);
      }
      if (!getCodeBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, code_);
      }
      if (!getMedConNameBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, medConName_);
      }
      if (!getMedConSpecBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 4, medConSpec_);
      }
      if (!getProducerBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 5, producer_);
      }
      if (price_ != 0) {
        output.writeInt32(6, price_);
      }
      if (totalPrice_ != 0) {
        output.writeInt32(7, totalPrice_);
      }
      if (!getPicUrlBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 8, picUrl_);
      }
      if (quantity_ != 0) {
        output.writeInt32(9, quantity_);
      }
    }

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

      size = 0;
      if (id_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(1, id_);
      }
      if (!getCodeBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, code_);
      }
      if (!getMedConNameBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, medConName_);
      }
      if (!getMedConSpecBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, medConSpec_);
      }
      if (!getProducerBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, producer_);
      }
      if (price_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(6, price_);
      }
      if (totalPrice_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(7, totalPrice_);
      }
      if (!getPicUrlBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, picUrl_);
      }
      if (quantity_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(9, quantity_);
      }
      memoizedSize = size;
      return size;
    }

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

      boolean result = true;
      result = result && (getId()
          == other.getId());
      result = result && getCode()
          .equals(other.getCode());
      result = result && getMedConName()
          .equals(other.getMedConName());
      result = result && getMedConSpec()
          .equals(other.getMedConSpec());
      result = result && getProducer()
          .equals(other.getProducer());
      result = result && (getPrice()
          == other.getPrice());
      result = result && (getTotalPrice()
          == other.getTotalPrice());
      result = result && getPicUrl()
          .equals(other.getPicUrl());
      result = result && (getQuantity()
          == other.getQuantity());
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + ID_FIELD_NUMBER;
      hash = (53 * hash) + getId();
      hash = (37 * hash) + CODE_FIELD_NUMBER;
      hash = (53 * hash) + getCode().hashCode();
      hash = (37 * hash) + MEDCONNAME_FIELD_NUMBER;
      hash = (53 * hash) + getMedConName().hashCode();
      hash = (37 * hash) + MEDCONSPEC_FIELD_NUMBER;
      hash = (53 * hash) + getMedConSpec().hashCode();
      hash = (37 * hash) + PRODUCER_FIELD_NUMBER;
      hash = (53 * hash) + getProducer().hashCode();
      hash = (37 * hash) + PRICE_FIELD_NUMBER;
      hash = (53 * hash) + getPrice();
      hash = (37 * hash) + TOTALPRICE_FIELD_NUMBER;
      hash = (53 * hash) + getTotalPrice();
      hash = (37 * hash) + PICURL_FIELD_NUMBER;
      hash = (53 * hash) + getPicUrl().hashCode();
      hash = (37 * hash) + QUANTITY_FIELD_NUMBER;
      hash = (53 * hash) + getQuantity();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

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

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.ywt.gapi.drug.DrugOuterClass.internal_static_com_ywt_gapi_drug_GetMedConOrderInfoResponse_MedCons_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons.class, com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons.Builder.class);
      }

      // Construct using com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

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

        code_ = "";

        medConName_ = "";

        medConSpec_ = "";

        producer_ = "";

        price_ = 0;

        totalPrice_ = 0;

        picUrl_ = "";

        quantity_ = 0;

        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.ywt.gapi.drug.DrugOuterClass.internal_static_com_ywt_gapi_drug_GetMedConOrderInfoResponse_MedCons_descriptor;
      }

      public com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons getDefaultInstanceForType() {
        return com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons.getDefaultInstance();
      }

      public com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons build() {
        com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons buildPartial() {
        com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons result = new com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons(this);
        result.id_ = id_;
        result.code_ = code_;
        result.medConName_ = medConName_;
        result.medConSpec_ = medConSpec_;
        result.producer_ = producer_;
        result.price_ = price_;
        result.totalPrice_ = totalPrice_;
        result.picUrl_ = picUrl_;
        result.quantity_ = quantity_;
        onBuilt();
        return result;
      }

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

      public Builder mergeFrom(com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons other) {
        if (other == com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons.getDefaultInstance()) return this;
        if (other.getId() != 0) {
          setId(other.getId());
        }
        if (!other.getCode().isEmpty()) {
          code_ = other.code_;
          onChanged();
        }
        if (!other.getMedConName().isEmpty()) {
          medConName_ = other.medConName_;
          onChanged();
        }
        if (!other.getMedConSpec().isEmpty()) {
          medConSpec_ = other.medConSpec_;
          onChanged();
        }
        if (!other.getProducer().isEmpty()) {
          producer_ = other.producer_;
          onChanged();
        }
        if (other.getPrice() != 0) {
          setPrice(other.getPrice());
        }
        if (other.getTotalPrice() != 0) {
          setTotalPrice(other.getTotalPrice());
        }
        if (!other.getPicUrl().isEmpty()) {
          picUrl_ = other.picUrl_;
          onChanged();
        }
        if (other.getQuantity() != 0) {
          setQuantity(other.getQuantity());
        }
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

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

      private int id_ ;
      /**
       * <code>int32 id = 1;</code>
       */
      public int getId() {
        return id_;
      }
      /**
       * <code>int32 id = 1;</code>
       */
      public Builder setId(int value) {
        
        id_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int32 id = 1;</code>
       */
      public Builder clearId() {
        
        id_ = 0;
        onChanged();
        return this;
      }

      private java.lang.Object code_ = "";
      /**
       * <code>string code = 2;</code>
       */
      public java.lang.String getCode() {
        java.lang.Object ref = code_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          code_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string code = 2;</code>
       */
      public com.google.protobuf.ByteString
          getCodeBytes() {
        java.lang.Object ref = code_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          code_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string code = 2;</code>
       */
      public Builder setCode(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        code_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string code = 2;</code>
       */
      public Builder clearCode() {
        
        code_ = getDefaultInstance().getCode();
        onChanged();
        return this;
      }
      /**
       * <code>string code = 2;</code>
       */
      public Builder setCodeBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        code_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object medConName_ = "";
      /**
       * <code>string medConName = 3;</code>
       */
      public java.lang.String getMedConName() {
        java.lang.Object ref = medConName_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          medConName_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string medConName = 3;</code>
       */
      public com.google.protobuf.ByteString
          getMedConNameBytes() {
        java.lang.Object ref = medConName_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          medConName_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string medConName = 3;</code>
       */
      public Builder setMedConName(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        medConName_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string medConName = 3;</code>
       */
      public Builder clearMedConName() {
        
        medConName_ = getDefaultInstance().getMedConName();
        onChanged();
        return this;
      }
      /**
       * <code>string medConName = 3;</code>
       */
      public Builder setMedConNameBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        medConName_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object medConSpec_ = "";
      /**
       * <code>string medConSpec = 4;</code>
       */
      public java.lang.String getMedConSpec() {
        java.lang.Object ref = medConSpec_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          medConSpec_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string medConSpec = 4;</code>
       */
      public com.google.protobuf.ByteString
          getMedConSpecBytes() {
        java.lang.Object ref = medConSpec_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          medConSpec_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string medConSpec = 4;</code>
       */
      public Builder setMedConSpec(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        medConSpec_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string medConSpec = 4;</code>
       */
      public Builder clearMedConSpec() {
        
        medConSpec_ = getDefaultInstance().getMedConSpec();
        onChanged();
        return this;
      }
      /**
       * <code>string medConSpec = 4;</code>
       */
      public Builder setMedConSpecBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        medConSpec_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object producer_ = "";
      /**
       * <code>string producer = 5;</code>
       */
      public java.lang.String getProducer() {
        java.lang.Object ref = producer_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          producer_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string producer = 5;</code>
       */
      public com.google.protobuf.ByteString
          getProducerBytes() {
        java.lang.Object ref = producer_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          producer_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string producer = 5;</code>
       */
      public Builder setProducer(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        producer_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string producer = 5;</code>
       */
      public Builder clearProducer() {
        
        producer_ = getDefaultInstance().getProducer();
        onChanged();
        return this;
      }
      /**
       * <code>string producer = 5;</code>
       */
      public Builder setProducerBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        producer_ = value;
        onChanged();
        return this;
      }

      private int price_ ;
      /**
       * <code>int32 price = 6;</code>
       */
      public int getPrice() {
        return price_;
      }
      /**
       * <code>int32 price = 6;</code>
       */
      public Builder setPrice(int value) {
        
        price_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int32 price = 6;</code>
       */
      public Builder clearPrice() {
        
        price_ = 0;
        onChanged();
        return this;
      }

      private int totalPrice_ ;
      /**
       * <code>int32 totalPrice = 7;</code>
       */
      public int getTotalPrice() {
        return totalPrice_;
      }
      /**
       * <code>int32 totalPrice = 7;</code>
       */
      public Builder setTotalPrice(int value) {
        
        totalPrice_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int32 totalPrice = 7;</code>
       */
      public Builder clearTotalPrice() {
        
        totalPrice_ = 0;
        onChanged();
        return this;
      }

      private java.lang.Object picUrl_ = "";
      /**
       * <code>string picUrl = 8;</code>
       */
      public java.lang.String getPicUrl() {
        java.lang.Object ref = picUrl_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          picUrl_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string picUrl = 8;</code>
       */
      public com.google.protobuf.ByteString
          getPicUrlBytes() {
        java.lang.Object ref = picUrl_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          picUrl_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string picUrl = 8;</code>
       */
      public Builder setPicUrl(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        picUrl_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string picUrl = 8;</code>
       */
      public Builder clearPicUrl() {
        
        picUrl_ = getDefaultInstance().getPicUrl();
        onChanged();
        return this;
      }
      /**
       * <code>string picUrl = 8;</code>
       */
      public Builder setPicUrlBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        picUrl_ = value;
        onChanged();
        return this;
      }

      private int quantity_ ;
      /**
       * <code>int32 quantity = 9;</code>
       */
      public int getQuantity() {
        return quantity_;
      }
      /**
       * <code>int32 quantity = 9;</code>
       */
      public Builder setQuantity(int value) {
        
        quantity_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int32 quantity = 9;</code>
       */
      public Builder clearQuantity() {
        
        quantity_ = 0;
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }

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


      // @@protoc_insertion_point(builder_scope:com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons)
    }

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

    public static com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private int bitField0_;
  public static final int CODE_FIELD_NUMBER = 1;
  private int code_;
  /**
   * <code>int32 code = 1;</code>
   */
  public int getCode() {
    return code_;
  }

  public static final int INFO_FIELD_NUMBER = 2;
  private volatile java.lang.Object info_;
  /**
   * <code>string info = 2;</code>
   */
  public java.lang.String getInfo() {
    java.lang.Object ref = info_;
    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();
      info_ = s;
      return s;
    }
  }
  /**
   * <code>string info = 2;</code>
   */
  public com.google.protobuf.ByteString
      getInfoBytes() {
    java.lang.Object ref = info_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      info_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int MEDCONLIST_FIELD_NUMBER = 3;
  private java.util.List<com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons> medConList_;
  /**
   * <code>repeated .com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons medConList = 3;</code>
   */
  public java.util.List<com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons> getMedConListList() {
    return medConList_;
  }
  /**
   * <code>repeated .com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons medConList = 3;</code>
   */
  public java.util.List<? extends com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedConsOrBuilder> 
      getMedConListOrBuilderList() {
    return medConList_;
  }
  /**
   * <code>repeated .com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons medConList = 3;</code>
   */
  public int getMedConListCount() {
    return medConList_.size();
  }
  /**
   * <code>repeated .com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons medConList = 3;</code>
   */
  public com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons getMedConList(int index) {
    return medConList_.get(index);
  }
  /**
   * <code>repeated .com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons medConList = 3;</code>
   */
  public com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedConsOrBuilder getMedConListOrBuilder(
      int index) {
    return medConList_.get(index);
  }

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

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

  public static final int TOTALPRICE_FIELD_NUMBER = 6;
  private int totalPrice_;
  /**
   * <code>int32 totalPrice = 6;</code>
   */
  public int getTotalPrice() {
    return totalPrice_;
  }

  public static final int STATUS_FIELD_NUMBER = 7;
  private int status_;
  /**
   * <code>int32 status = 7;</code>
   */
  public int getStatus() {
    return status_;
  }

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

  public static final int CREATETYPE_FIELD_NUMBER = 9;
  private int createType_;
  /**
   * <code>int32 createType = 9;</code>
   */
  public int getCreateType() {
    return createType_;
  }

  public static final int STATUSSTR_FIELD_NUMBER = 10;
  private volatile java.lang.Object statusStr_;
  /**
   * <code>string statusStr = 10;</code>
   */
  public java.lang.String getStatusStr() {
    java.lang.Object ref = statusStr_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      statusStr_ = s;
      return s;
    }
  }
  /**
   * <code>string statusStr = 10;</code>
   */
  public com.google.protobuf.ByteString
      getStatusStrBytes() {
    java.lang.Object ref = statusStr_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      statusStr_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PHARMACYID_FIELD_NUMBER = 11;
  private int pharmacyId_;
  /**
   * <code>int32 pharmacyId = 11;</code>
   */
  public int getPharmacyId() {
    return pharmacyId_;
  }

  public static final int PHARMACYNAME_FIELD_NUMBER = 12;
  private volatile java.lang.Object pharmacyName_;
  /**
   * <code>string pharmacyName = 12;</code>
   */
  public java.lang.String getPharmacyName() {
    java.lang.Object ref = pharmacyName_;
    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();
      pharmacyName_ = s;
      return s;
    }
  }
  /**
   * <code>string pharmacyName = 12;</code>
   */
  public com.google.protobuf.ByteString
      getPharmacyNameBytes() {
    java.lang.Object ref = pharmacyName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      pharmacyName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PHARMACYADDRESS_FIELD_NUMBER = 13;
  private volatile java.lang.Object pharmacyAddress_;
  /**
   * <code>string pharmacyAddress = 13;</code>
   */
  public java.lang.String getPharmacyAddress() {
    java.lang.Object ref = pharmacyAddress_;
    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();
      pharmacyAddress_ = s;
      return s;
    }
  }
  /**
   * <code>string pharmacyAddress = 13;</code>
   */
  public com.google.protobuf.ByteString
      getPharmacyAddressBytes() {
    java.lang.Object ref = pharmacyAddress_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      pharmacyAddress_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int INVOICEREQUIRED_FIELD_NUMBER = 14;
  private boolean invoiceRequired_;
  /**
   * <code>bool invoiceRequired = 14;</code>
   */
  public boolean getInvoiceRequired() {
    return invoiceRequired_;
  }

  public static final int ORDERID_FIELD_NUMBER = 15;
  private int orderId_;
  /**
   * <code>int32 orderId = 15;</code>
   */
  public int getOrderId() {
    return orderId_;
  }

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

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

  public static final int PAYMENTTIME_FIELD_NUMBER = 18;
  private long paymentTime_;
  /**
   * <code>int64 paymentTime = 18;</code>
   */
  public long getPaymentTime() {
    return paymentTime_;
  }

  public static final int HASINVOICE_FIELD_NUMBER = 19;
  private int hasInvoice_;
  /**
   * <pre>
   * 是否已开发票，1-是，0-否
   * </pre>
   *
   * <code>int32 hasInvoice = 19;</code>
   */
  public int getHasInvoice() {
    return hasInvoice_;
  }

  public static final int SHOWINT_FIELD_NUMBER = 20;
  private int showInt_;
  /**
   * <code>int32 showInt = 20;</code>
   */
  public int getShowInt() {
    return showInt_;
  }

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

    memoizedIsInitialized = 1;
    return true;
  }

  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (code_ != 0) {
      output.writeInt32(1, code_);
    }
    if (!getInfoBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, info_);
    }
    for (int i = 0; i < medConList_.size(); i++) {
      output.writeMessage(3, medConList_.get(i));
    }
    if (!getPatientNameBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, patientName_);
    }
    if (!getMobileBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, mobile_);
    }
    if (totalPrice_ != 0) {
      output.writeInt32(6, totalPrice_);
    }
    if (status_ != 0) {
      output.writeInt32(7, status_);
    }
    if (createTime_ != 0L) {
      output.writeInt64(8, createTime_);
    }
    if (createType_ != 0) {
      output.writeInt32(9, createType_);
    }
    if (!getStatusStrBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, statusStr_);
    }
    if (pharmacyId_ != 0) {
      output.writeInt32(11, pharmacyId_);
    }
    if (!getPharmacyNameBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 12, pharmacyName_);
    }
    if (!getPharmacyAddressBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 13, pharmacyAddress_);
    }
    if (invoiceRequired_ != false) {
      output.writeBool(14, invoiceRequired_);
    }
    if (orderId_ != 0) {
      output.writeInt32(15, orderId_);
    }
    if (!getDeptNameBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 16, deptName_);
    }
    if (!getDoctorNameBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 17, doctorName_);
    }
    if (paymentTime_ != 0L) {
      output.writeInt64(18, paymentTime_);
    }
    if (hasInvoice_ != 0) {
      output.writeInt32(19, hasInvoice_);
    }
    if (showInt_ != 0) {
      output.writeInt32(20, showInt_);
    }
  }

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

    size = 0;
    if (code_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(1, code_);
    }
    if (!getInfoBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, info_);
    }
    for (int i = 0; i < medConList_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(3, medConList_.get(i));
    }
    if (!getPatientNameBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, patientName_);
    }
    if (!getMobileBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, mobile_);
    }
    if (totalPrice_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(6, totalPrice_);
    }
    if (status_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(7, status_);
    }
    if (createTime_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt64Size(8, createTime_);
    }
    if (createType_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(9, createType_);
    }
    if (!getStatusStrBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, statusStr_);
    }
    if (pharmacyId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(11, pharmacyId_);
    }
    if (!getPharmacyNameBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, pharmacyName_);
    }
    if (!getPharmacyAddressBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, pharmacyAddress_);
    }
    if (invoiceRequired_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(14, invoiceRequired_);
    }
    if (orderId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(15, orderId_);
    }
    if (!getDeptNameBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, deptName_);
    }
    if (!getDoctorNameBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, doctorName_);
    }
    if (paymentTime_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt64Size(18, paymentTime_);
    }
    if (hasInvoice_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(19, hasInvoice_);
    }
    if (showInt_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(20, showInt_);
    }
    memoizedSize = size;
    return size;
  }

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

    boolean result = true;
    result = result && (getCode()
        == other.getCode());
    result = result && getInfo()
        .equals(other.getInfo());
    result = result && getMedConListList()
        .equals(other.getMedConListList());
    result = result && getPatientName()
        .equals(other.getPatientName());
    result = result && getMobile()
        .equals(other.getMobile());
    result = result && (getTotalPrice()
        == other.getTotalPrice());
    result = result && (getStatus()
        == other.getStatus());
    result = result && (getCreateTime()
        == other.getCreateTime());
    result = result && (getCreateType()
        == other.getCreateType());
    result = result && getStatusStr()
        .equals(other.getStatusStr());
    result = result && (getPharmacyId()
        == other.getPharmacyId());
    result = result && getPharmacyName()
        .equals(other.getPharmacyName());
    result = result && getPharmacyAddress()
        .equals(other.getPharmacyAddress());
    result = result && (getInvoiceRequired()
        == other.getInvoiceRequired());
    result = result && (getOrderId()
        == other.getOrderId());
    result = result && getDeptName()
        .equals(other.getDeptName());
    result = result && getDoctorName()
        .equals(other.getDoctorName());
    result = result && (getPaymentTime()
        == other.getPaymentTime());
    result = result && (getHasInvoice()
        == other.getHasInvoice());
    result = result && (getShowInt()
        == other.getShowInt());
    return result;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + CODE_FIELD_NUMBER;
    hash = (53 * hash) + getCode();
    hash = (37 * hash) + INFO_FIELD_NUMBER;
    hash = (53 * hash) + getInfo().hashCode();
    if (getMedConListCount() > 0) {
      hash = (37 * hash) + MEDCONLIST_FIELD_NUMBER;
      hash = (53 * hash) + getMedConListList().hashCode();
    }
    hash = (37 * hash) + PATIENTNAME_FIELD_NUMBER;
    hash = (53 * hash) + getPatientName().hashCode();
    hash = (37 * hash) + MOBILE_FIELD_NUMBER;
    hash = (53 * hash) + getMobile().hashCode();
    hash = (37 * hash) + TOTALPRICE_FIELD_NUMBER;
    hash = (53 * hash) + getTotalPrice();
    hash = (37 * hash) + STATUS_FIELD_NUMBER;
    hash = (53 * hash) + getStatus();
    hash = (37 * hash) + CREATETIME_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getCreateTime());
    hash = (37 * hash) + CREATETYPE_FIELD_NUMBER;
    hash = (53 * hash) + getCreateType();
    hash = (37 * hash) + STATUSSTR_FIELD_NUMBER;
    hash = (53 * hash) + getStatusStr().hashCode();
    hash = (37 * hash) + PHARMACYID_FIELD_NUMBER;
    hash = (53 * hash) + getPharmacyId();
    hash = (37 * hash) + PHARMACYNAME_FIELD_NUMBER;
    hash = (53 * hash) + getPharmacyName().hashCode();
    hash = (37 * hash) + PHARMACYADDRESS_FIELD_NUMBER;
    hash = (53 * hash) + getPharmacyAddress().hashCode();
    hash = (37 * hash) + INVOICEREQUIRED_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getInvoiceRequired());
    hash = (37 * hash) + ORDERID_FIELD_NUMBER;
    hash = (53 * hash) + getOrderId();
    hash = (37 * hash) + DEPTNAME_FIELD_NUMBER;
    hash = (53 * hash) + getDeptName().hashCode();
    hash = (37 * hash) + DOCTORNAME_FIELD_NUMBER;
    hash = (53 * hash) + getDoctorName().hashCode();
    hash = (37 * hash) + PAYMENTTIME_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getPaymentTime());
    hash = (37 * hash) + HASINVOICE_FIELD_NUMBER;
    hash = (53 * hash) + getHasInvoice();
    hash = (37 * hash) + SHOWINT_FIELD_NUMBER;
    hash = (53 * hash) + getShowInt();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

  @java.lang.Override
  protected Builder newBuilderForType(
      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * <pre>
   *获取耗材订单详情响应消息
   * </pre>
   *
   * Protobuf type {@code com.ywt.gapi.drug.GetMedConOrderInfoResponse}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:com.ywt.gapi.drug.GetMedConOrderInfoResponse)
      com.ywt.gapi.drug.GetMedConOrderInfoResponseOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.ywt.gapi.drug.DrugOuterClass.internal_static_com_ywt_gapi_drug_GetMedConOrderInfoResponse_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.ywt.gapi.drug.DrugOuterClass.internal_static_com_ywt_gapi_drug_GetMedConOrderInfoResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.ywt.gapi.drug.GetMedConOrderInfoResponse.class, com.ywt.gapi.drug.GetMedConOrderInfoResponse.Builder.class);
    }

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

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

      info_ = "";

      if (medConListBuilder_ == null) {
        medConList_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000004);
      } else {
        medConListBuilder_.clear();
      }
      patientName_ = "";

      mobile_ = "";

      totalPrice_ = 0;

      status_ = 0;

      createTime_ = 0L;

      createType_ = 0;

      statusStr_ = "";

      pharmacyId_ = 0;

      pharmacyName_ = "";

      pharmacyAddress_ = "";

      invoiceRequired_ = false;

      orderId_ = 0;

      deptName_ = "";

      doctorName_ = "";

      paymentTime_ = 0L;

      hasInvoice_ = 0;

      showInt_ = 0;

      return this;
    }

    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.ywt.gapi.drug.DrugOuterClass.internal_static_com_ywt_gapi_drug_GetMedConOrderInfoResponse_descriptor;
    }

    public com.ywt.gapi.drug.GetMedConOrderInfoResponse getDefaultInstanceForType() {
      return com.ywt.gapi.drug.GetMedConOrderInfoResponse.getDefaultInstance();
    }

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

    public com.ywt.gapi.drug.GetMedConOrderInfoResponse buildPartial() {
      com.ywt.gapi.drug.GetMedConOrderInfoResponse result = new com.ywt.gapi.drug.GetMedConOrderInfoResponse(this);
      int from_bitField0_ = bitField0_;
      int to_bitField0_ = 0;
      result.code_ = code_;
      result.info_ = info_;
      if (medConListBuilder_ == null) {
        if (((bitField0_ & 0x00000004) == 0x00000004)) {
          medConList_ = java.util.Collections.unmodifiableList(medConList_);
          bitField0_ = (bitField0_ & ~0x00000004);
        }
        result.medConList_ = medConList_;
      } else {
        result.medConList_ = medConListBuilder_.build();
      }
      result.patientName_ = patientName_;
      result.mobile_ = mobile_;
      result.totalPrice_ = totalPrice_;
      result.status_ = status_;
      result.createTime_ = createTime_;
      result.createType_ = createType_;
      result.statusStr_ = statusStr_;
      result.pharmacyId_ = pharmacyId_;
      result.pharmacyName_ = pharmacyName_;
      result.pharmacyAddress_ = pharmacyAddress_;
      result.invoiceRequired_ = invoiceRequired_;
      result.orderId_ = orderId_;
      result.deptName_ = deptName_;
      result.doctorName_ = doctorName_;
      result.paymentTime_ = paymentTime_;
      result.hasInvoice_ = hasInvoice_;
      result.showInt_ = showInt_;
      result.bitField0_ = to_bitField0_;
      onBuilt();
      return result;
    }

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

    public Builder mergeFrom(com.ywt.gapi.drug.GetMedConOrderInfoResponse other) {
      if (other == com.ywt.gapi.drug.GetMedConOrderInfoResponse.getDefaultInstance()) return this;
      if (other.getCode() != 0) {
        setCode(other.getCode());
      }
      if (!other.getInfo().isEmpty()) {
        info_ = other.info_;
        onChanged();
      }
      if (medConListBuilder_ == null) {
        if (!other.medConList_.isEmpty()) {
          if (medConList_.isEmpty()) {
            medConList_ = other.medConList_;
            bitField0_ = (bitField0_ & ~0x00000004);
          } else {
            ensureMedConListIsMutable();
            medConList_.addAll(other.medConList_);
          }
          onChanged();
        }
      } else {
        if (!other.medConList_.isEmpty()) {
          if (medConListBuilder_.isEmpty()) {
            medConListBuilder_.dispose();
            medConListBuilder_ = null;
            medConList_ = other.medConList_;
            bitField0_ = (bitField0_ & ~0x00000004);
            medConListBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getMedConListFieldBuilder() : null;
          } else {
            medConListBuilder_.addAllMessages(other.medConList_);
          }
        }
      }
      if (!other.getPatientName().isEmpty()) {
        patientName_ = other.patientName_;
        onChanged();
      }
      if (!other.getMobile().isEmpty()) {
        mobile_ = other.mobile_;
        onChanged();
      }
      if (other.getTotalPrice() != 0) {
        setTotalPrice(other.getTotalPrice());
      }
      if (other.getStatus() != 0) {
        setStatus(other.getStatus());
      }
      if (other.getCreateTime() != 0L) {
        setCreateTime(other.getCreateTime());
      }
      if (other.getCreateType() != 0) {
        setCreateType(other.getCreateType());
      }
      if (!other.getStatusStr().isEmpty()) {
        statusStr_ = other.statusStr_;
        onChanged();
      }
      if (other.getPharmacyId() != 0) {
        setPharmacyId(other.getPharmacyId());
      }
      if (!other.getPharmacyName().isEmpty()) {
        pharmacyName_ = other.pharmacyName_;
        onChanged();
      }
      if (!other.getPharmacyAddress().isEmpty()) {
        pharmacyAddress_ = other.pharmacyAddress_;
        onChanged();
      }
      if (other.getInvoiceRequired() != false) {
        setInvoiceRequired(other.getInvoiceRequired());
      }
      if (other.getOrderId() != 0) {
        setOrderId(other.getOrderId());
      }
      if (!other.getDeptName().isEmpty()) {
        deptName_ = other.deptName_;
        onChanged();
      }
      if (!other.getDoctorName().isEmpty()) {
        doctorName_ = other.doctorName_;
        onChanged();
      }
      if (other.getPaymentTime() != 0L) {
        setPaymentTime(other.getPaymentTime());
      }
      if (other.getHasInvoice() != 0) {
        setHasInvoice(other.getHasInvoice());
      }
      if (other.getShowInt() != 0) {
        setShowInt(other.getShowInt());
      }
      onChanged();
      return this;
    }

    public final boolean isInitialized() {
      return true;
    }

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

    private int code_ ;
    /**
     * <code>int32 code = 1;</code>
     */
    public int getCode() {
      return code_;
    }
    /**
     * <code>int32 code = 1;</code>
     */
    public Builder setCode(int value) {
      
      code_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 code = 1;</code>
     */
    public Builder clearCode() {
      
      code_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object info_ = "";
    /**
     * <code>string info = 2;</code>
     */
    public java.lang.String getInfo() {
      java.lang.Object ref = info_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        info_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string info = 2;</code>
     */
    public com.google.protobuf.ByteString
        getInfoBytes() {
      java.lang.Object ref = info_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        info_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string info = 2;</code>
     */
    public Builder setInfo(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      info_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string info = 2;</code>
     */
    public Builder clearInfo() {
      
      info_ = getDefaultInstance().getInfo();
      onChanged();
      return this;
    }
    /**
     * <code>string info = 2;</code>
     */
    public Builder setInfoBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      info_ = value;
      onChanged();
      return this;
    }

    private java.util.List<com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons> medConList_ =
      java.util.Collections.emptyList();
    private void ensureMedConListIsMutable() {
      if (!((bitField0_ & 0x00000004) == 0x00000004)) {
        medConList_ = new java.util.ArrayList<com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons>(medConList_);
        bitField0_ |= 0x00000004;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons, com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons.Builder, com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedConsOrBuilder> medConListBuilder_;

    /**
     * <code>repeated .com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons medConList = 3;</code>
     */
    public java.util.List<com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons> getMedConListList() {
      if (medConListBuilder_ == null) {
        return java.util.Collections.unmodifiableList(medConList_);
      } else {
        return medConListBuilder_.getMessageList();
      }
    }
    /**
     * <code>repeated .com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons medConList = 3;</code>
     */
    public int getMedConListCount() {
      if (medConListBuilder_ == null) {
        return medConList_.size();
      } else {
        return medConListBuilder_.getCount();
      }
    }
    /**
     * <code>repeated .com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons medConList = 3;</code>
     */
    public com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons getMedConList(int index) {
      if (medConListBuilder_ == null) {
        return medConList_.get(index);
      } else {
        return medConListBuilder_.getMessage(index);
      }
    }
    /**
     * <code>repeated .com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons medConList = 3;</code>
     */
    public Builder setMedConList(
        int index, com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons value) {
      if (medConListBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureMedConListIsMutable();
        medConList_.set(index, value);
        onChanged();
      } else {
        medConListBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons medConList = 3;</code>
     */
    public Builder setMedConList(
        int index, com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons.Builder builderForValue) {
      if (medConListBuilder_ == null) {
        ensureMedConListIsMutable();
        medConList_.set(index, builderForValue.build());
        onChanged();
      } else {
        medConListBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons medConList = 3;</code>
     */
    public Builder addMedConList(com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons value) {
      if (medConListBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureMedConListIsMutable();
        medConList_.add(value);
        onChanged();
      } else {
        medConListBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons medConList = 3;</code>
     */
    public Builder addMedConList(
        int index, com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons value) {
      if (medConListBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureMedConListIsMutable();
        medConList_.add(index, value);
        onChanged();
      } else {
        medConListBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons medConList = 3;</code>
     */
    public Builder addMedConList(
        com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons.Builder builderForValue) {
      if (medConListBuilder_ == null) {
        ensureMedConListIsMutable();
        medConList_.add(builderForValue.build());
        onChanged();
      } else {
        medConListBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons medConList = 3;</code>
     */
    public Builder addMedConList(
        int index, com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons.Builder builderForValue) {
      if (medConListBuilder_ == null) {
        ensureMedConListIsMutable();
        medConList_.add(index, builderForValue.build());
        onChanged();
      } else {
        medConListBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons medConList = 3;</code>
     */
    public Builder addAllMedConList(
        java.lang.Iterable<? extends com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons> values) {
      if (medConListBuilder_ == null) {
        ensureMedConListIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, medConList_);
        onChanged();
      } else {
        medConListBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons medConList = 3;</code>
     */
    public Builder clearMedConList() {
      if (medConListBuilder_ == null) {
        medConList_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000004);
        onChanged();
      } else {
        medConListBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons medConList = 3;</code>
     */
    public Builder removeMedConList(int index) {
      if (medConListBuilder_ == null) {
        ensureMedConListIsMutable();
        medConList_.remove(index);
        onChanged();
      } else {
        medConListBuilder_.remove(index);
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons medConList = 3;</code>
     */
    public com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons.Builder getMedConListBuilder(
        int index) {
      return getMedConListFieldBuilder().getBuilder(index);
    }
    /**
     * <code>repeated .com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons medConList = 3;</code>
     */
    public com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedConsOrBuilder getMedConListOrBuilder(
        int index) {
      if (medConListBuilder_ == null) {
        return medConList_.get(index);  } else {
        return medConListBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * <code>repeated .com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons medConList = 3;</code>
     */
    public java.util.List<? extends com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedConsOrBuilder> 
         getMedConListOrBuilderList() {
      if (medConListBuilder_ != null) {
        return medConListBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(medConList_);
      }
    }
    /**
     * <code>repeated .com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons medConList = 3;</code>
     */
    public com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons.Builder addMedConListBuilder() {
      return getMedConListFieldBuilder().addBuilder(
          com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons.getDefaultInstance());
    }
    /**
     * <code>repeated .com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons medConList = 3;</code>
     */
    public com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons.Builder addMedConListBuilder(
        int index) {
      return getMedConListFieldBuilder().addBuilder(
          index, com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons.getDefaultInstance());
    }
    /**
     * <code>repeated .com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons medConList = 3;</code>
     */
    public java.util.List<com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons.Builder> 
         getMedConListBuilderList() {
      return getMedConListFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons, com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons.Builder, com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedConsOrBuilder> 
        getMedConListFieldBuilder() {
      if (medConListBuilder_ == null) {
        medConListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons, com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedCons.Builder, com.ywt.gapi.drug.GetMedConOrderInfoResponse.MedConsOrBuilder>(
                medConList_,
                ((bitField0_ & 0x00000004) == 0x00000004),
                getParentForChildren(),
                isClean());
        medConList_ = null;
      }
      return medConListBuilder_;
    }

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

    private java.lang.Object mobile_ = "";
    /**
     * <code>string mobile = 5;</code>
     */
    public java.lang.String getMobile() {
      java.lang.Object ref = mobile_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        mobile_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string mobile = 5;</code>
     */
    public com.google.protobuf.ByteString
        getMobileBytes() {
      java.lang.Object ref = mobile_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        mobile_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string mobile = 5;</code>
     */
    public Builder setMobile(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      mobile_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string mobile = 5;</code>
     */
    public Builder clearMobile() {
      
      mobile_ = getDefaultInstance().getMobile();
      onChanged();
      return this;
    }
    /**
     * <code>string mobile = 5;</code>
     */
    public Builder setMobileBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      mobile_ = value;
      onChanged();
      return this;
    }

    private int totalPrice_ ;
    /**
     * <code>int32 totalPrice = 6;</code>
     */
    public int getTotalPrice() {
      return totalPrice_;
    }
    /**
     * <code>int32 totalPrice = 6;</code>
     */
    public Builder setTotalPrice(int value) {
      
      totalPrice_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 totalPrice = 6;</code>
     */
    public Builder clearTotalPrice() {
      
      totalPrice_ = 0;
      onChanged();
      return this;
    }

    private int status_ ;
    /**
     * <code>int32 status = 7;</code>
     */
    public int getStatus() {
      return status_;
    }
    /**
     * <code>int32 status = 7;</code>
     */
    public Builder setStatus(int value) {
      
      status_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 status = 7;</code>
     */
    public Builder clearStatus() {
      
      status_ = 0;
      onChanged();
      return this;
    }

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

    private int createType_ ;
    /**
     * <code>int32 createType = 9;</code>
     */
    public int getCreateType() {
      return createType_;
    }
    /**
     * <code>int32 createType = 9;</code>
     */
    public Builder setCreateType(int value) {
      
      createType_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 createType = 9;</code>
     */
    public Builder clearCreateType() {
      
      createType_ = 0;
      onChanged();
      return this;
    }

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

    private int pharmacyId_ ;
    /**
     * <code>int32 pharmacyId = 11;</code>
     */
    public int getPharmacyId() {
      return pharmacyId_;
    }
    /**
     * <code>int32 pharmacyId = 11;</code>
     */
    public Builder setPharmacyId(int value) {
      
      pharmacyId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 pharmacyId = 11;</code>
     */
    public Builder clearPharmacyId() {
      
      pharmacyId_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object pharmacyName_ = "";
    /**
     * <code>string pharmacyName = 12;</code>
     */
    public java.lang.String getPharmacyName() {
      java.lang.Object ref = pharmacyName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        pharmacyName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string pharmacyName = 12;</code>
     */
    public com.google.protobuf.ByteString
        getPharmacyNameBytes() {
      java.lang.Object ref = pharmacyName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        pharmacyName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string pharmacyName = 12;</code>
     */
    public Builder setPharmacyName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      pharmacyName_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string pharmacyName = 12;</code>
     */
    public Builder clearPharmacyName() {
      
      pharmacyName_ = getDefaultInstance().getPharmacyName();
      onChanged();
      return this;
    }
    /**
     * <code>string pharmacyName = 12;</code>
     */
    public Builder setPharmacyNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      pharmacyName_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object pharmacyAddress_ = "";
    /**
     * <code>string pharmacyAddress = 13;</code>
     */
    public java.lang.String getPharmacyAddress() {
      java.lang.Object ref = pharmacyAddress_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        pharmacyAddress_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string pharmacyAddress = 13;</code>
     */
    public com.google.protobuf.ByteString
        getPharmacyAddressBytes() {
      java.lang.Object ref = pharmacyAddress_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        pharmacyAddress_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string pharmacyAddress = 13;</code>
     */
    public Builder setPharmacyAddress(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      pharmacyAddress_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string pharmacyAddress = 13;</code>
     */
    public Builder clearPharmacyAddress() {
      
      pharmacyAddress_ = getDefaultInstance().getPharmacyAddress();
      onChanged();
      return this;
    }
    /**
     * <code>string pharmacyAddress = 13;</code>
     */
    public Builder setPharmacyAddressBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      pharmacyAddress_ = value;
      onChanged();
      return this;
    }

    private boolean invoiceRequired_ ;
    /**
     * <code>bool invoiceRequired = 14;</code>
     */
    public boolean getInvoiceRequired() {
      return invoiceRequired_;
    }
    /**
     * <code>bool invoiceRequired = 14;</code>
     */
    public Builder setInvoiceRequired(boolean value) {
      
      invoiceRequired_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>bool invoiceRequired = 14;</code>
     */
    public Builder clearInvoiceRequired() {
      
      invoiceRequired_ = false;
      onChanged();
      return this;
    }

    private int orderId_ ;
    /**
     * <code>int32 orderId = 15;</code>
     */
    public int getOrderId() {
      return orderId_;
    }
    /**
     * <code>int32 orderId = 15;</code>
     */
    public Builder setOrderId(int value) {
      
      orderId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 orderId = 15;</code>
     */
    public Builder clearOrderId() {
      
      orderId_ = 0;
      onChanged();
      return this;
    }

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

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

    private long paymentTime_ ;
    /**
     * <code>int64 paymentTime = 18;</code>
     */
    public long getPaymentTime() {
      return paymentTime_;
    }
    /**
     * <code>int64 paymentTime = 18;</code>
     */
    public Builder setPaymentTime(long value) {
      
      paymentTime_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int64 paymentTime = 18;</code>
     */
    public Builder clearPaymentTime() {
      
      paymentTime_ = 0L;
      onChanged();
      return this;
    }

    private int hasInvoice_ ;
    /**
     * <pre>
     * 是否已开发票，1-是，0-否
     * </pre>
     *
     * <code>int32 hasInvoice = 19;</code>
     */
    public int getHasInvoice() {
      return hasInvoice_;
    }
    /**
     * <pre>
     * 是否已开发票，1-是，0-否
     * </pre>
     *
     * <code>int32 hasInvoice = 19;</code>
     */
    public Builder setHasInvoice(int value) {
      
      hasInvoice_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 是否已开发票，1-是，0-否
     * </pre>
     *
     * <code>int32 hasInvoice = 19;</code>
     */
    public Builder clearHasInvoice() {
      
      hasInvoice_ = 0;
      onChanged();
      return this;
    }

    private int showInt_ ;
    /**
     * <code>int32 showInt = 20;</code>
     */
    public int getShowInt() {
      return showInt_;
    }
    /**
     * <code>int32 showInt = 20;</code>
     */
    public Builder setShowInt(int value) {
      
      showInt_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 showInt = 20;</code>
     */
    public Builder clearShowInt() {
      
      showInt_ = 0;
      onChanged();
      return this;
    }
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return this;
    }

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


    // @@protoc_insertion_point(builder_scope:com.ywt.gapi.drug.GetMedConOrderInfoResponse)
  }

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

  public static com.ywt.gapi.drug.GetMedConOrderInfoResponse getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

  public com.ywt.gapi.drug.GetMedConOrderInfoResponse getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

