// 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 {
  // 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
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
  }
  private InspectionDetail(
      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();

            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;
          }
        }
      }
    } 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.third.taihe.Taihe.internal_static_com_ywt_gapi_third_taihe_InspectionDetail_descriptor;
  }

  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.ywt.gapi.third.taihe.Taihe.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>
   */
  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 DOCTORNAME_FIELD_NUMBER = 2;
  private volatile java.lang.Object doctorName_;
  /**
   * <pre>
   *报告医生姓名
   * </pre>
   *
   * <code>string doctorName = 2;</code>
   */
  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>
   */
  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>
   */
  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>
   */
  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>
   */
  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>
   */
  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>
   */
  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>
   */
  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>
   */
  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>
   */
  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>
   */
  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>
   */
  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>
   */
  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>
   */
  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>
   */
  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>
   */
  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>
   */
  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>
   */
  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;
  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 (!getDoctorNameBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, doctorName_);
    }
    if (!getInspectionPartBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, inspectionPart_);
    }
    if (!getInspectionResultBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, inspectionResult_);
    }
    if (!getDiagnoseBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, diagnose_);
    }
    if (!getInspectionDoctorBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, inspectionDoctor_);
    }
    if (!getInspectionDateBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, inspectionDate_);
    }
    if (!getAuditDateBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, auditDate_);
    }
    if (!getAuditorBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, auditor_);
    }
    if (!getSubmitDoctorBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, submitDoctor_);
    }
  }

  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 (!getDoctorNameBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, doctorName_);
    }
    if (!getInspectionPartBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, inspectionPart_);
    }
    if (!getInspectionResultBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, inspectionResult_);
    }
    if (!getDiagnoseBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, diagnose_);
    }
    if (!getInspectionDoctorBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, inspectionDoctor_);
    }
    if (!getInspectionDateBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, inspectionDate_);
    }
    if (!getAuditDateBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, auditDate_);
    }
    if (!getAuditorBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, auditor_);
    }
    if (!getSubmitDoctorBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, submitDoctor_);
    }
    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.third.taihe.InspectionDetail)) {
      return super.equals(obj);
    }
    com.ywt.gapi.third.taihe.InspectionDetail other = (com.ywt.gapi.third.taihe.InspectionDetail) obj;

    boolean result = true;
    result = result && getDeptName()
        .equals(other.getDeptName());
    result = result && getDoctorName()
        .equals(other.getDoctorName());
    result = result && getInspectionPart()
        .equals(other.getInspectionPart());
    result = result && getInspectionResult()
        .equals(other.getInspectionResult());
    result = result && getDiagnose()
        .equals(other.getDiagnose());
    result = result && getInspectionDoctor()
        .equals(other.getInspectionDoctor());
    result = result && getInspectionDate()
        .equals(other.getInspectionDate());
    result = result && getAuditDate()
        .equals(other.getAuditDate());
    result = result && getAuditor()
        .equals(other.getAuditor());
    result = result && getSubmitDoctor()
        .equals(other.getSubmitDoctor());
    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) + 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);
  }

  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);
  }
  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.Taihe.internal_static_com_ywt_gapi_third_taihe_InspectionDetail_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.ywt.gapi.third.taihe.Taihe.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) {
      }
    }
    public Builder clear() {
      super.clear();
      deptName_ = "";

      doctorName_ = "";

      inspectionPart_ = "";

      inspectionResult_ = "";

      diagnose_ = "";

      inspectionDoctor_ = "";

      inspectionDate_ = "";

      auditDate_ = "";

      auditor_ = "";

      submitDoctor_ = "";

      return this;
    }

    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.ywt.gapi.third.taihe.Taihe.internal_static_com_ywt_gapi_third_taihe_InspectionDetail_descriptor;
    }

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

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

    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;
    }

    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.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();
      }
      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.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>
     */
    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 doctorName_ = "";
    /**
     * <pre>
     *报告医生姓名
     * </pre>
     *
     * <code>string doctorName = 2;</code>
     */
    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>
     */
    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>
     */
    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>
     */
    public Builder clearDoctorName() {
      
      doctorName_ = getDefaultInstance().getDoctorName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *报告医生姓名
     * </pre>
     *
     * <code>string doctorName = 2;</code>
     */
    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>
     */
    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>
     */
    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>
     */
    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>
     */
    public Builder clearInspectionPart() {
      
      inspectionPart_ = getDefaultInstance().getInspectionPart();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检查部位
     * </pre>
     *
     * <code>string inspectionPart = 3;</code>
     */
    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>
     */
    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>
     */
    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>
     */
    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>
     */
    public Builder clearInspectionResult() {
      
      inspectionResult_ = getDefaultInstance().getInspectionResult();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检查所见
     * </pre>
     *
     * <code>string inspectionResult = 4;</code>
     */
    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>
     */
    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>
     */
    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>
     */
    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>
     */
    public Builder clearDiagnose() {
      
      diagnose_ = getDefaultInstance().getDiagnose();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *诊断结果
     * </pre>
     *
     * <code>string diagnose = 5;</code>
     */
    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>
     */
    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>
     */
    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>
     */
    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>
     */
    public Builder clearInspectionDoctor() {
      
      inspectionDoctor_ = getDefaultInstance().getInspectionDoctor();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检查医生（技师）姓名
     * </pre>
     *
     * <code>string inspectionDoctor = 6;</code>
     */
    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>
     */
    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>
     */
    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>
     */
    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>
     */
    public Builder clearInspectionDate() {
      
      inspectionDate_ = getDefaultInstance().getInspectionDate();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检查日期（YYYY-MM-DD HH:MM:SS）
     * </pre>
     *
     * <code>string inspectionDate = 7;</code>
     */
    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>
     */
    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>
     */
    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>
     */
    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>
     */
    public Builder clearAuditDate() {
      
      auditDate_ = getDefaultInstance().getAuditDate();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *审核日期
     * </pre>
     *
     * <code>string auditDate = 8;</code>
     */
    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>
     */
    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>
     */
    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>
     */
    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>
     */
    public Builder clearAuditor() {
      
      auditor_ = getDefaultInstance().getAuditor();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *审核医生
     * </pre>
     *
     * <code>string auditor = 9;</code>
     */
    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>
     */
    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>
     */
    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>
     */
    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>
     */
    public Builder clearSubmitDoctor() {
      
      submitDoctor_ = getDefaultInstance().getSubmitDoctor();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *开单医生
     * </pre>
     *
     * <code>string submitDoctor = 10;</code>
     */
    public Builder setSubmitDoctorBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      submitDoctor_ = 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.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>() {
    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;
  }

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

}

