// 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.GetTreatmentGuideV2Response}
 */
public  final class GetTreatmentGuideV2Response extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.third.taihe.GetTreatmentGuideV2Response)
    GetTreatmentGuideV2ResponseOrBuilder {
  // Use GetTreatmentGuideV2Response.newBuilder() to construct.
  private GetTreatmentGuideV2Response(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private GetTreatmentGuideV2Response() {
    code_ = 0;
    msg_ = "";
    patientId_ = "";
    patientName_ = "";
    sex_ = "";
    age_ = "";
    payTime_ = "";
    patType_ = "";
    payAmt_ = "";
    diagnosis_ = "";
    doctorName_ = "";
    itemList_ = java.util.Collections.emptyList();
  }

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

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

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

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

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

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

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

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

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

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

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

            doctorName_ = s;
            break;
          }
          case 98: {
            if (!((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
              itemList_ = new java.util.ArrayList<com.ywt.gapi.third.taihe.TreamentGuideItem>();
              mutable_bitField0_ |= 0x00000800;
            }
            itemList_.add(
                input.readMessage(com.ywt.gapi.third.taihe.TreamentGuideItem.parser(), extensionRegistry));
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      if (((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
        itemList_ = java.util.Collections.unmodifiableList(itemList_);
      }
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.ywt.gapi.third.taihe.Taihe.internal_static_com_ywt_gapi_third_taihe_GetTreatmentGuideV2Response_descriptor;
  }

  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.ywt.gapi.third.taihe.Taihe.internal_static_com_ywt_gapi_third_taihe_GetTreatmentGuideV2Response_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.ywt.gapi.third.taihe.GetTreatmentGuideV2Response.class, com.ywt.gapi.third.taihe.GetTreatmentGuideV2Response.Builder.class);
  }

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

  public static final int MSG_FIELD_NUMBER = 2;
  private volatile java.lang.Object msg_;
  /**
   * <code>string msg = 2;</code>
   */
  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>
   */
  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 PATIENTID_FIELD_NUMBER = 3;
  private volatile java.lang.Object patientId_;
  /**
   * <code>string patientId = 3;</code>
   */
  public java.lang.String getPatientId() {
    java.lang.Object ref = patientId_;
    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();
      patientId_ = s;
      return s;
    }
  }
  /**
   * <code>string patientId = 3;</code>
   */
  public com.google.protobuf.ByteString
      getPatientIdBytes() {
    java.lang.Object ref = patientId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      patientId_ = 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>
   */
  public java.lang.String getPatientName() {
    java.lang.Object ref = patientName_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      patientName_ = s;
      return s;
    }
  }
  /**
   * <code>string patientName = 4;</code>
   */
  public com.google.protobuf.ByteString
      getPatientNameBytes() {
    java.lang.Object ref = patientName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      patientName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

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

  public static final int AGE_FIELD_NUMBER = 6;
  private volatile java.lang.Object age_;
  /**
   * <code>string age = 6;</code>
   */
  public java.lang.String getAge() {
    java.lang.Object ref = age_;
    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();
      age_ = s;
      return s;
    }
  }
  /**
   * <code>string age = 6;</code>
   */
  public com.google.protobuf.ByteString
      getAgeBytes() {
    java.lang.Object ref = age_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      age_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PAYTIME_FIELD_NUMBER = 7;
  private volatile java.lang.Object payTime_;
  /**
   * <code>string payTime = 7;</code>
   */
  public java.lang.String getPayTime() {
    java.lang.Object ref = payTime_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      payTime_ = s;
      return s;
    }
  }
  /**
   * <code>string payTime = 7;</code>
   */
  public com.google.protobuf.ByteString
      getPayTimeBytes() {
    java.lang.Object ref = payTime_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      payTime_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

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

  public static final int PAYAMT_FIELD_NUMBER = 9;
  private volatile java.lang.Object payAmt_;
  /**
   * <code>string payAmt = 9;</code>
   */
  public java.lang.String getPayAmt() {
    java.lang.Object ref = payAmt_;
    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();
      payAmt_ = s;
      return s;
    }
  }
  /**
   * <code>string payAmt = 9;</code>
   */
  public com.google.protobuf.ByteString
      getPayAmtBytes() {
    java.lang.Object ref = payAmt_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      payAmt_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DIAGNOSIS_FIELD_NUMBER = 10;
  private volatile java.lang.Object diagnosis_;
  /**
   * <code>string diagnosis = 10;</code>
   */
  public java.lang.String getDiagnosis() {
    java.lang.Object ref = diagnosis_;
    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();
      diagnosis_ = s;
      return s;
    }
  }
  /**
   * <code>string diagnosis = 10;</code>
   */
  public com.google.protobuf.ByteString
      getDiagnosisBytes() {
    java.lang.Object ref = diagnosis_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      diagnosis_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

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

  public static final int ITEMLIST_FIELD_NUMBER = 12;
  private java.util.List<com.ywt.gapi.third.taihe.TreamentGuideItem> itemList_;
  /**
   * <code>repeated .com.ywt.gapi.third.taihe.TreamentGuideItem itemList = 12;</code>
   */
  public java.util.List<com.ywt.gapi.third.taihe.TreamentGuideItem> getItemListList() {
    return itemList_;
  }
  /**
   * <code>repeated .com.ywt.gapi.third.taihe.TreamentGuideItem itemList = 12;</code>
   */
  public java.util.List<? extends com.ywt.gapi.third.taihe.TreamentGuideItemOrBuilder> 
      getItemListOrBuilderList() {
    return itemList_;
  }
  /**
   * <code>repeated .com.ywt.gapi.third.taihe.TreamentGuideItem itemList = 12;</code>
   */
  public int getItemListCount() {
    return itemList_.size();
  }
  /**
   * <code>repeated .com.ywt.gapi.third.taihe.TreamentGuideItem itemList = 12;</code>
   */
  public com.ywt.gapi.third.taihe.TreamentGuideItem getItemList(int index) {
    return itemList_.get(index);
  }
  /**
   * <code>repeated .com.ywt.gapi.third.taihe.TreamentGuideItem itemList = 12;</code>
   */
  public com.ywt.gapi.third.taihe.TreamentGuideItemOrBuilder getItemListOrBuilder(
      int index) {
    return itemList_.get(index);
  }

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

    memoizedIsInitialized = 1;
    return true;
  }

  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (code_ != 0) {
      output.writeInt32(1, code_);
    }
    if (!getMsgBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, msg_);
    }
    if (!getPatientIdBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, patientId_);
    }
    if (!getPatientNameBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, patientName_);
    }
    if (!getSexBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, sex_);
    }
    if (!getAgeBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, age_);
    }
    if (!getPayTimeBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, payTime_);
    }
    if (!getPatTypeBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, patType_);
    }
    if (!getPayAmtBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, payAmt_);
    }
    if (!getDiagnosisBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, diagnosis_);
    }
    if (!getDoctorNameBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 11, doctorName_);
    }
    for (int i = 0; i < itemList_.size(); i++) {
      output.writeMessage(12, itemList_.get(i));
    }
  }

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

    size = 0;
    if (code_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(1, code_);
    }
    if (!getMsgBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, msg_);
    }
    if (!getPatientIdBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, patientId_);
    }
    if (!getPatientNameBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, patientName_);
    }
    if (!getSexBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, sex_);
    }
    if (!getAgeBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, age_);
    }
    if (!getPayTimeBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, payTime_);
    }
    if (!getPatTypeBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, patType_);
    }
    if (!getPayAmtBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, payAmt_);
    }
    if (!getDiagnosisBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, diagnosis_);
    }
    if (!getDoctorNameBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, doctorName_);
    }
    for (int i = 0; i < itemList_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(12, itemList_.get(i));
    }
    memoizedSize = size;
    return size;
  }

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

    boolean result = true;
    result = result && (getCode()
        == other.getCode());
    result = result && getMsg()
        .equals(other.getMsg());
    result = result && getPatientId()
        .equals(other.getPatientId());
    result = result && getPatientName()
        .equals(other.getPatientName());
    result = result && getSex()
        .equals(other.getSex());
    result = result && getAge()
        .equals(other.getAge());
    result = result && getPayTime()
        .equals(other.getPayTime());
    result = result && getPatType()
        .equals(other.getPatType());
    result = result && getPayAmt()
        .equals(other.getPayAmt());
    result = result && getDiagnosis()
        .equals(other.getDiagnosis());
    result = result && getDoctorName()
        .equals(other.getDoctorName());
    result = result && getItemListList()
        .equals(other.getItemListList());
    return result;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + CODE_FIELD_NUMBER;
    hash = (53 * hash) + getCode();
    hash = (37 * hash) + MSG_FIELD_NUMBER;
    hash = (53 * hash) + getMsg().hashCode();
    hash = (37 * hash) + PATIENTID_FIELD_NUMBER;
    hash = (53 * hash) + getPatientId().hashCode();
    hash = (37 * hash) + PATIENTNAME_FIELD_NUMBER;
    hash = (53 * hash) + getPatientName().hashCode();
    hash = (37 * hash) + SEX_FIELD_NUMBER;
    hash = (53 * hash) + getSex().hashCode();
    hash = (37 * hash) + AGE_FIELD_NUMBER;
    hash = (53 * hash) + getAge().hashCode();
    hash = (37 * hash) + PAYTIME_FIELD_NUMBER;
    hash = (53 * hash) + getPayTime().hashCode();
    hash = (37 * hash) + PATTYPE_FIELD_NUMBER;
    hash = (53 * hash) + getPatType().hashCode();
    hash = (37 * hash) + PAYAMT_FIELD_NUMBER;
    hash = (53 * hash) + getPayAmt().hashCode();
    hash = (37 * hash) + DIAGNOSIS_FIELD_NUMBER;
    hash = (53 * hash) + getDiagnosis().hashCode();
    hash = (37 * hash) + DOCTORNAME_FIELD_NUMBER;
    hash = (53 * hash) + getDoctorName().hashCode();
    if (getItemListCount() > 0) {
      hash = (37 * hash) + ITEMLIST_FIELD_NUMBER;
      hash = (53 * hash) + getItemListList().hashCode();
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

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

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.ywt.gapi.third.taihe.Taihe.internal_static_com_ywt_gapi_third_taihe_GetTreatmentGuideV2Response_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.ywt.gapi.third.taihe.GetTreatmentGuideV2Response.class, com.ywt.gapi.third.taihe.GetTreatmentGuideV2Response.Builder.class);
    }

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

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

      msg_ = "";

      patientId_ = "";

      patientName_ = "";

      sex_ = "";

      age_ = "";

      payTime_ = "";

      patType_ = "";

      payAmt_ = "";

      diagnosis_ = "";

      doctorName_ = "";

      if (itemListBuilder_ == null) {
        itemList_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000800);
      } else {
        itemListBuilder_.clear();
      }
      return this;
    }

    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.ywt.gapi.third.taihe.Taihe.internal_static_com_ywt_gapi_third_taihe_GetTreatmentGuideV2Response_descriptor;
    }

    public com.ywt.gapi.third.taihe.GetTreatmentGuideV2Response getDefaultInstanceForType() {
      return com.ywt.gapi.third.taihe.GetTreatmentGuideV2Response.getDefaultInstance();
    }

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

    public com.ywt.gapi.third.taihe.GetTreatmentGuideV2Response buildPartial() {
      com.ywt.gapi.third.taihe.GetTreatmentGuideV2Response result = new com.ywt.gapi.third.taihe.GetTreatmentGuideV2Response(this);
      int from_bitField0_ = bitField0_;
      int to_bitField0_ = 0;
      result.code_ = code_;
      result.msg_ = msg_;
      result.patientId_ = patientId_;
      result.patientName_ = patientName_;
      result.sex_ = sex_;
      result.age_ = age_;
      result.payTime_ = payTime_;
      result.patType_ = patType_;
      result.payAmt_ = payAmt_;
      result.diagnosis_ = diagnosis_;
      result.doctorName_ = doctorName_;
      if (itemListBuilder_ == null) {
        if (((bitField0_ & 0x00000800) == 0x00000800)) {
          itemList_ = java.util.Collections.unmodifiableList(itemList_);
          bitField0_ = (bitField0_ & ~0x00000800);
        }
        result.itemList_ = itemList_;
      } else {
        result.itemList_ = itemListBuilder_.build();
      }
      result.bitField0_ = to_bitField0_;
      onBuilt();
      return result;
    }

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

    public Builder mergeFrom(com.ywt.gapi.third.taihe.GetTreatmentGuideV2Response other) {
      if (other == com.ywt.gapi.third.taihe.GetTreatmentGuideV2Response.getDefaultInstance()) return this;
      if (other.getCode() != 0) {
        setCode(other.getCode());
      }
      if (!other.getMsg().isEmpty()) {
        msg_ = other.msg_;
        onChanged();
      }
      if (!other.getPatientId().isEmpty()) {
        patientId_ = other.patientId_;
        onChanged();
      }
      if (!other.getPatientName().isEmpty()) {
        patientName_ = other.patientName_;
        onChanged();
      }
      if (!other.getSex().isEmpty()) {
        sex_ = other.sex_;
        onChanged();
      }
      if (!other.getAge().isEmpty()) {
        age_ = other.age_;
        onChanged();
      }
      if (!other.getPayTime().isEmpty()) {
        payTime_ = other.payTime_;
        onChanged();
      }
      if (!other.getPatType().isEmpty()) {
        patType_ = other.patType_;
        onChanged();
      }
      if (!other.getPayAmt().isEmpty()) {
        payAmt_ = other.payAmt_;
        onChanged();
      }
      if (!other.getDiagnosis().isEmpty()) {
        diagnosis_ = other.diagnosis_;
        onChanged();
      }
      if (!other.getDoctorName().isEmpty()) {
        doctorName_ = other.doctorName_;
        onChanged();
      }
      if (itemListBuilder_ == null) {
        if (!other.itemList_.isEmpty()) {
          if (itemList_.isEmpty()) {
            itemList_ = other.itemList_;
            bitField0_ = (bitField0_ & ~0x00000800);
          } else {
            ensureItemListIsMutable();
            itemList_.addAll(other.itemList_);
          }
          onChanged();
        }
      } else {
        if (!other.itemList_.isEmpty()) {
          if (itemListBuilder_.isEmpty()) {
            itemListBuilder_.dispose();
            itemListBuilder_ = null;
            itemList_ = other.itemList_;
            bitField0_ = (bitField0_ & ~0x00000800);
            itemListBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getItemListFieldBuilder() : null;
          } else {
            itemListBuilder_.addAllMessages(other.itemList_);
          }
        }
      }
      onChanged();
      return this;
    }

    public final boolean isInitialized() {
      return true;
    }

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

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

    private java.lang.Object msg_ = "";
    /**
     * <code>string msg = 2;</code>
     */
    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>
     */
    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>
     */
    public Builder setMsg(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      msg_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string msg = 2;</code>
     */
    public Builder clearMsg() {
      
      msg_ = getDefaultInstance().getMsg();
      onChanged();
      return this;
    }
    /**
     * <code>string msg = 2;</code>
     */
    public Builder setMsgBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      msg_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object patientId_ = "";
    /**
     * <code>string patientId = 3;</code>
     */
    public java.lang.String getPatientId() {
      java.lang.Object ref = patientId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        patientId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string patientId = 3;</code>
     */
    public com.google.protobuf.ByteString
        getPatientIdBytes() {
      java.lang.Object ref = patientId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        patientId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string patientId = 3;</code>
     */
    public Builder setPatientId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      patientId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string patientId = 3;</code>
     */
    public Builder clearPatientId() {
      
      patientId_ = getDefaultInstance().getPatientId();
      onChanged();
      return this;
    }
    /**
     * <code>string patientId = 3;</code>
     */
    public Builder setPatientIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      patientId_ = value;
      onChanged();
      return this;
    }

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

    private java.lang.Object sex_ = "";
    /**
     * <code>string sex = 5;</code>
     */
    public java.lang.String getSex() {
      java.lang.Object ref = sex_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        sex_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string sex = 5;</code>
     */
    public com.google.protobuf.ByteString
        getSexBytes() {
      java.lang.Object ref = sex_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        sex_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string sex = 5;</code>
     */
    public Builder setSex(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      sex_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string sex = 5;</code>
     */
    public Builder clearSex() {
      
      sex_ = getDefaultInstance().getSex();
      onChanged();
      return this;
    }
    /**
     * <code>string sex = 5;</code>
     */
    public Builder setSexBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      sex_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object age_ = "";
    /**
     * <code>string age = 6;</code>
     */
    public java.lang.String getAge() {
      java.lang.Object ref = age_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        age_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string age = 6;</code>
     */
    public com.google.protobuf.ByteString
        getAgeBytes() {
      java.lang.Object ref = age_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        age_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string age = 6;</code>
     */
    public Builder setAge(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      age_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string age = 6;</code>
     */
    public Builder clearAge() {
      
      age_ = getDefaultInstance().getAge();
      onChanged();
      return this;
    }
    /**
     * <code>string age = 6;</code>
     */
    public Builder setAgeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      age_ = value;
      onChanged();
      return this;
    }

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

    private java.lang.Object patType_ = "";
    /**
     * <code>string patType = 8;</code>
     */
    public java.lang.String getPatType() {
      java.lang.Object ref = patType_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        patType_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string patType = 8;</code>
     */
    public com.google.protobuf.ByteString
        getPatTypeBytes() {
      java.lang.Object ref = patType_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        patType_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string patType = 8;</code>
     */
    public Builder setPatType(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      patType_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string patType = 8;</code>
     */
    public Builder clearPatType() {
      
      patType_ = getDefaultInstance().getPatType();
      onChanged();
      return this;
    }
    /**
     * <code>string patType = 8;</code>
     */
    public Builder setPatTypeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      patType_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object payAmt_ = "";
    /**
     * <code>string payAmt = 9;</code>
     */
    public java.lang.String getPayAmt() {
      java.lang.Object ref = payAmt_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        payAmt_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string payAmt = 9;</code>
     */
    public com.google.protobuf.ByteString
        getPayAmtBytes() {
      java.lang.Object ref = payAmt_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        payAmt_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string payAmt = 9;</code>
     */
    public Builder setPayAmt(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      payAmt_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string payAmt = 9;</code>
     */
    public Builder clearPayAmt() {
      
      payAmt_ = getDefaultInstance().getPayAmt();
      onChanged();
      return this;
    }
    /**
     * <code>string payAmt = 9;</code>
     */
    public Builder setPayAmtBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      payAmt_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object diagnosis_ = "";
    /**
     * <code>string diagnosis = 10;</code>
     */
    public java.lang.String getDiagnosis() {
      java.lang.Object ref = diagnosis_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        diagnosis_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string diagnosis = 10;</code>
     */
    public com.google.protobuf.ByteString
        getDiagnosisBytes() {
      java.lang.Object ref = diagnosis_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        diagnosis_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string diagnosis = 10;</code>
     */
    public Builder setDiagnosis(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      diagnosis_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string diagnosis = 10;</code>
     */
    public Builder clearDiagnosis() {
      
      diagnosis_ = getDefaultInstance().getDiagnosis();
      onChanged();
      return this;
    }
    /**
     * <code>string diagnosis = 10;</code>
     */
    public Builder setDiagnosisBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      diagnosis_ = value;
      onChanged();
      return this;
    }

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

    private java.util.List<com.ywt.gapi.third.taihe.TreamentGuideItem> itemList_ =
      java.util.Collections.emptyList();
    private void ensureItemListIsMutable() {
      if (!((bitField0_ & 0x00000800) == 0x00000800)) {
        itemList_ = new java.util.ArrayList<com.ywt.gapi.third.taihe.TreamentGuideItem>(itemList_);
        bitField0_ |= 0x00000800;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.ywt.gapi.third.taihe.TreamentGuideItem, com.ywt.gapi.third.taihe.TreamentGuideItem.Builder, com.ywt.gapi.third.taihe.TreamentGuideItemOrBuilder> itemListBuilder_;

    /**
     * <code>repeated .com.ywt.gapi.third.taihe.TreamentGuideItem itemList = 12;</code>
     */
    public java.util.List<com.ywt.gapi.third.taihe.TreamentGuideItem> getItemListList() {
      if (itemListBuilder_ == null) {
        return java.util.Collections.unmodifiableList(itemList_);
      } else {
        return itemListBuilder_.getMessageList();
      }
    }
    /**
     * <code>repeated .com.ywt.gapi.third.taihe.TreamentGuideItem itemList = 12;</code>
     */
    public int getItemListCount() {
      if (itemListBuilder_ == null) {
        return itemList_.size();
      } else {
        return itemListBuilder_.getCount();
      }
    }
    /**
     * <code>repeated .com.ywt.gapi.third.taihe.TreamentGuideItem itemList = 12;</code>
     */
    public com.ywt.gapi.third.taihe.TreamentGuideItem getItemList(int index) {
      if (itemListBuilder_ == null) {
        return itemList_.get(index);
      } else {
        return itemListBuilder_.getMessage(index);
      }
    }
    /**
     * <code>repeated .com.ywt.gapi.third.taihe.TreamentGuideItem itemList = 12;</code>
     */
    public Builder setItemList(
        int index, com.ywt.gapi.third.taihe.TreamentGuideItem value) {
      if (itemListBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureItemListIsMutable();
        itemList_.set(index, value);
        onChanged();
      } else {
        itemListBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.third.taihe.TreamentGuideItem itemList = 12;</code>
     */
    public Builder setItemList(
        int index, com.ywt.gapi.third.taihe.TreamentGuideItem.Builder builderForValue) {
      if (itemListBuilder_ == null) {
        ensureItemListIsMutable();
        itemList_.set(index, builderForValue.build());
        onChanged();
      } else {
        itemListBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.third.taihe.TreamentGuideItem itemList = 12;</code>
     */
    public Builder addItemList(com.ywt.gapi.third.taihe.TreamentGuideItem value) {
      if (itemListBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureItemListIsMutable();
        itemList_.add(value);
        onChanged();
      } else {
        itemListBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.third.taihe.TreamentGuideItem itemList = 12;</code>
     */
    public Builder addItemList(
        int index, com.ywt.gapi.third.taihe.TreamentGuideItem value) {
      if (itemListBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureItemListIsMutable();
        itemList_.add(index, value);
        onChanged();
      } else {
        itemListBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.third.taihe.TreamentGuideItem itemList = 12;</code>
     */
    public Builder addItemList(
        com.ywt.gapi.third.taihe.TreamentGuideItem.Builder builderForValue) {
      if (itemListBuilder_ == null) {
        ensureItemListIsMutable();
        itemList_.add(builderForValue.build());
        onChanged();
      } else {
        itemListBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.third.taihe.TreamentGuideItem itemList = 12;</code>
     */
    public Builder addItemList(
        int index, com.ywt.gapi.third.taihe.TreamentGuideItem.Builder builderForValue) {
      if (itemListBuilder_ == null) {
        ensureItemListIsMutable();
        itemList_.add(index, builderForValue.build());
        onChanged();
      } else {
        itemListBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.third.taihe.TreamentGuideItem itemList = 12;</code>
     */
    public Builder addAllItemList(
        java.lang.Iterable<? extends com.ywt.gapi.third.taihe.TreamentGuideItem> values) {
      if (itemListBuilder_ == null) {
        ensureItemListIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, itemList_);
        onChanged();
      } else {
        itemListBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.third.taihe.TreamentGuideItem itemList = 12;</code>
     */
    public Builder clearItemList() {
      if (itemListBuilder_ == null) {
        itemList_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000800);
        onChanged();
      } else {
        itemListBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.third.taihe.TreamentGuideItem itemList = 12;</code>
     */
    public Builder removeItemList(int index) {
      if (itemListBuilder_ == null) {
        ensureItemListIsMutable();
        itemList_.remove(index);
        onChanged();
      } else {
        itemListBuilder_.remove(index);
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.third.taihe.TreamentGuideItem itemList = 12;</code>
     */
    public com.ywt.gapi.third.taihe.TreamentGuideItem.Builder getItemListBuilder(
        int index) {
      return getItemListFieldBuilder().getBuilder(index);
    }
    /**
     * <code>repeated .com.ywt.gapi.third.taihe.TreamentGuideItem itemList = 12;</code>
     */
    public com.ywt.gapi.third.taihe.TreamentGuideItemOrBuilder getItemListOrBuilder(
        int index) {
      if (itemListBuilder_ == null) {
        return itemList_.get(index);  } else {
        return itemListBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * <code>repeated .com.ywt.gapi.third.taihe.TreamentGuideItem itemList = 12;</code>
     */
    public java.util.List<? extends com.ywt.gapi.third.taihe.TreamentGuideItemOrBuilder> 
         getItemListOrBuilderList() {
      if (itemListBuilder_ != null) {
        return itemListBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(itemList_);
      }
    }
    /**
     * <code>repeated .com.ywt.gapi.third.taihe.TreamentGuideItem itemList = 12;</code>
     */
    public com.ywt.gapi.third.taihe.TreamentGuideItem.Builder addItemListBuilder() {
      return getItemListFieldBuilder().addBuilder(
          com.ywt.gapi.third.taihe.TreamentGuideItem.getDefaultInstance());
    }
    /**
     * <code>repeated .com.ywt.gapi.third.taihe.TreamentGuideItem itemList = 12;</code>
     */
    public com.ywt.gapi.third.taihe.TreamentGuideItem.Builder addItemListBuilder(
        int index) {
      return getItemListFieldBuilder().addBuilder(
          index, com.ywt.gapi.third.taihe.TreamentGuideItem.getDefaultInstance());
    }
    /**
     * <code>repeated .com.ywt.gapi.third.taihe.TreamentGuideItem itemList = 12;</code>
     */
    public java.util.List<com.ywt.gapi.third.taihe.TreamentGuideItem.Builder> 
         getItemListBuilderList() {
      return getItemListFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.ywt.gapi.third.taihe.TreamentGuideItem, com.ywt.gapi.third.taihe.TreamentGuideItem.Builder, com.ywt.gapi.third.taihe.TreamentGuideItemOrBuilder> 
        getItemListFieldBuilder() {
      if (itemListBuilder_ == null) {
        itemListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            com.ywt.gapi.third.taihe.TreamentGuideItem, com.ywt.gapi.third.taihe.TreamentGuideItem.Builder, com.ywt.gapi.third.taihe.TreamentGuideItemOrBuilder>(
                itemList_,
                ((bitField0_ & 0x00000800) == 0x00000800),
                getParentForChildren(),
                isClean());
        itemList_ = null;
      }
      return itemListBuilder_;
    }
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return this;
    }

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


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

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

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

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

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

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

  public com.ywt.gapi.third.taihe.GetTreatmentGuideV2Response getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

