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

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

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

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

            count_ = input.readInt32();
            break;
          }
          case 40: {

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

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

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

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

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

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

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

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

    /**
     * <code>int64 createTime = 6;</code>
     */
    long getCreateTime();

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

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

    /**
     * <code>int32 typeInt = 9;</code>
     */
    int getTypeInt();

    /**
     * <code>string typeName = 10;</code>
     */
    java.lang.String getTypeName();
    /**
     * <code>string typeName = 10;</code>
     */
    com.google.protobuf.ByteString
        getTypeNameBytes();
  }
  /**
   * Protobuf type {@code com.ywt.gapi.drug.GetMedConListResponse.MedCons}
   */
  public  static final class MedCons extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:com.ywt.gapi.drug.GetMedConListResponse.MedCons)
      MedConsOrBuilder {
    // Use MedCons.newBuilder() to construct.
    private MedCons(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private MedCons() {
      id_ = 0;
      code_ = "";
      medConName_ = "";
      medConSpec_ = "";
      producer_ = "";
      createTime_ = 0L;
      price_ = 0;
      picUrl_ = "";
      typeInt_ = 0;
      typeName_ = "";
    }

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

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

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

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

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

              producer_ = s;
              break;
            }
            case 48: {

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

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

              picUrl_ = s;
              break;
            }
            case 72: {

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

              typeName_ = 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_GetMedConListResponse_MedCons_descriptor;
    }

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

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

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

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

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

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

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

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

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

    public static final int TYPEINT_FIELD_NUMBER = 9;
    private int typeInt_;
    /**
     * <code>int32 typeInt = 9;</code>
     */
    public int getTypeInt() {
      return typeInt_;
    }

    public static final int TYPENAME_FIELD_NUMBER = 10;
    private volatile java.lang.Object typeName_;
    /**
     * <code>string typeName = 10;</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;
      }
    }
    /**
     * <code>string typeName = 10;</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;
      }
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

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

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

      size = 0;
      if (id_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(1, id_);
      }
      if (!getCodeBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, code_);
      }
      if (!getMedConNameBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, medConName_);
      }
      if (!getMedConSpecBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, medConSpec_);
      }
      if (!getProducerBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, producer_);
      }
      if (createTime_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(6, createTime_);
      }
      if (price_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(7, price_);
      }
      if (!getPicUrlBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, picUrl_);
      }
      if (typeInt_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(9, typeInt_);
      }
      if (!getTypeNameBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, typeName_);
      }
      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.GetMedConListResponse.MedCons)) {
        return super.equals(obj);
      }
      com.ywt.gapi.drug.GetMedConListResponse.MedCons other = (com.ywt.gapi.drug.GetMedConListResponse.MedCons) obj;

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

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + ID_FIELD_NUMBER;
      hash = (53 * hash) + getId();
      hash = (37 * hash) + CODE_FIELD_NUMBER;
      hash = (53 * hash) + getCode().hashCode();
      hash = (37 * hash) + MEDCONNAME_FIELD_NUMBER;
      hash = (53 * hash) + getMedConName().hashCode();
      hash = (37 * hash) + MEDCONSPEC_FIELD_NUMBER;
      hash = (53 * hash) + getMedConSpec().hashCode();
      hash = (37 * hash) + PRODUCER_FIELD_NUMBER;
      hash = (53 * hash) + getProducer().hashCode();
      hash = (37 * hash) + CREATETIME_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getCreateTime());
      hash = (37 * hash) + PRICE_FIELD_NUMBER;
      hash = (53 * hash) + getPrice();
      hash = (37 * hash) + PICURL_FIELD_NUMBER;
      hash = (53 * hash) + getPicUrl().hashCode();
      hash = (37 * hash) + TYPEINT_FIELD_NUMBER;
      hash = (53 * hash) + getTypeInt();
      hash = (37 * hash) + TYPENAME_FIELD_NUMBER;
      hash = (53 * hash) + getTypeName().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

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

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

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

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

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

        code_ = "";

        medConName_ = "";

        medConSpec_ = "";

        producer_ = "";

        createTime_ = 0L;

        price_ = 0;

        picUrl_ = "";

        typeInt_ = 0;

        typeName_ = "";

        return this;
      }

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

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

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

      public com.ywt.gapi.drug.GetMedConListResponse.MedCons buildPartial() {
        com.ywt.gapi.drug.GetMedConListResponse.MedCons result = new com.ywt.gapi.drug.GetMedConListResponse.MedCons(this);
        result.id_ = id_;
        result.code_ = code_;
        result.medConName_ = medConName_;
        result.medConSpec_ = medConSpec_;
        result.producer_ = producer_;
        result.createTime_ = createTime_;
        result.price_ = price_;
        result.picUrl_ = picUrl_;
        result.typeInt_ = typeInt_;
        result.typeName_ = typeName_;
        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.GetMedConListResponse.MedCons) {
          return mergeFrom((com.ywt.gapi.drug.GetMedConListResponse.MedCons)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.ywt.gapi.drug.GetMedConListResponse.MedCons other) {
        if (other == com.ywt.gapi.drug.GetMedConListResponse.MedCons.getDefaultInstance()) return this;
        if (other.getId() != 0) {
          setId(other.getId());
        }
        if (!other.getCode().isEmpty()) {
          code_ = other.code_;
          onChanged();
        }
        if (!other.getMedConName().isEmpty()) {
          medConName_ = other.medConName_;
          onChanged();
        }
        if (!other.getMedConSpec().isEmpty()) {
          medConSpec_ = other.medConSpec_;
          onChanged();
        }
        if (!other.getProducer().isEmpty()) {
          producer_ = other.producer_;
          onChanged();
        }
        if (other.getCreateTime() != 0L) {
          setCreateTime(other.getCreateTime());
        }
        if (other.getPrice() != 0) {
          setPrice(other.getPrice());
        }
        if (!other.getPicUrl().isEmpty()) {
          picUrl_ = other.picUrl_;
          onChanged();
        }
        if (other.getTypeInt() != 0) {
          setTypeInt(other.getTypeInt());
        }
        if (!other.getTypeName().isEmpty()) {
          typeName_ = other.typeName_;
          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.GetMedConListResponse.MedCons parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.ywt.gapi.drug.GetMedConListResponse.MedCons) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

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

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

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

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

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

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

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

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

      private int typeInt_ ;
      /**
       * <code>int32 typeInt = 9;</code>
       */
      public int getTypeInt() {
        return typeInt_;
      }
      /**
       * <code>int32 typeInt = 9;</code>
       */
      public Builder setTypeInt(int value) {
        
        typeInt_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int32 typeInt = 9;</code>
       */
      public Builder clearTypeInt() {
        
        typeInt_ = 0;
        onChanged();
        return this;
      }

      private java.lang.Object typeName_ = "";
      /**
       * <code>string typeName = 10;</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;
        }
      }
      /**
       * <code>string typeName = 10;</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;
        }
      }
      /**
       * <code>string typeName = 10;</code>
       */
      public Builder setTypeName(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        typeName_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string typeName = 10;</code>
       */
      public Builder clearTypeName() {
        
        typeName_ = getDefaultInstance().getTypeName();
        onChanged();
        return this;
      }
      /**
       * <code>string typeName = 10;</code>
       */
      public Builder setTypeNameBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        typeName_ = 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.GetMedConListResponse.MedCons)
    }

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

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

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

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

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

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

  }

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

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

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

  public static final int COUNT_FIELD_NUMBER = 4;
  private int count_;
  /**
   * <code>int32 count = 4;</code>
   */
  public int getCount() {
    return count_;
  }

  public static final int TOTALPAGES_FIELD_NUMBER = 5;
  private int totalPages_;
  /**
   * <code>int32 totalPages = 5;</code>
   */
  public int getTotalPages() {
    return totalPages_;
  }

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

    memoizedIsInitialized = 1;
    return true;
  }

  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (code_ != 0) {
      output.writeInt32(1, code_);
    }
    if (!getInfoBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, info_);
    }
    for (int i = 0; i < medConList_.size(); i++) {
      output.writeMessage(3, medConList_.get(i));
    }
    if (count_ != 0) {
      output.writeInt32(4, count_);
    }
    if (totalPages_ != 0) {
      output.writeInt32(5, totalPages_);
    }
  }

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

    size = 0;
    if (code_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(1, code_);
    }
    if (!getInfoBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, info_);
    }
    for (int i = 0; i < medConList_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(3, medConList_.get(i));
    }
    if (count_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(4, count_);
    }
    if (totalPages_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(5, totalPages_);
    }
    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.GetMedConListResponse)) {
      return super.equals(obj);
    }
    com.ywt.gapi.drug.GetMedConListResponse other = (com.ywt.gapi.drug.GetMedConListResponse) obj;

    boolean result = true;
    result = result && (getCode()
        == other.getCode());
    result = result && getInfo()
        .equals(other.getInfo());
    result = result && getMedConListList()
        .equals(other.getMedConListList());
    result = result && (getCount()
        == other.getCount());
    result = result && (getTotalPages()
        == other.getTotalPages());
    return result;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + CODE_FIELD_NUMBER;
    hash = (53 * hash) + getCode();
    hash = (37 * hash) + INFO_FIELD_NUMBER;
    hash = (53 * hash) + getInfo().hashCode();
    if (getMedConListCount() > 0) {
      hash = (37 * hash) + MEDCONLIST_FIELD_NUMBER;
      hash = (53 * hash) + getMedConListList().hashCode();
    }
    hash = (37 * hash) + COUNT_FIELD_NUMBER;
    hash = (53 * hash) + getCount();
    hash = (37 * hash) + TOTALPAGES_FIELD_NUMBER;
    hash = (53 * hash) + getTotalPages();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

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

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

      info_ = "";

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

      totalPages_ = 0;

      return this;
    }

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

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

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

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

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

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

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

    private int count_ ;
    /**
     * <code>int32 count = 4;</code>
     */
    public int getCount() {
      return count_;
    }
    /**
     * <code>int32 count = 4;</code>
     */
    public Builder setCount(int value) {
      
      count_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 count = 4;</code>
     */
    public Builder clearCount() {
      
      count_ = 0;
      onChanged();
      return this;
    }

    private int totalPages_ ;
    /**
     * <code>int32 totalPages = 5;</code>
     */
    public int getTotalPages() {
      return totalPages_;
    }
    /**
     * <code>int32 totalPages = 5;</code>
     */
    public Builder setTotalPages(int value) {
      
      totalPages_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 totalPages = 5;</code>
     */
    public Builder clearTotalPages() {
      
      totalPages_ = 0;
      onChanged();
      return this;
    }
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return this;
    }

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


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

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

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

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

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

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

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

}

