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

package com.ywt.gapi.user;

/**
 * <pre>
 *化验报告
 * </pre>
 *
 * Protobuf type {@code com.ywt.gapi.user.LaboratoryReport}
 */
public  final class LaboratoryReport extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.user.LaboratoryReport)
    LaboratoryReportOrBuilder {
  // Use LaboratoryReport.newBuilder() to construct.
  private LaboratoryReport(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private LaboratoryReport() {
    inspectionId_ = "";
    inspectionName_ = "";
    inspectionDate_ = 0L;
    status_ = 0;
    patientName_ = "";
    patientAge_ = "";
    sex_ = 0;
    deptName_ = "";
    clinicalDiagnosis_ = "";
    reportDoctorName_ = "";
    clinicSeq_ = "";
    inpatientId_ = "";
    checkDoctorName_ = "";
    id_ = 0;
    hospitalId_ = 0;
  }

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

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

            inspectionName_ = s;
            break;
          }
          case 24: {

            inspectionDate_ = input.readInt64();
            break;
          }
          case 32: {

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

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

            patientAge_ = s;
            break;
          }
          case 56: {

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

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

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

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

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

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

            checkDoctorName_ = s;
            break;
          }
          case 112: {

            id_ = input.readInt32();
            break;
          }
          case 120: {

            hospitalId_ = input.readInt32();
            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.user.UserOuterClass.internal_static_com_ywt_gapi_user_LaboratoryReport_descriptor;
  }

  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.ywt.gapi.user.UserOuterClass.internal_static_com_ywt_gapi_user_LaboratoryReport_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.ywt.gapi.user.LaboratoryReport.class, com.ywt.gapi.user.LaboratoryReport.Builder.class);
  }

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

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

  public static final int INSPECTIONDATE_FIELD_NUMBER = 3;
  private long inspectionDate_;
  /**
   * <pre>
   *检验报告单审核日期（YYYY-MM-DD HH:MM:SS）
   * </pre>
   *
   * <code>int64 inspectionDate = 3;</code>
   */
  public long getInspectionDate() {
    return inspectionDate_;
  }

  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 volatile java.lang.Object patientAge_;
  /**
   * <pre>
   *患者年龄
   * </pre>
   *
   * <code>string patientAge = 6;</code>
   */
  public java.lang.String getPatientAge() {
    java.lang.Object ref = patientAge_;
    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();
      patientAge_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *患者年龄
   * </pre>
   *
   * <code>string patientAge = 6;</code>
   */
  public com.google.protobuf.ByteString
      getPatientAgeBytes() {
    java.lang.Object ref = patientAge_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      patientAge_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int SEX_FIELD_NUMBER = 7;
  private int sex_;
  /**
   * <pre>
   *性别
   * </pre>
   *
   * <code>int32 sex = 7;</code>
   */
  public int getSex() {
    return sex_;
  }

  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 CLINICALDIAGNOSIS_FIELD_NUMBER = 9;
  private volatile java.lang.Object clinicalDiagnosis_;
  /**
   * <pre>
   *临床诊断
   * </pre>
   *
   * <code>string clinicalDiagnosis = 9;</code>
   */
  public java.lang.String getClinicalDiagnosis() {
    java.lang.Object ref = clinicalDiagnosis_;
    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();
      clinicalDiagnosis_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *临床诊断
   * </pre>
   *
   * <code>string clinicalDiagnosis = 9;</code>
   */
  public com.google.protobuf.ByteString
      getClinicalDiagnosisBytes() {
    java.lang.Object ref = clinicalDiagnosis_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      clinicalDiagnosis_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

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

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

  public static final int INPATIENTID_FIELD_NUMBER = 12;
  private volatile java.lang.Object inpatientId_;
  /**
   * <pre>
   *住院号
   * </pre>
   *
   * <code>string inpatientId = 12;</code>
   */
  public java.lang.String getInpatientId() {
    java.lang.Object ref = inpatientId_;
    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();
      inpatientId_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *住院号
   * </pre>
   *
   * <code>string inpatientId = 12;</code>
   */
  public com.google.protobuf.ByteString
      getInpatientIdBytes() {
    java.lang.Object ref = inpatientId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      inpatientId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int CHECKDOCTORNAME_FIELD_NUMBER = 13;
  private volatile java.lang.Object checkDoctorName_;
  /**
   * <pre>
   *审核医生姓名
   * </pre>
   *
   * <code>string checkDoctorName = 13;</code>
   */
  public java.lang.String getCheckDoctorName() {
    java.lang.Object ref = checkDoctorName_;
    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();
      checkDoctorName_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *审核医生姓名
   * </pre>
   *
   * <code>string checkDoctorName = 13;</code>
   */
  public com.google.protobuf.ByteString
      getCheckDoctorNameBytes() {
    java.lang.Object ref = checkDoctorName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      checkDoctorName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ID_FIELD_NUMBER = 14;
  private int id_;
  /**
   * <pre>
   *主键
   * </pre>
   *
   * <code>int32 id = 14;</code>
   */
  public int getId() {
    return id_;
  }

  public static final int HOSPITALID_FIELD_NUMBER = 15;
  private int hospitalId_;
  /**
   * <code>int32 hospitalId = 15;</code>
   */
  public int getHospitalId() {
    return hospitalId_;
  }

  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 (!getInspectionIdBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inspectionId_);
    }
    if (!getInspectionNameBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, inspectionName_);
    }
    if (inspectionDate_ != 0L) {
      output.writeInt64(3, inspectionDate_);
    }
    if (status_ != 0) {
      output.writeInt32(4, status_);
    }
    if (!getPatientNameBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, patientName_);
    }
    if (!getPatientAgeBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, patientAge_);
    }
    if (sex_ != 0) {
      output.writeInt32(7, sex_);
    }
    if (!getDeptNameBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, deptName_);
    }
    if (!getClinicalDiagnosisBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, clinicalDiagnosis_);
    }
    if (!getReportDoctorNameBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, reportDoctorName_);
    }
    if (!getClinicSeqBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 11, clinicSeq_);
    }
    if (!getInpatientIdBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 12, inpatientId_);
    }
    if (!getCheckDoctorNameBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 13, checkDoctorName_);
    }
    if (id_ != 0) {
      output.writeInt32(14, id_);
    }
    if (hospitalId_ != 0) {
      output.writeInt32(15, hospitalId_);
    }
  }

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

    size = 0;
    if (!getInspectionIdBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, inspectionId_);
    }
    if (!getInspectionNameBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, inspectionName_);
    }
    if (inspectionDate_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt64Size(3, inspectionDate_);
    }
    if (status_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(4, status_);
    }
    if (!getPatientNameBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, patientName_);
    }
    if (!getPatientAgeBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, patientAge_);
    }
    if (sex_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(7, sex_);
    }
    if (!getDeptNameBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, deptName_);
    }
    if (!getClinicalDiagnosisBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, clinicalDiagnosis_);
    }
    if (!getReportDoctorNameBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, reportDoctorName_);
    }
    if (!getClinicSeqBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, clinicSeq_);
    }
    if (!getInpatientIdBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, inpatientId_);
    }
    if (!getCheckDoctorNameBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, checkDoctorName_);
    }
    if (id_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(14, id_);
    }
    if (hospitalId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(15, hospitalId_);
    }
    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.user.LaboratoryReport)) {
      return super.equals(obj);
    }
    com.ywt.gapi.user.LaboratoryReport other = (com.ywt.gapi.user.LaboratoryReport) obj;

    boolean result = true;
    result = result && getInspectionId()
        .equals(other.getInspectionId());
    result = result && getInspectionName()
        .equals(other.getInspectionName());
    result = result && (getInspectionDate()
        == other.getInspectionDate());
    result = result && (getStatus()
        == other.getStatus());
    result = result && getPatientName()
        .equals(other.getPatientName());
    result = result && getPatientAge()
        .equals(other.getPatientAge());
    result = result && (getSex()
        == other.getSex());
    result = result && getDeptName()
        .equals(other.getDeptName());
    result = result && getClinicalDiagnosis()
        .equals(other.getClinicalDiagnosis());
    result = result && getReportDoctorName()
        .equals(other.getReportDoctorName());
    result = result && getClinicSeq()
        .equals(other.getClinicSeq());
    result = result && getInpatientId()
        .equals(other.getInpatientId());
    result = result && getCheckDoctorName()
        .equals(other.getCheckDoctorName());
    result = result && (getId()
        == other.getId());
    result = result && (getHospitalId()
        == other.getHospitalId());
    return result;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + INSPECTIONID_FIELD_NUMBER;
    hash = (53 * hash) + getInspectionId().hashCode();
    hash = (37 * hash) + INSPECTIONNAME_FIELD_NUMBER;
    hash = (53 * hash) + getInspectionName().hashCode();
    hash = (37 * hash) + INSPECTIONDATE_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getInspectionDate());
    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().hashCode();
    hash = (37 * hash) + SEX_FIELD_NUMBER;
    hash = (53 * hash) + getSex();
    hash = (37 * hash) + DEPTNAME_FIELD_NUMBER;
    hash = (53 * hash) + getDeptName().hashCode();
    hash = (37 * hash) + CLINICALDIAGNOSIS_FIELD_NUMBER;
    hash = (53 * hash) + getClinicalDiagnosis().hashCode();
    hash = (37 * hash) + REPORTDOCTORNAME_FIELD_NUMBER;
    hash = (53 * hash) + getReportDoctorName().hashCode();
    hash = (37 * hash) + CLINICSEQ_FIELD_NUMBER;
    hash = (53 * hash) + getClinicSeq().hashCode();
    hash = (37 * hash) + INPATIENTID_FIELD_NUMBER;
    hash = (53 * hash) + getInpatientId().hashCode();
    hash = (37 * hash) + CHECKDOCTORNAME_FIELD_NUMBER;
    hash = (53 * hash) + getCheckDoctorName().hashCode();
    hash = (37 * hash) + ID_FIELD_NUMBER;
    hash = (53 * hash) + getId();
    hash = (37 * hash) + HOSPITALID_FIELD_NUMBER;
    hash = (53 * hash) + getHospitalId();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.ywt.gapi.user.LaboratoryReport parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.user.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.user.LaboratoryReport parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.user.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.user.LaboratoryReport parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.user.LaboratoryReport parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.ywt.gapi.user.LaboratoryReport parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.user.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.user.LaboratoryReport parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.user.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.user.LaboratoryReport parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.user.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.user.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.user.LaboratoryReport}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:com.ywt.gapi.user.LaboratoryReport)
      com.ywt.gapi.user.LaboratoryReportOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.ywt.gapi.user.UserOuterClass.internal_static_com_ywt_gapi_user_LaboratoryReport_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.ywt.gapi.user.UserOuterClass.internal_static_com_ywt_gapi_user_LaboratoryReport_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.ywt.gapi.user.LaboratoryReport.class, com.ywt.gapi.user.LaboratoryReport.Builder.class);
    }

    // Construct using com.ywt.gapi.user.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();
      inspectionId_ = "";

      inspectionName_ = "";

      inspectionDate_ = 0L;

      status_ = 0;

      patientName_ = "";

      patientAge_ = "";

      sex_ = 0;

      deptName_ = "";

      clinicalDiagnosis_ = "";

      reportDoctorName_ = "";

      clinicSeq_ = "";

      inpatientId_ = "";

      checkDoctorName_ = "";

      id_ = 0;

      hospitalId_ = 0;

      return this;
    }

    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.ywt.gapi.user.UserOuterClass.internal_static_com_ywt_gapi_user_LaboratoryReport_descriptor;
    }

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

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

    public com.ywt.gapi.user.LaboratoryReport buildPartial() {
      com.ywt.gapi.user.LaboratoryReport result = new com.ywt.gapi.user.LaboratoryReport(this);
      result.inspectionId_ = inspectionId_;
      result.inspectionName_ = inspectionName_;
      result.inspectionDate_ = inspectionDate_;
      result.status_ = status_;
      result.patientName_ = patientName_;
      result.patientAge_ = patientAge_;
      result.sex_ = sex_;
      result.deptName_ = deptName_;
      result.clinicalDiagnosis_ = clinicalDiagnosis_;
      result.reportDoctorName_ = reportDoctorName_;
      result.clinicSeq_ = clinicSeq_;
      result.inpatientId_ = inpatientId_;
      result.checkDoctorName_ = checkDoctorName_;
      result.id_ = id_;
      result.hospitalId_ = hospitalId_;
      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.user.LaboratoryReport) {
        return mergeFrom((com.ywt.gapi.user.LaboratoryReport)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.ywt.gapi.user.LaboratoryReport other) {
      if (other == com.ywt.gapi.user.LaboratoryReport.getDefaultInstance()) return this;
      if (!other.getInspectionId().isEmpty()) {
        inspectionId_ = other.inspectionId_;
        onChanged();
      }
      if (!other.getInspectionName().isEmpty()) {
        inspectionName_ = other.inspectionName_;
        onChanged();
      }
      if (other.getInspectionDate() != 0L) {
        setInspectionDate(other.getInspectionDate());
      }
      if (other.getStatus() != 0) {
        setStatus(other.getStatus());
      }
      if (!other.getPatientName().isEmpty()) {
        patientName_ = other.patientName_;
        onChanged();
      }
      if (!other.getPatientAge().isEmpty()) {
        patientAge_ = other.patientAge_;
        onChanged();
      }
      if (other.getSex() != 0) {
        setSex(other.getSex());
      }
      if (!other.getDeptName().isEmpty()) {
        deptName_ = other.deptName_;
        onChanged();
      }
      if (!other.getClinicalDiagnosis().isEmpty()) {
        clinicalDiagnosis_ = other.clinicalDiagnosis_;
        onChanged();
      }
      if (!other.getReportDoctorName().isEmpty()) {
        reportDoctorName_ = other.reportDoctorName_;
        onChanged();
      }
      if (!other.getClinicSeq().isEmpty()) {
        clinicSeq_ = other.clinicSeq_;
        onChanged();
      }
      if (!other.getInpatientId().isEmpty()) {
        inpatientId_ = other.inpatientId_;
        onChanged();
      }
      if (!other.getCheckDoctorName().isEmpty()) {
        checkDoctorName_ = other.checkDoctorName_;
        onChanged();
      }
      if (other.getId() != 0) {
        setId(other.getId());
      }
      if (other.getHospitalId() != 0) {
        setHospitalId(other.getHospitalId());
      }
      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.user.LaboratoryReport parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.ywt.gapi.user.LaboratoryReport) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private java.lang.Object inspectionId_ = "";
    /**
     * <pre>
     *检验报告单id
     * </pre>
     *
     * <code>string inspectionId = 1;</code>
     */
    public java.lang.String getInspectionId() {
      java.lang.Object ref = inspectionId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        inspectionId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *检验报告单id
     * </pre>
     *
     * <code>string inspectionId = 1;</code>
     */
    public com.google.protobuf.ByteString
        getInspectionIdBytes() {
      java.lang.Object ref = inspectionId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        inspectionId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *检验报告单id
     * </pre>
     *
     * <code>string inspectionId = 1;</code>
     */
    public Builder setInspectionId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      inspectionId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检验报告单id
     * </pre>
     *
     * <code>string inspectionId = 1;</code>
     */
    public Builder clearInspectionId() {
      
      inspectionId_ = getDefaultInstance().getInspectionId();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检验报告单id
     * </pre>
     *
     * <code>string inspectionId = 1;</code>
     */
    public Builder setInspectionIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      inspectionId_ = value;
      onChanged();
      return this;
    }

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

    private long inspectionDate_ ;
    /**
     * <pre>
     *检验报告单审核日期（YYYY-MM-DD HH:MM:SS）
     * </pre>
     *
     * <code>int64 inspectionDate = 3;</code>
     */
    public long getInspectionDate() {
      return inspectionDate_;
    }
    /**
     * <pre>
     *检验报告单审核日期（YYYY-MM-DD HH:MM:SS）
     * </pre>
     *
     * <code>int64 inspectionDate = 3;</code>
     */
    public Builder setInspectionDate(long value) {
      
      inspectionDate_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检验报告单审核日期（YYYY-MM-DD HH:MM:SS）
     * </pre>
     *
     * <code>int64 inspectionDate = 3;</code>
     */
    public Builder clearInspectionDate() {
      
      inspectionDate_ = 0L;
      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 java.lang.Object patientAge_ = "";
    /**
     * <pre>
     *患者年龄
     * </pre>
     *
     * <code>string patientAge = 6;</code>
     */
    public java.lang.String getPatientAge() {
      java.lang.Object ref = patientAge_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        patientAge_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *患者年龄
     * </pre>
     *
     * <code>string patientAge = 6;</code>
     */
    public com.google.protobuf.ByteString
        getPatientAgeBytes() {
      java.lang.Object ref = patientAge_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        patientAge_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *患者年龄
     * </pre>
     *
     * <code>string patientAge = 6;</code>
     */
    public Builder setPatientAge(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      patientAge_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *患者年龄
     * </pre>
     *
     * <code>string patientAge = 6;</code>
     */
    public Builder clearPatientAge() {
      
      patientAge_ = getDefaultInstance().getPatientAge();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *患者年龄
     * </pre>
     *
     * <code>string patientAge = 6;</code>
     */
    public Builder setPatientAgeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      patientAge_ = value;
      onChanged();
      return this;
    }

    private int sex_ ;
    /**
     * <pre>
     *性别
     * </pre>
     *
     * <code>int32 sex = 7;</code>
     */
    public int getSex() {
      return sex_;
    }
    /**
     * <pre>
     *性别
     * </pre>
     *
     * <code>int32 sex = 7;</code>
     */
    public Builder setSex(int value) {
      
      sex_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *性别
     * </pre>
     *
     * <code>int32 sex = 7;</code>
     */
    public Builder clearSex() {
      
      sex_ = 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 clinicalDiagnosis_ = "";
    /**
     * <pre>
     *临床诊断
     * </pre>
     *
     * <code>string clinicalDiagnosis = 9;</code>
     */
    public java.lang.String getClinicalDiagnosis() {
      java.lang.Object ref = clinicalDiagnosis_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        clinicalDiagnosis_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *临床诊断
     * </pre>
     *
     * <code>string clinicalDiagnosis = 9;</code>
     */
    public com.google.protobuf.ByteString
        getClinicalDiagnosisBytes() {
      java.lang.Object ref = clinicalDiagnosis_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        clinicalDiagnosis_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *临床诊断
     * </pre>
     *
     * <code>string clinicalDiagnosis = 9;</code>
     */
    public Builder setClinicalDiagnosis(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      clinicalDiagnosis_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *临床诊断
     * </pre>
     *
     * <code>string clinicalDiagnosis = 9;</code>
     */
    public Builder clearClinicalDiagnosis() {
      
      clinicalDiagnosis_ = getDefaultInstance().getClinicalDiagnosis();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *临床诊断
     * </pre>
     *
     * <code>string clinicalDiagnosis = 9;</code>
     */
    public Builder setClinicalDiagnosisBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      clinicalDiagnosis_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object reportDoctorName_ = "";
    /**
     * <pre>
     *报告医生姓名
     * </pre>
     *
     * <code>string reportDoctorName = 10;</code>
     */
    public java.lang.String getReportDoctorName() {
      java.lang.Object ref = reportDoctorName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        reportDoctorName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *报告医生姓名
     * </pre>
     *
     * <code>string reportDoctorName = 10;</code>
     */
    public com.google.protobuf.ByteString
        getReportDoctorNameBytes() {
      java.lang.Object ref = reportDoctorName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        reportDoctorName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *报告医生姓名
     * </pre>
     *
     * <code>string reportDoctorName = 10;</code>
     */
    public Builder setReportDoctorName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      reportDoctorName_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *报告医生姓名
     * </pre>
     *
     * <code>string reportDoctorName = 10;</code>
     */
    public Builder clearReportDoctorName() {
      
      reportDoctorName_ = getDefaultInstance().getReportDoctorName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *报告医生姓名
     * </pre>
     *
     * <code>string reportDoctorName = 10;</code>
     */
    public Builder setReportDoctorNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      reportDoctorName_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object clinicSeq_ = "";
    /**
     * <pre>
     *门诊就诊流水号
     * </pre>
     *
     * <code>string clinicSeq = 11;</code>
     */
    public java.lang.String getClinicSeq() {
      java.lang.Object ref = clinicSeq_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        clinicSeq_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *门诊就诊流水号
     * </pre>
     *
     * <code>string clinicSeq = 11;</code>
     */
    public com.google.protobuf.ByteString
        getClinicSeqBytes() {
      java.lang.Object ref = clinicSeq_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        clinicSeq_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *门诊就诊流水号
     * </pre>
     *
     * <code>string clinicSeq = 11;</code>
     */
    public Builder setClinicSeq(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      clinicSeq_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *门诊就诊流水号
     * </pre>
     *
     * <code>string clinicSeq = 11;</code>
     */
    public Builder clearClinicSeq() {
      
      clinicSeq_ = getDefaultInstance().getClinicSeq();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *门诊就诊流水号
     * </pre>
     *
     * <code>string clinicSeq = 11;</code>
     */
    public Builder setClinicSeqBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      clinicSeq_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object inpatientId_ = "";
    /**
     * <pre>
     *住院号
     * </pre>
     *
     * <code>string inpatientId = 12;</code>
     */
    public java.lang.String getInpatientId() {
      java.lang.Object ref = inpatientId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        inpatientId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *住院号
     * </pre>
     *
     * <code>string inpatientId = 12;</code>
     */
    public com.google.protobuf.ByteString
        getInpatientIdBytes() {
      java.lang.Object ref = inpatientId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        inpatientId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *住院号
     * </pre>
     *
     * <code>string inpatientId = 12;</code>
     */
    public Builder setInpatientId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      inpatientId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *住院号
     * </pre>
     *
     * <code>string inpatientId = 12;</code>
     */
    public Builder clearInpatientId() {
      
      inpatientId_ = getDefaultInstance().getInpatientId();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *住院号
     * </pre>
     *
     * <code>string inpatientId = 12;</code>
     */
    public Builder setInpatientIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      inpatientId_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object checkDoctorName_ = "";
    /**
     * <pre>
     *审核医生姓名
     * </pre>
     *
     * <code>string checkDoctorName = 13;</code>
     */
    public java.lang.String getCheckDoctorName() {
      java.lang.Object ref = checkDoctorName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        checkDoctorName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *审核医生姓名
     * </pre>
     *
     * <code>string checkDoctorName = 13;</code>
     */
    public com.google.protobuf.ByteString
        getCheckDoctorNameBytes() {
      java.lang.Object ref = checkDoctorName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        checkDoctorName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *审核医生姓名
     * </pre>
     *
     * <code>string checkDoctorName = 13;</code>
     */
    public Builder setCheckDoctorName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      checkDoctorName_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *审核医生姓名
     * </pre>
     *
     * <code>string checkDoctorName = 13;</code>
     */
    public Builder clearCheckDoctorName() {
      
      checkDoctorName_ = getDefaultInstance().getCheckDoctorName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *审核医生姓名
     * </pre>
     *
     * <code>string checkDoctorName = 13;</code>
     */
    public Builder setCheckDoctorNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      checkDoctorName_ = value;
      onChanged();
      return this;
    }

    private int id_ ;
    /**
     * <pre>
     *主键
     * </pre>
     *
     * <code>int32 id = 14;</code>
     */
    public int getId() {
      return id_;
    }
    /**
     * <pre>
     *主键
     * </pre>
     *
     * <code>int32 id = 14;</code>
     */
    public Builder setId(int value) {
      
      id_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *主键
     * </pre>
     *
     * <code>int32 id = 14;</code>
     */
    public Builder clearId() {
      
      id_ = 0;
      onChanged();
      return this;
    }

    private int hospitalId_ ;
    /**
     * <code>int32 hospitalId = 15;</code>
     */
    public int getHospitalId() {
      return hospitalId_;
    }
    /**
     * <code>int32 hospitalId = 15;</code>
     */
    public Builder setHospitalId(int value) {
      
      hospitalId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 hospitalId = 15;</code>
     */
    public Builder clearHospitalId() {
      
      hospitalId_ = 0;
      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.user.LaboratoryReport)
  }

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

  public static com.ywt.gapi.user.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.user.LaboratoryReport getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

