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

package com.ywt.gapi.nfyy;

/**
 * Protobuf type {@code com.ywt.gapi.nfyy.TimeInfo}
 */
public final class TimeInfo extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.nfyy.TimeInfo)
    TimeInfoOrBuilder {
private static final long serialVersionUID = 0L;
  // Use TimeInfo.newBuilder() to construct.
  private TimeInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private TimeInfo() {
    availableNo_ = "";
    availableNoTime_ = "";
    availableFlag_ = "";
  }

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

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

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

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

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

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

  public static final int AVAILABLENO_FIELD_NUMBER = 1;
  private volatile java.lang.Object availableNo_;
  /**
   * <pre>
   *某个时间点上的可预约号码
   * </pre>
   *
   * <code>string availableNo = 1;</code>
   * @return The availableNo.
   */
  @java.lang.Override
  public java.lang.String getAvailableNo() {
    java.lang.Object ref = availableNo_;
    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();
      availableNo_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *某个时间点上的可预约号码
   * </pre>
   *
   * <code>string availableNo = 1;</code>
   * @return The bytes for availableNo.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getAvailableNoBytes() {
    java.lang.Object ref = availableNo_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      availableNo_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int AVAILABLENOTIME_FIELD_NUMBER = 2;
  private volatile java.lang.Object availableNoTime_;
  /**
   * <pre>
   *单个可预约的号码的时间点
   * </pre>
   *
   * <code>string availableNoTime = 2;</code>
   * @return The availableNoTime.
   */
  @java.lang.Override
  public java.lang.String getAvailableNoTime() {
    java.lang.Object ref = availableNoTime_;
    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();
      availableNoTime_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *单个可预约的号码的时间点
   * </pre>
   *
   * <code>string availableNoTime = 2;</code>
   * @return The bytes for availableNoTime.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getAvailableNoTimeBytes() {
    java.lang.Object ref = availableNoTime_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      availableNoTime_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int AVAILABLEFLAG_FIELD_NUMBER = 3;
  private volatile java.lang.Object availableFlag_;
  /**
   * <pre>
   *可否预约标识（Y:可预约，N:不可预约）
   * </pre>
   *
   * <code>string availableFlag = 3;</code>
   * @return The availableFlag.
   */
  @java.lang.Override
  public java.lang.String getAvailableFlag() {
    java.lang.Object ref = availableFlag_;
    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();
      availableFlag_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *可否预约标识（Y:可预约，N:不可预约）
   * </pre>
   *
   * <code>string availableFlag = 3;</code>
   * @return The bytes for availableFlag.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getAvailableFlagBytes() {
    java.lang.Object ref = availableFlag_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      availableFlag_ = 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(availableNo_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, availableNo_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(availableNoTime_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, availableNoTime_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(availableFlag_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, availableFlag_);
    }
    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(availableNo_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, availableNo_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(availableNoTime_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, availableNoTime_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(availableFlag_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, availableFlag_);
    }
    size += unknownFields.getSerializedSize();
    memoizedSize = size;
    return size;
  }

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

    if (!getAvailableNo()
        .equals(other.getAvailableNo())) return false;
    if (!getAvailableNoTime()
        .equals(other.getAvailableNoTime())) return false;
    if (!getAvailableFlag()
        .equals(other.getAvailableFlag())) 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) + AVAILABLENO_FIELD_NUMBER;
    hash = (53 * hash) + getAvailableNo().hashCode();
    hash = (37 * hash) + AVAILABLENOTIME_FIELD_NUMBER;
    hash = (53 * hash) + getAvailableNoTime().hashCode();
    hash = (37 * hash) + AVAILABLEFLAG_FIELD_NUMBER;
    hash = (53 * hash) + getAvailableFlag().hashCode();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

  @java.lang.Override
  public Builder newBuilderForType() { return newBuilder(); }
  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }
  public static Builder newBuilder(com.ywt.gapi.nfyy.TimeInfo 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;
  }
  /**
   * Protobuf type {@code com.ywt.gapi.nfyy.TimeInfo}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:com.ywt.gapi.nfyy.TimeInfo)
      com.ywt.gapi.nfyy.TimeInfoOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.ywt.gapi.nfyy.NfyyProto.internal_static_com_ywt_gapi_nfyy_TimeInfo_descriptor;
    }

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

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

      availableNoTime_ = "";

      availableFlag_ = "";

      return this;
    }

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

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

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

    @java.lang.Override
    public com.ywt.gapi.nfyy.TimeInfo buildPartial() {
      com.ywt.gapi.nfyy.TimeInfo result = new com.ywt.gapi.nfyy.TimeInfo(this);
      result.availableNo_ = availableNo_;
      result.availableNoTime_ = availableNoTime_;
      result.availableFlag_ = availableFlag_;
      onBuilt();
      return result;
    }

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

    public Builder mergeFrom(com.ywt.gapi.nfyy.TimeInfo other) {
      if (other == com.ywt.gapi.nfyy.TimeInfo.getDefaultInstance()) return this;
      if (!other.getAvailableNo().isEmpty()) {
        availableNo_ = other.availableNo_;
        onChanged();
      }
      if (!other.getAvailableNoTime().isEmpty()) {
        availableNoTime_ = other.availableNoTime_;
        onChanged();
      }
      if (!other.getAvailableFlag().isEmpty()) {
        availableFlag_ = other.availableFlag_;
        onChanged();
      }
      this.mergeUnknownFields(other.unknownFields);
      onChanged();
      return this;
    }

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

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

    private java.lang.Object availableNo_ = "";
    /**
     * <pre>
     *某个时间点上的可预约号码
     * </pre>
     *
     * <code>string availableNo = 1;</code>
     * @return The availableNo.
     */
    public java.lang.String getAvailableNo() {
      java.lang.Object ref = availableNo_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        availableNo_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *某个时间点上的可预约号码
     * </pre>
     *
     * <code>string availableNo = 1;</code>
     * @return The bytes for availableNo.
     */
    public com.google.protobuf.ByteString
        getAvailableNoBytes() {
      java.lang.Object ref = availableNo_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        availableNo_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *某个时间点上的可预约号码
     * </pre>
     *
     * <code>string availableNo = 1;</code>
     * @param value The availableNo to set.
     * @return This builder for chaining.
     */
    public Builder setAvailableNo(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      availableNo_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *某个时间点上的可预约号码
     * </pre>
     *
     * <code>string availableNo = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearAvailableNo() {
      
      availableNo_ = getDefaultInstance().getAvailableNo();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *某个时间点上的可预约号码
     * </pre>
     *
     * <code>string availableNo = 1;</code>
     * @param value The bytes for availableNo to set.
     * @return This builder for chaining.
     */
    public Builder setAvailableNoBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      availableNo_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object availableNoTime_ = "";
    /**
     * <pre>
     *单个可预约的号码的时间点
     * </pre>
     *
     * <code>string availableNoTime = 2;</code>
     * @return The availableNoTime.
     */
    public java.lang.String getAvailableNoTime() {
      java.lang.Object ref = availableNoTime_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        availableNoTime_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *单个可预约的号码的时间点
     * </pre>
     *
     * <code>string availableNoTime = 2;</code>
     * @return The bytes for availableNoTime.
     */
    public com.google.protobuf.ByteString
        getAvailableNoTimeBytes() {
      java.lang.Object ref = availableNoTime_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        availableNoTime_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *单个可预约的号码的时间点
     * </pre>
     *
     * <code>string availableNoTime = 2;</code>
     * @param value The availableNoTime to set.
     * @return This builder for chaining.
     */
    public Builder setAvailableNoTime(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      availableNoTime_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *单个可预约的号码的时间点
     * </pre>
     *
     * <code>string availableNoTime = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearAvailableNoTime() {
      
      availableNoTime_ = getDefaultInstance().getAvailableNoTime();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *单个可预约的号码的时间点
     * </pre>
     *
     * <code>string availableNoTime = 2;</code>
     * @param value The bytes for availableNoTime to set.
     * @return This builder for chaining.
     */
    public Builder setAvailableNoTimeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      availableNoTime_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object availableFlag_ = "";
    /**
     * <pre>
     *可否预约标识（Y:可预约，N:不可预约）
     * </pre>
     *
     * <code>string availableFlag = 3;</code>
     * @return The availableFlag.
     */
    public java.lang.String getAvailableFlag() {
      java.lang.Object ref = availableFlag_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        availableFlag_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *可否预约标识（Y:可预约，N:不可预约）
     * </pre>
     *
     * <code>string availableFlag = 3;</code>
     * @return The bytes for availableFlag.
     */
    public com.google.protobuf.ByteString
        getAvailableFlagBytes() {
      java.lang.Object ref = availableFlag_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        availableFlag_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *可否预约标识（Y:可预约，N:不可预约）
     * </pre>
     *
     * <code>string availableFlag = 3;</code>
     * @param value The availableFlag to set.
     * @return This builder for chaining.
     */
    public Builder setAvailableFlag(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      availableFlag_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *可否预约标识（Y:可预约，N:不可预约）
     * </pre>
     *
     * <code>string availableFlag = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearAvailableFlag() {
      
      availableFlag_ = getDefaultInstance().getAvailableFlag();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *可否预约标识（Y:可预约，N:不可预约）
     * </pre>
     *
     * <code>string availableFlag = 3;</code>
     * @param value The bytes for availableFlag to set.
     * @return This builder for chaining.
     */
    public Builder setAvailableFlagBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      availableFlag_ = value;
      onChanged();
      return this;
    }
    @java.lang.Override
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

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


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

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

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

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

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

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

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

}

