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

package com.caliverse.admin.domain.RabbitMq.message;

/**
 * Protobuf type {@code ElevatorFloorInfo}
 */
public final class ElevatorFloorInfo extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:ElevatorFloorInfo)
    ElevatorFloorInfoOrBuilder {
private static final long serialVersionUID = 0L;
  // Use ElevatorFloorInfo.newBuilder() to construct.
  private ElevatorFloorInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private ElevatorFloorInfo() {
    ownerName_ = "";
    instanceName_ = "";
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ElevatorFloorInfo_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ElevatorFloorInfo_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo.class, com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo.Builder.class);
  }

  public static final int FLOOR_FIELD_NUMBER = 1;
  private int floor_ = 0;
  /**
   * <code>int32 floor = 1;</code>
   * @return The floor.
   */
  @java.lang.Override
  public int getFloor() {
    return floor_;
  }

  public static final int INSTANCEID_FIELD_NUMBER = 2;
  private int instanceId_ = 0;
  /**
   * <code>int32 instanceId = 2;</code>
   * @return The instanceId.
   */
  @java.lang.Override
  public int getInstanceId() {
    return instanceId_;
  }

  public static final int CURRENTUSER_FIELD_NUMBER = 3;
  private int currentUser_ = 0;
  /**
   * <code>int32 currentUser = 3;</code>
   * @return The currentUser.
   */
  @java.lang.Override
  public int getCurrentUser() {
    return currentUser_;
  }

  public static final int OWNERNAME_FIELD_NUMBER = 4;
  @SuppressWarnings("serial")
  private volatile java.lang.Object ownerName_ = "";
  /**
   * <code>string ownerName = 4;</code>
   * @return The ownerName.
   */
  @java.lang.Override
  public java.lang.String getOwnerName() {
    java.lang.Object ref = ownerName_;
    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();
      ownerName_ = s;
      return s;
    }
  }
  /**
   * <code>string ownerName = 4;</code>
   * @return The bytes for ownerName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getOwnerNameBytes() {
    java.lang.Object ref = ownerName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      ownerName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int INSTANCENAME_FIELD_NUMBER = 5;
  @SuppressWarnings("serial")
  private volatile java.lang.Object instanceName_ = "";
  /**
   * <code>string instanceName = 5;</code>
   * @return The instanceName.
   */
  @java.lang.Override
  public java.lang.String getInstanceName() {
    java.lang.Object ref = instanceName_;
    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();
      instanceName_ = s;
      return s;
    }
  }
  /**
   * <code>string instanceName = 5;</code>
   * @return The bytes for instanceName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getInstanceNameBytes() {
    java.lang.Object ref = instanceName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      instanceName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int THUMBNAILIMAGEID_FIELD_NUMBER = 6;
  private int thumbnailImageId_ = 0;
  /**
   * <code>int32 thumbnailImageId = 6;</code>
   * @return The thumbnailImageId.
   */
  @java.lang.Override
  public int getThumbnailImageId() {
    return thumbnailImageId_;
  }

  public static final int LISTIMAGEID_FIELD_NUMBER = 7;
  private int listImageId_ = 0;
  /**
   * <code>int32 listImageId = 7;</code>
   * @return The listImageId.
   */
  @java.lang.Override
  public int getListImageId() {
    return listImageId_;
  }

  public static final int ENTERPLAYERCOUNT_FIELD_NUMBER = 8;
  private int enterPlayerCount_ = 0;
  /**
   * <code>int32 enterPlayerCount = 8;</code>
   * @return The enterPlayerCount.
   */
  @java.lang.Override
  public int getEnterPlayerCount() {
    return enterPlayerCount_;
  }

  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 (floor_ != 0) {
      output.writeInt32(1, floor_);
    }
    if (instanceId_ != 0) {
      output.writeInt32(2, instanceId_);
    }
    if (currentUser_ != 0) {
      output.writeInt32(3, currentUser_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, ownerName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, instanceName_);
    }
    if (thumbnailImageId_ != 0) {
      output.writeInt32(6, thumbnailImageId_);
    }
    if (listImageId_ != 0) {
      output.writeInt32(7, listImageId_);
    }
    if (enterPlayerCount_ != 0) {
      output.writeInt32(8, enterPlayerCount_);
    }
    getUnknownFields().writeTo(output);
  }

  @java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    if (floor_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(1, floor_);
    }
    if (instanceId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(2, instanceId_);
    }
    if (currentUser_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(3, currentUser_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, ownerName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, instanceName_);
    }
    if (thumbnailImageId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(6, thumbnailImageId_);
    }
    if (listImageId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(7, listImageId_);
    }
    if (enterPlayerCount_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(8, enterPlayerCount_);
    }
    size += getUnknownFields().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.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo)) {
      return super.equals(obj);
    }
    com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo other = (com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo) obj;

    if (getFloor()
        != other.getFloor()) return false;
    if (getInstanceId()
        != other.getInstanceId()) return false;
    if (getCurrentUser()
        != other.getCurrentUser()) return false;
    if (!getOwnerName()
        .equals(other.getOwnerName())) return false;
    if (!getInstanceName()
        .equals(other.getInstanceName())) return false;
    if (getThumbnailImageId()
        != other.getThumbnailImageId()) return false;
    if (getListImageId()
        != other.getListImageId()) return false;
    if (getEnterPlayerCount()
        != other.getEnterPlayerCount()) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) 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) + FLOOR_FIELD_NUMBER;
    hash = (53 * hash) + getFloor();
    hash = (37 * hash) + INSTANCEID_FIELD_NUMBER;
    hash = (53 * hash) + getInstanceId();
    hash = (37 * hash) + CURRENTUSER_FIELD_NUMBER;
    hash = (53 * hash) + getCurrentUser();
    hash = (37 * hash) + OWNERNAME_FIELD_NUMBER;
    hash = (53 * hash) + getOwnerName().hashCode();
    hash = (37 * hash) + INSTANCENAME_FIELD_NUMBER;
    hash = (53 * hash) + getInstanceName().hashCode();
    hash = (37 * hash) + THUMBNAILIMAGEID_FIELD_NUMBER;
    hash = (53 * hash) + getThumbnailImageId();
    hash = (37 * hash) + LISTIMAGEID_FIELD_NUMBER;
    hash = (53 * hash) + getListImageId();
    hash = (37 * hash) + ENTERPLAYERCOUNT_FIELD_NUMBER;
    hash = (53 * hash) + getEnterPlayerCount();
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo 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.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo 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.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo 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.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo 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 ElevatorFloorInfo}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:ElevatorFloorInfo)
      com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfoOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ElevatorFloorInfo_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ElevatorFloorInfo_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo.class, com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo.Builder.class);
    }

    // Construct using com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo.newBuilder()
    private Builder() {

    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);

    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      floor_ = 0;
      instanceId_ = 0;
      currentUser_ = 0;
      ownerName_ = "";
      instanceName_ = "";
      thumbnailImageId_ = 0;
      listImageId_ = 0;
      enterPlayerCount_ = 0;
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_ElevatorFloorInfo_descriptor;
    }

    @java.lang.Override
    public com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo getDefaultInstanceForType() {
      return com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo.getDefaultInstance();
    }

    @java.lang.Override
    public com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo build() {
      com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo buildPartial() {
      com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo result = new com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo(this);
      if (bitField0_ != 0) { buildPartial0(result); }
      onBuilt();
      return result;
    }

    private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.floor_ = floor_;
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.instanceId_ = instanceId_;
      }
      if (((from_bitField0_ & 0x00000004) != 0)) {
        result.currentUser_ = currentUser_;
      }
      if (((from_bitField0_ & 0x00000008) != 0)) {
        result.ownerName_ = ownerName_;
      }
      if (((from_bitField0_ & 0x00000010) != 0)) {
        result.instanceName_ = instanceName_;
      }
      if (((from_bitField0_ & 0x00000020) != 0)) {
        result.thumbnailImageId_ = thumbnailImageId_;
      }
      if (((from_bitField0_ & 0x00000040) != 0)) {
        result.listImageId_ = listImageId_;
      }
      if (((from_bitField0_ & 0x00000080) != 0)) {
        result.enterPlayerCount_ = enterPlayerCount_;
      }
    }

    @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.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo) {
        return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo other) {
      if (other == com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo.getDefaultInstance()) return this;
      if (other.getFloor() != 0) {
        setFloor(other.getFloor());
      }
      if (other.getInstanceId() != 0) {
        setInstanceId(other.getInstanceId());
      }
      if (other.getCurrentUser() != 0) {
        setCurrentUser(other.getCurrentUser());
      }
      if (!other.getOwnerName().isEmpty()) {
        ownerName_ = other.ownerName_;
        bitField0_ |= 0x00000008;
        onChanged();
      }
      if (!other.getInstanceName().isEmpty()) {
        instanceName_ = other.instanceName_;
        bitField0_ |= 0x00000010;
        onChanged();
      }
      if (other.getThumbnailImageId() != 0) {
        setThumbnailImageId(other.getThumbnailImageId());
      }
      if (other.getListImageId() != 0) {
        setListImageId(other.getListImageId());
      }
      if (other.getEnterPlayerCount() != 0) {
        setEnterPlayerCount(other.getEnterPlayerCount());
      }
      this.mergeUnknownFields(other.getUnknownFields());
      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 {
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 8: {
              floor_ = input.readInt32();
              bitField0_ |= 0x00000001;
              break;
            } // case 8
            case 16: {
              instanceId_ = input.readInt32();
              bitField0_ |= 0x00000002;
              break;
            } // case 16
            case 24: {
              currentUser_ = input.readInt32();
              bitField0_ |= 0x00000004;
              break;
            } // case 24
            case 34: {
              ownerName_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000008;
              break;
            } // case 34
            case 42: {
              instanceName_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000010;
              break;
            } // case 42
            case 48: {
              thumbnailImageId_ = input.readInt32();
              bitField0_ |= 0x00000020;
              break;
            } // case 48
            case 56: {
              listImageId_ = input.readInt32();
              bitField0_ |= 0x00000040;
              break;
            } // case 56
            case 64: {
              enterPlayerCount_ = input.readInt32();
              bitField0_ |= 0x00000080;
              break;
            } // case 64
            default: {
              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                done = true; // was an endgroup tag
              }
              break;
            } // default:
          } // switch (tag)
        } // while (!done)
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.unwrapIOException();
      } finally {
        onChanged();
      } // finally
      return this;
    }
    private int bitField0_;

    private int floor_ ;
    /**
     * <code>int32 floor = 1;</code>
     * @return The floor.
     */
    @java.lang.Override
    public int getFloor() {
      return floor_;
    }
    /**
     * <code>int32 floor = 1;</code>
     * @param value The floor to set.
     * @return This builder for chaining.
     */
    public Builder setFloor(int value) {
      
      floor_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     * <code>int32 floor = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearFloor() {
      bitField0_ = (bitField0_ & ~0x00000001);
      floor_ = 0;
      onChanged();
      return this;
    }

    private int instanceId_ ;
    /**
     * <code>int32 instanceId = 2;</code>
     * @return The instanceId.
     */
    @java.lang.Override
    public int getInstanceId() {
      return instanceId_;
    }
    /**
     * <code>int32 instanceId = 2;</code>
     * @param value The instanceId to set.
     * @return This builder for chaining.
     */
    public Builder setInstanceId(int value) {
      
      instanceId_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     * <code>int32 instanceId = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearInstanceId() {
      bitField0_ = (bitField0_ & ~0x00000002);
      instanceId_ = 0;
      onChanged();
      return this;
    }

    private int currentUser_ ;
    /**
     * <code>int32 currentUser = 3;</code>
     * @return The currentUser.
     */
    @java.lang.Override
    public int getCurrentUser() {
      return currentUser_;
    }
    /**
     * <code>int32 currentUser = 3;</code>
     * @param value The currentUser to set.
     * @return This builder for chaining.
     */
    public Builder setCurrentUser(int value) {
      
      currentUser_ = value;
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }
    /**
     * <code>int32 currentUser = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearCurrentUser() {
      bitField0_ = (bitField0_ & ~0x00000004);
      currentUser_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object ownerName_ = "";
    /**
     * <code>string ownerName = 4;</code>
     * @return The ownerName.
     */
    public java.lang.String getOwnerName() {
      java.lang.Object ref = ownerName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        ownerName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string ownerName = 4;</code>
     * @return The bytes for ownerName.
     */
    public com.google.protobuf.ByteString
        getOwnerNameBytes() {
      java.lang.Object ref = ownerName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        ownerName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string ownerName = 4;</code>
     * @param value The ownerName to set.
     * @return This builder for chaining.
     */
    public Builder setOwnerName(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      ownerName_ = value;
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }
    /**
     * <code>string ownerName = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearOwnerName() {
      ownerName_ = getDefaultInstance().getOwnerName();
      bitField0_ = (bitField0_ & ~0x00000008);
      onChanged();
      return this;
    }
    /**
     * <code>string ownerName = 4;</code>
     * @param value The bytes for ownerName to set.
     * @return This builder for chaining.
     */
    public Builder setOwnerNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      ownerName_ = value;
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }

    private java.lang.Object instanceName_ = "";
    /**
     * <code>string instanceName = 5;</code>
     * @return The instanceName.
     */
    public java.lang.String getInstanceName() {
      java.lang.Object ref = instanceName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        instanceName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string instanceName = 5;</code>
     * @return The bytes for instanceName.
     */
    public com.google.protobuf.ByteString
        getInstanceNameBytes() {
      java.lang.Object ref = instanceName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        instanceName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string instanceName = 5;</code>
     * @param value The instanceName to set.
     * @return This builder for chaining.
     */
    public Builder setInstanceName(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      instanceName_ = value;
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }
    /**
     * <code>string instanceName = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearInstanceName() {
      instanceName_ = getDefaultInstance().getInstanceName();
      bitField0_ = (bitField0_ & ~0x00000010);
      onChanged();
      return this;
    }
    /**
     * <code>string instanceName = 5;</code>
     * @param value The bytes for instanceName to set.
     * @return This builder for chaining.
     */
    public Builder setInstanceNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      instanceName_ = value;
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }

    private int thumbnailImageId_ ;
    /**
     * <code>int32 thumbnailImageId = 6;</code>
     * @return The thumbnailImageId.
     */
    @java.lang.Override
    public int getThumbnailImageId() {
      return thumbnailImageId_;
    }
    /**
     * <code>int32 thumbnailImageId = 6;</code>
     * @param value The thumbnailImageId to set.
     * @return This builder for chaining.
     */
    public Builder setThumbnailImageId(int value) {
      
      thumbnailImageId_ = value;
      bitField0_ |= 0x00000020;
      onChanged();
      return this;
    }
    /**
     * <code>int32 thumbnailImageId = 6;</code>
     * @return This builder for chaining.
     */
    public Builder clearThumbnailImageId() {
      bitField0_ = (bitField0_ & ~0x00000020);
      thumbnailImageId_ = 0;
      onChanged();
      return this;
    }

    private int listImageId_ ;
    /**
     * <code>int32 listImageId = 7;</code>
     * @return The listImageId.
     */
    @java.lang.Override
    public int getListImageId() {
      return listImageId_;
    }
    /**
     * <code>int32 listImageId = 7;</code>
     * @param value The listImageId to set.
     * @return This builder for chaining.
     */
    public Builder setListImageId(int value) {
      
      listImageId_ = value;
      bitField0_ |= 0x00000040;
      onChanged();
      return this;
    }
    /**
     * <code>int32 listImageId = 7;</code>
     * @return This builder for chaining.
     */
    public Builder clearListImageId() {
      bitField0_ = (bitField0_ & ~0x00000040);
      listImageId_ = 0;
      onChanged();
      return this;
    }

    private int enterPlayerCount_ ;
    /**
     * <code>int32 enterPlayerCount = 8;</code>
     * @return The enterPlayerCount.
     */
    @java.lang.Override
    public int getEnterPlayerCount() {
      return enterPlayerCount_;
    }
    /**
     * <code>int32 enterPlayerCount = 8;</code>
     * @param value The enterPlayerCount to set.
     * @return This builder for chaining.
     */
    public Builder setEnterPlayerCount(int value) {
      
      enterPlayerCount_ = value;
      bitField0_ |= 0x00000080;
      onChanged();
      return this;
    }
    /**
     * <code>int32 enterPlayerCount = 8;</code>
     * @return This builder for chaining.
     */
    public Builder clearEnterPlayerCount() {
      bitField0_ = (bitField0_ & ~0x00000080);
      enterPlayerCount_ = 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:ElevatorFloorInfo)
  }

  // @@protoc_insertion_point(class_scope:ElevatorFloorInfo)
  private static final com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo();
  }

  public static com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser<ElevatorFloorInfo>
      PARSER = new com.google.protobuf.AbstractParser<ElevatorFloorInfo>() {
    @java.lang.Override
    public ElevatorFloorInfo parsePartialFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      Builder builder = newBuilder();
      try {
        builder.mergeFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(builder.buildPartial());
      } catch (com.google.protobuf.UninitializedMessageException e) {
        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(e)
            .setUnfinishedMessage(builder.buildPartial());
      }
      return builder.buildPartial();
    }
  };

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

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

  @java.lang.Override
  public com.caliverse.admin.domain.RabbitMq.message.ElevatorFloorInfo getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

