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

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

/**
 * <pre>
 * 주요 정보별 결과 내용
 * </pre>
 *
 * Protobuf type {@code EntityCommonResult}
 */
public final class EntityCommonResult extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:EntityCommonResult)
    EntityCommonResultOrBuilder {
private static final long serialVersionUID = 0L;
  // Use EntityCommonResult.newBuilder() to construct.
  private EntityCommonResult(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private EntityCommonResult() {
    entityType_ = 0;
    entityGuid_ = "";
  }

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

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

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

  public static final int ENTITYTYPE_FIELD_NUMBER = 1;
  private int entityType_ = 0;
  /**
   * <pre>
   * 소유자의 엔티티 종류 : EntityType 참조 (적용: EntityType.Player, EntityType.UgcNpc)
   * </pre>
   *
   * <code>.EntityType entityType = 1;</code>
   * @return The enum numeric value on the wire for entityType.
   */
  @java.lang.Override public int getEntityTypeValue() {
    return entityType_;
  }
  /**
   * <pre>
   * 소유자의 엔티티 종류 : EntityType 참조 (적용: EntityType.Player, EntityType.UgcNpc)
   * </pre>
   *
   * <code>.EntityType entityType = 1;</code>
   * @return The entityType.
   */
  @java.lang.Override public com.caliverse.admin.domain.RabbitMq.message.EntityType getEntityType() {
    com.caliverse.admin.domain.RabbitMq.message.EntityType result = com.caliverse.admin.domain.RabbitMq.message.EntityType.forNumber(entityType_);
    return result == null ? com.caliverse.admin.domain.RabbitMq.message.EntityType.UNRECOGNIZED : result;
  }

  public static final int ENTITYGUID_FIELD_NUMBER = 2;
  @SuppressWarnings("serial")
  private volatile java.lang.Object entityGuid_ = "";
  /**
   * <pre>
   * 소유자 엔티티의 Guid : EntityGuid
   * </pre>
   *
   * <code>string entityGuid = 2;</code>
   * @return The entityGuid.
   */
  @java.lang.Override
  public java.lang.String getEntityGuid() {
    java.lang.Object ref = entityGuid_;
    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();
      entityGuid_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 소유자 엔티티의 Guid : EntityGuid
   * </pre>
   *
   * <code>string entityGuid = 2;</code>
   * @return The bytes for entityGuid.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getEntityGuidBytes() {
    java.lang.Object ref = entityGuid_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      entityGuid_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int MONEY_FIELD_NUMBER = 5;
  private com.caliverse.admin.domain.RabbitMq.message.MoneyResult money_;
  /**
   * <pre>
   * 금전	
   * </pre>
   *
   * <code>.MoneyResult money = 5;</code>
   * @return Whether the money field is set.
   */
  @java.lang.Override
  public boolean hasMoney() {
    return money_ != null;
  }
  /**
   * <pre>
   * 금전	
   * </pre>
   *
   * <code>.MoneyResult money = 5;</code>
   * @return The money.
   */
  @java.lang.Override
  public com.caliverse.admin.domain.RabbitMq.message.MoneyResult getMoney() {
    return money_ == null ? com.caliverse.admin.domain.RabbitMq.message.MoneyResult.getDefaultInstance() : money_;
  }
  /**
   * <pre>
   * 금전	
   * </pre>
   *
   * <code>.MoneyResult money = 5;</code>
   */
  @java.lang.Override
  public com.caliverse.admin.domain.RabbitMq.message.MoneyResultOrBuilder getMoneyOrBuilder() {
    return money_ == null ? com.caliverse.admin.domain.RabbitMq.message.MoneyResult.getDefaultInstance() : money_;
  }

  public static final int EXP_FIELD_NUMBER = 6;
  private com.caliverse.admin.domain.RabbitMq.message.ExpResult exp_;
  /**
   * <pre>
   * 업데이트 레벨/경험치
   * </pre>
   *
   * <code>.ExpResult exp = 6;</code>
   * @return Whether the exp field is set.
   */
  @java.lang.Override
  public boolean hasExp() {
    return exp_ != null;
  }
  /**
   * <pre>
   * 업데이트 레벨/경험치
   * </pre>
   *
   * <code>.ExpResult exp = 6;</code>
   * @return The exp.
   */
  @java.lang.Override
  public com.caliverse.admin.domain.RabbitMq.message.ExpResult getExp() {
    return exp_ == null ? com.caliverse.admin.domain.RabbitMq.message.ExpResult.getDefaultInstance() : exp_;
  }
  /**
   * <pre>
   * 업데이트 레벨/경험치
   * </pre>
   *
   * <code>.ExpResult exp = 6;</code>
   */
  @java.lang.Override
  public com.caliverse.admin.domain.RabbitMq.message.ExpResultOrBuilder getExpOrBuilder() {
    return exp_ == null ? com.caliverse.admin.domain.RabbitMq.message.ExpResult.getDefaultInstance() : exp_;
  }

  public static final int ITEM_FIELD_NUMBER = 11;
  private com.caliverse.admin.domain.RabbitMq.message.ItemResult item_;
  /**
   * <pre>
   * 아이템
   * </pre>
   *
   * <code>.ItemResult item = 11;</code>
   * @return Whether the item field is set.
   */
  @java.lang.Override
  public boolean hasItem() {
    return item_ != null;
  }
  /**
   * <pre>
   * 아이템
   * </pre>
   *
   * <code>.ItemResult item = 11;</code>
   * @return The item.
   */
  @java.lang.Override
  public com.caliverse.admin.domain.RabbitMq.message.ItemResult getItem() {
    return item_ == null ? com.caliverse.admin.domain.RabbitMq.message.ItemResult.getDefaultInstance() : item_;
  }
  /**
   * <pre>
   * 아이템
   * </pre>
   *
   * <code>.ItemResult item = 11;</code>
   */
  @java.lang.Override
  public com.caliverse.admin.domain.RabbitMq.message.ItemResultOrBuilder getItemOrBuilder() {
    return item_ == null ? com.caliverse.admin.domain.RabbitMq.message.ItemResult.getDefaultInstance() : item_;
  }

  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 (entityType_ != com.caliverse.admin.domain.RabbitMq.message.EntityType.EntityType_None.getNumber()) {
      output.writeEnum(1, entityType_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entityGuid_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, entityGuid_);
    }
    if (money_ != null) {
      output.writeMessage(5, getMoney());
    }
    if (exp_ != null) {
      output.writeMessage(6, getExp());
    }
    if (item_ != null) {
      output.writeMessage(11, getItem());
    }
    getUnknownFields().writeTo(output);
  }

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

    size = 0;
    if (entityType_ != com.caliverse.admin.domain.RabbitMq.message.EntityType.EntityType_None.getNumber()) {
      size += com.google.protobuf.CodedOutputStream
        .computeEnumSize(1, entityType_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entityGuid_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, entityGuid_);
    }
    if (money_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(5, getMoney());
    }
    if (exp_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(6, getExp());
    }
    if (item_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(11, getItem());
    }
    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.EntityCommonResult)) {
      return super.equals(obj);
    }
    com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult other = (com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult) obj;

    if (entityType_ != other.entityType_) return false;
    if (!getEntityGuid()
        .equals(other.getEntityGuid())) return false;
    if (hasMoney() != other.hasMoney()) return false;
    if (hasMoney()) {
      if (!getMoney()
          .equals(other.getMoney())) return false;
    }
    if (hasExp() != other.hasExp()) return false;
    if (hasExp()) {
      if (!getExp()
          .equals(other.getExp())) return false;
    }
    if (hasItem() != other.hasItem()) return false;
    if (hasItem()) {
      if (!getItem()
          .equals(other.getItem())) 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) + ENTITYTYPE_FIELD_NUMBER;
    hash = (53 * hash) + entityType_;
    hash = (37 * hash) + ENTITYGUID_FIELD_NUMBER;
    hash = (53 * hash) + getEntityGuid().hashCode();
    if (hasMoney()) {
      hash = (37 * hash) + MONEY_FIELD_NUMBER;
      hash = (53 * hash) + getMoney().hashCode();
    }
    if (hasExp()) {
      hash = (37 * hash) + EXP_FIELD_NUMBER;
      hash = (53 * hash) + getExp().hashCode();
    }
    if (hasItem()) {
      hash = (37 * hash) + ITEM_FIELD_NUMBER;
      hash = (53 * hash) + getItem().hashCode();
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult 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.EntityCommonResult parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult 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.EntityCommonResult parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult 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.EntityCommonResult 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.EntityCommonResult 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.EntityCommonResult 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.EntityCommonResult 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.EntityCommonResult 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.EntityCommonResult 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.EntityCommonResult 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 EntityCommonResult}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:EntityCommonResult)
      com.caliverse.admin.domain.RabbitMq.message.EntityCommonResultOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_EntityCommonResult_descriptor;
    }

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

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

    }

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

    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      entityType_ = 0;
      entityGuid_ = "";
      money_ = null;
      if (moneyBuilder_ != null) {
        moneyBuilder_.dispose();
        moneyBuilder_ = null;
      }
      exp_ = null;
      if (expBuilder_ != null) {
        expBuilder_.dispose();
        expBuilder_ = null;
      }
      item_ = null;
      if (itemBuilder_ != null) {
        itemBuilder_.dispose();
        itemBuilder_ = null;
      }
      return this;
    }

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

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

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

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

    private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.entityType_ = entityType_;
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.entityGuid_ = entityGuid_;
      }
      if (((from_bitField0_ & 0x00000004) != 0)) {
        result.money_ = moneyBuilder_ == null
            ? money_
            : moneyBuilder_.build();
      }
      if (((from_bitField0_ & 0x00000008) != 0)) {
        result.exp_ = expBuilder_ == null
            ? exp_
            : expBuilder_.build();
      }
      if (((from_bitField0_ & 0x00000010) != 0)) {
        result.item_ = itemBuilder_ == null
            ? item_
            : itemBuilder_.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.EntityCommonResult) {
        return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult other) {
      if (other == com.caliverse.admin.domain.RabbitMq.message.EntityCommonResult.getDefaultInstance()) return this;
      if (other.entityType_ != 0) {
        setEntityTypeValue(other.getEntityTypeValue());
      }
      if (!other.getEntityGuid().isEmpty()) {
        entityGuid_ = other.entityGuid_;
        bitField0_ |= 0x00000002;
        onChanged();
      }
      if (other.hasMoney()) {
        mergeMoney(other.getMoney());
      }
      if (other.hasExp()) {
        mergeExp(other.getExp());
      }
      if (other.hasItem()) {
        mergeItem(other.getItem());
      }
      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: {
              entityType_ = input.readEnum();
              bitField0_ |= 0x00000001;
              break;
            } // case 8
            case 18: {
              entityGuid_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000002;
              break;
            } // case 18
            case 42: {
              input.readMessage(
                  getMoneyFieldBuilder().getBuilder(),
                  extensionRegistry);
              bitField0_ |= 0x00000004;
              break;
            } // case 42
            case 50: {
              input.readMessage(
                  getExpFieldBuilder().getBuilder(),
                  extensionRegistry);
              bitField0_ |= 0x00000008;
              break;
            } // case 50
            case 90: {
              input.readMessage(
                  getItemFieldBuilder().getBuilder(),
                  extensionRegistry);
              bitField0_ |= 0x00000010;
              break;
            } // case 90
            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 entityType_ = 0;
    /**
     * <pre>
     * 소유자의 엔티티 종류 : EntityType 참조 (적용: EntityType.Player, EntityType.UgcNpc)
     * </pre>
     *
     * <code>.EntityType entityType = 1;</code>
     * @return The enum numeric value on the wire for entityType.
     */
    @java.lang.Override public int getEntityTypeValue() {
      return entityType_;
    }
    /**
     * <pre>
     * 소유자의 엔티티 종류 : EntityType 참조 (적용: EntityType.Player, EntityType.UgcNpc)
     * </pre>
     *
     * <code>.EntityType entityType = 1;</code>
     * @param value The enum numeric value on the wire for entityType to set.
     * @return This builder for chaining.
     */
    public Builder setEntityTypeValue(int value) {
      entityType_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 소유자의 엔티티 종류 : EntityType 참조 (적용: EntityType.Player, EntityType.UgcNpc)
     * </pre>
     *
     * <code>.EntityType entityType = 1;</code>
     * @return The entityType.
     */
    @java.lang.Override
    public com.caliverse.admin.domain.RabbitMq.message.EntityType getEntityType() {
      com.caliverse.admin.domain.RabbitMq.message.EntityType result = com.caliverse.admin.domain.RabbitMq.message.EntityType.forNumber(entityType_);
      return result == null ? com.caliverse.admin.domain.RabbitMq.message.EntityType.UNRECOGNIZED : result;
    }
    /**
     * <pre>
     * 소유자의 엔티티 종류 : EntityType 참조 (적용: EntityType.Player, EntityType.UgcNpc)
     * </pre>
     *
     * <code>.EntityType entityType = 1;</code>
     * @param value The entityType to set.
     * @return This builder for chaining.
     */
    public Builder setEntityType(com.caliverse.admin.domain.RabbitMq.message.EntityType value) {
      if (value == null) {
        throw new NullPointerException();
      }
      bitField0_ |= 0x00000001;
      entityType_ = value.getNumber();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 소유자의 엔티티 종류 : EntityType 참조 (적용: EntityType.Player, EntityType.UgcNpc)
     * </pre>
     *
     * <code>.EntityType entityType = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearEntityType() {
      bitField0_ = (bitField0_ & ~0x00000001);
      entityType_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object entityGuid_ = "";
    /**
     * <pre>
     * 소유자 엔티티의 Guid : EntityGuid
     * </pre>
     *
     * <code>string entityGuid = 2;</code>
     * @return The entityGuid.
     */
    public java.lang.String getEntityGuid() {
      java.lang.Object ref = entityGuid_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        entityGuid_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 소유자 엔티티의 Guid : EntityGuid
     * </pre>
     *
     * <code>string entityGuid = 2;</code>
     * @return The bytes for entityGuid.
     */
    public com.google.protobuf.ByteString
        getEntityGuidBytes() {
      java.lang.Object ref = entityGuid_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        entityGuid_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 소유자 엔티티의 Guid : EntityGuid
     * </pre>
     *
     * <code>string entityGuid = 2;</code>
     * @param value The entityGuid to set.
     * @return This builder for chaining.
     */
    public Builder setEntityGuid(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      entityGuid_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 소유자 엔티티의 Guid : EntityGuid
     * </pre>
     *
     * <code>string entityGuid = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearEntityGuid() {
      entityGuid_ = getDefaultInstance().getEntityGuid();
      bitField0_ = (bitField0_ & ~0x00000002);
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 소유자 엔티티의 Guid : EntityGuid
     * </pre>
     *
     * <code>string entityGuid = 2;</code>
     * @param value The bytes for entityGuid to set.
     * @return This builder for chaining.
     */
    public Builder setEntityGuidBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      entityGuid_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }

    private com.caliverse.admin.domain.RabbitMq.message.MoneyResult money_;
    private com.google.protobuf.SingleFieldBuilderV3<
        com.caliverse.admin.domain.RabbitMq.message.MoneyResult, com.caliverse.admin.domain.RabbitMq.message.MoneyResult.Builder, com.caliverse.admin.domain.RabbitMq.message.MoneyResultOrBuilder> moneyBuilder_;
    /**
     * <pre>
     * 금전	
     * </pre>
     *
     * <code>.MoneyResult money = 5;</code>
     * @return Whether the money field is set.
     */
    public boolean hasMoney() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * <pre>
     * 금전	
     * </pre>
     *
     * <code>.MoneyResult money = 5;</code>
     * @return The money.
     */
    public com.caliverse.admin.domain.RabbitMq.message.MoneyResult getMoney() {
      if (moneyBuilder_ == null) {
        return money_ == null ? com.caliverse.admin.domain.RabbitMq.message.MoneyResult.getDefaultInstance() : money_;
      } else {
        return moneyBuilder_.getMessage();
      }
    }
    /**
     * <pre>
     * 금전	
     * </pre>
     *
     * <code>.MoneyResult money = 5;</code>
     */
    public Builder setMoney(com.caliverse.admin.domain.RabbitMq.message.MoneyResult value) {
      if (moneyBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        money_ = value;
      } else {
        moneyBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 금전	
     * </pre>
     *
     * <code>.MoneyResult money = 5;</code>
     */
    public Builder setMoney(
        com.caliverse.admin.domain.RabbitMq.message.MoneyResult.Builder builderForValue) {
      if (moneyBuilder_ == null) {
        money_ = builderForValue.build();
      } else {
        moneyBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 금전	
     * </pre>
     *
     * <code>.MoneyResult money = 5;</code>
     */
    public Builder mergeMoney(com.caliverse.admin.domain.RabbitMq.message.MoneyResult value) {
      if (moneyBuilder_ == null) {
        if (((bitField0_ & 0x00000004) != 0) &&
          money_ != null &&
          money_ != com.caliverse.admin.domain.RabbitMq.message.MoneyResult.getDefaultInstance()) {
          getMoneyBuilder().mergeFrom(value);
        } else {
          money_ = value;
        }
      } else {
        moneyBuilder_.mergeFrom(value);
      }
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 금전	
     * </pre>
     *
     * <code>.MoneyResult money = 5;</code>
     */
    public Builder clearMoney() {
      bitField0_ = (bitField0_ & ~0x00000004);
      money_ = null;
      if (moneyBuilder_ != null) {
        moneyBuilder_.dispose();
        moneyBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 금전	
     * </pre>
     *
     * <code>.MoneyResult money = 5;</code>
     */
    public com.caliverse.admin.domain.RabbitMq.message.MoneyResult.Builder getMoneyBuilder() {
      bitField0_ |= 0x00000004;
      onChanged();
      return getMoneyFieldBuilder().getBuilder();
    }
    /**
     * <pre>
     * 금전	
     * </pre>
     *
     * <code>.MoneyResult money = 5;</code>
     */
    public com.caliverse.admin.domain.RabbitMq.message.MoneyResultOrBuilder getMoneyOrBuilder() {
      if (moneyBuilder_ != null) {
        return moneyBuilder_.getMessageOrBuilder();
      } else {
        return money_ == null ?
            com.caliverse.admin.domain.RabbitMq.message.MoneyResult.getDefaultInstance() : money_;
      }
    }
    /**
     * <pre>
     * 금전	
     * </pre>
     *
     * <code>.MoneyResult money = 5;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.caliverse.admin.domain.RabbitMq.message.MoneyResult, com.caliverse.admin.domain.RabbitMq.message.MoneyResult.Builder, com.caliverse.admin.domain.RabbitMq.message.MoneyResultOrBuilder> 
        getMoneyFieldBuilder() {
      if (moneyBuilder_ == null) {
        moneyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.caliverse.admin.domain.RabbitMq.message.MoneyResult, com.caliverse.admin.domain.RabbitMq.message.MoneyResult.Builder, com.caliverse.admin.domain.RabbitMq.message.MoneyResultOrBuilder>(
                getMoney(),
                getParentForChildren(),
                isClean());
        money_ = null;
      }
      return moneyBuilder_;
    }

    private com.caliverse.admin.domain.RabbitMq.message.ExpResult exp_;
    private com.google.protobuf.SingleFieldBuilderV3<
        com.caliverse.admin.domain.RabbitMq.message.ExpResult, com.caliverse.admin.domain.RabbitMq.message.ExpResult.Builder, com.caliverse.admin.domain.RabbitMq.message.ExpResultOrBuilder> expBuilder_;
    /**
     * <pre>
     * 업데이트 레벨/경험치
     * </pre>
     *
     * <code>.ExpResult exp = 6;</code>
     * @return Whether the exp field is set.
     */
    public boolean hasExp() {
      return ((bitField0_ & 0x00000008) != 0);
    }
    /**
     * <pre>
     * 업데이트 레벨/경험치
     * </pre>
     *
     * <code>.ExpResult exp = 6;</code>
     * @return The exp.
     */
    public com.caliverse.admin.domain.RabbitMq.message.ExpResult getExp() {
      if (expBuilder_ == null) {
        return exp_ == null ? com.caliverse.admin.domain.RabbitMq.message.ExpResult.getDefaultInstance() : exp_;
      } else {
        return expBuilder_.getMessage();
      }
    }
    /**
     * <pre>
     * 업데이트 레벨/경험치
     * </pre>
     *
     * <code>.ExpResult exp = 6;</code>
     */
    public Builder setExp(com.caliverse.admin.domain.RabbitMq.message.ExpResult value) {
      if (expBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        exp_ = value;
      } else {
        expBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 업데이트 레벨/경험치
     * </pre>
     *
     * <code>.ExpResult exp = 6;</code>
     */
    public Builder setExp(
        com.caliverse.admin.domain.RabbitMq.message.ExpResult.Builder builderForValue) {
      if (expBuilder_ == null) {
        exp_ = builderForValue.build();
      } else {
        expBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 업데이트 레벨/경험치
     * </pre>
     *
     * <code>.ExpResult exp = 6;</code>
     */
    public Builder mergeExp(com.caliverse.admin.domain.RabbitMq.message.ExpResult value) {
      if (expBuilder_ == null) {
        if (((bitField0_ & 0x00000008) != 0) &&
          exp_ != null &&
          exp_ != com.caliverse.admin.domain.RabbitMq.message.ExpResult.getDefaultInstance()) {
          getExpBuilder().mergeFrom(value);
        } else {
          exp_ = value;
        }
      } else {
        expBuilder_.mergeFrom(value);
      }
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 업데이트 레벨/경험치
     * </pre>
     *
     * <code>.ExpResult exp = 6;</code>
     */
    public Builder clearExp() {
      bitField0_ = (bitField0_ & ~0x00000008);
      exp_ = null;
      if (expBuilder_ != null) {
        expBuilder_.dispose();
        expBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 업데이트 레벨/경험치
     * </pre>
     *
     * <code>.ExpResult exp = 6;</code>
     */
    public com.caliverse.admin.domain.RabbitMq.message.ExpResult.Builder getExpBuilder() {
      bitField0_ |= 0x00000008;
      onChanged();
      return getExpFieldBuilder().getBuilder();
    }
    /**
     * <pre>
     * 업데이트 레벨/경험치
     * </pre>
     *
     * <code>.ExpResult exp = 6;</code>
     */
    public com.caliverse.admin.domain.RabbitMq.message.ExpResultOrBuilder getExpOrBuilder() {
      if (expBuilder_ != null) {
        return expBuilder_.getMessageOrBuilder();
      } else {
        return exp_ == null ?
            com.caliverse.admin.domain.RabbitMq.message.ExpResult.getDefaultInstance() : exp_;
      }
    }
    /**
     * <pre>
     * 업데이트 레벨/경험치
     * </pre>
     *
     * <code>.ExpResult exp = 6;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.caliverse.admin.domain.RabbitMq.message.ExpResult, com.caliverse.admin.domain.RabbitMq.message.ExpResult.Builder, com.caliverse.admin.domain.RabbitMq.message.ExpResultOrBuilder> 
        getExpFieldBuilder() {
      if (expBuilder_ == null) {
        expBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.caliverse.admin.domain.RabbitMq.message.ExpResult, com.caliverse.admin.domain.RabbitMq.message.ExpResult.Builder, com.caliverse.admin.domain.RabbitMq.message.ExpResultOrBuilder>(
                getExp(),
                getParentForChildren(),
                isClean());
        exp_ = null;
      }
      return expBuilder_;
    }

    private com.caliverse.admin.domain.RabbitMq.message.ItemResult item_;
    private com.google.protobuf.SingleFieldBuilderV3<
        com.caliverse.admin.domain.RabbitMq.message.ItemResult, com.caliverse.admin.domain.RabbitMq.message.ItemResult.Builder, com.caliverse.admin.domain.RabbitMq.message.ItemResultOrBuilder> itemBuilder_;
    /**
     * <pre>
     * 아이템
     * </pre>
     *
     * <code>.ItemResult item = 11;</code>
     * @return Whether the item field is set.
     */
    public boolean hasItem() {
      return ((bitField0_ & 0x00000010) != 0);
    }
    /**
     * <pre>
     * 아이템
     * </pre>
     *
     * <code>.ItemResult item = 11;</code>
     * @return The item.
     */
    public com.caliverse.admin.domain.RabbitMq.message.ItemResult getItem() {
      if (itemBuilder_ == null) {
        return item_ == null ? com.caliverse.admin.domain.RabbitMq.message.ItemResult.getDefaultInstance() : item_;
      } else {
        return itemBuilder_.getMessage();
      }
    }
    /**
     * <pre>
     * 아이템
     * </pre>
     *
     * <code>.ItemResult item = 11;</code>
     */
    public Builder setItem(com.caliverse.admin.domain.RabbitMq.message.ItemResult value) {
      if (itemBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        item_ = value;
      } else {
        itemBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 아이템
     * </pre>
     *
     * <code>.ItemResult item = 11;</code>
     */
    public Builder setItem(
        com.caliverse.admin.domain.RabbitMq.message.ItemResult.Builder builderForValue) {
      if (itemBuilder_ == null) {
        item_ = builderForValue.build();
      } else {
        itemBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 아이템
     * </pre>
     *
     * <code>.ItemResult item = 11;</code>
     */
    public Builder mergeItem(com.caliverse.admin.domain.RabbitMq.message.ItemResult value) {
      if (itemBuilder_ == null) {
        if (((bitField0_ & 0x00000010) != 0) &&
          item_ != null &&
          item_ != com.caliverse.admin.domain.RabbitMq.message.ItemResult.getDefaultInstance()) {
          getItemBuilder().mergeFrom(value);
        } else {
          item_ = value;
        }
      } else {
        itemBuilder_.mergeFrom(value);
      }
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 아이템
     * </pre>
     *
     * <code>.ItemResult item = 11;</code>
     */
    public Builder clearItem() {
      bitField0_ = (bitField0_ & ~0x00000010);
      item_ = null;
      if (itemBuilder_ != null) {
        itemBuilder_.dispose();
        itemBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 아이템
     * </pre>
     *
     * <code>.ItemResult item = 11;</code>
     */
    public com.caliverse.admin.domain.RabbitMq.message.ItemResult.Builder getItemBuilder() {
      bitField0_ |= 0x00000010;
      onChanged();
      return getItemFieldBuilder().getBuilder();
    }
    /**
     * <pre>
     * 아이템
     * </pre>
     *
     * <code>.ItemResult item = 11;</code>
     */
    public com.caliverse.admin.domain.RabbitMq.message.ItemResultOrBuilder getItemOrBuilder() {
      if (itemBuilder_ != null) {
        return itemBuilder_.getMessageOrBuilder();
      } else {
        return item_ == null ?
            com.caliverse.admin.domain.RabbitMq.message.ItemResult.getDefaultInstance() : item_;
      }
    }
    /**
     * <pre>
     * 아이템
     * </pre>
     *
     * <code>.ItemResult item = 11;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.caliverse.admin.domain.RabbitMq.message.ItemResult, com.caliverse.admin.domain.RabbitMq.message.ItemResult.Builder, com.caliverse.admin.domain.RabbitMq.message.ItemResultOrBuilder> 
        getItemFieldBuilder() {
      if (itemBuilder_ == null) {
        itemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.caliverse.admin.domain.RabbitMq.message.ItemResult, com.caliverse.admin.domain.RabbitMq.message.ItemResult.Builder, com.caliverse.admin.domain.RabbitMq.message.ItemResultOrBuilder>(
                getItem(),
                getParentForChildren(),
                isClean());
        item_ = null;
      }
      return itemBuilder_;
    }
    @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:EntityCommonResult)
  }

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

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

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

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

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

}

