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

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

/**
 * <pre>
 * UGC NPC 보유 아이템
 * </pre>
 *
 * Protobuf type {@code UgcNpcItems}
 */
public final class UgcNpcItems extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:UgcNpcItems)
    UgcNpcItemsOrBuilder {
private static final long serialVersionUID = 0L;
  // Use UgcNpcItems.newBuilder() to construct.
  private UgcNpcItems(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private UgcNpcItems() {
  }

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

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

  @SuppressWarnings({"rawtypes"})
  @java.lang.Override
  protected com.google.protobuf.MapField internalGetMapField(
      int number) {
    switch (number) {
      case 1:
        return internalGetHasItems();
      case 5:
        return internalGetHasTattooInfos();
      default:
        throw new RuntimeException(
            "Invalid map field number: " + number);
    }
  }
  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcItems_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems.class, com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems.Builder.class);
  }

  public static final int HASITEMS_FIELD_NUMBER = 1;
  private static final class HasItemsDefaultEntryHolder {
    static final com.google.protobuf.MapEntry<
        java.lang.String, com.caliverse.admin.domain.RabbitMq.message.Item> defaultEntry =
            com.google.protobuf.MapEntry
            .<java.lang.String, com.caliverse.admin.domain.RabbitMq.message.Item>newDefaultInstance(
                com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcItems_HasItemsEntry_descriptor, 
                com.google.protobuf.WireFormat.FieldType.STRING,
                "",
                com.google.protobuf.WireFormat.FieldType.MESSAGE,
                com.caliverse.admin.domain.RabbitMq.message.Item.getDefaultInstance());
  }
  @SuppressWarnings("serial")
  private com.google.protobuf.MapField<
      java.lang.String, com.caliverse.admin.domain.RabbitMq.message.Item> hasItems_;
  private com.google.protobuf.MapField<java.lang.String, com.caliverse.admin.domain.RabbitMq.message.Item>
  internalGetHasItems() {
    if (hasItems_ == null) {
      return com.google.protobuf.MapField.emptyMapField(
          HasItemsDefaultEntryHolder.defaultEntry);
    }
    return hasItems_;
  }
  public int getHasItemsCount() {
    return internalGetHasItems().getMap().size();
  }
  /**
   * <pre>
   * &lt;ITEM_GUID, Item&gt;	
   * </pre>
   *
   * <code>map&lt;string, .Item&gt; hasItems = 1;</code>
   */
  @java.lang.Override
  public boolean containsHasItems(
      java.lang.String key) {
    if (key == null) { throw new NullPointerException("map key"); }
    return internalGetHasItems().getMap().containsKey(key);
  }
  /**
   * Use {@link #getHasItemsMap()} instead.
   */
  @java.lang.Override
  @java.lang.Deprecated
  public java.util.Map<java.lang.String, com.caliverse.admin.domain.RabbitMq.message.Item> getHasItems() {
    return getHasItemsMap();
  }
  /**
   * <pre>
   * &lt;ITEM_GUID, Item&gt;	
   * </pre>
   *
   * <code>map&lt;string, .Item&gt; hasItems = 1;</code>
   */
  @java.lang.Override
  public java.util.Map<java.lang.String, com.caliverse.admin.domain.RabbitMq.message.Item> getHasItemsMap() {
    return internalGetHasItems().getMap();
  }
  /**
   * <pre>
   * &lt;ITEM_GUID, Item&gt;	
   * </pre>
   *
   * <code>map&lt;string, .Item&gt; hasItems = 1;</code>
   */
  @java.lang.Override
  public /* nullable */
