// 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.Package}
 */
public final class Package extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.checkup_booking.Package)
    PackageOrBuilder {
private static final long serialVersionUID = 0L;
  // Use Package.newBuilder() to construct.
  private Package(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private Package() {
    packageId_ = "";
    packageDesc_ = "";
    ordSetsId_ = "";
    levelDesc_ = "";
    levelId_ = "";
    giFlag_ = "";
    sexDesc_ = "";
    ordSetsType_ = "";
    locId_ = "";
    locDesc_ = "";
    sort_ = "";
  }

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

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

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

            packageDesc_ = s;
            break;
          }
          case 24: {

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

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

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

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

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

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

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

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

            locDesc_ = s;
            break;
          }
          case 96: {

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

            sort_ = 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.checkup_booking.CheckupBookingProto.internal_static_com_ywt_gapi_checkup_booking_Package_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_Package_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.ywt.gapi.checkup_booking.Package.class, com.ywt.gapi.checkup_booking.Package.Builder.class);
  }

  public static final int PACKAGEID_FIELD_NUMBER = 1;
  private volatile java.lang.Object packageId_;
  /**
   * <pre>
   * 网上套餐ID
   * </pre>
   *
   * <code>string packageId = 1;</code>
   * @return The packageId.
   */
  @java.lang.Override
  public java.lang.String getPackageId() {
    java.lang.Object ref = packageId_;
    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();
      packageId_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 网上套餐ID
   * </pre>
   *
   * <code>string packageId = 1;</code>
   * @return The bytes for packageId.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getPackageIdBytes() {
    java.lang.Object ref = packageId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      packageId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PACKAGEDESC_FIELD_NUMBER = 2;
  private volatile java.lang.Object packageDesc_;
  /**
   * <pre>
   * 套餐描述
   * </pre>
   *
   * <code>string packageDesc = 2;</code>
   * @return The packageDesc.
   */
  @java.lang.Override
  public java.lang.String getPackageDesc() {
    java.lang.Object ref = packageDesc_;
    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();
      packageDesc_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 套餐描述
   * </pre>
   *
   * <code>string packageDesc = 2;</code>
   * @return The bytes for packageDesc.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getPackageDescBytes() {
    java.lang.Object ref = packageDesc_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      packageDesc_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PACKAGEAMT_FIELD_NUMBER = 3;
  private int packageAmt_;
  /**
   * <pre>
   * 套餐金额
   * </pre>
   *
   * <code>int32 packageAmt = 3;</code>
   * @return The packageAmt.
   */
  @java.lang.Override
  public int getPackageAmt() {
    return packageAmt_;
  }

  public static final int ORDSETSID_FIELD_NUMBER = 4;
  private volatile java.lang.Object ordSetsId_;
  /**
   * <pre>
   * HIS套餐ID
   * </pre>
   *
   * <code>string ordSetsId = 4;</code>
   * @return The ordSetsId.
   */
  @java.lang.Override
  public java.lang.String getOrdSetsId() {
    java.lang.Object ref = ordSetsId_;
    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();
      ordSetsId_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * HIS套餐ID
   * </pre>
   *
   * <code>string ordSetsId = 4;</code>
   * @return The bytes for ordSetsId.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getOrdSetsIdBytes() {
    java.lang.Object ref = ordSetsId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      ordSetsId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int LEVELDESC_FIELD_NUMBER = 5;
  private volatile java.lang.Object levelDesc_;
  /**
   * <pre>
   * 类型描述
   * </pre>
   *
   * <code>string levelDesc = 5;</code>
   * @return The levelDesc.
   */
  @java.lang.Override
  public java.lang.String getLevelDesc() {
    java.lang.Object ref = levelDesc_;
    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();
      levelDesc_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 类型描述
   * </pre>
   *
   * <code>string levelDesc = 5;</code>
   * @return The bytes for levelDesc.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getLevelDescBytes() {
    java.lang.Object ref = levelDesc_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      levelDesc_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int LEVELID_FIELD_NUMBER = 6;
  private volatile java.lang.Object levelId_;
  /**
   * <pre>
   * 类型ID
   * </pre>
   *
   * <code>string levelId = 6;</code>
   * @return The levelId.
   */
  @java.lang.Override
  public java.lang.String getLevelId() {
    java.lang.Object ref = levelId_;
    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();
      levelId_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 类型ID
   * </pre>
   *
   * <code>string levelId = 6;</code>
   * @return The bytes for levelId.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getLevelIdBytes() {
    java.lang.Object ref = levelId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      levelId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int GIFLAG_FIELD_NUMBER = 7;
  private volatile java.lang.Object giFlag_;
  /**
   * <pre>
   * 团体标志：个人、团体
   * </pre>
   *
   * <code>string giFlag = 7;</code>
   * @return The giFlag.
   */
  @java.lang.Override
  public java.lang.String getGiFlag() {
    java.lang.Object ref = giFlag_;
    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();
      giFlag_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 团体标志：个人、团体
   * </pre>
   *
   * <code>string giFlag = 7;</code>
   * @return The bytes for giFlag.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getGiFlagBytes() {
    java.lang.Object ref = giFlag_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      giFlag_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int SEXDESC_FIELD_NUMBER = 8;
  private volatile java.lang.Object sexDesc_;
  /**
   * <pre>
   * 性别描述
   * </pre>
   *
   * <code>string sexDesc = 8;</code>
   * @return The sexDesc.
   */
  @java.lang.Override
  public java.lang.String getSexDesc() {
    java.lang.Object ref = sexDesc_;
    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();
      sexDesc_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 性别描述
   * </pre>
   *
   * <code>string sexDesc = 8;</code>
   * @return The bytes for sexDesc.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getSexDescBytes() {
    java.lang.Object ref = sexDesc_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      sexDesc_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ORDSETSTYPE_FIELD_NUMBER = 9;
  private volatile java.lang.Object ordSetsType_;
  /**
   * <pre>
   * 备注
   * </pre>
   *
   * <code>string ordSetsType = 9;</code>
   * @return The ordSetsType.
   */
  @java.lang.Override
  public java.lang.String getOrdSetsType() {
    java.lang.Object ref = ordSetsType_;
    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();
      ordSetsType_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 备注
   * </pre>
   *
   * <code>string ordSetsType = 9;</code>
   * @return The bytes for ordSetsType.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getOrdSetsTypeBytes() {
    java.lang.Object ref = ordSetsType_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      ordSetsType_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int LOCID_FIELD_NUMBER = 10;
  private volatile java.lang.Object locId_;
  /**
   * <pre>
   * 科室ID
   * </pre>
   *
   * <code>string locId = 10;</code>
   * @return The locId.
   */
  @java.lang.Override
  public java.lang.String getLocId() {
    java.lang.Object ref = locId_;
    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();
      locId_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 科室ID
   * </pre>
   *
   * <code>string locId = 10;</code>
   * @return The bytes for locId.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getLocIdBytes() {
    java.lang.Object ref = locId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      locId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int LOCDESC_FIELD_NUMBER = 11;
  private volatile java.lang.Object locDesc_;
  /**
   * <pre>
   * 科室描述
   * </pre>
   *
   * <code>string locDesc = 11;</code>
   * @return The locDesc.
   */
  @java.lang.Override
  public java.lang.String getLocDesc() {
    java.lang.Object ref = locDesc_;
    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();
      locDesc_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 科室描述
   * </pre>
   *
   * <code>string locDesc = 11;</code>
   * @return The bytes for locDesc.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getLocDescBytes() {
    java.lang.Object ref = locDesc_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      locDesc_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ORIGINAMT_FIELD_NUMBER = 12;
  private int originAmt_;
  /**
   * <pre>
   * 套餐价格
   * </pre>
   *
   * <code>int32 originAmt = 12;</code>
   * @return The originAmt.
   */
  @java.lang.Override
  public int getOriginAmt() {
    return originAmt_;
  }

  public static final int SORT_FIELD_NUMBER = 13;
  private volatile java.lang.Object sort_;
  /**
   * <code>string sort = 13;</code>
   * @return The sort.
   */
  @java.lang.Override
  public java.lang.String getSort() {
    java.lang.Object ref = sort_;
    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();
      sort_ = s;
      return s;
    }
  }
  /**
   * <code>string sort = 13;</code>
   * @return The bytes for sort.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getSortBytes() {
    java.lang.Object ref = sort_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      sort_ = 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(packageId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, packageId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageDesc_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, packageDesc_);
    }
    if (packageAmt_ != 0) {
      output.writeInt32(3, packageAmt_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ordSetsId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, ordSetsId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(levelDesc_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, levelDesc_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(levelId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, levelId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(giFlag_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, giFlag_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sexDesc_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, sexDesc_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ordSetsType_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, ordSetsType_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, locId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locDesc_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 11, locDesc_);
    }
    if (originAmt_ != 0) {
      output.writeInt32(12, originAmt_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sort_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 13, sort_);
    }
    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(packageId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, packageId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageDesc_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, packageDesc_);
    }
    if (packageAmt_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(3, packageAmt_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ordSetsId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, ordSetsId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(levelDesc_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, levelDesc_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(levelId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, levelId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(giFlag_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, giFlag_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sexDesc_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, sexDesc_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ordSetsType_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, ordSetsType_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, locId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locDesc_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, locDesc_);
    }
    if (originAmt_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(12, originAmt_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sort_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, sort_);
    }
    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.Package)) {
      return super.equals(obj);
    }
    com.ywt.gapi.checkup_booking.Package other = (com.ywt.gapi.checkup_booking.Package) obj;

    if (!getPackageId()
        .equals(other.getPackageId())) return false;
    if (!getPackageDesc()
        .equals(other.getPackageDesc())) return false;
    if (getPackageAmt()
        != other.getPackageAmt()) return false;
    if (!getOrdSetsId()
        .equals(other.getOrdSetsId())) return false;
    if (!getLevelDesc()
        .equals(other.getLevelDesc())) return false;
    if (!getLevelId()
        .equals(other.getLevelId())) return false;
    if (!getGiFlag()
        .equals(other.getGiFlag())) return false;
    if (!getSexDesc()
        .equals(other.getSexDesc())) return false;
    if (!getOrdSetsType()
        .equals(other.getOrdSetsType())) return false;
    if (!getLocId()
        .equals(other.getLocId())) return false;
    if (!getLocDesc()
        .equals(other.getLocDesc())) return false;
    if (getOriginAmt()
        != other.getOriginAmt()) return false;
    if (!getSort()
        .equals(other.getSort())) 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) + PACKAGEID_FIELD_NUMBER;
    hash = (53 * hash) + getPackageId().hashCode();
    hash = (37 * hash) + PACKAGEDESC_FIELD_NUMBER;
    hash = (53 * hash) + getPackageDesc().hashCode();
    hash = (37 * hash) + PACKAGEAMT_FIELD_NUMBER;
    hash = (53 * hash) + getPackageAmt();
    hash = (37 * hash) + ORDSETSID_FIELD_NUMBER;
    hash = (53 * hash) + getOrdSetsId().hashCode();
    hash = (37 * hash) + LEVELDESC_FIELD_NUMBER;
    hash = (53 * hash) + getLevelDesc().hashCode();
    hash = (37 * hash) + LEVELID_FIELD_NUMBER;
    hash = (53 * hash) + getLevelId().hashCode();
    hash = (37 * hash) + GIFLAG_FIELD_NUMBER;
    hash = (53 * hash) + getGiFlag().hashCode();
    hash = (37 * hash) + SEXDESC_FIELD_NUMBER;
    hash = (53 * hash) + getSexDesc().hashCode();
    hash = (37 * hash) + ORDSETSTYPE_FIELD_NUMBER;
    hash = (53 * hash) + getOrdSetsType().hashCode();
    hash = (37 * hash) + LOCID_FIELD_NUMBER;
    hash = (53 * hash) + getLocId().hashCode();
    hash = (37 * hash) + LOCDESC_FIELD_NUMBER;
    hash = (53 * hash) + getLocDesc().hashCode();
    hash = (37 * hash) + ORIGINAMT_FIELD_NUMBER;
    hash = (53 * hash) + getOriginAmt();
    hash = (37 * hash) + SORT_FIELD_NUMBER;
    hash = (53 * hash) + getSort().hashCode();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

    // Construct using com.ywt.gapi.checkup_booking.Package.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();
      packageId_ = "";

      packageDesc_ = "";

      packageAmt_ = 0;

      ordSetsId_ = "";

      levelDesc_ = "";

      levelId_ = "";

      giFlag_ = "";

      sexDesc_ = "";

      ordSetsType_ = "";

      locId_ = "";

      locDesc_ = "";

      originAmt_ = 0;

      sort_ = "";

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

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

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

    @java.lang.Override
    public com.ywt.gapi.checkup_booking.Package buildPartial() {
      com.ywt.gapi.checkup_booking.Package result = new com.ywt.gapi.checkup_booking.Package(this);
      result.packageId_ = packageId_;
      result.packageDesc_ = packageDesc_;
      result.packageAmt_ = packageAmt_;
      result.ordSetsId_ = ordSetsId_;
      result.levelDesc_ = levelDesc_;
      result.levelId_ = levelId_;
      result.giFlag_ = giFlag_;
      result.sexDesc_ = sexDesc_;
      result.ordSetsType_ = ordSetsType_;
      result.locId_ = locId_;
      result.locDesc_ = locDesc_;
      result.originAmt_ = originAmt_;
      result.sort_ = sort_;
      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.Package) {
        return mergeFrom((com.ywt.gapi.checkup_booking.Package)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.ywt.gapi.checkup_booking.Package other) {
      if (other == com.ywt.gapi.checkup_booking.Package.getDefaultInstance()) return this;
      if (!other.getPackageId().isEmpty()) {
        packageId_ = other.packageId_;
        onChanged();
      }
      if (!other.getPackageDesc().isEmpty()) {
        packageDesc_ = other.packageDesc_;
        onChanged();
      }
      if (other.getPackageAmt() != 0) {
        setPackageAmt(other.getPackageAmt());
      }
      if (!other.getOrdSetsId().isEmpty()) {
        ordSetsId_ = other.ordSetsId_;
        onChanged();
      }
      if (!other.getLevelDesc().isEmpty()) {
        levelDesc_ = other.levelDesc_;
        onChanged();
      }
      if (!other.getLevelId().isEmpty()) {
        levelId_ = other.levelId_;
        onChanged();
      }
      if (!other.getGiFlag().isEmpty()) {
        giFlag_ = other.giFlag_;
        onChanged();
      }
      if (!other.getSexDesc().isEmpty()) {
        sexDesc_ = other.sexDesc_;
        onChanged();
      }
      if (!other.getOrdSetsType().isEmpty()) {
        ordSetsType_ = other.ordSetsType_;
        onChanged();
      }
      if (!other.getLocId().isEmpty()) {
        locId_ = other.locId_;
        onChanged();
      }
      if (!other.getLocDesc().isEmpty()) {
        locDesc_ = other.locDesc_;
        onChanged();
      }
      if (other.getOriginAmt() != 0) {
        setOriginAmt(other.getOriginAmt());
      }
      if (!other.getSort().isEmpty()) {
        sort_ = other.sort_;
        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.checkup_booking.Package parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.ywt.gapi.checkup_booking.Package) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private java.lang.Object packageId_ = "";
    /**
     * <pre>
     * 网上套餐ID
     * </pre>
     *
     * <code>string packageId = 1;</code>
     * @return The packageId.
     */
    public java.lang.String getPackageId() {
      java.lang.Object ref = packageId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        packageId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 网上套餐ID
     * </pre>
     *
     * <code>string packageId = 1;</code>
     * @return The bytes for packageId.
     */
    public com.google.protobuf.ByteString
        getPackageIdBytes() {
      java.lang.Object ref = packageId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        packageId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 网上套餐ID
     * </pre>
     *
     * <code>string packageId = 1;</code>
     * @param value The packageId to set.
     * @return This builder for chaining.
     */
    public Builder setPackageId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      packageId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 网上套餐ID
     * </pre>
     *
     * <code>string packageId = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearPackageId() {
      
      packageId_ = getDefaultInstance().getPackageId();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 网上套餐ID
     * </pre>
     *
     * <code>string packageId = 1;</code>
     * @param value The bytes for packageId to set.
     * @return This builder for chaining.
     */
    public Builder setPackageIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      packageId_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object packageDesc_ = "";
    /**
     * <pre>
     * 套餐描述
     * </pre>
     *
     * <code>string packageDesc = 2;</code>
     * @return The packageDesc.
     */
    public java.lang.String getPackageDesc() {
      java.lang.Object ref = packageDesc_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        packageDesc_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 套餐描述
     * </pre>
     *
     * <code>string packageDesc = 2;</code>
     * @return The bytes for packageDesc.
     */
    public com.google.protobuf.ByteString
        getPackageDescBytes() {
      java.lang.Object ref = packageDesc_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        packageDesc_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 套餐描述
     * </pre>
     *
     * <code>string packageDesc = 2;</code>
     * @param value The packageDesc to set.
     * @return This builder for chaining.
     */
    public Builder setPackageDesc(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      packageDesc_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 套餐描述
     * </pre>
     *
     * <code>string packageDesc = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearPackageDesc() {
      
      packageDesc_ = getDefaultInstance().getPackageDesc();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 套餐描述
     * </pre>
     *
     * <code>string packageDesc = 2;</code>
     * @param value The bytes for packageDesc to set.
     * @return This builder for chaining.
     */
    public Builder setPackageDescBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      packageDesc_ = value;
      onChanged();
      return this;
    }

    private int packageAmt_ ;
    /**
     * <pre>
     * 套餐金额
     * </pre>
     *
     * <code>int32 packageAmt = 3;</code>
     * @return The packageAmt.
     */
    @java.lang.Override
    public int getPackageAmt() {
      return packageAmt_;
    }
    /**
     * <pre>
     * 套餐金额
     * </pre>
     *
     * <code>int32 packageAmt = 3;</code>
     * @param value The packageAmt to set.
     * @return This builder for chaining.
     */
    public Builder setPackageAmt(int value) {
      
      packageAmt_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 套餐金额
     * </pre>
     *
     * <code>int32 packageAmt = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearPackageAmt() {
      
      packageAmt_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object ordSetsId_ = "";
    /**
     * <pre>
     * HIS套餐ID
     * </pre>
     *
     * <code>string ordSetsId = 4;</code>
     * @return The ordSetsId.
     */
    public java.lang.String getOrdSetsId() {
      java.lang.Object ref = ordSetsId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        ordSetsId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * HIS套餐ID
     * </pre>
     *
     * <code>string ordSetsId = 4;</code>
     * @return The bytes for ordSetsId.
     */
    public com.google.protobuf.ByteString
        getOrdSetsIdBytes() {
      java.lang.Object ref = ordSetsId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        ordSetsId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * HIS套餐ID
     * </pre>
     *
     * <code>string ordSetsId = 4;</code>
     * @param value The ordSetsId to set.
     * @return This builder for chaining.
     */
    public Builder setOrdSetsId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      ordSetsId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * HIS套餐ID
     * </pre>
     *
     * <code>string ordSetsId = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearOrdSetsId() {
      
      ordSetsId_ = getDefaultInstance().getOrdSetsId();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * HIS套餐ID
     * </pre>
     *
     * <code>string ordSetsId = 4;</code>
     * @param value The bytes for ordSetsId to set.
     * @return This builder for chaining.
     */
    public Builder setOrdSetsIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      ordSetsId_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object levelDesc_ = "";
    /**
     * <pre>
     * 类型描述
     * </pre>
     *
     * <code>string levelDesc = 5;</code>
     * @return The levelDesc.
     */
    public java.lang.String getLevelDesc() {
      java.lang.Object ref = levelDesc_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        levelDesc_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 类型描述
     * </pre>
     *
     * <code>string levelDesc = 5;</code>
     * @return The bytes for levelDesc.
     */
    public com.google.protobuf.ByteString
        getLevelDescBytes() {
      java.lang.Object ref = levelDesc_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        levelDesc_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 类型描述
     * </pre>
     *
     * <code>string levelDesc = 5;</code>
     * @param value The levelDesc to set.
     * @return This builder for chaining.
     */
    public Builder setLevelDesc(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      levelDesc_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 类型描述
     * </pre>
     *
     * <code>string levelDesc = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearLevelDesc() {
      
      levelDesc_ = getDefaultInstance().getLevelDesc();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 类型描述
     * </pre>
     *
     * <code>string levelDesc = 5;</code>
     * @param value The bytes for levelDesc to set.
     * @return This builder for chaining.
     */
    public Builder setLevelDescBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      levelDesc_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object levelId_ = "";
    /**
     * <pre>
     * 类型ID
     * </pre>
     *
     * <code>string levelId = 6;</code>
     * @return The levelId.
     */
    public java.lang.String getLevelId() {
      java.lang.Object ref = levelId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        levelId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 类型ID
     * </pre>
     *
     * <code>string levelId = 6;</code>
     * @return The bytes for levelId.
     */
    public com.google.protobuf.ByteString
        getLevelIdBytes() {
      java.lang.Object ref = levelId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        levelId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 类型ID
     * </pre>
     *
     * <code>string levelId = 6;</code>
     * @param value The levelId to set.
     * @return This builder for chaining.
     */
    public Builder setLevelId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      levelId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 类型ID
     * </pre>
     *
     * <code>string levelId = 6;</code>
     * @return This builder for chaining.
     */
    public Builder clearLevelId() {
      
      levelId_ = getDefaultInstance().getLevelId();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 类型ID
     * </pre>
     *
     * <code>string levelId = 6;</code>
     * @param value The bytes for levelId to set.
     * @return This builder for chaining.
     */
    public Builder setLevelIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      levelId_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object giFlag_ = "";
    /**
     * <pre>
     * 团体标志：个人、团体
     * </pre>
     *
     * <code>string giFlag = 7;</code>
     * @return The giFlag.
     */
    public java.lang.String getGiFlag() {
      java.lang.Object ref = giFlag_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        giFlag_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 团体标志：个人、团体
     * </pre>
     *
     * <code>string giFlag = 7;</code>
     * @return The bytes for giFlag.
     */
    public com.google.protobuf.ByteString
        getGiFlagBytes() {
      java.lang.Object ref = giFlag_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        giFlag_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 团体标志：个人、团体
     * </pre>
     *
     * <code>string giFlag = 7;</code>
     * @param value The giFlag to set.
     * @return This builder for chaining.
     */
    public Builder setGiFlag(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      giFlag_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 团体标志：个人、团体
     * </pre>
     *
     * <code>string giFlag = 7;</code>
     * @return This builder for chaining.
     */
    public Builder clearGiFlag() {
      
      giFlag_ = getDefaultInstance().getGiFlag();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 团体标志：个人、团体
     * </pre>
     *
     * <code>string giFlag = 7;</code>
     * @param value The bytes for giFlag to set.
     * @return This builder for chaining.
     */
    public Builder setGiFlagBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      giFlag_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object sexDesc_ = "";
    /**
     * <pre>
     * 性别描述
     * </pre>
     *
     * <code>string sexDesc = 8;</code>
     * @return The sexDesc.
     */
    public java.lang.String getSexDesc() {
      java.lang.Object ref = sexDesc_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        sexDesc_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 性别描述
     * </pre>
     *
     * <code>string sexDesc = 8;</code>
     * @return The bytes for sexDesc.
     */
    public com.google.protobuf.ByteString
        getSexDescBytes() {
      java.lang.Object ref = sexDesc_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        sexDesc_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 性别描述
     * </pre>
     *
     * <code>string sexDesc = 8;</code>
     * @param value The sexDesc to set.
     * @return This builder for chaining.
     */
    public Builder setSexDesc(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      sexDesc_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 性别描述
     * </pre>
     *
     * <code>string sexDesc = 8;</code>
     * @return This builder for chaining.
     */
    public Builder clearSexDesc() {
      
      sexDesc_ = getDefaultInstance().getSexDesc();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 性别描述
     * </pre>
     *
     * <code>string sexDesc = 8;</code>
     * @param value The bytes for sexDesc to set.
     * @return This builder for chaining.
     */
    public Builder setSexDescBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      sexDesc_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object ordSetsType_ = "";
    /**
     * <pre>
     * 备注
     * </pre>
     *
     * <code>string ordSetsType = 9;</code>
     * @return The ordSetsType.
     */
    public java.lang.String getOrdSetsType() {
      java.lang.Object ref = ordSetsType_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        ordSetsType_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 备注
     * </pre>
     *
     * <code>string ordSetsType = 9;</code>
     * @return The bytes for ordSetsType.
     */
    public com.google.protobuf.ByteString
        getOrdSetsTypeBytes() {
      java.lang.Object ref = ordSetsType_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        ordSetsType_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 备注
     * </pre>
     *
     * <code>string ordSetsType = 9;</code>
     * @param value The ordSetsType to set.
     * @return This builder for chaining.
     */
    public Builder setOrdSetsType(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      ordSetsType_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 备注
     * </pre>
     *
     * <code>string ordSetsType = 9;</code>
     * @return This builder for chaining.
     */
    public Builder clearOrdSetsType() {
      
      ordSetsType_ = getDefaultInstance().getOrdSetsType();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 备注
     * </pre>
     *
     * <code>string ordSetsType = 9;</code>
     * @param value The bytes for ordSetsType to set.
     * @return This builder for chaining.
     */
    public Builder setOrdSetsTypeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      ordSetsType_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object locId_ = "";
    /**
     * <pre>
     * 科室ID
     * </pre>
     *
     * <code>string locId = 10;</code>
     * @return The locId.
     */
    public java.lang.String getLocId() {
      java.lang.Object ref = locId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        locId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 科室ID
     * </pre>
     *
     * <code>string locId = 10;</code>
     * @return The bytes for locId.
     */
    public com.google.protobuf.ByteString
        getLocIdBytes() {
      java.lang.Object ref = locId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        locId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 科室ID
     * </pre>
     *
     * <code>string locId = 10;</code>
     * @param value The locId to set.
     * @return This builder for chaining.
     */
    public Builder setLocId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      locId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 科室ID
     * </pre>
     *
     * <code>string locId = 10;</code>
     * @return This builder for chaining.
     */
    public Builder clearLocId() {
      
      locId_ = getDefaultInstance().getLocId();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 科室ID
     * </pre>
     *
     * <code>string locId = 10;</code>
     * @param value The bytes for locId to set.
     * @return This builder for chaining.
     */
    public Builder setLocIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      locId_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object locDesc_ = "";
    /**
     * <pre>
     * 科室描述
     * </pre>
     *
     * <code>string locDesc = 11;</code>
     * @return The locDesc.
     */
    public java.lang.String getLocDesc() {
      java.lang.Object ref = locDesc_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        locDesc_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 科室描述
     * </pre>
     *
     * <code>string locDesc = 11;</code>
     * @return The bytes for locDesc.
     */
    public com.google.protobuf.ByteString
        getLocDescBytes() {
      java.lang.Object ref = locDesc_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        locDesc_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 科室描述
     * </pre>
     *
     * <code>string locDesc = 11;</code>
     * @param value The locDesc to set.
     * @return This builder for chaining.
     */
    public Builder setLocDesc(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      locDesc_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 科室描述
     * </pre>
     *
     * <code>string locDesc = 11;</code>
     * @return This builder for chaining.
     */
    public Builder clearLocDesc() {
      
      locDesc_ = getDefaultInstance().getLocDesc();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 科室描述
     * </pre>
     *
     * <code>string locDesc = 11;</code>
     * @param value The bytes for locDesc to set.
     * @return This builder for chaining.
     */
    public Builder setLocDescBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      locDesc_ = value;
      onChanged();
      return this;
    }

    private int originAmt_ ;
    /**
     * <pre>
     * 套餐价格
     * </pre>
     *
     * <code>int32 originAmt = 12;</code>
     * @return The originAmt.
     */
    @java.lang.Override
    public int getOriginAmt() {
      return originAmt_;
    }
    /**
     * <pre>
     * 套餐价格
     * </pre>
     *
     * <code>int32 originAmt = 12;</code>
     * @param value The originAmt to set.
     * @return This builder for chaining.
     */
    public Builder setOriginAmt(int value) {
      
      originAmt_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 套餐价格
     * </pre>
     *
     * <code>int32 originAmt = 12;</code>
     * @return This builder for chaining.
     */
    public Builder clearOriginAmt() {
      
      originAmt_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object sort_ = "";
    /**
     * <code>string sort = 13;</code>
     * @return The sort.
     */
    public java.lang.String getSort() {
      java.lang.Object ref = sort_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        sort_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string sort = 13;</code>
     * @return The bytes for sort.
     */
    public com.google.protobuf.ByteString
        getSortBytes() {
      java.lang.Object ref = sort_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        sort_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string sort = 13;</code>
     * @param value The sort to set.
     * @return This builder for chaining.
     */
    public Builder setSort(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      sort_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string sort = 13;</code>
     * @return This builder for chaining.
     */
    public Builder clearSort() {
      
      sort_ = getDefaultInstance().getSort();
      onChanged();
      return this;
    }
    /**
     * <code>string sort = 13;</code>
     * @param value The bytes for sort to set.
     * @return This builder for chaining.
     */
    public Builder setSortBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      sort_ = 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.checkup_booking.Package)
  }

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

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

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

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

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

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

}

