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

package com.ywt.gapi.third.taihe;

/**
 * Protobuf type {@code com.ywt.gapi.third.taihe.GetInPatInfoResponse}
 */
public final class GetInPatInfoResponse extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.third.taihe.GetInPatInfoResponse)
    GetInPatInfoResponseOrBuilder {
private static final long serialVersionUID = 0L;
  // Use GetInPatInfoResponse.newBuilder() to construct.
  private GetInPatInfoResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private GetInPatInfoResponse() {
    msg_ = "";
    patientId_ = "";
    patientName_ = "";
    sex_ = "";
    dOB_ = "";
    medical_ = "";
    credType_ = "";
    credNo_ = "";
    admNo_ = "";
    admDate_ = "";
    admDept_ = "";
    billNo_ = "";
    admReason_ = "";
    nationalCode_ = "";
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private GetInPatInfoResponse(
      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 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();

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

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

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

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

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

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

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

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

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

            nationalCode_ = s;
            break;
          }
          case 128: {

            totalAmount_ = input.readInt32();
            break;
          }
          case 136: {

            depositAmount_ = input.readInt32();
            break;
          }
          case 144: {

            depositBalance_ = input.readInt32();
            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_GetInPatInfoResponse_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_GetInPatInfoResponse_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.ywt.gapi.third.taihe.GetInPatInfoResponse.class, com.ywt.gapi.third.taihe.GetInPatInfoResponse.Builder.class);
  }

  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 PATIENTID_FIELD_NUMBER = 3;
  private volatile java.lang.Object patientId_;
  /**
   * <code>string patientId = 3;</code>
   * @return The patientId.
   */
  @java.lang.Override
  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>
   * @return The bytes for patientId.
   */
  @java.lang.Override
  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>
   * @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 SEX_FIELD_NUMBER = 5;
  private volatile java.lang.Object sex_;
  /**
   * <code>string sex = 5;</code>
   * @return The sex.
   */
  @java.lang.Override
  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>
   * @return The bytes for sex.
   */
  @java.lang.Override
  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 DOB_FIELD_NUMBER = 6;
  private volatile java.lang.Object dOB_;
  /**
   * <code>string dOB = 6;</code>
   * @return The dOB.
   */
  @java.lang.Override
  public java.lang.String getDOB() {
    java.lang.Object ref = dOB_;
    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();
      dOB_ = s;
      return s;
    }
  }
  /**
   * <code>string dOB = 6;</code>
   * @return The bytes for dOB.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDOBBytes() {
    java.lang.Object ref = dOB_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      dOB_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

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

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

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

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

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

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

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

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

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

  public static final int TOTALAMOUNT_FIELD_NUMBER = 16;
  private int totalAmount_;
  /**
   * <code>int32 totalAmount = 16;</code>
   * @return The totalAmount.
   */
  @java.lang.Override
  public int getTotalAmount() {
    return totalAmount_;
  }

  public static final int DEPOSITAMOUNT_FIELD_NUMBER = 17;
  private int depositAmount_;
  /**
   * <code>int32 depositAmount = 17;</code>
   * @return The depositAmount.
   */
  @java.lang.Override
  public int getDepositAmount() {
    return depositAmount_;
  }

  public static final int DEPOSITBALANCE_FIELD_NUMBER = 18;
  private int depositBalance_;
  /**
   * <code>int32 depositBalance = 18;</code>
   * @return The depositBalance.
   */
  @java.lang.Override
  public int getDepositBalance() {
    return depositBalance_;
  }

  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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(patientId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, patientId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(patientName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, patientName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sex_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, sex_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dOB_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, dOB_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(medical_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, medical_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(credType_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, credType_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(credNo_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, credNo_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(admNo_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, admNo_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(admDate_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 11, admDate_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(admDept_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 12, admDept_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(billNo_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 13, billNo_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(admReason_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 14, admReason_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nationalCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 15, nationalCode_);
    }
    if (totalAmount_ != 0) {
      output.writeInt32(16, totalAmount_);
    }
    if (depositAmount_ != 0) {
      output.writeInt32(17, depositAmount_);
    }
    if (depositBalance_ != 0) {
      output.writeInt32(18, depositBalance_);
    }
    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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(patientId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, patientId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(patientName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, patientName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sex_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, sex_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dOB_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, dOB_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(medical_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, medical_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(credType_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, credType_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(credNo_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, credNo_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(admNo_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, admNo_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(admDate_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, admDate_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(admDept_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, admDept_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(billNo_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, billNo_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(admReason_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, admReason_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nationalCode_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, nationalCode_);
    }
    if (totalAmount_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(16, totalAmount_);
    }
    if (depositAmount_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(17, depositAmount_);
    }
    if (depositBalance_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(18, depositBalance_);
    }
    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.GetInPatInfoResponse)) {
      return super.equals(obj);
    }
    com.ywt.gapi.third.taihe.GetInPatInfoResponse other = (com.ywt.gapi.third.taihe.GetInPatInfoResponse) obj;

    if (getCode()
        != other.getCode()) return false;
    if (!getMsg()
        .equals(other.getMsg())) return false;
    if (!getPatientId()
        .equals(other.getPatientId())) return false;
    if (!getPatientName()
        .equals(other.getPatientName())) return false;
    if (!getSex()
        .equals(other.getSex())) return false;
    if (!getDOB()
        .equals(other.getDOB())) return false;
    if (!getMedical()
        .equals(other.getMedical())) return false;
    if (!getCredType()
        .equals(other.getCredType())) return false;
    if (!getCredNo()
        .equals(other.getCredNo())) return false;
    if (!getAdmNo()
        .equals(other.getAdmNo())) return false;
    if (!getAdmDate()
        .equals(other.getAdmDate())) return false;
    if (!getAdmDept()
        .equals(other.getAdmDept())) return false;
    if (!getBillNo()
        .equals(other.getBillNo())) return false;
    if (!getAdmReason()
        .equals(other.getAdmReason())) return false;
    if (!getNationalCode()
        .equals(other.getNationalCode())) return false;
    if (getTotalAmount()
        != other.getTotalAmount()) return false;
    if (getDepositAmount()
        != other.getDepositAmount()) return false;
    if (getDepositBalance()
        != other.getDepositBalance()) 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();
    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) + DOB_FIELD_NUMBER;
    hash = (53 * hash) + getDOB().hashCode();
    hash = (37 * hash) + MEDICAL_FIELD_NUMBER;
    hash = (53 * hash) + getMedical().hashCode();
    hash = (37 * hash) + CREDTYPE_FIELD_NUMBER;
    hash = (53 * hash) + getCredType().hashCode();
    hash = (37 * hash) + CREDNO_FIELD_NUMBER;
    hash = (53 * hash) + getCredNo().hashCode();
    hash = (37 * hash) + ADMNO_FIELD_NUMBER;
    hash = (53 * hash) + getAdmNo().hashCode();
    hash = (37 * hash) + ADMDATE_FIELD_NUMBER;
    hash = (53 * hash) + getAdmDate().hashCode();
    hash = (37 * hash) + ADMDEPT_FIELD_NUMBER;
    hash = (53 * hash) + getAdmDept().hashCode();
    hash = (37 * hash) + BILLNO_FIELD_NUMBER;
    hash = (53 * hash) + getBillNo().hashCode();
    hash = (37 * hash) + ADMREASON_FIELD_NUMBER;
    hash = (53 * hash) + getAdmReason().hashCode();
    hash = (37 * hash) + NATIONALCODE_FIELD_NUMBER;
    hash = (53 * hash) + getNationalCode().hashCode();
    hash = (37 * hash) + TOTALAMOUNT_FIELD_NUMBER;
    hash = (53 * hash) + getTotalAmount();
    hash = (37 * hash) + DEPOSITAMOUNT_FIELD_NUMBER;
    hash = (53 * hash) + getDepositAmount();
    hash = (37 * hash) + DEPOSITBALANCE_FIELD_NUMBER;
    hash = (53 * hash) + getDepositBalance();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.ywt.gapi.third.taihe.GetInPatInfoResponse parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.third.taihe.GetInPatInfoResponse 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.GetInPatInfoResponse parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.third.taihe.GetInPatInfoResponse 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.GetInPatInfoResponse parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.third.taihe.GetInPatInfoResponse 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.GetInPatInfoResponse parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.third.taihe.GetInPatInfoResponse 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.GetInPatInfoResponse parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.third.taihe.GetInPatInfoResponse 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.GetInPatInfoResponse 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.GetInPatInfoResponse 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.GetInPatInfoResponse 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;
  }
  /**
   * Protobuf type {@code com.ywt.gapi.third.taihe.GetInPatInfoResponse}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:com.ywt.gapi.third.taihe.GetInPatInfoResponse)
      com.ywt.gapi.third.taihe.GetInPatInfoResponseOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.ywt.gapi.third.taihe.TaiheProto.internal_static_com_ywt_gapi_third_taihe_GetInPatInfoResponse_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_GetInPatInfoResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.ywt.gapi.third.taihe.GetInPatInfoResponse.class, com.ywt.gapi.third.taihe.GetInPatInfoResponse.Builder.class);
    }

    // Construct using com.ywt.gapi.third.taihe.GetInPatInfoResponse.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();
      code_ = 0;

      msg_ = "";

      patientId_ = "";

      patientName_ = "";

      sex_ = "";

      dOB_ = "";

      medical_ = "";

      credType_ = "";

      credNo_ = "";

      admNo_ = "";

      admDate_ = "";

      admDept_ = "";

      billNo_ = "";

      admReason_ = "";

      nationalCode_ = "";

      totalAmount_ = 0;

      depositAmount_ = 0;

      depositBalance_ = 0;

      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_GetInPatInfoResponse_descriptor;
    }

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

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

    @java.lang.Override
    public com.ywt.gapi.third.taihe.GetInPatInfoResponse buildPartial() {
      com.ywt.gapi.third.taihe.GetInPatInfoResponse result = new com.ywt.gapi.third.taihe.GetInPatInfoResponse(this);
      result.code_ = code_;
      result.msg_ = msg_;
      result.patientId_ = patientId_;
      result.patientName_ = patientName_;
      result.sex_ = sex_;
      result.dOB_ = dOB_;
      result.medical_ = medical_;
      result.credType_ = credType_;
      result.credNo_ = credNo_;
      result.admNo_ = admNo_;
      result.admDate_ = admDate_;
      result.admDept_ = admDept_;
      result.billNo_ = billNo_;
      result.admReason_ = admReason_;
      result.nationalCode_ = nationalCode_;
      result.totalAmount_ = totalAmount_;
      result.depositAmount_ = depositAmount_;
      result.depositBalance_ = depositBalance_;
      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.GetInPatInfoResponse) {
        return mergeFrom((com.ywt.gapi.third.taihe.GetInPatInfoResponse)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.ywt.gapi.third.taihe.GetInPatInfoResponse other) {
      if (other == com.ywt.gapi.third.taihe.GetInPatInfoResponse.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.getDOB().isEmpty()) {
        dOB_ = other.dOB_;
        onChanged();
      }
      if (!other.getMedical().isEmpty()) {
        medical_ = other.medical_;
        onChanged();
      }
      if (!other.getCredType().isEmpty()) {
        credType_ = other.credType_;
        onChanged();
      }
      if (!other.getCredNo().isEmpty()) {
        credNo_ = other.credNo_;
        onChanged();
      }
      if (!other.getAdmNo().isEmpty()) {
        admNo_ = other.admNo_;
        onChanged();
      }
      if (!other.getAdmDate().isEmpty()) {
        admDate_ = other.admDate_;
        onChanged();
      }
      if (!other.getAdmDept().isEmpty()) {
        admDept_ = other.admDept_;
        onChanged();
      }
      if (!other.getBillNo().isEmpty()) {
        billNo_ = other.billNo_;
        onChanged();
      }
      if (!other.getAdmReason().isEmpty()) {
        admReason_ = other.admReason_;
        onChanged();
      }
      if (!other.getNationalCode().isEmpty()) {
        nationalCode_ = other.nationalCode_;
        onChanged();
      }
      if (other.getTotalAmount() != 0) {
        setTotalAmount(other.getTotalAmount());
      }
      if (other.getDepositAmount() != 0) {
        setDepositAmount(other.getDepositAmount());
      }
      if (other.getDepositBalance() != 0) {
        setDepositBalance(other.getDepositBalance());
      }
      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.GetInPatInfoResponse parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.ywt.gapi.third.taihe.GetInPatInfoResponse) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    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 java.lang.Object patientId_ = "";
    /**
     * <code>string patientId = 3;</code>
     * @return The patientId.
     */
    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>
     * @return The bytes for patientId.
     */
    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>
     * @param value The patientId to set.
     * @return This builder for chaining.
     */
    public Builder setPatientId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      patientId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string patientId = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearPatientId() {
      
      patientId_ = getDefaultInstance().getPatientId();
      onChanged();
      return this;
    }
    /**
     * <code>string patientId = 3;</code>
     * @param value The bytes for patientId to set.
     * @return This builder for chaining.
     */
    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>
     * @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 java.lang.Object sex_ = "";
    /**
     * <code>string sex = 5;</code>
     * @return The sex.
     */
    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>
     * @return The bytes for sex.
     */
    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>
     * @param value The sex to set.
     * @return This builder for chaining.
     */
    public Builder setSex(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      sex_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string sex = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearSex() {
      
      sex_ = getDefaultInstance().getSex();
      onChanged();
      return this;
    }
    /**
     * <code>string sex = 5;</code>
     * @param value The bytes for sex to set.
     * @return This builder for chaining.
     */
    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 dOB_ = "";
    /**
     * <code>string dOB = 6;</code>
     * @return The dOB.
     */
    public java.lang.String getDOB() {
      java.lang.Object ref = dOB_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        dOB_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string dOB = 6;</code>
     * @return The bytes for dOB.
     */
    public com.google.protobuf.ByteString
        getDOBBytes() {
      java.lang.Object ref = dOB_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        dOB_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string dOB = 6;</code>
     * @param value The dOB to set.
     * @return This builder for chaining.
     */
    public Builder setDOB(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      dOB_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string dOB = 6;</code>
     * @return This builder for chaining.
     */
    public Builder clearDOB() {
      
      dOB_ = getDefaultInstance().getDOB();
      onChanged();
      return this;
    }
    /**
     * <code>string dOB = 6;</code>
     * @param value The bytes for dOB to set.
     * @return This builder for chaining.
     */
    public Builder setDOBBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      dOB_ = value;
      onChanged();
      return this;
    }

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

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

    private java.lang.Object credNo_ = "";
    /**
     * <code>string credNo = 9;</code>
     * @return The credNo.
     */
    public java.lang.String getCredNo() {
      java.lang.Object ref = credNo_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        credNo_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string credNo = 9;</code>
     * @return The bytes for credNo.
     */
    public com.google.protobuf.ByteString
        getCredNoBytes() {
      java.lang.Object ref = credNo_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        credNo_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string credNo = 9;</code>
     * @param value The credNo to set.
     * @return This builder for chaining.
     */
    public Builder setCredNo(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      credNo_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string credNo = 9;</code>
     * @return This builder for chaining.
     */
    public Builder clearCredNo() {
      
      credNo_ = getDefaultInstance().getCredNo();
      onChanged();
      return this;
    }
    /**
     * <code>string credNo = 9;</code>
     * @param value The bytes for credNo to set.
     * @return This builder for chaining.
     */
    public Builder setCredNoBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      credNo_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object admNo_ = "";
    /**
     * <code>string admNo = 10;</code>
     * @return The admNo.
     */
    public java.lang.String getAdmNo() {
      java.lang.Object ref = admNo_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        admNo_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string admNo = 10;</code>
     * @return The bytes for admNo.
     */
    public com.google.protobuf.ByteString
        getAdmNoBytes() {
      java.lang.Object ref = admNo_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        admNo_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string admNo = 10;</code>
     * @param value The admNo to set.
     * @return This builder for chaining.
     */
    public Builder setAdmNo(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      admNo_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string admNo = 10;</code>
     * @return This builder for chaining.
     */
    public Builder clearAdmNo() {
      
      admNo_ = getDefaultInstance().getAdmNo();
      onChanged();
      return this;
    }
    /**
     * <code>string admNo = 10;</code>
     * @param value The bytes for admNo to set.
     * @return This builder for chaining.
     */
    public Builder setAdmNoBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      admNo_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object admDate_ = "";
    /**
     * <code>string admDate = 11;</code>
     * @return The admDate.
     */
    public java.lang.String getAdmDate() {
      java.lang.Object ref = admDate_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        admDate_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string admDate = 11;</code>
     * @return The bytes for admDate.
     */
    public com.google.protobuf.ByteString
        getAdmDateBytes() {
      java.lang.Object ref = admDate_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        admDate_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string admDate = 11;</code>
     * @param value The admDate to set.
     * @return This builder for chaining.
     */
    public Builder setAdmDate(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      admDate_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string admDate = 11;</code>
     * @return This builder for chaining.
     */
    public Builder clearAdmDate() {
      
      admDate_ = getDefaultInstance().getAdmDate();
      onChanged();
      return this;
    }
    /**
     * <code>string admDate = 11;</code>
     * @param value The bytes for admDate to set.
     * @return This builder for chaining.
     */
    public Builder setAdmDateBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      admDate_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object admDept_ = "";
    /**
     * <code>string admDept = 12;</code>
     * @return The admDept.
     */
    public java.lang.String getAdmDept() {
      java.lang.Object ref = admDept_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        admDept_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string admDept = 12;</code>
     * @return The bytes for admDept.
     */
    public com.google.protobuf.ByteString
        getAdmDeptBytes() {
      java.lang.Object ref = admDept_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        admDept_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string admDept = 12;</code>
     * @param value The admDept to set.
     * @return This builder for chaining.
     */
    public Builder setAdmDept(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      admDept_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string admDept = 12;</code>
     * @return This builder for chaining.
     */
    public Builder clearAdmDept() {
      
      admDept_ = getDefaultInstance().getAdmDept();
      onChanged();
      return this;
    }
    /**
     * <code>string admDept = 12;</code>
     * @param value The bytes for admDept to set.
     * @return This builder for chaining.
     */
    public Builder setAdmDeptBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      admDept_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object billNo_ = "";
    /**
     * <code>string billNo = 13;</code>
     * @return The billNo.
     */
    public java.lang.String getBillNo() {
      java.lang.Object ref = billNo_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        billNo_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string billNo = 13;</code>
     * @return The bytes for billNo.
     */
    public com.google.protobuf.ByteString
        getBillNoBytes() {
      java.lang.Object ref = billNo_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        billNo_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string billNo = 13;</code>
     * @param value The billNo to set.
     * @return This builder for chaining.
     */
    public Builder setBillNo(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      billNo_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string billNo = 13;</code>
     * @return This builder for chaining.
     */
    public Builder clearBillNo() {
      
      billNo_ = getDefaultInstance().getBillNo();
      onChanged();
      return this;
    }
    /**
     * <code>string billNo = 13;</code>
     * @param value The bytes for billNo to set.
     * @return This builder for chaining.
     */
    public Builder setBillNoBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      billNo_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object admReason_ = "";
    /**
     * <code>string admReason = 14;</code>
     * @return The admReason.
     */
    public java.lang.String getAdmReason() {
      java.lang.Object ref = admReason_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        admReason_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string admReason = 14;</code>
     * @return The bytes for admReason.
     */
    public com.google.protobuf.ByteString
        getAdmReasonBytes() {
      java.lang.Object ref = admReason_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        admReason_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string admReason = 14;</code>
     * @param value The admReason to set.
     * @return This builder for chaining.
     */
    public Builder setAdmReason(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      admReason_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string admReason = 14;</code>
     * @return This builder for chaining.
     */
    public Builder clearAdmReason() {
      
      admReason_ = getDefaultInstance().getAdmReason();
      onChanged();
      return this;
    }
    /**
     * <code>string admReason = 14;</code>
     * @param value The bytes for admReason to set.
     * @return This builder for chaining.
     */
    public Builder setAdmReasonBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      admReason_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object nationalCode_ = "";
    /**
     * <code>string nationalCode = 15;</code>
     * @return The nationalCode.
     */
    public java.lang.String getNationalCode() {
      java.lang.Object ref = nationalCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        nationalCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string nationalCode = 15;</code>
     * @return The bytes for nationalCode.
     */
    public com.google.protobuf.ByteString
        getNationalCodeBytes() {
      java.lang.Object ref = nationalCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        nationalCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string nationalCode = 15;</code>
     * @param value The nationalCode to set.
     * @return This builder for chaining.
     */
    public Builder setNationalCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      nationalCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string nationalCode = 15;</code>
     * @return This builder for chaining.
     */
    public Builder clearNationalCode() {
      
      nationalCode_ = getDefaultInstance().getNationalCode();
      onChanged();
      return this;
    }
    /**
     * <code>string nationalCode = 15;</code>
     * @param value The bytes for nationalCode to set.
     * @return This builder for chaining.
     */
    public Builder setNationalCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      nationalCode_ = value;
      onChanged();
      return this;
    }

    private int totalAmount_ ;
    /**
     * <code>int32 totalAmount = 16;</code>
     * @return The totalAmount.
     */
    @java.lang.Override
    public int getTotalAmount() {
      return totalAmount_;
    }
    /**
     * <code>int32 totalAmount = 16;</code>
     * @param value The totalAmount to set.
     * @return This builder for chaining.
     */
    public Builder setTotalAmount(int value) {
      
      totalAmount_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 totalAmount = 16;</code>
     * @return This builder for chaining.
     */
    public Builder clearTotalAmount() {
      
      totalAmount_ = 0;
      onChanged();
      return this;
    }

    private int depositAmount_ ;
    /**
     * <code>int32 depositAmount = 17;</code>
     * @return The depositAmount.
     */
    @java.lang.Override
    public int getDepositAmount() {
      return depositAmount_;
    }
    /**
     * <code>int32 depositAmount = 17;</code>
     * @param value The depositAmount to set.
     * @return This builder for chaining.
     */
    public Builder setDepositAmount(int value) {
      
      depositAmount_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 depositAmount = 17;</code>
     * @return This builder for chaining.
     */
    public Builder clearDepositAmount() {
      
      depositAmount_ = 0;
      onChanged();
      return this;
    }

    private int depositBalance_ ;
    /**
     * <code>int32 depositBalance = 18;</code>
     * @return The depositBalance.
     */
    @java.lang.Override
    public int getDepositBalance() {
      return depositBalance_;
    }
    /**
     * <code>int32 depositBalance = 18;</code>
     * @param value The depositBalance to set.
     * @return This builder for chaining.
     */
    public Builder setDepositBalance(int value) {
      
      depositBalance_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 depositBalance = 18;</code>
     * @return This builder for chaining.
     */
    public Builder clearDepositBalance() {
      
      depositBalance_ = 0;
      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.GetInPatInfoResponse)
  }

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

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

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

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

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

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

}

