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

package io.grasscutter.net.proto.activity;

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

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private SumoActivityDetailInfo(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    int mutable_bitField0_ = 0;
    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
        com.google.protobuf.UnknownFieldSet.newBuilder();
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          case 8: {

            hGGEHLMHKMP_ = input.readUInt32();
            break;
          }
          case 18: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              sumoStageMap_ = com.google.protobuf.MapField.newMapField(
                  SumoStageMapDefaultEntryHolder.defaultEntry);
              mutable_bitField0_ |= 0x00000001;
            }
            com.google.protobuf.MapEntry<java.lang.Integer, io.grasscutter.net.proto.activity.SumoStageData>
            sumoStageMap__ = input.readMessage(
                SumoStageMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
            sumoStageMap_.getMutableMap().put(
                sumoStageMap__.getKey(), sumoStageMap__.getValue());
            break;
          }
          case 72: {

            iBCPGOOAJKG_ = input.readUInt32();
            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return io.grasscutter.net.proto.activity.Activity.internal_static_SumoActivityDetailInfo_descriptor;
  }

  @SuppressWarnings({"rawtypes"})
  @java.lang.Override
  protected com.google.protobuf.MapField internalGetMapField(
      int number) {
    switch (number) {
      case 2:
        return internalGetSumoStageMap();
      default:
        throw new RuntimeException(
            "Invalid map field number: " + number);
    }
  }
  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return io.grasscutter.net.proto.activity.Activity.internal_static_SumoActivityDetailInfo_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            io.grasscutter.net.proto.activity.SumoActivityDetailInfo.class, io.grasscutter.net.proto.activity.SumoActivityDetailInfo.Builder.class);
  }

  public static final int SUMO_STAGE_MAP_FIELD_NUMBER = 2;
  private static final class SumoStageMapDefaultEntryHolder {
    static final com.google.protobuf.MapEntry<
        java.lang.Integer, io.grasscutter.net.proto.activity.SumoStageData> defaultEntry =
            com.google.protobuf.MapEntry
            .<java.lang.Integer, io.grasscutter.net.proto.activity.SumoStageData>newDefaultInstance(
                io.grasscutter.net.proto.activity.Activity.internal_static_SumoActivityDetailInfo_SumoStageMapEntry_descriptor, 
                com.google.protobuf.WireFormat.FieldType.UINT32,
                0,
                com.google.protobuf.WireFormat.FieldType.MESSAGE,
                io.grasscutter.net.proto.activity.SumoStageData.getDefaultInstance());
  }
  private com.google.protobuf.MapField<
      java.lang.Integer, io.grasscutter.net.proto.activity.SumoStageData> sumoStageMap_;
  private com.google.protobuf.MapField<java.lang.Integer, io.grasscutter.net.proto.activity.SumoStageData>
  internalGetSumoStageMap() {
    if (sumoStageMap_ == null) {
      return com.google.protobuf.MapField.emptyMapField(
          SumoStageMapDefaultEntryHolder.defaultEntry);
    }
    return sumoStageMap_;
  }

  public int getSumoStageMapCount() {
    return internalGetSumoStageMap().getMap().size();
  }
  /**
   * <code>map&lt;uint32, .SumoStageData&gt; sumo_stage_map = 2;</code>
   */

  @java.lang.Override
  public boolean containsSumoStageMap(
      int key) {
    
    return internalGetSumoStageMap().getMap().containsKey(key);
  }
  /**
   * Use {@link #getSumoStageMapMap()} instead.
   */
  @java.lang.Override
  @java.lang.Deprecated
  public java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.SumoStageData> getSumoStageMap() {
    return getSumoStageMapMap();
  }
  /**
   * <code>map&lt;uint32, .SumoStageData&gt; sumo_stage_map = 2;</code>
   */
  @java.lang.Override

  public java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.SumoStageData> getSumoStageMapMap() {
    return internalGetSumoStageMap().getMap();
  }
  /**
   * <code>map&lt;uint32, .SumoStageData&gt; sumo_stage_map = 2;</code>
   */
  @java.lang.Override

  public io.grasscutter.net.proto.activity.SumoStageData getSumoStageMapOrDefault(
      int key,
      io.grasscutter.net.proto.activity.SumoStageData defaultValue) {
    
    java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.SumoStageData> map =
        internalGetSumoStageMap().getMap();
    return map.containsKey(key) ? map.get(key) : defaultValue;
  }
  /**
   * <code>map&lt;uint32, .SumoStageData&gt; sumo_stage_map = 2;</code>
   */
  @java.lang.Override

  public io.grasscutter.net.proto.activity.SumoStageData getSumoStageMapOrThrow(
      int key) {
    
    java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.SumoStageData> map =
        internalGetSumoStageMap().getMap();
    if (!map.containsKey(key)) {
      throw new java.lang.IllegalArgumentException();
    }
    return map.get(key);
  }

  public static final int HGGEHLMHKMP_FIELD_NUMBER = 1;
  private int hGGEHLMHKMP_;
  /**
   * <code>uint32 HGGEHLMHKMP = 1;</code>
   * @return The hGGEHLMHKMP.
   */
  @java.lang.Override
  public int getHGGEHLMHKMP() {
    return hGGEHLMHKMP_;
  }

  public static final int IBCPGOOAJKG_FIELD_NUMBER = 9;
  private int iBCPGOOAJKG_;
  /**
   * <code>uint32 IBCPGOOAJKG = 9;</code>
   * @return The iBCPGOOAJKG.
   */
  @java.lang.Override
  public int getIBCPGOOAJKG() {
    return iBCPGOOAJKG_;
  }

  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 (hGGEHLMHKMP_ != 0) {
      output.writeUInt32(1, hGGEHLMHKMP_);
    }
    com.google.protobuf.GeneratedMessageV3
      .serializeIntegerMapTo(
        output,
        internalGetSumoStageMap(),
        SumoStageMapDefaultEntryHolder.defaultEntry,
        2);
    if (iBCPGOOAJKG_ != 0) {
      output.writeUInt32(9, iBCPGOOAJKG_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (hGGEHLMHKMP_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(1, hGGEHLMHKMP_);
    }
    for (java.util.Map.Entry<java.lang.Integer, io.grasscutter.net.proto.activity.SumoStageData> entry
         : internalGetSumoStageMap().getMap().entrySet()) {
      com.google.protobuf.MapEntry<java.lang.Integer, io.grasscutter.net.proto.activity.SumoStageData>
      sumoStageMap__ = SumoStageMapDefaultEntryHolder.defaultEntry.newBuilderForType()
          .setKey(entry.getKey())
          .setValue(entry.getValue())
          .build();
      size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, sumoStageMap__);
    }
    if (iBCPGOOAJKG_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(9, iBCPGOOAJKG_);
    }
    size += unknownFields.getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof io.grasscutter.net.proto.activity.SumoActivityDetailInfo)) {
      return super.equals(obj);
    }
    io.grasscutter.net.proto.activity.SumoActivityDetailInfo other = (io.grasscutter.net.proto.activity.SumoActivityDetailInfo) obj;

    if (!internalGetSumoStageMap().equals(
        other.internalGetSumoStageMap())) return false;
    if (getHGGEHLMHKMP()
        != other.getHGGEHLMHKMP()) return false;
    if (getIBCPGOOAJKG()
        != other.getIBCPGOOAJKG()) return false;
    if (!unknownFields.equals(other.unknownFields)) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    if (!internalGetSumoStageMap().getMap().isEmpty()) {
      hash = (37 * hash) + SUMO_STAGE_MAP_FIELD_NUMBER;
      hash = (53 * hash) + internalGetSumoStageMap().hashCode();
    }
    hash = (37 * hash) + HGGEHLMHKMP_FIELD_NUMBER;
    hash = (53 * hash) + getHGGEHLMHKMP();
    hash = (37 * hash) + IBCPGOOAJKG_FIELD_NUMBER;
    hash = (53 * hash) + getIBCPGOOAJKG();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static io.grasscutter.net.proto.activity.SumoActivityDetailInfo parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static io.grasscutter.net.proto.activity.SumoActivityDetailInfo parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static io.grasscutter.net.proto.activity.SumoActivityDetailInfo parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static io.grasscutter.net.proto.activity.SumoActivityDetailInfo parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static io.grasscutter.net.proto.activity.SumoActivityDetailInfo parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static io.grasscutter.net.proto.activity.SumoActivityDetailInfo parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static io.grasscutter.net.proto.activity.SumoActivityDetailInfo parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static io.grasscutter.net.proto.activity.SumoActivityDetailInfo 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 io.grasscutter.net.proto.activity.SumoActivityDetailInfo parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static io.grasscutter.net.proto.activity.SumoActivityDetailInfo 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 io.grasscutter.net.proto.activity.SumoActivityDetailInfo parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static io.grasscutter.net.proto.activity.SumoActivityDetailInfo 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(io.grasscutter.net.proto.activity.SumoActivityDetailInfo prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  @java.lang.Override
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE
        ? new Builder() : new Builder().mergeFrom(this);
  }

  @java.lang.Override
  protected Builder newBuilderForType(
      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * Protobuf type {@code SumoActivityDetailInfo}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:SumoActivityDetailInfo)
      io.grasscutter.net.proto.activity.SumoActivityDetailInfoOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.grasscutter.net.proto.activity.Activity.internal_static_SumoActivityDetailInfo_descriptor;
    }

    @SuppressWarnings({"rawtypes"})
    protected com.google.protobuf.MapField internalGetMapField(
        int number) {
      switch (number) {
        case 2:
          return internalGetSumoStageMap();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    @SuppressWarnings({"rawtypes"})
    protected com.google.protobuf.MapField internalGetMutableMapField(
        int number) {
      switch (number) {
        case 2:
          return internalGetMutableSumoStageMap();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.grasscutter.net.proto.activity.Activity.internal_static_SumoActivityDetailInfo_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.grasscutter.net.proto.activity.SumoActivityDetailInfo.class, io.grasscutter.net.proto.activity.SumoActivityDetailInfo.Builder.class);
    }

    // Construct using io.grasscutter.net.proto.activity.SumoActivityDetailInfo.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      internalGetMutableSumoStageMap().clear();
      hGGEHLMHKMP_ = 0;

      iBCPGOOAJKG_ = 0;

      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return io.grasscutter.net.proto.activity.Activity.internal_static_SumoActivityDetailInfo_descriptor;
    }

    @java.lang.Override
    public io.grasscutter.net.proto.activity.SumoActivityDetailInfo getDefaultInstanceForType() {
      return io.grasscutter.net.proto.activity.SumoActivityDetailInfo.getDefaultInstance();
    }

    @java.lang.Override
    public io.grasscutter.net.proto.activity.SumoActivityDetailInfo build() {
      io.grasscutter.net.proto.activity.SumoActivityDetailInfo result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public io.grasscutter.net.proto.activity.SumoActivityDetailInfo buildPartial() {
      io.grasscutter.net.proto.activity.SumoActivityDetailInfo result = new io.grasscutter.net.proto.activity.SumoActivityDetailInfo(this);
      int from_bitField0_ = bitField0_;
      result.sumoStageMap_ = internalGetSumoStageMap();
      result.sumoStageMap_.makeImmutable();
      result.hGGEHLMHKMP_ = hGGEHLMHKMP_;
      result.iBCPGOOAJKG_ = iBCPGOOAJKG_;
      onBuilt();
      return result;
    }

    @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 io.grasscutter.net.proto.activity.SumoActivityDetailInfo) {
        return mergeFrom((io.grasscutter.net.proto.activity.SumoActivityDetailInfo)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(io.grasscutter.net.proto.activity.SumoActivityDetailInfo other) {
      if (other == io.grasscutter.net.proto.activity.SumoActivityDetailInfo.getDefaultInstance()) return this;
      internalGetMutableSumoStageMap().mergeFrom(
          other.internalGetSumoStageMap());
      if (other.getHGGEHLMHKMP() != 0) {
        setHGGEHLMHKMP(other.getHGGEHLMHKMP());
      }
      if (other.getIBCPGOOAJKG() != 0) {
        setIBCPGOOAJKG(other.getIBCPGOOAJKG());
      }
      this.mergeUnknownFields(other.unknownFields);
      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 {
      io.grasscutter.net.proto.activity.SumoActivityDetailInfo parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (io.grasscutter.net.proto.activity.SumoActivityDetailInfo) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int bitField0_;

    private com.google.protobuf.MapField<
        java.lang.Integer, io.grasscutter.net.proto.activity.SumoStageData> sumoStageMap_;
    private com.google.protobuf.MapField<java.lang.Integer, io.grasscutter.net.proto.activity.SumoStageData>
    internalGetSumoStageMap() {
      if (sumoStageMap_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            SumoStageMapDefaultEntryHolder.defaultEntry);
      }
      return sumoStageMap_;
    }
    private com.google.protobuf.MapField<java.lang.Integer, io.grasscutter.net.proto.activity.SumoStageData>
    internalGetMutableSumoStageMap() {
      onChanged();;
      if (sumoStageMap_ == null) {
        sumoStageMap_ = com.google.protobuf.MapField.newMapField(
            SumoStageMapDefaultEntryHolder.defaultEntry);
      }
      if (!sumoStageMap_.isMutable()) {
        sumoStageMap_ = sumoStageMap_.copy();
      }
      return sumoStageMap_;
    }

    public int getSumoStageMapCount() {
      return internalGetSumoStageMap().getMap().size();
    }
    /**
     * <code>map&lt;uint32, .SumoStageData&gt; sumo_stage_map = 2;</code>
     */

    @java.lang.Override
    public boolean containsSumoStageMap(
        int key) {
      
      return internalGetSumoStageMap().getMap().containsKey(key);
    }
    /**
     * Use {@link #getSumoStageMapMap()} instead.
     */
    @java.lang.Override
    @java.lang.Deprecated
    public java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.SumoStageData> getSumoStageMap() {
      return getSumoStageMapMap();
    }
    /**
     * <code>map&lt;uint32, .SumoStageData&gt; sumo_stage_map = 2;</code>
     */
    @java.lang.Override

    public java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.SumoStageData> getSumoStageMapMap() {
      return internalGetSumoStageMap().getMap();
    }
    /**
     * <code>map&lt;uint32, .SumoStageData&gt; sumo_stage_map = 2;</code>
     */
    @java.lang.Override

    public io.grasscutter.net.proto.activity.SumoStageData getSumoStageMapOrDefault(
        int key,
        io.grasscutter.net.proto.activity.SumoStageData defaultValue) {
      
      java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.SumoStageData> map =
          internalGetSumoStageMap().getMap();
      return map.containsKey(key) ? map.get(key) : defaultValue;
    }
    /**
     * <code>map&lt;uint32, .SumoStageData&gt; sumo_stage_map = 2;</code>
     */
    @java.lang.Override

    public io.grasscutter.net.proto.activity.SumoStageData getSumoStageMapOrThrow(
        int key) {
      
      java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.SumoStageData> map =
          internalGetSumoStageMap().getMap();
      if (!map.containsKey(key)) {
        throw new java.lang.IllegalArgumentException();
      }
      return map.get(key);
    }

    public Builder clearSumoStageMap() {
      internalGetMutableSumoStageMap().getMutableMap()
          .clear();
      return this;
    }
    /**
     * <code>map&lt;uint32, .SumoStageData&gt; sumo_stage_map = 2;</code>
     */

    public Builder removeSumoStageMap(
        int key) {
      
      internalGetMutableSumoStageMap().getMutableMap()
          .remove(key);
      return this;
    }
    /**
     * Use alternate mutation accessors instead.
     */
    @java.lang.Deprecated
    public java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.SumoStageData>
    getMutableSumoStageMap() {
      return internalGetMutableSumoStageMap().getMutableMap();
    }
    /**
     * <code>map&lt;uint32, .SumoStageData&gt; sumo_stage_map = 2;</code>
     */
    public Builder putSumoStageMap(
        int key,
        io.grasscutter.net.proto.activity.SumoStageData value) {
      
      if (value == null) { throw new java.lang.NullPointerException(); }
      internalGetMutableSumoStageMap().getMutableMap()
          .put(key, value);
      return this;
    }
    /**
     * <code>map&lt;uint32, .SumoStageData&gt; sumo_stage_map = 2;</code>
     */

    public Builder putAllSumoStageMap(
        java.util.Map<java.lang.Integer, io.grasscutter.net.proto.activity.SumoStageData> values) {
      internalGetMutableSumoStageMap().getMutableMap()
          .putAll(values);
      return this;
    }

    private int hGGEHLMHKMP_ ;
    /**
     * <code>uint32 HGGEHLMHKMP = 1;</code>
     * @return The hGGEHLMHKMP.
     */
    @java.lang.Override
    public int getHGGEHLMHKMP() {
      return hGGEHLMHKMP_;
    }
    /**
     * <code>uint32 HGGEHLMHKMP = 1;</code>
     * @param value The hGGEHLMHKMP to set.
     * @return This builder for chaining.
     */
    public Builder setHGGEHLMHKMP(int value) {
      
      hGGEHLMHKMP_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 HGGEHLMHKMP = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearHGGEHLMHKMP() {
      
      hGGEHLMHKMP_ = 0;
      onChanged();
      return this;
    }

    private int iBCPGOOAJKG_ ;
    /**
     * <code>uint32 IBCPGOOAJKG = 9;</code>
     * @return The iBCPGOOAJKG.
     */
    @java.lang.Override
    public int getIBCPGOOAJKG() {
      return iBCPGOOAJKG_;
    }
    /**
     * <code>uint32 IBCPGOOAJKG = 9;</code>
     * @param value The iBCPGOOAJKG to set.
     * @return This builder for chaining.
     */
    public Builder setIBCPGOOAJKG(int value) {
      
      iBCPGOOAJKG_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 IBCPGOOAJKG = 9;</code>
     * @return This builder for chaining.
     */
    public Builder clearIBCPGOOAJKG() {
      
      iBCPGOOAJKG_ = 0;
      onChanged();
      return this;
    }
    @java.lang.Override
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

    @java.lang.Override
    public final Builder mergeUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.mergeUnknownFields(unknownFields);
    }


    // @@protoc_insertion_point(builder_scope:SumoActivityDetailInfo)
  }

  // @@protoc_insertion_point(class_scope:SumoActivityDetailInfo)
  private static final io.grasscutter.net.proto.activity.SumoActivityDetailInfo DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new io.grasscutter.net.proto.activity.SumoActivityDetailInfo();
  }

  public static io.grasscutter.net.proto.activity.SumoActivityDetailInfo getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser<SumoActivityDetailInfo>
      PARSER = new com.google.protobuf.AbstractParser<SumoActivityDetailInfo>() {
    @java.lang.Override
    public SumoActivityDetailInfo parsePartialFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return new SumoActivityDetailInfo(input, extensionRegistry);
    }
  };

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

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

  @java.lang.Override
  public io.grasscutter.net.proto.activity.SumoActivityDetailInfo getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