com.caliverse.admin.domain.RabbitMq.message.Item getHasItemsOrDefault(
      java.lang.String key,
      /* nullable */
com.caliverse.admin.domain.RabbitMq.message.Item defaultValue) {
    if (key == null) { throw new NullPointerException("map key"); }
    java.util.Map<java.lang.String, com.caliverse.admin.domain.RabbitMq.message.Item> map =
        internalGetHasItems().getMap();
    return map.containsKey(key) ? map.get(key) : defaultValue;
  }
  /**
   * <pre>
   * &lt;ITEM_GUID, Item&gt;	
   * </pre>
   *
   * <code>map&lt;string, .Item&gt; hasItems = 1;</code>
   */
  @java.lang.Override
  public com.caliverse.admin.domain.RabbitMq.message.Item getHasItemsOrThrow(
      java.lang.String key) {
    if (key == null) { throw new NullPointerException("map key"); }
    java.util.Map<java.lang.String, com.caliverse.admin.domain.RabbitMq.message.Item> map =
        internalGetHasItems().getMap();
    if (!map.containsKey(key)) {
      throw new java.lang.IllegalArgumentException();
    }
    return map.get(key);
  }

  public static final int HASTATTOOINFOS_FIELD_NUMBER = 5;
  private static final class HasTattooInfosDefaultEntryHolder {
    static final com.google.protobuf.MapEntry<
        java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo> defaultEntry =
            com.google.protobuf.MapEntry
            .<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo>newDefaultInstance(
                com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcItems_HasTattooInfosEntry_descriptor, 
                com.google.protobuf.WireFormat.FieldType.INT32,
                0,
                com.google.protobuf.WireFormat.FieldType.MESSAGE,
                com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo.getDefaultInstance());
  }
  @SuppressWarnings("serial")
  private com.google.protobuf.MapField<
      java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo> hasTattooInfos_;
  private com.google.protobuf.MapField<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo>
  internalGetHasTattooInfos() {
    if (hasTattooInfos_ == null) {
      return com.google.protobuf.MapField.emptyMapField(
          HasTattooInfosDefaultEntryHolder.defaultEntry);
    }
    return hasTattooInfos_;
  }
  public int getHasTattooInfosCount() {
    return internalGetHasTattooInfos().getMap().size();
  }
  /**
   * <pre>
   * &lt;TattooSlotType, TattooSlotInfo&gt;		
   * </pre>
   *
   * <code>map&lt;int32, .TattooSlotInfo&gt; hasTattooInfos = 5;</code>
   */
  @java.lang.Override
  public boolean containsHasTattooInfos(
      int key) {
    
    return internalGetHasTattooInfos().getMap().containsKey(key);
  }
  /**
   * Use {@link #getHasTattooInfosMap()} instead.
   */
  @java.lang.Override
  @java.lang.Deprecated
  public java.util.Map<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo> getHasTattooInfos() {
    return getHasTattooInfosMap();
  }
  /**
   * <pre>
   * &lt;TattooSlotType, TattooSlotInfo&gt;		
   * </pre>
   *
   * <code>map&lt;int32, .TattooSlotInfo&gt; hasTattooInfos = 5;</code>
   */
  @java.lang.Override
  public java.util.Map<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo> getHasTattooInfosMap() {
    return internalGetHasTattooInfos().getMap();
  }
  /**
   * <pre>
   * &lt;TattooSlotType, TattooSlotInfo&gt;		
   * </pre>
   *
   * <code>map&lt;int32, .TattooSlotInfo&gt; hasTattooInfos = 5;</code>
   */
  @java.lang.Override
  public /* nullable */
