// 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.RegInfo}
 */
public final class RegInfo extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.checkup_booking.RegInfo)
    RegInfoOrBuilder {
private static final long serialVersionUID = 0L;
  // Use RegInfo.newBuilder() to construct.
  private RegInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private RegInfo() {
    examDate_ = "";
    examLocDesc_ = "";
    examLocId_ = "";
    strId_ = "";
    otherLocId_ = "";
    status_ = "";
    datePmType_ = "";
  }

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

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

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

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

            examLocId_ = s;
            break;
          }
          case 32: {

            availRegCount_ = input.readInt32();
            break;
          }
          case 40: {

            regCount_ = input.readInt32();
            break;
          }
          case 48: {

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

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

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

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

            datePmType_ = 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_RegInfo_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_RegInfo_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.ywt.gapi.checkup_booking.RegInfo.class, com.ywt.gapi.checkup_booking.RegInfo.Builder.class);
  }

  public static final int EXAMDATE_FIELD_NUMBER = 1;
  private volatile java.lang.Object examDate_;
  /**
   * <pre>
   * 预约日期
   * </pre>
   *
   * <code>string examDate = 1;</code>
   * @return The examDate.
   */
  @java.lang.Override
  public java.lang.String getExamDate() {
    java.lang.Object ref = examDate_;
    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();
      examDate_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 预约日期
   * </pre>
   *
   * <code>string examDate = 1;</code>
   * @return The bytes for examDate.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getExamDateBytes() {
    java.lang.Object ref = examDate_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      examDate_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

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

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

  public static final int AVAILREGCOUNT_FIELD_NUMBER = 4;
  private int availRegCount_;
  /**
   * <pre>
   * 剩余名额
   * </pre>
   *
   * <code>int32 availRegCount = 4;</code>
   * @return The availRegCount.
   */
  @java.lang.Override
  public int getAvailRegCount() {
    return availRegCount_;
  }

  public static final int REGCOUNT_FIELD_NUMBER = 5;
  private int regCount_;
  /**
   * <pre>
   * 已约数量
   * </pre>
   *
   * <code>int32 regCount = 5;</code>
   * @return The regCount.
   */
  @java.lang.Override
  public int getRegCount() {
    return regCount_;
  }

  public static final int TOTALCOUNT_FIELD_NUMBER = 6;
  private int totalCount_;
  /**
   * <pre>
   * 总名额
   * </pre>
   *
   * <code>int32 totalCount = 6;</code>
   * @return The totalCount.
   */
  @java.lang.Override
  public int getTotalCount() {
    return totalCount_;
  }

  public static final int STRID_FIELD_NUMBER = 7;
  private volatile java.lang.Object strId_;
  /**
   * <pre>
   * 日期排班ID
   * </pre>
   *
   * <code>string strId = 7;</code>
   * @return The strId.
   */
  @java.lang.Override
  public java.lang.String getStrId() {
    java.lang.Object ref = strId_;
    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();
      strId_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 日期排班ID
   * </pre>
   *
   * <code>string strId = 7;</code>
   * @return The bytes for strId.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getStrIdBytes() {
    java.lang.Object ref = strId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      strId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int OTHERLOCID_FIELD_NUMBER = 8;
  private volatile java.lang.Object otherLocId_;
  /**
   * <code>string otherLocId = 8;</code>
   * @return The otherLocId.
   */
  @java.lang.Override
  public java.lang.String getOtherLocId() {
    java.lang.Object ref = otherLocId_;
    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();
      otherLocId_ = s;
      return s;
    }
  }
  /**
   * <code>string otherLocId = 8;</code>
   * @return The bytes for otherLocId.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getOtherLocIdBytes() {
    java.lang.Object ref = otherLocId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      otherLocId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int STATUS_FIELD_NUMBER = 9;
  private volatile java.lang.Object status_;
  /**
   * <pre>
   * 状态	可预约、已过期、已约满
   * </pre>
   *
   * <code>string status = 9;</code>
   * @return The status.
   */
  @java.lang.Override
  public java.lang.String getStatus() {
    java.lang.Object ref = status_;
    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();
      status_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 状态	可预约、已过期、已约满
   * </pre>
   *
   * <code>string status = 9;</code>
   * @return The bytes for status.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getStatusBytes() {
    java.lang.Object ref = status_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      status_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DATEPMTYPE_FIELD_NUMBER = 10;
  private volatile java.lang.Object datePmType_;
  /**
   * <pre>
   * 预约类型	I:个人  G:团体  O:过期主场
   * </pre>
   *
   * <code>string datePmType = 10;</code>
   * @return The datePmType.
   */
  @java.lang.Override
  public java.lang.String getDatePmType() {
    java.lang.Object ref = datePmType_;
    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();
      datePmType_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 预约类型	I:个人  G:团体  O:过期主场
   * </pre>
   *
   * <code>string datePmType = 10;</code>
   * @return The bytes for datePmType.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDatePmTypeBytes() {
    java.lang.Object ref = datePmType_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      datePmType_ = 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(examDate_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, examDate_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(examLocDesc_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, examLocDesc_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(examLocId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, examLocId_);
    }
    if (availRegCount_ != 0) {
      output.writeInt32(4, availRegCount_);
    }
    if (regCount_ != 0) {
      output.writeInt32(5, regCount_);
    }
    if (totalCount_ != 0) {
      output.writeInt32(6, totalCount_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(strId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, strId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(otherLocId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, otherLocId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(status_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, status_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(datePmType_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, datePmType_);
    }
    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(examDate_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, examDate_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(examLocDesc_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, examLocDesc_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(examLocId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, examLocId_);
    }
    if (availRegCount_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(4, availRegCount_);
    }
    if (regCount_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(5, regCount_);
    }
    if (totalCount_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(6, totalCount_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(strId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, strId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(otherLocId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, otherLocId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(status_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, status_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(datePmType_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, datePmType_);
    }
    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.RegInfo)) {
      return super.equals(obj);
    }
    com.ywt.gapi.checkup_booking.RegInfo other = (com.ywt.gapi.checkup_booking.RegInfo) obj;

    if (!getExamDate()
        .equals(other.getExamDate())) return false;
    if (!getExamLocDesc()
        .equals(other.getExamLocDesc())) return false;
    if (!getExamLocId()
        .equals(other.getExamLocId())) return false;
    if (getAvailRegCount()
        != other.getAvailRegCount()) return false;
    if (getRegCount()
        != other.getRegCount()) return false;
    if (getTotalCount()
        != other.getTotalCount()) return false;
    if (!getStrId()
        .equals(other.getStrId())) return false;
    if (!getOtherLocId()
        .equals(other.getOtherLocId())) return false;
    if (!getStatus()
        .equals(other.getStatus())) return false;
    if (!getDatePmType()
        .equals(other.getDatePmType())) 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) + EXAMDATE_FIELD_NUMBER;
    hash = (53 * hash) + getExamDate().hashCode();
    hash = (37 * hash) + EXAMLOCDESC_FIELD_NUMBER;
    hash = (53 * hash) + getExamLocDesc().hashCode();
    hash = (37 * hash) + EXAMLOCID_FIELD_NUMBER;
    hash = (53 * hash) + getExamLocId().hashCode();
    hash = (37 * hash) + AVAILREGCOUNT_FIELD_NUMBER;
    hash = (53 * hash) + getAvailRegCount();
    hash = (37 * hash) + REGCOUNT_FIELD_NUMBER;
    hash = (53 * hash) + getRegCount();
    hash = (37 * hash) + TOTALCOUNT_FIELD_NUMBER;
    hash = (53 * hash) + getTotalCount();
    hash = (37 * hash) + STRID_FIELD_NUMBER;
    hash = (53 * hash) + getStrId().hashCode();
    hash = (37 * hash) + OTHERLOCID_FIELD_NUMBER;
    hash = (53 * hash) + getOtherLocId().hashCode();
    hash = (37 * hash) + STATUS_FIELD_NUMBER;
    hash = (53 * hash) + getStatus().hashCode();
    hash = (37 * hash) + DATEPMTYPE_FIELD_NUMBER;
    hash = (53 * hash) + getDatePmType().hashCode();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

      examLocDesc_ = "";

      examLocId_ = "";

      availRegCount_ = 0;

      regCount_ = 0;

      totalCount_ = 0;

      strId_ = "";

      otherLocId_ = "";

      status_ = "";

      datePmType_ = "";

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

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

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

    @java.lang.Override
    public com.ywt.gapi.checkup_booking.RegInfo buildPartial() {
      com.ywt.gapi.checkup_booking.RegInfo result = new com.ywt.gapi.checkup_booking.RegInfo(this);
      result.examDate_ = examDate_;
      result.examLocDesc_ = examLocDesc_;
      result.examLocId_ = examLocId_;
      result.availRegCount_ = availRegCount_;
      result.regCount_ = regCount_;
      result.totalCount_ = totalCount_;
      result.strId_ = strId_;
      result.otherLocId_ = otherLocId_;
      result.status_ = status_;
      result.datePmType_ = datePmType_;
      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.RegInfo) {
        return mergeFrom((com.ywt.gapi.checkup_booking.RegInfo)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.ywt.gapi.checkup_booking.RegInfo other) {
      if (other == com.ywt.gapi.checkup_booking.RegInfo.getDefaultInstance()) return this;
      if (!other.getExamDate().isEmpty()) {
        examDate_ = other.examDate_;
        onChanged();
      }
      if (!other.getExamLocDesc().isEmpty()) {
        examLocDesc_ = other.examLocDesc_;
        onChanged();
      }
      if (!other.getExamLocId().isEmpty()) {
        examLocId_ = other.examLocId_;
        onChanged();
      }
      if (other.getAvailRegCount() != 0) {
        setAvailRegCount(other.getAvailRegCount());
      }
      if (other.getRegCount() != 0) {
        setRegCount(other.getRegCount());
      }
      if (other.getTotalCount() != 0) {
        setTotalCount(other.getTotalCount());
      }
      if (!other.getStrId().isEmpty()) {
        strId_ = other.strId_;
        onChanged();
      }
      if (!other.getOtherLocId().isEmpty()) {
        otherLocId_ = other.otherLocId_;
        onChanged();
      }
      if (!other.getStatus().isEmpty()) {
        status_ = other.status_;
        onChanged();
      }
      if (!other.getDatePmType().isEmpty()) {
        datePmType_ = other.datePmType_;
        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.RegInfo parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.ywt.gapi.checkup_booking.RegInfo) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private java.lang.Object examDate_ = "";
    /**
     * <pre>
     * 预约日期
     * </pre>
     *
     * <code>string examDate = 1;</code>
     * @return The examDate.
     */
    public java.lang.String getExamDate() {
      java.lang.Object ref = examDate_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        examDate_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 预约日期
     * </pre>
     *
     * <code>string examDate = 1;</code>
     * @return The bytes for examDate.
     */
    public com.google.protobuf.ByteString
        getExamDateBytes() {
      java.lang.Object ref = examDate_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        examDate_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 预约日期
     * </pre>
     *
     * <code>string examDate = 1;</code>
     * @param value The examDate to set.
     * @return This builder for chaining.
     */
    public Builder setExamDate(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      examDate_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 预约日期
     * </pre>
     *
     * <code>string examDate = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearExamDate() {
      
      examDate_ = getDefaultInstance().getExamDate();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 预约日期
     * </pre>
     *
     * <code>string examDate = 1;</code>
     * @param value The bytes for examDate to set.
     * @return This builder for chaining.
     */
    public Builder setExamDateBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      examDate_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object examLocDesc_ = "";
    /**
     * <pre>
     * 科室描述
     * </pre>
     *
     * <code>string examLocDesc = 2;</code>
     * @return The examLocDesc.
     */
    public java.lang.String getExamLocDesc() {
      java.lang.Object ref = examLocDesc_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        examLocDesc_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 科室描述
     * </pre>
     *
     * <code>string examLocDesc = 2;</code>
     * @return The bytes for examLocDesc.
     */
    public com.google.protobuf.ByteString
        getExamLocDescBytes() {
      java.lang.Object ref = examLocDesc_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        examLocDesc_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 科室描述
     * </pre>
     *
     * <code>string examLocDesc = 2;</code>
     * @param value The examLocDesc to set.
     * @return This builder for chaining.
     */
    public Builder setExamLocDesc(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      examLocDesc_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 科室描述
     * </pre>
     *
     * <code>string examLocDesc = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearExamLocDesc() {
      
      examLocDesc_ = getDefaultInstance().getExamLocDesc();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 科室描述
     * </pre>
     *
     * <code>string examLocDesc = 2;</code>
     * @param value The bytes for examLocDesc to set.
     * @return This builder for chaining.
     */
    public Builder setExamLocDescBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      examLocDesc_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object examLocId_ = "";
    /**
     * <pre>
     * 科室ID
     * </pre>
     *
     * <code>string examLocId = 3;</code>
     * @return The examLocId.
     */
    public java.lang.String getExamLocId() {
      java.lang.Object ref = examLocId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        examLocId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 科室ID
     * </pre>
     *
     * <code>string examLocId = 3;</code>
     * @return The bytes for examLocId.
     */
    public com.google.protobuf.ByteString
        getExamLocIdBytes() {
      java.lang.Object ref = examLocId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        examLocId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 科室ID
     * </pre>
     *
     * <code>string examLocId = 3;</code>
     * @param value The examLocId to set.
     * @return This builder for chaining.
     */
    public Builder setExamLocId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      examLocId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 科室ID
     * </pre>
     *
     * <code>string examLocId = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearExamLocId() {
      
      examLocId_ = getDefaultInstance().getExamLocId();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 科室ID
     * </pre>
     *
     * <code>string examLocId = 3;</code>
     * @param value The bytes for examLocId to set.
     * @return This builder for chaining.
     */
    public Builder setExamLocIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      examLocId_ = value;
      onChanged();
      return this;
    }

    private int availRegCount_ ;
    /**
     * <pre>
     * 剩余名额
     * </pre>
     *
     * <code>int32 availRegCount = 4;</code>
     * @return The availRegCount.
     */
    @java.lang.Override
    public int getAvailRegCount() {
      return availRegCount_;
    }
    /**
     * <pre>
     * 剩余名额
     * </pre>
     *
     * <code>int32 availRegCount = 4;</code>
     * @param value The availRegCount to set.
     * @return This builder for chaining.
     */
    public Builder setAvailRegCount(int value) {
      
      availRegCount_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 剩余名额
     * </pre>
     *
     * <code>int32 availRegCount = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearAvailRegCount() {
      
      availRegCount_ = 0;
      onChanged();
      return this;
    }

    private int regCount_ ;
    /**
     * <pre>
     * 已约数量
     * </pre>
     *
     * <code>int32 regCount = 5;</code>
     * @return The regCount.
     */
    @java.lang.Override
    public int getRegCount() {
      return regCount_;
    }
    /**
     * <pre>
     * 已约数量
     * </pre>
     *
     * <code>int32 regCount = 5;</code>
     * @param value The regCount to set.
     * @return This builder for chaining.
     */
    public Builder setRegCount(int value) {
      
      regCount_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 已约数量
     * </pre>
     *
     * <code>int32 regCount = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearRegCount() {
      
      regCount_ = 0;
      onChanged();
      return this;
    }

    private int totalCount_ ;
    /**
     * <pre>
     * 总名额
     * </pre>
     *
     * <code>int32 totalCount = 6;</code>
     * @return The totalCount.
     */
    @java.lang.Override
    public int getTotalCount() {
      return totalCount_;
    }
    /**
     * <pre>
     * 总名额
     * </pre>
     *
     * <code>int32 totalCount = 6;</code>
     * @param value The totalCount to set.
     * @return This builder for chaining.
     */
    public Builder setTotalCount(int value) {
      
      totalCount_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 总名额
     * </pre>
     *
     * <code>int32 totalCount = 6;</code>
     * @return This builder for chaining.
     */
    public Builder clearTotalCount() {
      
      totalCount_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object strId_ = "";
    /**
     * <pre>
     * 日期排班ID
     * </pre>
     *
     * <code>string strId = 7;</code>
     * @return The strId.
     */
    public java.lang.String getStrId() {
      java.lang.Object ref = strId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        strId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 日期排班ID
     * </pre>
     *
     * <code>string strId = 7;</code>
     * @return The bytes for strId.
     */
    public com.google.protobuf.ByteString
        getStrIdBytes() {
      java.lang.Object ref = strId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        strId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 日期排班ID
     * </pre>
     *
     * <code>string strId = 7;</code>
     * @param value The strId to set.
     * @return This builder for chaining.
     */
    public Builder setStrId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      strId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 日期排班ID
     * </pre>
     *
     * <code>string strId = 7;</code>
     * @return This builder for chaining.
     */
    public Builder clearStrId() {
      
      strId_ = getDefaultInstance().getStrId();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 日期排班ID
     * </pre>
     *
     * <code>string strId = 7;</code>
     * @param value The bytes for strId to set.
     * @return This builder for chaining.
     */
    public Builder setStrIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      strId_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object otherLocId_ = "";
    /**
     * <code>string otherLocId = 8;</code>
     * @return The otherLocId.
     */
    public java.lang.String getOtherLocId() {
      java.lang.Object ref = otherLocId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        otherLocId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string otherLocId = 8;</code>
     * @return The bytes for otherLocId.
     */
    public com.google.protobuf.ByteString
        getOtherLocIdBytes() {
      java.lang.Object ref = otherLocId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        otherLocId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string otherLocId = 8;</code>
     * @param value The otherLocId to set.
     * @return This builder for chaining.
     */
    public Builder setOtherLocId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      otherLocId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string otherLocId = 8;</code>
     * @return This builder for chaining.
     */
    public Builder clearOtherLocId() {
      
      otherLocId_ = getDefaultInstance().getOtherLocId();
      onChanged();
      return this;
    }
    /**
     * <code>string otherLocId = 8;</code>
     * @param value The bytes for otherLocId to set.
     * @return This builder for chaining.
     */
    public Builder setOtherLocIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      otherLocId_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object status_ = "";
    /**
     * <pre>
     * 状态	可预约、已过期、已约满
     * </pre>
     *
     * <code>string status = 9;</code>
     * @return The status.
     */
    public java.lang.String getStatus() {
      java.lang.Object ref = status_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        status_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 状态	可预约、已过期、已约满
     * </pre>
     *
     * <code>string status = 9;</code>
     * @return The bytes for status.
     */
    public com.google.protobuf.ByteString
        getStatusBytes() {
      java.lang.Object ref = status_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        status_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 状态	可预约、已过期、已约满
     * </pre>
     *
     * <code>string status = 9;</code>
     * @param value The status to set.
     * @return This builder for chaining.
     */
    public Builder setStatus(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      status_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 状态	可预约、已过期、已约满
     * </pre>
     *
     * <code>string status = 9;</code>
     * @return This builder for chaining.
     */
    public Builder clearStatus() {
      
      status_ = getDefaultInstance().getStatus();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 状态	可预约、已过期、已约满
     * </pre>
     *
     * <code>string status = 9;</code>
     * @param value The bytes for status to set.
     * @return This builder for chaining.
     */
    public Builder setStatusBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      status_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object datePmType_ = "";
    /**
     * <pre>
     * 预约类型	I:个人  G:团体  O:过期主场
     * </pre>
     *
     * <code>string datePmType = 10;</code>
     * @return The datePmType.
     */
    public java.lang.String getDatePmType() {
      java.lang.Object ref = datePmType_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        datePmType_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 预约类型	I:个人  G:团体  O:过期主场
     * </pre>
     *
     * <code>string datePmType = 10;</code>
     * @return The bytes for datePmType.
     */
    public com.google.protobuf.ByteString
        getDatePmTypeBytes() {
      java.lang.Object ref = datePmType_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        datePmType_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 预约类型	I:个人  G:团体  O:过期主场
     * </pre>
     *
     * <code>string datePmType = 10;</code>
     * @param value The datePmType to set.
     * @return This builder for chaining.
     */
    public Builder setDatePmType(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      datePmType_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 预约类型	I:个人  G:团体  O:过期主场
     * </pre>
     *
     * <code>string datePmType = 10;</code>
     * @return This builder for chaining.
     */
    public Builder clearDatePmType() {
      
      datePmType_ = getDefaultInstance().getDatePmType();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 预约类型	I:个人  G:团体  O:过期主场
     * </pre>
     *
     * <code>string datePmType = 10;</code>
     * @param value The bytes for datePmType to set.
     * @return This builder for chaining.
     */
    public Builder setDatePmTypeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      datePmType_ = 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.RegInfo)
  }

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

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

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

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

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

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

}

