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

package com.ywt.gapi.third.taihe;

/**
 * <pre>
 *获取治疗指引响应
 * </pre>
 *
 * Protobuf type {@code com.ywt.gapi.third.taihe.GetTreatmentGuideResponse}
 */
public final class GetTreatmentGuideResponse extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.third.taihe.GetTreatmentGuideResponse)
    GetTreatmentGuideResponseOrBuilder {
private static final long serialVersionUID = 0L;
  // Use GetTreatmentGuideResponse.newBuilder() to construct.
  private GetTreatmentGuideResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private GetTreatmentGuideResponse() {
    msg_ = "";
    inspectionApply_ = java.util.Collections.emptyList();
    laboratoryApply_ = java.util.Collections.emptyList();
  }

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

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

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

            msg_ = s;
            break;
          }
          case 26: {
            com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply.Builder subBuilder = null;
            if (drugApply_ != null) {
              subBuilder = drugApply_.toBuilder();
            }
            drugApply_ = input.readMessage(com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(drugApply_);
              drugApply_ = subBuilder.buildPartial();
            }

            break;
          }
          case 34: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              inspectionApply_ = new java.util.ArrayList<com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply>();
              mutable_bitField0_ |= 0x00000001;
            }
            inspectionApply_.add(
                input.readMessage(com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply.parser(), extensionRegistry));
            break;
          }
          case 42: {
            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
              laboratoryApply_ = new java.util.ArrayList<com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply>();
              mutable_bitField0_ |= 0x00000002;
            }
            laboratoryApply_.add(
                input.readMessage(com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply.parser(), extensionRegistry));
            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      if (((mutable_bitField0_ & 0x00000001) != 0)) {
        inspectionApply_ = java.util.Collections.unmodifiableList(inspectionApply_);
      }
      if (((mutable_bitField0_ & 0x00000002) != 0)) {
        laboratoryApply_ = java.util.Collections.unmodifiableList(laboratoryApply_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.ywt.gapi.third.taihe.TaiheProto.internal_static_com_ywt_gapi_third_taihe_GetTreatmentGuideResponse_descriptor;
  }

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

  public interface DrugItemOrBuilder extends
      // @@protoc_insertion_point(interface_extends:com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <pre>
     *药品名称，如：山芋肉(甲类)
     * </pre>
     *
     * <code>string name = 1;</code>
     * @return The name.
     */
    java.lang.String getName();
    /**
     * <pre>
     *药品名称，如：山芋肉(甲类)
     * </pre>
     *
     * <code>string name = 1;</code>
     * @return The bytes for name.
     */
    com.google.protobuf.ByteString
        getNameBytes();

    /**
     * <pre>
     *药品说明，如：10g
     * </pre>
     *
     * <code>string desc = 2;</code>
     * @return The desc.
     */
    java.lang.String getDesc();
    /**
     * <pre>
     *药品说明，如：10g
     * </pre>
     *
     * <code>string desc = 2;</code>
     * @return The bytes for desc.
     */
    com.google.protobuf.ByteString
        getDescBytes();
  }
  /**
   * <pre>
   *药品项
   * </pre>
   *
   * Protobuf type {@code com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem}
   */
  public static final class DrugItem extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem)
      DrugItemOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use DrugItem.newBuilder() to construct.
    private DrugItem(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private DrugItem() {
      name_ = "";
      desc_ = "";
    }

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

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

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

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

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

    public static final int NAME_FIELD_NUMBER = 1;
    private volatile java.lang.Object name_;
    /**
     * <pre>
     *药品名称，如：山芋肉(甲类)
     * </pre>
     *
     * <code>string name = 1;</code>
     * @return The name.
     */
    @java.lang.Override
    public java.lang.String getName() {
      java.lang.Object ref = name_;
      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();
        name_ = s;
        return s;
      }
    }
    /**
     * <pre>
     *药品名称，如：山芋肉(甲类)
     * </pre>
     *
     * <code>string name = 1;</code>
     * @return The bytes for name.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getNameBytes() {
      java.lang.Object ref = name_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        name_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int DESC_FIELD_NUMBER = 2;
    private volatile java.lang.Object desc_;
    /**
     * <pre>
     *药品说明，如：10g
     * </pre>
     *
     * <code>string desc = 2;</code>
     * @return The desc.
     */
    @java.lang.Override
    public java.lang.String getDesc() {
      java.lang.Object ref = desc_;
      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();
        desc_ = s;
        return s;
      }
    }
    /**
     * <pre>
     *药品说明，如：10g
     * </pre>
     *
     * <code>string desc = 2;</code>
     * @return The bytes for desc.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getDescBytes() {
      java.lang.Object ref = desc_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        desc_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(desc_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, desc_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(desc_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, desc_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem)) {
        return super.equals(obj);
      }
      com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem other = (com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem) obj;

      if (!getName()
          .equals(other.getName())) return false;
      if (!getDesc()
          .equals(other.getDesc())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + NAME_FIELD_NUMBER;
      hash = (53 * hash) + getName().hashCode();
      hash = (37 * hash) + DESC_FIELD_NUMBER;
      hash = (53 * hash) + getDesc().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

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

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

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

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

        desc_ = "";

        return this;
      }

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

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

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

      @java.lang.Override
      public com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem buildPartial() {
        com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem result = new com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem(this);
        result.name_ = name_;
        result.desc_ = desc_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem) {
          return mergeFrom((com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem other) {
        if (other == com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem.getDefaultInstance()) return this;
        if (!other.getName().isEmpty()) {
          name_ = other.name_;
          onChanged();
        }
        if (!other.getDesc().isEmpty()) {
          desc_ = other.desc_;
          onChanged();
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

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

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

      private java.lang.Object name_ = "";
      /**
       * <pre>
       *药品名称，如：山芋肉(甲类)
       * </pre>
       *
       * <code>string name = 1;</code>
       * @return The name.
       */
      public java.lang.String getName() {
        java.lang.Object ref = name_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          name_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       *药品名称，如：山芋肉(甲类)
       * </pre>
       *
       * <code>string name = 1;</code>
       * @return The bytes for name.
       */
      public com.google.protobuf.ByteString
          getNameBytes() {
        java.lang.Object ref = name_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          name_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       *药品名称，如：山芋肉(甲类)
       * </pre>
       *
       * <code>string name = 1;</code>
       * @param value The name to set.
       * @return This builder for chaining.
       */
      public Builder setName(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        name_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *药品名称，如：山芋肉(甲类)
       * </pre>
       *
       * <code>string name = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearName() {
        
        name_ = getDefaultInstance().getName();
        onChanged();
        return this;
      }
      /**
       * <pre>
       *药品名称，如：山芋肉(甲类)
       * </pre>
       *
       * <code>string name = 1;</code>
       * @param value The bytes for name to set.
       * @return This builder for chaining.
       */
      public Builder setNameBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        name_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object desc_ = "";
      /**
       * <pre>
       *药品说明，如：10g
       * </pre>
       *
       * <code>string desc = 2;</code>
       * @return The desc.
       */
      public java.lang.String getDesc() {
        java.lang.Object ref = desc_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          desc_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       *药品说明，如：10g
       * </pre>
       *
       * <code>string desc = 2;</code>
       * @return The bytes for desc.
       */
      public com.google.protobuf.ByteString
          getDescBytes() {
        java.lang.Object ref = desc_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          desc_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       *药品说明，如：10g
       * </pre>
       *
       * <code>string desc = 2;</code>
       * @param value The desc to set.
       * @return This builder for chaining.
       */
      public Builder setDesc(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        desc_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *药品说明，如：10g
       * </pre>
       *
       * <code>string desc = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearDesc() {
        
        desc_ = getDefaultInstance().getDesc();
        onChanged();
        return this;
      }
      /**
       * <pre>
       *药品说明，如：10g
       * </pre>
       *
       * <code>string desc = 2;</code>
       * @param value The bytes for desc to set.
       * @return This builder for chaining.
       */
      public Builder setDescBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        desc_ = value;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

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


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

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

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

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

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

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

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

  }

  public interface DrugApplyOrBuilder extends
      // @@protoc_insertion_point(interface_extends:com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>string doctorName = 1;</code>
     * @return The doctorName.
     */
    java.lang.String getDoctorName();
    /**
     * <code>string doctorName = 1;</code>
     * @return The bytes for doctorName.
     */
    com.google.protobuf.ByteString
        getDoctorNameBytes();

    /**
     * <code>string statusName = 2;</code>
     * @return The statusName.
     */
    java.lang.String getStatusName();
    /**
     * <code>string statusName = 2;</code>
     * @return The bytes for statusName.
     */
    com.google.protobuf.ByteString
        getStatusNameBytes();

    /**
     * <code>string title = 3;</code>
     * @return The title.
     */
    java.lang.String getTitle();
    /**
     * <code>string title = 3;</code>
     * @return The bytes for title.
     */
    com.google.protobuf.ByteString
        getTitleBytes();

    /**
     * <code>string patientName = 4;</code>
     * @return The patientName.
     */
    java.lang.String getPatientName();
    /**
     * <code>string patientName = 4;</code>
     * @return The bytes for patientName.
     */
    com.google.protobuf.ByteString
        getPatientNameBytes();

    /**
     * <code>int32 serialNo = 5;</code>
     * @return The serialNo.
     */
    int getSerialNo();

    /**
     * <code>string applyDate = 6;</code>
     * @return The applyDate.
     */
    java.lang.String getApplyDate();
    /**
     * <code>string applyDate = 6;</code>
     * @return The bytes for applyDate.
     */
    com.google.protobuf.ByteString
        getApplyDateBytes();

    /**
     * <code>string addr = 7;</code>
     * @return The addr.
     */
    java.lang.String getAddr();
    /**
     * <code>string addr = 7;</code>
     * @return The bytes for addr.
     */
    com.google.protobuf.ByteString
        getAddrBytes();

    /**
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem drugItem = 8;</code>
     */
    java.util.List<com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem> 
        getDrugItemList();
    /**
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem drugItem = 8;</code>
     */
    com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem getDrugItem(int index);
    /**
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem drugItem = 8;</code>
     */
    int getDrugItemCount();
    /**
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem drugItem = 8;</code>
     */
    java.util.List<? extends com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItemOrBuilder> 
        getDrugItemOrBuilderList();
    /**
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem drugItem = 8;</code>
     */
    com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItemOrBuilder getDrugItemOrBuilder(
        int index);
  }
  /**
   * <pre>
   *药品申请单
   * </pre>
   *
   * Protobuf type {@code com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply}
   */
  public static final class DrugApply extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply)
      DrugApplyOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use DrugApply.newBuilder() to construct.
    private DrugApply(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private DrugApply() {
      doctorName_ = "";
      statusName_ = "";
      title_ = "";
      patientName_ = "";
      applyDate_ = "";
      addr_ = "";
      drugItem_ = java.util.Collections.emptyList();
    }

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

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

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

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

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

              patientName_ = s;
              break;
            }
            case 40: {

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

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

              addr_ = s;
              break;
            }
            case 66: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                drugItem_ = new java.util.ArrayList<com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem>();
                mutable_bitField0_ |= 0x00000001;
              }
              drugItem_.add(
                  input.readMessage(com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem.parser(), extensionRegistry));
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          drugItem_ = java.util.Collections.unmodifiableList(drugItem_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.ywt.gapi.third.taihe.TaiheProto.internal_static_com_ywt_gapi_third_taihe_GetTreatmentGuideResponse_DrugApply_descriptor;
    }

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

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

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

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

    public static final int PATIENTNAME_FIELD_NUMBER = 4;
    private volatile java.lang.Object patientName_;
    /**
     * <code>string patientName = 4;</code>
     * @return The patientName.
     */
    @java.lang.Override
    public java.lang.String getPatientName() {
      java.lang.Object ref = patientName_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        patientName_ = s;
        return s;
      }
    }
    /**
     * <code>string patientName = 4;</code>
     * @return The bytes for patientName.
     */
    @java.lang.Override
    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 SERIALNO_FIELD_NUMBER = 5;
    private int serialNo_;
    /**
     * <code>int32 serialNo = 5;</code>
     * @return The serialNo.
     */
    @java.lang.Override
    public int getSerialNo() {
      return serialNo_;
    }

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

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

    public static final int DRUGITEM_FIELD_NUMBER = 8;
    private java.util.List<com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem> drugItem_;
    /**
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem drugItem = 8;</code>
     */
    @java.lang.Override
    public java.util.List<com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem> getDrugItemList() {
      return drugItem_;
    }
    /**
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem drugItem = 8;</code>
     */
    @java.lang.Override
    public java.util.List<? extends com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItemOrBuilder> 
        getDrugItemOrBuilderList() {
      return drugItem_;
    }
    /**
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem drugItem = 8;</code>
     */
    @java.lang.Override
    public int getDrugItemCount() {
      return drugItem_.size();
    }
    /**
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem drugItem = 8;</code>
     */
    @java.lang.Override
    public com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem getDrugItem(int index) {
      return drugItem_.get(index);
    }
    /**
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem drugItem = 8;</code>
     */
    @java.lang.Override
    public com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItemOrBuilder getDrugItemOrBuilder(
        int index) {
      return drugItem_.get(index);
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctorName_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, doctorName_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(statusName_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, statusName_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, title_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(patientName_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 4, patientName_);
      }
      if (serialNo_ != 0) {
        output.writeInt32(5, serialNo_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(applyDate_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 6, applyDate_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(addr_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 7, addr_);
      }
      for (int i = 0; i < drugItem_.size(); i++) {
        output.writeMessage(8, drugItem_.get(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctorName_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, doctorName_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(statusName_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, statusName_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, title_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(patientName_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, patientName_);
      }
      if (serialNo_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(5, serialNo_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(applyDate_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, applyDate_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(addr_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, addr_);
      }
      for (int i = 0; i < drugItem_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(8, drugItem_.get(i));
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply)) {
        return super.equals(obj);
      }
      com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply other = (com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply) obj;

      if (!getDoctorName()
          .equals(other.getDoctorName())) return false;
      if (!getStatusName()
          .equals(other.getStatusName())) return false;
      if (!getTitle()
          .equals(other.getTitle())) return false;
      if (!getPatientName()
          .equals(other.getPatientName())) return false;
      if (getSerialNo()
          != other.getSerialNo()) return false;
      if (!getApplyDate()
          .equals(other.getApplyDate())) return false;
      if (!getAddr()
          .equals(other.getAddr())) return false;
      if (!getDrugItemList()
          .equals(other.getDrugItemList())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + DOCTORNAME_FIELD_NUMBER;
      hash = (53 * hash) + getDoctorName().hashCode();
      hash = (37 * hash) + STATUSNAME_FIELD_NUMBER;
      hash = (53 * hash) + getStatusName().hashCode();
      hash = (37 * hash) + TITLE_FIELD_NUMBER;
      hash = (53 * hash) + getTitle().hashCode();
      hash = (37 * hash) + PATIENTNAME_FIELD_NUMBER;
      hash = (53 * hash) + getPatientName().hashCode();
      hash = (37 * hash) + SERIALNO_FIELD_NUMBER;
      hash = (53 * hash) + getSerialNo();
      hash = (37 * hash) + APPLYDATE_FIELD_NUMBER;
      hash = (53 * hash) + getApplyDate().hashCode();
      hash = (37 * hash) + ADDR_FIELD_NUMBER;
      hash = (53 * hash) + getAddr().hashCode();
      if (getDrugItemCount() > 0) {
        hash = (37 * hash) + DRUGITEM_FIELD_NUMBER;
        hash = (53 * hash) + getDrugItemList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * <pre>
     *药品申请单
     * </pre>
     *
     * Protobuf type {@code com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply)
        com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApplyOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.ywt.gapi.third.taihe.TaiheProto.internal_static_com_ywt_gapi_third_taihe_GetTreatmentGuideResponse_DrugApply_descriptor;
      }

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

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

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

        statusName_ = "";

        title_ = "";

        patientName_ = "";

        serialNo_ = 0;

        applyDate_ = "";

        addr_ = "";

        if (drugItemBuilder_ == null) {
          drugItem_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          drugItemBuilder_.clear();
        }
        return this;
      }

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

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

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

      @java.lang.Override
      public com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply buildPartial() {
        com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply result = new com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply(this);
        int from_bitField0_ = bitField0_;
        result.doctorName_ = doctorName_;
        result.statusName_ = statusName_;
        result.title_ = title_;
        result.patientName_ = patientName_;
        result.serialNo_ = serialNo_;
        result.applyDate_ = applyDate_;
        result.addr_ = addr_;
        if (drugItemBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            drugItem_ = java.util.Collections.unmodifiableList(drugItem_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.drugItem_ = drugItem_;
        } else {
          result.drugItem_ = drugItemBuilder_.build();
        }
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply) {
          return mergeFrom((com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply other) {
        if (other == com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply.getDefaultInstance()) return this;
        if (!other.getDoctorName().isEmpty()) {
          doctorName_ = other.doctorName_;
          onChanged();
        }
        if (!other.getStatusName().isEmpty()) {
          statusName_ = other.statusName_;
          onChanged();
        }
        if (!other.getTitle().isEmpty()) {
          title_ = other.title_;
          onChanged();
        }
        if (!other.getPatientName().isEmpty()) {
          patientName_ = other.patientName_;
          onChanged();
        }
        if (other.getSerialNo() != 0) {
          setSerialNo(other.getSerialNo());
        }
        if (!other.getApplyDate().isEmpty()) {
          applyDate_ = other.applyDate_;
          onChanged();
        }
        if (!other.getAddr().isEmpty()) {
          addr_ = other.addr_;
          onChanged();
        }
        if (drugItemBuilder_ == null) {
          if (!other.drugItem_.isEmpty()) {
            if (drugItem_.isEmpty()) {
              drugItem_ = other.drugItem_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureDrugItemIsMutable();
              drugItem_.addAll(other.drugItem_);
            }
            onChanged();
          }
        } else {
          if (!other.drugItem_.isEmpty()) {
            if (drugItemBuilder_.isEmpty()) {
              drugItemBuilder_.dispose();
              drugItemBuilder_ = null;
              drugItem_ = other.drugItem_;
              bitField0_ = (bitField0_ & ~0x00000001);
              drugItemBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getDrugItemFieldBuilder() : null;
            } else {
              drugItemBuilder_.addAllMessages(other.drugItem_);
            }
          }
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

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

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

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

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

      private java.lang.Object title_ = "";
      /**
       * <code>string title = 3;</code>
       * @return The title.
       */
      public java.lang.String getTitle() {
        java.lang.Object ref = title_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          title_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string title = 3;</code>
       * @return The bytes for title.
       */
      public com.google.protobuf.ByteString
          getTitleBytes() {
        java.lang.Object ref = title_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          title_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string title = 3;</code>
       * @param value The title to set.
       * @return This builder for chaining.
       */
      public Builder setTitle(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        title_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string title = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearTitle() {
        
        title_ = getDefaultInstance().getTitle();
        onChanged();
        return this;
      }
      /**
       * <code>string title = 3;</code>
       * @param value The bytes for title to set.
       * @return This builder for chaining.
       */
      public Builder setTitleBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        title_ = value;
        onChanged();
        return this;
      }

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

      private int serialNo_ ;
      /**
       * <code>int32 serialNo = 5;</code>
       * @return The serialNo.
       */
      @java.lang.Override
      public int getSerialNo() {
        return serialNo_;
      }
      /**
       * <code>int32 serialNo = 5;</code>
       * @param value The serialNo to set.
       * @return This builder for chaining.
       */
      public Builder setSerialNo(int value) {
        
        serialNo_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int32 serialNo = 5;</code>
       * @return This builder for chaining.
       */
      public Builder clearSerialNo() {
        
        serialNo_ = 0;
        onChanged();
        return this;
      }

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

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

      private java.util.List<com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem> drugItem_ =
        java.util.Collections.emptyList();
      private void ensureDrugItemIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          drugItem_ = new java.util.ArrayList<com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem>(drugItem_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem, com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem.Builder, com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItemOrBuilder> drugItemBuilder_;

      /**
       * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem drugItem = 8;</code>
       */
      public java.util.List<com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem> getDrugItemList() {
        if (drugItemBuilder_ == null) {
          return java.util.Collections.unmodifiableList(drugItem_);
        } else {
          return drugItemBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem drugItem = 8;</code>
       */
      public int getDrugItemCount() {
        if (drugItemBuilder_ == null) {
          return drugItem_.size();
        } else {
          return drugItemBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem drugItem = 8;</code>
       */
      public com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem getDrugItem(int index) {
        if (drugItemBuilder_ == null) {
          return drugItem_.get(index);
        } else {
          return drugItemBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem drugItem = 8;</code>
       */
      public Builder setDrugItem(
          int index, com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem value) {
        if (drugItemBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureDrugItemIsMutable();
          drugItem_.set(index, value);
          onChanged();
        } else {
          drugItemBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem drugItem = 8;</code>
       */
      public Builder setDrugItem(
          int index, com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem.Builder builderForValue) {
        if (drugItemBuilder_ == null) {
          ensureDrugItemIsMutable();
          drugItem_.set(index, builderForValue.build());
          onChanged();
        } else {
          drugItemBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem drugItem = 8;</code>
       */
      public Builder addDrugItem(com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem value) {
        if (drugItemBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureDrugItemIsMutable();
          drugItem_.add(value);
          onChanged();
        } else {
          drugItemBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem drugItem = 8;</code>
       */
      public Builder addDrugItem(
          int index, com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem value) {
        if (drugItemBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureDrugItemIsMutable();
          drugItem_.add(index, value);
          onChanged();
        } else {
          drugItemBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem drugItem = 8;</code>
       */
      public Builder addDrugItem(
          com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem.Builder builderForValue) {
        if (drugItemBuilder_ == null) {
          ensureDrugItemIsMutable();
          drugItem_.add(builderForValue.build());
          onChanged();
        } else {
          drugItemBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem drugItem = 8;</code>
       */
      public Builder addDrugItem(
          int index, com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem.Builder builderForValue) {
        if (drugItemBuilder_ == null) {
          ensureDrugItemIsMutable();
          drugItem_.add(index, builderForValue.build());
          onChanged();
        } else {
          drugItemBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem drugItem = 8;</code>
       */
      public Builder addAllDrugItem(
          java.lang.Iterable<? extends com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem> values) {
        if (drugItemBuilder_ == null) {
          ensureDrugItemIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, drugItem_);
          onChanged();
        } else {
          drugItemBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem drugItem = 8;</code>
       */
      public Builder clearDrugItem() {
        if (drugItemBuilder_ == null) {
          drugItem_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          drugItemBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem drugItem = 8;</code>
       */
      public Builder removeDrugItem(int index) {
        if (drugItemBuilder_ == null) {
          ensureDrugItemIsMutable();
          drugItem_.remove(index);
          onChanged();
        } else {
          drugItemBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem drugItem = 8;</code>
       */
      public com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem.Builder getDrugItemBuilder(
          int index) {
        return getDrugItemFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem drugItem = 8;</code>
       */
      public com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItemOrBuilder getDrugItemOrBuilder(
          int index) {
        if (drugItemBuilder_ == null) {
          return drugItem_.get(index);  } else {
          return drugItemBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem drugItem = 8;</code>
       */
      public java.util.List<? extends com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItemOrBuilder> 
           getDrugItemOrBuilderList() {
        if (drugItemBuilder_ != null) {
          return drugItemBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(drugItem_);
        }
      }
      /**
       * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem drugItem = 8;</code>
       */
      public com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem.Builder addDrugItemBuilder() {
        return getDrugItemFieldBuilder().addBuilder(
            com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem.getDefaultInstance());
      }
      /**
       * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem drugItem = 8;</code>
       */
      public com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem.Builder addDrugItemBuilder(
          int index) {
        return getDrugItemFieldBuilder().addBuilder(
            index, com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem.getDefaultInstance());
      }
      /**
       * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem drugItem = 8;</code>
       */
      public java.util.List<com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem.Builder> 
           getDrugItemBuilderList() {
        return getDrugItemFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem, com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem.Builder, com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItemOrBuilder> 
          getDrugItemFieldBuilder() {
        if (drugItemBuilder_ == null) {
          drugItemBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem, com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItem.Builder, com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugItemOrBuilder>(
                  drugItem_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          drugItem_ = null;
        }
        return drugItemBuilder_;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

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


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

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

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

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

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

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

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

  }

  public interface InspectionApplyOrBuilder extends
      // @@protoc_insertion_point(interface_extends:com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>string doctorName = 1;</code>
     * @return The doctorName.
     */
    java.lang.String getDoctorName();
    /**
     * <code>string doctorName = 1;</code>
     * @return The bytes for doctorName.
     */
    com.google.protobuf.ByteString
        getDoctorNameBytes();

    /**
     * <code>string statusName = 2;</code>
     * @return The statusName.
     */
    java.lang.String getStatusName();
    /**
     * <code>string statusName = 2;</code>
     * @return The bytes for statusName.
     */
    com.google.protobuf.ByteString
        getStatusNameBytes();

    /**
     * <code>string itemName = 3;</code>
     * @return The itemName.
     */
    java.lang.String getItemName();
    /**
     * <code>string itemName = 3;</code>
     * @return The bytes for itemName.
     */
    com.google.protobuf.ByteString
        getItemNameBytes();

    /**
     * <code>string title = 4;</code>
     * @return The title.
     */
    java.lang.String getTitle();
    /**
     * <code>string title = 4;</code>
     * @return The bytes for title.
     */
    com.google.protobuf.ByteString
        getTitleBytes();

    /**
     * <code>string patientName = 5;</code>
     * @return The patientName.
     */
    java.lang.String getPatientName();
    /**
     * <code>string patientName = 5;</code>
     * @return The bytes for patientName.
     */
    com.google.protobuf.ByteString
        getPatientNameBytes();

    /**
     * <code>int32 serialNo = 6;</code>
     * @return The serialNo.
     */
    int getSerialNo();

    /**
     * <code>string applyDate = 7;</code>
     * @return The applyDate.
     */
    java.lang.String getApplyDate();
    /**
     * <code>string applyDate = 7;</code>
     * @return The bytes for applyDate.
     */
    com.google.protobuf.ByteString
        getApplyDateBytes();

    /**
     * <code>string desc = 8;</code>
     * @return The desc.
     */
    java.lang.String getDesc();
    /**
     * <code>string desc = 8;</code>
     * @return The bytes for desc.
     */
    com.google.protobuf.ByteString
        getDescBytes();

    /**
     * <code>string guide = 9;</code>
     * @return The guide.
     */
    java.lang.String getGuide();
    /**
     * <code>string guide = 9;</code>
     * @return The bytes for guide.
     */
    com.google.protobuf.ByteString
        getGuideBytes();
  }
  /**
   * <pre>
   *检验检查申请单
   * </pre>
   *
   * Protobuf type {@code com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply}
   */
  public static final class InspectionApply extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply)
      InspectionApplyOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use InspectionApply.newBuilder() to construct.
    private InspectionApply(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private InspectionApply() {
      doctorName_ = "";
      statusName_ = "";
      itemName_ = "";
      title_ = "";
      patientName_ = "";
      applyDate_ = "";
      desc_ = "";
      guide_ = "";
    }

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

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

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

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

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

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

              patientName_ = s;
              break;
            }
            case 48: {

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

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

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

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

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

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

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

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

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

    public static final int PATIENTNAME_FIELD_NUMBER = 5;
    private volatile java.lang.Object patientName_;
    /**
     * <code>string patientName = 5;</code>
     * @return The patientName.
     */
    @java.lang.Override
    public java.lang.String getPatientName() {
      java.lang.Object ref = patientName_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        patientName_ = s;
        return s;
      }
    }
    /**
     * <code>string patientName = 5;</code>
     * @return The bytes for patientName.
     */
    @java.lang.Override
    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 SERIALNO_FIELD_NUMBER = 6;
    private int serialNo_;
    /**
     * <code>int32 serialNo = 6;</code>
     * @return The serialNo.
     */
    @java.lang.Override
    public int getSerialNo() {
      return serialNo_;
    }

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

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

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

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

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctorName_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, doctorName_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(statusName_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, statusName_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(itemName_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, itemName_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 4, title_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(patientName_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 5, patientName_);
      }
      if (serialNo_ != 0) {
        output.writeInt32(6, serialNo_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(applyDate_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 7, applyDate_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(desc_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 8, desc_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(guide_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 9, guide_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctorName_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, doctorName_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(statusName_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, statusName_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(itemName_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, itemName_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, title_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(patientName_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, patientName_);
      }
      if (serialNo_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(6, serialNo_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(applyDate_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, applyDate_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(desc_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, desc_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(guide_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, guide_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply)) {
        return super.equals(obj);
      }
      com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply other = (com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply) obj;

      if (!getDoctorName()
          .equals(other.getDoctorName())) return false;
      if (!getStatusName()
          .equals(other.getStatusName())) return false;
      if (!getItemName()
          .equals(other.getItemName())) return false;
      if (!getTitle()
          .equals(other.getTitle())) return false;
      if (!getPatientName()
          .equals(other.getPatientName())) return false;
      if (getSerialNo()
          != other.getSerialNo()) return false;
      if (!getApplyDate()
          .equals(other.getApplyDate())) return false;
      if (!getDesc()
          .equals(other.getDesc())) return false;
      if (!getGuide()
          .equals(other.getGuide())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + DOCTORNAME_FIELD_NUMBER;
      hash = (53 * hash) + getDoctorName().hashCode();
      hash = (37 * hash) + STATUSNAME_FIELD_NUMBER;
      hash = (53 * hash) + getStatusName().hashCode();
      hash = (37 * hash) + ITEMNAME_FIELD_NUMBER;
      hash = (53 * hash) + getItemName().hashCode();
      hash = (37 * hash) + TITLE_FIELD_NUMBER;
      hash = (53 * hash) + getTitle().hashCode();
      hash = (37 * hash) + PATIENTNAME_FIELD_NUMBER;
      hash = (53 * hash) + getPatientName().hashCode();
      hash = (37 * hash) + SERIALNO_FIELD_NUMBER;
      hash = (53 * hash) + getSerialNo();
      hash = (37 * hash) + APPLYDATE_FIELD_NUMBER;
      hash = (53 * hash) + getApplyDate().hashCode();
      hash = (37 * hash) + DESC_FIELD_NUMBER;
      hash = (53 * hash) + getDesc().hashCode();
      hash = (37 * hash) + GUIDE_FIELD_NUMBER;
      hash = (53 * hash) + getGuide().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * <pre>
     *检验检查申请单
     * </pre>
     *
     * Protobuf type {@code com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply)
        com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApplyOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.ywt.gapi.third.taihe.TaiheProto.internal_static_com_ywt_gapi_third_taihe_GetTreatmentGuideResponse_InspectionApply_descriptor;
      }

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

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

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

        statusName_ = "";

        itemName_ = "";

        title_ = "";

        patientName_ = "";

        serialNo_ = 0;

        applyDate_ = "";

        desc_ = "";

        guide_ = "";

        return this;
      }

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

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

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

      @java.lang.Override
      public com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply buildPartial() {
        com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply result = new com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply(this);
        result.doctorName_ = doctorName_;
        result.statusName_ = statusName_;
        result.itemName_ = itemName_;
        result.title_ = title_;
        result.patientName_ = patientName_;
        result.serialNo_ = serialNo_;
        result.applyDate_ = applyDate_;
        result.desc_ = desc_;
        result.guide_ = guide_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply) {
          return mergeFrom((com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply other) {
        if (other == com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply.getDefaultInstance()) return this;
        if (!other.getDoctorName().isEmpty()) {
          doctorName_ = other.doctorName_;
          onChanged();
        }
        if (!other.getStatusName().isEmpty()) {
          statusName_ = other.statusName_;
          onChanged();
        }
        if (!other.getItemName().isEmpty()) {
          itemName_ = other.itemName_;
          onChanged();
        }
        if (!other.getTitle().isEmpty()) {
          title_ = other.title_;
          onChanged();
        }
        if (!other.getPatientName().isEmpty()) {
          patientName_ = other.patientName_;
          onChanged();
        }
        if (other.getSerialNo() != 0) {
          setSerialNo(other.getSerialNo());
        }
        if (!other.getApplyDate().isEmpty()) {
          applyDate_ = other.applyDate_;
          onChanged();
        }
        if (!other.getDesc().isEmpty()) {
          desc_ = other.desc_;
          onChanged();
        }
        if (!other.getGuide().isEmpty()) {
          guide_ = other.guide_;
          onChanged();
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

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

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

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

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

      private java.lang.Object itemName_ = "";
      /**
       * <code>string itemName = 3;</code>
       * @return The itemName.
       */
      public java.lang.String getItemName() {
        java.lang.Object ref = itemName_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          itemName_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string itemName = 3;</code>
       * @return The bytes for itemName.
       */
      public com.google.protobuf.ByteString
          getItemNameBytes() {
        java.lang.Object ref = itemName_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          itemName_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string itemName = 3;</code>
       * @param value The itemName to set.
       * @return This builder for chaining.
       */
      public Builder setItemName(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        itemName_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string itemName = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearItemName() {
        
        itemName_ = getDefaultInstance().getItemName();
        onChanged();
        return this;
      }
      /**
       * <code>string itemName = 3;</code>
       * @param value The bytes for itemName to set.
       * @return This builder for chaining.
       */
      public Builder setItemNameBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        itemName_ = value;
        onChanged();
        return this;
      }

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

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

      private int serialNo_ ;
      /**
       * <code>int32 serialNo = 6;</code>
       * @return The serialNo.
       */
      @java.lang.Override
      public int getSerialNo() {
        return serialNo_;
      }
      /**
       * <code>int32 serialNo = 6;</code>
       * @param value The serialNo to set.
       * @return This builder for chaining.
       */
      public Builder setSerialNo(int value) {
        
        serialNo_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int32 serialNo = 6;</code>
       * @return This builder for chaining.
       */
      public Builder clearSerialNo() {
        
        serialNo_ = 0;
        onChanged();
        return this;
      }

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

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

      private java.lang.Object guide_ = "";
      /**
       * <code>string guide = 9;</code>
       * @return The guide.
       */
      public java.lang.String getGuide() {
        java.lang.Object ref = guide_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          guide_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string guide = 9;</code>
       * @return The bytes for guide.
       */
      public com.google.protobuf.ByteString
          getGuideBytes() {
        java.lang.Object ref = guide_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          guide_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string guide = 9;</code>
       * @param value The guide to set.
       * @return This builder for chaining.
       */
      public Builder setGuide(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        guide_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string guide = 9;</code>
       * @return This builder for chaining.
       */
      public Builder clearGuide() {
        
        guide_ = getDefaultInstance().getGuide();
        onChanged();
        return this;
      }
      /**
       * <code>string guide = 9;</code>
       * @param value The bytes for guide to set.
       * @return This builder for chaining.
       */
      public Builder setGuideBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        guide_ = value;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

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


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

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

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

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

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

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

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

  }

  public static final int CODE_FIELD_NUMBER = 1;
  private int code_;
  /**
   * <code>int32 code = 1;</code>
   * @return The code.
   */
  @java.lang.Override
  public int getCode() {
    return code_;
  }

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

  public static final int DRUGAPPLY_FIELD_NUMBER = 3;
  private com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply drugApply_;
  /**
   * <pre>
   *药品申请单
   * </pre>
   *
   * <code>.com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply drugApply = 3;</code>
   * @return Whether the drugApply field is set.
   */
  @java.lang.Override
  public boolean hasDrugApply() {
    return drugApply_ != null;
  }
  /**
   * <pre>
   *药品申请单
   * </pre>
   *
   * <code>.com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply drugApply = 3;</code>
   * @return The drugApply.
   */
  @java.lang.Override
  public com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply getDrugApply() {
    return drugApply_ == null ? com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply.getDefaultInstance() : drugApply_;
  }
  /**
   * <pre>
   *药品申请单
   * </pre>
   *
   * <code>.com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply drugApply = 3;</code>
   */
  @java.lang.Override
  public com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApplyOrBuilder getDrugApplyOrBuilder() {
    return getDrugApply();
  }

  public static final int INSPECTIONAPPLY_FIELD_NUMBER = 4;
  private java.util.List<com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply> inspectionApply_;
  /**
   * <pre>
   *检查申请单
   * </pre>
   *
   * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply inspectionApply = 4;</code>
   */
  @java.lang.Override
  public java.util.List<com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply> getInspectionApplyList() {
    return inspectionApply_;
  }
  /**
   * <pre>
   *检查申请单
   * </pre>
   *
   * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply inspectionApply = 4;</code>
   */
  @java.lang.Override
  public java.util.List<? extends com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApplyOrBuilder> 
      getInspectionApplyOrBuilderList() {
    return inspectionApply_;
  }
  /**
   * <pre>
   *检查申请单
   * </pre>
   *
   * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply inspectionApply = 4;</code>
   */
  @java.lang.Override
  public int getInspectionApplyCount() {
    return inspectionApply_.size();
  }
  /**
   * <pre>
   *检查申请单
   * </pre>
   *
   * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply inspectionApply = 4;</code>
   */
  @java.lang.Override
  public com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply getInspectionApply(int index) {
    return inspectionApply_.get(index);
  }
  /**
   * <pre>
   *检查申请单
   * </pre>
   *
   * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply inspectionApply = 4;</code>
   */
  @java.lang.Override
  public com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApplyOrBuilder getInspectionApplyOrBuilder(
      int index) {
    return inspectionApply_.get(index);
  }

  public static final int LABORATORYAPPLY_FIELD_NUMBER = 5;
  private java.util.List<com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply> laboratoryApply_;
  /**
   * <pre>
   *检验申请单
   * </pre>
   *
   * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply laboratoryApply = 5;</code>
   */
  @java.lang.Override
  public java.util.List<com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply> getLaboratoryApplyList() {
    return laboratoryApply_;
  }
  /**
   * <pre>
   *检验申请单
   * </pre>
   *
   * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply laboratoryApply = 5;</code>
   */
  @java.lang.Override
  public java.util.List<? extends com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApplyOrBuilder> 
      getLaboratoryApplyOrBuilderList() {
    return laboratoryApply_;
  }
  /**
   * <pre>
   *检验申请单
   * </pre>
   *
   * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply laboratoryApply = 5;</code>
   */
  @java.lang.Override
  public int getLaboratoryApplyCount() {
    return laboratoryApply_.size();
  }
  /**
   * <pre>
   *检验申请单
   * </pre>
   *
   * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply laboratoryApply = 5;</code>
   */
  @java.lang.Override
  public com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply getLaboratoryApply(int index) {
    return laboratoryApply_.get(index);
  }
  /**
   * <pre>
   *检验申请单
   * </pre>
   *
   * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply laboratoryApply = 5;</code>
   */
  @java.lang.Override
  public com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApplyOrBuilder getLaboratoryApplyOrBuilder(
      int index) {
    return laboratoryApply_.get(index);
  }

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

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (code_ != 0) {
      output.writeInt32(1, code_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(msg_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, msg_);
    }
    if (drugApply_ != null) {
      output.writeMessage(3, getDrugApply());
    }
    for (int i = 0; i < inspectionApply_.size(); i++) {
      output.writeMessage(4, inspectionApply_.get(i));
    }
    for (int i = 0; i < laboratoryApply_.size(); i++) {
      output.writeMessage(5, laboratoryApply_.get(i));
    }
    unknownFields.writeTo(output);
  }

  @java.lang.Override
  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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(msg_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, msg_);
    }
    if (drugApply_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(3, getDrugApply());
    }
    for (int i = 0; i < inspectionApply_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(4, inspectionApply_.get(i));
    }
    for (int i = 0; i < laboratoryApply_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(5, laboratoryApply_.get(i));
    }
    size += unknownFields.getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof com.ywt.gapi.third.taihe.GetTreatmentGuideResponse)) {
      return super.equals(obj);
    }
    com.ywt.gapi.third.taihe.GetTreatmentGuideResponse other = (com.ywt.gapi.third.taihe.GetTreatmentGuideResponse) obj;

    if (getCode()
        != other.getCode()) return false;
    if (!getMsg()
        .equals(other.getMsg())) return false;
    if (hasDrugApply() != other.hasDrugApply()) return false;
    if (hasDrugApply()) {
      if (!getDrugApply()
          .equals(other.getDrugApply())) return false;
    }
    if (!getInspectionApplyList()
        .equals(other.getInspectionApplyList())) return false;
    if (!getLaboratoryApplyList()
        .equals(other.getLaboratoryApplyList())) return false;
    if (!unknownFields.equals(other.unknownFields)) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + CODE_FIELD_NUMBER;
    hash = (53 * hash) + getCode();
    hash = (37 * hash) + MSG_FIELD_NUMBER;
    hash = (53 * hash) + getMsg().hashCode();
    if (hasDrugApply()) {
      hash = (37 * hash) + DRUGAPPLY_FIELD_NUMBER;
      hash = (53 * hash) + getDrugApply().hashCode();
    }
    if (getInspectionApplyCount() > 0) {
      hash = (37 * hash) + INSPECTIONAPPLY_FIELD_NUMBER;
      hash = (53 * hash) + getInspectionApplyList().hashCode();
    }
    if (getLaboratoryApplyCount() > 0) {
      hash = (37 * hash) + LABORATORYAPPLY_FIELD_NUMBER;
      hash = (53 * hash) + getLaboratoryApplyList().hashCode();
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

  @java.lang.Override
  public Builder newBuilderForType() { return newBuilder(); }
  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }
  public static Builder newBuilder(com.ywt.gapi.third.taihe.GetTreatmentGuideResponse prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  @java.lang.Override
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE
        ? new Builder() : new Builder().mergeFrom(this);
  }

  @java.lang.Override
  protected Builder newBuilderForType(
      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * <pre>
   *获取治疗指引响应
   * </pre>
   *
   * Protobuf type {@code com.ywt.gapi.third.taihe.GetTreatmentGuideResponse}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:com.ywt.gapi.third.taihe.GetTreatmentGuideResponse)
      com.ywt.gapi.third.taihe.GetTreatmentGuideResponseOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.ywt.gapi.third.taihe.TaiheProto.internal_static_com_ywt_gapi_third_taihe_GetTreatmentGuideResponse_descriptor;
    }

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

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

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

      msg_ = "";

      if (drugApplyBuilder_ == null) {
        drugApply_ = null;
      } else {
        drugApply_ = null;
        drugApplyBuilder_ = null;
      }
      if (inspectionApplyBuilder_ == null) {
        inspectionApply_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
      } else {
        inspectionApplyBuilder_.clear();
      }
      if (laboratoryApplyBuilder_ == null) {
        laboratoryApply_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000002);
      } else {
        laboratoryApplyBuilder_.clear();
      }
      return this;
    }

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

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

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

    @java.lang.Override
    public com.ywt.gapi.third.taihe.GetTreatmentGuideResponse buildPartial() {
      com.ywt.gapi.third.taihe.GetTreatmentGuideResponse result = new com.ywt.gapi.third.taihe.GetTreatmentGuideResponse(this);
      int from_bitField0_ = bitField0_;
      result.code_ = code_;
      result.msg_ = msg_;
      if (drugApplyBuilder_ == null) {
        result.drugApply_ = drugApply_;
      } else {
        result.drugApply_ = drugApplyBuilder_.build();
      }
      if (inspectionApplyBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0)) {
          inspectionApply_ = java.util.Collections.unmodifiableList(inspectionApply_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.inspectionApply_ = inspectionApply_;
      } else {
        result.inspectionApply_ = inspectionApplyBuilder_.build();
      }
      if (laboratoryApplyBuilder_ == null) {
        if (((bitField0_ & 0x00000002) != 0)) {
          laboratoryApply_ = java.util.Collections.unmodifiableList(laboratoryApply_);
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.laboratoryApply_ = laboratoryApply_;
      } else {
        result.laboratoryApply_ = laboratoryApplyBuilder_.build();
      }
      onBuilt();
      return result;
    }

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

    public Builder mergeFrom(com.ywt.gapi.third.taihe.GetTreatmentGuideResponse other) {
      if (other == com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.getDefaultInstance()) return this;
      if (other.getCode() != 0) {
        setCode(other.getCode());
      }
      if (!other.getMsg().isEmpty()) {
        msg_ = other.msg_;
        onChanged();
      }
      if (other.hasDrugApply()) {
        mergeDrugApply(other.getDrugApply());
      }
      if (inspectionApplyBuilder_ == null) {
        if (!other.inspectionApply_.isEmpty()) {
          if (inspectionApply_.isEmpty()) {
            inspectionApply_ = other.inspectionApply_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureInspectionApplyIsMutable();
            inspectionApply_.addAll(other.inspectionApply_);
          }
          onChanged();
        }
      } else {
        if (!other.inspectionApply_.isEmpty()) {
          if (inspectionApplyBuilder_.isEmpty()) {
            inspectionApplyBuilder_.dispose();
            inspectionApplyBuilder_ = null;
            inspectionApply_ = other.inspectionApply_;
            bitField0_ = (bitField0_ & ~0x00000001);
            inspectionApplyBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getInspectionApplyFieldBuilder() : null;
          } else {
            inspectionApplyBuilder_.addAllMessages(other.inspectionApply_);
          }
        }
      }
      if (laboratoryApplyBuilder_ == null) {
        if (!other.laboratoryApply_.isEmpty()) {
          if (laboratoryApply_.isEmpty()) {
            laboratoryApply_ = other.laboratoryApply_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureLaboratoryApplyIsMutable();
            laboratoryApply_.addAll(other.laboratoryApply_);
          }
          onChanged();
        }
      } else {
        if (!other.laboratoryApply_.isEmpty()) {
          if (laboratoryApplyBuilder_.isEmpty()) {
            laboratoryApplyBuilder_.dispose();
            laboratoryApplyBuilder_ = null;
            laboratoryApply_ = other.laboratoryApply_;
            bitField0_ = (bitField0_ & ~0x00000002);
            laboratoryApplyBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getLaboratoryApplyFieldBuilder() : null;
          } else {
            laboratoryApplyBuilder_.addAllMessages(other.laboratoryApply_);
          }
        }
      }
      this.mergeUnknownFields(other.unknownFields);
      onChanged();
      return this;
    }

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

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

    private int code_ ;
    /**
     * <code>int32 code = 1;</code>
     * @return The code.
     */
    @java.lang.Override
    public int getCode() {
      return code_;
    }
    /**
     * <code>int32 code = 1;</code>
     * @param value The code to set.
     * @return This builder for chaining.
     */
    public Builder setCode(int value) {
      
      code_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 code = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearCode() {
      
      code_ = 0;
      onChanged();
      return this;
    }

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

    private com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply drugApply_;
    private com.google.protobuf.SingleFieldBuilderV3<
        com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply, com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply.Builder, com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApplyOrBuilder> drugApplyBuilder_;
    /**
     * <pre>
     *药品申请单
     * </pre>
     *
     * <code>.com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply drugApply = 3;</code>
     * @return Whether the drugApply field is set.
     */
    public boolean hasDrugApply() {
      return drugApplyBuilder_ != null || drugApply_ != null;
    }
    /**
     * <pre>
     *药品申请单
     * </pre>
     *
     * <code>.com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply drugApply = 3;</code>
     * @return The drugApply.
     */
    public com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply getDrugApply() {
      if (drugApplyBuilder_ == null) {
        return drugApply_ == null ? com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply.getDefaultInstance() : drugApply_;
      } else {
        return drugApplyBuilder_.getMessage();
      }
    }
    /**
     * <pre>
     *药品申请单
     * </pre>
     *
     * <code>.com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply drugApply = 3;</code>
     */
    public Builder setDrugApply(com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply value) {
      if (drugApplyBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        drugApply_ = value;
        onChanged();
      } else {
        drugApplyBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * <pre>
     *药品申请单
     * </pre>
     *
     * <code>.com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply drugApply = 3;</code>
     */
    public Builder setDrugApply(
        com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply.Builder builderForValue) {
      if (drugApplyBuilder_ == null) {
        drugApply_ = builderForValue.build();
        onChanged();
      } else {
        drugApplyBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * <pre>
     *药品申请单
     * </pre>
     *
     * <code>.com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply drugApply = 3;</code>
     */
    public Builder mergeDrugApply(com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply value) {
      if (drugApplyBuilder_ == null) {
        if (drugApply_ != null) {
          drugApply_ =
            com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply.newBuilder(drugApply_).mergeFrom(value).buildPartial();
        } else {
          drugApply_ = value;
        }
        onChanged();
      } else {
        drugApplyBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * <pre>
     *药品申请单
     * </pre>
     *
     * <code>.com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply drugApply = 3;</code>
     */
    public Builder clearDrugApply() {
      if (drugApplyBuilder_ == null) {
        drugApply_ = null;
        onChanged();
      } else {
        drugApply_ = null;
        drugApplyBuilder_ = null;
      }

      return this;
    }
    /**
     * <pre>
     *药品申请单
     * </pre>
     *
     * <code>.com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply drugApply = 3;</code>
     */
    public com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply.Builder getDrugApplyBuilder() {
      
      onChanged();
      return getDrugApplyFieldBuilder().getBuilder();
    }
    /**
     * <pre>
     *药品申请单
     * </pre>
     *
     * <code>.com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply drugApply = 3;</code>
     */
    public com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApplyOrBuilder getDrugApplyOrBuilder() {
      if (drugApplyBuilder_ != null) {
        return drugApplyBuilder_.getMessageOrBuilder();
      } else {
        return drugApply_ == null ?
            com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply.getDefaultInstance() : drugApply_;
      }
    }
    /**
     * <pre>
     *药品申请单
     * </pre>
     *
     * <code>.com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply drugApply = 3;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply, com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply.Builder, com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApplyOrBuilder> 
        getDrugApplyFieldBuilder() {
      if (drugApplyBuilder_ == null) {
        drugApplyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply, com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApply.Builder, com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.DrugApplyOrBuilder>(
                getDrugApply(),
                getParentForChildren(),
                isClean());
        drugApply_ = null;
      }
      return drugApplyBuilder_;
    }

    private java.util.List<com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply> inspectionApply_ =
      java.util.Collections.emptyList();
    private void ensureInspectionApplyIsMutable() {
      if (!((bitField0_ & 0x00000001) != 0)) {
        inspectionApply_ = new java.util.ArrayList<com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply>(inspectionApply_);
        bitField0_ |= 0x00000001;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply, com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply.Builder, com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApplyOrBuilder> inspectionApplyBuilder_;

    /**
     * <pre>
     *检查申请单
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply inspectionApply = 4;</code>
     */
    public java.util.List<com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply> getInspectionApplyList() {
      if (inspectionApplyBuilder_ == null) {
        return java.util.Collections.unmodifiableList(inspectionApply_);
      } else {
        return inspectionApplyBuilder_.getMessageList();
      }
    }
    /**
     * <pre>
     *检查申请单
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply inspectionApply = 4;</code>
     */
    public int getInspectionApplyCount() {
      if (inspectionApplyBuilder_ == null) {
        return inspectionApply_.size();
      } else {
        return inspectionApplyBuilder_.getCount();
      }
    }
    /**
     * <pre>
     *检查申请单
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply inspectionApply = 4;</code>
     */
    public com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply getInspectionApply(int index) {
      if (inspectionApplyBuilder_ == null) {
        return inspectionApply_.get(index);
      } else {
        return inspectionApplyBuilder_.getMessage(index);
      }
    }
    /**
     * <pre>
     *检查申请单
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply inspectionApply = 4;</code>
     */
    public Builder setInspectionApply(
        int index, com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply value) {
      if (inspectionApplyBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureInspectionApplyIsMutable();
        inspectionApply_.set(index, value);
        onChanged();
      } else {
        inspectionApplyBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * <pre>
     *检查申请单
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply inspectionApply = 4;</code>
     */
    public Builder setInspectionApply(
        int index, com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply.Builder builderForValue) {
      if (inspectionApplyBuilder_ == null) {
        ensureInspectionApplyIsMutable();
        inspectionApply_.set(index, builderForValue.build());
        onChanged();
      } else {
        inspectionApplyBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <pre>
     *检查申请单
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply inspectionApply = 4;</code>
     */
    public Builder addInspectionApply(com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply value) {
      if (inspectionApplyBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureInspectionApplyIsMutable();
        inspectionApply_.add(value);
        onChanged();
      } else {
        inspectionApplyBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * <pre>
     *检查申请单
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply inspectionApply = 4;</code>
     */
    public Builder addInspectionApply(
        int index, com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply value) {
      if (inspectionApplyBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureInspectionApplyIsMutable();
        inspectionApply_.add(index, value);
        onChanged();
      } else {
        inspectionApplyBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * <pre>
     *检查申请单
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply inspectionApply = 4;</code>
     */
    public Builder addInspectionApply(
        com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply.Builder builderForValue) {
      if (inspectionApplyBuilder_ == null) {
        ensureInspectionApplyIsMutable();
        inspectionApply_.add(builderForValue.build());
        onChanged();
      } else {
        inspectionApplyBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * <pre>
     *检查申请单
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply inspectionApply = 4;</code>
     */
    public Builder addInspectionApply(
        int index, com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply.Builder builderForValue) {
      if (inspectionApplyBuilder_ == null) {
        ensureInspectionApplyIsMutable();
        inspectionApply_.add(index, builderForValue.build());
        onChanged();
      } else {
        inspectionApplyBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <pre>
     *检查申请单
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply inspectionApply = 4;</code>
     */
    public Builder addAllInspectionApply(
        java.lang.Iterable<? extends com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply> values) {
      if (inspectionApplyBuilder_ == null) {
        ensureInspectionApplyIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, inspectionApply_);
        onChanged();
      } else {
        inspectionApplyBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * <pre>
     *检查申请单
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply inspectionApply = 4;</code>
     */
    public Builder clearInspectionApply() {
      if (inspectionApplyBuilder_ == null) {
        inspectionApply_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
      } else {
        inspectionApplyBuilder_.clear();
      }
      return this;
    }
    /**
     * <pre>
     *检查申请单
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply inspectionApply = 4;</code>
     */
    public Builder removeInspectionApply(int index) {
      if (inspectionApplyBuilder_ == null) {
        ensureInspectionApplyIsMutable();
        inspectionApply_.remove(index);
        onChanged();
      } else {
        inspectionApplyBuilder_.remove(index);
      }
      return this;
    }
    /**
     * <pre>
     *检查申请单
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply inspectionApply = 4;</code>
     */
    public com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply.Builder getInspectionApplyBuilder(
        int index) {
      return getInspectionApplyFieldBuilder().getBuilder(index);
    }
    /**
     * <pre>
     *检查申请单
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply inspectionApply = 4;</code>
     */
    public com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApplyOrBuilder getInspectionApplyOrBuilder(
        int index) {
      if (inspectionApplyBuilder_ == null) {
        return inspectionApply_.get(index);  } else {
        return inspectionApplyBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * <pre>
     *检查申请单
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply inspectionApply = 4;</code>
     */
    public java.util.List<? extends com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApplyOrBuilder> 
         getInspectionApplyOrBuilderList() {
      if (inspectionApplyBuilder_ != null) {
        return inspectionApplyBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(inspectionApply_);
      }
    }
    /**
     * <pre>
     *检查申请单
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply inspectionApply = 4;</code>
     */
    public com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply.Builder addInspectionApplyBuilder() {
      return getInspectionApplyFieldBuilder().addBuilder(
          com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply.getDefaultInstance());
    }
    /**
     * <pre>
     *检查申请单
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply inspectionApply = 4;</code>
     */
    public com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply.Builder addInspectionApplyBuilder(
        int index) {
      return getInspectionApplyFieldBuilder().addBuilder(
          index, com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply.getDefaultInstance());
    }
    /**
     * <pre>
     *检查申请单
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply inspectionApply = 4;</code>
     */
    public java.util.List<com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply.Builder> 
         getInspectionApplyBuilderList() {
      return getInspectionApplyFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply, com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply.Builder, com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApplyOrBuilder> 
        getInspectionApplyFieldBuilder() {
      if (inspectionApplyBuilder_ == null) {
        inspectionApplyBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply, com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply.Builder, com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApplyOrBuilder>(
                inspectionApply_,
                ((bitField0_ & 0x00000001) != 0),
                getParentForChildren(),
                isClean());
        inspectionApply_ = null;
      }
      return inspectionApplyBuilder_;
    }

    private java.util.List<com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply> laboratoryApply_ =
      java.util.Collections.emptyList();
    private void ensureLaboratoryApplyIsMutable() {
      if (!((bitField0_ & 0x00000002) != 0)) {
        laboratoryApply_ = new java.util.ArrayList<com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply>(laboratoryApply_);
        bitField0_ |= 0x00000002;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply, com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply.Builder, com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApplyOrBuilder> laboratoryApplyBuilder_;

    /**
     * <pre>
     *检验申请单
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply laboratoryApply = 5;</code>
     */
    public java.util.List<com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply> getLaboratoryApplyList() {
      if (laboratoryApplyBuilder_ == null) {
        return java.util.Collections.unmodifiableList(laboratoryApply_);
      } else {
        return laboratoryApplyBuilder_.getMessageList();
      }
    }
    /**
     * <pre>
     *检验申请单
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply laboratoryApply = 5;</code>
     */
    public int getLaboratoryApplyCount() {
      if (laboratoryApplyBuilder_ == null) {
        return laboratoryApply_.size();
      } else {
        return laboratoryApplyBuilder_.getCount();
      }
    }
    /**
     * <pre>
     *检验申请单
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply laboratoryApply = 5;</code>
     */
    public com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply getLaboratoryApply(int index) {
      if (laboratoryApplyBuilder_ == null) {
        return laboratoryApply_.get(index);
      } else {
        return laboratoryApplyBuilder_.getMessage(index);
      }
    }
    /**
     * <pre>
     *检验申请单
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply laboratoryApply = 5;</code>
     */
    public Builder setLaboratoryApply(
        int index, com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply value) {
      if (laboratoryApplyBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureLaboratoryApplyIsMutable();
        laboratoryApply_.set(index, value);
        onChanged();
      } else {
        laboratoryApplyBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * <pre>
     *检验申请单
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply laboratoryApply = 5;</code>
     */
    public Builder setLaboratoryApply(
        int index, com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply.Builder builderForValue) {
      if (laboratoryApplyBuilder_ == null) {
        ensureLaboratoryApplyIsMutable();
        laboratoryApply_.set(index, builderForValue.build());
        onChanged();
      } else {
        laboratoryApplyBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <pre>
     *检验申请单
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply laboratoryApply = 5;</code>
     */
    public Builder addLaboratoryApply(com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply value) {
      if (laboratoryApplyBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureLaboratoryApplyIsMutable();
        laboratoryApply_.add(value);
        onChanged();
      } else {
        laboratoryApplyBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * <pre>
     *检验申请单
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply laboratoryApply = 5;</code>
     */
    public Builder addLaboratoryApply(
        int index, com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply value) {
      if (laboratoryApplyBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureLaboratoryApplyIsMutable();
        laboratoryApply_.add(index, value);
        onChanged();
      } else {
        laboratoryApplyBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * <pre>
     *检验申请单
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply laboratoryApply = 5;</code>
     */
    public Builder addLaboratoryApply(
        com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply.Builder builderForValue) {
      if (laboratoryApplyBuilder_ == null) {
        ensureLaboratoryApplyIsMutable();
        laboratoryApply_.add(builderForValue.build());
        onChanged();
      } else {
        laboratoryApplyBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * <pre>
     *检验申请单
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply laboratoryApply = 5;</code>
     */
    public Builder addLaboratoryApply(
        int index, com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply.Builder builderForValue) {
      if (laboratoryApplyBuilder_ == null) {
        ensureLaboratoryApplyIsMutable();
        laboratoryApply_.add(index, builderForValue.build());
        onChanged();
      } else {
        laboratoryApplyBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <pre>
     *检验申请单
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply laboratoryApply = 5;</code>
     */
    public Builder addAllLaboratoryApply(
        java.lang.Iterable<? extends com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply> values) {
      if (laboratoryApplyBuilder_ == null) {
        ensureLaboratoryApplyIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, laboratoryApply_);
        onChanged();
      } else {
        laboratoryApplyBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * <pre>
     *检验申请单
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply laboratoryApply = 5;</code>
     */
    public Builder clearLaboratoryApply() {
      if (laboratoryApplyBuilder_ == null) {
        laboratoryApply_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
      } else {
        laboratoryApplyBuilder_.clear();
      }
      return this;
    }
    /**
     * <pre>
     *检验申请单
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply laboratoryApply = 5;</code>
     */
    public Builder removeLaboratoryApply(int index) {
      if (laboratoryApplyBuilder_ == null) {
        ensureLaboratoryApplyIsMutable();
        laboratoryApply_.remove(index);
        onChanged();
      } else {
        laboratoryApplyBuilder_.remove(index);
      }
      return this;
    }
    /**
     * <pre>
     *检验申请单
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply laboratoryApply = 5;</code>
     */
    public com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply.Builder getLaboratoryApplyBuilder(
        int index) {
      return getLaboratoryApplyFieldBuilder().getBuilder(index);
    }
    /**
     * <pre>
     *检验申请单
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply laboratoryApply = 5;</code>
     */
    public com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApplyOrBuilder getLaboratoryApplyOrBuilder(
        int index) {
      if (laboratoryApplyBuilder_ == null) {
        return laboratoryApply_.get(index);  } else {
        return laboratoryApplyBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * <pre>
     *检验申请单
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply laboratoryApply = 5;</code>
     */
    public java.util.List<? extends com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApplyOrBuilder> 
         getLaboratoryApplyOrBuilderList() {
      if (laboratoryApplyBuilder_ != null) {
        return laboratoryApplyBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(laboratoryApply_);
      }
    }
    /**
     * <pre>
     *检验申请单
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply laboratoryApply = 5;</code>
     */
    public com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply.Builder addLaboratoryApplyBuilder() {
      return getLaboratoryApplyFieldBuilder().addBuilder(
          com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply.getDefaultInstance());
    }
    /**
     * <pre>
     *检验申请单
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply laboratoryApply = 5;</code>
     */
    public com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply.Builder addLaboratoryApplyBuilder(
        int index) {
      return getLaboratoryApplyFieldBuilder().addBuilder(
          index, com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply.getDefaultInstance());
    }
    /**
     * <pre>
     *检验申请单
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply laboratoryApply = 5;</code>
     */
    public java.util.List<com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply.Builder> 
         getLaboratoryApplyBuilderList() {
      return getLaboratoryApplyFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply, com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply.Builder, com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApplyOrBuilder> 
        getLaboratoryApplyFieldBuilder() {
      if (laboratoryApplyBuilder_ == null) {
        laboratoryApplyBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply, com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApply.Builder, com.ywt.gapi.third.taihe.GetTreatmentGuideResponse.InspectionApplyOrBuilder>(
                laboratoryApply_,
                ((bitField0_ & 0x00000002) != 0),
                getParentForChildren(),
                isClean());
        laboratoryApply_ = null;
      }
      return laboratoryApplyBuilder_;
    }
    @java.lang.Override
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

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


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

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

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

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

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

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

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

}

