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

package com.ywt.gapi.third.taihe;

/**
 * <pre>
 *化验报告
 * </pre>
 *
 * Protobuf type {@code com.ywt.gapi.third.taihe.LaboratoryReport}
 */
public  final class LaboratoryReport extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.third.taihe.LaboratoryReport)
    LaboratoryReportOrBuilder {
  // Use LaboratoryReport.newBuilder() to construct.
  private LaboratoryReport(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private LaboratoryReport() {
    reportId_ = "";
    reportTitle_ = "";
    auditDate_ = "";
    status_ = 0;
    patientName_ = "";
    patientAge_ = 0;
    patientSex_ = 0;
    deptName_ = "";
    diagnose_ = "";
    reportDoctor_ = "";
    registrationId_ = "";
    auditor_ = "";
  }

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

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

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

            auditDate_ = s;
            break;
          }
          case 32: {

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

            patientName_ = s;
            break;
          }
          case 48: {

            patientAge_ = input.readInt32();
            break;
          }
          case 56: {

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

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

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

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

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

            auditor_ = 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_LaboratoryReport_descriptor;
  }

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

  public static final int REPORTID_FIELD_NUMBER = 1;
  private volatile java.lang.Object reportId_;
  /**
   * <pre>
   *检验报告单id
   * </pre>
   *
   * <code>string reportId = 1;</code>
   */
  public java.lang.String getReportId() {
    java.lang.Object ref = reportId_;
    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();
      reportId_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *检验报告单id
   * </pre>
   *
   * <code>string reportId = 1;</code>
   */
  public com.google.protobuf.ByteString
      getReportIdBytes() {
    java.lang.Object ref = reportId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      reportId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int REPORTTITLE_FIELD_NUMBER = 2;
  private volatile java.lang.Object reportTitle_;
  /**
   * <pre>
   *检验报告单标题名称
   * </pre>
   *
   * <code>string reportTitle = 2;</code>
   */
  public java.lang.String getReportTitle() {
    java.lang.Object ref = reportTitle_;
    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();
      reportTitle_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *检验报告单标题名称
   * </pre>
   *
   * <code>string reportTitle = 2;</code>
   */
  public com.google.protobuf.ByteString
      getReportTitleBytes() {
    java.lang.Object ref = reportTitle_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      reportTitle_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int AUDITDATE_FIELD_NUMBER = 3;
  private volatile java.lang.Object auditDate_;
  /**
   * <pre>
   *检验报告单审核日期（YYYY-MM-DD HH:MM:SS）
   * </pre>
   *
   * <code>string auditDate = 3;</code>
   */
  public java.lang.String getAuditDate() {
    java.lang.Object ref = auditDate_;
    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();
      auditDate_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *检验报告单审核日期（YYYY-MM-DD HH:MM:SS）
   * </pre>
   *
   * <code>string auditDate = 3;</code>
   */
  public com.google.protobuf.ByteString
      getAuditDateBytes() {
    java.lang.Object ref = auditDate_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      auditDate_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int STATUS_FIELD_NUMBER = 4;
  private int status_;
  /**
   * <pre>
   *报告状态 0 未审核 1已审核
   * </pre>
   *
   * <code>int32 status = 4;</code>
   */
  public int getStatus() {
    return status_;
  }

  public static final int PATIENTNAME_FIELD_NUMBER = 5;
  private volatile java.lang.Object patientName_;
  /**
   * <pre>
   *患者姓名
   * </pre>
   *
   * <code>string patientName = 5;</code>
   */
  public java.lang.String getPatientName() {
    java.lang.Object ref = patientName_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      patientName_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *患者姓名
   * </pre>
   *
   * <code>string patientName = 5;</code>
   */
  public com.google.protobuf.ByteString
      getPatientNameBytes() {
    java.lang.Object ref = patientName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      patientName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PATIENTAGE_FIELD_NUMBER = 6;
  private int patientAge_;
  /**
   * <pre>
   *患者年龄
   * </pre>
   *
   * <code>int32 patientAge = 6;</code>
   */
  public int getPatientAge() {
    return patientAge_;
  }

  public static final int PATIENTSEX_FIELD_NUMBER = 7;
  private int patientSex_;
  /**
   * <pre>
   *性别
   * </pre>
   *
   * <code>int32 patientSex = 7;</code>
   */
  public int getPatientSex() {
    return patientSex_;
  }

  public static final int DEPTNAME_FIELD_NUMBER = 8;
  private volatile java.lang.Object deptName_;
  /**
   * <pre>
   *申请科室名称
   * </pre>
   *
   * <code>string deptName = 8;</code>
   */
  public java.lang.String getDeptName() {
    java.lang.Object ref = deptName_;
    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();
      deptName_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *申请科室名称
   * </pre>
   *
   * <code>string deptName = 8;</code>
   */
  public com.google.protobuf.ByteString
      getDeptNameBytes() {
    java.lang.Object ref = deptName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      deptName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DIAGNOSE_FIELD_NUMBER = 9;
  private volatile java.lang.Object diagnose_;
  /**
   * <pre>
   *临床诊断
   * </pre>
   *
   * <code>string diagnose = 9;</code>
   */
  public java.lang.String getDiagnose() {
    java.lang.Object ref = diagnose_;
    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();
      diagnose_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *临床诊断
   * </pre>
   *
   * <code>string diagnose = 9;</code>
   */
  public com.google.protobuf.ByteString
      getDiagnoseBytes() {
    java.lang.Object ref = diagnose_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      diagnose_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int REPORTDOCTOR_FIELD_NUMBER = 10;
  private volatile java.lang.Object reportDoctor_;
  /**
   * <pre>
   *报告医生姓名
   * </pre>
   *
   * <code>string reportDoctor = 10;</code>
   */
  public java.lang.String getReportDoctor() {
    java.lang.Object ref = reportDoctor_;
    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();
      reportDoctor_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *报告医生姓名
   * </pre>
   *
   * <code>string reportDoctor = 10;</code>
   */
  public com.google.protobuf.ByteString
      getReportDoctorBytes() {
    java.lang.Object ref = reportDoctor_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      reportDoctor_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int REGISTRATIONID_FIELD_NUMBER = 11;
  private volatile java.lang.Object registrationId_;
  /**
   * <pre>
   *门诊就诊流水号
   * </pre>
   *
   * <code>string registrationId = 11;</code>
   */
  public java.lang.String getRegistrationId() {
    java.lang.Object ref = registrationId_;
    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();
      registrationId_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *门诊就诊流水号
   * </pre>
   *
   * <code>string registrationId = 11;</code>
   */
  public com.google.protobuf.ByteString
      getRegistrationIdBytes() {
    java.lang.Object ref = registrationId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      registrationId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int AUDITOR_FIELD_NUMBER = 12;
  private volatile java.lang.Object auditor_;
  /**
   * <pre>
   *审核医生姓名
   * </pre>
   *
   * <code>string auditor = 12;</code>
   */
  public java.lang.String getAuditor() {
    java.lang.Object ref = auditor_;
    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();
      auditor_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *审核医生姓名
   * </pre>
   *
   * <code>string auditor = 12;</code>
   */
  public com.google.protobuf.ByteString
      getAuditorBytes() {
    java.lang.Object ref = auditor_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      auditor_ = 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 (!getReportIdBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, reportId_);
    }
    if (!getReportTitleBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, reportTitle_);
    }
    if (!getAuditDateBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, auditDate_);
    }
    if (status_ != 0) {
      output.writeInt32(4, status_);
    }
    if (!getPatientNameBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, patientName_);
    }
    if (patientAge_ != 0) {
      output.writeInt32(6, patientAge_);
    }
    if (patientSex_ != 0) {
      output.writeInt32(7, patientSex_);
    }
    if (!getDeptNameBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, deptName_);
    }
    if (!getDiagnoseBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, diagnose_);
    }
    if (!getReportDoctorBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, reportDoctor_);
    }
    if (!getRegistrationIdBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 11, registrationId_);
    }
    if (!getAuditorBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 12, auditor_);
    }
  }

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

    size = 0;
    if (!getReportIdBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, reportId_);
    }
    if (!getReportTitleBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, reportTitle_);
    }
    if (!getAuditDateBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, auditDate_);
    }
    if (status_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(4, status_);
    }
    if (!getPatientNameBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, patientName_);
    }
    if (patientAge_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(6, patientAge_);
    }
    if (patientSex_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(7, patientSex_);
    }
    if (!getDeptNameBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, deptName_);
    }
    if (!getDiagnoseBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, diagnose_);
    }
    if (!getReportDoctorBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, reportDoctor_);
    }
    if (!getRegistrationIdBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, registrationId_);
    }
    if (!getAuditorBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, auditor_);
    }
    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.LaboratoryReport)) {
      return super.equals(obj);
    }
    com.ywt.gapi.third.taihe.LaboratoryReport other = (com.ywt.gapi.third.taihe.LaboratoryReport) obj;

    boolean result = true;
    result = result && getReportId()
        .equals(other.getReportId());
    result = result && getReportTitle()
        .equals(other.getReportTitle());
    result = result && getAuditDate()
        .equals(other.getAuditDate());
    result = result && (getStatus()
        == other.getStatus());
    result = result && getPatientName()
        .equals(other.getPatientName());
    result = result && (getPatientAge()
        == other.getPatientAge());
    result = result && (getPatientSex()
        == other.getPatientSex());
    result = result && getDeptName()
        .equals(other.getDeptName());
    result = result && getDiagnose()
        .equals(other.getDiagnose());
    result = result && getReportDoctor()
        .equals(other.getReportDoctor());
    result = result && getRegistrationId()
        .equals(other.getRegistrationId());
    result = result && getAuditor()
        .equals(other.getAuditor());
    return result;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + REPORTID_FIELD_NUMBER;
    hash = (53 * hash) + getReportId().hashCode();
    hash = (37 * hash) + REPORTTITLE_FIELD_NUMBER;
    hash = (53 * hash) + getReportTitle().hashCode();
    hash = (37 * hash) + AUDITDATE_FIELD_NUMBER;
    hash = (53 * hash) + getAuditDate().hashCode();
    hash = (37 * hash) + STATUS_FIELD_NUMBER;
    hash = (53 * hash) + getStatus();
    hash = (37 * hash) + PATIENTNAME_FIELD_NUMBER;
    hash = (53 * hash) + getPatientName().hashCode();
    hash = (37 * hash) + PATIENTAGE_FIELD_NUMBER;
    hash = (53 * hash) + getPatientAge();
    hash = (37 * hash) + PATIENTSEX_FIELD_NUMBER;
    hash = (53 * hash) + getPatientSex();
    hash = (37 * hash) + DEPTNAME_FIELD_NUMBER;
    hash = (53 * hash) + getDeptName().hashCode();
    hash = (37 * hash) + DIAGNOSE_FIELD_NUMBER;
    hash = (53 * hash) + getDiagnose().hashCode();
    hash = (37 * hash) + REPORTDOCTOR_FIELD_NUMBER;
    hash = (53 * hash) + getReportDoctor().hashCode();
    hash = (37 * hash) + REGISTRATIONID_FIELD_NUMBER;
    hash = (53 * hash) + getRegistrationId().hashCode();
    hash = (37 * hash) + AUDITOR_FIELD_NUMBER;
    hash = (53 * hash) + getAuditor().hashCode();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.ywt.gapi.third.taihe.LaboratoryReport parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.third.taihe.LaboratoryReport 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.LaboratoryReport parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.third.taihe.LaboratoryReport 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.LaboratoryReport parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.third.taihe.LaboratoryReport 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.LaboratoryReport parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.third.taihe.LaboratoryReport 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.LaboratoryReport parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.third.taihe.LaboratoryReport 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.LaboratoryReport 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.LaboratoryReport 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.LaboratoryReport prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE
        ? new Builder() : new Builder().mergeFrom(this);
  }

  @java.lang.Override
  protected Builder newBuilderForType(
      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * <pre>
   *化验报告
   * </pre>
   *
   * Protobuf type {@code com.ywt.gapi.third.taihe.LaboratoryReport}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:com.ywt.gapi.third.taihe.LaboratoryReport)
      com.ywt.gapi.third.taihe.LaboratoryReportOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.ywt.gapi.third.taihe.Taihe.internal_static_com_ywt_gapi_third_taihe_LaboratoryReport_descriptor;
    }

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

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

      reportTitle_ = "";

      auditDate_ = "";

      status_ = 0;

      patientName_ = "";

      patientAge_ = 0;

      patientSex_ = 0;

      deptName_ = "";

      diagnose_ = "";

      reportDoctor_ = "";

      registrationId_ = "";

      auditor_ = "";

      return this;
    }

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

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

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

    public com.ywt.gapi.third.taihe.LaboratoryReport buildPartial() {
      com.ywt.gapi.third.taihe.LaboratoryReport result = new com.ywt.gapi.third.taihe.LaboratoryReport(this);
      result.reportId_ = reportId_;
      result.reportTitle_ = reportTitle_;
      result.auditDate_ = auditDate_;
      result.status_ = status_;
      result.patientName_ = patientName_;
      result.patientAge_ = patientAge_;
      result.patientSex_ = patientSex_;
      result.deptName_ = deptName_;
      result.diagnose_ = diagnose_;
      result.reportDoctor_ = reportDoctor_;
      result.registrationId_ = registrationId_;
      result.auditor_ = auditor_;
      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.LaboratoryReport) {
        return mergeFrom((com.ywt.gapi.third.taihe.LaboratoryReport)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.ywt.gapi.third.taihe.LaboratoryReport other) {
      if (other == com.ywt.gapi.third.taihe.LaboratoryReport.getDefaultInstance()) return this;
      if (!other.getReportId().isEmpty()) {
        reportId_ = other.reportId_;
        onChanged();
      }
      if (!other.getReportTitle().isEmpty()) {
        reportTitle_ = other.reportTitle_;
        onChanged();
      }
      if (!other.getAuditDate().isEmpty()) {
        auditDate_ = other.auditDate_;
        onChanged();
      }
      if (other.getStatus() != 0) {
        setStatus(other.getStatus());
      }
      if (!other.getPatientName().isEmpty()) {
        patientName_ = other.patientName_;
        onChanged();
      }
      if (other.getPatientAge() != 0) {
        setPatientAge(other.getPatientAge());
      }
      if (other.getPatientSex() != 0) {
        setPatientSex(other.getPatientSex());
      }
      if (!other.getDeptName().isEmpty()) {
        deptName_ = other.deptName_;
        onChanged();
      }
      if (!other.getDiagnose().isEmpty()) {
        diagnose_ = other.diagnose_;
        onChanged();
      }
      if (!other.getReportDoctor().isEmpty()) {
        reportDoctor_ = other.reportDoctor_;
        onChanged();
      }
      if (!other.getRegistrationId().isEmpty()) {
        registrationId_ = other.registrationId_;
        onChanged();
      }
      if (!other.getAuditor().isEmpty()) {
        auditor_ = other.auditor_;
        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.LaboratoryReport parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.ywt.gapi.third.taihe.LaboratoryReport) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private java.lang.Object reportId_ = "";
    /**
     * <pre>
     *检验报告单id
     * </pre>
     *
     * <code>string reportId = 1;</code>
     */
    public java.lang.String getReportId() {
      java.lang.Object ref = reportId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        reportId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *检验报告单id
     * </pre>
     *
     * <code>string reportId = 1;</code>
     */
    public com.google.protobuf.ByteString
        getReportIdBytes() {
      java.lang.Object ref = reportId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        reportId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *检验报告单id
     * </pre>
     *
     * <code>string reportId = 1;</code>
     */
    public Builder setReportId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      reportId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检验报告单id
     * </pre>
     *
     * <code>string reportId = 1;</code>
     */
    public Builder clearReportId() {
      
      reportId_ = getDefaultInstance().getReportId();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检验报告单id
     * </pre>
     *
     * <code>string reportId = 1;</code>
     */
    public Builder setReportIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      reportId_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object reportTitle_ = "";
    /**
     * <pre>
     *检验报告单标题名称
     * </pre>
     *
     * <code>string reportTitle = 2;</code>
     */
    public java.lang.String getReportTitle() {
      java.lang.Object ref = reportTitle_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        reportTitle_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *检验报告单标题名称
     * </pre>
     *
     * <code>string reportTitle = 2;</code>
     */
    public com.google.protobuf.ByteString
        getReportTitleBytes() {
      java.lang.Object ref = reportTitle_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        reportTitle_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *检验报告单标题名称
     * </pre>
     *
     * <code>string reportTitle = 2;</code>
     */
    public Builder setReportTitle(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      reportTitle_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检验报告单标题名称
     * </pre>
     *
     * <code>string reportTitle = 2;</code>
     */
    public Builder clearReportTitle() {
      
      reportTitle_ = getDefaultInstance().getReportTitle();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检验报告单标题名称
     * </pre>
     *
     * <code>string reportTitle = 2;</code>
     */
    public Builder setReportTitleBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      reportTitle_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object auditDate_ = "";
    /**
     * <pre>
     *检验报告单审核日期（YYYY-MM-DD HH:MM:SS）
     * </pre>
     *
     * <code>string auditDate = 3;</code>
     */
    public java.lang.String getAuditDate() {
      java.lang.Object ref = auditDate_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        auditDate_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *检验报告单审核日期（YYYY-MM-DD HH:MM:SS）
     * </pre>
     *
     * <code>string auditDate = 3;</code>
     */
    public com.google.protobuf.ByteString
        getAuditDateBytes() {
      java.lang.Object ref = auditDate_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        auditDate_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *检验报告单审核日期（YYYY-MM-DD HH:MM:SS）
     * </pre>
     *
     * <code>string auditDate = 3;</code>
     */
    public Builder setAuditDate(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      auditDate_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检验报告单审核日期（YYYY-MM-DD HH:MM:SS）
     * </pre>
     *
     * <code>string auditDate = 3;</code>
     */
    public Builder clearAuditDate() {
      
      auditDate_ = getDefaultInstance().getAuditDate();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检验报告单审核日期（YYYY-MM-DD HH:MM:SS）
     * </pre>
     *
     * <code>string auditDate = 3;</code>
     */
    public Builder setAuditDateBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      auditDate_ = value;
      onChanged();
      return this;
    }

    private int status_ ;
    /**
     * <pre>
     *报告状态 0 未审核 1已审核
     * </pre>
     *
     * <code>int32 status = 4;</code>
     */
    public int getStatus() {
      return status_;
    }
    /**
     * <pre>
     *报告状态 0 未审核 1已审核
     * </pre>
     *
     * <code>int32 status = 4;</code>
     */
    public Builder setStatus(int value) {
      
      status_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *报告状态 0 未审核 1已审核
     * </pre>
     *
     * <code>int32 status = 4;</code>
     */
    public Builder clearStatus() {
      
      status_ = 0;
      onChanged();
      return this;
    }

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

    private int patientAge_ ;
    /**
     * <pre>
     *患者年龄
     * </pre>
     *
     * <code>int32 patientAge = 6;</code>
     */
    public int getPatientAge() {
      return patientAge_;
    }
    /**
     * <pre>
     *患者年龄
     * </pre>
     *
     * <code>int32 patientAge = 6;</code>
     */
    public Builder setPatientAge(int value) {
      
      patientAge_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *患者年龄
     * </pre>
     *
     * <code>int32 patientAge = 6;</code>
     */
    public Builder clearPatientAge() {
      
      patientAge_ = 0;
      onChanged();
      return this;
    }

    private int patientSex_ ;
    /**
     * <pre>
     *性别
     * </pre>
     *
     * <code>int32 patientSex = 7;</code>
     */
    public int getPatientSex() {
      return patientSex_;
    }
    /**
     * <pre>
     *性别
     * </pre>
     *
     * <code>int32 patientSex = 7;</code>
     */
    public Builder setPatientSex(int value) {
      
      patientSex_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *性别
     * </pre>
     *
     * <code>int32 patientSex = 7;</code>
     */
    public Builder clearPatientSex() {
      
      patientSex_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object deptName_ = "";
    /**
     * <pre>
     *申请科室名称
     * </pre>
     *
     * <code>string deptName = 8;</code>
     */
    public java.lang.String getDeptName() {
      java.lang.Object ref = deptName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        deptName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *申请科室名称
     * </pre>
     *
     * <code>string deptName = 8;</code>
     */
    public com.google.protobuf.ByteString
        getDeptNameBytes() {
      java.lang.Object ref = deptName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        deptName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *申请科室名称
     * </pre>
     *
     * <code>string deptName = 8;</code>
     */
    public Builder setDeptName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      deptName_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *申请科室名称
     * </pre>
     *
     * <code>string deptName = 8;</code>
     */
    public Builder clearDeptName() {
      
      deptName_ = getDefaultInstance().getDeptName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *申请科室名称
     * </pre>
     *
     * <code>string deptName = 8;</code>
     */
    public Builder setDeptNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      deptName_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object diagnose_ = "";
    /**
     * <pre>
     *临床诊断
     * </pre>
     *
     * <code>string diagnose = 9;</code>
     */
    public java.lang.String getDiagnose() {
      java.lang.Object ref = diagnose_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        diagnose_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *临床诊断
     * </pre>
     *
     * <code>string diagnose = 9;</code>
     */
    public com.google.protobuf.ByteString
        getDiagnoseBytes() {
      java.lang.Object ref = diagnose_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        diagnose_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *临床诊断
     * </pre>
     *
     * <code>string diagnose = 9;</code>
     */
    public Builder setDiagnose(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      diagnose_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *临床诊断
     * </pre>
     *
     * <code>string diagnose = 9;</code>
     */
    public Builder clearDiagnose() {
      
      diagnose_ = getDefaultInstance().getDiagnose();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *临床诊断
     * </pre>
     *
     * <code>string diagnose = 9;</code>
     */
    public Builder setDiagnoseBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      diagnose_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object reportDoctor_ = "";
    /**
     * <pre>
     *报告医生姓名
     * </pre>
     *
     * <code>string reportDoctor = 10;</code>
     */
    public java.lang.String getReportDoctor() {
      java.lang.Object ref = reportDoctor_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        reportDoctor_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *报告医生姓名
     * </pre>
     *
     * <code>string reportDoctor = 10;</code>
     */
    public com.google.protobuf.ByteString
        getReportDoctorBytes() {
      java.lang.Object ref = reportDoctor_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        reportDoctor_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *报告医生姓名
     * </pre>
     *
     * <code>string reportDoctor = 10;</code>
     */
    public Builder setReportDoctor(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      reportDoctor_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *报告医生姓名
     * </pre>
     *
     * <code>string reportDoctor = 10;</code>
     */
    public Builder clearReportDoctor() {
      
      reportDoctor_ = getDefaultInstance().getReportDoctor();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *报告医生姓名
     * </pre>
     *
     * <code>string reportDoctor = 10;</code>
     */
    public Builder setReportDoctorBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      reportDoctor_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object registrationId_ = "";
    /**
     * <pre>
     *门诊就诊流水号
     * </pre>
     *
     * <code>string registrationId = 11;</code>
     */
    public java.lang.String getRegistrationId() {
      java.lang.Object ref = registrationId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        registrationId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *门诊就诊流水号
     * </pre>
     *
     * <code>string registrationId = 11;</code>
     */
    public com.google.protobuf.ByteString
        getRegistrationIdBytes() {
      java.lang.Object ref = registrationId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        registrationId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *门诊就诊流水号
     * </pre>
     *
     * <code>string registrationId = 11;</code>
     */
    public Builder setRegistrationId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      registrationId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *门诊就诊流水号
     * </pre>
     *
     * <code>string registrationId = 11;</code>
     */
    public Builder clearRegistrationId() {
      
      registrationId_ = getDefaultInstance().getRegistrationId();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *门诊就诊流水号
     * </pre>
     *
     * <code>string registrationId = 11;</code>
     */
    public Builder setRegistrationIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      registrationId_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object auditor_ = "";
    /**
     * <pre>
     *审核医生姓名
     * </pre>
     *
     * <code>string auditor = 12;</code>
     */
    public java.lang.String getAuditor() {
      java.lang.Object ref = auditor_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        auditor_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *审核医生姓名
     * </pre>
     *
     * <code>string auditor = 12;</code>
     */
    public com.google.protobuf.ByteString
        getAuditorBytes() {
      java.lang.Object ref = auditor_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        auditor_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *审核医生姓名
     * </pre>
     *
     * <code>string auditor = 12;</code>
     */
    public Builder setAuditor(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      auditor_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *审核医生姓名
     * </pre>
     *
     * <code>string auditor = 12;</code>
     */
    public Builder clearAuditor() {
      
      auditor_ = getDefaultInstance().getAuditor();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *审核医生姓名
     * </pre>
     *
     * <code>string auditor = 12;</code>
     */
    public Builder setAuditorBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      auditor_ = 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.LaboratoryReport)
  }

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

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

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

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

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

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

}

