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

package com.ywt.gapi.nfyy;

/**
 * <pre>
 *医生号源分时信息
 * </pre>
 *
 * Protobuf type {@code com.ywt.gapi.nfyy.ScheduleTimeInfo}
 */
public final class ScheduleTimeInfo extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.nfyy.ScheduleTimeInfo)
    ScheduleTimeInfoOrBuilder {
private static final long serialVersionUID = 0L;
  // Use ScheduleTimeInfo.newBuilder() to construct.
  private ScheduleTimeInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private ScheduleTimeInfo() {
    scheduleItemCode_ = "";
    serviceDate_ = "";
    weekDay_ = "";
    sessionCode_ = "";
    sessionName_ = "";
    startTime_ = "";
    endTime_ = "";
    availableTotalNum_ = "";
    availableLeftNum_ = "";
    timeInfos_ = java.util.Collections.emptyList();
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private ScheduleTimeInfo(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    int mutable_bitField0_ = 0;
    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();

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

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

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

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

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

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

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

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

            availableLeftNum_ = s;
            break;
          }
          case 82: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              timeInfos_ = new java.util.ArrayList<com.ywt.gapi.nfyy.TimeInfo>();
              mutable_bitField0_ |= 0x00000001;
            }
            timeInfos_.add(
                input.readMessage(com.ywt.gapi.nfyy.TimeInfo.parser(), extensionRegistry));
            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 {
      if (((mutable_bitField0_ & 0x00000001) != 0)) {
        timeInfos_ = java.util.Collections.unmodifiableList(timeInfos_);
      }
      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_ScheduleTimeInfo_descriptor;
  }

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

  public static final int SCHEDULEITEMCODE_FIELD_NUMBER = 1;
  private volatile java.lang.Object scheduleItemCode_;
  /**
   * <pre>
   *门诊排班项记录标识
   * </pre>
   *
   * <code>string scheduleItemCode = 1;</code>
   * @return The scheduleItemCode.
   */
  @java.lang.Override
  public java.lang.String getScheduleItemCode() {
    java.lang.Object ref = scheduleItemCode_;
    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();
      scheduleItemCode_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *门诊排班项记录标识
   * </pre>
   *
   * <code>string scheduleItemCode = 1;</code>
   * @return The bytes for scheduleItemCode.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getScheduleItemCodeBytes() {
    java.lang.Object ref = scheduleItemCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      scheduleItemCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int SERVICEDATE_FIELD_NUMBER = 2;
  private volatile java.lang.Object serviceDate_;
  /**
   * <pre>
   *门诊排班日期(YYYY-MM-DD)
   * </pre>
   *
   * <code>string serviceDate = 2;</code>
   * @return The serviceDate.
   */
  @java.lang.Override
  public java.lang.String getServiceDate() {
    java.lang.Object ref = serviceDate_;
    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();
      serviceDate_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *门诊排班日期(YYYY-MM-DD)
   * </pre>
   *
   * <code>string serviceDate = 2;</code>
   * @return The bytes for serviceDate.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getServiceDateBytes() {
    java.lang.Object ref = serviceDate_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      serviceDate_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int WEEKDAY_FIELD_NUMBER = 3;
  private volatile java.lang.Object weekDay_;
  /**
   * <pre>
   *星期数(1-7)
   * </pre>
   *
   * <code>string weekDay = 3;</code>
   * @return The weekDay.
   */
  @java.lang.Override
  public java.lang.String getWeekDay() {
    java.lang.Object ref = weekDay_;
    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();
      weekDay_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *星期数(1-7)
   * </pre>
   *
   * <code>string weekDay = 3;</code>
   * @return The bytes for weekDay.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getWeekDayBytes() {
    java.lang.Object ref = weekDay_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      weekDay_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int SESSIONCODE_FIELD_NUMBER = 4;
  private volatile java.lang.Object sessionCode_;
  /**
   * <pre>
   *排班时段代码
   * </pre>
   *
   * <code>string sessionCode = 4;</code>
   * @return The sessionCode.
   */
  @java.lang.Override
  public java.lang.String getSessionCode() {
    java.lang.Object ref = sessionCode_;
    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();
      sessionCode_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *排班时段代码
   * </pre>
   *
   * <code>string sessionCode = 4;</code>
   * @return The bytes for sessionCode.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getSessionCodeBytes() {
    java.lang.Object ref = sessionCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      sessionCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int SESSIONNAME_FIELD_NUMBER = 5;
  private volatile java.lang.Object sessionName_;
  /**
   * <pre>
   *排班时段名称
   * </pre>
   *
   * <code>string sessionName = 5;</code>
   * @return The sessionName.
   */
  @java.lang.Override
  public java.lang.String getSessionName() {
    java.lang.Object ref = sessionName_;
    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();
      sessionName_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *排班时段名称
   * </pre>
   *
   * <code>string sessionName = 5;</code>
   * @return The bytes for sessionName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getSessionNameBytes() {
    java.lang.Object ref = sessionName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      sessionName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int STARTTIME_FIELD_NUMBER = 6;
  private volatile java.lang.Object startTime_;
  /**
   * <pre>
   *班别开始时间，格式：HH:MI
   * </pre>
   *
   * <code>string startTime = 6;</code>
   * @return The startTime.
   */
  @java.lang.Override
  public java.lang.String getStartTime() {
    java.lang.Object ref = startTime_;
    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();
      startTime_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *班别开始时间，格式：HH:MI
   * </pre>
   *
   * <code>string startTime = 6;</code>
   * @return The bytes for startTime.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getStartTimeBytes() {
    java.lang.Object ref = startTime_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      startTime_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ENDTIME_FIELD_NUMBER = 7;
  private volatile java.lang.Object endTime_;
  /**
   * <pre>
   *班别结束时间，格式：HH:MI
   * </pre>
   *
   * <code>string endTime = 7;</code>
   * @return The endTime.
   */
  @java.lang.Override
  public java.lang.String getEndTime() {
    java.lang.Object ref = endTime_;
    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();
      endTime_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *班别结束时间，格式：HH:MI
   * </pre>
   *
   * <code>string endTime = 7;</code>
   * @return The bytes for endTime.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getEndTimeBytes() {
    java.lang.Object ref = endTime_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      endTime_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int AVAILABLETOTALNUM_FIELD_NUMBER = 8;
  private volatile java.lang.Object availableTotalNum_;
  /**
   * <pre>
   *该时段可预约的总号源数
   * </pre>
   *
   * <code>string availableTotalNum = 8;</code>
   * @return The availableTotalNum.
   */
  @java.lang.Override
  public java.lang.String getAvailableTotalNum() {
    java.lang.Object ref = availableTotalNum_;
    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();
      availableTotalNum_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *该时段可预约的总号源数
   * </pre>
   *
   * <code>string availableTotalNum = 8;</code>
   * @return The bytes for availableTotalNum.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getAvailableTotalNumBytes() {
    java.lang.Object ref = availableTotalNum_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      availableTotalNum_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int AVAILABLELEFTNUM_FIELD_NUMBER = 9;
  private volatile java.lang.Object availableLeftNum_;
  /**
   * <pre>
   *该时段剩余号源数
   * </pre>
   *
   * <code>string availableLeftNum = 9;</code>
   * @return The availableLeftNum.
   */
  @java.lang.Override
  public java.lang.String getAvailableLeftNum() {
    java.lang.Object ref = availableLeftNum_;
    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();
      availableLeftNum_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *该时段剩余号源数
   * </pre>
   *
   * <code>string availableLeftNum = 9;</code>
   * @return The bytes for availableLeftNum.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getAvailableLeftNumBytes() {
    java.lang.Object ref = availableLeftNum_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      availableLeftNum_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int TIMEINFOS_FIELD_NUMBER = 10;
  private java.util.List<com.ywt.gapi.nfyy.TimeInfo> timeInfos_;
  /**
   * <pre>
   *分时信息
   * </pre>
   *
   * <code>repeated .com.ywt.gapi.nfyy.TimeInfo timeInfos = 10;</code>
   */
  @java.lang.Override
  public java.util.List<com.ywt.gapi.nfyy.TimeInfo> getTimeInfosList() {
    return timeInfos_;
  }
  /**
   * <pre>
   *分时信息
   * </pre>
   *
   * <code>repeated .com.ywt.gapi.nfyy.TimeInfo timeInfos = 10;</code>
   */
  @java.lang.Override
  public java.util.List<? extends com.ywt.gapi.nfyy.TimeInfoOrBuilder> 
      getTimeInfosOrBuilderList() {
    return timeInfos_;
  }
  /**
   * <pre>
   *分时信息
   * </pre>
   *
   * <code>repeated .com.ywt.gapi.nfyy.TimeInfo timeInfos = 10;</code>
   */
  @java.lang.Override
  public int getTimeInfosCount() {
    return timeInfos_.size();
  }
  /**
   * <pre>
   *分时信息
   * </pre>
   *
   * <code>repeated .com.ywt.gapi.nfyy.TimeInfo timeInfos = 10;</code>
   */
  @java.lang.Override
  public com.ywt.gapi.nfyy.TimeInfo getTimeInfos(int index) {
    return timeInfos_.get(index);
  }
  /**
   * <pre>
   *分时信息
   * </pre>
   *
   * <code>repeated .com.ywt.gapi.nfyy.TimeInfo timeInfos = 10;</code>
   */
  @java.lang.Override
  public com.ywt.gapi.nfyy.TimeInfoOrBuilder getTimeInfosOrBuilder(
      int index) {
    return timeInfos_.get(index);
  }

  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(scheduleItemCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, scheduleItemCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceDate_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, serviceDate_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(weekDay_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, weekDay_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sessionCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, sessionCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sessionName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, sessionName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(startTime_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, startTime_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endTime_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, endTime_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(availableTotalNum_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, availableTotalNum_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(availableLeftNum_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, availableLeftNum_);
    }
    for (int i = 0; i < timeInfos_.size(); i++) {
      output.writeMessage(10, timeInfos_.get(i));
    }
    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(scheduleItemCode_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, scheduleItemCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceDate_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, serviceDate_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(weekDay_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, weekDay_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sessionCode_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, sessionCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sessionName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, sessionName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(startTime_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, startTime_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endTime_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, endTime_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(availableTotalNum_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, availableTotalNum_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(availableLeftNum_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, availableLeftNum_);
    }
    for (int i = 0; i < timeInfos_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(10, timeInfos_.get(i));
    }
    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.ScheduleTimeInfo)) {
      return super.equals(obj);
    }
    com.ywt.gapi.nfyy.ScheduleTimeInfo other = (com.ywt.gapi.nfyy.ScheduleTimeInfo) obj;

    if (!getScheduleItemCode()
        .equals(other.getScheduleItemCode())) return false;
    if (!getServiceDate()
        .equals(other.getServiceDate())) return false;
    if (!getWeekDay()
        .equals(other.getWeekDay())) return false;
    if (!getSessionCode()
        .equals(other.getSessionCode())) return false;
    if (!getSessionName()
        .equals(other.getSessionName())) return false;
    if (!getStartTime()
        .equals(other.getStartTime())) return false;
    if (!getEndTime()
        .equals(other.getEndTime())) return false;
    if (!getAvailableTotalNum()
        .equals(other.getAvailableTotalNum())) return false;
    if (!getAvailableLeftNum()
        .equals(other.getAvailableLeftNum())) return false;
    if (!getTimeInfosList()
        .equals(other.getTimeInfosList())) 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) + SCHEDULEITEMCODE_FIELD_NUMBER;
    hash = (53 * hash) + getScheduleItemCode().hashCode();
    hash = (37 * hash) + SERVICEDATE_FIELD_NUMBER;
    hash = (53 * hash) + getServiceDate().hashCode();
    hash = (37 * hash) + WEEKDAY_FIELD_NUMBER;
    hash = (53 * hash) + getWeekDay().hashCode();
    hash = (37 * hash) + SESSIONCODE_FIELD_NUMBER;
    hash = (53 * hash) + getSessionCode().hashCode();
    hash = (37 * hash) + SESSIONNAME_FIELD_NUMBER;
    hash = (53 * hash) + getSessionName().hashCode();
    hash = (37 * hash) + STARTTIME_FIELD_NUMBER;
    hash = (53 * hash) + getStartTime().hashCode();
    hash = (37 * hash) + ENDTIME_FIELD_NUMBER;
    hash = (53 * hash) + getEndTime().hashCode();
    hash = (37 * hash) + AVAILABLETOTALNUM_FIELD_NUMBER;
    hash = (53 * hash) + getAvailableTotalNum().hashCode();
    hash = (37 * hash) + AVAILABLELEFTNUM_FIELD_NUMBER;
    hash = (53 * hash) + getAvailableLeftNum().hashCode();
    if (getTimeInfosCount() > 0) {
      hash = (37 * hash) + TIMEINFOS_FIELD_NUMBER;
      hash = (53 * hash) + getTimeInfosList().hashCode();
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.ywt.gapi.nfyy.ScheduleTimeInfo parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.nfyy.ScheduleTimeInfo 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.ScheduleTimeInfo parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.nfyy.ScheduleTimeInfo 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.ScheduleTimeInfo parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.nfyy.ScheduleTimeInfo parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.ywt.gapi.nfyy.ScheduleTimeInfo parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.nfyy.ScheduleTimeInfo 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.ScheduleTimeInfo parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.nfyy.ScheduleTimeInfo 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.ScheduleTimeInfo parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.nfyy.ScheduleTimeInfo 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.ScheduleTimeInfo prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  @java.lang.Override
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE
        ? new Builder() : new Builder().mergeFrom(this);
  }

  @java.lang.Override
  protected Builder newBuilderForType(
      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * <pre>
   *医生号源分时信息
   * </pre>
   *
   * Protobuf type {@code com.ywt.gapi.nfyy.ScheduleTimeInfo}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:com.ywt.gapi.nfyy.ScheduleTimeInfo)
      com.ywt.gapi.nfyy.ScheduleTimeInfoOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.ywt.gapi.nfyy.NfyyProto.internal_static_com_ywt_gapi_nfyy_ScheduleTimeInfo_descriptor;
    }

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

    // Construct using com.ywt.gapi.nfyy.ScheduleTimeInfo.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
        getTimeInfosFieldBuilder();
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      scheduleItemCode_ = "";

      serviceDate_ = "";

      weekDay_ = "";

      sessionCode_ = "";

      sessionName_ = "";

      startTime_ = "";

      endTime_ = "";

      availableTotalNum_ = "";

      availableLeftNum_ = "";

      if (timeInfosBuilder_ == null) {
        timeInfos_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
      } else {
        timeInfosBuilder_.clear();
      }
      return this;
    }

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

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

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

    @java.lang.Override
    public com.ywt.gapi.nfyy.ScheduleTimeInfo buildPartial() {
      com.ywt.gapi.nfyy.ScheduleTimeInfo result = new com.ywt.gapi.nfyy.ScheduleTimeInfo(this);
      int from_bitField0_ = bitField0_;
      result.scheduleItemCode_ = scheduleItemCode_;
      result.serviceDate_ = serviceDate_;
      result.weekDay_ = weekDay_;
      result.sessionCode_ = sessionCode_;
      result.sessionName_ = sessionName_;
      result.startTime_ = startTime_;
      result.endTime_ = endTime_;
      result.availableTotalNum_ = availableTotalNum_;
      result.availableLeftNum_ = availableLeftNum_;
      if (timeInfosBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0)) {
          timeInfos_ = java.util.Collections.unmodifiableList(timeInfos_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.timeInfos_ = timeInfos_;
      } else {
        result.timeInfos_ = timeInfosBuilder_.build();
      }
      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.ScheduleTimeInfo) {
        return mergeFrom((com.ywt.gapi.nfyy.ScheduleTimeInfo)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.ywt.gapi.nfyy.ScheduleTimeInfo other) {
      if (other == com.ywt.gapi.nfyy.ScheduleTimeInfo.getDefaultInstance()) return this;
      if (!other.getScheduleItemCode().isEmpty()) {
        scheduleItemCode_ = other.scheduleItemCode_;
        onChanged();
      }
      if (!other.getServiceDate().isEmpty()) {
        serviceDate_ = other.serviceDate_;
        onChanged();
      }
      if (!other.getWeekDay().isEmpty()) {
        weekDay_ = other.weekDay_;
        onChanged();
      }
      if (!other.getSessionCode().isEmpty()) {
        sessionCode_ = other.sessionCode_;
        onChanged();
      }
      if (!other.getSessionName().isEmpty()) {
        sessionName_ = other.sessionName_;
        onChanged();
      }
      if (!other.getStartTime().isEmpty()) {
        startTime_ = other.startTime_;
        onChanged();
      }
      if (!other.getEndTime().isEmpty()) {
        endTime_ = other.endTime_;
        onChanged();
      }
      if (!other.getAvailableTotalNum().isEmpty()) {
        availableTotalNum_ = other.availableTotalNum_;
        onChanged();
      }
      if (!other.getAvailableLeftNum().isEmpty()) {
        availableLeftNum_ = other.availableLeftNum_;
        onChanged();
      }
      if (timeInfosBuilder_ == null) {
        if (!other.timeInfos_.isEmpty()) {
          if (timeInfos_.isEmpty()) {
            timeInfos_ = other.timeInfos_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureTimeInfosIsMutable();
            timeInfos_.addAll(other.timeInfos_);
          }
          onChanged();
        }
      } else {
        if (!other.timeInfos_.isEmpty()) {
          if (timeInfosBuilder_.isEmpty()) {
            timeInfosBuilder_.dispose();
            timeInfosBuilder_ = null;
            timeInfos_ = other.timeInfos_;
            bitField0_ = (bitField0_ & ~0x00000001);
            timeInfosBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getTimeInfosFieldBuilder() : null;
          } else {
            timeInfosBuilder_.addAllMessages(other.timeInfos_);
          }
        }
      }
      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.ScheduleTimeInfo parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.ywt.gapi.nfyy.ScheduleTimeInfo) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int bitField0_;

    private java.lang.Object scheduleItemCode_ = "";
    /**
     * <pre>
     *门诊排班项记录标识
     * </pre>
     *
     * <code>string scheduleItemCode = 1;</code>
     * @return The scheduleItemCode.
     */
    public java.lang.String getScheduleItemCode() {
      java.lang.Object ref = scheduleItemCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        scheduleItemCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *门诊排班项记录标识
     * </pre>
     *
     * <code>string scheduleItemCode = 1;</code>
     * @return The bytes for scheduleItemCode.
     */
    public com.google.protobuf.ByteString
        getScheduleItemCodeBytes() {
      java.lang.Object ref = scheduleItemCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        scheduleItemCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *门诊排班项记录标识
     * </pre>
     *
     * <code>string scheduleItemCode = 1;</code>
     * @param value The scheduleItemCode to set.
     * @return This builder for chaining.
     */
    public Builder setScheduleItemCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      scheduleItemCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *门诊排班项记录标识
     * </pre>
     *
     * <code>string scheduleItemCode = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearScheduleItemCode() {
      
      scheduleItemCode_ = getDefaultInstance().getScheduleItemCode();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *门诊排班项记录标识
     * </pre>
     *
     * <code>string scheduleItemCode = 1;</code>
     * @param value The bytes for scheduleItemCode to set.
     * @return This builder for chaining.
     */
    public Builder setScheduleItemCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      scheduleItemCode_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object serviceDate_ = "";
    /**
     * <pre>
     *门诊排班日期(YYYY-MM-DD)
     * </pre>
     *
     * <code>string serviceDate = 2;</code>
     * @return The serviceDate.
     */
    public java.lang.String getServiceDate() {
      java.lang.Object ref = serviceDate_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        serviceDate_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *门诊排班日期(YYYY-MM-DD)
     * </pre>
     *
     * <code>string serviceDate = 2;</code>
     * @return The bytes for serviceDate.
     */
    public com.google.protobuf.ByteString
        getServiceDateBytes() {
      java.lang.Object ref = serviceDate_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        serviceDate_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *门诊排班日期(YYYY-MM-DD)
     * </pre>
     *
     * <code>string serviceDate = 2;</code>
     * @param value The serviceDate to set.
     * @return This builder for chaining.
     */
    public Builder setServiceDate(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      serviceDate_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *门诊排班日期(YYYY-MM-DD)
     * </pre>
     *
     * <code>string serviceDate = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearServiceDate() {
      
      serviceDate_ = getDefaultInstance().getServiceDate();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *门诊排班日期(YYYY-MM-DD)
     * </pre>
     *
     * <code>string serviceDate = 2;</code>
     * @param value The bytes for serviceDate to set.
     * @return This builder for chaining.
     */
    public Builder setServiceDateBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      serviceDate_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object weekDay_ = "";
    /**
     * <pre>
     *星期数(1-7)
     * </pre>
     *
     * <code>string weekDay = 3;</code>
     * @return The weekDay.
     */
    public java.lang.String getWeekDay() {
      java.lang.Object ref = weekDay_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        weekDay_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *星期数(1-7)
     * </pre>
     *
     * <code>string weekDay = 3;</code>
     * @return The bytes for weekDay.
     */
    public com.google.protobuf.ByteString
        getWeekDayBytes() {
      java.lang.Object ref = weekDay_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        weekDay_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *星期数(1-7)
     * </pre>
     *
     * <code>string weekDay = 3;</code>
     * @param value The weekDay to set.
     * @return This builder for chaining.
     */
    public Builder setWeekDay(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      weekDay_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *星期数(1-7)
     * </pre>
     *
     * <code>string weekDay = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearWeekDay() {
      
      weekDay_ = getDefaultInstance().getWeekDay();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *星期数(1-7)
     * </pre>
     *
     * <code>string weekDay = 3;</code>
     * @param value The bytes for weekDay to set.
     * @return This builder for chaining.
     */
    public Builder setWeekDayBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      weekDay_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object sessionCode_ = "";
    /**
     * <pre>
     *排班时段代码
     * </pre>
     *
     * <code>string sessionCode = 4;</code>
     * @return The sessionCode.
     */
    public java.lang.String getSessionCode() {
      java.lang.Object ref = sessionCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        sessionCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *排班时段代码
     * </pre>
     *
     * <code>string sessionCode = 4;</code>
     * @return The bytes for sessionCode.
     */
    public com.google.protobuf.ByteString
        getSessionCodeBytes() {
      java.lang.Object ref = sessionCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        sessionCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *排班时段代码
     * </pre>
     *
     * <code>string sessionCode = 4;</code>
     * @param value The sessionCode to set.
     * @return This builder for chaining.
     */
    public Builder setSessionCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      sessionCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *排班时段代码
     * </pre>
     *
     * <code>string sessionCode = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearSessionCode() {
      
      sessionCode_ = getDefaultInstance().getSessionCode();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *排班时段代码
     * </pre>
     *
     * <code>string sessionCode = 4;</code>
     * @param value The bytes for sessionCode to set.
     * @return This builder for chaining.
     */
    public Builder setSessionCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      sessionCode_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object sessionName_ = "";
    /**
     * <pre>
     *排班时段名称
     * </pre>
     *
     * <code>string sessionName = 5;</code>
     * @return The sessionName.
     */
    public java.lang.String getSessionName() {
      java.lang.Object ref = sessionName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        sessionName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *排班时段名称
     * </pre>
     *
     * <code>string sessionName = 5;</code>
     * @return The bytes for sessionName.
     */
    public com.google.protobuf.ByteString
        getSessionNameBytes() {
      java.lang.Object ref = sessionName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        sessionName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *排班时段名称
     * </pre>
     *
     * <code>string sessionName = 5;</code>
     * @param value The sessionName to set.
     * @return This builder for chaining.
     */
    public Builder setSessionName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      sessionName_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *排班时段名称
     * </pre>
     *
     * <code>string sessionName = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearSessionName() {
      
      sessionName_ = getDefaultInstance().getSessionName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *排班时段名称
     * </pre>
     *
     * <code>string sessionName = 5;</code>
     * @param value The bytes for sessionName to set.
     * @return This builder for chaining.
     */
    public Builder setSessionNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      sessionName_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object startTime_ = "";
    /**
     * <pre>
     *班别开始时间，格式：HH:MI
     * </pre>
     *
     * <code>string startTime = 6;</code>
     * @return The startTime.
     */
    public java.lang.String getStartTime() {
      java.lang.Object ref = startTime_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        startTime_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *班别开始时间，格式：HH:MI
     * </pre>
     *
     * <code>string startTime = 6;</code>
     * @return The bytes for startTime.
     */
    public com.google.protobuf.ByteString
        getStartTimeBytes() {
      java.lang.Object ref = startTime_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        startTime_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *班别开始时间，格式：HH:MI
     * </pre>
     *
     * <code>string startTime = 6;</code>
     * @param value The startTime to set.
     * @return This builder for chaining.
     */
    public Builder setStartTime(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      startTime_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *班别开始时间，格式：HH:MI
     * </pre>
     *
     * <code>string startTime = 6;</code>
     * @return This builder for chaining.
     */
    public Builder clearStartTime() {
      
      startTime_ = getDefaultInstance().getStartTime();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *班别开始时间，格式：HH:MI
     * </pre>
     *
     * <code>string startTime = 6;</code>
     * @param value The bytes for startTime to set.
     * @return This builder for chaining.
     */
    public Builder setStartTimeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      startTime_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object endTime_ = "";
    /**
     * <pre>
     *班别结束时间，格式：HH:MI
     * </pre>
     *
     * <code>string endTime = 7;</code>
     * @return The endTime.
     */
    public java.lang.String getEndTime() {
      java.lang.Object ref = endTime_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        endTime_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *班别结束时间，格式：HH:MI
     * </pre>
     *
     * <code>string endTime = 7;</code>
     * @return The bytes for endTime.
     */
    public com.google.protobuf.ByteString
        getEndTimeBytes() {
      java.lang.Object ref = endTime_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        endTime_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *班别结束时间，格式：HH:MI
     * </pre>
     *
     * <code>string endTime = 7;</code>
     * @param value The endTime to set.
     * @return This builder for chaining.
     */
    public Builder setEndTime(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      endTime_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *班别结束时间，格式：HH:MI
     * </pre>
     *
     * <code>string endTime = 7;</code>
     * @return This builder for chaining.
     */
    public Builder clearEndTime() {
      
      endTime_ = getDefaultInstance().getEndTime();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *班别结束时间，格式：HH:MI
     * </pre>
     *
     * <code>string endTime = 7;</code>
     * @param value The bytes for endTime to set.
     * @return This builder for chaining.
     */
    public Builder setEndTimeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      endTime_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object availableTotalNum_ = "";
    /**
     * <pre>
     *该时段可预约的总号源数
     * </pre>
     *
     * <code>string availableTotalNum = 8;</code>
     * @return The availableTotalNum.
     */
    public java.lang.String getAvailableTotalNum() {
      java.lang.Object ref = availableTotalNum_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        availableTotalNum_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *该时段可预约的总号源数
     * </pre>
     *
     * <code>string availableTotalNum = 8;</code>
     * @return The bytes for availableTotalNum.
     */
    public com.google.protobuf.ByteString
        getAvailableTotalNumBytes() {
      java.lang.Object ref = availableTotalNum_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        availableTotalNum_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *该时段可预约的总号源数
     * </pre>
     *
     * <code>string availableTotalNum = 8;</code>
     * @param value The availableTotalNum to set.
     * @return This builder for chaining.
     */
    public Builder setAvailableTotalNum(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      availableTotalNum_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *该时段可预约的总号源数
     * </pre>
     *
     * <code>string availableTotalNum = 8;</code>
     * @return This builder for chaining.
     */
    public Builder clearAvailableTotalNum() {
      
      availableTotalNum_ = getDefaultInstance().getAvailableTotalNum();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *该时段可预约的总号源数
     * </pre>
     *
     * <code>string availableTotalNum = 8;</code>
     * @param value The bytes for availableTotalNum to set.
     * @return This builder for chaining.
     */
    public Builder setAvailableTotalNumBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      availableTotalNum_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object availableLeftNum_ = "";
    /**
     * <pre>
     *该时段剩余号源数
     * </pre>
     *
     * <code>string availableLeftNum = 9;</code>
     * @return The availableLeftNum.
     */
    public java.lang.String getAvailableLeftNum() {
      java.lang.Object ref = availableLeftNum_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        availableLeftNum_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *该时段剩余号源数
     * </pre>
     *
     * <code>string availableLeftNum = 9;</code>
     * @return The bytes for availableLeftNum.
     */
    public com.google.protobuf.ByteString
        getAvailableLeftNumBytes() {
      java.lang.Object ref = availableLeftNum_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        availableLeftNum_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *该时段剩余号源数
     * </pre>
     *
     * <code>string availableLeftNum = 9;</code>
     * @param value The availableLeftNum to set.
     * @return This builder for chaining.
     */
    public Builder setAvailableLeftNum(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      availableLeftNum_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *该时段剩余号源数
     * </pre>
     *
     * <code>string availableLeftNum = 9;</code>
     * @return This builder for chaining.
     */
    public Builder clearAvailableLeftNum() {
      
      availableLeftNum_ = getDefaultInstance().getAvailableLeftNum();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *该时段剩余号源数
     * </pre>
     *
     * <code>string availableLeftNum = 9;</code>
     * @param value The bytes for availableLeftNum to set.
     * @return This builder for chaining.
     */
    public Builder setAvailableLeftNumBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      availableLeftNum_ = value;
      onChanged();
      return this;
    }

    private java.util.List<com.ywt.gapi.nfyy.TimeInfo> timeInfos_ =
      java.util.Collections.emptyList();
    private void ensureTimeInfosIsMutable() {
      if (!((bitField0_ & 0x00000001) != 0)) {
        timeInfos_ = new java.util.ArrayList<com.ywt.gapi.nfyy.TimeInfo>(timeInfos_);
        bitField0_ |= 0x00000001;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.ywt.gapi.nfyy.TimeInfo, com.ywt.gapi.nfyy.TimeInfo.Builder, com.ywt.gapi.nfyy.TimeInfoOrBuilder> timeInfosBuilder_;

    /**
     * <pre>
     *分时信息
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.nfyy.TimeInfo timeInfos = 10;</code>
     */
    public java.util.List<com.ywt.gapi.nfyy.TimeInfo> getTimeInfosList() {
      if (timeInfosBuilder_ == null) {
        return java.util.Collections.unmodifiableList(timeInfos_);
      } else {
        return timeInfosBuilder_.getMessageList();
      }
    }
    /**
     * <pre>
     *分时信息
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.nfyy.TimeInfo timeInfos = 10;</code>
     */
    public int getTimeInfosCount() {
      if (timeInfosBuilder_ == null) {
        return timeInfos_.size();
      } else {
        return timeInfosBuilder_.getCount();
      }
    }
    /**
     * <pre>
     *分时信息
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.nfyy.TimeInfo timeInfos = 10;</code>
     */
    public com.ywt.gapi.nfyy.TimeInfo getTimeInfos(int index) {
      if (timeInfosBuilder_ == null) {
        return timeInfos_.get(index);
      } else {
        return timeInfosBuilder_.getMessage(index);
      }
    }
    /**
     * <pre>
     *分时信息
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.nfyy.TimeInfo timeInfos = 10;</code>
     */
    public Builder setTimeInfos(
        int index, com.ywt.gapi.nfyy.TimeInfo value) {
      if (timeInfosBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureTimeInfosIsMutable();
        timeInfos_.set(index, value);
        onChanged();
      } else {
        timeInfosBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * <pre>
     *分时信息
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.nfyy.TimeInfo timeInfos = 10;</code>
     */
    public Builder setTimeInfos(
        int index, com.ywt.gapi.nfyy.TimeInfo.Builder builderForValue) {
      if (timeInfosBuilder_ == null) {
        ensureTimeInfosIsMutable();
        timeInfos_.set(index, builderForValue.build());
        onChanged();
      } else {
        timeInfosBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <pre>
     *分时信息
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.nfyy.TimeInfo timeInfos = 10;</code>
     */
    public Builder addTimeInfos(com.ywt.gapi.nfyy.TimeInfo value) {
      if (timeInfosBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureTimeInfosIsMutable();
        timeInfos_.add(value);
        onChanged();
      } else {
        timeInfosBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * <pre>
     *分时信息
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.nfyy.TimeInfo timeInfos = 10;</code>
     */
    public Builder addTimeInfos(
        int index, com.ywt.gapi.nfyy.TimeInfo value) {
      if (timeInfosBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureTimeInfosIsMutable();
        timeInfos_.add(index, value);
        onChanged();
      } else {
        timeInfosBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * <pre>
     *分时信息
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.nfyy.TimeInfo timeInfos = 10;</code>
     */
    public Builder addTimeInfos(
        com.ywt.gapi.nfyy.TimeInfo.Builder builderForValue) {
      if (timeInfosBuilder_ == null) {
        ensureTimeInfosIsMutable();
        timeInfos_.add(builderForValue.build());
        onChanged();
      } else {
        timeInfosBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * <pre>
     *分时信息
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.nfyy.TimeInfo timeInfos = 10;</code>
     */
    public Builder addTimeInfos(
        int index, com.ywt.gapi.nfyy.TimeInfo.Builder builderForValue) {
      if (timeInfosBuilder_ == null) {
        ensureTimeInfosIsMutable();
        timeInfos_.add(index, builderForValue.build());
        onChanged();
      } else {
        timeInfosBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <pre>
     *分时信息
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.nfyy.TimeInfo timeInfos = 10;</code>
     */
    public Builder addAllTimeInfos(
        java.lang.Iterable<? extends com.ywt.gapi.nfyy.TimeInfo> values) {
      if (timeInfosBuilder_ == null) {
        ensureTimeInfosIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, timeInfos_);
        onChanged();
      } else {
        timeInfosBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * <pre>
     *分时信息
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.nfyy.TimeInfo timeInfos = 10;</code>
     */
    public Builder clearTimeInfos() {
      if (timeInfosBuilder_ == null) {
        timeInfos_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
      } else {
        timeInfosBuilder_.clear();
      }
      return this;
    }
    /**
     * <pre>
     *分时信息
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.nfyy.TimeInfo timeInfos = 10;</code>
     */
    public Builder removeTimeInfos(int index) {
      if (timeInfosBuilder_ == null) {
        ensureTimeInfosIsMutable();
        timeInfos_.remove(index);
        onChanged();
      } else {
        timeInfosBuilder_.remove(index);
      }
      return this;
    }
    /**
     * <pre>
     *分时信息
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.nfyy.TimeInfo timeInfos = 10;</code>
     */
    public com.ywt.gapi.nfyy.TimeInfo.Builder getTimeInfosBuilder(
        int index) {
      return getTimeInfosFieldBuilder().getBuilder(index);
    }
    /**
     * <pre>
     *分时信息
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.nfyy.TimeInfo timeInfos = 10;</code>
     */
    public com.ywt.gapi.nfyy.TimeInfoOrBuilder getTimeInfosOrBuilder(
        int index) {
      if (timeInfosBuilder_ == null) {
        return timeInfos_.get(index);  } else {
        return timeInfosBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * <pre>
     *分时信息
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.nfyy.TimeInfo timeInfos = 10;</code>
     */
    public java.util.List<? extends com.ywt.gapi.nfyy.TimeInfoOrBuilder> 
         getTimeInfosOrBuilderList() {
      if (timeInfosBuilder_ != null) {
        return timeInfosBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(timeInfos_);
      }
    }
    /**
     * <pre>
     *分时信息
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.nfyy.TimeInfo timeInfos = 10;</code>
     */
    public com.ywt.gapi.nfyy.TimeInfo.Builder addTimeInfosBuilder() {
      return getTimeInfosFieldBuilder().addBuilder(
          com.ywt.gapi.nfyy.TimeInfo.getDefaultInstance());
    }
    /**
     * <pre>
     *分时信息
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.nfyy.TimeInfo timeInfos = 10;</code>
     */
    public com.ywt.gapi.nfyy.TimeInfo.Builder addTimeInfosBuilder(
        int index) {
      return getTimeInfosFieldBuilder().addBuilder(
          index, com.ywt.gapi.nfyy.TimeInfo.getDefaultInstance());
    }
    /**
     * <pre>
     *分时信息
     * </pre>
     *
     * <code>repeated .com.ywt.gapi.nfyy.TimeInfo timeInfos = 10;</code>
     */
    public java.util.List<com.ywt.gapi.nfyy.TimeInfo.Builder> 
         getTimeInfosBuilderList() {
      return getTimeInfosFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.ywt.gapi.nfyy.TimeInfo, com.ywt.gapi.nfyy.TimeInfo.Builder, com.ywt.gapi.nfyy.TimeInfoOrBuilder> 
        getTimeInfosFieldBuilder() {
      if (timeInfosBuilder_ == null) {
        timeInfosBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            com.ywt.gapi.nfyy.TimeInfo, com.ywt.gapi.nfyy.TimeInfo.Builder, com.ywt.gapi.nfyy.TimeInfoOrBuilder>(
                timeInfos_,
                ((bitField0_ & 0x00000001) != 0),
                getParentForChildren(),
                isClean());
        timeInfos_ = null;
      }
      return timeInfosBuilder_;
    }
    @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.ScheduleTimeInfo)
  }

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

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

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

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

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

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

}

