// 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 MoneyResult}
 */
public final class MoneyResult extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:MoneyResult)
    MoneyResultOrBuilder {
private static final long serialVersionUID = 0L;
  // Use MoneyResult.newBuilder() to construct.
  private MoneyResult(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private MoneyResult() {
  }

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

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

  @SuppressWarnings({"rawtypes"})
  @java.lang.Override
  protected com.google.protobuf.MapField internalGetMapField(
      int number) {
    switch (number) {
      case 1:
        return internalGetMoneys();
      case 2:
        return internalGetDeltas();
      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_MoneyResult_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.caliverse.admin.domain.RabbitMq.message.MoneyResult.class, com.caliverse.admin.domain.RabbitMq.message.MoneyResult.Builder.class);
  }

  public static final int MONEYS_FIELD_NUMBER = 1;
  private static final class MoneysDefaultEntryHolder {
    static final com.google.protobuf.MapEntry<
        java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.Money> defaultEntry =
            com.google.protobuf.MapEntry
            .<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.Money>newDefaultInstance(
                com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MoneyResult_MoneysEntry_descriptor, 
                com.google.protobuf.WireFormat.FieldType.INT32,
                0,
                com.google.protobuf.WireFormat.FieldType.MESSAGE,
                com.caliverse.admin.domain.RabbitMq.message.Money.getDefaultInstance());
  }
  @SuppressWarnings("serial")
  private com.google.protobuf.MapField<
      java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.Money> moneys_;
  private com.google.protobuf.MapField<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.Money>
  internalGetMoneys() {
    if (moneys_ == null) {
      return com.google.protobuf.MapField.emptyMapField(
          MoneysDefaultEntryHolder.defaultEntry);
    }
    return moneys_;
  }
  public int getMoneysCount() {
    return internalGetMoneys().getMap().size();
  }
  /**
   * <pre>
   * &lt;CurrencyType, Money&gt; : 최종값
   * </pre>
   *
   * <code>map&lt;int32, .Money&gt; moneys = 1;</code>
   */
  @java.lang.Override
  public boolean containsMoneys(
      int key) {
    
    return internalGetMoneys().getMap().containsKey(key);
  }
  /**
   * Use {@link #getMoneysMap()} instead.
   */
  @java.lang.Override
  @java.lang.Deprecated
  public java.util.Map<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.Money> getMoneys() {
    return getMoneysMap();
  }
  /**
   * <pre>
   * &lt;CurrencyType, Money&gt; : 최종값
   * </pre>
   *
   * <code>map&lt;int32, .Money&gt; moneys = 1;</code>
   */
  @java.lang.Override
  public java.util.Map<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.Money> getMoneysMap() {
    return internalGetMoneys().getMap();
  }
  /**
   * <pre>
   * &lt;CurrencyType, Money&gt; : 최종값
   * </pre>
   *
   * <code>map&lt;int32, .Money&gt; moneys = 1;</code>
   */
  @java.lang.Override
  public /* nullable */
com.caliverse.admin.domain.RabbitMq.message.Money getMoneysOrDefault(
      int key,
      /* nullable */
com.caliverse.admin.domain.RabbitMq.message.Money defaultValue) {
    
    java.util.Map<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.Money> map =
        internalGetMoneys().getMap();
    return map.containsKey(key) ? map.get(key) : defaultValue;
  }
  /**
   * <pre>
   * &lt;CurrencyType, Money&gt; : 최종값
   * </pre>
   *
   * <code>map&lt;int32, .Money&gt; moneys = 1;</code>
   */
  @java.lang.Override
  public com.caliverse.admin.domain.RabbitMq.message.Money getMoneysOrThrow(
      int key) {
    
    java.util.Map<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.Money> map =
        internalGetMoneys().getMap();
    if (!map.containsKey(key)) {
      throw new java.lang.IllegalArgumentException();
    }
    return map.get(key);
  }

  public static final int DELTAS_FIELD_NUMBER = 2;
  private static final class DeltasDefaultEntryHolder {
    static final com.google.protobuf.MapEntry<
        java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount> defaultEntry =
            com.google.protobuf.MapEntry
            .<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount>newDefaultInstance(
                com.caliverse.admin.domain.RabbitMq.message.GameDefine.internal_static_MoneyResult_DeltasEntry_descriptor, 
                com.google.protobuf.WireFormat.FieldType.INT32,
                0,
                com.google.protobuf.WireFormat.FieldType.MESSAGE,
                com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount.getDefaultInstance());
  }
  @SuppressWarnings("serial")
  private com.google.protobuf.MapField<
      java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount> deltas_;
  private com.google.protobuf.MapField<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount>
  internalGetDeltas() {
    if (deltas_ == null) {
      return com.google.protobuf.MapField.emptyMapField(
          DeltasDefaultEntryHolder.defaultEntry);
    }
    return deltas_;
  }
  public int getDeltasCount() {
    return internalGetDeltas().getMap().size();
  }
  /**
   * <pre>
   * &lt;CurrencyType, MoneyDeltaAmount&gt; : 변화량
   * </pre>
   *
   * <code>map&lt;int32, .MoneyDeltaAmount&gt; deltas = 2;</code>
   */
  @java.lang.Override
  public boolean containsDeltas(
      int key) {
    
    return internalGetDeltas().getMap().containsKey(key);
  }
  /**
   * Use {@link #getDeltasMap()} instead.
   */
  @java.lang.Override
  @java.lang.Deprecated
  public java.util.Map<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount> getDeltas() {
    return getDeltasMap();
  }
  /**
   * <pre>
   * &lt;CurrencyType, MoneyDeltaAmount&gt; : 변화량
   * </pre>
   *
   * <code>map&lt;int32, .MoneyDeltaAmount&gt; deltas = 2;</code>
   */
  @java.lang.Override
  public java.util.Map<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount> getDeltasMap() {
    return internalGetDeltas().getMap();
  }
  /**
   * <pre>
   * &lt;CurrencyType, MoneyDeltaAmount&gt; : 변화량
   * </pre>
   *
   * <code>map&lt;int32, .MoneyDeltaAmount&gt; deltas = 2;</code>
   */
  @java.lang.Override
  public /* nullable */
com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount getDeltasOrDefault(
      int key,
      /* nullable */
com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount defaultValue) {
    
    java.util.Map<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount> map =
        internalGetDeltas().getMap();
    return map.containsKey(key) ? map.get(key) : defaultValue;
  }
  /**
   * <pre>
   * &lt;CurrencyType, MoneyDeltaAmount&gt; : 변화량
   * </pre>
   *
   * <code>map&lt;int32, .MoneyDeltaAmount&gt; deltas = 2;</code>
   */
  @java.lang.Override
  public com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount getDeltasOrThrow(
      int key) {
    
    java.util.Map<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount> map =
        internalGetDeltas().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
      .serializeIntegerMapTo(
        output,
        internalGetMoneys(),
        MoneysDefaultEntryHolder.defaultEntry,
        1);
    com.google.protobuf.GeneratedMessageV3
      .serializeIntegerMapTo(
        output,
        internalGetDeltas(),
        DeltasDefaultEntryHolder.defaultEntry,
        2);
    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.Integer, com.caliverse.admin.domain.RabbitMq.message.Money> entry
         : internalGetMoneys().getMap().entrySet()) {
      com.google.protobuf.MapEntry<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.Money>
      moneys__ = MoneysDefaultEntryHolder.defaultEntry.newBuilderForType()
          .setKey(entry.getKey())
          .setValue(entry.getValue())
          .build();
      size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, moneys__);
    }
    for (java.util.Map.Entry<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount> entry
         : internalGetDeltas().getMap().entrySet()) {
      com.google.protobuf.MapEntry<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount>
      deltas__ = DeltasDefaultEntryHolder.defaultEntry.newBuilderForType()
          .setKey(entry.getKey())
          .setValue(entry.getValue())
          .build();
      size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, deltas__);
    }
    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.MoneyResult)) {
      return super.equals(obj);
    }
    com.caliverse.admin.domain.RabbitMq.message.MoneyResult other = (com.caliverse.admin.domain.RabbitMq.message.MoneyResult) obj;

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

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

    @SuppressWarnings({"rawtypes"})
    protected com.google.protobuf.MapField internalGetMapField(
        int number) {
      switch (number) {
        case 1:
          return internalGetMoneys();
        case 2:
          return internalGetDeltas();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    @SuppressWarnings({"rawtypes"})
    protected com.google.protobuf.MapField internalGetMutableMapField(
        int number) {
      switch (number) {
        case 1:
          return internalGetMutableMoneys();
        case 2:
          return internalGetMutableDeltas();
        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_MoneyResult_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.caliverse.admin.domain.RabbitMq.message.MoneyResult.class, com.caliverse.admin.domain.RabbitMq.message.MoneyResult.Builder.class);
    }

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

    }

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

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

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

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

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

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

    private void buildPartial0(com.caliverse.admin.domain.RabbitMq.message.MoneyResult result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.moneys_ = internalGetMoneys();
        result.moneys_.makeImmutable();
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.deltas_ = internalGetDeltas();
        result.deltas_.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.MoneyResult) {
        return mergeFrom((com.caliverse.admin.domain.RabbitMq.message.MoneyResult)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.caliverse.admin.domain.RabbitMq.message.MoneyResult other) {
      if (other == com.caliverse.admin.domain.RabbitMq.message.MoneyResult.getDefaultInstance()) return this;
      internalGetMutableMoneys().mergeFrom(
          other.internalGetMoneys());
      bitField0_ |= 0x00000001;
      internalGetMutableDeltas().mergeFrom(
          other.internalGetDeltas());
      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.Integer, com.caliverse.admin.domain.RabbitMq.message.Money>
              moneys__ = input.readMessage(
                  MoneysDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
              internalGetMutableMoneys().getMutableMap().put(
                  moneys__.getKey(), moneys__.getValue());
              bitField0_ |= 0x00000001;
              break;
            } // case 10
            case 18: {
              com.google.protobuf.MapEntry<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount>
              deltas__ = input.readMessage(
                  DeltasDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
              internalGetMutableDeltas().getMutableMap().put(
                  deltas__.getKey(), deltas__.getValue());
              bitField0_ |= 0x00000002;
              break;
            } // case 18
            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.Integer, com.caliverse.admin.domain.RabbitMq.message.Money> moneys_;
    private com.google.protobuf.MapField<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.Money>
        internalGetMoneys() {
      if (moneys_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            MoneysDefaultEntryHolder.defaultEntry);
      }
      return moneys_;
    }
    private com.google.protobuf.MapField<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.Money>
        internalGetMutableMoneys() {
      if (moneys_ == null) {
        moneys_ = com.google.protobuf.MapField.newMapField(
            MoneysDefaultEntryHolder.defaultEntry);
      }
      if (!moneys_.isMutable()) {
        moneys_ = moneys_.copy();
      }
      bitField0_ |= 0x00000001;
      onChanged();
      return moneys_;
    }
    public int getMoneysCount() {
      return internalGetMoneys().getMap().size();
    }
    /**
     * <pre>
     * &lt;CurrencyType, Money&gt; : 최종값
     * </pre>
     *
     * <code>map&lt;int32, .Money&gt; moneys = 1;</code>
     */
    @java.lang.Override
    public boolean containsMoneys(
        int key) {
      
      return internalGetMoneys().getMap().containsKey(key);
    }
    /**
     * Use {@link #getMoneysMap()} instead.
     */
    @java.lang.Override
    @java.lang.Deprecated
    public java.util.Map<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.Money> getMoneys() {
      return getMoneysMap();
    }
    /**
     * <pre>
     * &lt;CurrencyType, Money&gt; : 최종값
     * </pre>
     *
     * <code>map&lt;int32, .Money&gt; moneys = 1;</code>
     */
    @java.lang.Override
    public java.util.Map<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.Money> getMoneysMap() {
      return internalGetMoneys().getMap();
    }
    /**
     * <pre>
     * &lt;CurrencyType, Money&gt; : 최종값
     * </pre>
     *
     * <code>map&lt;int32, .Money&gt; moneys = 1;</code>
     */
    @java.lang.Override
    public /* nullable */
com.caliverse.admin.domain.RabbitMq.message.Money getMoneysOrDefault(
        int key,
        /* nullable */
com.caliverse.admin.domain.RabbitMq.message.Money defaultValue) {
      
      java.util.Map<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.Money> map =
          internalGetMoneys().getMap();
      return map.containsKey(key) ? map.get(key) : defaultValue;
    }
    /**
     * <pre>
     * &lt;CurrencyType, Money&gt; : 최종값
     * </pre>
     *
     * <code>map&lt;int32, .Money&gt; moneys = 1;</code>
     */
    @java.lang.Override
    public com.caliverse.admin.domain.RabbitMq.message.Money getMoneysOrThrow(
        int key) {
      
      java.util.Map<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.Money> map =
          internalGetMoneys().getMap();
      if (!map.containsKey(key)) {
        throw new java.lang.IllegalArgumentException();
      }
      return map.get(key);
    }
    public Builder clearMoneys() {
      bitField0_ = (bitField0_ & ~0x00000001);
      internalGetMutableMoneys().getMutableMap()
          .clear();
      return this;
    }
    /**
     * <pre>
     * &lt;CurrencyType, Money&gt; : 최종값
     * </pre>
     *
     * <code>map&lt;int32, .Money&gt; moneys = 1;</code>
     */
    public Builder removeMoneys(
        int key) {
      
      internalGetMutableMoneys().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.Money>
        getMutableMoneys() {
      bitField0_ |= 0x00000001;
      return internalGetMutableMoneys().getMutableMap();
    }
    /**
     * <pre>
     * &lt;CurrencyType, Money&gt; : 최종값
     * </pre>
     *
     * <code>map&lt;int32, .Money&gt; moneys = 1;</code>
     */
    public Builder putMoneys(
        int key,
        com.caliverse.admin.domain.RabbitMq.message.Money value) {
      
      if (value == null) { throw new NullPointerException("map value"); }
      internalGetMutableMoneys().getMutableMap()
          .put(key, value);
      bitField0_ |= 0x00000001;
      return this;
    }
    /**
     * <pre>
     * &lt;CurrencyType, Money&gt; : 최종값
     * </pre>
     *
     * <code>map&lt;int32, .Money&gt; moneys = 1;</code>
     */
    public Builder putAllMoneys(
        java.util.Map<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.Money> values) {
      internalGetMutableMoneys().getMutableMap()
          .putAll(values);
      bitField0_ |= 0x00000001;
      return this;
    }

    private com.google.protobuf.MapField<
        java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount> deltas_;
    private com.google.protobuf.MapField<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount>
        internalGetDeltas() {
      if (deltas_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            DeltasDefaultEntryHolder.defaultEntry);
      }
      return deltas_;
    }
    private com.google.protobuf.MapField<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount>
        internalGetMutableDeltas() {
      if (deltas_ == null) {
        deltas_ = com.google.protobuf.MapField.newMapField(
            DeltasDefaultEntryHolder.defaultEntry);
      }
      if (!deltas_.isMutable()) {
        deltas_ = deltas_.copy();
      }
      bitField0_ |= 0x00000002;
      onChanged();
      return deltas_;
    }
    public int getDeltasCount() {
      return internalGetDeltas().getMap().size();
    }
    /**
     * <pre>
     * &lt;CurrencyType, MoneyDeltaAmount&gt; : 변화량
     * </pre>
     *
     * <code>map&lt;int32, .MoneyDeltaAmount&gt; deltas = 2;</code>
     */
    @java.lang.Override
    public boolean containsDeltas(
        int key) {
      
      return internalGetDeltas().getMap().containsKey(key);
    }
    /**
     * Use {@link #getDeltasMap()} instead.
     */
    @java.lang.Override
    @java.lang.Deprecated
    public java.util.Map<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount> getDeltas() {
      return getDeltasMap();
    }
    /**
     * <pre>
     * &lt;CurrencyType, MoneyDeltaAmount&gt; : 변화량
     * </pre>
     *
     * <code>map&lt;int32, .MoneyDeltaAmount&gt; deltas = 2;</code>
     */
    @java.lang.Override
    public java.util.Map<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount> getDeltasMap() {
      return internalGetDeltas().getMap();
    }
    /**
     * <pre>
     * &lt;CurrencyType, MoneyDeltaAmount&gt; : 변화량
     * </pre>
     *
     * <code>map&lt;int32, .MoneyDeltaAmount&gt; deltas = 2;</code>
     */
    @java.lang.Override
    public /* nullable */
com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount getDeltasOrDefault(
        int key,
        /* nullable */
com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount defaultValue) {
      
      java.util.Map<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount> map =
          internalGetDeltas().getMap();
      return map.containsKey(key) ? map.get(key) : defaultValue;
    }
    /**
     * <pre>
     * &lt;CurrencyType, MoneyDeltaAmount&gt; : 변화량
     * </pre>
     *
     * <code>map&lt;int32, .MoneyDeltaAmount&gt; deltas = 2;</code>
     */
    @java.lang.Override
    public com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount getDeltasOrThrow(
        int key) {
      
      java.util.Map<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount> map =
          internalGetDeltas().getMap();
      if (!map.containsKey(key)) {
        throw new java.lang.IllegalArgumentException();
      }
      return map.get(key);
    }
    public Builder clearDeltas() {
      bitField0_ = (bitField0_ & ~0x00000002);
      internalGetMutableDeltas().getMutableMap()
          .clear();
      return this;
    }
    /**
     * <pre>
     * &lt;CurrencyType, MoneyDeltaAmount&gt; : 변화량
     * </pre>
     *
     * <code>map&lt;int32, .MoneyDeltaAmount&gt; deltas = 2;</code>
     */
    public Builder removeDeltas(
        int key) {
      
      internalGetMutableDeltas().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.MoneyDeltaAmount>
        getMutableDeltas() {
      bitField0_ |= 0x00000002;
      return internalGetMutableDeltas().getMutableMap();
    }
    /**
     * <pre>
     * &lt;CurrencyType, MoneyDeltaAmount&gt; : 변화량
     * </pre>
     *
     * <code>map&lt;int32, .MoneyDeltaAmount&gt; deltas = 2;</code>
     */
    public Builder putDeltas(
        int key,
        com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount value) {
      
      if (value == null) { throw new NullPointerException("map value"); }
      internalGetMutableDeltas().getMutableMap()
          .put(key, value);
      bitField0_ |= 0x00000002;
      return this;
    }
    /**
     * <pre>
     * &lt;CurrencyType, MoneyDeltaAmount&gt; : 변화량
     * </pre>
     *
     * <code>map&lt;int32, .MoneyDeltaAmount&gt; deltas = 2;</code>
     */
    public Builder putAllDeltas(
        java.util.Map<java.lang.Integer, com.caliverse.admin.domain.RabbitMq.message.MoneyDeltaAmount> values) {
      internalGetMutableDeltas().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:MoneyResult)
  }

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

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

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

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

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

}

