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

package com.ywt.gapi.user;

/**
 * <pre>
 *检查结果详情
 * </pre>
 *
 * Protobuf type {@code com.ywt.gapi.user.InspectionReportDetail}
 */
public  final class InspectionReportDetail extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.user.InspectionReportDetail)
    InspectionReportDetailOrBuilder {
  // Use InspectionReportDetail.newBuilder() to construct.
  private InspectionReportDetail(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private InspectionReportDetail() {
    deptName_ = "";
    reportDoctorName_ = "";
    checkParts_ = "";
    examination_ = "";
    diagnosis_ = "";
    checkDoctorName_ = "";
    examinationDate_ = 0L;
    verifyDate_ = 0L;
    verifyDocName_ = "";
    appDocName_ = "";
    id_ = 0;
    reportId_ = "";
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
  }
  private InspectionReportDetail(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    int mutable_bitField0_ = 0;
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          default: {
            if (!input.skipField(tag)) {
              done = true;
            }
            break;
          }
          case 10: {
            java.lang.String s = input.readStringRequireUtf8();

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

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

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

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

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

            checkDoctorName_ = s;
            break;
          }
          case 56: {

            examinationDate_ = input.readInt64();
            break;
          }
          case 64: {

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

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

            appDocName_ = s;
            break;
          }
          case 88: {

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

            reportId_ = s;
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.ywt.gapi.user.UserOuterClass.internal_static_com_ywt_gapi_user_InspectionReportDetail_descriptor;
  }

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

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

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

  public static final int CHECKPARTS_FIELD_NUMBER = 3;
  private volatile java.lang.Object checkParts_;
  /**
   * <pre>
   *检查部位
   * </pre>
   *
   * <code>string checkParts = 3;</code>
   */
  public java.lang.String getCheckParts() {
    java.lang.Object ref = checkParts_;
    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();
      checkParts_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *检查部位
   * </pre>
   *
   * <code>string checkParts = 3;</code>
   */
  public com.google.protobuf.ByteString
      getCheckPartsBytes() {
    java.lang.Object ref = checkParts_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      checkParts_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int EXAMINATION_FIELD_NUMBER = 4;
  private volatile java.lang.Object examination_;
  /**
   * <pre>
   *检查所见
   * </pre>
   *
   * <code>string examination = 4;</code>
   */
  public java.lang.String getExamination() {
    java.lang.Object ref = examination_;
    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();
      examination_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *检查所见
   * </pre>
   *
   * <code>string examination = 4;</code>
   */
  public com.google.protobuf.ByteString
      getExaminationBytes() {
    java.lang.Object ref = examination_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      examination_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DIAGNOSIS_FIELD_NUMBER = 5;
  private volatile java.lang.Object diagnosis_;
  /**
   * <pre>
   *诊断结果
   * </pre>
   *
   * <code>string diagnosis = 5;</code>
   */
  public java.lang.String getDiagnosis() {
    java.lang.Object ref = diagnosis_;
    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();
      diagnosis_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *诊断结果
   * </pre>
   *
   * <code>string diagnosis = 5;</code>
   */
  public com.google.protobuf.ByteString
      getDiagnosisBytes() {
    java.lang.Object ref = diagnosis_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      diagnosis_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int CHECKDOCTORNAME_FIELD_NUMBER = 6;
  private volatile java.lang.Object checkDoctorName_;
  /**
   * <pre>
   *检查医生（技师）姓名
   * </pre>
   *
   * <code>string checkDoctorName = 6;</code>
   */
  public java.lang.String getCheckDoctorName() {
    java.lang.Object ref = checkDoctorName_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      checkDoctorName_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *检查医生（技师）姓名
   * </pre>
   *
   * <code>string checkDoctorName = 6;</code>
   */
  public com.google.protobuf.ByteString
      getCheckDoctorNameBytes() {
    java.lang.Object ref = checkDoctorName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      checkDoctorName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int EXAMINATIONDATE_FIELD_NUMBER = 7;
  private long examinationDate_;
  /**
   * <pre>
   *检查日期（YYYY-MM-DD HH:MM:SS）
   * </pre>
   *
   * <code>int64 examinationDate = 7;</code>
   */
  public long getExaminationDate() {
    return examinationDate_;
  }

  public static final int VERIFYDATE_FIELD_NUMBER = 8;
  private long verifyDate_;
  /**
   * <pre>
   *审核日期
   * </pre>
   *
   * <code>int64 verifyDate = 8;</code>
   */
  public long getVerifyDate() {
    return verifyDate_;
  }

  public static final int VERIFYDOCNAME_FIELD_NUMBER = 9;
  private volatile java.lang.Object verifyDocName_;
  /**
   * <pre>
   *审核医生
   * </pre>
   *
   * <code>string verifyDocName = 9;</code>
   */
  public java.lang.String getVerifyDocName() {
    java.lang.Object ref = verifyDocName_;
    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();
      verifyDocName_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *审核医生
   * </pre>
   *
   * <code>string verifyDocName = 9;</code>
   */
  public com.google.protobuf.ByteString
      getVerifyDocNameBytes() {
    java.lang.Object ref = verifyDocName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      verifyDocName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int APPDOCNAME_FIELD_NUMBER = 10;
  private volatile java.lang.Object appDocName_;
  /**
   * <pre>
   *开单医生
   * </pre>
   *
   * <code>string appDocName = 10;</code>
   */
  public java.lang.String getAppDocName() {
    java.lang.Object ref = appDocName_;
    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();
      appDocName_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *开单医生
   * </pre>
   *
   * <code>string appDocName = 10;</code>
   */
  public com.google.protobuf.ByteString
      getAppDocNameBytes() {
    java.lang.Object ref = appDocName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      appDocName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

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

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

  private byte memoizedIsInitialized = -1;
  public final boolean isInitialized() {
    byte isInitialized = memoizedIsInitialized;
    if (isInitialized == 1) return true;
    if (isInitialized == 0) return false;

    memoizedIsInitialized = 1;
    return true;
  }

  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (!getDeptNameBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, deptName_);
    }
    if (!getReportDoctorNameBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, reportDoctorName_);
    }
    if (!getCheckPartsBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, checkParts_);
    }
    if (!getExaminationBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, examination_);
    }
    if (!getDiagnosisBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, diagnosis_);
    }
    if (!getCheckDoctorNameBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, checkDoctorName_);
    }
    if (examinationDate_ != 0L) {
      output.writeInt64(7, examinationDate_);
    }
    if (verifyDate_ != 0L) {
      output.writeInt64(8, verifyDate_);
    }
    if (!getVerifyDocNameBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, verifyDocName_);
    }
    if (!getAppDocNameBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, appDocName_);
    }
    if (id_ != 0) {
      output.writeInt32(11, id_);
    }
    if (!getReportIdBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 12, reportId_);
    }
  }

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

    size = 0;
    if (!getDeptNameBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, deptName_);
    }
    if (!getReportDoctorNameBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, reportDoctorName_);
    }
    if (!getCheckPartsBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, checkParts_);
    }
    if (!getExaminationBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, examination_);
    }
    if (!getDiagnosisBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, diagnosis_);
    }
    if (!getCheckDoctorNameBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, checkDoctorName_);
    }
    if (examinationDate_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt64Size(7, examinationDate_);
    }
    if (verifyDate_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt64Size(8, verifyDate_);
    }
    if (!getVerifyDocNameBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, verifyDocName_);
    }
    if (!getAppDocNameBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, appDocName_);
    }
    if (id_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(11, id_);
    }
    if (!getReportIdBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, reportId_);
    }
    memoizedSize = size;
    return size;
  }

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

    boolean result = true;
    result = result && getDeptName()
        .equals(other.getDeptName());
    result = result && getReportDoctorName()
        .equals(other.getReportDoctorName());
    result = result && getCheckParts()
        .equals(other.getCheckParts());
    result = result && getExamination()
        .equals(other.getExamination());
    result = result && getDiagnosis()
        .equals(other.getDiagnosis());
    result = result && getCheckDoctorName()
        .equals(other.getCheckDoctorName());
    result = result && (getExaminationDate()
        == other.getExaminationDate());
    result = result && (getVerifyDate()
        == other.getVerifyDate());
    result = result && getVerifyDocName()
        .equals(other.getVerifyDocName());
    result = result && getAppDocName()
        .equals(other.getAppDocName());
    result = result && (getId()
        == other.getId());
    result = result && getReportId()
        .equals(other.getReportId());
    return result;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + DEPTNAME_FIELD_NUMBER;
    hash = (53 * hash) + getDeptName().hashCode();
    hash = (37 * hash) + REPORTDOCTORNAME_FIELD_NUMBER;
    hash = (53 * hash) + getReportDoctorName().hashCode();
    hash = (37 * hash) + CHECKPARTS_FIELD_NUMBER;
    hash = (53 * hash) + getCheckParts().hashCode();
    hash = (37 * hash) + EXAMINATION_FIELD_NUMBER;
    hash = (53 * hash) + getExamination().hashCode();
    hash = (37 * hash) + DIAGNOSIS_FIELD_NUMBER;
    hash = (53 * hash) + getDiagnosis().hashCode();
    hash = (37 * hash) + CHECKDOCTORNAME_FIELD_NUMBER;
    hash = (53 * hash) + getCheckDoctorName().hashCode();
    hash = (37 * hash) + EXAMINATIONDATE_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getExaminationDate());
    hash = (37 * hash) + VERIFYDATE_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getVerifyDate());
    hash = (37 * hash) + VERIFYDOCNAME_FIELD_NUMBER;
    hash = (53 * hash) + getVerifyDocName().hashCode();
    hash = (37 * hash) + APPDOCNAME_FIELD_NUMBER;
    hash = (53 * hash) + getAppDocName().hashCode();
    hash = (37 * hash) + ID_FIELD_NUMBER;
    hash = (53 * hash) + getId();
    hash = (37 * hash) + REPORTID_FIELD_NUMBER;
    hash = (53 * hash) + getReportId().hashCode();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.ywt.gapi.user.InspectionReportDetail parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.user.InspectionReportDetail parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.ywt.gapi.user.InspectionReportDetail parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.user.InspectionReportDetail parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.ywt.gapi.user.InspectionReportDetail parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.user.InspectionReportDetail parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.ywt.gapi.user.InspectionReportDetail parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.user.InspectionReportDetail parseFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }
  public static com.ywt.gapi.user.InspectionReportDetail parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.user.InspectionReportDetail parseDelimitedFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
  }
  public static com.ywt.gapi.user.InspectionReportDetail parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.user.InspectionReportDetail parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }

  public Builder newBuilderForType() { return newBuilder(); }
  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }
  public static Builder newBuilder(com.ywt.gapi.user.InspectionReportDetail prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE
        ? new Builder() : new Builder().mergeFrom(this);
  }

  @java.lang.Override
  protected Builder newBuilderForType(
      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * <pre>
   *检查结果详情
   * </pre>
   *
   * Protobuf type {@code com.ywt.gapi.user.InspectionReportDetail}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:com.ywt.gapi.user.InspectionReportDetail)
      com.ywt.gapi.user.InspectionReportDetailOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.ywt.gapi.user.UserOuterClass.internal_static_com_ywt_gapi_user_InspectionReportDetail_descriptor;
    }

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

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

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
      }
    }
    public Builder clear() {
      super.clear();
      deptName_ = "";

      reportDoctorName_ = "";

      checkParts_ = "";

      examination_ = "";

      diagnosis_ = "";

      checkDoctorName_ = "";

      examinationDate_ = 0L;

      verifyDate_ = 0L;

      verifyDocName_ = "";

      appDocName_ = "";

      id_ = 0;

      reportId_ = "";

      return this;
    }

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

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

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

    public com.ywt.gapi.user.InspectionReportDetail buildPartial() {
      com.ywt.gapi.user.InspectionReportDetail result = new com.ywt.gapi.user.InspectionReportDetail(this);
      result.deptName_ = deptName_;
      result.reportDoctorName_ = reportDoctorName_;
      result.checkParts_ = checkParts_;
      result.examination_ = examination_;
      result.diagnosis_ = diagnosis_;
      result.checkDoctorName_ = checkDoctorName_;
      result.examinationDate_ = examinationDate_;
      result.verifyDate_ = verifyDate_;
      result.verifyDocName_ = verifyDocName_;
      result.appDocName_ = appDocName_;
      result.id_ = id_;
      result.reportId_ = reportId_;
      onBuilt();
      return result;
    }

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

    public Builder mergeFrom(com.ywt.gapi.user.InspectionReportDetail other) {
      if (other == com.ywt.gapi.user.InspectionReportDetail.getDefaultInstance()) return this;
      if (!other.getDeptName().isEmpty()) {
        deptName_ = other.deptName_;
        onChanged();
      }
      if (!other.getReportDoctorName().isEmpty()) {
        reportDoctorName_ = other.reportDoctorName_;
        onChanged();
      }
      if (!other.getCheckParts().isEmpty()) {
        checkParts_ = other.checkParts_;
        onChanged();
      }
      if (!other.getExamination().isEmpty()) {
        examination_ = other.examination_;
        onChanged();
      }
      if (!other.getDiagnosis().isEmpty()) {
        diagnosis_ = other.diagnosis_;
        onChanged();
      }
      if (!other.getCheckDoctorName().isEmpty()) {
        checkDoctorName_ = other.checkDoctorName_;
        onChanged();
      }
      if (other.getExaminationDate() != 0L) {
        setExaminationDate(other.getExaminationDate());
      }
      if (other.getVerifyDate() != 0L) {
        setVerifyDate(other.getVerifyDate());
      }
      if (!other.getVerifyDocName().isEmpty()) {
        verifyDocName_ = other.verifyDocName_;
        onChanged();
      }
      if (!other.getAppDocName().isEmpty()) {
        appDocName_ = other.appDocName_;
        onChanged();
      }
      if (other.getId() != 0) {
        setId(other.getId());
      }
      if (!other.getReportId().isEmpty()) {
        reportId_ = other.reportId_;
        onChanged();
      }
      onChanged();
      return this;
    }

    public final boolean isInitialized() {
      return true;
    }

    public Builder mergeFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      com.ywt.gapi.user.InspectionReportDetail parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.ywt.gapi.user.InspectionReportDetail) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

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

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

    private java.lang.Object checkParts_ = "";
    /**
     * <pre>
     *检查部位
     * </pre>
     *
     * <code>string checkParts = 3;</code>
     */
    public java.lang.String getCheckParts() {
      java.lang.Object ref = checkParts_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        checkParts_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *检查部位
     * </pre>
     *
     * <code>string checkParts = 3;</code>
     */
    public com.google.protobuf.ByteString
        getCheckPartsBytes() {
      java.lang.Object ref = checkParts_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        checkParts_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *检查部位
     * </pre>
     *
     * <code>string checkParts = 3;</code>
     */
    public Builder setCheckParts(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      checkParts_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检查部位
     * </pre>
     *
     * <code>string checkParts = 3;</code>
     */
    public Builder clearCheckParts() {
      
      checkParts_ = getDefaultInstance().getCheckParts();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检查部位
     * </pre>
     *
     * <code>string checkParts = 3;</code>
     */
    public Builder setCheckPartsBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      checkParts_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object examination_ = "";
    /**
     * <pre>
     *检查所见
     * </pre>
     *
     * <code>string examination = 4;</code>
     */
    public java.lang.String getExamination() {
      java.lang.Object ref = examination_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        examination_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *检查所见
     * </pre>
     *
     * <code>string examination = 4;</code>
     */
    public com.google.protobuf.ByteString
        getExaminationBytes() {
      java.lang.Object ref = examination_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        examination_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *检查所见
     * </pre>
     *
     * <code>string examination = 4;</code>
     */
    public Builder setExamination(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      examination_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检查所见
     * </pre>
     *
     * <code>string examination = 4;</code>
     */
    public Builder clearExamination() {
      
      examination_ = getDefaultInstance().getExamination();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检查所见
     * </pre>
     *
     * <code>string examination = 4;</code>
     */
    public Builder setExaminationBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      examination_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object diagnosis_ = "";
    /**
     * <pre>
     *诊断结果
     * </pre>
     *
     * <code>string diagnosis = 5;</code>
     */
    public java.lang.String getDiagnosis() {
      java.lang.Object ref = diagnosis_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        diagnosis_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *诊断结果
     * </pre>
     *
     * <code>string diagnosis = 5;</code>
     */
    public com.google.protobuf.ByteString
        getDiagnosisBytes() {
      java.lang.Object ref = diagnosis_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        diagnosis_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *诊断结果
     * </pre>
     *
     * <code>string diagnosis = 5;</code>
     */
    public Builder setDiagnosis(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      diagnosis_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *诊断结果
     * </pre>
     *
     * <code>string diagnosis = 5;</code>
     */
    public Builder clearDiagnosis() {
      
      diagnosis_ = getDefaultInstance().getDiagnosis();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *诊断结果
     * </pre>
     *
     * <code>string diagnosis = 5;</code>
     */
    public Builder setDiagnosisBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      diagnosis_ = value;
      onChanged();
      return this;
    }

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

    private long examinationDate_ ;
    /**
     * <pre>
     *检查日期（YYYY-MM-DD HH:MM:SS）
     * </pre>
     *
     * <code>int64 examinationDate = 7;</code>
     */
    public long getExaminationDate() {
      return examinationDate_;
    }
    /**
     * <pre>
     *检查日期（YYYY-MM-DD HH:MM:SS）
     * </pre>
     *
     * <code>int64 examinationDate = 7;</code>
     */
    public Builder setExaminationDate(long value) {
      
      examinationDate_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检查日期（YYYY-MM-DD HH:MM:SS）
     * </pre>
     *
     * <code>int64 examinationDate = 7;</code>
     */
    public Builder clearExaminationDate() {
      
      examinationDate_ = 0L;
      onChanged();
      return this;
    }

    private long verifyDate_ ;
    /**
     * <pre>
     *审核日期
     * </pre>
     *
     * <code>int64 verifyDate = 8;</code>
     */
    public long getVerifyDate() {
      return verifyDate_;
    }
    /**
     * <pre>
     *审核日期
     * </pre>
     *
     * <code>int64 verifyDate = 8;</code>
     */
    public Builder setVerifyDate(long value) {
      
      verifyDate_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *审核日期
     * </pre>
     *
     * <code>int64 verifyDate = 8;</code>
     */
    public Builder clearVerifyDate() {
      
      verifyDate_ = 0L;
      onChanged();
      return this;
    }

    private java.lang.Object verifyDocName_ = "";
    /**
     * <pre>
     *审核医生
     * </pre>
     *
     * <code>string verifyDocName = 9;</code>
     */
    public java.lang.String getVerifyDocName() {
      java.lang.Object ref = verifyDocName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        verifyDocName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *审核医生
     * </pre>
     *
     * <code>string verifyDocName = 9;</code>
     */
    public com.google.protobuf.ByteString
        getVerifyDocNameBytes() {
      java.lang.Object ref = verifyDocName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        verifyDocName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *审核医生
     * </pre>
     *
     * <code>string verifyDocName = 9;</code>
     */
    public Builder setVerifyDocName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      verifyDocName_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *审核医生
     * </pre>
     *
     * <code>string verifyDocName = 9;</code>
     */
    public Builder clearVerifyDocName() {
      
      verifyDocName_ = getDefaultInstance().getVerifyDocName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *审核医生
     * </pre>
     *
     * <code>string verifyDocName = 9;</code>
     */
    public Builder setVerifyDocNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      verifyDocName_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object appDocName_ = "";
    /**
     * <pre>
     *开单医生
     * </pre>
     *
     * <code>string appDocName = 10;</code>
     */
    public java.lang.String getAppDocName() {
      java.lang.Object ref = appDocName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        appDocName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *开单医生
     * </pre>
     *
     * <code>string appDocName = 10;</code>
     */
    public com.google.protobuf.ByteString
        getAppDocNameBytes() {
      java.lang.Object ref = appDocName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        appDocName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *开单医生
     * </pre>
     *
     * <code>string appDocName = 10;</code>
     */
    public Builder setAppDocName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      appDocName_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *开单医生
     * </pre>
     *
     * <code>string appDocName = 10;</code>
     */
    public Builder clearAppDocName() {
      
      appDocName_ = getDefaultInstance().getAppDocName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *开单医生
     * </pre>
     *
     * <code>string appDocName = 10;</code>
     */
    public Builder setAppDocNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      appDocName_ = value;
      onChanged();
      return this;
    }

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

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

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


    // @@protoc_insertion_point(builder_scope:com.ywt.gapi.user.InspectionReportDetail)
  }

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

  public static com.ywt.gapi.user.InspectionReportDetail getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

  public com.ywt.gapi.user.InspectionReportDetail getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

