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

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

/**
 * <pre>
 * EntityType.Beacon 엔티티 : 추후 Beacon 으로 수정 한다. - kangms
 * </pre>
 *
 * Protobuf type {@code UgcNpcEntity}
 */
public final class UgcNpcEntity extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:UgcNpcEntity)
    UgcNpcEntityOrBuilder {
private static final long serialVersionUID = 0L;
  // Use UgcNpcEntity.newBuilder() to construct.
  private UgcNpcEntity(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private UgcNpcEntity() {
    entityInstantGuid_ = "";
  }

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

  @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_UgcNpcEntity_descriptor;
  }

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

  public static final int ENTITYINSTANTGUID_FIELD_NUMBER = 1;
  @SuppressWarnings("serial")
  private volatile java.lang.Object entityInstantGuid_ = "";
  /**
   * <pre>
   * 인스턴스내에 엔티티의 휘발성(Instant) Guid
   * </pre>
   *
   * <code>string entityInstantGuid = 1;</code>
   * @return The entityInstantGuid.
   */
  @java.lang.Override
  public java.lang.String getEntityInstantGuid() {
    java.lang.Object ref = entityInstantGuid_;
    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();
      entityInstantGuid_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 인스턴스내에 엔티티의 휘발성(Instant) Guid
   * </pre>
   *
   * <code>string entityInstantGuid = 1;</code>
   * @return The bytes for entityInstantGuid.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getEntityInstantGuidBytes() {
    java.lang.Object ref = entityInstantGuid_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      entityInstantGuid_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int CURRENTPOS_FIELD_NUMBER = 2;
  private com.caliverse.admin.domain.RabbitMq.message.Pos currentPos_;
  /**
   * <pre>
   * 현재의 위치
   * </pre>
   *
   * <code>.Pos CurrentPos = 2;</code>
   * @return Whether the currentPos field is set.
   */
  @java.lang.Override
  public boolean hasCurrentPos() {
    return currentPos_ != null;
  }
  /**
   * <pre>
   * 현재의 위치
   * </pre>
   *
   * <code>.Pos CurrentPos = 2;</code>
   * @return The currentPos.
   */
  @java.lang.Override
  public com.caliverse.admin.domain.RabbitMq.message.Pos getCurrentPos() {
    return currentPos_ == null ? com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : currentPos_;
  }
  /**
   * <pre>
   * 현재의 위치
   * </pre>
   *
   * <code>.Pos CurrentPos = 2;</code>
   */
  @java.lang.Override
  public com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder getCurrentPosOrBuilder() {
    return currentPos_ == null ? com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : currentPos_;
  }

  public static final int UGCNPCAPPEARANCE_FIELD_NUMBER = 5;
  private com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance ugcNpcAppearance_;
  /**
   * <pre>
   * UgcNpc.Beacon 외형 정보
   * </pre>
   *
   * <code>.UgcNpcAppearance ugcNpcAppearance = 5;</code>
   * @return Whether the ugcNpcAppearance field is set.
   */
  @java.lang.Override
  public boolean hasUgcNpcAppearance() {
    return ugcNpcAppearance_ != null;
  }
  /**
   * <pre>
   * UgcNpc.Beacon 외형 정보
   * </pre>
   *
   * <code>.UgcNpcAppearance ugcNpcAppearance = 5;</code>
   * @return The ugcNpcAppearance.
   */
  @java.lang.Override
  public com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance getUgcNpcAppearance() {
    return ugcNpcAppearance_ == null ? com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance.getDefaultInstance() : ugcNpcAppearance_;
  }
  /**
   * <pre>
   * UgcNpc.Beacon 외형 정보
   * </pre>
   *
   * <code>.UgcNpcAppearance ugcNpcAppearance = 5;</code>
   */
  @java.lang.Override
  public com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearanceOrBuilder getUgcNpcAppearanceOrBuilder() {
    return ugcNpcAppearance_ == null ? com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance.getDefaultInstance() : ugcNpcAppearance_;
  }

  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(entityInstantGuid_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entityInstantGuid_);
    }
    if (currentPos_ != null) {
      output.writeMessage(2, getCurrentPos());
    }
    if (ugcNpcAppearance_ != null) {
      output.writeMessage(5, getUgcNpcAppearance());
    }
    getUnknownFields().writeTo(output);
  }

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

    size = 0;
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entityInstantGuid_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, entityInstantGuid_);
    }
    if (currentPos_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(2, getCurrentPos());
    }
    if (ugcNpcAppearance_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(5, getUgcNpcAppearance());
    }
    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.UgcNpcEntity)) {
      return super.equals(obj);
    }
    com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity other = (com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity) obj;

    if (!getEntityInstantGuid()
        .equals(other.getEntityInstantGuid())) return false;
    if (hasCurrentPos() != other.hasCurrentPos()) return false;
    if (hasCurrentPos()) {
      if (!getCurrentPos()
          .equals(other.getCurrentPos())) return false;
    }
    if (hasUgcNpcAppearance() != other.hasUgcNpcAppearance()) return false;
    if (hasUgcNpcAppearance()) {
      if (!getUgcNpcAppearance()
          .equals(other.getUgcNpcAppearance())) 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) + ENTITYINSTANTGUID_FIELD_NUMBER;
    hash = (53 * hash) + getEntityInstantGuid().hashCode();
    if (hasCurrentPos()) {
      hash = (37 * hash) + CURRENTPOS_FIELD_NUMBER;
      hash = (53 * hash) + getCurrentPos().hashCode();
    }
    if (hasUgcNpcAppearance()) {
      hash = (37 * hash) + UGCNPCAPPEARANCE_FIELD_NUMBER;
      hash = (53 * hash) + getUgcNpcAppearance().hashCode();
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity 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.UgcNpcEntity parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity 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.UgcNpcEntity parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity 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.UgcNpcEntity 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.UgcNpcEntity 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.UgcNpcEntity 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.UgcNpcEntity 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.UgcNpcEntity 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.UgcNpcEntity 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.UgcNpcEntity 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>
   * EntityType.Beacon 엔티티 : 추후 Beacon 으로 수정 한다. - kangms
   * </pre>
   *
   * Protobuf type {@code UgcNpcEntity}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:UgcNpcEntity)
      com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntityOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcEntity_descriptor;
    }

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

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

    }

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

    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      entityInstantGuid_ = "";
      currentPos_ = null;
      if (currentPosBuilder_ != null) {
        currentPosBuilder_.dispose();
        currentPosBuilder_ = null;
      }
      ugcNpcAppearance_ = null;
      if (ugcNpcAppearanceBuilder_ != null) {
        ugcNpcAppearanceBuilder_.dispose();
        ugcNpcAppearanceBuilder_ = null;
      }
      return this;
    }

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

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

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

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

    private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.entityInstantGuid_ = entityInstantGuid_;
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.currentPos_ = currentPosBuilder_ == null
            ? currentPos_
            : currentPosBuilder_.build();
      }
      if (((from_bitField0_ & 0x00000004) != 0)) {
        result.ugcNpcAppearance_ = ugcNpcAppearanceBuilder_ == null
            ? ugcNpcAppearance_
            : ugcNpcAppearanceBuilder_.build();
      }
    }

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

    public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity other) {
      if (other == com.caliverse.admin.domain.RabbitMq.message.UgcNpcEntity.getDefaultInstance()) return this;
      if (!other.getEntityInstantGuid().isEmpty()) {
        entityInstantGuid_ = other.entityInstantGuid_;
        bitField0_ |= 0x00000001;
        onChanged();
      }
      if (other.hasCurrentPos()) {
        mergeCurrentPos(other.getCurrentPos());
      }
      if (other.hasUgcNpcAppearance()) {
        mergeUgcNpcAppearance(other.getUgcNpcAppearance());
      }
      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 10: {
              entityInstantGuid_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000001;
              break;
            } // case 10
            case 18: {
              input.readMessage(
                  getCurrentPosFieldBuilder().getBuilder(),
                  extensionRegistry);
              bitField0_ |= 0x00000002;
              break;
            } // case 18
            case 42: {
              input.readMessage(
                  getUgcNpcAppearanceFieldBuilder().getBuilder(),
                  extensionRegistry);
              bitField0_ |= 0x00000004;
              break;
            } // case 42
            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 java.lang.Object entityInstantGuid_ = "";
    /**
     * <pre>
     * 인스턴스내에 엔티티의 휘발성(Instant) Guid
     * </pre>
     *
     * <code>string entityInstantGuid = 1;</code>
     * @return The entityInstantGuid.
     */
    public java.lang.String getEntityInstantGuid() {
      java.lang.Object ref = entityInstantGuid_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        entityInstantGuid_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 인스턴스내에 엔티티의 휘발성(Instant) Guid
     * </pre>
     *
     * <code>string entityInstantGuid = 1;</code>
     * @return The bytes for entityInstantGuid.
     */
    public com.google.protobuf.ByteString
        getEntityInstantGuidBytes() {
      java.lang.Object ref = entityInstantGuid_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        entityInstantGuid_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 인스턴스내에 엔티티의 휘발성(Instant) Guid
     * </pre>
     *
     * <code>string entityInstantGuid = 1;</code>
     * @param value The entityInstantGuid to set.
     * @return This builder for chaining.
     */
    public Builder setEntityInstantGuid(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      entityInstantGuid_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 인스턴스내에 엔티티의 휘발성(Instant) Guid
     * </pre>
     *
     * <code>string entityInstantGuid = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearEntityInstantGuid() {
      entityInstantGuid_ = getDefaultInstance().getEntityInstantGuid();
      bitField0_ = (bitField0_ & ~0x00000001);
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 인스턴스내에 엔티티의 휘발성(Instant) Guid
     * </pre>
     *
     * <code>string entityInstantGuid = 1;</code>
     * @param value The bytes for entityInstantGuid to set.
     * @return This builder for chaining.
     */
    public Builder setEntityInstantGuidBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      entityInstantGuid_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }

    private com.caliverse.admin.domain.RabbitMq.message.Pos currentPos_;
    private com.google.protobuf.SingleFieldBuilderV3<
        com.caliverse.admin.domain.RabbitMq.message.Pos, com.caliverse.admin.domain.RabbitMq.message.Pos.Builder, com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder> currentPosBuilder_;
    /**
     * <pre>
     * 현재의 위치
     * </pre>
     *
     * <code>.Pos CurrentPos = 2;</code>
     * @return Whether the currentPos field is set.
     */
    public boolean hasCurrentPos() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * <pre>
     * 현재의 위치
     * </pre>
     *
     * <code>.Pos CurrentPos = 2;</code>
     * @return The currentPos.
     */
    public com.caliverse.admin.domain.RabbitMq.message.Pos getCurrentPos() {
      if (currentPosBuilder_ == null) {
        return currentPos_ == null ? com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : currentPos_;
      } else {
        return currentPosBuilder_.getMessage();
      }
    }
    /**
     * <pre>
     * 현재의 위치
     * </pre>
     *
     * <code>.Pos CurrentPos = 2;</code>
     */
    public Builder setCurrentPos(com.caliverse.admin.domain.RabbitMq.message.Pos value) {
      if (currentPosBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        currentPos_ = value;
      } else {
        currentPosBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 현재의 위치
     * </pre>
     *
     * <code>.Pos CurrentPos = 2;</code>
     */
    public Builder setCurrentPos(
        com.caliverse.admin.domain.RabbitMq.message.Pos.Builder builderForValue) {
      if (currentPosBuilder_ == null) {
        currentPos_ = builderForValue.build();
      } else {
        currentPosBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 현재의 위치
     * </pre>
     *
     * <code>.Pos CurrentPos = 2;</code>
     */
    public Builder mergeCurrentPos(com.caliverse.admin.domain.RabbitMq.message.Pos value) {
      if (currentPosBuilder_ == null) {
        if (((bitField0_ & 0x00000002) != 0) &&
          currentPos_ != null &&
          currentPos_ != com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance()) {
          getCurrentPosBuilder().mergeFrom(value);
        } else {
          currentPos_ = value;
        }
      } else {
        currentPosBuilder_.mergeFrom(value);
      }
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 현재의 위치
     * </pre>
     *
     * <code>.Pos CurrentPos = 2;</code>
     */
    public Builder clearCurrentPos() {
      bitField0_ = (bitField0_ & ~0x00000002);
      currentPos_ = null;
      if (currentPosBuilder_ != null) {
        currentPosBuilder_.dispose();
        currentPosBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 현재의 위치
     * </pre>
     *
     * <code>.Pos CurrentPos = 2;</code>
     */
    public com.caliverse.admin.domain.RabbitMq.message.Pos.Builder getCurrentPosBuilder() {
      bitField0_ |= 0x00000002;
      onChanged();
      return getCurrentPosFieldBuilder().getBuilder();
    }
    /**
     * <pre>
     * 현재의 위치
     * </pre>
     *
     * <code>.Pos CurrentPos = 2;</code>
     */
    public com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder getCurrentPosOrBuilder() {
      if (currentPosBuilder_ != null) {
        return currentPosBuilder_.getMessageOrBuilder();
      } else {
        return currentPos_ == null ?
            com.caliverse.admin.domain.RabbitMq.message.Pos.getDefaultInstance() : currentPos_;
      }
    }
    /**
     * <pre>
     * 현재의 위치
     * </pre>
     *
     * <code>.Pos CurrentPos = 2;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.caliverse.admin.domain.RabbitMq.message.Pos, com.caliverse.admin.domain.RabbitMq.message.Pos.Builder, com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder> 
        getCurrentPosFieldBuilder() {
      if (currentPosBuilder_ == null) {
        currentPosBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.caliverse.admin.domain.RabbitMq.message.Pos, com.caliverse.admin.domain.RabbitMq.message.Pos.Builder, com.caliverse.admin.domain.RabbitMq.message.PosOrBuilder>(
                getCurrentPos(),
                getParentForChildren(),
                isClean());
        currentPos_ = null;
      }
      return currentPosBuilder_;
    }

    private com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance ugcNpcAppearance_;
    private com.google.protobuf.SingleFieldBuilderV3<
        com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance, com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance.Builder, com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearanceOrBuilder> ugcNpcAppearanceBuilder_;
    /**
     * <pre>
     * UgcNpc.Beacon 외형 정보
     * </pre>
     *
     * <code>.UgcNpcAppearance ugcNpcAppearance = 5;</code>
     * @return Whether the ugcNpcAppearance field is set.
     */
    public boolean hasUgcNpcAppearance() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * <pre>
     * UgcNpc.Beacon 외형 정보
     * </pre>
     *
     * <code>.UgcNpcAppearance ugcNpcAppearance = 5;</code>
     * @return The ugcNpcAppearance.
     */
    public com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance getUgcNpcAppearance() {
      if (ugcNpcAppearanceBuilder_ == null) {
        return ugcNpcAppearance_ == null ? com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance.getDefaultInstance() : ugcNpcAppearance_;
      } else {
        return ugcNpcAppearanceBuilder_.getMessage();
      }
    }
    /**
     * <pre>
     * UgcNpc.Beacon 외형 정보
     * </pre>
     *
     * <code>.UgcNpcAppearance ugcNpcAppearance = 5;</code>
     */
    public Builder setUgcNpcAppearance(com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance value) {
      if (ugcNpcAppearanceBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ugcNpcAppearance_ = value;
      } else {
        ugcNpcAppearanceBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * UgcNpc.Beacon 외형 정보
     * </pre>
     *
     * <code>.UgcNpcAppearance ugcNpcAppearance = 5;</code>
     */
    public Builder setUgcNpcAppearance(
        com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance.Builder builderForValue) {
      if (ugcNpcAppearanceBuilder_ == null) {
        ugcNpcAppearance_ = builderForValue.build();
      } else {
        ugcNpcAppearanceBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * UgcNpc.Beacon 외형 정보
     * </pre>
     *
     * <code>.UgcNpcAppearance ugcNpcAppearance = 5;</code>
     */
    public Builder mergeUgcNpcAppearance(com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance value) {
      if (ugcNpcAppearanceBuilder_ == null) {
        if (((bitField0_ & 0x00000004) != 0) &&
          ugcNpcAppearance_ != null &&
          ugcNpcAppearance_ != com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance.getDefaultInstance()) {
          getUgcNpcAppearanceBuilder().mergeFrom(value);
        } else {
          ugcNpcAppearance_ = value;
        }
      } else {
        ugcNpcAppearanceBuilder_.mergeFrom(value);
      }
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * UgcNpc.Beacon 외형 정보
     * </pre>
     *
     * <code>.UgcNpcAppearance ugcNpcAppearance = 5;</code>
     */
    public Builder clearUgcNpcAppearance() {
      bitField0_ = (bitField0_ & ~0x00000004);
      ugcNpcAppearance_ = null;
      if (ugcNpcAppearanceBuilder_ != null) {
        ugcNpcAppearanceBuilder_.dispose();
        ugcNpcAppearanceBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     * <pre>
     * UgcNpc.Beacon 외형 정보
     * </pre>
     *
     * <code>.UgcNpcAppearance ugcNpcAppearance = 5;</code>
     */
    public com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance.Builder getUgcNpcAppearanceBuilder() {
      bitField0_ |= 0x00000004;
      onChanged();
      return getUgcNpcAppearanceFieldBuilder().getBuilder();
    }
    /**
     * <pre>
     * UgcNpc.Beacon 외형 정보
     * </pre>
     *
     * <code>.UgcNpcAppearance ugcNpcAppearance = 5;</code>
     */
    public com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearanceOrBuilder getUgcNpcAppearanceOrBuilder() {
      if (ugcNpcAppearanceBuilder_ != null) {
        return ugcNpcAppearanceBuilder_.getMessageOrBuilder();
      } else {
        return ugcNpcAppearance_ == null ?
            com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance.getDefaultInstance() : ugcNpcAppearance_;
      }
    }
    /**
     * <pre>
     * UgcNpc.Beacon 외형 정보
     * </pre>
     *
     * <code>.UgcNpcAppearance ugcNpcAppearance = 5;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance, com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance.Builder, com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearanceOrBuilder> 
        getUgcNpcAppearanceFieldBuilder() {
      if (ugcNpcAppearanceBuilder_ == null) {
        ugcNpcAppearanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance, com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearance.Builder, com.caliverse.admin.domain.RabbitMq.message.UgcNpcAppearanceOrBuilder>(
                getUgcNpcAppearance(),
                getParentForChildren(),
                isClean());
        ugcNpcAppearance_ = null;
      }
      return ugcNpcAppearanceBuilder_;
    }
    @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:UgcNpcEntity)
  }

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

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

  private static final com.google.protobuf.Parser<UgcNpcEntity>
      PARSER = new com.google.protobuf.AbstractParser<UgcNpcEntity>() {
    @java.lang.Override
    public UgcNpcEntity 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<UgcNpcEntity> parser() {
    return PARSER;
  }

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

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

}