com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo getHasTattooInfosOrDefault(
      int key,
      /* nullable */
com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo defaultValue) {
    
    java.util.Map<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo> map =
        internalGetHasTattooInfos().getMap();
    return map.containsKey(key) ? map.get(key) : defaultValue;
  }
  /**
   * <pre>
   * &lt;TattooSlotType, TattooSlotInfo&gt;		
   * </pre>
   *
   * <code>map&lt;int32, .TattooSlotInfo&gt; hasTattooInfos = 5;</code>
   */
  @java.lang.Override
  public com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo getHasTattooInfosOrThrow(
      int key) {
    
    java.util.Map<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo> map =
        internalGetHasTattooInfos().getMap();
    if (!map.containsKey(key)) {
      throw new java.lang.IllegalArgumentException();
    }
    return map.get(key);
  }

  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 {
    com.google.protobuf.GeneratedMessageV3
      .serializeStringMapTo(
        output,
        internalGetHasItems(),
        HasItemsDefaultEntryHolder.defaultEntry,
        1);
    com.google.protobuf.GeneratedMessageV3
      .serializeIntegerMapTo(
        output,
        internalGetHasTattooInfos(),
        HasTattooInfosDefaultEntryHolder.defaultEntry,
        5);
    getUnknownFields().writeTo(output);
  }

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

    size = 0;
    for (java.util.Map.Entry<java.lang.String, com.caliverse.admin.domain.RabbitMq.message.Item> entry
         : internalGetHasItems().getMap().entrySet()) {
      com.google.protobuf.MapEntry<java.lang.String, com.caliverse.admin.domain.RabbitMq.message.Item>
      hasItems__ = HasItemsDefaultEntryHolder.defaultEntry.newBuilderForType()
          .setKey(entry.getKey())
          .setValue(entry.getValue())
          .build();
      size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, hasItems__);
    }
    for (java.util.Map.Entry<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo> entry
         : internalGetHasTattooInfos().getMap().entrySet()) {
      com.google.protobuf.MapEntry<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo>
      hasTattooInfos__ = HasTattooInfosDefaultEntryHolder.defaultEntry.newBuilderForType()
          .setKey(entry.getKey())
          .setValue(entry.getValue())
          .build();
      size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(5, hasTattooInfos__);
    }
    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.UgcNpcItems)) {
      return super.equals(obj);
    }
    com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems other = (com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems) obj;

    if (!internalGetHasItems().equals(
        other.internalGetHasItems())) return false;
    if (!internalGetHasTattooInfos().equals(
        other.internalGetHasTattooInfos())) 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();
    if (!internalGetHasItems().getMap().isEmpty()) {
      hash = (37 * hash) + HASITEMS_FIELD_NUMBER;
      hash = (53 * hash) + internalGetHasItems().hashCode();
    }
    if (!internalGetHasTattooInfos().getMap().isEmpty()) {
      hash = (37 * hash) + HASTATTOOINFOS_FIELD_NUMBER;
      hash = (53 * hash) + internalGetHasTattooInfos().hashCode();
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems 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.UgcNpcItems parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems 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.UgcNpcItems parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems 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.UgcNpcItems 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.UgcNpcItems 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.UgcNpcItems 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.UgcNpcItems 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.UgcNpcItems 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.UgcNpcItems 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.UgcNpcItems 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>
   * UGC NPC 보유 아이템
   * </pre>
   *
   * Protobuf type {@code UgcNpcItems}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:UgcNpcItems)
      com.caliverse.admin.domain.RabbitMq.message.UgcNpcItemsOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcItems_descriptor;
    }

    @SuppressWarnings({"rawtypes"})
    protected com.google.protobuf.MapField internalGetMapField(
        int number) {
      switch (number) {
        case 1:
          return internalGetHasItems();
        case 5:
          return internalGetHasTattooInfos();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    @SuppressWarnings({"rawtypes"})
    protected com.google.protobuf.MapField internalGetMutableMapField(
        int number) {
      switch (number) {
        case 1:
          return internalGetMutableHasItems();
        case 5:
          return internalGetMutableHasTattooInfos();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_UgcNpcItems_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems.class, com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems.Builder.class);
    }

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

    }

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

    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      internalGetMutableHasItems().clear();
      internalGetMutableHasTattooInfos().clear();
      return this;
    }

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

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

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

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

    private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.hasItems_ = internalGetHasItems();
        result.hasItems_.makeImmutable();
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.hasTattooInfos_ = internalGetHasTattooInfos();
        result.hasTattooInfos_.makeImmutable();
      }
    }

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

    public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems other) {
      if (other == com.caliverse.admin.domain.RabbitMq.message.UgcNpcItems.getDefaultInstance()) return this;
      internalGetMutableHasItems().mergeFrom(
          other.internalGetHasItems());
      bitField0_ |= 0x00000001;
      internalGetMutableHasTattooInfos().mergeFrom(
          other.internalGetHasTattooInfos());
      bitField0_ |= 0x00000002;
      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: {
              com.google.protobuf.MapEntry<java.lang.String, com.caliverse.admin.domain.RabbitMq.message.Item>
              hasItems__ = input.readMessage(
                  HasItemsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
              internalGetMutableHasItems().getMutableMap().put(
                  hasItems__.getKey(), hasItems__.getValue());
              bitField0_ |= 0x00000001;
              break;
            } // case 10
            case 42: {
              com.google.protobuf.MapEntry<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo>
              hasTattooInfos__ = input.readMessage(
                  HasTattooInfosDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
              internalGetMutableHasTattooInfos().getMutableMap().put(
                  hasTattooInfos__.getKey(), hasTattooInfos__.getValue());
              bitField0_ |= 0x00000002;
              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 com.google.protobuf.MapField<
        java.lang.String, com.caliverse.admin.domain.RabbitMq.message.Item> hasItems_;
    private com.google.protobuf.MapField<java.lang.String, com.caliverse.admin.domain.RabbitMq.message.Item>
        internalGetHasItems() {
      if (hasItems_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            HasItemsDefaultEntryHolder.defaultEntry);
      }
      return hasItems_;
    }
    private com.google.protobuf.MapField<java.lang.String, com.caliverse.admin.domain.RabbitMq.message.Item>
        internalGetMutableHasItems() {
      if (hasItems_ == null) {
        hasItems_ = com.google.protobuf.MapField.newMapField(
            HasItemsDefaultEntryHolder.defaultEntry);
      }
      if (!hasItems_.isMutable()) {
        hasItems_ = hasItems_.copy();
      }
      bitField0_ |= 0x00000001;
      onChanged();
      return hasItems_;
    }
    public int getHasItemsCount() {
      return internalGetHasItems().getMap().size();
    }
    /**
     * <pre>
     * &lt;ITEM_GUID, Item&gt;	
     * </pre>
     *
     * <code>map&lt;string, .Item&gt; hasItems = 1;</code>
     */
    @java.lang.Override
    public boolean containsHasItems(
        java.lang.String key) {
      if (key == null) { throw new NullPointerException("map key"); }
      return internalGetHasItems().getMap().containsKey(key);
    }
    /**
     * Use {@link #getHasItemsMap()} instead.
     */
    @java.lang.Override
    @java.lang.Deprecated
    public java.util.Map<java.lang.String, com.caliverse.admin.domain.RabbitMq.message.Item> getHasItems() {
      return getHasItemsMap();
    }
    /**
     * <pre>
     * &lt;ITEM_GUID, Item&gt;	
     * </pre>
     *
     * <code>map&lt;string, .Item&gt; hasItems = 1;</code>
     */
    @java.lang.Override
    public java.util.Map<java.lang.String, com.caliverse.admin.domain.RabbitMq.message.Item> getHasItemsMap() {
      return internalGetHasItems().getMap();
    }
    /**
     * <pre>
     * &lt;ITEM_GUID, Item&gt;	
     * </pre>
     *
     * <code>map&lt;string, .Item&gt; hasItems = 1;</code>
     */
    @java.lang.Override
    public /* nullable */
com.caliverse.admin.domain.RabbitMq.message.Item getHasItemsOrDefault(
        java.lang.String key,
        /* nullable */
com.caliverse.admin.domain.RabbitMq.message.Item defaultValue) {
      if (key == null) { throw new NullPointerException("map key"); }
      java.util.Map<java.lang.String, com.caliverse.admin.domain.RabbitMq.message.Item> map =
          internalGetHasItems().getMap();
      return map.containsKey(key) ? map.get(key) : defaultValue;
    }
    /**
     * <pre>
     * &lt;ITEM_GUID, Item&gt;	
     * </pre>
     *
     * <code>map&lt;string, .Item&gt; hasItems = 1;</code>
     */
    @java.lang.Override
    public com.caliverse.admin.domain.RabbitMq.message.Item getHasItemsOrThrow(
        java.lang.String key) {
      if (key == null) { throw new NullPointerException("map key"); }
      java.util.Map<java.lang.String, com.caliverse.admin.domain.RabbitMq.message.Item> map =
          internalGetHasItems().getMap();
      if (!map.containsKey(key)) {
        throw new java.lang.IllegalArgumentException();
      }
      return map.get(key);
    }
    public Builder clearHasItems() {
      bitField0_ = (bitField0_ & ~0x00000001);
      internalGetMutableHasItems().getMutableMap()
          .clear();
      return this;
    }
    /**
     * <pre>
     * &lt;ITEM_GUID, Item&gt;	
     * </pre>
     *
     * <code>map&lt;string, .Item&gt; hasItems = 1;</code>
     */
    public Builder removeHasItems(
        java.lang.String key) {
      if (key == null) { throw new NullPointerException("map key"); }
      internalGetMutableHasItems().getMutableMap()
          .remove(key);
      return this;
    }
    /**
     * Use alternate mutation accessors instead.
     */
    @java.lang.Deprecated
    public java.util.Map<java.lang.String, com.caliverse.admin.domain.RabbitMq.message.Item>
        getMutableHasItems() {
      bitField0_ |= 0x00000001;
      return internalGetMutableHasItems().getMutableMap();
    }
    /**
     * <pre>
     * &lt;ITEM_GUID, Item&gt;	
     * </pre>
     *
     * <code>map&lt;string, .Item&gt; hasItems = 1;</code>
     */
    public Builder putHasItems(
        java.lang.String key,
        com.caliverse.admin.domain.RabbitMq.message.Item value) {
      if (key == null) { throw new NullPointerException("map key"); }
      if (value == null) { throw new NullPointerException("map value"); }
      internalGetMutableHasItems().getMutableMap()
          .put(key, value);
      bitField0_ |= 0x00000001;
      return this;
    }
    /**
     * <pre>
     * &lt;ITEM_GUID, Item&gt;	
     * </pre>
     *
     * <code>map&lt;string, .Item&gt; hasItems = 1;</code>
     */
    public Builder putAllHasItems(
        java.util.Map<java.lang.String, com.caliverse.admin.domain.RabbitMq.message.Item> values) {
      internalGetMutableHasItems().getMutableMap()
          .putAll(values);
      bitField0_ |= 0x00000001;
      return this;
    }

    private com.google.protobuf.MapField<
        java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo> hasTattooInfos_;
    private com.google.protobuf.MapField<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo>
        internalGetHasTattooInfos() {
      if (hasTattooInfos_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            HasTattooInfosDefaultEntryHolder.defaultEntry);
      }
      return hasTattooInfos_;
    }
    private com.google.protobuf.MapField<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo>
        internalGetMutableHasTattooInfos() {
      if (hasTattooInfos_ == null) {
        hasTattooInfos_ = com.google.protobuf.MapField.newMapField(
            HasTattooInfosDefaultEntryHolder.defaultEntry);
      }
      if (!hasTattooInfos_.isMutable()) {
        hasTattooInfos_ = hasTattooInfos_.copy();
      }
      bitField0_ |= 0x00000002;
      onChanged();
      return hasTattooInfos_;
    }
    public int getHasTattooInfosCount() {
      return internalGetHasTattooInfos().getMap().size();
    }
    /**
     * <pre>
     * &lt;TattooSlotType, TattooSlotInfo&gt;		
     * </pre>
     *
     * <code>map&lt;int32, .TattooSlotInfo&gt; hasTattooInfos = 5;</code>
     */
    @java.lang.Override
    public boolean containsHasTattooInfos(
        int key) {
      
      return internalGetHasTattooInfos().getMap().containsKey(key);
    }
    /**
     * Use {@link #getHasTattooInfosMap()} instead.
     */
    @java.lang.Override
    @java.lang.Deprecated
    public java.util.Map<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo> getHasTattooInfos() {
      return getHasTattooInfosMap();
    }
    /**
     * <pre>
     * &lt;TattooSlotType, TattooSlotInfo&gt;		
     * </pre>
     *
     * <code>map&lt;int32, .TattooSlotInfo&gt; hasTattooInfos = 5;</code>
     */
    @java.lang.Override
    public java.util.Map<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo> getHasTattooInfosMap() {
      return internalGetHasTattooInfos().getMap();
    }
    /**
     * <pre>
     * &lt;TattooSlotType, TattooSlotInfo&gt;		
     * </pre>
     *
     * <code>map&lt;int32, .TattooSlotInfo&gt; hasTattooInfos = 5;</code>
     */
    @java.lang.Override
    public /* nullable */
com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo getHasTattooInfosOrDefault(
        int key,
        /* nullable */
com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo defaultValue) {
      
      java.util.Map<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo> map =
          internalGetHasTattooInfos().getMap();
      return map.containsKey(key) ? map.get(key) : defaultValue;
    }
    /**
     * <pre>
     * &lt;TattooSlotType, TattooSlotInfo&gt;		
     * </pre>
     *
     * <code>map&lt;int32, .TattooSlotInfo&gt; hasTattooInfos = 5;</code>
     */
    @java.lang.Override
    public com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo getHasTattooInfosOrThrow(
        int key) {
      
      java.util.Map<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo> map =
          internalGetHasTattooInfos().getMap();
      if (!map.containsKey(key)) {
        throw new java.lang.IllegalArgumentException();
      }
      return map.get(key);
    }
    public Builder clearHasTattooInfos() {
      bitField0_ = (bitField0_ & ~0x00000002);
      internalGetMutableHasTattooInfos().getMutableMap()
          .clear();
      return this;
    }
    /**
     * <pre>
     * &lt;TattooSlotType, TattooSlotInfo&gt;		
     * </pre>
     *
     * <code>map&lt;int32, .TattooSlotInfo&gt; hasTattooInfos = 5;</code>
     */
    public Builder removeHasTattooInfos(
        int key) {
      
      internalGetMutableHasTattooInfos().getMutableMap()
          .remove(key);
      return this;
    }
    /**
     * Use alternate mutation accessors instead.
     */
    @java.lang.Deprecated
    public java.util.Map<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo>
        getMutableHasTattooInfos() {
      bitField0_ |= 0x00000002;
      return internalGetMutableHasTattooInfos().getMutableMap();
    }
    /**
     * <pre>
     * &lt;TattooSlotType, TattooSlotInfo&gt;		
     * </pre>
     *
     * <code>map&lt;int32, .TattooSlotInfo&gt; hasTattooInfos = 5;</code>
     */
    public Builder putHasTattooInfos(
        int key,
        com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo value) {
      
      if (value == null) { throw new NullPointerException("map value"); }
      internalGetMutableHasTattooInfos().getMutableMap()
          .put(key, value);
      bitField0_ |= 0x00000002;
      return this;
    }
    /**
     * <pre>
     * &lt;TattooSlotType, TattooSlotInfo&gt;		
     * </pre>
     *
     * <code>map&lt;int32, .TattooSlotInfo&gt; hasTattooInfos = 5;</code>
     */
    public Builder putAllHasTattooInfos(
        java.util.Map<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.TattooSlotInfo> values) {
      internalGetMutableHasTattooInfos().getMutableMap()
          .putAll(values);
      bitField0_ |= 0x00000002;
      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:UgcNpcItems)
  }

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

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

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

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

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

}

