// 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.GetInsuOPDividePreRequest}
 */
public final class GetInsuOPDividePreRequest extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.third.taihe.GetInsuOPDividePreRequest)
    GetInsuOPDividePreRequestOrBuilder {
private static final long serialVersionUID = 0L;
  // Use GetInsuOPDividePreRequest.newBuilder() to construct.
  private GetInsuOPDividePreRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private GetInsuOPDividePreRequest() {
    invoiceNo_ = "";
    curIns_ = "";
    idNo_ = "";
    medType_ = "";
    psnMedType_ = "";
    medTypeName_ = "";
    mdtrtCertType_ = "";
    psnCertType_ = "";
    clinicCode_ = "";
    orderInsType_ = "";
  }

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

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

            invoiceNo_ = s;
            break;
          }
          case 16: {

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

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

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

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

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

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

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

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

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

            orderInsType_ = s;
            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.ywt.gapi.third.taihe.TaiheProto.internal_static_com_ywt_gapi_third_taihe_GetInsuOPDividePreRequest_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_GetInsuOPDividePreRequest_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.ywt.gapi.third.taihe.GetInsuOPDividePreRequest.class, com.ywt.gapi.third.taihe.GetInsuOPDividePreRequest.Builder.class);
  }

  public static final int INVOICENO_FIELD_NUMBER = 1;
  private volatile java.lang.Object invoiceNo_;
  /**
   * <pre>
   *发票号	
   * </pre>
   *
   * <code>string invoiceNo = 1;</code>
   * @return The invoiceNo.
   */
  @java.lang.Override
  public java.lang.String getInvoiceNo() {
    java.lang.Object ref = invoiceNo_;
    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();
      invoiceNo_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *发票号	
   * </pre>
   *
   * <code>string invoiceNo = 1;</code>
   * @return The bytes for invoiceNo.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getInvoiceNoBytes() {
    java.lang.Object ref = invoiceNo_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      invoiceNo_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int HOSPITALID_FIELD_NUMBER = 2;
  private int hospitalId_;
  /**
   * <code>int32 hospitalId = 2;</code>
   * @return The hospitalId.
   */
  @java.lang.Override
  public int getHospitalId() {
    return hospitalId_;
  }

  public static final int CURINS_FIELD_NUMBER = 3;
  private volatile java.lang.Object curIns_;
  /**
   * <pre>
   *费别
   * </pre>
   *
   * <code>string curIns = 3;</code>
   * @return The curIns.
   */
  @java.lang.Override
  public java.lang.String getCurIns() {
    java.lang.Object ref = curIns_;
    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();
      curIns_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *费别
   * </pre>
   *
   * <code>string curIns = 3;</code>
   * @return The bytes for curIns.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getCurInsBytes() {
    java.lang.Object ref = curIns_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      curIns_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int IDNO_FIELD_NUMBER = 4;
  private volatile java.lang.Object idNo_;
  /**
   * <pre>
   *身份证号
   * </pre>
   *
   * <code>string idNo = 4;</code>
   * @return The idNo.
   */
  @java.lang.Override
  public java.lang.String getIdNo() {
    java.lang.Object ref = idNo_;
    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();
      idNo_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *身份证号
   * </pre>
   *
   * <code>string idNo = 4;</code>
   * @return The bytes for idNo.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getIdNoBytes() {
    java.lang.Object ref = idNo_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      idNo_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int MEDTYPE_FIELD_NUMBER = 5;
  private volatile java.lang.Object medType_;
  /**
   * <pre>
   *病种类型：普通门诊传11，门诊慢特病传14
   * </pre>
   *
   * <code>string medType = 5;</code>
   * @return The medType.
   */
  @java.lang.Override
  public java.lang.String getMedType() {
    java.lang.Object ref = medType_;
    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();
      medType_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *病种类型：普通门诊传11，门诊慢特病传14
   * </pre>
   *
   * <code>string medType = 5;</code>
   * @return The bytes for medType.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getMedTypeBytes() {
    java.lang.Object ref = medType_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      medType_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PSNMEDTYPE_FIELD_NUMBER = 6;
  private volatile java.lang.Object psnMedType_;
  /**
   * <pre>
   *医疗待遇类别,先固定传110
   * </pre>
   *
   * <code>string psnMedType = 6;</code>
   * @return The psnMedType.
   */
  @java.lang.Override
  public java.lang.String getPsnMedType() {
    java.lang.Object ref = psnMedType_;
    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();
      psnMedType_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *医疗待遇类别,先固定传110
   * </pre>
   *
   * <code>string psnMedType = 6;</code>
   * @return The bytes for psnMedType.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getPsnMedTypeBytes() {
    java.lang.Object ref = psnMedType_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      psnMedType_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int MEDTYPENAME_FIELD_NUMBER = 7;
  private volatile java.lang.Object medTypeName_;
  /**
   * <pre>
   *医疗待遇类别名称，先固定传普通门诊
   * </pre>
   *
   * <code>string medTypeName = 7;</code>
   * @return The medTypeName.
   */
  @java.lang.Override
  public java.lang.String getMedTypeName() {
    java.lang.Object ref = medTypeName_;
    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();
      medTypeName_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *医疗待遇类别名称，先固定传普通门诊
   * </pre>
   *
   * <code>string medTypeName = 7;</code>
   * @return The bytes for medTypeName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getMedTypeNameBytes() {
    java.lang.Object ref = medTypeName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      medTypeName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int MDTRTCERTTYPE_FIELD_NUMBER = 8;
  private volatile java.lang.Object mdtrtCertType_;
  /**
   * <pre>
   *病种类型 默认01
   * </pre>
   *
   * <code>string mdtrtCertType = 8;</code>
   * @return The mdtrtCertType.
   */
  @java.lang.Override
  public java.lang.String getMdtrtCertType() {
    java.lang.Object ref = mdtrtCertType_;
    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();
      mdtrtCertType_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *病种类型 默认01
   * </pre>
   *
   * <code>string mdtrtCertType = 8;</code>
   * @return The bytes for mdtrtCertType.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getMdtrtCertTypeBytes() {
    java.lang.Object ref = mdtrtCertType_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      mdtrtCertType_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PSNCERTTYPE_FIELD_NUMBER = 9;
  private volatile java.lang.Object psnCertType_;
  /**
   * <pre>
   *医疗待遇类别 默认02
   * </pre>
   *
   * <code>string psnCertType = 9;</code>
   * @return The psnCertType.
   */
  @java.lang.Override
  public java.lang.String getPsnCertType() {
    java.lang.Object ref = psnCertType_;
    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();
      psnCertType_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *医疗待遇类别 默认02
   * </pre>
   *
   * <code>string psnCertType = 9;</code>
   * @return The bytes for psnCertType.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getPsnCertTypeBytes() {
    java.lang.Object ref = psnCertType_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      psnCertType_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int CLINICCODE_FIELD_NUMBER = 10;
  private volatile java.lang.Object clinicCode_;
  /**
   * <pre>
   *就诊号
   * </pre>
   *
   * <code>string clinicCode = 10;</code>
   * @return The clinicCode.
   */
  @java.lang.Override
  public java.lang.String getClinicCode() {
    java.lang.Object ref = clinicCode_;
    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();
      clinicCode_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *就诊号
   * </pre>
   *
   * <code>string clinicCode = 10;</code>
   * @return The bytes for clinicCode.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getClinicCodeBytes() {
    java.lang.Object ref = clinicCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      clinicCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ORDERINSTYPE_FIELD_NUMBER = 11;
  private volatile java.lang.Object orderInsType_;
  /**
   * <pre>
   * 订单医保类型，由 HIS 从待缴费列表返回
   * </pre>
   *
   * <code>string orderInsType = 11;</code>
   * @return The orderInsType.
   */
  @java.lang.Override
  public java.lang.String getOrderInsType() {
    java.lang.Object ref = orderInsType_;
    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();
      orderInsType_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 订单医保类型，由 HIS 从待缴费列表返回
   * </pre>
   *
   * <code>string orderInsType = 11;</code>
   * @return The bytes for orderInsType.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getOrderInsTypeBytes() {
    java.lang.Object ref = orderInsType_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      orderInsType_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

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

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(invoiceNo_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, invoiceNo_);
    }
    if (hospitalId_ != 0) {
      output.writeInt32(2, hospitalId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(curIns_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, curIns_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(idNo_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, idNo_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(medType_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, medType_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(psnMedType_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, psnMedType_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(medTypeName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, medTypeName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mdtrtCertType_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, mdtrtCertType_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(psnCertType_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, psnCertType_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clinicCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, clinicCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderInsType_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 11, orderInsType_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(invoiceNo_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, invoiceNo_);
    }
    if (hospitalId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(2, hospitalId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(curIns_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, curIns_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(idNo_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, idNo_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(medType_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, medType_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(psnMedType_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, psnMedType_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(medTypeName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, medTypeName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mdtrtCertType_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, mdtrtCertType_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(psnCertType_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, psnCertType_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clinicCode_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, clinicCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderInsType_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, orderInsType_);
    }
    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.GetInsuOPDividePreRequest)) {
      return super.equals(obj);
    }
    com.ywt.gapi.third.taihe.GetInsuOPDividePreRequest other = (com.ywt.gapi.third.taihe.GetInsuOPDividePreRequest) obj;

    if (!getInvoiceNo()
        .equals(other.getInvoiceNo())) return false;
    if (getHospitalId()
        != other.getHospitalId()) return false;
    if (!getCurIns()
        .equals(other.getCurIns())) return false;
    if (!getIdNo()
        .equals(other.getIdNo())) return false;
    if (!getMedType()
        .equals(other.getMedType())) return false;
    if (!getPsnMedType()
        .equals(other.getPsnMedType())) return false;
    if (!getMedTypeName()
        .equals(other.getMedTypeName())) return false;
    if (!getMdtrtCertType()
        .equals(other.getMdtrtCertType())) return false;
    if (!getPsnCertType()
        .equals(other.getPsnCertType())) return false;
    if (!getClinicCode()
        .equals(other.getClinicCode())) return false;
    if (!getOrderInsType()
        .equals(other.getOrderInsType())) 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) + INVOICENO_FIELD_NUMBER;
    hash = (53 * hash) + getInvoiceNo().hashCode();
    hash = (37 * hash) + HOSPITALID_FIELD_NUMBER;
    hash = (53 * hash) + getHospitalId();
    hash = (37 * hash) + CURINS_FIELD_NUMBER;
    hash = (53 * hash) + getCurIns().hashCode();
    hash = (37 * hash) + IDNO_FIELD_NUMBER;
    hash = (53 * hash) + getIdNo().hashCode();
    hash = (37 * hash) + MEDTYPE_FIELD_NUMBER;
    hash = (53 * hash) + getMedType().hashCode();
    hash = (37 * hash) + PSNMEDTYPE_FIELD_NUMBER;
    hash = (53 * hash) + getPsnMedType().hashCode();
    hash = (37 * hash) + MEDTYPENAME_FIELD_NUMBER;
    hash = (53 * hash) + getMedTypeName().hashCode();
    hash = (37 * hash) + MDTRTCERTTYPE_FIELD_NUMBER;
    hash = (53 * hash) + getMdtrtCertType().hashCode();
    hash = (37 * hash) + PSNCERTTYPE_FIELD_NUMBER;
    hash = (53 * hash) + getPsnCertType().hashCode();
    hash = (37 * hash) + CLINICCODE_FIELD_NUMBER;
    hash = (53 * hash) + getClinicCode().hashCode();
    hash = (37 * hash) + ORDERINSTYPE_FIELD_NUMBER;
    hash = (53 * hash) + getOrderInsType().hashCode();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

    // Construct using com.ywt.gapi.third.taihe.GetInsuOPDividePreRequest.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();
      invoiceNo_ = "";

      hospitalId_ = 0;

      curIns_ = "";

      idNo_ = "";

      medType_ = "";

      psnMedType_ = "";

      medTypeName_ = "";

      mdtrtCertType_ = "";

      psnCertType_ = "";

      clinicCode_ = "";

      orderInsType_ = "";

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

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

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

    @java.lang.Override
    public com.ywt.gapi.third.taihe.GetInsuOPDividePreRequest buildPartial() {
      com.ywt.gapi.third.taihe.GetInsuOPDividePreRequest result = new com.ywt.gapi.third.taihe.GetInsuOPDividePreRequest(this);
      result.invoiceNo_ = invoiceNo_;
      result.hospitalId_ = hospitalId_;
      result.curIns_ = curIns_;
      result.idNo_ = idNo_;
      result.medType_ = medType_;
      result.psnMedType_ = psnMedType_;
      result.medTypeName_ = medTypeName_;
      result.mdtrtCertType_ = mdtrtCertType_;
      result.psnCertType_ = psnCertType_;
      result.clinicCode_ = clinicCode_;
      result.orderInsType_ = orderInsType_;
      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.GetInsuOPDividePreRequest) {
        return mergeFrom((com.ywt.gapi.third.taihe.GetInsuOPDividePreRequest)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.ywt.gapi.third.taihe.GetInsuOPDividePreRequest other) {
      if (other == com.ywt.gapi.third.taihe.GetInsuOPDividePreRequest.getDefaultInstance()) return this;
      if (!other.getInvoiceNo().isEmpty()) {
        invoiceNo_ = other.invoiceNo_;
        onChanged();
      }
      if (other.getHospitalId() != 0) {
        setHospitalId(other.getHospitalId());
      }
      if (!other.getCurIns().isEmpty()) {
        curIns_ = other.curIns_;
        onChanged();
      }
      if (!other.getIdNo().isEmpty()) {
        idNo_ = other.idNo_;
        onChanged();
      }
      if (!other.getMedType().isEmpty()) {
        medType_ = other.medType_;
        onChanged();
      }
      if (!other.getPsnMedType().isEmpty()) {
        psnMedType_ = other.psnMedType_;
        onChanged();
      }
      if (!other.getMedTypeName().isEmpty()) {
        medTypeName_ = other.medTypeName_;
        onChanged();
      }
      if (!other.getMdtrtCertType().isEmpty()) {
        mdtrtCertType_ = other.mdtrtCertType_;
        onChanged();
      }
      if (!other.getPsnCertType().isEmpty()) {
        psnCertType_ = other.psnCertType_;
        onChanged();
      }
      if (!other.getClinicCode().isEmpty()) {
        clinicCode_ = other.clinicCode_;
        onChanged();
      }
      if (!other.getOrderInsType().isEmpty()) {
        orderInsType_ = other.orderInsType_;
        onChanged();
      }
      this.mergeUnknownFields(other.unknownFields);
      onChanged();
      return this;
    }

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

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

    private java.lang.Object invoiceNo_ = "";
    /**
     * <pre>
     *发票号	
     * </pre>
     *
     * <code>string invoiceNo = 1;</code>
     * @return The invoiceNo.
     */
    public java.lang.String getInvoiceNo() {
      java.lang.Object ref = invoiceNo_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        invoiceNo_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *发票号	
     * </pre>
     *
     * <code>string invoiceNo = 1;</code>
     * @return The bytes for invoiceNo.
     */
    public com.google.protobuf.ByteString
        getInvoiceNoBytes() {
      java.lang.Object ref = invoiceNo_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        invoiceNo_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *发票号	
     * </pre>
     *
     * <code>string invoiceNo = 1;</code>
     * @param value The invoiceNo to set.
     * @return This builder for chaining.
     */
    public Builder setInvoiceNo(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      invoiceNo_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *发票号	
     * </pre>
     *
     * <code>string invoiceNo = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearInvoiceNo() {
      
      invoiceNo_ = getDefaultInstance().getInvoiceNo();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *发票号	
     * </pre>
     *
     * <code>string invoiceNo = 1;</code>
     * @param value The bytes for invoiceNo to set.
     * @return This builder for chaining.
     */
    public Builder setInvoiceNoBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      invoiceNo_ = value;
      onChanged();
      return this;
    }

    private int hospitalId_ ;
    /**
     * <code>int32 hospitalId = 2;</code>
     * @return The hospitalId.
     */
    @java.lang.Override
    public int getHospitalId() {
      return hospitalId_;
    }
    /**
     * <code>int32 hospitalId = 2;</code>
     * @param value The hospitalId to set.
     * @return This builder for chaining.
     */
    public Builder setHospitalId(int value) {
      
      hospitalId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 hospitalId = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearHospitalId() {
      
      hospitalId_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object curIns_ = "";
    /**
     * <pre>
     *费别
     * </pre>
     *
     * <code>string curIns = 3;</code>
     * @return The curIns.
     */
    public java.lang.String getCurIns() {
      java.lang.Object ref = curIns_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        curIns_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *费别
     * </pre>
     *
     * <code>string curIns = 3;</code>
     * @return The bytes for curIns.
     */
    public com.google.protobuf.ByteString
        getCurInsBytes() {
      java.lang.Object ref = curIns_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        curIns_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *费别
     * </pre>
     *
     * <code>string curIns = 3;</code>
     * @param value The curIns to set.
     * @return This builder for chaining.
     */
    public Builder setCurIns(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      curIns_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *费别
     * </pre>
     *
     * <code>string curIns = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearCurIns() {
      
      curIns_ = getDefaultInstance().getCurIns();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *费别
     * </pre>
     *
     * <code>string curIns = 3;</code>
     * @param value The bytes for curIns to set.
     * @return This builder for chaining.
     */
    public Builder setCurInsBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      curIns_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object idNo_ = "";
    /**
     * <pre>
     *身份证号
     * </pre>
     *
     * <code>string idNo = 4;</code>
     * @return The idNo.
     */
    public java.lang.String getIdNo() {
      java.lang.Object ref = idNo_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        idNo_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *身份证号
     * </pre>
     *
     * <code>string idNo = 4;</code>
     * @return The bytes for idNo.
     */
    public com.google.protobuf.ByteString
        getIdNoBytes() {
      java.lang.Object ref = idNo_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        idNo_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *身份证号
     * </pre>
     *
     * <code>string idNo = 4;</code>
     * @param value The idNo to set.
     * @return This builder for chaining.
     */
    public Builder setIdNo(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      idNo_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *身份证号
     * </pre>
     *
     * <code>string idNo = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearIdNo() {
      
      idNo_ = getDefaultInstance().getIdNo();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *身份证号
     * </pre>
     *
     * <code>string idNo = 4;</code>
     * @param value The bytes for idNo to set.
     * @return This builder for chaining.
     */
    public Builder setIdNoBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      idNo_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object medType_ = "";
    /**
     * <pre>
     *病种类型：普通门诊传11，门诊慢特病传14
     * </pre>
     *
     * <code>string medType = 5;</code>
     * @return The medType.
     */
    public java.lang.String getMedType() {
      java.lang.Object ref = medType_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        medType_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *病种类型：普通门诊传11，门诊慢特病传14
     * </pre>
     *
     * <code>string medType = 5;</code>
     * @return The bytes for medType.
     */
    public com.google.protobuf.ByteString
        getMedTypeBytes() {
      java.lang.Object ref = medType_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        medType_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *病种类型：普通门诊传11，门诊慢特病传14
     * </pre>
     *
     * <code>string medType = 5;</code>
     * @param value The medType to set.
     * @return This builder for chaining.
     */
    public Builder setMedType(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      medType_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *病种类型：普通门诊传11，门诊慢特病传14
     * </pre>
     *
     * <code>string medType = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearMedType() {
      
      medType_ = getDefaultInstance().getMedType();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *病种类型：普通门诊传11，门诊慢特病传14
     * </pre>
     *
     * <code>string medType = 5;</code>
     * @param value The bytes for medType to set.
     * @return This builder for chaining.
     */
    public Builder setMedTypeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      medType_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object psnMedType_ = "";
    /**
     * <pre>
     *医疗待遇类别,先固定传110
     * </pre>
     *
     * <code>string psnMedType = 6;</code>
     * @return The psnMedType.
     */
    public java.lang.String getPsnMedType() {
      java.lang.Object ref = psnMedType_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        psnMedType_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *医疗待遇类别,先固定传110
     * </pre>
     *
     * <code>string psnMedType = 6;</code>
     * @return The bytes for psnMedType.
     */
    public com.google.protobuf.ByteString
        getPsnMedTypeBytes() {
      java.lang.Object ref = psnMedType_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        psnMedType_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *医疗待遇类别,先固定传110
     * </pre>
     *
     * <code>string psnMedType = 6;</code>
     * @param value The psnMedType to set.
     * @return This builder for chaining.
     */
    public Builder setPsnMedType(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      psnMedType_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医疗待遇类别,先固定传110
     * </pre>
     *
     * <code>string psnMedType = 6;</code>
     * @return This builder for chaining.
     */
    public Builder clearPsnMedType() {
      
      psnMedType_ = getDefaultInstance().getPsnMedType();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医疗待遇类别,先固定传110
     * </pre>
     *
     * <code>string psnMedType = 6;</code>
     * @param value The bytes for psnMedType to set.
     * @return This builder for chaining.
     */
    public Builder setPsnMedTypeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      psnMedType_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object medTypeName_ = "";
    /**
     * <pre>
     *医疗待遇类别名称，先固定传普通门诊
     * </pre>
     *
     * <code>string medTypeName = 7;</code>
     * @return The medTypeName.
     */
    public java.lang.String getMedTypeName() {
      java.lang.Object ref = medTypeName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        medTypeName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *医疗待遇类别名称，先固定传普通门诊
     * </pre>
     *
     * <code>string medTypeName = 7;</code>
     * @return The bytes for medTypeName.
     */
    public com.google.protobuf.ByteString
        getMedTypeNameBytes() {
      java.lang.Object ref = medTypeName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        medTypeName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *医疗待遇类别名称，先固定传普通门诊
     * </pre>
     *
     * <code>string medTypeName = 7;</code>
     * @param value The medTypeName to set.
     * @return This builder for chaining.
     */
    public Builder setMedTypeName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      medTypeName_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医疗待遇类别名称，先固定传普通门诊
     * </pre>
     *
     * <code>string medTypeName = 7;</code>
     * @return This builder for chaining.
     */
    public Builder clearMedTypeName() {
      
      medTypeName_ = getDefaultInstance().getMedTypeName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医疗待遇类别名称，先固定传普通门诊
     * </pre>
     *
     * <code>string medTypeName = 7;</code>
     * @param value The bytes for medTypeName to set.
     * @return This builder for chaining.
     */
    public Builder setMedTypeNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      medTypeName_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object mdtrtCertType_ = "";
    /**
     * <pre>
     *病种类型 默认01
     * </pre>
     *
     * <code>string mdtrtCertType = 8;</code>
     * @return The mdtrtCertType.
     */
    public java.lang.String getMdtrtCertType() {
      java.lang.Object ref = mdtrtCertType_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        mdtrtCertType_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *病种类型 默认01
     * </pre>
     *
     * <code>string mdtrtCertType = 8;</code>
     * @return The bytes for mdtrtCertType.
     */
    public com.google.protobuf.ByteString
        getMdtrtCertTypeBytes() {
      java.lang.Object ref = mdtrtCertType_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        mdtrtCertType_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *病种类型 默认01
     * </pre>
     *
     * <code>string mdtrtCertType = 8;</code>
     * @param value The mdtrtCertType to set.
     * @return This builder for chaining.
     */
    public Builder setMdtrtCertType(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      mdtrtCertType_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *病种类型 默认01
     * </pre>
     *
     * <code>string mdtrtCertType = 8;</code>
     * @return This builder for chaining.
     */
    public Builder clearMdtrtCertType() {
      
      mdtrtCertType_ = getDefaultInstance().getMdtrtCertType();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *病种类型 默认01
     * </pre>
     *
     * <code>string mdtrtCertType = 8;</code>
     * @param value The bytes for mdtrtCertType to set.
     * @return This builder for chaining.
     */
    public Builder setMdtrtCertTypeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      mdtrtCertType_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object psnCertType_ = "";
    /**
     * <pre>
     *医疗待遇类别 默认02
     * </pre>
     *
     * <code>string psnCertType = 9;</code>
     * @return The psnCertType.
     */
    public java.lang.String getPsnCertType() {
      java.lang.Object ref = psnCertType_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        psnCertType_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *医疗待遇类别 默认02
     * </pre>
     *
     * <code>string psnCertType = 9;</code>
     * @return The bytes for psnCertType.
     */
    public com.google.protobuf.ByteString
        getPsnCertTypeBytes() {
      java.lang.Object ref = psnCertType_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        psnCertType_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *医疗待遇类别 默认02
     * </pre>
     *
     * <code>string psnCertType = 9;</code>
     * @param value The psnCertType to set.
     * @return This builder for chaining.
     */
    public Builder setPsnCertType(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      psnCertType_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医疗待遇类别 默认02
     * </pre>
     *
     * <code>string psnCertType = 9;</code>
     * @return This builder for chaining.
     */
    public Builder clearPsnCertType() {
      
      psnCertType_ = getDefaultInstance().getPsnCertType();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医疗待遇类别 默认02
     * </pre>
     *
     * <code>string psnCertType = 9;</code>
     * @param value The bytes for psnCertType to set.
     * @return This builder for chaining.
     */
    public Builder setPsnCertTypeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      psnCertType_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object clinicCode_ = "";
    /**
     * <pre>
     *就诊号
     * </pre>
     *
     * <code>string clinicCode = 10;</code>
     * @return The clinicCode.
     */
    public java.lang.String getClinicCode() {
      java.lang.Object ref = clinicCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        clinicCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *就诊号
     * </pre>
     *
     * <code>string clinicCode = 10;</code>
     * @return The bytes for clinicCode.
     */
    public com.google.protobuf.ByteString
        getClinicCodeBytes() {
      java.lang.Object ref = clinicCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        clinicCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *就诊号
     * </pre>
     *
     * <code>string clinicCode = 10;</code>
     * @param value The clinicCode to set.
     * @return This builder for chaining.
     */
    public Builder setClinicCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      clinicCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *就诊号
     * </pre>
     *
     * <code>string clinicCode = 10;</code>
     * @return This builder for chaining.
     */
    public Builder clearClinicCode() {
      
      clinicCode_ = getDefaultInstance().getClinicCode();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *就诊号
     * </pre>
     *
     * <code>string clinicCode = 10;</code>
     * @param value The bytes for clinicCode to set.
     * @return This builder for chaining.
     */
    public Builder setClinicCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      clinicCode_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object orderInsType_ = "";
    /**
     * <pre>
     * 订单医保类型，由 HIS 从待缴费列表返回
     * </pre>
     *
     * <code>string orderInsType = 11;</code>
     * @return The orderInsType.
     */
    public java.lang.String getOrderInsType() {
      java.lang.Object ref = orderInsType_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        orderInsType_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 订单医保类型，由 HIS 从待缴费列表返回
     * </pre>
     *
     * <code>string orderInsType = 11;</code>
     * @return The bytes for orderInsType.
     */
    public com.google.protobuf.ByteString
        getOrderInsTypeBytes() {
      java.lang.Object ref = orderInsType_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        orderInsType_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 订单医保类型，由 HIS 从待缴费列表返回
     * </pre>
     *
     * <code>string orderInsType = 11;</code>
     * @param value The orderInsType to set.
     * @return This builder for chaining.
     */
    public Builder setOrderInsType(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      orderInsType_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 订单医保类型，由 HIS 从待缴费列表返回
     * </pre>
     *
     * <code>string orderInsType = 11;</code>
     * @return This builder for chaining.
     */
    public Builder clearOrderInsType() {
      
      orderInsType_ = getDefaultInstance().getOrderInsType();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 订单医保类型，由 HIS 从待缴费列表返回
     * </pre>
     *
     * <code>string orderInsType = 11;</code>
     * @param value The bytes for orderInsType to set.
     * @return This builder for chaining.
     */
    public Builder setOrderInsTypeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      orderInsType_ = value;
      onChanged();
      return this;
    }
    @java.lang.Override
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

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


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

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

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

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

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

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

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

}

