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

package com.ywt.gapi.nfyy;

/**
 * <pre>
 *化验报告详情
 * </pre>
 *
 * Protobuf type {@code com.ywt.gapi.nfyy.LaboratoryReportDetail}
 */
public final class LaboratoryReportDetail extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.nfyy.LaboratoryReportDetail)
    LaboratoryReportDetailOrBuilder {
private static final long serialVersionUID = 0L;
  // Use LaboratoryReportDetail.newBuilder() to construct.
  private LaboratoryReportDetail(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private LaboratoryReportDetail() {
    itemId_ = "";
    itemName_ = "";
    orderNo_ = "";
    testResult_ = "";
    unit_ = "";
    itemRef_ = "";
    testDate_ = "";
    testEngName_ = "";
    specimType_ = "";
    resultFlag_ = "";
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

  public static final int ITEMID_FIELD_NUMBER = 1;
  private volatile java.lang.Object itemId_;
  /**
   * <pre>
   *检验指标代码
   * </pre>
   *
   * <code>string itemId = 1;</code>
   * @return The itemId.
   */
  @java.lang.Override
  public java.lang.String getItemId() {
    java.lang.Object ref = itemId_;
    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();
      itemId_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *检验指标代码
   * </pre>
   *
   * <code>string itemId = 1;</code>
   * @return The bytes for itemId.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getItemIdBytes() {
    java.lang.Object ref = itemId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      itemId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ITEMNAME_FIELD_NUMBER = 2;
  private volatile java.lang.Object itemName_;
  /**
   * <pre>
   *检验指标中文名称
   * </pre>
   *
   * <code>string itemName = 2;</code>
   * @return The itemName.
   */
  @java.lang.Override
  public java.lang.String getItemName() {
    java.lang.Object ref = itemName_;
    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();
      itemName_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *检验指标中文名称
   * </pre>
   *
   * <code>string itemName = 2;</code>
   * @return The bytes for itemName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getItemNameBytes() {
    java.lang.Object ref = itemName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      itemName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ORDERNO_FIELD_NUMBER = 3;
  private volatile java.lang.Object orderNo_;
  /**
   * <pre>
   *排序号，不需要排序的话可设成全部为0
   * </pre>
   *
   * <code>string orderNo = 3;</code>
   * @return The orderNo.
   */
  @java.lang.Override
  public java.lang.String getOrderNo() {
    java.lang.Object ref = orderNo_;
    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();
      orderNo_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *排序号，不需要排序的话可设成全部为0
   * </pre>
   *
   * <code>string orderNo = 3;</code>
   * @return The bytes for orderNo.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getOrderNoBytes() {
    java.lang.Object ref = orderNo_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      orderNo_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int TESTRESULT_FIELD_NUMBER = 4;
  private volatile java.lang.Object testResult_;
  /**
   * <pre>
   *检测结果
   * </pre>
   *
   * <code>string testResult = 4;</code>
   * @return The testResult.
   */
  @java.lang.Override
  public java.lang.String getTestResult() {
    java.lang.Object ref = testResult_;
    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();
      testResult_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *检测结果
   * </pre>
   *
   * <code>string testResult = 4;</code>
   * @return The bytes for testResult.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getTestResultBytes() {
    java.lang.Object ref = testResult_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      testResult_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int UNIT_FIELD_NUMBER = 5;
  private volatile java.lang.Object unit_;
  /**
   * <pre>
   *检测结果
   * </pre>
   *
   * <code>string unit = 5;</code>
   * @return The unit.
   */
  @java.lang.Override
  public java.lang.String getUnit() {
    java.lang.Object ref = unit_;
    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();
      unit_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *检测结果
   * </pre>
   *
   * <code>string unit = 5;</code>
   * @return The bytes for unit.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getUnitBytes() {
    java.lang.Object ref = unit_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      unit_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ITEMREF_FIELD_NUMBER = 6;
  private volatile java.lang.Object itemRef_;
  /**
   * <pre>
   *参考值范围
   * </pre>
   *
   * <code>string itemRef = 6;</code>
   * @return The itemRef.
   */
  @java.lang.Override
  public java.lang.String getItemRef() {
    java.lang.Object ref = itemRef_;
    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();
      itemRef_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *参考值范围
   * </pre>
   *
   * <code>string itemRef = 6;</code>
   * @return The bytes for itemRef.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getItemRefBytes() {
    java.lang.Object ref = itemRef_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      itemRef_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int TESTDATE_FIELD_NUMBER = 7;
  private volatile java.lang.Object testDate_;
  /**
   * <pre>
   *检查日期（YYYY-MM-DD HH:MM:SS）
   * </pre>
   *
   * <code>string testDate = 7;</code>
   * @return The testDate.
   */
  @java.lang.Override
  public java.lang.String getTestDate() {
    java.lang.Object ref = testDate_;
    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();
      testDate_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *检查日期（YYYY-MM-DD HH:MM:SS）
   * </pre>
   *
   * <code>string testDate = 7;</code>
   * @return The bytes for testDate.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getTestDateBytes() {
    java.lang.Object ref = testDate_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      testDate_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int TESTENGNAME_FIELD_NUMBER = 8;
  private volatile java.lang.Object testEngName_;
  /**
   * <pre>
   *检验指标英文名称
   * </pre>
   *
   * <code>string testEngName = 8;</code>
   * @return The testEngName.
   */
  @java.lang.Override
  public java.lang.String getTestEngName() {
    java.lang.Object ref = testEngName_;
    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();
      testEngName_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *检验指标英文名称
   * </pre>
   *
   * <code>string testEngName = 8;</code>
   * @return The bytes for testEngName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getTestEngNameBytes() {
    java.lang.Object ref = testEngName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      testEngName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int SPECIMTYPE_FIELD_NUMBER = 9;
  private volatile java.lang.Object specimType_;
  /**
   * <pre>
   *检验标本
   * </pre>
   *
   * <code>string specimType = 9;</code>
   * @return The specimType.
   */
  @java.lang.Override
  public java.lang.String getSpecimType() {
    java.lang.Object ref = specimType_;
    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();
      specimType_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *检验标本
   * </pre>
   *
   * <code>string specimType = 9;</code>
   * @return The bytes for specimType.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getSpecimTypeBytes() {
    java.lang.Object ref = specimType_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      specimType_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int RESULTFLAG_FIELD_NUMBER = 10;
  private volatile java.lang.Object resultFlag_;
  /**
   * <pre>
   *异常标识
   * </pre>
   *
   * <code>string resultFlag = 10;</code>
   * @return The resultFlag.
   */
  @java.lang.Override
  public java.lang.String getResultFlag() {
    java.lang.Object ref = resultFlag_;
    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();
      resultFlag_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *异常标识
   * </pre>
   *
   * <code>string resultFlag = 10;</code>
   * @return The bytes for resultFlag.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getResultFlagBytes() {
    java.lang.Object ref = resultFlag_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      resultFlag_ = 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(itemId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, itemId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(itemName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, itemName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderNo_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, orderNo_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(testResult_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, testResult_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(unit_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, unit_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(itemRef_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, itemRef_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(testDate_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, testDate_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(testEngName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, testEngName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(specimType_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, specimType_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resultFlag_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, resultFlag_);
    }
    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(itemId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, itemId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(itemName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, itemName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderNo_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, orderNo_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(testResult_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, testResult_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(unit_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, unit_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(itemRef_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, itemRef_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(testDate_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, testDate_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(testEngName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, testEngName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(specimType_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, specimType_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resultFlag_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, resultFlag_);
    }
    size += unknownFields.getSerializedSize();
    memoizedSize = size;
    return size;
  }

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

    if (!getItemId()
        .equals(other.getItemId())) return false;
    if (!getItemName()
        .equals(other.getItemName())) return false;
    if (!getOrderNo()
        .equals(other.getOrderNo())) return false;
    if (!getTestResult()
        .equals(other.getTestResult())) return false;
    if (!getUnit()
        .equals(other.getUnit())) return false;
    if (!getItemRef()
        .equals(other.getItemRef())) return false;
    if (!getTestDate()
        .equals(other.getTestDate())) return false;
    if (!getTestEngName()
        .equals(other.getTestEngName())) return false;
    if (!getSpecimType()
        .equals(other.getSpecimType())) return false;
    if (!getResultFlag()
        .equals(other.getResultFlag())) 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) + ITEMID_FIELD_NUMBER;
    hash = (53 * hash) + getItemId().hashCode();
    hash = (37 * hash) + ITEMNAME_FIELD_NUMBER;
    hash = (53 * hash) + getItemName().hashCode();
    hash = (37 * hash) + ORDERNO_FIELD_NUMBER;
    hash = (53 * hash) + getOrderNo().hashCode();
    hash = (37 * hash) + TESTRESULT_FIELD_NUMBER;
    hash = (53 * hash) + getTestResult().hashCode();
    hash = (37 * hash) + UNIT_FIELD_NUMBER;
    hash = (53 * hash) + getUnit().hashCode();
    hash = (37 * hash) + ITEMREF_FIELD_NUMBER;
    hash = (53 * hash) + getItemRef().hashCode();
    hash = (37 * hash) + TESTDATE_FIELD_NUMBER;
    hash = (53 * hash) + getTestDate().hashCode();
    hash = (37 * hash) + TESTENGNAME_FIELD_NUMBER;
    hash = (53 * hash) + getTestEngName().hashCode();
    hash = (37 * hash) + SPECIMTYPE_FIELD_NUMBER;
    hash = (53 * hash) + getSpecimType().hashCode();
    hash = (37 * hash) + RESULTFLAG_FIELD_NUMBER;
    hash = (53 * hash) + getResultFlag().hashCode();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

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

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

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

      itemName_ = "";

      orderNo_ = "";

      testResult_ = "";

      unit_ = "";

      itemRef_ = "";

      testDate_ = "";

      testEngName_ = "";

      specimType_ = "";

      resultFlag_ = "";

      return this;
    }

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

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

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

    @java.lang.Override
    public com.ywt.gapi.nfyy.LaboratoryReportDetail buildPartial() {
      com.ywt.gapi.nfyy.LaboratoryReportDetail result = new com.ywt.gapi.nfyy.LaboratoryReportDetail(this);
      result.itemId_ = itemId_;
      result.itemName_ = itemName_;
      result.orderNo_ = orderNo_;
      result.testResult_ = testResult_;
      result.unit_ = unit_;
      result.itemRef_ = itemRef_;
      result.testDate_ = testDate_;
      result.testEngName_ = testEngName_;
      result.specimType_ = specimType_;
      result.resultFlag_ = resultFlag_;
      onBuilt();
      return result;
    }

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

    public Builder mergeFrom(com.ywt.gapi.nfyy.LaboratoryReportDetail other) {
      if (other == com.ywt.gapi.nfyy.LaboratoryReportDetail.getDefaultInstance()) return this;
      if (!other.getItemId().isEmpty()) {
        itemId_ = other.itemId_;
        onChanged();
      }
      if (!other.getItemName().isEmpty()) {
        itemName_ = other.itemName_;
        onChanged();
      }
      if (!other.getOrderNo().isEmpty()) {
        orderNo_ = other.orderNo_;
        onChanged();
      }
      if (!other.getTestResult().isEmpty()) {
        testResult_ = other.testResult_;
        onChanged();
      }
      if (!other.getUnit().isEmpty()) {
        unit_ = other.unit_;
        onChanged();
      }
      if (!other.getItemRef().isEmpty()) {
        itemRef_ = other.itemRef_;
        onChanged();
      }
      if (!other.getTestDate().isEmpty()) {
        testDate_ = other.testDate_;
        onChanged();
      }
      if (!other.getTestEngName().isEmpty()) {
        testEngName_ = other.testEngName_;
        onChanged();
      }
      if (!other.getSpecimType().isEmpty()) {
        specimType_ = other.specimType_;
        onChanged();
      }
      if (!other.getResultFlag().isEmpty()) {
        resultFlag_ = other.resultFlag_;
        onChanged();
      }
      this.mergeUnknownFields(other.unknownFields);
      onChanged();
      return this;
    }

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

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

    private java.lang.Object itemId_ = "";
    /**
     * <pre>
     *检验指标代码
     * </pre>
     *
     * <code>string itemId = 1;</code>
     * @return The itemId.
     */
    public java.lang.String getItemId() {
      java.lang.Object ref = itemId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        itemId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *检验指标代码
     * </pre>
     *
     * <code>string itemId = 1;</code>
     * @return The bytes for itemId.
     */
    public com.google.protobuf.ByteString
        getItemIdBytes() {
      java.lang.Object ref = itemId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        itemId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *检验指标代码
     * </pre>
     *
     * <code>string itemId = 1;</code>
     * @param value The itemId to set.
     * @return This builder for chaining.
     */
    public Builder setItemId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      itemId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检验指标代码
     * </pre>
     *
     * <code>string itemId = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearItemId() {
      
      itemId_ = getDefaultInstance().getItemId();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检验指标代码
     * </pre>
     *
     * <code>string itemId = 1;</code>
     * @param value The bytes for itemId to set.
     * @return This builder for chaining.
     */
    public Builder setItemIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      itemId_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object itemName_ = "";
    /**
     * <pre>
     *检验指标中文名称
     * </pre>
     *
     * <code>string itemName = 2;</code>
     * @return The itemName.
     */
    public java.lang.String getItemName() {
      java.lang.Object ref = itemName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        itemName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *检验指标中文名称
     * </pre>
     *
     * <code>string itemName = 2;</code>
     * @return The bytes for itemName.
     */
    public com.google.protobuf.ByteString
        getItemNameBytes() {
      java.lang.Object ref = itemName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        itemName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *检验指标中文名称
     * </pre>
     *
     * <code>string itemName = 2;</code>
     * @param value The itemName to set.
     * @return This builder for chaining.
     */
    public Builder setItemName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      itemName_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检验指标中文名称
     * </pre>
     *
     * <code>string itemName = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearItemName() {
      
      itemName_ = getDefaultInstance().getItemName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检验指标中文名称
     * </pre>
     *
     * <code>string itemName = 2;</code>
     * @param value The bytes for itemName to set.
     * @return This builder for chaining.
     */
    public Builder setItemNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      itemName_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object orderNo_ = "";
    /**
     * <pre>
     *排序号，不需要排序的话可设成全部为0
     * </pre>
     *
     * <code>string orderNo = 3;</code>
     * @return The orderNo.
     */
    public java.lang.String getOrderNo() {
      java.lang.Object ref = orderNo_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        orderNo_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *排序号，不需要排序的话可设成全部为0
     * </pre>
     *
     * <code>string orderNo = 3;</code>
     * @return The bytes for orderNo.
     */
    public com.google.protobuf.ByteString
        getOrderNoBytes() {
      java.lang.Object ref = orderNo_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        orderNo_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *排序号，不需要排序的话可设成全部为0
     * </pre>
     *
     * <code>string orderNo = 3;</code>
     * @param value The orderNo to set.
     * @return This builder for chaining.
     */
    public Builder setOrderNo(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      orderNo_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *排序号，不需要排序的话可设成全部为0
     * </pre>
     *
     * <code>string orderNo = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearOrderNo() {
      
      orderNo_ = getDefaultInstance().getOrderNo();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *排序号，不需要排序的话可设成全部为0
     * </pre>
     *
     * <code>string orderNo = 3;</code>
     * @param value The bytes for orderNo to set.
     * @return This builder for chaining.
     */
    public Builder setOrderNoBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      orderNo_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object testResult_ = "";
    /**
     * <pre>
     *检测结果
     * </pre>
     *
     * <code>string testResult = 4;</code>
     * @return The testResult.
     */
    public java.lang.String getTestResult() {
      java.lang.Object ref = testResult_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        testResult_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *检测结果
     * </pre>
     *
     * <code>string testResult = 4;</code>
     * @return The bytes for testResult.
     */
    public com.google.protobuf.ByteString
        getTestResultBytes() {
      java.lang.Object ref = testResult_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        testResult_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *检测结果
     * </pre>
     *
     * <code>string testResult = 4;</code>
     * @param value The testResult to set.
     * @return This builder for chaining.
     */
    public Builder setTestResult(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      testResult_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检测结果
     * </pre>
     *
     * <code>string testResult = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearTestResult() {
      
      testResult_ = getDefaultInstance().getTestResult();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检测结果
     * </pre>
     *
     * <code>string testResult = 4;</code>
     * @param value The bytes for testResult to set.
     * @return This builder for chaining.
     */
    public Builder setTestResultBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      testResult_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object unit_ = "";
    /**
     * <pre>
     *检测结果
     * </pre>
     *
     * <code>string unit = 5;</code>
     * @return The unit.
     */
    public java.lang.String getUnit() {
      java.lang.Object ref = unit_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        unit_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *检测结果
     * </pre>
     *
     * <code>string unit = 5;</code>
     * @return The bytes for unit.
     */
    public com.google.protobuf.ByteString
        getUnitBytes() {
      java.lang.Object ref = unit_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        unit_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *检测结果
     * </pre>
     *
     * <code>string unit = 5;</code>
     * @param value The unit to set.
     * @return This builder for chaining.
     */
    public Builder setUnit(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      unit_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检测结果
     * </pre>
     *
     * <code>string unit = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearUnit() {
      
      unit_ = getDefaultInstance().getUnit();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检测结果
     * </pre>
     *
     * <code>string unit = 5;</code>
     * @param value The bytes for unit to set.
     * @return This builder for chaining.
     */
    public Builder setUnitBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      unit_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object itemRef_ = "";
    /**
     * <pre>
     *参考值范围
     * </pre>
     *
     * <code>string itemRef = 6;</code>
     * @return The itemRef.
     */
    public java.lang.String getItemRef() {
      java.lang.Object ref = itemRef_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        itemRef_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *参考值范围
     * </pre>
     *
     * <code>string itemRef = 6;</code>
     * @return The bytes for itemRef.
     */
    public com.google.protobuf.ByteString
        getItemRefBytes() {
      java.lang.Object ref = itemRef_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        itemRef_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *参考值范围
     * </pre>
     *
     * <code>string itemRef = 6;</code>
     * @param value The itemRef to set.
     * @return This builder for chaining.
     */
    public Builder setItemRef(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      itemRef_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *参考值范围
     * </pre>
     *
     * <code>string itemRef = 6;</code>
     * @return This builder for chaining.
     */
    public Builder clearItemRef() {
      
      itemRef_ = getDefaultInstance().getItemRef();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *参考值范围
     * </pre>
     *
     * <code>string itemRef = 6;</code>
     * @param value The bytes for itemRef to set.
     * @return This builder for chaining.
     */
    public Builder setItemRefBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      itemRef_ = value;
      onChanged();
      return this;
    }

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

    private java.lang.Object testEngName_ = "";
    /**
     * <pre>
     *检验指标英文名称
     * </pre>
     *
     * <code>string testEngName = 8;</code>
     * @return The testEngName.
     */
    public java.lang.String getTestEngName() {
      java.lang.Object ref = testEngName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        testEngName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *检验指标英文名称
     * </pre>
     *
     * <code>string testEngName = 8;</code>
     * @return The bytes for testEngName.
     */
    public com.google.protobuf.ByteString
        getTestEngNameBytes() {
      java.lang.Object ref = testEngName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        testEngName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *检验指标英文名称
     * </pre>
     *
     * <code>string testEngName = 8;</code>
     * @param value The testEngName to set.
     * @return This builder for chaining.
     */
    public Builder setTestEngName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      testEngName_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检验指标英文名称
     * </pre>
     *
     * <code>string testEngName = 8;</code>
     * @return This builder for chaining.
     */
    public Builder clearTestEngName() {
      
      testEngName_ = getDefaultInstance().getTestEngName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检验指标英文名称
     * </pre>
     *
     * <code>string testEngName = 8;</code>
     * @param value The bytes for testEngName to set.
     * @return This builder for chaining.
     */
    public Builder setTestEngNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      testEngName_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object specimType_ = "";
    /**
     * <pre>
     *检验标本
     * </pre>
     *
     * <code>string specimType = 9;</code>
     * @return The specimType.
     */
    public java.lang.String getSpecimType() {
      java.lang.Object ref = specimType_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        specimType_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *检验标本
     * </pre>
     *
     * <code>string specimType = 9;</code>
     * @return The bytes for specimType.
     */
    public com.google.protobuf.ByteString
        getSpecimTypeBytes() {
      java.lang.Object ref = specimType_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        specimType_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *检验标本
     * </pre>
     *
     * <code>string specimType = 9;</code>
     * @param value The specimType to set.
     * @return This builder for chaining.
     */
    public Builder setSpecimType(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      specimType_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检验标本
     * </pre>
     *
     * <code>string specimType = 9;</code>
     * @return This builder for chaining.
     */
    public Builder clearSpecimType() {
      
      specimType_ = getDefaultInstance().getSpecimType();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *检验标本
     * </pre>
     *
     * <code>string specimType = 9;</code>
     * @param value The bytes for specimType to set.
     * @return This builder for chaining.
     */
    public Builder setSpecimTypeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      specimType_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object resultFlag_ = "";
    /**
     * <pre>
     *异常标识
     * </pre>
     *
     * <code>string resultFlag = 10;</code>
     * @return The resultFlag.
     */
    public java.lang.String getResultFlag() {
      java.lang.Object ref = resultFlag_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        resultFlag_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *异常标识
     * </pre>
     *
     * <code>string resultFlag = 10;</code>
     * @return The bytes for resultFlag.
     */
    public com.google.protobuf.ByteString
        getResultFlagBytes() {
      java.lang.Object ref = resultFlag_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        resultFlag_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *异常标识
     * </pre>
     *
     * <code>string resultFlag = 10;</code>
     * @param value The resultFlag to set.
     * @return This builder for chaining.
     */
    public Builder setResultFlag(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      resultFlag_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *异常标识
     * </pre>
     *
     * <code>string resultFlag = 10;</code>
     * @return This builder for chaining.
     */
    public Builder clearResultFlag() {
      
      resultFlag_ = getDefaultInstance().getResultFlag();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *异常标识
     * </pre>
     *
     * <code>string resultFlag = 10;</code>
     * @param value The bytes for resultFlag to set.
     * @return This builder for chaining.
     */
    public Builder setResultFlagBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      resultFlag_ = value;
      onChanged();
      return this;
    }
    @java.lang.Override
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

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


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

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

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

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

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

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

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

}

