// 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.InspectionReport}
 */
public final class InspectionReport extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.nfyy.InspectionReport)
    InspectionReportOrBuilder {
private static final long serialVersionUID = 0L;
  // Use InspectionReport.newBuilder() to construct.
  private InspectionReport(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private InspectionReport() {
    reportId_ = "";
    reportTitle_ = "";
    reportDate_ = "";
    patientName_ = "";
    patientAge_ = "";
    clinicalDiagnosis_ = "";
    clinicSeq_ = "";
    inpatientId_ = "";
  }

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

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

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

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

            reportDate_ = s;
            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();

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

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

            inpatientId_ = 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_InspectionReport_descriptor;
  }

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

  public static final int REPORTID_FIELD_NUMBER = 1;
  private volatile java.lang.Object reportId_;
  /**
   * <pre>
   *检查报告单id
   * </pre>
   *
   * <code>string reportId = 1;</code>
   * @return The reportId.
   */
  @java.lang.Override
  public java.lang.String getReportId() {
    java.lang.Object ref = reportId_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      reportId_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *检查报告单id
   * </pre>
   *
   * <code>string reportId = 1;</code>
   * @return The bytes for reportId.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getReportIdBytes() {
    java.lang.Object ref = reportId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      reportId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int REPORTTITLE_FIELD_NUMBER = 2;
  private volatile java.lang.Object reportTitle_;
  /**
   * <pre>
   *检查报告单标题名称
   * </pre>
   *
   * <code>string reportTitle = 2;</code>
   * @return The reportTitle.
   */
  @java.lang.Override
  public java.lang.String getReportTitle() {
    java.lang.Object ref = reportTitle_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      reportTitle_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *检查报告单标题名称
   * </pre>
   *
   * <code>string reportTitle = 2;</code>
   * @return The bytes for reportTitle.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getReportTitleBytes() {
    java.lang.Object ref = reportTitle_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      reportTitle_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int REPORTDATE_FIELD_NUMBER = 3;
  private volatile java.lang.Object reportDate_;
  /**
   * <pre>
   *检查报告单审核日期（YYYY-MM-DD HH:MM:SS）
   * </pre>
   *
   * <code>string reportDate = 3;</code>
   * @return The reportDate.
   */
  @java.lang.Override
  public java.lang.String getReportDate() {
    java.lang.Object ref = reportDate_;
    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();
      reportDate_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *检查报告单审核日期（YYYY-MM-DD HH:MM:SS）
   * </pre>
   *
   * <code>string reportDate = 3;</code>
   * @return The bytes for reportDate.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getReportDateBytes() {
    java.lang.Object ref = reportDate_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      reportDate_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int STATUS_FIELD_NUMBER = 4;
  private int status_;
  /**
   * <pre>
   *报告状态 0 未审核 1已审核
   * </pre>
   *
   * <code>int32 status = 4;</code>
   * @return The status.
   */
  @java.lang.Override
  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>
   * @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 SEX_FIELD_NUMBER = 7;
  private int sex_;
  /**
   * <pre>
   *性别
   * </pre>
   *
   * <code>int32 sex = 7;</code>
   * @return The sex.
   */
  @java.lang.Override
  public int getSex() {
    return sex_;
  }

  public static final int CLINICALDIAGNOSIS_FIELD_NUMBER = 8;
  private volatile java.lang.Object clinicalDiagnosis_;
  /**
   * <pre>
   *临床诊断
   * </pre>
   *
   * <code>string clinicalDiagnosis = 8;</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 = 8;</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 CLINICSEQ_FIELD_NUMBER = 9;
  private volatile java.lang.Object clinicSeq_;
  /**
   * <pre>
   *门诊就诊流水号
   * </pre>
   *
   * <code>string clinicSeq = 9;</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 = 9;</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 = 10;
  private volatile java.lang.Object inpatientId_;
  /**
   * <pre>
   *住院流水号
   * </pre>
   *
   * <code>string inpatientId = 10;</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 = 10;</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;
    }
  }

  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(reportId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, reportId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reportTitle_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, reportTitle_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reportDate_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, reportDate_);
    }
    if (status_ != 0) {
      output.writeInt32(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 (sex_ != 0) {
      output.writeInt32(7, sex_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clinicalDiagnosis_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, clinicalDiagnosis_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clinicSeq_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, clinicSeq_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inpatientId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, inpatientId_);
    }
    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(reportId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, reportId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reportTitle_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, reportTitle_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reportDate_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, reportDate_);
    }
    if (status_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(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 (sex_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(7, sex_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clinicalDiagnosis_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, clinicalDiagnosis_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clinicSeq_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, clinicSeq_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inpatientId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, inpatientId_);
    }
    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.InspectionReport)) {
      return super.equals(obj);
    }
    com.ywt.gapi.nfyy.InspectionReport other = (com.ywt.gapi.nfyy.InspectionReport) obj;

    if (!getReportId()
        .equals(other.getReportId())) return false;
    if (!getReportTitle()
        .equals(other.getReportTitle())) return false;
    if (!getReportDate()
        .equals(other.getReportDate())) return false;
    if (getStatus()
        != other.getStatus()) return false;
    if (!getPatientName()
        .equals(other.getPatientName())) return false;
    if (!getPatientAge()
        .equals(other.getPatientAge())) return false;
    if (getSex()
        != other.getSex()) return false;
    if (!getClinicalDiagnosis()
        .equals(other.getClinicalDiagnosis())) return false;
    if (!getClinicSeq()
        .equals(other.getClinicSeq())) return false;
    if (!getInpatientId()
        .equals(other.getInpatientId())) 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) + REPORTID_FIELD_NUMBER;
    hash = (53 * hash) + getReportId().hashCode();
    hash = (37 * hash) + REPORTTITLE_FIELD_NUMBER;
    hash = (53 * hash) + getReportTitle().hashCode();
    hash = (37 * hash) + REPORTDATE_FIELD_NUMBER;
    hash = (53 * hash) + getReportDate().hashCode();
    hash = (37 * hash) + STATUS_FIELD_NUMBER;
    hash = (53 * hash) + getStatus();
    hash = (37 * hash) + PATIENTNAME_FIELD_NUMBER;
    hash = (53 * hash) + getPatientName().hashCode();
    hash = (37 * hash) + PATIENTAGE_FIELD_NUMBER;
    hash = (53 * hash) + getPatientAge().hashCode();
    hash = (37 * hash) + SEX_FIELD_NUMBER;
    hash = (53 * hash) + getSex();
    hash = (37 * hash) + CLINICALDIAGNOSIS_FIELD_NUMBER;
    hash = (53 * hash) + getClinicalDiagnosis().hashCode();
    hash = (37 * hash) + CLINICSEQ_FIELD_NUMBER;
    hash = (53 * hash) + getClinicSeq().hashCode();
    hash = (37 * hash) + INPATIENTID_FIELD_NUMBER;
    hash = (53 * hash) + getInpatientId().hashCode();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

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

      reportTitle_ = "";

      reportDate_ = "";

      status_ = 0;

      patientName_ = "";

      patientAge_ = "";

      sex_ = 0;

      clinicalDiagnosis_ = "";

      clinicSeq_ = "";

      inpatientId_ = "";

      return this;
    }

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

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

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

    @java.lang.Override
    public com.ywt.gapi.nfyy.InspectionReport buildPartial() {
      com.ywt.gapi.nfyy.InspectionReport result = new com.ywt.gapi.nfyy.InspectionReport(this);
      result.reportId_ = reportId_;
      result.reportTitle_ = reportTitle_;
      result.reportDate_ = reportDate_;
      result.status_ = status_;
      result.patientName_ = patientName_;
      result.patientAge_ = patientAge_;
      result.sex_ = sex_;
      result.clinicalDiagnosis_ = clinicalDiagnosis_;
      result.clinicSeq_ = clinicSeq_;
      result.inpatientId_ = inpatientId_;
      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.InspectionReport) {
        return mergeFrom((com.ywt.gapi.nfyy.InspectionReport)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.ywt.gapi.nfyy.InspectionReport other) {
      if (other == com.ywt.gapi.nfyy.InspectionReport.getDefaultInstance()) return this;
      if (!other.getReportId().isEmpty()) {
        reportId_ = other.reportId_;
        onChanged();
      }
      if (!other.getReportTitle().isEmpty()) {
        reportTitle_ = other.reportTitle_;
        onChanged();
      }
      if (!other.getReportDate().isEmpty()) {
        reportDate_ = other.reportDate_;
        onChanged();
      }
      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.getClinicalDiagnosis().isEmpty()) {
        clinicalDiagnosis_ = other.clinicalDiagnosis_;
        onChanged();
      }
      if (!other.getClinicSeq().isEmpty()) {
        clinicSeq_ = other.clinicSeq_;
        onChanged();
      }
      if (!other.getInpatientId().isEmpty()) {
        inpatientId_ = other.inpatientId_;
        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.InspectionReport parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.ywt.gapi.nfyy.InspectionReport) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

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

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

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

    private int status_ ;
    /**
     * <pre>
     *报告状态 0 未审核 1已审核
     * </pre>
     *
     * <code>int32 status = 4;</code>
     * @return The status.
     */
    @java.lang.Override
    public int getStatus() {
      return status_;
    }
    /**
     * <pre>
     *报告状态 0 未审核 1已审核
     * </pre>
     *
     * <code>int32 status = 4;</code>
     * @param value The status to set.
     * @return This builder for chaining.
     */
    public Builder setStatus(int value) {
      
      status_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *报告状态 0 未审核 1已审核
     * </pre>
     *
     * <code>int32 status = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearStatus() {
      
      status_ = 0;
      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 int sex_ ;
    /**
     * <pre>
     *性别
     * </pre>
     *
     * <code>int32 sex = 7;</code>
     * @return The sex.
     */
    @java.lang.Override
    public int getSex() {
      return sex_;
    }
    /**
     * <pre>
     *性别
     * </pre>
     *
     * <code>int32 sex = 7;</code>
     * @param value The sex to set.
     * @return This builder for chaining.
     */
    public Builder setSex(int value) {
      
      sex_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *性别
     * </pre>
     *
     * <code>int32 sex = 7;</code>
     * @return This builder for chaining.
     */
    public Builder clearSex() {
      
      sex_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object clinicalDiagnosis_ = "";
    /**
     * <pre>
     *临床诊断
     * </pre>
     *
     * <code>string clinicalDiagnosis = 8;</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 = 8;</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 = 8;</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 = 8;</code>
     * @return This builder for chaining.
     */
    public Builder clearClinicalDiagnosis() {
      
      clinicalDiagnosis_ = getDefaultInstance().getClinicalDiagnosis();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *临床诊断
     * </pre>
     *
     * <code>string clinicalDiagnosis = 8;</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 clinicSeq_ = "";
    /**
     * <pre>
     *门诊就诊流水号
     * </pre>
     *
     * <code>string clinicSeq = 9;</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 = 9;</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 = 9;</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 = 9;</code>
     * @return This builder for chaining.
     */
    public Builder clearClinicSeq() {
      
      clinicSeq_ = getDefaultInstance().getClinicSeq();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *门诊就诊流水号
     * </pre>
     *
     * <code>string clinicSeq = 9;</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 = 10;</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 = 10;</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 = 10;</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 = 10;</code>
     * @return This builder for chaining.
     */
    public Builder clearInpatientId() {
      
      inpatientId_ = getDefaultInstance().getInpatientId();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *住院流水号
     * </pre>
     *
     * <code>string inpatientId = 10;</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;
    }
    @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.InspectionReport)
  }

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

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

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

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

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

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

}

