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

package com.ywt.gapi.nfyy;

/**
 * Protobuf type {@code com.ywt.gapi.nfyy.GetScheduleListRequest}
 */
public final class GetScheduleListRequest extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.nfyy.GetScheduleListRequest)
    GetScheduleListRequestOrBuilder {
private static final long serialVersionUID = 0L;
  // Use GetScheduleListRequest.newBuilder() to construct.
  private GetScheduleListRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private GetScheduleListRequest() {
    departmentCode_ = "";
    startDate_ = "";
    endDate_ = "";
    doctorCode_ = "";
    rBASSessionCode_ = "";
  }

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

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

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

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

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

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

            rBASSessionCode_ = s;
            break;
          }
          case 48: {

            type_ = input.readInt32();
            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_GetScheduleListRequest_descriptor;
  }

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

  public static final int DEPARTMENTCODE_FIELD_NUMBER = 1;
  private volatile java.lang.Object departmentCode_;
  /**
   * <pre>
   *科室代码
   * </pre>
   *
   * <code>string departmentCode = 1;</code>
   * @return The departmentCode.
   */
  @java.lang.Override
  public java.lang.String getDepartmentCode() {
    java.lang.Object ref = departmentCode_;
    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();
      departmentCode_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *科室代码
   * </pre>
   *
   * <code>string departmentCode = 1;</code>
   * @return The bytes for departmentCode.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDepartmentCodeBytes() {
    java.lang.Object ref = departmentCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      departmentCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int STARTDATE_FIELD_NUMBER = 2;
  private volatile java.lang.Object startDate_;
  /**
   * <pre>
   *开始日期(YYYY-MM-DD)
   * </pre>
   *
   * <code>string startDate = 2;</code>
   * @return The startDate.
   */
  @java.lang.Override
  public java.lang.String getStartDate() {
    java.lang.Object ref = startDate_;
    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();
      startDate_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *开始日期(YYYY-MM-DD)
   * </pre>
   *
   * <code>string startDate = 2;</code>
   * @return The bytes for startDate.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getStartDateBytes() {
    java.lang.Object ref = startDate_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      startDate_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ENDDATE_FIELD_NUMBER = 3;
  private volatile java.lang.Object endDate_;
  /**
   * <pre>
   *结束日期(YYYY-MM-DD)不允许查询多天的排版，请保持与开始日期一致
   * </pre>
   *
   * <code>string endDate = 3;</code>
   * @return The endDate.
   */
  @java.lang.Override
  public java.lang.String getEndDate() {
    java.lang.Object ref = endDate_;
    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();
      endDate_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *结束日期(YYYY-MM-DD)不允许查询多天的排版，请保持与开始日期一致
   * </pre>
   *
   * <code>string endDate = 3;</code>
   * @return The bytes for endDate.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getEndDateBytes() {
    java.lang.Object ref = endDate_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      endDate_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DOCTORCODE_FIELD_NUMBER = 4;
  private volatile java.lang.Object doctorCode_;
  /**
   * <pre>
   *医生代码
   * </pre>
   *
   * <code>string doctorCode = 4;</code>
   * @return The doctorCode.
   */
  @java.lang.Override
  public java.lang.String getDoctorCode() {
    java.lang.Object ref = doctorCode_;
    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();
      doctorCode_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *医生代码
   * </pre>
   *
   * <code>string doctorCode = 4;</code>
   * @return The bytes for doctorCode.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDoctorCodeBytes() {
    java.lang.Object ref = doctorCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      doctorCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int RBASSESSIONCODE_FIELD_NUMBER = 5;
  private volatile java.lang.Object rBASSessionCode_;
  /**
   * <pre>
   *出诊时段代码 S：上午 X：下午 W：晚上
   * </pre>
   *
   * <code>string RBASSessionCode = 5;</code>
   * @return The rBASSessionCode.
   */
  @java.lang.Override
  public java.lang.String getRBASSessionCode() {
    java.lang.Object ref = rBASSessionCode_;
    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();
      rBASSessionCode_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *出诊时段代码 S：上午 X：下午 W：晚上
   * </pre>
   *
   * <code>string RBASSessionCode = 5;</code>
   * @return The bytes for rBASSessionCode.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getRBASSessionCodeBytes() {
    java.lang.Object ref = rBASSessionCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      rBASSessionCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int TYPE_FIELD_NUMBER = 6;
  private int type_;
  /**
   * <code>int32 type = 6;</code>
   * @return The type.
   */
  @java.lang.Override
  public int getType() {
    return type_;
  }

  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(departmentCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, departmentCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(startDate_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, startDate_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endDate_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, endDate_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctorCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, doctorCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rBASSessionCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, rBASSessionCode_);
    }
    if (type_ != 0) {
      output.writeInt32(6, type_);
    }
    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(departmentCode_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, departmentCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(startDate_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, startDate_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endDate_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, endDate_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(doctorCode_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, doctorCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rBASSessionCode_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, rBASSessionCode_);
    }
    if (type_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(6, type_);
    }
    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.GetScheduleListRequest)) {
      return super.equals(obj);
    }
    com.ywt.gapi.nfyy.GetScheduleListRequest other = (com.ywt.gapi.nfyy.GetScheduleListRequest) obj;

    if (!getDepartmentCode()
        .equals(other.getDepartmentCode())) return false;
    if (!getStartDate()
        .equals(other.getStartDate())) return false;
    if (!getEndDate()
        .equals(other.getEndDate())) return false;
    if (!getDoctorCode()
        .equals(other.getDoctorCode())) return false;
    if (!getRBASSessionCode()
        .equals(other.getRBASSessionCode())) return false;
    if (getType()
        != other.getType()) 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) + DEPARTMENTCODE_FIELD_NUMBER;
    hash = (53 * hash) + getDepartmentCode().hashCode();
    hash = (37 * hash) + STARTDATE_FIELD_NUMBER;
    hash = (53 * hash) + getStartDate().hashCode();
    hash = (37 * hash) + ENDDATE_FIELD_NUMBER;
    hash = (53 * hash) + getEndDate().hashCode();
    hash = (37 * hash) + DOCTORCODE_FIELD_NUMBER;
    hash = (53 * hash) + getDoctorCode().hashCode();
    hash = (37 * hash) + RBASSESSIONCODE_FIELD_NUMBER;
    hash = (53 * hash) + getRBASSessionCode().hashCode();
    hash = (37 * hash) + TYPE_FIELD_NUMBER;
    hash = (53 * hash) + getType();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

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

      startDate_ = "";

      endDate_ = "";

      doctorCode_ = "";

      rBASSessionCode_ = "";

      type_ = 0;

      return this;
    }

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

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

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

    @java.lang.Override
    public com.ywt.gapi.nfyy.GetScheduleListRequest buildPartial() {
      com.ywt.gapi.nfyy.GetScheduleListRequest result = new com.ywt.gapi.nfyy.GetScheduleListRequest(this);
      result.departmentCode_ = departmentCode_;
      result.startDate_ = startDate_;
      result.endDate_ = endDate_;
      result.doctorCode_ = doctorCode_;
      result.rBASSessionCode_ = rBASSessionCode_;
      result.type_ = type_;
      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.GetScheduleListRequest) {
        return mergeFrom((com.ywt.gapi.nfyy.GetScheduleListRequest)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.ywt.gapi.nfyy.GetScheduleListRequest other) {
      if (other == com.ywt.gapi.nfyy.GetScheduleListRequest.getDefaultInstance()) return this;
      if (!other.getDepartmentCode().isEmpty()) {
        departmentCode_ = other.departmentCode_;
        onChanged();
      }
      if (!other.getStartDate().isEmpty()) {
        startDate_ = other.startDate_;
        onChanged();
      }
      if (!other.getEndDate().isEmpty()) {
        endDate_ = other.endDate_;
        onChanged();
      }
      if (!other.getDoctorCode().isEmpty()) {
        doctorCode_ = other.doctorCode_;
        onChanged();
      }
      if (!other.getRBASSessionCode().isEmpty()) {
        rBASSessionCode_ = other.rBASSessionCode_;
        onChanged();
      }
      if (other.getType() != 0) {
        setType(other.getType());
      }
      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.GetScheduleListRequest parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.ywt.gapi.nfyy.GetScheduleListRequest) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private java.lang.Object departmentCode_ = "";
    /**
     * <pre>
     *科室代码
     * </pre>
     *
     * <code>string departmentCode = 1;</code>
     * @return The departmentCode.
     */
    public java.lang.String getDepartmentCode() {
      java.lang.Object ref = departmentCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        departmentCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *科室代码
     * </pre>
     *
     * <code>string departmentCode = 1;</code>
     * @return The bytes for departmentCode.
     */
    public com.google.protobuf.ByteString
        getDepartmentCodeBytes() {
      java.lang.Object ref = departmentCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        departmentCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *科室代码
     * </pre>
     *
     * <code>string departmentCode = 1;</code>
     * @param value The departmentCode to set.
     * @return This builder for chaining.
     */
    public Builder setDepartmentCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      departmentCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *科室代码
     * </pre>
     *
     * <code>string departmentCode = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearDepartmentCode() {
      
      departmentCode_ = getDefaultInstance().getDepartmentCode();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *科室代码
     * </pre>
     *
     * <code>string departmentCode = 1;</code>
     * @param value The bytes for departmentCode to set.
     * @return This builder for chaining.
     */
    public Builder setDepartmentCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      departmentCode_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object startDate_ = "";
    /**
     * <pre>
     *开始日期(YYYY-MM-DD)
     * </pre>
     *
     * <code>string startDate = 2;</code>
     * @return The startDate.
     */
    public java.lang.String getStartDate() {
      java.lang.Object ref = startDate_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        startDate_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *开始日期(YYYY-MM-DD)
     * </pre>
     *
     * <code>string startDate = 2;</code>
     * @return The bytes for startDate.
     */
    public com.google.protobuf.ByteString
        getStartDateBytes() {
      java.lang.Object ref = startDate_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        startDate_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *开始日期(YYYY-MM-DD)
     * </pre>
     *
     * <code>string startDate = 2;</code>
     * @param value The startDate to set.
     * @return This builder for chaining.
     */
    public Builder setStartDate(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      startDate_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *开始日期(YYYY-MM-DD)
     * </pre>
     *
     * <code>string startDate = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearStartDate() {
      
      startDate_ = getDefaultInstance().getStartDate();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *开始日期(YYYY-MM-DD)
     * </pre>
     *
     * <code>string startDate = 2;</code>
     * @param value The bytes for startDate to set.
     * @return This builder for chaining.
     */
    public Builder setStartDateBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      startDate_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object endDate_ = "";
    /**
     * <pre>
     *结束日期(YYYY-MM-DD)不允许查询多天的排版，请保持与开始日期一致
     * </pre>
     *
     * <code>string endDate = 3;</code>
     * @return The endDate.
     */
    public java.lang.String getEndDate() {
      java.lang.Object ref = endDate_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        endDate_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *结束日期(YYYY-MM-DD)不允许查询多天的排版，请保持与开始日期一致
     * </pre>
     *
     * <code>string endDate = 3;</code>
     * @return The bytes for endDate.
     */
    public com.google.protobuf.ByteString
        getEndDateBytes() {
      java.lang.Object ref = endDate_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        endDate_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *结束日期(YYYY-MM-DD)不允许查询多天的排版，请保持与开始日期一致
     * </pre>
     *
     * <code>string endDate = 3;</code>
     * @param value The endDate to set.
     * @return This builder for chaining.
     */
    public Builder setEndDate(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      endDate_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *结束日期(YYYY-MM-DD)不允许查询多天的排版，请保持与开始日期一致
     * </pre>
     *
     * <code>string endDate = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearEndDate() {
      
      endDate_ = getDefaultInstance().getEndDate();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *结束日期(YYYY-MM-DD)不允许查询多天的排版，请保持与开始日期一致
     * </pre>
     *
     * <code>string endDate = 3;</code>
     * @param value The bytes for endDate to set.
     * @return This builder for chaining.
     */
    public Builder setEndDateBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      endDate_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object doctorCode_ = "";
    /**
     * <pre>
     *医生代码
     * </pre>
     *
     * <code>string doctorCode = 4;</code>
     * @return The doctorCode.
     */
    public java.lang.String getDoctorCode() {
      java.lang.Object ref = doctorCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        doctorCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *医生代码
     * </pre>
     *
     * <code>string doctorCode = 4;</code>
     * @return The bytes for doctorCode.
     */
    public com.google.protobuf.ByteString
        getDoctorCodeBytes() {
      java.lang.Object ref = doctorCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        doctorCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *医生代码
     * </pre>
     *
     * <code>string doctorCode = 4;</code>
     * @param value The doctorCode to set.
     * @return This builder for chaining.
     */
    public Builder setDoctorCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      doctorCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医生代码
     * </pre>
     *
     * <code>string doctorCode = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearDoctorCode() {
      
      doctorCode_ = getDefaultInstance().getDoctorCode();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医生代码
     * </pre>
     *
     * <code>string doctorCode = 4;</code>
     * @param value The bytes for doctorCode to set.
     * @return This builder for chaining.
     */
    public Builder setDoctorCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      doctorCode_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object rBASSessionCode_ = "";
    /**
     * <pre>
     *出诊时段代码 S：上午 X：下午 W：晚上
     * </pre>
     *
     * <code>string RBASSessionCode = 5;</code>
     * @return The rBASSessionCode.
     */
    public java.lang.String getRBASSessionCode() {
      java.lang.Object ref = rBASSessionCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        rBASSessionCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *出诊时段代码 S：上午 X：下午 W：晚上
     * </pre>
     *
     * <code>string RBASSessionCode = 5;</code>
     * @return The bytes for rBASSessionCode.
     */
    public com.google.protobuf.ByteString
        getRBASSessionCodeBytes() {
      java.lang.Object ref = rBASSessionCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        rBASSessionCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *出诊时段代码 S：上午 X：下午 W：晚上
     * </pre>
     *
     * <code>string RBASSessionCode = 5;</code>
     * @param value The rBASSessionCode to set.
     * @return This builder for chaining.
     */
    public Builder setRBASSessionCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      rBASSessionCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *出诊时段代码 S：上午 X：下午 W：晚上
     * </pre>
     *
     * <code>string RBASSessionCode = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearRBASSessionCode() {
      
      rBASSessionCode_ = getDefaultInstance().getRBASSessionCode();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *出诊时段代码 S：上午 X：下午 W：晚上
     * </pre>
     *
     * <code>string RBASSessionCode = 5;</code>
     * @param value The bytes for rBASSessionCode to set.
     * @return This builder for chaining.
     */
    public Builder setRBASSessionCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      rBASSessionCode_ = value;
      onChanged();
      return this;
    }

    private int type_ ;
    /**
     * <code>int32 type = 6;</code>
     * @return The type.
     */
    @java.lang.Override
    public int getType() {
      return type_;
    }
    /**
     * <code>int32 type = 6;</code>
     * @param value The type to set.
     * @return This builder for chaining.
     */
    public Builder setType(int value) {
      
      type_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 type = 6;</code>
     * @return This builder for chaining.
     */
    public Builder clearType() {
      
      type_ = 0;
      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.GetScheduleListRequest)
  }

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

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

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

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

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

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

}

