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

package com.ywt.gapi.third.taihe;

/**
 * <pre>
 *检查结果详情
 * </pre>
 *
 * Protobuf type {@code com.ywt.gapi.third.taihe.InspectionDetail}
 */
public final class InspectionDetail extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.third.taihe.InspectionDetail)
    InspectionDetailOrBuilder {
private static final long serialVersionUID = 0L;
  // Use InspectionDetail.newBuilder() to construct.
  private InspectionDetail(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private InspectionDetail() {
    deptName_ = "";
    doctorName_ = "";
    inspectionPart_ = "";
    inspectionResult_ = "";
    diagnose_ = "";
    inspectionDoctor_ = "";
    inspectionDate_ = "";
    auditDate_ = "";
    auditor_ = "";
    submitDoctor_ = "";
  }

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

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

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

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

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

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

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

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

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

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

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

            submitDoctor_ = 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.third.taihe.TaiheProto.internal_static_com_ywt_gapi_third_taihe_InspectionDetail_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.ywt.gapi.third.taihe.TaiheProto.internal_static_com_ywt_gapi_third_taihe_InspectionDetail_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.ywt.gapi.third.taihe.InspectionDetail.class, com.ywt.gapi.third.taihe.InspectionDetail.Builder.class);
  }

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

  public static final int DOCTORNAME_FIELD_NUMBER = 2;
  private volatile java.lang.Object doctorName_;
  /**
   * <pre>
   *报告医生姓名
   * </pre>
   *
   * <code>string doctorName = 2;</code>
   * @return The doctorName.
   */
  @java.lang.Override
  public java.lang.String getDoctorName() {
    java.lang.Object ref = doctorName_;
    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();
      doctorName_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *报告医生姓名
   * </pre>
   *
   * <code>string doctorName = 2;</code>
   * @return The bytes for doctorName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDoctorNameBytes() {
    java.lang.Object ref = doctorName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      doctorName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int INSPECTIONPART_FIELD_NUMBER = 3;
  private volatile java.lang.Object inspectionPart_;
  /**
   * <pre>
   *检查部位
   * </pre>
   *
   * <code>string inspectionPart = 3;</code>
   * @return The inspectionPart.
   */
  @java.lang.Override
  public java.lang.String getInspectionPart() {
    java.lang.Object ref = inspectionPart_;
    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();
      inspectionPart_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *检查部位
   * </pre>
   *
   * <code>string inspectionPart = 3;</code>
   * @return The bytes for inspectionPart.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getInspectionPartBytes() {
    java.lang.Object ref = inspectionPart_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      inspectionPart_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int INSPECTIONRESULT_FIELD_NUMBER = 4;
  private volatile java.lang.Object inspectionResult_;
  /**
   * <pre>
   *检查所见
   * </pre>
   *
   * <code>string inspectionResult = 4;</code>
   * @return The inspectionResult.
   */
  @java.lang.Override
  public java.lang.String getInspectionResult() {
    java.lang.Object ref = inspectionResult_;
    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();
      inspectionResult_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *检查所见
   * </pre>
   *
   * <code>string inspectionResult = 4;</code>
   * @return The bytes for inspectionResult.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getInspectionResultBytes() {
    java.lang.Object ref = inspectionResult_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      inspectionResult_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DIAGNOSE_FIELD_NUMBER = 5;
  private volatile java.lang.Object diagnose_;
  /**
   * <pre>
   *诊断结果
   * </pre>
   *
   * <code>string diagnose = 5;</code>
   * @return The diagnose.
   */
  @java.lang.Override
  public java.lang.String getDiagnose() {
    java.lang.Object ref = diagnose_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      diagnose_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *诊断结果
   * </pre>
   *
   * <code>string diagnose = 5;</code>
   * @return The bytes for diagnose.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDiagnoseBytes() {
    java.lang.Object ref = diagnose_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      diagnose_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int INSPECTIONDOCTOR_FIELD_NUMBER = 6;
  private volatile java.lang.Object inspectionDoctor_;
  /**
   * <pre>
   *检查医生（技师）姓名
   * </pre>
   *
   * <code>string inspectionDoctor = 6;</code>
   * @return The inspectionDoctor.
   */
  @java.lang.Override
  public java.lang.String getInspectionDoctor() {
    java.lang.Object ref = inspectionDoctor_;
    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();
      inspectionDoctor_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *检查医生（技师）姓名
   * </pre>
   *
   * <code>string inspectionDoctor = 6;</code>
   * @return The bytes for inspectionDoctor.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getInspectionDoctorBytes() {
    java.lang.Object ref = inspectionDoctor_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      inspectionDoctor_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int INSPECTIONDATE_FIELD_NUMBER = 7;
  private volatile java.lang.Object inspectionDate_;
  /**
   * <pre>
   *检查日期（YYYY-MM-DD HH:MM:SS）
   * </pre>
   *
   * <code>string inspectionDate = 7;</code>
   * @return The inspectionDate.
   */
  @java.lang.Override
  public java.lang.String getInspectionDate() {
    java.lang.Object ref = inspectionDate_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      inspectionDate_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *检查日期（YYYY-MM-DD HH:MM:SS）
   * </pre>
   *
   * <code>string inspectionDate = 7;</code>
   * @return The bytes for inspectionDate.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getInspectionDateBytes() {
    java.lang.Object ref = inspectionDate_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      inspectionDate_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int AUDITDATE_FIELD_NUMBER = 8;
  private volatile java.lang.Object auditDate_;
  /**
   * <pre>
   *审核日期
   * </pre>
   *
   * <code>string auditDate = 8;</code>
   * @return The auditDate.
   */
  @java.lang.Override
  public java.lang.String getAuditDate() {
    java.lang.Object ref = auditDate_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      auditDate_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *审核日期
   * </pre>
   *
   * <code>string auditDate = 8;</code>
   * @return The bytes for auditDate.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getAuditDateBytes() {
    java.lang.Object ref = auditDate_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      auditDate_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int AUDITOR_FIELD_NUMBER = 9;
  private volatile java.lang.Object auditor_;
  /**
   * <pre>
   *审核医生
   * </pre>
   *
   * <code>string auditor = 9;</code>
   * @return The auditor.
   */
  @java.lang.Override
  public java.lang.String getAuditor() {
    java.lang.Object ref = auditor_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      auditor_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *审核医生
   * </pre>
   *
   * <code>string auditor = 9;</code>
   * @return The bytes for auditor.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getAuditorBytes() {
    java.lang.Object ref = auditor_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      auditor_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int SUBMITDOCTOR_FIELD_NUMBER = 10;
  private volatile java.lang.Object submitDoctor_;
  /**
   * <pre>
   *开单医生
   * </pre>
   *
   * <code>string submitDoctor = 10;</code>
   * @return The submitDoctor.
   */
  @java.lang.Override
  public java.lang.String getSubmitDoctor() {
    java.lang.Object ref = submitDoctor_;
    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();
      submitDoctor_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *开单医生
   * </pre>
   *
   * <code>string submitDoctor = 10;</code>
   * @return The bytes for submitDoctor.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getSubmitDoctorBytes() {
    java.lang.Object ref = submitDoctor_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      submitDoctor_ = 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(deptName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, deptName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctorName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, doctorName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inspectionPart_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, inspectionPart_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inspectionResult_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, inspectionResult_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(diagnose_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, diagnose_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inspectionDoctor_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, inspectionDoctor_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inspectionDate_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, inspectionDate_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(auditDate_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, auditDate_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(auditor_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, auditor_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(submitDoctor_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, submitDoctor_);
    }
    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(deptName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, deptName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctorName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, doctorName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inspectionPart_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, inspectionPart_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inspectionResult_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, inspectionResult_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(diagnose_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, diagnose_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inspectionDoctor_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, inspectionDoctor_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inspectionDate_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, inspectionDate_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(auditDate_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, auditDate_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(auditor_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, auditor_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(submitDoctor_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, submitDoctor_);
    }
    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.third.taihe.InspectionDetail)) {
      return super.equals(obj);
    }
    com.ywt.gapi.third.taihe.InspectionDetail other = (com.ywt.gapi.third.taihe.InspectionDetail) obj;

    if (!getDeptName()
        .equals(other.getDeptName())) return false;
    if (!getDoctorName()
        .equals(other.getDoctorName())) return false;
    if (!getInspectionPart()
        .equals(other.getInspectionPart())) return false;
    if (!getInspectionResult()
        .equals(other.getInspectionResult())) return false;
    if (!getDiagnose()
        .equals(other.getDiagnose())) return false;
    if (!getInspectionDoctor()
        .equals(other.getInspectionDoctor())) return false;
    if (!getInspectionDate()
        .equals(other.getInspectionDate())) return false;
    if (!getAuditDate()
        .equals(other.getAuditDate())) return false;
    if (!getAuditor()
        .equals(other.getAuditor())) return false;
    if (!getSubmitDoctor()
        .equals(other.getSubmitDoctor())) 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) + DEPTNAME_FIELD_NUMBER;
    hash = (53 * hash) + getDeptName().hashCode();
    hash = (37 * hash) + DOCTORNAME_FIELD_NUMBER;
    hash = (53 * hash) + getDoctorName().hashCode();
    hash = (37 * hash) + INSPECTIONPART_FIELD_NUMBER;
    hash = (53 * hash) + getInspectionPart().hashCode();
    hash = (37 * hash) + INSPECTIONRESULT_FIELD_NUMBER;
    hash = (53 * hash) + getInspectionResult().hashCode();
    hash = (37 * hash) + DIAGNOSE_FIELD_NUMBER;
    hash = (53 * hash) + getDiagnose().hashCode();
    hash = (37 * hash) + INSPECTIONDOCTOR_FIELD_NUMBER;
    hash = (53 * hash) + getInspectionDoctor().hashCode();
    hash = (37 * hash) + INSPECTIONDATE_FIELD_NUMBER;
    hash = (53 * hash) + getInspectionDate().hashCode();
    hash = (37 * hash) + AUDITDATE_FIELD_NUMBER;
    hash = (53 * hash) + getAuditDate().hashCode();
    hash = (37 * hash) + AUDITOR_FIELD_NUMBER;
    hash = (53 * hash) + getAuditor().hashCode();
    hash = (37 * hash) + SUBMITDOCTOR_FIELD_NUMBER;
    hash = (53 * hash) + getSubmitDoctor().hashCode();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.ywt.gapi.third.taihe.TaiheProto.internal_static_com_ywt_gapi_third_taihe_InspectionDetail_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.ywt.gapi.third.taihe.InspectionDetail.class, com.ywt.gapi.third.taihe.InspectionDetail.Builder.class);
    }

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

      doctorName_ = "";

      inspectionPart_ = "";

      inspectionResult_ = "";

      diagnose_ = "";

      inspectionDoctor_ = "";

      inspectionDate_ = "";

      auditDate_ = "";

      auditor_ = "";

      submitDoctor_ = "";

      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.ywt.gapi.third.taihe.TaiheProto.internal_static_com_ywt_gapi_third_taihe_InspectionDetail_descriptor;
    }

    @java.lang.Override
    public com.ywt.gapi.third.taihe.InspectionDetail getDefaultInstanceForType() {
      return com.ywt.gapi.third.taihe.InspectionDetail.getDefaultInstance();
    }

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

    @java.lang.Override
    public com.ywt.gapi.third.taihe.InspectionDetail buildPartial() {
      com.ywt.gapi.third.taihe.InspectionDetail result = new com.ywt.gapi.third.taihe.InspectionDetail(this);
      result.deptName_ = deptName_;
      result.doctorName_ = doctorName_;
      result.inspectionPart_ = inspectionPart_;
      result.inspectionResult_ = inspectionResult_;
      result.diagnose_ = diagnose_;
      result.inspectionDoctor_ = inspectionDoctor_;
      result.inspectionDate_ = inspectionDate_;
      result.auditDate_ = auditDate_;
      result.auditor_ = auditor_;
      result.submitDoctor_ = submitDoctor_;
      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.third.taihe.InspectionDetail) {
        return mergeFrom((com.ywt.gapi.third.taihe.InspectionDetail)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.ywt.gapi.third.taihe.InspectionDetail other) {
      if (other == com.ywt.gapi.third.taihe.InspectionDetail.getDefaultInstance()) return this;
      if (!other.getDeptName().isEmpty()) {
        deptName_ = other.deptName_;
        onChanged();
      }
      if (!other.getDoctorName().isEmpty()) {
        doctorName_ = other.doctorName_;
        onChanged();
      }
      if (!other.getInspectionPart().isEmpty()) {
        inspectionPart_ = other.inspectionPart_;
        onChanged();
      }
      if (!other.getInspectionResult().isEmpty()) {
        inspectionResult_ = other.inspectionResult_;
        onChanged();
      }
      if (!other.getDiagnose().isEmpty()) {
        diagnose_ = other.diagnose_;
        onChanged();
      }
      if (!other.getInspectionDoctor().isEmpty()) {
        inspectionDoctor_ = other.inspectionDoctor_;
        onChanged();
      }
      if (!other.getInspectionDate().isEmpty()) {
        inspectionDate_ = other.inspectionDate_;
        onChanged();
      }
      if (!other.getAuditDate().isEmpty()) {
        auditDate_ = other.auditDate_;
        onChanged();
      }
      if (!other.getAuditor().isEmpty()) {
        auditor_ = other.auditor_;
        onChanged();
      }
      if (!other.getSubmitDoctor().isEmpty()) {
        submitDoctor_ = other.submitDoctor_;
        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.third.taihe.InspectionDetail parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.ywt.gapi.third.taihe.InspectionDetail) 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>
     * @return The deptName.
     */
    public java.lang.String getDeptName() {
      java.lang.Object ref = deptName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        deptName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *申请科室名称
     * </pre>
     *
     * <code>string deptName = 1;</code>
     * @return The bytes for deptName.
     */
    public com.google.protobuf.ByteString
        getDeptNameBytes() {
      java.lang.Object ref = deptName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        deptName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *申请科室名称
     * </pre>
     *
     * <code>string deptName = 1;</code>
     * @param value The deptName to set.
     * @return This builder for chaining.
     */
    public Builder setDeptName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      deptName_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *申请科室名称
     * </pre>
     *
     * <code>string deptName = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearDeptName() {
      
      deptName_ = getDefaultInstance().getDeptName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *申请科室名称
     * </pre>
     *
     * <code>string deptName = 1;</code>
     * @param value The bytes for deptName to set.
     * @return This builder for chaining.
     */
    public Builder setDeptNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      deptName_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object doctorName_ = "";
    /**
     * <pre>
     *报告医生姓名
     * </pre>
     *
     * <code>string doctorName = 2;</code>
     * @return The doctorName.
     */
    public java.lang.String getDoctorName() {
      java.lang.Object ref = doctorName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        doctorName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *报告医生姓名
     * </pre>
     *
     * <code>string doctorName = 2;</code>
     * @return The bytes for doctorName.
     */
    public com.google.protobuf.ByteString
        getDoctorNameBytes() {
      java.lang.Object ref = doctorName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        doctorName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *报告医生姓名
     * </pre>
     *
     * <code>string doctorName = 2;</code>
     * @param value The doctorName to set.
     * @return This builder for chaining.
     */
    public Builder setDoctorName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      doctorName_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *报告医生姓名
     * </pre>
     *
     * <code>string doctorName = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearDoctorName() {
      
      doctorName_ = getDefaultInstance().getDoctorName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *报告医生姓名
     * </pre>
     *
     * <code>string doctorName = 2;</code>
     * @param value The bytes for doctorName to set.
     * @return This builder for chaining.
     */
    public Builder setDoctorNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      doctorName_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object inspectionPart_ = "";
    /**
     * <pre>
     *检查部位
     * </pre>
     *
     * <code>string inspectionPart = 3;</code>
     * @return The inspectionPart.
     */
    public java.lang.String getInspectionPart() {
      java.lang.Object ref = inspectionPart_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        inspectionPart_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *检查部位
     * </pre>
     *
     * <code>string inspectionPart = 3;</code>
     * @return The bytes for inspectionPart.
     */
    public com.google.protobuf.ByteString
        getInspectionPartBytes() {
      java.lang.Object ref = inspectionPart_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        inspectionPart_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *检查部位
     * </pre>
     *
     * <code>string inspectionPart = 3;</code>
     * @param value The inspectionPart to set.
     * @return This builder for chaining.
     */
    public Builder setInspectionPart(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      inspectionPart_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检查部位
     * </pre>
     *
     * <code>string inspectionPart = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearInspectionPart() {
      
      inspectionPart_ = getDefaultInstance().getInspectionPart();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检查部位
     * </pre>
     *
     * <code>string inspectionPart = 3;</code>
     * @param value The bytes for inspectionPart to set.
     * @return This builder for chaining.
     */
    public Builder setInspectionPartBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      inspectionPart_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object inspectionResult_ = "";
    /**
     * <pre>
     *检查所见
     * </pre>
     *
     * <code>string inspectionResult = 4;</code>
     * @return The inspectionResult.
     */
    public java.lang.String getInspectionResult() {
      java.lang.Object ref = inspectionResult_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        inspectionResult_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *检查所见
     * </pre>
     *
     * <code>string inspectionResult = 4;</code>
     * @return The bytes for inspectionResult.
     */
    public com.google.protobuf.ByteString
        getInspectionResultBytes() {
      java.lang.Object ref = inspectionResult_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        inspectionResult_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *检查所见
     * </pre>
     *
     * <code>string inspectionResult = 4;</code>
     * @param value The inspectionResult to set.
     * @return This builder for chaining.
     */
    public Builder setInspectionResult(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      inspectionResult_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检查所见
     * </pre>
     *
     * <code>string inspectionResult = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearInspectionResult() {
      
      inspectionResult_ = getDefaultInstance().getInspectionResult();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检查所见
     * </pre>
     *
     * <code>string inspectionResult = 4;</code>
     * @param value The bytes for inspectionResult to set.
     * @return This builder for chaining.
     */
    public Builder setInspectionResultBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      inspectionResult_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object diagnose_ = "";
    /**
     * <pre>
     *诊断结果
     * </pre>
     *
     * <code>string diagnose = 5;</code>
     * @return The diagnose.
     */
    public java.lang.String getDiagnose() {
      java.lang.Object ref = diagnose_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        diagnose_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *诊断结果
     * </pre>
     *
     * <code>string diagnose = 5;</code>
     * @return The bytes for diagnose.
     */
    public com.google.protobuf.ByteString
        getDiagnoseBytes() {
      java.lang.Object ref = diagnose_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        diagnose_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *诊断结果
     * </pre>
     *
     * <code>string diagnose = 5;</code>
     * @param value The diagnose to set.
     * @return This builder for chaining.
     */
    public Builder setDiagnose(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      diagnose_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *诊断结果
     * </pre>
     *
     * <code>string diagnose = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearDiagnose() {
      
      diagnose_ = getDefaultInstance().getDiagnose();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *诊断结果
     * </pre>
     *
     * <code>string diagnose = 5;</code>
     * @param value The bytes for diagnose to set.
     * @return This builder for chaining.
     */
    public Builder setDiagnoseBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      diagnose_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object inspectionDoctor_ = "";
    /**
     * <pre>
     *检查医生（技师）姓名
     * </pre>
     *
     * <code>string inspectionDoctor = 6;</code>
     * @return The inspectionDoctor.
     */
    public java.lang.String getInspectionDoctor() {
      java.lang.Object ref = inspectionDoctor_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        inspectionDoctor_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *检查医生（技师）姓名
     * </pre>
     *
     * <code>string inspectionDoctor = 6;</code>
     * @return The bytes for inspectionDoctor.
     */
    public com.google.protobuf.ByteString
        getInspectionDoctorBytes() {
      java.lang.Object ref = inspectionDoctor_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        inspectionDoctor_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *检查医生（技师）姓名
     * </pre>
     *
     * <code>string inspectionDoctor = 6;</code>
     * @param value The inspectionDoctor to set.
     * @return This builder for chaining.
     */
    public Builder setInspectionDoctor(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      inspectionDoctor_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检查医生（技师）姓名
     * </pre>
     *
     * <code>string inspectionDoctor = 6;</code>
     * @return This builder for chaining.
     */
    public Builder clearInspectionDoctor() {
      
      inspectionDoctor_ = getDefaultInstance().getInspectionDoctor();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检查医生（技师）姓名
     * </pre>
     *
     * <code>string inspectionDoctor = 6;</code>
     * @param value The bytes for inspectionDoctor to set.
     * @return This builder for chaining.
     */
    public Builder setInspectionDoctorBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      inspectionDoctor_ = value;
      onChanged();
      return this;
    }

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

    private java.lang.Object auditDate_ = "";
    /**
     * <pre>
     *审核日期
     * </pre>
     *
     * <code>string auditDate = 8;</code>
     * @return The auditDate.
     */
    public java.lang.String getAuditDate() {
      java.lang.Object ref = auditDate_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        auditDate_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *审核日期
     * </pre>
     *
     * <code>string auditDate = 8;</code>
     * @return The bytes for auditDate.
     */
    public com.google.protobuf.ByteString
        getAuditDateBytes() {
      java.lang.Object ref = auditDate_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        auditDate_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *审核日期
     * </pre>
     *
     * <code>string auditDate = 8;</code>
     * @param value The auditDate to set.
     * @return This builder for chaining.
     */
    public Builder setAuditDate(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      auditDate_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *审核日期
     * </pre>
     *
     * <code>string auditDate = 8;</code>
     * @return This builder for chaining.
     */
    public Builder clearAuditDate() {
      
      auditDate_ = getDefaultInstance().getAuditDate();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *审核日期
     * </pre>
     *
     * <code>string auditDate = 8;</code>
     * @param value The bytes for auditDate to set.
     * @return This builder for chaining.
     */
    public Builder setAuditDateBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      auditDate_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object auditor_ = "";
    /**
     * <pre>
     *审核医生
     * </pre>
     *
     * <code>string auditor = 9;</code>
     * @return The auditor.
     */
    public java.lang.String getAuditor() {
      java.lang.Object ref = auditor_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        auditor_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *审核医生
     * </pre>
     *
     * <code>string auditor = 9;</code>
     * @return The bytes for auditor.
     */
    public com.google.protobuf.ByteString
        getAuditorBytes() {
      java.lang.Object ref = auditor_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        auditor_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *审核医生
     * </pre>
     *
     * <code>string auditor = 9;</code>
     * @param value The auditor to set.
     * @return This builder for chaining.
     */
    public Builder setAuditor(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      auditor_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *审核医生
     * </pre>
     *
     * <code>string auditor = 9;</code>
     * @return This builder for chaining.
     */
    public Builder clearAuditor() {
      
      auditor_ = getDefaultInstance().getAuditor();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *审核医生
     * </pre>
     *
     * <code>string auditor = 9;</code>
     * @param value The bytes for auditor to set.
     * @return This builder for chaining.
     */
    public Builder setAuditorBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      auditor_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object submitDoctor_ = "";
    /**
     * <pre>
     *开单医生
     * </pre>
     *
     * <code>string submitDoctor = 10;</code>
     * @return The submitDoctor.
     */
    public java.lang.String getSubmitDoctor() {
      java.lang.Object ref = submitDoctor_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        submitDoctor_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *开单医生
     * </pre>
     *
     * <code>string submitDoctor = 10;</code>
     * @return The bytes for submitDoctor.
     */
    public com.google.protobuf.ByteString
        getSubmitDoctorBytes() {
      java.lang.Object ref = submitDoctor_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        submitDoctor_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *开单医生
     * </pre>
     *
     * <code>string submitDoctor = 10;</code>
     * @param value The submitDoctor to set.
     * @return This builder for chaining.
     */
    public Builder setSubmitDoctor(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      submitDoctor_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *开单医生
     * </pre>
     *
     * <code>string submitDoctor = 10;</code>
     * @return This builder for chaining.
     */
    public Builder clearSubmitDoctor() {
      
      submitDoctor_ = getDefaultInstance().getSubmitDoctor();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *开单医生
     * </pre>
     *
     * <code>string submitDoctor = 10;</code>
     * @param value The bytes for submitDoctor to set.
     * @return This builder for chaining.
     */
    public Builder setSubmitDoctorBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      submitDoctor_ = 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.third.taihe.InspectionDetail)
  }

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

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

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

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

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

  @java.lang.Override
  public com.ywt.gapi.third.taihe.InspectionDetail getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

