// 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.QueueInfo}
 */
public final class QueueInfo extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.nfyy.QueueInfo)
    QueueInfoOrBuilder {
private static final long serialVersionUID = 0L;
  // Use QueueInfo.newBuilder() to construct.
  private QueueInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private QueueInfo() {
    patName_ = "";
    admLoc_ = "";
    admDoc_ = "";
    waitingNumber_ = "";
  }

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

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

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

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

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

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

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

  public static final int PATNAME_FIELD_NUMBER = 1;
  private volatile java.lang.Object patName_;
  /**
   * <pre>
   *病人姓名
   * </pre>
   *
   * <code>string patName = 1;</code>
   * @return The patName.
   */
  @java.lang.Override
  public java.lang.String getPatName() {
    java.lang.Object ref = patName_;
    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();
      patName_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *病人姓名
   * </pre>
   *
   * <code>string patName = 1;</code>
   * @return The bytes for patName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getPatNameBytes() {
    java.lang.Object ref = patName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      patName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ADMLOC_FIELD_NUMBER = 2;
  private volatile java.lang.Object admLoc_;
  /**
   * <pre>
   *就诊科室
   * </pre>
   *
   * <code>string admLoc = 2;</code>
   * @return The admLoc.
   */
  @java.lang.Override
  public java.lang.String getAdmLoc() {
    java.lang.Object ref = admLoc_;
    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();
      admLoc_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *就诊科室
   * </pre>
   *
   * <code>string admLoc = 2;</code>
   * @return The bytes for admLoc.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getAdmLocBytes() {
    java.lang.Object ref = admLoc_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      admLoc_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ADMDOC_FIELD_NUMBER = 3;
  private volatile java.lang.Object admDoc_;
  /**
   * <pre>
   *就诊医生
   * </pre>
   *
   * <code>string admDoc = 3;</code>
   * @return The admDoc.
   */
  @java.lang.Override
  public java.lang.String getAdmDoc() {
    java.lang.Object ref = admDoc_;
    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();
      admDoc_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *就诊医生
   * </pre>
   *
   * <code>string admDoc = 3;</code>
   * @return The bytes for admDoc.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getAdmDocBytes() {
    java.lang.Object ref = admDoc_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      admDoc_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int WAITINGNUMBER_FIELD_NUMBER = 4;
  private volatile java.lang.Object waitingNumber_;
  /**
   * <pre>
   *排队号
   * </pre>
   *
   * <code>string waitingNumber = 4;</code>
   * @return The waitingNumber.
   */
  @java.lang.Override
  public java.lang.String getWaitingNumber() {
    java.lang.Object ref = waitingNumber_;
    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();
      waitingNumber_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *排队号
   * </pre>
   *
   * <code>string waitingNumber = 4;</code>
   * @return The bytes for waitingNumber.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getWaitingNumberBytes() {
    java.lang.Object ref = waitingNumber_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      waitingNumber_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  private byte memoizedIsInitialized = -1;
  @java.lang.Override
  public final boolean isInitialized() {
    byte isInitialized = memoizedIsInitialized;
    if (isInitialized == 1) return true;
    if (isInitialized == 0) return false;

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(patName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, patName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(admLoc_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, admLoc_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(admDoc_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, admDoc_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(waitingNumber_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, waitingNumber_);
    }
    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(patName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, patName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(admLoc_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, admLoc_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(admDoc_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, admDoc_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(waitingNumber_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, waitingNumber_);
    }
    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.QueueInfo)) {
      return super.equals(obj);
    }
    com.ywt.gapi.nfyy.QueueInfo other = (com.ywt.gapi.nfyy.QueueInfo) obj;

    if (!getPatName()
        .equals(other.getPatName())) return false;
    if (!getAdmLoc()
        .equals(other.getAdmLoc())) return false;
    if (!getAdmDoc()
        .equals(other.getAdmDoc())) return false;
    if (!getWaitingNumber()
        .equals(other.getWaitingNumber())) 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) + PATNAME_FIELD_NUMBER;
    hash = (53 * hash) + getPatName().hashCode();
    hash = (37 * hash) + ADMLOC_FIELD_NUMBER;
    hash = (53 * hash) + getAdmLoc().hashCode();
    hash = (37 * hash) + ADMDOC_FIELD_NUMBER;
    hash = (53 * hash) + getAdmDoc().hashCode();
    hash = (37 * hash) + WAITINGNUMBER_FIELD_NUMBER;
    hash = (53 * hash) + getWaitingNumber().hashCode();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

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

      admLoc_ = "";

      admDoc_ = "";

      waitingNumber_ = "";

      return this;
    }

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

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

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

    @java.lang.Override
    public com.ywt.gapi.nfyy.QueueInfo buildPartial() {
      com.ywt.gapi.nfyy.QueueInfo result = new com.ywt.gapi.nfyy.QueueInfo(this);
      result.patName_ = patName_;
      result.admLoc_ = admLoc_;
      result.admDoc_ = admDoc_;
      result.waitingNumber_ = waitingNumber_;
      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.QueueInfo) {
        return mergeFrom((com.ywt.gapi.nfyy.QueueInfo)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.ywt.gapi.nfyy.QueueInfo other) {
      if (other == com.ywt.gapi.nfyy.QueueInfo.getDefaultInstance()) return this;
      if (!other.getPatName().isEmpty()) {
        patName_ = other.patName_;
        onChanged();
      }
      if (!other.getAdmLoc().isEmpty()) {
        admLoc_ = other.admLoc_;
        onChanged();
      }
      if (!other.getAdmDoc().isEmpty()) {
        admDoc_ = other.admDoc_;
        onChanged();
      }
      if (!other.getWaitingNumber().isEmpty()) {
        waitingNumber_ = other.waitingNumber_;
        onChanged();
      }
      this.mergeUnknownFields(other.unknownFields);
      onChanged();
      return this;
    }

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

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

    private java.lang.Object patName_ = "";
    /**
     * <pre>
     *病人姓名
     * </pre>
     *
     * <code>string patName = 1;</code>
     * @return The patName.
     */
    public java.lang.String getPatName() {
      java.lang.Object ref = patName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        patName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *病人姓名
     * </pre>
     *
     * <code>string patName = 1;</code>
     * @return The bytes for patName.
     */
    public com.google.protobuf.ByteString
        getPatNameBytes() {
      java.lang.Object ref = patName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        patName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *病人姓名
     * </pre>
     *
     * <code>string patName = 1;</code>
     * @param value The patName to set.
     * @return This builder for chaining.
     */
    public Builder setPatName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      patName_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *病人姓名
     * </pre>
     *
     * <code>string patName = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearPatName() {
      
      patName_ = getDefaultInstance().getPatName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *病人姓名
     * </pre>
     *
     * <code>string patName = 1;</code>
     * @param value The bytes for patName to set.
     * @return This builder for chaining.
     */
    public Builder setPatNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      patName_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object admLoc_ = "";
    /**
     * <pre>
     *就诊科室
     * </pre>
     *
     * <code>string admLoc = 2;</code>
     * @return The admLoc.
     */
    public java.lang.String getAdmLoc() {
      java.lang.Object ref = admLoc_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        admLoc_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *就诊科室
     * </pre>
     *
     * <code>string admLoc = 2;</code>
     * @return The bytes for admLoc.
     */
    public com.google.protobuf.ByteString
        getAdmLocBytes() {
      java.lang.Object ref = admLoc_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        admLoc_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *就诊科室
     * </pre>
     *
     * <code>string admLoc = 2;</code>
     * @param value The admLoc to set.
     * @return This builder for chaining.
     */
    public Builder setAdmLoc(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      admLoc_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *就诊科室
     * </pre>
     *
     * <code>string admLoc = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearAdmLoc() {
      
      admLoc_ = getDefaultInstance().getAdmLoc();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *就诊科室
     * </pre>
     *
     * <code>string admLoc = 2;</code>
     * @param value The bytes for admLoc to set.
     * @return This builder for chaining.
     */
    public Builder setAdmLocBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      admLoc_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object admDoc_ = "";
    /**
     * <pre>
     *就诊医生
     * </pre>
     *
     * <code>string admDoc = 3;</code>
     * @return The admDoc.
     */
    public java.lang.String getAdmDoc() {
      java.lang.Object ref = admDoc_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        admDoc_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *就诊医生
     * </pre>
     *
     * <code>string admDoc = 3;</code>
     * @return The bytes for admDoc.
     */
    public com.google.protobuf.ByteString
        getAdmDocBytes() {
      java.lang.Object ref = admDoc_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        admDoc_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *就诊医生
     * </pre>
     *
     * <code>string admDoc = 3;</code>
     * @param value The admDoc to set.
     * @return This builder for chaining.
     */
    public Builder setAdmDoc(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      admDoc_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *就诊医生
     * </pre>
     *
     * <code>string admDoc = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearAdmDoc() {
      
      admDoc_ = getDefaultInstance().getAdmDoc();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *就诊医生
     * </pre>
     *
     * <code>string admDoc = 3;</code>
     * @param value The bytes for admDoc to set.
     * @return This builder for chaining.
     */
    public Builder setAdmDocBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      admDoc_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object waitingNumber_ = "";
    /**
     * <pre>
     *排队号
     * </pre>
     *
     * <code>string waitingNumber = 4;</code>
     * @return The waitingNumber.
     */
    public java.lang.String getWaitingNumber() {
      java.lang.Object ref = waitingNumber_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        waitingNumber_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *排队号
     * </pre>
     *
     * <code>string waitingNumber = 4;</code>
     * @return The bytes for waitingNumber.
     */
    public com.google.protobuf.ByteString
        getWaitingNumberBytes() {
      java.lang.Object ref = waitingNumber_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        waitingNumber_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *排队号
     * </pre>
     *
     * <code>string waitingNumber = 4;</code>
     * @param value The waitingNumber to set.
     * @return This builder for chaining.
     */
    public Builder setWaitingNumber(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      waitingNumber_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *排队号
     * </pre>
     *
     * <code>string waitingNumber = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearWaitingNumber() {
      
      waitingNumber_ = getDefaultInstance().getWaitingNumber();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *排队号
     * </pre>
     *
     * <code>string waitingNumber = 4;</code>
     * @param value The bytes for waitingNumber to set.
     * @return This builder for chaining.
     */
    public Builder setWaitingNumberBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      waitingNumber_ = value;
      onChanged();
      return this;
    }
    @java.lang.Override
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

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


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

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

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

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

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

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

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

}

