// 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.QueryMedConOrderListResponse}
 */
public  final class QueryMedConOrderListResponse extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.drug.QueryMedConOrderListResponse)
    QueryMedConOrderListResponseOrBuilder {
  // Use QueryMedConOrderListResponse.newBuilder() to construct.
  private QueryMedConOrderListResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private QueryMedConOrderListResponse() {
    code_ = 0;
    info_ = "";
    data_ = java.util.Collections.emptyList();
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
  }
  private QueryMedConOrderListResponse(
      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)) {
              data_ = new java.util.ArrayList<com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder>();
              mutable_bitField0_ |= 0x00000004;
            }
            data_.add(
                input.readMessage(com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder.parser(), extensionRegistry));
            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)) {
        data_ = java.util.Collections.unmodifiableList(data_);
      }
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.ywt.gapi.drug.DrugOuterClass.internal_static_com_ywt_gapi_drug_QueryMedConOrderListResponse_descriptor;
  }

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

  public interface MedConOrderDetailOrBuilder extends
      // @@protoc_insertion_point(interface_extends:com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <pre>
     * 材料名称
     * </pre>
     *
     * <code>string medConName = 1;</code>
     */
    java.lang.String getMedConName();
    /**
     * <pre>
     * 材料名称
     * </pre>
     *
     * <code>string medConName = 1;</code>
     */
    com.google.protobuf.ByteString
        getMedConNameBytes();

    /**
     * <pre>
     * 数量
     * </pre>
     *
     * <code>int32 quantity = 2;</code>
     */
    int getQuantity();

    /**
     * <pre>
     * 单价(单位: 元)
     * </pre>
     *
     * <code>string unitPrice = 3;</code>
     */
    java.lang.String getUnitPrice();
    /**
     * <pre>
     * 单价(单位: 元)
     * </pre>
     *
     * <code>string unitPrice = 3;</code>
     */
    com.google.protobuf.ByteString
        getUnitPriceBytes();
  }
  /**
   * Protobuf type {@code com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail}
   */
  public  static final class MedConOrderDetail extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail)
      MedConOrderDetailOrBuilder {
    // Use MedConOrderDetail.newBuilder() to construct.
    private MedConOrderDetail(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private MedConOrderDetail() {
      medConName_ = "";
      quantity_ = 0;
      unitPrice_ = "";
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
    }
    private MedConOrderDetail(
        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 10: {
              java.lang.String s = input.readStringRequireUtf8();

              medConName_ = s;
              break;
            }
            case 16: {

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

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

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

    public static final int MEDCONNAME_FIELD_NUMBER = 1;
    private volatile java.lang.Object medConName_;
    /**
     * <pre>
     * 材料名称
     * </pre>
     *
     * <code>string medConName = 1;</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;
      }
    }
    /**
     * <pre>
     * 材料名称
     * </pre>
     *
     * <code>string medConName = 1;</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 QUANTITY_FIELD_NUMBER = 2;
    private int quantity_;
    /**
     * <pre>
     * 数量
     * </pre>
     *
     * <code>int32 quantity = 2;</code>
     */
    public int getQuantity() {
      return quantity_;
    }

    public static final int UNITPRICE_FIELD_NUMBER = 3;
    private volatile java.lang.Object unitPrice_;
    /**
     * <pre>
     * 单价(单位: 元)
     * </pre>
     *
     * <code>string unitPrice = 3;</code>
     */
    public java.lang.String getUnitPrice() {
      java.lang.Object ref = unitPrice_;
      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();
        unitPrice_ = s;
        return s;
      }
    }
    /**
     * <pre>
     * 单价(单位: 元)
     * </pre>
     *
     * <code>string unitPrice = 3;</code>
     */
    public com.google.protobuf.ByteString
        getUnitPriceBytes() {
      java.lang.Object ref = unitPrice_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        unitPrice_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!getMedConNameBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, medConName_);
      }
      if (quantity_ != 0) {
        output.writeInt32(2, quantity_);
      }
      if (!getUnitPriceBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, unitPrice_);
      }
    }

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

      size = 0;
      if (!getMedConNameBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, medConName_);
      }
      if (quantity_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(2, quantity_);
      }
      if (!getUnitPriceBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, unitPrice_);
      }
      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.QueryMedConOrderListResponse.MedConOrderDetail)) {
        return super.equals(obj);
      }
      com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail other = (com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail) obj;

      boolean result = true;
      result = result && getMedConName()
          .equals(other.getMedConName());
      result = result && (getQuantity()
          == other.getQuantity());
      result = result && getUnitPrice()
          .equals(other.getUnitPrice());
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + MEDCONNAME_FIELD_NUMBER;
      hash = (53 * hash) + getMedConName().hashCode();
      hash = (37 * hash) + QUANTITY_FIELD_NUMBER;
      hash = (53 * hash) + getQuantity();
      hash = (37 * hash) + UNITPRICE_FIELD_NUMBER;
      hash = (53 * hash) + getUnitPrice().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

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

      // Construct using com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail.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();
        medConName_ = "";

        quantity_ = 0;

        unitPrice_ = "";

        return this;
      }

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

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

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

      public com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail buildPartial() {
        com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail result = new com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail(this);
        result.medConName_ = medConName_;
        result.quantity_ = quantity_;
        result.unitPrice_ = unitPrice_;
        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.QueryMedConOrderListResponse.MedConOrderDetail) {
          return mergeFrom((com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail other) {
        if (other == com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail.getDefaultInstance()) return this;
        if (!other.getMedConName().isEmpty()) {
          medConName_ = other.medConName_;
          onChanged();
        }
        if (other.getQuantity() != 0) {
          setQuantity(other.getQuantity());
        }
        if (!other.getUnitPrice().isEmpty()) {
          unitPrice_ = other.unitPrice_;
          onChanged();
        }
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

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

      private java.lang.Object medConName_ = "";
      /**
       * <pre>
       * 材料名称
       * </pre>
       *
       * <code>string medConName = 1;</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;
        }
      }
      /**
       * <pre>
       * 材料名称
       * </pre>
       *
       * <code>string medConName = 1;</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;
        }
      }
      /**
       * <pre>
       * 材料名称
       * </pre>
       *
       * <code>string medConName = 1;</code>
       */
      public Builder setMedConName(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        medConName_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * 材料名称
       * </pre>
       *
       * <code>string medConName = 1;</code>
       */
      public Builder clearMedConName() {
        
        medConName_ = getDefaultInstance().getMedConName();
        onChanged();
        return this;
      }
      /**
       * <pre>
       * 材料名称
       * </pre>
       *
       * <code>string medConName = 1;</code>
       */
      public Builder setMedConNameBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        medConName_ = value;
        onChanged();
        return this;
      }

      private int quantity_ ;
      /**
       * <pre>
       * 数量
       * </pre>
       *
       * <code>int32 quantity = 2;</code>
       */
      public int getQuantity() {
        return quantity_;
      }
      /**
       * <pre>
       * 数量
       * </pre>
       *
       * <code>int32 quantity = 2;</code>
       */
      public Builder setQuantity(int value) {
        
        quantity_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * 数量
       * </pre>
       *
       * <code>int32 quantity = 2;</code>
       */
      public Builder clearQuantity() {
        
        quantity_ = 0;
        onChanged();
        return this;
      }

      private java.lang.Object unitPrice_ = "";
      /**
       * <pre>
       * 单价(单位: 元)
       * </pre>
       *
       * <code>string unitPrice = 3;</code>
       */
      public java.lang.String getUnitPrice() {
        java.lang.Object ref = unitPrice_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          unitPrice_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       * 单价(单位: 元)
       * </pre>
       *
       * <code>string unitPrice = 3;</code>
       */
      public com.google.protobuf.ByteString
          getUnitPriceBytes() {
        java.lang.Object ref = unitPrice_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          unitPrice_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       * 单价(单位: 元)
       * </pre>
       *
       * <code>string unitPrice = 3;</code>
       */
      public Builder setUnitPrice(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        unitPrice_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * 单价(单位: 元)
       * </pre>
       *
       * <code>string unitPrice = 3;</code>
       */
      public Builder clearUnitPrice() {
        
        unitPrice_ = getDefaultInstance().getUnitPrice();
        onChanged();
        return this;
      }
      /**
       * <pre>
       * 单价(单位: 元)
       * </pre>
       *
       * <code>string unitPrice = 3;</code>
       */
      public Builder setUnitPriceBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        unitPrice_ = value;
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }

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


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

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

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

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

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

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

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

  }

  public interface MedConOrderOrBuilder extends
      // @@protoc_insertion_point(interface_extends:com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <pre>
     * 业务编码
     * </pre>
     *
     * <code>string bizNo = 1;</code>
     */
    java.lang.String getBizNo();
    /**
     * <pre>
     * 业务编码
     * </pre>
     *
     * <code>string bizNo = 1;</code>
     */
    com.google.protobuf.ByteString
        getBizNoBytes();

    /**
     * <pre>
     * 患者姓名
     * </pre>
     *
     * <code>string patientName = 2;</code>
     */
    java.lang.String getPatientName();
    /**
     * <pre>
     * 患者姓名
     * </pre>
     *
     * <code>string patientName = 2;</code>
     */
    com.google.protobuf.ByteString
        getPatientNameBytes();

    /**
     * <pre>
     * 患者手机号
     * </pre>
     *
     * <code>string mobile = 3;</code>
     */
    java.lang.String getMobile();
    /**
     * <pre>
     * 患者手机号
     * </pre>
     *
     * <code>string mobile = 3;</code>
     */
    com.google.protobuf.ByteString
        getMobileBytes();

    /**
     * <pre>
     * 创建方式:1, 患者;2, 收费员
     * </pre>
     *
     * <code>string createType = 4;</code>
     */
    java.lang.String getCreateType();
    /**
     * <pre>
     * 创建方式:1, 患者;2, 收费员
     * </pre>
     *
     * <code>string createType = 4;</code>
     */
    com.google.protobuf.ByteString
        getCreateTypeBytes();

    /**
     * <pre>
     * 状态(1-待支 付,2-待取,3- 已完成,4-已 退费)
     * </pre>
     *
     * <code>string status = 5;</code>
     */
    java.lang.String getStatus();
    /**
     * <pre>
     * 状态(1-待支 付,2-待取,3- 已完成,4-已 退费)
     * </pre>
     *
     * <code>string status = 5;</code>
     */
    com.google.protobuf.ByteString
        getStatusBytes();

    /**
     * <pre>
     * 耗材类型(1- 租用，2-售卖)
     * </pre>
     *
     * <code>string typeName = 6;</code>
     */
    java.lang.String getTypeName();
    /**
     * <pre>
     * 耗材类型(1- 租用，2-售卖)
     * </pre>
     *
     * <code>string typeName = 6;</code>
     */
    com.google.protobuf.ByteString
        getTypeNameBytes();

    /**
     * <pre>
     * 支付方式 1-微 信,2-支付 宝,3-现金,4- 诊疗卡,5-pos 机,6-无须支 付,7-医保
     * </pre>
     *
     * <code>string paymentChannel = 7;</code>
     */
    java.lang.String getPaymentChannel();
    /**
     * <pre>
     * 支付方式 1-微 信,2-支付 宝,3-现金,4- 诊疗卡,5-pos 机,6-无须支 付,7-医保
     * </pre>
     *
     * <code>string paymentChannel = 7;</code>
     */
    com.google.protobuf.ByteString
        getPaymentChannelBytes();

    /**
     * <pre>
     * 支付流水号
     * </pre>
     *
     * <code>string paymentNo = 8;</code>
     */
    java.lang.String getPaymentNo();
    /**
     * <pre>
     * 支付流水号
     * </pre>
     *
     * <code>string paymentNo = 8;</code>
     */
    com.google.protobuf.ByteString
        getPaymentNoBytes();

    /**
     * <pre>
     * 金额(单位:元)
     * </pre>
     *
     * <code>string totalPrice = 9;</code>
     */
    java.lang.String getTotalPrice();
    /**
     * <pre>
     * 金额(单位:元)
     * </pre>
     *
     * <code>string totalPrice = 9;</code>
     */
    com.google.protobuf.ByteString
        getTotalPriceBytes();

    /**
     * <pre>
     * 金额(单位: 分)
     * </pre>
     *
     * <code>int32 totalPriceInt = 10;</code>
     */
    int getTotalPriceInt();

    /**
     * <pre>
     * 创建时间
     * </pre>
     *
     * <code>string createTime = 11;</code>
     */
    java.lang.String getCreateTime();
    /**
     * <pre>
     * 创建时间
     * </pre>
     *
     * <code>string createTime = 11;</code>
     */
    com.google.protobuf.ByteString
        getCreateTimeBytes();

    /**
     * <pre>
     * 支付时间
     * </pre>
     *
     * <code>string payTime = 12;</code>
     */
    java.lang.String getPayTime();
    /**
     * <pre>
     * 支付时间
     * </pre>
     *
     * <code>string payTime = 12;</code>
     */
    com.google.protobuf.ByteString
        getPayTimeBytes();

    /**
     * <pre>
     * 订单药店来源
     * </pre>
     *
     * <code>string pharmacySource = 13;</code>
     */
    java.lang.String getPharmacySource();
    /**
     * <pre>
     * 订单药店来源
     * </pre>
     *
     * <code>string pharmacySource = 13;</code>
     */
    com.google.protobuf.ByteString
        getPharmacySourceBytes();

    /**
     * <pre>
     * 退费时间
     * </pre>
     *
     * <code>string refundTime = 14;</code>
     */
    java.lang.String getRefundTime();
    /**
     * <pre>
     * 退费时间
     * </pre>
     *
     * <code>string refundTime = 14;</code>
     */
    com.google.protobuf.ByteString
        getRefundTimeBytes();

    /**
     * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail item = 15;</code>
     */
    java.util.List<com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail> 
        getItemList();
    /**
     * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail item = 15;</code>
     */
    com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail getItem(int index);
    /**
     * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail item = 15;</code>
     */
    int getItemCount();
    /**
     * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail item = 15;</code>
     */
    java.util.List<? extends com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetailOrBuilder> 
        getItemOrBuilderList();
    /**
     * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail item = 15;</code>
     */
    com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetailOrBuilder getItemOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder}
   */
  public  static final class MedConOrder extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder)
      MedConOrderOrBuilder {
    // Use MedConOrder.newBuilder() to construct.
    private MedConOrder(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private MedConOrder() {
      bizNo_ = "";
      patientName_ = "";
      mobile_ = "";
      createType_ = "";
      status_ = "";
      typeName_ = "";
      paymentChannel_ = "";
      paymentNo_ = "";
      totalPrice_ = "";
      totalPriceInt_ = 0;
      createTime_ = "";
      payTime_ = "";
      pharmacySource_ = "";
      refundTime_ = "";
      item_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
    }
    private MedConOrder(
        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 10: {
              java.lang.String s = input.readStringRequireUtf8();

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

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

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

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

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

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

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

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

              totalPrice_ = s;
              break;
            }
            case 80: {

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

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

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

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

              refundTime_ = s;
              break;
            }
            case 122: {
              if (!((mutable_bitField0_ & 0x00004000) == 0x00004000)) {
                item_ = new java.util.ArrayList<com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail>();
                mutable_bitField0_ |= 0x00004000;
              }
              item_.add(
                  input.readMessage(com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail.parser(), extensionRegistry));
              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_ & 0x00004000) == 0x00004000)) {
          item_ = java.util.Collections.unmodifiableList(item_);
        }
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.ywt.gapi.drug.DrugOuterClass.internal_static_com_ywt_gapi_drug_QueryMedConOrderListResponse_MedConOrder_descriptor;
    }

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

    private int bitField0_;
    public static final int BIZNO_FIELD_NUMBER = 1;
    private volatile java.lang.Object bizNo_;
    /**
     * <pre>
     * 业务编码
     * </pre>
     *
     * <code>string bizNo = 1;</code>
     */
    public java.lang.String getBizNo() {
      java.lang.Object ref = bizNo_;
      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();
        bizNo_ = s;
        return s;
      }
    }
    /**
     * <pre>
     * 业务编码
     * </pre>
     *
     * <code>string bizNo = 1;</code>
     */
    public com.google.protobuf.ByteString
        getBizNoBytes() {
      java.lang.Object ref = bizNo_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        bizNo_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int PATIENTNAME_FIELD_NUMBER = 2;
    private volatile java.lang.Object patientName_;
    /**
     * <pre>
     * 患者姓名
     * </pre>
     *
     * <code>string patientName = 2;</code>
     */
    public java.lang.String getPatientName() {
      java.lang.Object ref = patientName_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        patientName_ = s;
        return s;
      }
    }
    /**
     * <pre>
     * 患者姓名
     * </pre>
     *
     * <code>string patientName = 2;</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 = 3;
    private volatile java.lang.Object mobile_;
    /**
     * <pre>
     * 患者手机号
     * </pre>
     *
     * <code>string mobile = 3;</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;
      }
    }
    /**
     * <pre>
     * 患者手机号
     * </pre>
     *
     * <code>string mobile = 3;</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 CREATETYPE_FIELD_NUMBER = 4;
    private volatile java.lang.Object createType_;
    /**
     * <pre>
     * 创建方式:1, 患者;2, 收费员
     * </pre>
     *
     * <code>string createType = 4;</code>
     */
    public java.lang.String getCreateType() {
      java.lang.Object ref = createType_;
      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();
        createType_ = s;
        return s;
      }
    }
    /**
     * <pre>
     * 创建方式:1, 患者;2, 收费员
     * </pre>
     *
     * <code>string createType = 4;</code>
     */
    public com.google.protobuf.ByteString
        getCreateTypeBytes() {
      java.lang.Object ref = createType_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        createType_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int STATUS_FIELD_NUMBER = 5;
    private volatile java.lang.Object status_;
    /**
     * <pre>
     * 状态(1-待支 付,2-待取,3- 已完成,4-已 退费)
     * </pre>
     *
     * <code>string status = 5;</code>
     */
    public java.lang.String getStatus() {
      java.lang.Object ref = status_;
      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();
        status_ = s;
        return s;
      }
    }
    /**
     * <pre>
     * 状态(1-待支 付,2-待取,3- 已完成,4-已 退费)
     * </pre>
     *
     * <code>string status = 5;</code>
     */
    public com.google.protobuf.ByteString
        getStatusBytes() {
      java.lang.Object ref = status_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        status_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int TYPENAME_FIELD_NUMBER = 6;
    private volatile java.lang.Object typeName_;
    /**
     * <pre>
     * 耗材类型(1- 租用，2-售卖)
     * </pre>
     *
     * <code>string typeName = 6;</code>
     */
    public java.lang.String getTypeName() {
      java.lang.Object ref = typeName_;
      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();
        typeName_ = s;
        return s;
      }
    }
    /**
     * <pre>
     * 耗材类型(1- 租用，2-售卖)
     * </pre>
     *
     * <code>string typeName = 6;</code>
     */
    public com.google.protobuf.ByteString
        getTypeNameBytes() {
      java.lang.Object ref = typeName_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        typeName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int PAYMENTCHANNEL_FIELD_NUMBER = 7;
    private volatile java.lang.Object paymentChannel_;
    /**
     * <pre>
     * 支付方式 1-微 信,2-支付 宝,3-现金,4- 诊疗卡,5-pos 机,6-无须支 付,7-医保
     * </pre>
     *
     * <code>string paymentChannel = 7;</code>
     */
    public java.lang.String getPaymentChannel() {
      java.lang.Object ref = paymentChannel_;
      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();
        paymentChannel_ = s;
        return s;
      }
    }
    /**
     * <pre>
     * 支付方式 1-微 信,2-支付 宝,3-现金,4- 诊疗卡,5-pos 机,6-无须支 付,7-医保
     * </pre>
     *
     * <code>string paymentChannel = 7;</code>
     */
    public com.google.protobuf.ByteString
        getPaymentChannelBytes() {
      java.lang.Object ref = paymentChannel_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        paymentChannel_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int PAYMENTNO_FIELD_NUMBER = 8;
    private volatile java.lang.Object paymentNo_;
    /**
     * <pre>
     * 支付流水号
     * </pre>
     *
     * <code>string paymentNo = 8;</code>
     */
    public java.lang.String getPaymentNo() {
      java.lang.Object ref = paymentNo_;
      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();
        paymentNo_ = s;
        return s;
      }
    }
    /**
     * <pre>
     * 支付流水号
     * </pre>
     *
     * <code>string paymentNo = 8;</code>
     */
    public com.google.protobuf.ByteString
        getPaymentNoBytes() {
      java.lang.Object ref = paymentNo_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        paymentNo_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int TOTALPRICE_FIELD_NUMBER = 9;
    private volatile java.lang.Object totalPrice_;
    /**
     * <pre>
     * 金额(单位:元)
     * </pre>
     *
     * <code>string totalPrice = 9;</code>
     */
    public java.lang.String getTotalPrice() {
      java.lang.Object ref = totalPrice_;
      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();
        totalPrice_ = s;
        return s;
      }
    }
    /**
     * <pre>
     * 金额(单位:元)
     * </pre>
     *
     * <code>string totalPrice = 9;</code>
     */
    public com.google.protobuf.ByteString
        getTotalPriceBytes() {
      java.lang.Object ref = totalPrice_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        totalPrice_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int TOTALPRICEINT_FIELD_NUMBER = 10;
    private int totalPriceInt_;
    /**
     * <pre>
     * 金额(单位: 分)
     * </pre>
     *
     * <code>int32 totalPriceInt = 10;</code>
     */
    public int getTotalPriceInt() {
      return totalPriceInt_;
    }

    public static final int CREATETIME_FIELD_NUMBER = 11;
    private volatile java.lang.Object createTime_;
    /**
     * <pre>
     * 创建时间
     * </pre>
     *
     * <code>string createTime = 11;</code>
     */
    public java.lang.String getCreateTime() {
      java.lang.Object ref = createTime_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        createTime_ = s;
        return s;
      }
    }
    /**
     * <pre>
     * 创建时间
     * </pre>
     *
     * <code>string createTime = 11;</code>
     */
    public com.google.protobuf.ByteString
        getCreateTimeBytes() {
      java.lang.Object ref = createTime_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        createTime_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int PAYTIME_FIELD_NUMBER = 12;
    private volatile java.lang.Object payTime_;
    /**
     * <pre>
     * 支付时间
     * </pre>
     *
     * <code>string payTime = 12;</code>
     */
    public java.lang.String getPayTime() {
      java.lang.Object ref = payTime_;
      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();
        payTime_ = s;
        return s;
      }
    }
    /**
     * <pre>
     * 支付时间
     * </pre>
     *
     * <code>string payTime = 12;</code>
     */
    public com.google.protobuf.ByteString
        getPayTimeBytes() {
      java.lang.Object ref = payTime_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        payTime_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int PHARMACYSOURCE_FIELD_NUMBER = 13;
    private volatile java.lang.Object pharmacySource_;
    /**
     * <pre>
     * 订单药店来源
     * </pre>
     *
     * <code>string pharmacySource = 13;</code>
     */
    public java.lang.String getPharmacySource() {
      java.lang.Object ref = pharmacySource_;
      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();
        pharmacySource_ = s;
        return s;
      }
    }
    /**
     * <pre>
     * 订单药店来源
     * </pre>
     *
     * <code>string pharmacySource = 13;</code>
     */
    public com.google.protobuf.ByteString
        getPharmacySourceBytes() {
      java.lang.Object ref = pharmacySource_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        pharmacySource_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int REFUNDTIME_FIELD_NUMBER = 14;
    private volatile java.lang.Object refundTime_;
    /**
     * <pre>
     * 退费时间
     * </pre>
     *
     * <code>string refundTime = 14;</code>
     */
    public java.lang.String getRefundTime() {
      java.lang.Object ref = refundTime_;
      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();
        refundTime_ = s;
        return s;
      }
    }
    /**
     * <pre>
     * 退费时间
     * </pre>
     *
     * <code>string refundTime = 14;</code>
     */
    public com.google.protobuf.ByteString
        getRefundTimeBytes() {
      java.lang.Object ref = refundTime_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        refundTime_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int ITEM_FIELD_NUMBER = 15;
    private java.util.List<com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail> item_;
    /**
     * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail item = 15;</code>
     */
    public java.util.List<com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail> getItemList() {
      return item_;
    }
    /**
     * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail item = 15;</code>
     */
    public java.util.List<? extends com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetailOrBuilder> 
        getItemOrBuilderList() {
      return item_;
    }
    /**
     * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail item = 15;</code>
     */
    public int getItemCount() {
      return item_.size();
    }
    /**
     * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail item = 15;</code>
     */
    public com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail getItem(int index) {
      return item_.get(index);
    }
    /**
     * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail item = 15;</code>
     */
    public com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetailOrBuilder getItemOrBuilder(
        int index) {
      return item_.get(index);
    }

    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 (!getBizNoBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, bizNo_);
      }
      if (!getPatientNameBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, patientName_);
      }
      if (!getMobileBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, mobile_);
      }
      if (!getCreateTypeBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 4, createType_);
      }
      if (!getStatusBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 5, status_);
      }
      if (!getTypeNameBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 6, typeName_);
      }
      if (!getPaymentChannelBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 7, paymentChannel_);
      }
      if (!getPaymentNoBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 8, paymentNo_);
      }
      if (!getTotalPriceBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 9, totalPrice_);
      }
      if (totalPriceInt_ != 0) {
        output.writeInt32(10, totalPriceInt_);
      }
      if (!getCreateTimeBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 11, createTime_);
      }
      if (!getPayTimeBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 12, payTime_);
      }
      if (!getPharmacySourceBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 13, pharmacySource_);
      }
      if (!getRefundTimeBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 14, refundTime_);
      }
      for (int i = 0; i < item_.size(); i++) {
        output.writeMessage(15, item_.get(i));
      }
    }

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

      size = 0;
      if (!getBizNoBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, bizNo_);
      }
      if (!getPatientNameBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, patientName_);
      }
      if (!getMobileBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, mobile_);
      }
      if (!getCreateTypeBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, createType_);
      }
      if (!getStatusBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, status_);
      }
      if (!getTypeNameBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, typeName_);
      }
      if (!getPaymentChannelBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, paymentChannel_);
      }
      if (!getPaymentNoBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, paymentNo_);
      }
      if (!getTotalPriceBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, totalPrice_);
      }
      if (totalPriceInt_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(10, totalPriceInt_);
      }
      if (!getCreateTimeBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, createTime_);
      }
      if (!getPayTimeBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, payTime_);
      }
      if (!getPharmacySourceBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, pharmacySource_);
      }
      if (!getRefundTimeBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, refundTime_);
      }
      for (int i = 0; i < item_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(15, item_.get(i));
      }
      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.QueryMedConOrderListResponse.MedConOrder)) {
        return super.equals(obj);
      }
      com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder other = (com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder) obj;

      boolean result = true;
      result = result && getBizNo()
          .equals(other.getBizNo());
      result = result && getPatientName()
          .equals(other.getPatientName());
      result = result && getMobile()
          .equals(other.getMobile());
      result = result && getCreateType()
          .equals(other.getCreateType());
      result = result && getStatus()
          .equals(other.getStatus());
      result = result && getTypeName()
          .equals(other.getTypeName());
      result = result && getPaymentChannel()
          .equals(other.getPaymentChannel());
      result = result && getPaymentNo()
          .equals(other.getPaymentNo());
      result = result && getTotalPrice()
          .equals(other.getTotalPrice());
      result = result && (getTotalPriceInt()
          == other.getTotalPriceInt());
      result = result && getCreateTime()
          .equals(other.getCreateTime());
      result = result && getPayTime()
          .equals(other.getPayTime());
      result = result && getPharmacySource()
          .equals(other.getPharmacySource());
      result = result && getRefundTime()
          .equals(other.getRefundTime());
      result = result && getItemList()
          .equals(other.getItemList());
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + BIZNO_FIELD_NUMBER;
      hash = (53 * hash) + getBizNo().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) + CREATETYPE_FIELD_NUMBER;
      hash = (53 * hash) + getCreateType().hashCode();
      hash = (37 * hash) + STATUS_FIELD_NUMBER;
      hash = (53 * hash) + getStatus().hashCode();
      hash = (37 * hash) + TYPENAME_FIELD_NUMBER;
      hash = (53 * hash) + getTypeName().hashCode();
      hash = (37 * hash) + PAYMENTCHANNEL_FIELD_NUMBER;
      hash = (53 * hash) + getPaymentChannel().hashCode();
      hash = (37 * hash) + PAYMENTNO_FIELD_NUMBER;
      hash = (53 * hash) + getPaymentNo().hashCode();
      hash = (37 * hash) + TOTALPRICE_FIELD_NUMBER;
      hash = (53 * hash) + getTotalPrice().hashCode();
      hash = (37 * hash) + TOTALPRICEINT_FIELD_NUMBER;
      hash = (53 * hash) + getTotalPriceInt();
      hash = (37 * hash) + CREATETIME_FIELD_NUMBER;
      hash = (53 * hash) + getCreateTime().hashCode();
      hash = (37 * hash) + PAYTIME_FIELD_NUMBER;
      hash = (53 * hash) + getPayTime().hashCode();
      hash = (37 * hash) + PHARMACYSOURCE_FIELD_NUMBER;
      hash = (53 * hash) + getPharmacySource().hashCode();
      hash = (37 * hash) + REFUNDTIME_FIELD_NUMBER;
      hash = (53 * hash) + getRefundTime().hashCode();
      if (getItemCount() > 0) {
        hash = (37 * hash) + ITEM_FIELD_NUMBER;
        hash = (53 * hash) + getItemList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

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

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

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

        patientName_ = "";

        mobile_ = "";

        createType_ = "";

        status_ = "";

        typeName_ = "";

        paymentChannel_ = "";

        paymentNo_ = "";

        totalPrice_ = "";

        totalPriceInt_ = 0;

        createTime_ = "";

        payTime_ = "";

        pharmacySource_ = "";

        refundTime_ = "";

        if (itemBuilder_ == null) {
          item_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00004000);
        } else {
          itemBuilder_.clear();
        }
        return this;
      }

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

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

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

      public com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder buildPartial() {
        com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder result = new com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        result.bizNo_ = bizNo_;
        result.patientName_ = patientName_;
        result.mobile_ = mobile_;
        result.createType_ = createType_;
        result.status_ = status_;
        result.typeName_ = typeName_;
        result.paymentChannel_ = paymentChannel_;
        result.paymentNo_ = paymentNo_;
        result.totalPrice_ = totalPrice_;
        result.totalPriceInt_ = totalPriceInt_;
        result.createTime_ = createTime_;
        result.payTime_ = payTime_;
        result.pharmacySource_ = pharmacySource_;
        result.refundTime_ = refundTime_;
        if (itemBuilder_ == null) {
          if (((bitField0_ & 0x00004000) == 0x00004000)) {
            item_ = java.util.Collections.unmodifiableList(item_);
            bitField0_ = (bitField0_ & ~0x00004000);
          }
          result.item_ = item_;
        } else {
          result.item_ = itemBuilder_.build();
        }
        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.QueryMedConOrderListResponse.MedConOrder) {
          return mergeFrom((com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder other) {
        if (other == com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder.getDefaultInstance()) return this;
        if (!other.getBizNo().isEmpty()) {
          bizNo_ = other.bizNo_;
          onChanged();
        }
        if (!other.getPatientName().isEmpty()) {
          patientName_ = other.patientName_;
          onChanged();
        }
        if (!other.getMobile().isEmpty()) {
          mobile_ = other.mobile_;
          onChanged();
        }
        if (!other.getCreateType().isEmpty()) {
          createType_ = other.createType_;
          onChanged();
        }
        if (!other.getStatus().isEmpty()) {
          status_ = other.status_;
          onChanged();
        }
        if (!other.getTypeName().isEmpty()) {
          typeName_ = other.typeName_;
          onChanged();
        }
        if (!other.getPaymentChannel().isEmpty()) {
          paymentChannel_ = other.paymentChannel_;
          onChanged();
        }
        if (!other.getPaymentNo().isEmpty()) {
          paymentNo_ = other.paymentNo_;
          onChanged();
        }
        if (!other.getTotalPrice().isEmpty()) {
          totalPrice_ = other.totalPrice_;
          onChanged();
        }
        if (other.getTotalPriceInt() != 0) {
          setTotalPriceInt(other.getTotalPriceInt());
        }
        if (!other.getCreateTime().isEmpty()) {
          createTime_ = other.createTime_;
          onChanged();
        }
        if (!other.getPayTime().isEmpty()) {
          payTime_ = other.payTime_;
          onChanged();
        }
        if (!other.getPharmacySource().isEmpty()) {
          pharmacySource_ = other.pharmacySource_;
          onChanged();
        }
        if (!other.getRefundTime().isEmpty()) {
          refundTime_ = other.refundTime_;
          onChanged();
        }
        if (itemBuilder_ == null) {
          if (!other.item_.isEmpty()) {
            if (item_.isEmpty()) {
              item_ = other.item_;
              bitField0_ = (bitField0_ & ~0x00004000);
            } else {
              ensureItemIsMutable();
              item_.addAll(other.item_);
            }
            onChanged();
          }
        } else {
          if (!other.item_.isEmpty()) {
            if (itemBuilder_.isEmpty()) {
              itemBuilder_.dispose();
              itemBuilder_ = null;
              item_ = other.item_;
              bitField0_ = (bitField0_ & ~0x00004000);
              itemBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getItemFieldBuilder() : null;
            } else {
              itemBuilder_.addAllMessages(other.item_);
            }
          }
        }
        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.QueryMedConOrderListResponse.MedConOrder parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.lang.Object bizNo_ = "";
      /**
       * <pre>
       * 业务编码
       * </pre>
       *
       * <code>string bizNo = 1;</code>
       */
      public java.lang.String getBizNo() {
        java.lang.Object ref = bizNo_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          bizNo_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       * 业务编码
       * </pre>
       *
       * <code>string bizNo = 1;</code>
       */
      public com.google.protobuf.ByteString
          getBizNoBytes() {
        java.lang.Object ref = bizNo_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          bizNo_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       * 业务编码
       * </pre>
       *
       * <code>string bizNo = 1;</code>
       */
      public Builder setBizNo(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        bizNo_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * 业务编码
       * </pre>
       *
       * <code>string bizNo = 1;</code>
       */
      public Builder clearBizNo() {
        
        bizNo_ = getDefaultInstance().getBizNo();
        onChanged();
        return this;
      }
      /**
       * <pre>
       * 业务编码
       * </pre>
       *
       * <code>string bizNo = 1;</code>
       */
      public Builder setBizNoBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        bizNo_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object patientName_ = "";
      /**
       * <pre>
       * 患者姓名
       * </pre>
       *
       * <code>string patientName = 2;</code>
       */
      public java.lang.String getPatientName() {
        java.lang.Object ref = patientName_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          patientName_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       * 患者姓名
       * </pre>
       *
       * <code>string patientName = 2;</code>
       */
      public com.google.protobuf.ByteString
          getPatientNameBytes() {
        java.lang.Object ref = patientName_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          patientName_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       * 患者姓名
       * </pre>
       *
       * <code>string patientName = 2;</code>
       */
      public Builder setPatientName(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        patientName_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * 患者姓名
       * </pre>
       *
       * <code>string patientName = 2;</code>
       */
      public Builder clearPatientName() {
        
        patientName_ = getDefaultInstance().getPatientName();
        onChanged();
        return this;
      }
      /**
       * <pre>
       * 患者姓名
       * </pre>
       *
       * <code>string patientName = 2;</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_ = "";
      /**
       * <pre>
       * 患者手机号
       * </pre>
       *
       * <code>string mobile = 3;</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;
        }
      }
      /**
       * <pre>
       * 患者手机号
       * </pre>
       *
       * <code>string mobile = 3;</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;
        }
      }
      /**
       * <pre>
       * 患者手机号
       * </pre>
       *
       * <code>string mobile = 3;</code>
       */
      public Builder setMobile(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        mobile_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * 患者手机号
       * </pre>
       *
       * <code>string mobile = 3;</code>
       */
      public Builder clearMobile() {
        
        mobile_ = getDefaultInstance().getMobile();
        onChanged();
        return this;
      }
      /**
       * <pre>
       * 患者手机号
       * </pre>
       *
       * <code>string mobile = 3;</code>
       */
      public Builder setMobileBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        mobile_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object createType_ = "";
      /**
       * <pre>
       * 创建方式:1, 患者;2, 收费员
       * </pre>
       *
       * <code>string createType = 4;</code>
       */
      public java.lang.String getCreateType() {
        java.lang.Object ref = createType_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          createType_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       * 创建方式:1, 患者;2, 收费员
       * </pre>
       *
       * <code>string createType = 4;</code>
       */
      public com.google.protobuf.ByteString
          getCreateTypeBytes() {
        java.lang.Object ref = createType_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          createType_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       * 创建方式:1, 患者;2, 收费员
       * </pre>
       *
       * <code>string createType = 4;</code>
       */
      public Builder setCreateType(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        createType_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * 创建方式:1, 患者;2, 收费员
       * </pre>
       *
       * <code>string createType = 4;</code>
       */
      public Builder clearCreateType() {
        
        createType_ = getDefaultInstance().getCreateType();
        onChanged();
        return this;
      }
      /**
       * <pre>
       * 创建方式:1, 患者;2, 收费员
       * </pre>
       *
       * <code>string createType = 4;</code>
       */
      public Builder setCreateTypeBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        createType_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object status_ = "";
      /**
       * <pre>
       * 状态(1-待支 付,2-待取,3- 已完成,4-已 退费)
       * </pre>
       *
       * <code>string status = 5;</code>
       */
      public java.lang.String getStatus() {
        java.lang.Object ref = status_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          status_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       * 状态(1-待支 付,2-待取,3- 已完成,4-已 退费)
       * </pre>
       *
       * <code>string status = 5;</code>
       */
      public com.google.protobuf.ByteString
          getStatusBytes() {
        java.lang.Object ref = status_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          status_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       * 状态(1-待支 付,2-待取,3- 已完成,4-已 退费)
       * </pre>
       *
       * <code>string status = 5;</code>
       */
      public Builder setStatus(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        status_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * 状态(1-待支 付,2-待取,3- 已完成,4-已 退费)
       * </pre>
       *
       * <code>string status = 5;</code>
       */
      public Builder clearStatus() {
        
        status_ = getDefaultInstance().getStatus();
        onChanged();
        return this;
      }
      /**
       * <pre>
       * 状态(1-待支 付,2-待取,3- 已完成,4-已 退费)
       * </pre>
       *
       * <code>string status = 5;</code>
       */
      public Builder setStatusBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        status_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object typeName_ = "";
      /**
       * <pre>
       * 耗材类型(1- 租用，2-售卖)
       * </pre>
       *
       * <code>string typeName = 6;</code>
       */
      public java.lang.String getTypeName() {
        java.lang.Object ref = typeName_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          typeName_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       * 耗材类型(1- 租用，2-售卖)
       * </pre>
       *
       * <code>string typeName = 6;</code>
       */
      public com.google.protobuf.ByteString
          getTypeNameBytes() {
        java.lang.Object ref = typeName_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          typeName_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       * 耗材类型(1- 租用，2-售卖)
       * </pre>
       *
       * <code>string typeName = 6;</code>
       */
      public Builder setTypeName(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        typeName_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * 耗材类型(1- 租用，2-售卖)
       * </pre>
       *
       * <code>string typeName = 6;</code>
       */
      public Builder clearTypeName() {
        
        typeName_ = getDefaultInstance().getTypeName();
        onChanged();
        return this;
      }
      /**
       * <pre>
       * 耗材类型(1- 租用，2-售卖)
       * </pre>
       *
       * <code>string typeName = 6;</code>
       */
      public Builder setTypeNameBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        typeName_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object paymentChannel_ = "";
      /**
       * <pre>
       * 支付方式 1-微 信,2-支付 宝,3-现金,4- 诊疗卡,5-pos 机,6-无须支 付,7-医保
       * </pre>
       *
       * <code>string paymentChannel = 7;</code>
       */
      public java.lang.String getPaymentChannel() {
        java.lang.Object ref = paymentChannel_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          paymentChannel_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       * 支付方式 1-微 信,2-支付 宝,3-现金,4- 诊疗卡,5-pos 机,6-无须支 付,7-医保
       * </pre>
       *
       * <code>string paymentChannel = 7;</code>
       */
      public com.google.protobuf.ByteString
          getPaymentChannelBytes() {
        java.lang.Object ref = paymentChannel_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          paymentChannel_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       * 支付方式 1-微 信,2-支付 宝,3-现金,4- 诊疗卡,5-pos 机,6-无须支 付,7-医保
       * </pre>
       *
       * <code>string paymentChannel = 7;</code>
       */
      public Builder setPaymentChannel(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        paymentChannel_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * 支付方式 1-微 信,2-支付 宝,3-现金,4- 诊疗卡,5-pos 机,6-无须支 付,7-医保
       * </pre>
       *
       * <code>string paymentChannel = 7;</code>
       */
      public Builder clearPaymentChannel() {
        
        paymentChannel_ = getDefaultInstance().getPaymentChannel();
        onChanged();
        return this;
      }
      /**
       * <pre>
       * 支付方式 1-微 信,2-支付 宝,3-现金,4- 诊疗卡,5-pos 机,6-无须支 付,7-医保
       * </pre>
       *
       * <code>string paymentChannel = 7;</code>
       */
      public Builder setPaymentChannelBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        paymentChannel_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object paymentNo_ = "";
      /**
       * <pre>
       * 支付流水号
       * </pre>
       *
       * <code>string paymentNo = 8;</code>
       */
      public java.lang.String getPaymentNo() {
        java.lang.Object ref = paymentNo_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          paymentNo_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       * 支付流水号
       * </pre>
       *
       * <code>string paymentNo = 8;</code>
       */
      public com.google.protobuf.ByteString
          getPaymentNoBytes() {
        java.lang.Object ref = paymentNo_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          paymentNo_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       * 支付流水号
       * </pre>
       *
       * <code>string paymentNo = 8;</code>
       */
      public Builder setPaymentNo(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        paymentNo_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * 支付流水号
       * </pre>
       *
       * <code>string paymentNo = 8;</code>
       */
      public Builder clearPaymentNo() {
        
        paymentNo_ = getDefaultInstance().getPaymentNo();
        onChanged();
        return this;
      }
      /**
       * <pre>
       * 支付流水号
       * </pre>
       *
       * <code>string paymentNo = 8;</code>
       */
      public Builder setPaymentNoBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        paymentNo_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object totalPrice_ = "";
      /**
       * <pre>
       * 金额(单位:元)
       * </pre>
       *
       * <code>string totalPrice = 9;</code>
       */
      public java.lang.String getTotalPrice() {
        java.lang.Object ref = totalPrice_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          totalPrice_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       * 金额(单位:元)
       * </pre>
       *
       * <code>string totalPrice = 9;</code>
       */
      public com.google.protobuf.ByteString
          getTotalPriceBytes() {
        java.lang.Object ref = totalPrice_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          totalPrice_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       * 金额(单位:元)
       * </pre>
       *
       * <code>string totalPrice = 9;</code>
       */
      public Builder setTotalPrice(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        totalPrice_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * 金额(单位:元)
       * </pre>
       *
       * <code>string totalPrice = 9;</code>
       */
      public Builder clearTotalPrice() {
        
        totalPrice_ = getDefaultInstance().getTotalPrice();
        onChanged();
        return this;
      }
      /**
       * <pre>
       * 金额(单位:元)
       * </pre>
       *
       * <code>string totalPrice = 9;</code>
       */
      public Builder setTotalPriceBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        totalPrice_ = value;
        onChanged();
        return this;
      }

      private int totalPriceInt_ ;
      /**
       * <pre>
       * 金额(单位: 分)
       * </pre>
       *
       * <code>int32 totalPriceInt = 10;</code>
       */
      public int getTotalPriceInt() {
        return totalPriceInt_;
      }
      /**
       * <pre>
       * 金额(单位: 分)
       * </pre>
       *
       * <code>int32 totalPriceInt = 10;</code>
       */
      public Builder setTotalPriceInt(int value) {
        
        totalPriceInt_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * 金额(单位: 分)
       * </pre>
       *
       * <code>int32 totalPriceInt = 10;</code>
       */
      public Builder clearTotalPriceInt() {
        
        totalPriceInt_ = 0;
        onChanged();
        return this;
      }

      private java.lang.Object createTime_ = "";
      /**
       * <pre>
       * 创建时间
       * </pre>
       *
       * <code>string createTime = 11;</code>
       */
      public java.lang.String getCreateTime() {
        java.lang.Object ref = createTime_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          createTime_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       * 创建时间
       * </pre>
       *
       * <code>string createTime = 11;</code>
       */
      public com.google.protobuf.ByteString
          getCreateTimeBytes() {
        java.lang.Object ref = createTime_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          createTime_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       * 创建时间
       * </pre>
       *
       * <code>string createTime = 11;</code>
       */
      public Builder setCreateTime(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        createTime_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * 创建时间
       * </pre>
       *
       * <code>string createTime = 11;</code>
       */
      public Builder clearCreateTime() {
        
        createTime_ = getDefaultInstance().getCreateTime();
        onChanged();
        return this;
      }
      /**
       * <pre>
       * 创建时间
       * </pre>
       *
       * <code>string createTime = 11;</code>
       */
      public Builder setCreateTimeBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        createTime_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object payTime_ = "";
      /**
       * <pre>
       * 支付时间
       * </pre>
       *
       * <code>string payTime = 12;</code>
       */
      public java.lang.String getPayTime() {
        java.lang.Object ref = payTime_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          payTime_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       * 支付时间
       * </pre>
       *
       * <code>string payTime = 12;</code>
       */
      public com.google.protobuf.ByteString
          getPayTimeBytes() {
        java.lang.Object ref = payTime_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          payTime_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       * 支付时间
       * </pre>
       *
       * <code>string payTime = 12;</code>
       */
      public Builder setPayTime(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        payTime_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * 支付时间
       * </pre>
       *
       * <code>string payTime = 12;</code>
       */
      public Builder clearPayTime() {
        
        payTime_ = getDefaultInstance().getPayTime();
        onChanged();
        return this;
      }
      /**
       * <pre>
       * 支付时间
       * </pre>
       *
       * <code>string payTime = 12;</code>
       */
      public Builder setPayTimeBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        payTime_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object pharmacySource_ = "";
      /**
       * <pre>
       * 订单药店来源
       * </pre>
       *
       * <code>string pharmacySource = 13;</code>
       */
      public java.lang.String getPharmacySource() {
        java.lang.Object ref = pharmacySource_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          pharmacySource_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       * 订单药店来源
       * </pre>
       *
       * <code>string pharmacySource = 13;</code>
       */
      public com.google.protobuf.ByteString
          getPharmacySourceBytes() {
        java.lang.Object ref = pharmacySource_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          pharmacySource_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       * 订单药店来源
       * </pre>
       *
       * <code>string pharmacySource = 13;</code>
       */
      public Builder setPharmacySource(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        pharmacySource_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * 订单药店来源
       * </pre>
       *
       * <code>string pharmacySource = 13;</code>
       */
      public Builder clearPharmacySource() {
        
        pharmacySource_ = getDefaultInstance().getPharmacySource();
        onChanged();
        return this;
      }
      /**
       * <pre>
       * 订单药店来源
       * </pre>
       *
       * <code>string pharmacySource = 13;</code>
       */
      public Builder setPharmacySourceBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        pharmacySource_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object refundTime_ = "";
      /**
       * <pre>
       * 退费时间
       * </pre>
       *
       * <code>string refundTime = 14;</code>
       */
      public java.lang.String getRefundTime() {
        java.lang.Object ref = refundTime_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          refundTime_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       * 退费时间
       * </pre>
       *
       * <code>string refundTime = 14;</code>
       */
      public com.google.protobuf.ByteString
          getRefundTimeBytes() {
        java.lang.Object ref = refundTime_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          refundTime_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       * 退费时间
       * </pre>
       *
       * <code>string refundTime = 14;</code>
       */
      public Builder setRefundTime(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        refundTime_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * 退费时间
       * </pre>
       *
       * <code>string refundTime = 14;</code>
       */
      public Builder clearRefundTime() {
        
        refundTime_ = getDefaultInstance().getRefundTime();
        onChanged();
        return this;
      }
      /**
       * <pre>
       * 退费时间
       * </pre>
       *
       * <code>string refundTime = 14;</code>
       */
      public Builder setRefundTimeBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        refundTime_ = value;
        onChanged();
        return this;
      }

      private java.util.List<com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail> item_ =
        java.util.Collections.emptyList();
      private void ensureItemIsMutable() {
        if (!((bitField0_ & 0x00004000) == 0x00004000)) {
          item_ = new java.util.ArrayList<com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail>(item_);
          bitField0_ |= 0x00004000;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail, com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail.Builder, com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetailOrBuilder> itemBuilder_;

      /**
       * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail item = 15;</code>
       */
      public java.util.List<com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail> getItemList() {
        if (itemBuilder_ == null) {
          return java.util.Collections.unmodifiableList(item_);
        } else {
          return itemBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail item = 15;</code>
       */
      public int getItemCount() {
        if (itemBuilder_ == null) {
          return item_.size();
        } else {
          return itemBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail item = 15;</code>
       */
      public com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail getItem(int index) {
        if (itemBuilder_ == null) {
          return item_.get(index);
        } else {
          return itemBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail item = 15;</code>
       */
      public Builder setItem(
          int index, com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail value) {
        if (itemBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureItemIsMutable();
          item_.set(index, value);
          onChanged();
        } else {
          itemBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail item = 15;</code>
       */
      public Builder setItem(
          int index, com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail.Builder builderForValue) {
        if (itemBuilder_ == null) {
          ensureItemIsMutable();
          item_.set(index, builderForValue.build());
          onChanged();
        } else {
          itemBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail item = 15;</code>
       */
      public Builder addItem(com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail value) {
        if (itemBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureItemIsMutable();
          item_.add(value);
          onChanged();
        } else {
          itemBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail item = 15;</code>
       */
      public Builder addItem(
          int index, com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail value) {
        if (itemBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureItemIsMutable();
          item_.add(index, value);
          onChanged();
        } else {
          itemBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail item = 15;</code>
       */
      public Builder addItem(
          com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail.Builder builderForValue) {
        if (itemBuilder_ == null) {
          ensureItemIsMutable();
          item_.add(builderForValue.build());
          onChanged();
        } else {
          itemBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail item = 15;</code>
       */
      public Builder addItem(
          int index, com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail.Builder builderForValue) {
        if (itemBuilder_ == null) {
          ensureItemIsMutable();
          item_.add(index, builderForValue.build());
          onChanged();
        } else {
          itemBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail item = 15;</code>
       */
      public Builder addAllItem(
          java.lang.Iterable<? extends com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail> values) {
        if (itemBuilder_ == null) {
          ensureItemIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, item_);
          onChanged();
        } else {
          itemBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail item = 15;</code>
       */
      public Builder clearItem() {
        if (itemBuilder_ == null) {
          item_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00004000);
          onChanged();
        } else {
          itemBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail item = 15;</code>
       */
      public Builder removeItem(int index) {
        if (itemBuilder_ == null) {
          ensureItemIsMutable();
          item_.remove(index);
          onChanged();
        } else {
          itemBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail item = 15;</code>
       */
      public com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail.Builder getItemBuilder(
          int index) {
        return getItemFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail item = 15;</code>
       */
      public com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetailOrBuilder getItemOrBuilder(
          int index) {
        if (itemBuilder_ == null) {
          return item_.get(index);  } else {
          return itemBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail item = 15;</code>
       */
      public java.util.List<? extends com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetailOrBuilder> 
           getItemOrBuilderList() {
        if (itemBuilder_ != null) {
          return itemBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(item_);
        }
      }
      /**
       * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail item = 15;</code>
       */
      public com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail.Builder addItemBuilder() {
        return getItemFieldBuilder().addBuilder(
            com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail.getDefaultInstance());
      }
      /**
       * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail item = 15;</code>
       */
      public com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail.Builder addItemBuilder(
          int index) {
        return getItemFieldBuilder().addBuilder(
            index, com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail.getDefaultInstance());
      }
      /**
       * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail item = 15;</code>
       */
      public java.util.List<com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail.Builder> 
           getItemBuilderList() {
        return getItemFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail, com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail.Builder, com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetailOrBuilder> 
          getItemFieldBuilder() {
        if (itemBuilder_ == null) {
          itemBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail, com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetail.Builder, com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderDetailOrBuilder>(
                  item_,
                  ((bitField0_ & 0x00004000) == 0x00004000),
                  getParentForChildren(),
                  isClean());
          item_ = null;
        }
        return itemBuilder_;
      }
      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.QueryMedConOrderListResponse.MedConOrder)
    }

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

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

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

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

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

    public com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder 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 DATA_FIELD_NUMBER = 3;
  private java.util.List<com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder> data_;
  /**
   * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder data = 3;</code>
   */
  public java.util.List<com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder> getDataList() {
    return data_;
  }
  /**
   * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder data = 3;</code>
   */
  public java.util.List<? extends com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderOrBuilder> 
      getDataOrBuilderList() {
    return data_;
  }
  /**
   * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder data = 3;</code>
   */
  public int getDataCount() {
    return data_.size();
  }
  /**
   * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder data = 3;</code>
   */
  public com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder getData(int index) {
    return data_.get(index);
  }
  /**
   * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder data = 3;</code>
   */
  public com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderOrBuilder getDataOrBuilder(
      int index) {
    return data_.get(index);
  }

  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 < data_.size(); i++) {
      output.writeMessage(3, data_.get(i));
    }
  }

  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 < data_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(3, data_.get(i));
    }
    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.QueryMedConOrderListResponse)) {
      return super.equals(obj);
    }
    com.ywt.gapi.drug.QueryMedConOrderListResponse other = (com.ywt.gapi.drug.QueryMedConOrderListResponse) obj;

    boolean result = true;
    result = result && (getCode()
        == other.getCode());
    result = result && getInfo()
        .equals(other.getInfo());
    result = result && getDataList()
        .equals(other.getDataList());
    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 (getDataCount() > 0) {
      hash = (37 * hash) + DATA_FIELD_NUMBER;
      hash = (53 * hash) + getDataList().hashCode();
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

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

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

      info_ = "";

      if (dataBuilder_ == null) {
        data_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000004);
      } else {
        dataBuilder_.clear();
      }
      return this;
    }

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

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

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

    public com.ywt.gapi.drug.QueryMedConOrderListResponse buildPartial() {
      com.ywt.gapi.drug.QueryMedConOrderListResponse result = new com.ywt.gapi.drug.QueryMedConOrderListResponse(this);
      int from_bitField0_ = bitField0_;
      int to_bitField0_ = 0;
      result.code_ = code_;
      result.info_ = info_;
      if (dataBuilder_ == null) {
        if (((bitField0_ & 0x00000004) == 0x00000004)) {
          data_ = java.util.Collections.unmodifiableList(data_);
          bitField0_ = (bitField0_ & ~0x00000004);
        }
        result.data_ = data_;
      } else {
        result.data_ = dataBuilder_.build();
      }
      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.QueryMedConOrderListResponse) {
        return mergeFrom((com.ywt.gapi.drug.QueryMedConOrderListResponse)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.ywt.gapi.drug.QueryMedConOrderListResponse other) {
      if (other == com.ywt.gapi.drug.QueryMedConOrderListResponse.getDefaultInstance()) return this;
      if (other.getCode() != 0) {
        setCode(other.getCode());
      }
      if (!other.getInfo().isEmpty()) {
        info_ = other.info_;
        onChanged();
      }
      if (dataBuilder_ == null) {
        if (!other.data_.isEmpty()) {
          if (data_.isEmpty()) {
            data_ = other.data_;
            bitField0_ = (bitField0_ & ~0x00000004);
          } else {
            ensureDataIsMutable();
            data_.addAll(other.data_);
          }
          onChanged();
        }
      } else {
        if (!other.data_.isEmpty()) {
          if (dataBuilder_.isEmpty()) {
            dataBuilder_.dispose();
            dataBuilder_ = null;
            data_ = other.data_;
            bitField0_ = (bitField0_ & ~0x00000004);
            dataBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getDataFieldBuilder() : null;
          } else {
            dataBuilder_.addAllMessages(other.data_);
          }
        }
      }
      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.QueryMedConOrderListResponse parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.ywt.gapi.drug.QueryMedConOrderListResponse) 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.QueryMedConOrderListResponse.MedConOrder> data_ =
      java.util.Collections.emptyList();
    private void ensureDataIsMutable() {
      if (!((bitField0_ & 0x00000004) == 0x00000004)) {
        data_ = new java.util.ArrayList<com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder>(data_);
        bitField0_ |= 0x00000004;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder, com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder.Builder, com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderOrBuilder> dataBuilder_;

    /**
     * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder data = 3;</code>
     */
    public java.util.List<com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder> getDataList() {
      if (dataBuilder_ == null) {
        return java.util.Collections.unmodifiableList(data_);
      } else {
        return dataBuilder_.getMessageList();
      }
    }
    /**
     * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder data = 3;</code>
     */
    public int getDataCount() {
      if (dataBuilder_ == null) {
        return data_.size();
      } else {
        return dataBuilder_.getCount();
      }
    }
    /**
     * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder data = 3;</code>
     */
    public com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder getData(int index) {
      if (dataBuilder_ == null) {
        return data_.get(index);
      } else {
        return dataBuilder_.getMessage(index);
      }
    }
    /**
     * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder data = 3;</code>
     */
    public Builder setData(
        int index, com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder value) {
      if (dataBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureDataIsMutable();
        data_.set(index, value);
        onChanged();
      } else {
        dataBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder data = 3;</code>
     */
    public Builder setData(
        int index, com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder.Builder builderForValue) {
      if (dataBuilder_ == null) {
        ensureDataIsMutable();
        data_.set(index, builderForValue.build());
        onChanged();
      } else {
        dataBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder data = 3;</code>
     */
    public Builder addData(com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder value) {
      if (dataBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureDataIsMutable();
        data_.add(value);
        onChanged();
      } else {
        dataBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder data = 3;</code>
     */
    public Builder addData(
        int index, com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder value) {
      if (dataBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureDataIsMutable();
        data_.add(index, value);
        onChanged();
      } else {
        dataBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder data = 3;</code>
     */
    public Builder addData(
        com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder.Builder builderForValue) {
      if (dataBuilder_ == null) {
        ensureDataIsMutable();
        data_.add(builderForValue.build());
        onChanged();
      } else {
        dataBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder data = 3;</code>
     */
    public Builder addData(
        int index, com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder.Builder builderForValue) {
      if (dataBuilder_ == null) {
        ensureDataIsMutable();
        data_.add(index, builderForValue.build());
        onChanged();
      } else {
        dataBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder data = 3;</code>
     */
    public Builder addAllData(
        java.lang.Iterable<? extends com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder> values) {
      if (dataBuilder_ == null) {
        ensureDataIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, data_);
        onChanged();
      } else {
        dataBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder data = 3;</code>
     */
    public Builder clearData() {
      if (dataBuilder_ == null) {
        data_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000004);
        onChanged();
      } else {
        dataBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder data = 3;</code>
     */
    public Builder removeData(int index) {
      if (dataBuilder_ == null) {
        ensureDataIsMutable();
        data_.remove(index);
        onChanged();
      } else {
        dataBuilder_.remove(index);
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder data = 3;</code>
     */
    public com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder.Builder getDataBuilder(
        int index) {
      return getDataFieldBuilder().getBuilder(index);
    }
    /**
     * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder data = 3;</code>
     */
    public com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderOrBuilder getDataOrBuilder(
        int index) {
      if (dataBuilder_ == null) {
        return data_.get(index);  } else {
        return dataBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder data = 3;</code>
     */
    public java.util.List<? extends com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderOrBuilder> 
         getDataOrBuilderList() {
      if (dataBuilder_ != null) {
        return dataBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(data_);
      }
    }
    /**
     * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder data = 3;</code>
     */
    public com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder.Builder addDataBuilder() {
      return getDataFieldBuilder().addBuilder(
          com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder.getDefaultInstance());
    }
    /**
     * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder data = 3;</code>
     */
    public com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder.Builder addDataBuilder(
        int index) {
      return getDataFieldBuilder().addBuilder(
          index, com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder.getDefaultInstance());
    }
    /**
     * <code>repeated .com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder data = 3;</code>
     */
    public java.util.List<com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder.Builder> 
         getDataBuilderList() {
      return getDataFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder, com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder.Builder, com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderOrBuilder> 
        getDataFieldBuilder() {
      if (dataBuilder_ == null) {
        dataBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder, com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrder.Builder, com.ywt.gapi.drug.QueryMedConOrderListResponse.MedConOrderOrBuilder>(
                data_,
                ((bitField0_ & 0x00000004) == 0x00000004),
                getParentForChildren(),
                isClean());
        data_ = null;
      }
      return dataBuilder_;
    }
    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.QueryMedConOrderListResponse)
  }

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

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

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

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

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

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

}

