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

package com.ywt.gapi.checkup_booking;

/**
 * <pre>
 * 预约成功返回的体检项目详情
 * </pre>
 *
 * Protobuf type {@code com.ywt.gapi.checkup_booking.RegCheckupItem}
 */
public final class RegCheckupItem extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.checkup_booking.RegCheckupItem)
    RegCheckupItemOrBuilder {
private static final long serialVersionUID = 0L;
  // Use RegCheckupItem.newBuilder() to construct.
  private RegCheckupItem(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private RegCheckupItem() {
    itemId_ = "";
    itemDesc_ = "";
    preIOrdDr_ = "";
    netPreItemDr_ = "";
    ordSetsDr_ = "";
    ordSetsDesc_ = "";
    itemCategoryDesc_ = "";
  }

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

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

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

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

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

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

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

            itemCategoryDesc_ = s;
            break;
          }
          case 64: {

            price_ = input.readInt32();
            break;
          }
          case 72: {

            inPackage_ = input.readBool();
            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.checkup_booking.CheckupBookingProto.internal_static_com_ywt_gapi_checkup_booking_RegCheckupItem_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.ywt.gapi.checkup_booking.CheckupBookingProto.internal_static_com_ywt_gapi_checkup_booking_RegCheckupItem_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.ywt.gapi.checkup_booking.RegCheckupItem.class, com.ywt.gapi.checkup_booking.RegCheckupItem.Builder.class);
  }

  public static final int ITEMID_FIELD_NUMBER = 1;
  private volatile java.lang.Object itemId_;
  /**
   * <pre>
   * 项目ID
   * </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>
   * 项目ID
   * </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 ITEMDESC_FIELD_NUMBER = 2;
  private volatile java.lang.Object itemDesc_;
  /**
   * <pre>
   * 项目描述
   * </pre>
   *
   * <code>string itemDesc = 2;</code>
   * @return The itemDesc.
   */
  @java.lang.Override
  public java.lang.String getItemDesc() {
    java.lang.Object ref = itemDesc_;
    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();
      itemDesc_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 项目描述
   * </pre>
   *
   * <code>string itemDesc = 2;</code>
   * @return The bytes for itemDesc.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getItemDescBytes() {
    java.lang.Object ref = itemDesc_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      itemDesc_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PREIORDDR_FIELD_NUMBER = 3;
  private volatile java.lang.Object preIOrdDr_;
  /**
   * <pre>
   * 体检项目记录ID
   * </pre>
   *
   * <code>string preIOrdDr = 3;</code>
   * @return The preIOrdDr.
   */
  @java.lang.Override
  public java.lang.String getPreIOrdDr() {
    java.lang.Object ref = preIOrdDr_;
    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();
      preIOrdDr_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 体检项目记录ID
   * </pre>
   *
   * <code>string preIOrdDr = 3;</code>
   * @return The bytes for preIOrdDr.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getPreIOrdDrBytes() {
    java.lang.Object ref = preIOrdDr_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      preIOrdDr_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int NETPREITEMDR_FIELD_NUMBER = 4;
  private volatile java.lang.Object netPreItemDr_;
  /**
   * <pre>
   * 网上预约项目记录ID
   * </pre>
   *
   * <code>string netPreItemDr = 4;</code>
   * @return The netPreItemDr.
   */
  @java.lang.Override
  public java.lang.String getNetPreItemDr() {
    java.lang.Object ref = netPreItemDr_;
    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();
      netPreItemDr_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 网上预约项目记录ID
   * </pre>
   *
   * <code>string netPreItemDr = 4;</code>
   * @return The bytes for netPreItemDr.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getNetPreItemDrBytes() {
    java.lang.Object ref = netPreItemDr_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      netPreItemDr_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ORDSETSDR_FIELD_NUMBER = 5;
  private volatile java.lang.Object ordSetsDr_;
  /**
   * <pre>
   * 所属套餐ID
   * </pre>
   *
   * <code>string ordSetsDr = 5;</code>
   * @return The ordSetsDr.
   */
  @java.lang.Override
  public java.lang.String getOrdSetsDr() {
    java.lang.Object ref = ordSetsDr_;
    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();
      ordSetsDr_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 所属套餐ID
   * </pre>
   *
   * <code>string ordSetsDr = 5;</code>
   * @return The bytes for ordSetsDr.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getOrdSetsDrBytes() {
    java.lang.Object ref = ordSetsDr_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      ordSetsDr_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ORDSETSDESC_FIELD_NUMBER = 6;
  private volatile java.lang.Object ordSetsDesc_;
  /**
   * <pre>
   * 所属套餐描述
   * </pre>
   *
   * <code>string ordSetsDesc = 6;</code>
   * @return The ordSetsDesc.
   */
  @java.lang.Override
  public java.lang.String getOrdSetsDesc() {
    java.lang.Object ref = ordSetsDesc_;
    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();
      ordSetsDesc_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 所属套餐描述
   * </pre>
   *
   * <code>string ordSetsDesc = 6;</code>
   * @return The bytes for ordSetsDesc.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getOrdSetsDescBytes() {
    java.lang.Object ref = ordSetsDesc_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      ordSetsDesc_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ITEMCATEGORYDESC_FIELD_NUMBER = 7;
  private volatile java.lang.Object itemCategoryDesc_;
  /**
   * <pre>
   * 项目分类描述
   * </pre>
   *
   * <code>string itemCategoryDesc = 7;</code>
   * @return The itemCategoryDesc.
   */
  @java.lang.Override
  public java.lang.String getItemCategoryDesc() {
    java.lang.Object ref = itemCategoryDesc_;
    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();
      itemCategoryDesc_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 项目分类描述
   * </pre>
   *
   * <code>string itemCategoryDesc = 7;</code>
   * @return The bytes for itemCategoryDesc.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getItemCategoryDescBytes() {
    java.lang.Object ref = itemCategoryDesc_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      itemCategoryDesc_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PRICE_FIELD_NUMBER = 8;
  private int price_;
  /**
   * <pre>
   * 项目单价
   * </pre>
   *
   * <code>int32 price = 8;</code>
   * @return The price.
   */
  @java.lang.Override
  public int getPrice() {
    return price_;
  }

  public static final int INPACKAGE_FIELD_NUMBER = 9;
  private boolean inPackage_;
  /**
   * <pre>
   * 是否套餐内项目
   * </pre>
   *
   * <code>bool inPackage = 9;</code>
   * @return The inPackage.
   */
  @java.lang.Override
  public boolean getInPackage() {
    return inPackage_;
  }

  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(itemDesc_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, itemDesc_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(preIOrdDr_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, preIOrdDr_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(netPreItemDr_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, netPreItemDr_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ordSetsDr_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, ordSetsDr_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ordSetsDesc_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, ordSetsDesc_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(itemCategoryDesc_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, itemCategoryDesc_);
    }
    if (price_ != 0) {
      output.writeInt32(8, price_);
    }
    if (inPackage_ != false) {
      output.writeBool(9, inPackage_);
    }
    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(itemDesc_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, itemDesc_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(preIOrdDr_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, preIOrdDr_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(netPreItemDr_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, netPreItemDr_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ordSetsDr_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, ordSetsDr_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ordSetsDesc_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, ordSetsDesc_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(itemCategoryDesc_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, itemCategoryDesc_);
    }
    if (price_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(8, price_);
    }
    if (inPackage_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(9, inPackage_);
    }
    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.checkup_booking.RegCheckupItem)) {
      return super.equals(obj);
    }
    com.ywt.gapi.checkup_booking.RegCheckupItem other = (com.ywt.gapi.checkup_booking.RegCheckupItem) obj;

    if (!getItemId()
        .equals(other.getItemId())) return false;
    if (!getItemDesc()
        .equals(other.getItemDesc())) return false;
    if (!getPreIOrdDr()
        .equals(other.getPreIOrdDr())) return false;
    if (!getNetPreItemDr()
        .equals(other.getNetPreItemDr())) return false;
    if (!getOrdSetsDr()
        .equals(other.getOrdSetsDr())) return false;
    if (!getOrdSetsDesc()
        .equals(other.getOrdSetsDesc())) return false;
    if (!getItemCategoryDesc()
        .equals(other.getItemCategoryDesc())) return false;
    if (getPrice()
        != other.getPrice()) return false;
    if (getInPackage()
        != other.getInPackage()) 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) + ITEMDESC_FIELD_NUMBER;
    hash = (53 * hash) + getItemDesc().hashCode();
    hash = (37 * hash) + PREIORDDR_FIELD_NUMBER;
    hash = (53 * hash) + getPreIOrdDr().hashCode();
    hash = (37 * hash) + NETPREITEMDR_FIELD_NUMBER;
    hash = (53 * hash) + getNetPreItemDr().hashCode();
    hash = (37 * hash) + ORDSETSDR_FIELD_NUMBER;
    hash = (53 * hash) + getOrdSetsDr().hashCode();
    hash = (37 * hash) + ORDSETSDESC_FIELD_NUMBER;
    hash = (53 * hash) + getOrdSetsDesc().hashCode();
    hash = (37 * hash) + ITEMCATEGORYDESC_FIELD_NUMBER;
    hash = (53 * hash) + getItemCategoryDesc().hashCode();
    hash = (37 * hash) + PRICE_FIELD_NUMBER;
    hash = (53 * hash) + getPrice();
    hash = (37 * hash) + INPACKAGE_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getInPackage());
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.ywt.gapi.checkup_booking.CheckupBookingProto.internal_static_com_ywt_gapi_checkup_booking_RegCheckupItem_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.ywt.gapi.checkup_booking.RegCheckupItem.class, com.ywt.gapi.checkup_booking.RegCheckupItem.Builder.class);
    }

    // Construct using com.ywt.gapi.checkup_booking.RegCheckupItem.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_ = "";

      itemDesc_ = "";

      preIOrdDr_ = "";

      netPreItemDr_ = "";

      ordSetsDr_ = "";

      ordSetsDesc_ = "";

      itemCategoryDesc_ = "";

      price_ = 0;

      inPackage_ = false;

      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.ywt.gapi.checkup_booking.CheckupBookingProto.internal_static_com_ywt_gapi_checkup_booking_RegCheckupItem_descriptor;
    }

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

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

    @java.lang.Override
    public com.ywt.gapi.checkup_booking.RegCheckupItem buildPartial() {
      com.ywt.gapi.checkup_booking.RegCheckupItem result = new com.ywt.gapi.checkup_booking.RegCheckupItem(this);
      result.itemId_ = itemId_;
      result.itemDesc_ = itemDesc_;
      result.preIOrdDr_ = preIOrdDr_;
      result.netPreItemDr_ = netPreItemDr_;
      result.ordSetsDr_ = ordSetsDr_;
      result.ordSetsDesc_ = ordSetsDesc_;
      result.itemCategoryDesc_ = itemCategoryDesc_;
      result.price_ = price_;
      result.inPackage_ = inPackage_;
      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.checkup_booking.RegCheckupItem) {
        return mergeFrom((com.ywt.gapi.checkup_booking.RegCheckupItem)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.ywt.gapi.checkup_booking.RegCheckupItem other) {
      if (other == com.ywt.gapi.checkup_booking.RegCheckupItem.getDefaultInstance()) return this;
      if (!other.getItemId().isEmpty()) {
        itemId_ = other.itemId_;
        onChanged();
      }
      if (!other.getItemDesc().isEmpty()) {
        itemDesc_ = other.itemDesc_;
        onChanged();
      }
      if (!other.getPreIOrdDr().isEmpty()) {
        preIOrdDr_ = other.preIOrdDr_;
        onChanged();
      }
      if (!other.getNetPreItemDr().isEmpty()) {
        netPreItemDr_ = other.netPreItemDr_;
        onChanged();
      }
      if (!other.getOrdSetsDr().isEmpty()) {
        ordSetsDr_ = other.ordSetsDr_;
        onChanged();
      }
      if (!other.getOrdSetsDesc().isEmpty()) {
        ordSetsDesc_ = other.ordSetsDesc_;
        onChanged();
      }
      if (!other.getItemCategoryDesc().isEmpty()) {
        itemCategoryDesc_ = other.itemCategoryDesc_;
        onChanged();
      }
      if (other.getPrice() != 0) {
        setPrice(other.getPrice());
      }
      if (other.getInPackage() != false) {
        setInPackage(other.getInPackage());
      }
      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.checkup_booking.RegCheckupItem parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.ywt.gapi.checkup_booking.RegCheckupItem) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private java.lang.Object itemId_ = "";
    /**
     * <pre>
     * 项目ID
     * </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>
     * 项目ID
     * </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>
     * 项目ID
     * </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>
     * 项目ID
     * </pre>
     *
     * <code>string itemId = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearItemId() {
      
      itemId_ = getDefaultInstance().getItemId();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 项目ID
     * </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 itemDesc_ = "";
    /**
     * <pre>
     * 项目描述
     * </pre>
     *
     * <code>string itemDesc = 2;</code>
     * @return The itemDesc.
     */
    public java.lang.String getItemDesc() {
      java.lang.Object ref = itemDesc_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        itemDesc_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 项目描述
     * </pre>
     *
     * <code>string itemDesc = 2;</code>
     * @return The bytes for itemDesc.
     */
    public com.google.protobuf.ByteString
        getItemDescBytes() {
      java.lang.Object ref = itemDesc_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        itemDesc_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 项目描述
     * </pre>
     *
     * <code>string itemDesc = 2;</code>
     * @param value The itemDesc to set.
     * @return This builder for chaining.
     */
    public Builder setItemDesc(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      itemDesc_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 项目描述
     * </pre>
     *
     * <code>string itemDesc = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearItemDesc() {
      
      itemDesc_ = getDefaultInstance().getItemDesc();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 项目描述
     * </pre>
     *
     * <code>string itemDesc = 2;</code>
     * @param value The bytes for itemDesc to set.
     * @return This builder for chaining.
     */
    public Builder setItemDescBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      itemDesc_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object preIOrdDr_ = "";
    /**
     * <pre>
     * 体检项目记录ID
     * </pre>
     *
     * <code>string preIOrdDr = 3;</code>
     * @return The preIOrdDr.
     */
    public java.lang.String getPreIOrdDr() {
      java.lang.Object ref = preIOrdDr_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        preIOrdDr_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 体检项目记录ID
     * </pre>
     *
     * <code>string preIOrdDr = 3;</code>
     * @return The bytes for preIOrdDr.
     */
    public com.google.protobuf.ByteString
        getPreIOrdDrBytes() {
      java.lang.Object ref = preIOrdDr_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        preIOrdDr_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 体检项目记录ID
     * </pre>
     *
     * <code>string preIOrdDr = 3;</code>
     * @param value The preIOrdDr to set.
     * @return This builder for chaining.
     */
    public Builder setPreIOrdDr(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      preIOrdDr_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 体检项目记录ID
     * </pre>
     *
     * <code>string preIOrdDr = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearPreIOrdDr() {
      
      preIOrdDr_ = getDefaultInstance().getPreIOrdDr();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 体检项目记录ID
     * </pre>
     *
     * <code>string preIOrdDr = 3;</code>
     * @param value The bytes for preIOrdDr to set.
     * @return This builder for chaining.
     */
    public Builder setPreIOrdDrBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      preIOrdDr_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object netPreItemDr_ = "";
    /**
     * <pre>
     * 网上预约项目记录ID
     * </pre>
     *
     * <code>string netPreItemDr = 4;</code>
     * @return The netPreItemDr.
     */
    public java.lang.String getNetPreItemDr() {
      java.lang.Object ref = netPreItemDr_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        netPreItemDr_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 网上预约项目记录ID
     * </pre>
     *
     * <code>string netPreItemDr = 4;</code>
     * @return The bytes for netPreItemDr.
     */
    public com.google.protobuf.ByteString
        getNetPreItemDrBytes() {
      java.lang.Object ref = netPreItemDr_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        netPreItemDr_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 网上预约项目记录ID
     * </pre>
     *
     * <code>string netPreItemDr = 4;</code>
     * @param value The netPreItemDr to set.
     * @return This builder for chaining.
     */
    public Builder setNetPreItemDr(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      netPreItemDr_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 网上预约项目记录ID
     * </pre>
     *
     * <code>string netPreItemDr = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearNetPreItemDr() {
      
      netPreItemDr_ = getDefaultInstance().getNetPreItemDr();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 网上预约项目记录ID
     * </pre>
     *
     * <code>string netPreItemDr = 4;</code>
     * @param value The bytes for netPreItemDr to set.
     * @return This builder for chaining.
     */
    public Builder setNetPreItemDrBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      netPreItemDr_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object ordSetsDr_ = "";
    /**
     * <pre>
     * 所属套餐ID
     * </pre>
     *
     * <code>string ordSetsDr = 5;</code>
     * @return The ordSetsDr.
     */
    public java.lang.String getOrdSetsDr() {
      java.lang.Object ref = ordSetsDr_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        ordSetsDr_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 所属套餐ID
     * </pre>
     *
     * <code>string ordSetsDr = 5;</code>
     * @return The bytes for ordSetsDr.
     */
    public com.google.protobuf.ByteString
        getOrdSetsDrBytes() {
      java.lang.Object ref = ordSetsDr_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        ordSetsDr_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 所属套餐ID
     * </pre>
     *
     * <code>string ordSetsDr = 5;</code>
     * @param value The ordSetsDr to set.
     * @return This builder for chaining.
     */
    public Builder setOrdSetsDr(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      ordSetsDr_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 所属套餐ID
     * </pre>
     *
     * <code>string ordSetsDr = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearOrdSetsDr() {
      
      ordSetsDr_ = getDefaultInstance().getOrdSetsDr();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 所属套餐ID
     * </pre>
     *
     * <code>string ordSetsDr = 5;</code>
     * @param value The bytes for ordSetsDr to set.
     * @return This builder for chaining.
     */
    public Builder setOrdSetsDrBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      ordSetsDr_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object ordSetsDesc_ = "";
    /**
     * <pre>
     * 所属套餐描述
     * </pre>
     *
     * <code>string ordSetsDesc = 6;</code>
     * @return The ordSetsDesc.
     */
    public java.lang.String getOrdSetsDesc() {
      java.lang.Object ref = ordSetsDesc_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        ordSetsDesc_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 所属套餐描述
     * </pre>
     *
     * <code>string ordSetsDesc = 6;</code>
     * @return The bytes for ordSetsDesc.
     */
    public com.google.protobuf.ByteString
        getOrdSetsDescBytes() {
      java.lang.Object ref = ordSetsDesc_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        ordSetsDesc_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 所属套餐描述
     * </pre>
     *
     * <code>string ordSetsDesc = 6;</code>
     * @param value The ordSetsDesc to set.
     * @return This builder for chaining.
     */
    public Builder setOrdSetsDesc(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      ordSetsDesc_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 所属套餐描述
     * </pre>
     *
     * <code>string ordSetsDesc = 6;</code>
     * @return This builder for chaining.
     */
    public Builder clearOrdSetsDesc() {
      
      ordSetsDesc_ = getDefaultInstance().getOrdSetsDesc();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 所属套餐描述
     * </pre>
     *
     * <code>string ordSetsDesc = 6;</code>
     * @param value The bytes for ordSetsDesc to set.
     * @return This builder for chaining.
     */
    public Builder setOrdSetsDescBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      ordSetsDesc_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object itemCategoryDesc_ = "";
    /**
     * <pre>
     * 项目分类描述
     * </pre>
     *
     * <code>string itemCategoryDesc = 7;</code>
     * @return The itemCategoryDesc.
     */
    public java.lang.String getItemCategoryDesc() {
      java.lang.Object ref = itemCategoryDesc_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        itemCategoryDesc_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 项目分类描述
     * </pre>
     *
     * <code>string itemCategoryDesc = 7;</code>
     * @return The bytes for itemCategoryDesc.
     */
    public com.google.protobuf.ByteString
        getItemCategoryDescBytes() {
      java.lang.Object ref = itemCategoryDesc_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        itemCategoryDesc_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 项目分类描述
     * </pre>
     *
     * <code>string itemCategoryDesc = 7;</code>
     * @param value The itemCategoryDesc to set.
     * @return This builder for chaining.
     */
    public Builder setItemCategoryDesc(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      itemCategoryDesc_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 项目分类描述
     * </pre>
     *
     * <code>string itemCategoryDesc = 7;</code>
     * @return This builder for chaining.
     */
    public Builder clearItemCategoryDesc() {
      
      itemCategoryDesc_ = getDefaultInstance().getItemCategoryDesc();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 项目分类描述
     * </pre>
     *
     * <code>string itemCategoryDesc = 7;</code>
     * @param value The bytes for itemCategoryDesc to set.
     * @return This builder for chaining.
     */
    public Builder setItemCategoryDescBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      itemCategoryDesc_ = value;
      onChanged();
      return this;
    }

    private int price_ ;
    /**
     * <pre>
     * 项目单价
     * </pre>
     *
     * <code>int32 price = 8;</code>
     * @return The price.
     */
    @java.lang.Override
    public int getPrice() {
      return price_;
    }
    /**
     * <pre>
     * 项目单价
     * </pre>
     *
     * <code>int32 price = 8;</code>
     * @param value The price to set.
     * @return This builder for chaining.
     */
    public Builder setPrice(int value) {
      
      price_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 项目单价
     * </pre>
     *
     * <code>int32 price = 8;</code>
     * @return This builder for chaining.
     */
    public Builder clearPrice() {
      
      price_ = 0;
      onChanged();
      return this;
    }

    private boolean inPackage_ ;
    /**
     * <pre>
     * 是否套餐内项目
     * </pre>
     *
     * <code>bool inPackage = 9;</code>
     * @return The inPackage.
     */
    @java.lang.Override
    public boolean getInPackage() {
      return inPackage_;
    }
    /**
     * <pre>
     * 是否套餐内项目
     * </pre>
     *
     * <code>bool inPackage = 9;</code>
     * @param value The inPackage to set.
     * @return This builder for chaining.
     */
    public Builder setInPackage(boolean value) {
      
      inPackage_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 是否套餐内项目
     * </pre>
     *
     * <code>bool inPackage = 9;</code>
     * @return This builder for chaining.
     */
    public Builder clearInPackage() {
      
      inPackage_ = false;
      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.checkup_booking.RegCheckupItem)
  }

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

  public static com.ywt.gapi.checkup_booking.RegCheckupItem getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

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

}

