// 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 {
  // Use GetInsuOPDividePreRequest.newBuilder() to construct.
  private GetInsuOPDividePreRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private GetInsuOPDividePreRequest() {
    invoiceNo_ = "";
    hospitalId_ = 0;
    curIns_ = "";
    idNo_ = "";
    medType_ = "";
    psnMedType_ = "";
    medTypeName_ = "";
    mdtrtCertType_ = "";
    psnCertType_ = "";
    clinicCode_ = "";
    orderInsType_ = "";
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
  }
  private GetInsuOPDividePreRequest(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    int mutable_bitField0_ = 0;
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          default: {
            if (!input.skipField(tag)) {
              done = true;
            }
            break;
          }
          case 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;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.ywt.gapi.third.taihe.Taihe.internal_static_com_ywt_gapi_third_taihe_GetInsuOPDividePreRequest_descriptor;
  }

  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.ywt.gapi.third.taihe.Taihe.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>
   */
  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>
   */
  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>
   */
  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>
   */
  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>
   */
  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>
   */
  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>
   */
  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>
   */
  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>
   */
  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>
   */
  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>
   */
  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>
   */
  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>
   */
  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>
   */
  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>
   */
  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>
   */
  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>
   */
  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>
   */
  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>
   */
  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>
   */
  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>
   */
  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;
  public final boolean isInitialized() {
    byte isInitialized = memoizedIsInitialized;
    if (isInitialized == 1) return true;
    if (isInitialized == 0) return false;

    memoizedIsInitialized = 1;
    return true;
  }

  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (!getInvoiceNoBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, invoiceNo_);
    }
    if (hospitalId_ != 0) {
      output.writeInt32(2, hospitalId_);
    }
    if (!getCurInsBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, curIns_);
    }
    if (!getIdNoBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, idNo_);
    }
    if (!getMedTypeBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, medType_);
    }
    if (!getPsnMedTypeBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, psnMedType_);
    }
    if (!getMedTypeNameBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, medTypeName_);
    }
    if (!getMdtrtCertTypeBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, mdtrtCertType_);
    }
    if (!getPsnCertTypeBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, psnCertType_);
    }
    if (!getClinicCodeBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, clinicCode_);
    }
    if (!getOrderInsTypeBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 11, orderInsType_);
    }
  }

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

    size = 0;
    if (!getInvoiceNoBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, invoiceNo_);
    }
    if (hospitalId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(2, hospitalId_);
    }
    if (!getCurInsBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, curIns_);
    }
    if (!getIdNoBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, idNo_);
    }
    if (!getMedTypeBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, medType_);
    }
    if (!getPsnMedTypeBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, psnMedType_);
    }
    if (!getMedTypeNameBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, medTypeName_);
    }
    if (!getMdtrtCertTypeBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, mdtrtCertType_);
    }
    if (!getPsnCertTypeBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, psnCertType_);
    }
    if (!getClinicCodeBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, clinicCode_);
    }
    if (!getOrderInsTypeBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, orderInsType_);
    }
    memoizedSize = size;
    return size;
  }

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

    boolean result = true;
    result = result && getInvoiceNo()
        .equals(other.getInvoiceNo());
    result = result && (getHospitalId()
        == other.getHospitalId());
    result = result && getCurIns()
        .equals(other.getCurIns());
    result = result && getIdNo()
        .equals(other.getIdNo());
    result = result && getMedType()
        .equals(other.getMedType());
    result = result && getPsnMedType()
        .equals(other.getPsnMedType());
    result = result && getMedTypeName()
        .equals(other.getMedTypeName());
    result = result && getMdtrtCertType()
        .equals(other.getMdtrtCertType());
    result = result && getPsnCertType()
        .equals(other.getPsnCertType());
    result = result && getClinicCode()
        .equals(other.getClinicCode());
    result = result && getOrderInsType()
        .equals(other.getOrderInsType());
    return result;
  }

  @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);
  }

  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);
  }
  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.Taihe.internal_static_com_ywt_gapi_third_taihe_GetInsuOPDividePreRequest_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.ywt.gapi.third.taihe.Taihe.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) {
      }
    }
    public Builder clear() {
      super.clear();
      invoiceNo_ = "";

      hospitalId_ = 0;

      curIns_ = "";

      idNo_ = "";

      medType_ = "";

      psnMedType_ = "";

      medTypeName_ = "";

      mdtrtCertType_ = "";

      psnCertType_ = "";

      clinicCode_ = "";

      orderInsType_ = "";

      return this;
    }

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

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

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

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

    public Builder clone() {
      return (Builder) super.clone();
    }
    public Builder setField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        Object value) {
      return (Builder) super.setField(field, value);
    }
    public Builder clearField(
        com.google.protobuf.Descriptors.FieldDescriptor field) {
      return (Builder) super.clearField(field);
    }
    public Builder clearOneof(
        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
      return (Builder) super.clearOneof(oneof);
    }
    public Builder setRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        int index, Object value) {
      return (Builder) super.setRepeatedField(field, index, value);
    }
    public Builder addRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        Object value) {
      return (Builder) super.addRepeatedField(field, value);
    }
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof com.ywt.gapi.third.taihe.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();
      }
      onChanged();
      return this;
    }

    public final boolean isInitialized() {
      return true;
    }

    public Builder mergeFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      com.ywt.gapi.third.taihe.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>
     */
    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>
     */
    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>
     */
    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>
     */
    public Builder clearInvoiceNo() {
      
      invoiceNo_ = getDefaultInstance().getInvoiceNo();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *发票号	
     * </pre>
     *
     * <code>string invoiceNo = 1;</code>
     */
    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>
     */
    public int getHospitalId() {
      return hospitalId_;
    }
    /**
     * <code>int32 hospitalId = 2;</code>
     */
    public Builder setHospitalId(int value) {
      
      hospitalId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 hospitalId = 2;</code>
     */
    public Builder clearHospitalId() {
      
      hospitalId_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object curIns_ = "";
    /**
     * <pre>
     *费别
     * </pre>
     *
     * <code>string curIns = 3;</code>
     */
    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>
     */
    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>
     */
    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>
     */
    public Builder clearCurIns() {
      
      curIns_ = getDefaultInstance().getCurIns();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *费别
     * </pre>
     *
     * <code>string curIns = 3;</code>
     */
    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>
     */
    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>
     */
    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>
     */
    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>
     */
    public Builder clearIdNo() {
      
      idNo_ = getDefaultInstance().getIdNo();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *身份证号
     * </pre>
     *
     * <code>string idNo = 4;</code>
     */
    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>
     */
    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>
     */
    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>
     */
    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>
     */
    public Builder clearMedType() {
      
      medType_ = getDefaultInstance().getMedType();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *病种类型：普通门诊传11，门诊慢特病传14
     * </pre>
     *
     * <code>string medType = 5;</code>
     */
    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>
     */
    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>
     */
    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>
     */
    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>
     */
    public Builder clearPsnMedType() {
      
      psnMedType_ = getDefaultInstance().getPsnMedType();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医疗待遇类别,先固定传110
     * </pre>
     *
     * <code>string psnMedType = 6;</code>
     */
    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>
     */
    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>
     */
    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>
     */
    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>
     */
    public Builder clearMedTypeName() {
      
      medTypeName_ = getDefaultInstance().getMedTypeName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医疗待遇类别名称，先固定传普通门诊
     * </pre>
     *
     * <code>string medTypeName = 7;</code>
     */
    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>
     */
    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>
     */
    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>
     */
    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>
     */
    public Builder clearMdtrtCertType() {
      
      mdtrtCertType_ = getDefaultInstance().getMdtrtCertType();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *病种类型 默认01
     * </pre>
     *
     * <code>string mdtrtCertType = 8;</code>
     */
    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>
     */
    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>
     */
    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>
     */
    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>
     */
    public Builder clearPsnCertType() {
      
      psnCertType_ = getDefaultInstance().getPsnCertType();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医疗待遇类别 默认02
     * </pre>
     *
     * <code>string psnCertType = 9;</code>
     */
    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>
     */
    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>
     */
    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>
     */
    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>
     */
    public Builder clearClinicCode() {
      
      clinicCode_ = getDefaultInstance().getClinicCode();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *就诊号
     * </pre>
     *
     * <code>string clinicCode = 10;</code>
     */
    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>
     */
    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>
     */
    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>
     */
    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>
     */
    public Builder clearOrderInsType() {
      
      orderInsType_ = getDefaultInstance().getOrderInsType();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 订单医保类型，由 HIS 从待缴费列表返回
     * </pre>
     *
     * <code>string orderInsType = 11;</code>
     */
    public Builder setOrderInsTypeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      orderInsType_ = value;
      onChanged();
      return this;
    }
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return this;
    }

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


    // @@protoc_insertion_point(builder_scope:com.ywt.gapi.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>() {
    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;
  }

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

}

