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

package com.ywt.gapi.nfyy;

/**
 * <pre>
 *检验报告
 * </pre>
 *
 * Protobuf type {@code com.ywt.gapi.nfyy.Report}
 */
public final class Report extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.nfyy.Report)
    ReportOrBuilder {
private static final long serialVersionUID = 0L;
  // Use Report.newBuilder() to construct.
  private Report(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private Report() {
    inspectionId_ = "";
    inspectionName_ = "";
    inspectionDate_ = "";
    status_ = "";
    patientName_ = "";
    patientAge_ = "";
    gender_ = "";
    deptName_ = "";
    clinicalDiagnosis_ = "";
    reportDoctorName_ = "";
    clinicSeq_ = "";
    inpatientId_ = "";
    checkDoctorName_ = "";
  }

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

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

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

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

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

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

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

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

            gender_ = s;
            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;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.ywt.gapi.nfyy.NfyyProto.internal_static_com_ywt_gapi_nfyy_Report_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.ywt.gapi.nfyy.NfyyProto.internal_static_com_ywt_gapi_nfyy_Report_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.ywt.gapi.nfyy.Report.class, com.ywt.gapi.nfyy.Report.Builder.class);
  }

  public static final int INSPECTIONID_FIELD_NUMBER = 1;
  private volatile java.lang.Object inspectionId_;
  /**
   * <pre>
   *检验报告单id
   * </pre>
   *
   * <code>string inspectionId = 1;</code>
   * @return The inspectionId.
   */
  @java.lang.Override
  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>
   * @return The bytes for inspectionId.
   */
  @java.lang.Override
  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>
   * @return The inspectionName.
   */
  @java.lang.Override
  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>
   * @return The bytes for inspectionName.
   */
  @java.lang.Override
  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 volatile java.lang.Object inspectionDate_;
  /**
   * <pre>
   *检验报告单审核日期（YYYY-MM-DD HH:MM:SS）
   * </pre>
   *
   * <code>string inspectionDate = 3;</code>
   * @return The inspectionDate.
   */
  @java.lang.Override
  public java.lang.String getInspectionDate() {
    java.lang.Object ref = inspectionDate_;
    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();
      inspectionDate_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *检验报告单审核日期（YYYY-MM-DD HH:MM:SS）
   * </pre>
   *
   * <code>string inspectionDate = 3;</code>
   * @return The bytes for inspectionDate.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getInspectionDateBytes() {
    java.lang.Object ref = inspectionDate_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      inspectionDate_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int STATUS_FIELD_NUMBER = 4;
  private volatile java.lang.Object status_;
  /**
   * <pre>
   *报告状态 0 未审核 1已审核
   * </pre>
   *
   * <code>string status = 4;</code>
   * @return The status.
   */
  @java.lang.Override
  public java.lang.String getStatus() {
    java.lang.Object ref = status_;
    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();
      status_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *报告状态 0 未审核 1已审核
   * </pre>
   *
   * <code>string status = 4;</code>
   * @return The bytes for status.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getStatusBytes() {
    java.lang.Object ref = status_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      status_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

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

  public static final int PATIENTAGE_FIELD_NUMBER = 6;
  private volatile java.lang.Object patientAge_;
  /**
   * <pre>
   *患者年龄
   * </pre>
   *
   * <code>string patientAge = 6;</code>
   * @return The patientAge.
   */
  @java.lang.Override
  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>
   * @return The bytes for patientAge.
   */
  @java.lang.Override
  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 GENDER_FIELD_NUMBER = 7;
  private volatile java.lang.Object gender_;
  /**
   * <pre>
   *性别
   * </pre>
   *
   * <code>string gender = 7;</code>
   * @return The gender.
   */
  @java.lang.Override
  public java.lang.String getGender() {
    java.lang.Object ref = gender_;
    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();
      gender_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *性别
   * </pre>
   *
   * <code>string gender = 7;</code>
   * @return The bytes for gender.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getGenderBytes() {
    java.lang.Object ref = gender_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      gender_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DEPTNAME_FIELD_NUMBER = 8;
  private volatile java.lang.Object deptName_;
  /**
   * <pre>
   *申请科室名称
   * </pre>
   *
   * <code>string deptName = 8;</code>
   * @return The deptName.
   */
  @java.lang.Override
  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>
   * @return The bytes for deptName.
   */
  @java.lang.Override
  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>
   * @return The clinicalDiagnosis.
   */
  @java.lang.Override
  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>
   * @return The bytes for clinicalDiagnosis.
   */
  @java.lang.Override
  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>
   * @return The reportDoctorName.
   */
  @java.lang.Override
  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>
   * @return The bytes for reportDoctorName.
   */
  @java.lang.Override
  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>
   * @return The clinicSeq.
   */
  @java.lang.Override
  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>
   * @return The bytes for clinicSeq.
   */
  @java.lang.Override
  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>
   * @return The inpatientId.
   */
  @java.lang.Override
  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>
   * @return The bytes for inpatientId.
   */
  @java.lang.Override
  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>
   * @return The checkDoctorName.
   */
  @java.lang.Override
  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>
   * @return The bytes for checkDoctorName.
   */
  @java.lang.Override
  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;
    }
  }

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

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inspectionId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inspectionId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inspectionName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, inspectionName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inspectionDate_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, inspectionDate_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(status_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, status_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(patientName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, patientName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(patientAge_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, patientAge_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gender_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, gender_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deptName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, deptName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clinicalDiagnosis_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, clinicalDiagnosis_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reportDoctorName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, reportDoctorName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clinicSeq_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 11, clinicSeq_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inpatientId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 12, inpatientId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(checkDoctorName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 13, checkDoctorName_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inspectionId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, inspectionId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inspectionName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, inspectionName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inspectionDate_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, inspectionDate_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(status_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, status_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(patientName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, patientName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(patientAge_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, patientAge_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gender_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, gender_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deptName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, deptName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clinicalDiagnosis_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, clinicalDiagnosis_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reportDoctorName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, reportDoctorName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clinicSeq_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, clinicSeq_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inpatientId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, inpatientId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(checkDoctorName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, checkDoctorName_);
    }
    size += unknownFields.getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof com.ywt.gapi.nfyy.Report)) {
      return super.equals(obj);
    }
    com.ywt.gapi.nfyy.Report other = (com.ywt.gapi.nfyy.Report) obj;

    if (!getInspectionId()
        .equals(other.getInspectionId())) return false;
    if (!getInspectionName()
        .equals(other.getInspectionName())) return false;
    if (!getInspectionDate()
        .equals(other.getInspectionDate())) return false;
    if (!getStatus()
        .equals(other.getStatus())) return false;
    if (!getPatientName()
        .equals(other.getPatientName())) return false;
    if (!getPatientAge()
        .equals(other.getPatientAge())) return false;
    if (!getGender()
        .equals(other.getGender())) return false;
    if (!getDeptName()
        .equals(other.getDeptName())) return false;
    if (!getClinicalDiagnosis()
        .equals(other.getClinicalDiagnosis())) return false;
    if (!getReportDoctorName()
        .equals(other.getReportDoctorName())) return false;
    if (!getClinicSeq()
        .equals(other.getClinicSeq())) return false;
    if (!getInpatientId()
        .equals(other.getInpatientId())) return false;
    if (!getCheckDoctorName()
        .equals(other.getCheckDoctorName())) return false;
    if (!unknownFields.equals(other.unknownFields)) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + 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) + getInspectionDate().hashCode();
    hash = (37 * hash) + STATUS_FIELD_NUMBER;
    hash = (53 * hash) + getStatus().hashCode();
    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) + GENDER_FIELD_NUMBER;
    hash = (53 * hash) + getGender().hashCode();
    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 = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.ywt.gapi.nfyy.Report parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.nfyy.Report 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.nfyy.Report parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.nfyy.Report 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.nfyy.Report parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.nfyy.Report parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.ywt.gapi.nfyy.Report parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.nfyy.Report 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.nfyy.Report parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.nfyy.Report 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.nfyy.Report parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.nfyy.Report parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }

  @java.lang.Override
  public Builder newBuilderForType() { return newBuilder(); }
  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }
  public static Builder newBuilder(com.ywt.gapi.nfyy.Report prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  @java.lang.Override
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE
        ? new Builder() : new Builder().mergeFrom(this);
  }

  @java.lang.Override
  protected Builder newBuilderForType(
      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * <pre>
   *检验报告
   * </pre>
   *
   * Protobuf type {@code com.ywt.gapi.nfyy.Report}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:com.ywt.gapi.nfyy.Report)
      com.ywt.gapi.nfyy.ReportOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.ywt.gapi.nfyy.NfyyProto.internal_static_com_ywt_gapi_nfyy_Report_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.ywt.gapi.nfyy.NfyyProto.internal_static_com_ywt_gapi_nfyy_Report_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.ywt.gapi.nfyy.Report.class, com.ywt.gapi.nfyy.Report.Builder.class);
    }

    // Construct using com.ywt.gapi.nfyy.Report.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      inspectionId_ = "";

      inspectionName_ = "";

      inspectionDate_ = "";

      status_ = "";

      patientName_ = "";

      patientAge_ = "";

      gender_ = "";

      deptName_ = "";

      clinicalDiagnosis_ = "";

      reportDoctorName_ = "";

      clinicSeq_ = "";

      inpatientId_ = "";

      checkDoctorName_ = "";

      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.ywt.gapi.nfyy.NfyyProto.internal_static_com_ywt_gapi_nfyy_Report_descriptor;
    }

    @java.lang.Override
    public com.ywt.gapi.nfyy.Report getDefaultInstanceForType() {
      return com.ywt.gapi.nfyy.Report.getDefaultInstance();
    }

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

    @java.lang.Override
    public com.ywt.gapi.nfyy.Report buildPartial() {
      com.ywt.gapi.nfyy.Report result = new com.ywt.gapi.nfyy.Report(this);
      result.inspectionId_ = inspectionId_;
      result.inspectionName_ = inspectionName_;
      result.inspectionDate_ = inspectionDate_;
      result.status_ = status_;
      result.patientName_ = patientName_;
      result.patientAge_ = patientAge_;
      result.gender_ = gender_;
      result.deptName_ = deptName_;
      result.clinicalDiagnosis_ = clinicalDiagnosis_;
      result.reportDoctorName_ = reportDoctorName_;
      result.clinicSeq_ = clinicSeq_;
      result.inpatientId_ = inpatientId_;
      result.checkDoctorName_ = checkDoctorName_;
      onBuilt();
      return result;
    }

    @java.lang.Override
    public Builder clone() {
      return super.clone();
    }
    @java.lang.Override
    public Builder setField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.setField(field, value);
    }
    @java.lang.Override
    public Builder clearField(
        com.google.protobuf.Descriptors.FieldDescriptor field) {
      return super.clearField(field);
    }
    @java.lang.Override
    public Builder clearOneof(
        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
      return super.clearOneof(oneof);
    }
    @java.lang.Override
    public Builder setRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        int index, java.lang.Object value) {
      return super.setRepeatedField(field, index, value);
    }
    @java.lang.Override
    public Builder addRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.addRepeatedField(field, value);
    }
    @java.lang.Override
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof com.ywt.gapi.nfyy.Report) {
        return mergeFrom((com.ywt.gapi.nfyy.Report)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.ywt.gapi.nfyy.Report other) {
      if (other == com.ywt.gapi.nfyy.Report.getDefaultInstance()) return this;
      if (!other.getInspectionId().isEmpty()) {
        inspectionId_ = other.inspectionId_;
        onChanged();
      }
      if (!other.getInspectionName().isEmpty()) {
        inspectionName_ = other.inspectionName_;
        onChanged();
      }
      if (!other.getInspectionDate().isEmpty()) {
        inspectionDate_ = other.inspectionDate_;
        onChanged();
      }
      if (!other.getStatus().isEmpty()) {
        status_ = other.status_;
        onChanged();
      }
      if (!other.getPatientName().isEmpty()) {
        patientName_ = other.patientName_;
        onChanged();
      }
      if (!other.getPatientAge().isEmpty()) {
        patientAge_ = other.patientAge_;
        onChanged();
      }
      if (!other.getGender().isEmpty()) {
        gender_ = other.gender_;
        onChanged();
      }
      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();
      }
      this.mergeUnknownFields(other.unknownFields);
      onChanged();
      return this;
    }

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

    @java.lang.Override
    public Builder mergeFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      com.ywt.gapi.nfyy.Report parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.ywt.gapi.nfyy.Report) 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>
     * @return The inspectionId.
     */
    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>
     * @return The bytes for inspectionId.
     */
    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>
     * @param value The inspectionId to set.
     * @return This builder for chaining.
     */
    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>
     * @return This builder for chaining.
     */
    public Builder clearInspectionId() {
      
      inspectionId_ = getDefaultInstance().getInspectionId();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检验报告单id
     * </pre>
     *
     * <code>string inspectionId = 1;</code>
     * @param value The bytes for inspectionId to set.
     * @return This builder for chaining.
     */
    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>
     * @return The inspectionName.
     */
    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>
     * @return The bytes for inspectionName.
     */
    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>
     * @param value The inspectionName to set.
     * @return This builder for chaining.
     */
    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>
     * @return This builder for chaining.
     */
    public Builder clearInspectionName() {
      
      inspectionName_ = getDefaultInstance().getInspectionName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检验报告单标题名称
     * </pre>
     *
     * <code>string inspectionName = 2;</code>
     * @param value The bytes for inspectionName to set.
     * @return This builder for chaining.
     */
    public Builder setInspectionNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      inspectionName_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object inspectionDate_ = "";
    /**
     * <pre>
     *检验报告单审核日期（YYYY-MM-DD HH:MM:SS）
     * </pre>
     *
     * <code>string inspectionDate = 3;</code>
     * @return The inspectionDate.
     */
    public java.lang.String getInspectionDate() {
      java.lang.Object ref = inspectionDate_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        inspectionDate_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *检验报告单审核日期（YYYY-MM-DD HH:MM:SS）
     * </pre>
     *
     * <code>string inspectionDate = 3;</code>
     * @return The bytes for inspectionDate.
     */
    public com.google.protobuf.ByteString
        getInspectionDateBytes() {
      java.lang.Object ref = inspectionDate_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        inspectionDate_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *检验报告单审核日期（YYYY-MM-DD HH:MM:SS）
     * </pre>
     *
     * <code>string inspectionDate = 3;</code>
     * @param value The inspectionDate to set.
     * @return This builder for chaining.
     */
    public Builder setInspectionDate(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      inspectionDate_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检验报告单审核日期（YYYY-MM-DD HH:MM:SS）
     * </pre>
     *
     * <code>string inspectionDate = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearInspectionDate() {
      
      inspectionDate_ = getDefaultInstance().getInspectionDate();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检验报告单审核日期（YYYY-MM-DD HH:MM:SS）
     * </pre>
     *
     * <code>string inspectionDate = 3;</code>
     * @param value The bytes for inspectionDate to set.
     * @return This builder for chaining.
     */
    public Builder setInspectionDateBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      inspectionDate_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object status_ = "";
    /**
     * <pre>
     *报告状态 0 未审核 1已审核
     * </pre>
     *
     * <code>string status = 4;</code>
     * @return The status.
     */
    public java.lang.String getStatus() {
      java.lang.Object ref = status_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        status_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *报告状态 0 未审核 1已审核
     * </pre>
     *
     * <code>string status = 4;</code>
     * @return The bytes for status.
     */
    public com.google.protobuf.ByteString
        getStatusBytes() {
      java.lang.Object ref = status_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        status_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *报告状态 0 未审核 1已审核
     * </pre>
     *
     * <code>string status = 4;</code>
     * @param value The status to set.
     * @return This builder for chaining.
     */
    public Builder setStatus(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      status_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *报告状态 0 未审核 1已审核
     * </pre>
     *
     * <code>string status = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearStatus() {
      
      status_ = getDefaultInstance().getStatus();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *报告状态 0 未审核 1已审核
     * </pre>
     *
     * <code>string status = 4;</code>
     * @param value The bytes for status to set.
     * @return This builder for chaining.
     */
    public Builder setStatusBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      status_ = value;
      onChanged();
      return this;
    }

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

    private java.lang.Object patientAge_ = "";
    /**
     * <pre>
     *患者年龄
     * </pre>
     *
     * <code>string patientAge = 6;</code>
     * @return The patientAge.
     */
    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>
     * @return The bytes for patientAge.
     */
    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>
     * @param value The patientAge to set.
     * @return This builder for chaining.
     */
    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>
     * @return This builder for chaining.
     */
    public Builder clearPatientAge() {
      
      patientAge_ = getDefaultInstance().getPatientAge();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *患者年龄
     * </pre>
     *
     * <code>string patientAge = 6;</code>
     * @param value The bytes for patientAge to set.
     * @return This builder for chaining.
     */
    public Builder setPatientAgeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      patientAge_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object gender_ = "";
    /**
     * <pre>
     *性别
     * </pre>
     *
     * <code>string gender = 7;</code>
     * @return The gender.
     */
    public java.lang.String getGender() {
      java.lang.Object ref = gender_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        gender_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *性别
     * </pre>
     *
     * <code>string gender = 7;</code>
     * @return The bytes for gender.
     */
    public com.google.protobuf.ByteString
        getGenderBytes() {
      java.lang.Object ref = gender_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        gender_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *性别
     * </pre>
     *
     * <code>string gender = 7;</code>
     * @param value The gender to set.
     * @return This builder for chaining.
     */
    public Builder setGender(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      gender_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *性别
     * </pre>
     *
     * <code>string gender = 7;</code>
     * @return This builder for chaining.
     */
    public Builder clearGender() {
      
      gender_ = getDefaultInstance().getGender();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *性别
     * </pre>
     *
     * <code>string gender = 7;</code>
     * @param value The bytes for gender to set.
     * @return This builder for chaining.
     */
    public Builder setGenderBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      gender_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object deptName_ = "";
    /**
     * <pre>
     *申请科室名称
     * </pre>
     *
     * <code>string deptName = 8;</code>
     * @return The deptName.
     */
    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>
     * @return The bytes for deptName.
     */
    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>
     * @param value The deptName to set.
     * @return This builder for chaining.
     */
    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>
     * @return This builder for chaining.
     */
    public Builder clearDeptName() {
      
      deptName_ = getDefaultInstance().getDeptName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *申请科室名称
     * </pre>
     *
     * <code>string deptName = 8;</code>
     * @param value The bytes for deptName to set.
     * @return This builder for chaining.
     */
    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>
     * @return The clinicalDiagnosis.
     */
    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>
     * @return The bytes for clinicalDiagnosis.
     */
    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>
     * @param value The clinicalDiagnosis to set.
     * @return This builder for chaining.
     */
    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>
     * @return This builder for chaining.
     */
    public Builder clearClinicalDiagnosis() {
      
      clinicalDiagnosis_ = getDefaultInstance().getClinicalDiagnosis();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *临床诊断
     * </pre>
     *
     * <code>string clinicalDiagnosis = 9;</code>
     * @param value The bytes for clinicalDiagnosis to set.
     * @return This builder for chaining.
     */
    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>
     * @return The reportDoctorName.
     */
    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>
     * @return The bytes for reportDoctorName.
     */
    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>
     * @param value The reportDoctorName to set.
     * @return This builder for chaining.
     */
    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>
     * @return This builder for chaining.
     */
    public Builder clearReportDoctorName() {
      
      reportDoctorName_ = getDefaultInstance().getReportDoctorName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *报告医生姓名
     * </pre>
     *
     * <code>string reportDoctorName = 10;</code>
     * @param value The bytes for reportDoctorName to set.
     * @return This builder for chaining.
     */
    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>
     * @return The clinicSeq.
     */
    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>
     * @return The bytes for clinicSeq.
     */
    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>
     * @param value The clinicSeq to set.
     * @return This builder for chaining.
     */
    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>
     * @return This builder for chaining.
     */
    public Builder clearClinicSeq() {
      
      clinicSeq_ = getDefaultInstance().getClinicSeq();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *门诊就诊流水号
     * </pre>
     *
     * <code>string clinicSeq = 11;</code>
     * @param value The bytes for clinicSeq to set.
     * @return This builder for chaining.
     */
    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>
     * @return The inpatientId.
     */
    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>
     * @return The bytes for inpatientId.
     */
    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>
     * @param value The inpatientId to set.
     * @return This builder for chaining.
     */
    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>
     * @return This builder for chaining.
     */
    public Builder clearInpatientId() {
      
      inpatientId_ = getDefaultInstance().getInpatientId();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *住院号
     * </pre>
     *
     * <code>string inpatientId = 12;</code>
     * @param value The bytes for inpatientId to set.
     * @return This builder for chaining.
     */
    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>
     * @return The checkDoctorName.
     */
    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>
     * @return The bytes for checkDoctorName.
     */
    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>
     * @param value The checkDoctorName to set.
     * @return This builder for chaining.
     */
    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>
     * @return This builder for chaining.
     */
    public Builder clearCheckDoctorName() {
      
      checkDoctorName_ = getDefaultInstance().getCheckDoctorName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *审核医生姓名
     * </pre>
     *
     * <code>string checkDoctorName = 13;</code>
     * @param value The bytes for checkDoctorName to set.
     * @return This builder for chaining.
     */
    public Builder setCheckDoctorNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      checkDoctorName_ = value;
      onChanged();
      return this;
    }
    @java.lang.Override
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

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


    // @@protoc_insertion_point(builder_scope:com.ywt.gapi.nfyy.Report)
  }

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

  public static com.ywt.gapi.nfyy.Report getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

  @java.lang.Override
  public com.ywt.gapi.nfyy.Report getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

