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

package emu.grasscutter.net.proto;

public final class MusicGameActivityDetailInfoOuterClass {
  private MusicGameActivityDetailInfoOuterClass() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface MusicGameActivityDetailInfoOrBuilder extends
      // @@protoc_insertion_point(interface_extends:MusicGameActivityDetailInfo)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>repeated .MusicBriefInfo others_custom_beatmap = 4;</code>
     */
    java.util.List<emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo> 
        getOthersCustomBeatmapList();
    /**
     * <code>repeated .MusicBriefInfo others_custom_beatmap = 4;</code>
     */
    emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo getOthersCustomBeatmap(int index);
    /**
     * <code>repeated .MusicBriefInfo others_custom_beatmap = 4;</code>
     */
    int getOthersCustomBeatmapCount();
    /**
     * <code>repeated .MusicBriefInfo others_custom_beatmap = 4;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfoOrBuilder> 
        getOthersCustomBeatmapOrBuilderList();
    /**
     * <code>repeated .MusicBriefInfo others_custom_beatmap = 4;</code>
     */
    emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfoOrBuilder getOthersCustomBeatmapOrBuilder(
        int index);

    /**
     * <code>repeated .MusicBriefInfo person_custom_beatmap = 7;</code>
     */
    java.util.List<emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo> 
        getPersonCustomBeatmapList();
    /**
     * <code>repeated .MusicBriefInfo person_custom_beatmap = 7;</code>
     */
    emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo getPersonCustomBeatmap(int index);
    /**
     * <code>repeated .MusicBriefInfo person_custom_beatmap = 7;</code>
     */
    int getPersonCustomBeatmapCount();
    /**
     * <code>repeated .MusicBriefInfo person_custom_beatmap = 7;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfoOrBuilder> 
        getPersonCustomBeatmapOrBuilderList();
    /**
     * <code>repeated .MusicBriefInfo person_custom_beatmap = 7;</code>
     */
    emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfoOrBuilder getPersonCustomBeatmapOrBuilder(
        int index);

    /**
     * <code>map&lt;uint32, .MusicGameRecord&gt; music_game_record_map = 8;</code>
     */
    int getMusicGameRecordMapCount();
    /**
     * <code>map&lt;uint32, .MusicGameRecord&gt; music_game_record_map = 8;</code>
     */
    boolean containsMusicGameRecordMap(
        int key);
    /**
     * Use {@link #getMusicGameRecordMapMap()} instead.
     */
    @java.lang.Deprecated
    java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord>
    getMusicGameRecordMap();
    /**
     * <code>map&lt;uint32, .MusicGameRecord&gt; music_game_record_map = 8;</code>
     */
    java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord>
    getMusicGameRecordMapMap();
    /**
     * <code>map&lt;uint32, .MusicGameRecord&gt; music_game_record_map = 8;</code>
     */

    emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord getMusicGameRecordMapOrDefault(
        int key,
        emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord defaultValue);
    /**
     * <code>map&lt;uint32, .MusicGameRecord&gt; music_game_record_map = 8;</code>
     */

    emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord getMusicGameRecordMapOrThrow(
        int key);
  }
  /**
   * Protobuf type {@code MusicGameActivityDetailInfo}
   */
  public static final class MusicGameActivityDetailInfo extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:MusicGameActivityDetailInfo)
      MusicGameActivityDetailInfoOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use MusicGameActivityDetailInfo.newBuilder() to construct.
    private MusicGameActivityDetailInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private MusicGameActivityDetailInfo() {
      othersCustomBeatmap_ = java.util.Collections.emptyList();
      personCustomBeatmap_ = java.util.Collections.emptyList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private MusicGameActivityDetailInfo(
        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 34: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                othersCustomBeatmap_ = new java.util.ArrayList<emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo>();
                mutable_bitField0_ |= 0x00000001;
              }
              othersCustomBeatmap_.add(
                  input.readMessage(emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.parser(), extensionRegistry));
              break;
            }
            case 58: {
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                personCustomBeatmap_ = new java.util.ArrayList<emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo>();
                mutable_bitField0_ |= 0x00000002;
              }
              personCustomBeatmap_.add(
                  input.readMessage(emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.parser(), extensionRegistry));
              break;
            }
            case 66: {
              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
                musicGameRecordMap_ = com.google.protobuf.MapField.newMapField(
                    MusicGameRecordMapDefaultEntryHolder.defaultEntry);
                mutable_bitField0_ |= 0x00000004;
              }
              com.google.protobuf.MapEntry<java.lang.Integer, emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord>
              musicGameRecordMap__ = input.readMessage(
                  MusicGameRecordMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
              musicGameRecordMap_.getMutableMap().put(
                  musicGameRecordMap__.getKey(), musicGameRecordMap__.getValue());
              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 {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          othersCustomBeatmap_ = java.util.Collections.unmodifiableList(othersCustomBeatmap_);
        }
        if (((mutable_bitField0_ & 0x00000002) != 0)) {
          personCustomBeatmap_ = java.util.Collections.unmodifiableList(personCustomBeatmap_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.internal_static_MusicGameActivityDetailInfo_descriptor;
    }

    @SuppressWarnings({"rawtypes"})
    @java.lang.Override
    protected com.google.protobuf.MapField internalGetMapField(
        int number) {
      switch (number) {
        case 8:
          return internalGetMusicGameRecordMap();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.internal_static_MusicGameActivityDetailInfo_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.MusicGameActivityDetailInfo.class, emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.MusicGameActivityDetailInfo.Builder.class);
    }

    public static final int OTHERS_CUSTOM_BEATMAP_FIELD_NUMBER = 4;
    private java.util.List<emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo> othersCustomBeatmap_;
    /**
     * <code>repeated .MusicBriefInfo others_custom_beatmap = 4;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo> getOthersCustomBeatmapList() {
      return othersCustomBeatmap_;
    }
    /**
     * <code>repeated .MusicBriefInfo others_custom_beatmap = 4;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfoOrBuilder> 
        getOthersCustomBeatmapOrBuilderList() {
      return othersCustomBeatmap_;
    }
    /**
     * <code>repeated .MusicBriefInfo others_custom_beatmap = 4;</code>
     */
    @java.lang.Override
    public int getOthersCustomBeatmapCount() {
      return othersCustomBeatmap_.size();
    }
    /**
     * <code>repeated .MusicBriefInfo others_custom_beatmap = 4;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo getOthersCustomBeatmap(int index) {
      return othersCustomBeatmap_.get(index);
    }
    /**
     * <code>repeated .MusicBriefInfo others_custom_beatmap = 4;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfoOrBuilder getOthersCustomBeatmapOrBuilder(
        int index) {
      return othersCustomBeatmap_.get(index);
    }

    public static final int PERSON_CUSTOM_BEATMAP_FIELD_NUMBER = 7;
    private java.util.List<emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo> personCustomBeatmap_;
    /**
     * <code>repeated .MusicBriefInfo person_custom_beatmap = 7;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo> getPersonCustomBeatmapList() {
      return personCustomBeatmap_;
    }
    /**
     * <code>repeated .MusicBriefInfo person_custom_beatmap = 7;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfoOrBuilder> 
        getPersonCustomBeatmapOrBuilderList() {
      return personCustomBeatmap_;
    }
    /**
     * <code>repeated .MusicBriefInfo person_custom_beatmap = 7;</code>
     */
    @java.lang.Override
    public int getPersonCustomBeatmapCount() {
      return personCustomBeatmap_.size();
    }
    /**
     * <code>repeated .MusicBriefInfo person_custom_beatmap = 7;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo getPersonCustomBeatmap(int index) {
      return personCustomBeatmap_.get(index);
    }
    /**
     * <code>repeated .MusicBriefInfo person_custom_beatmap = 7;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfoOrBuilder getPersonCustomBeatmapOrBuilder(
        int index) {
      return personCustomBeatmap_.get(index);
    }

    public static final int MUSIC_GAME_RECORD_MAP_FIELD_NUMBER = 8;
    private static final class MusicGameRecordMapDefaultEntryHolder {
      static final com.google.protobuf.MapEntry<
          java.lang.Integer, emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord> defaultEntry =
              com.google.protobuf.MapEntry
              .<java.lang.Integer, emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord>newDefaultInstance(
                  emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.internal_static_MusicGameActivityDetailInfo_MusicGameRecordMapEntry_descriptor, 
                  com.google.protobuf.WireFormat.FieldType.UINT32,
                  0,
                  com.google.protobuf.WireFormat.FieldType.MESSAGE,
                  emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord.getDefaultInstance());
    }
    private com.google.protobuf.MapField<
        java.lang.Integer, emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord> musicGameRecordMap_;
    private com.google.protobuf.MapField<java.lang.Integer, emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord>
    internalGetMusicGameRecordMap() {
      if (musicGameRecordMap_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            MusicGameRecordMapDefaultEntryHolder.defaultEntry);
      }
      return musicGameRecordMap_;
    }

    public int getMusicGameRecordMapCount() {
      return internalGetMusicGameRecordMap().getMap().size();
    }
    /**
     * <code>map&lt;uint32, .MusicGameRecord&gt; music_game_record_map = 8;</code>
     */

    @java.lang.Override
    public boolean containsMusicGameRecordMap(
        int key) {
      
      return internalGetMusicGameRecordMap().getMap().containsKey(key);
    }
    /**
     * Use {@link #getMusicGameRecordMapMap()} instead.
     */
    @java.lang.Override
    @java.lang.Deprecated
    public java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord> getMusicGameRecordMap() {
      return getMusicGameRecordMapMap();
    }
    /**
     * <code>map&lt;uint32, .MusicGameRecord&gt; music_game_record_map = 8;</code>
     */
    @java.lang.Override

    public java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord> getMusicGameRecordMapMap() {
      return internalGetMusicGameRecordMap().getMap();
    }
    /**
     * <code>map&lt;uint32, .MusicGameRecord&gt; music_game_record_map = 8;</code>
     */
    @java.lang.Override

    public emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord getMusicGameRecordMapOrDefault(
        int key,
        emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord defaultValue) {
      
      java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord> map =
          internalGetMusicGameRecordMap().getMap();
      return map.containsKey(key) ? map.get(key) : defaultValue;
    }
    /**
     * <code>map&lt;uint32, .MusicGameRecord&gt; music_game_record_map = 8;</code>
     */
    @java.lang.Override

    public emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord getMusicGameRecordMapOrThrow(
        int key) {
      
      java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord> map =
          internalGetMusicGameRecordMap().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 {
      for (int i = 0; i < othersCustomBeatmap_.size(); i++) {
        output.writeMessage(4, othersCustomBeatmap_.get(i));
      }
      for (int i = 0; i < personCustomBeatmap_.size(); i++) {
        output.writeMessage(7, personCustomBeatmap_.get(i));
      }
      com.google.protobuf.GeneratedMessageV3
        .serializeIntegerMapTo(
          output,
          internalGetMusicGameRecordMap(),
          MusicGameRecordMapDefaultEntryHolder.defaultEntry,
          8);
      unknownFields.writeTo(output);
    }

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

      size = 0;
      for (int i = 0; i < othersCustomBeatmap_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(4, othersCustomBeatmap_.get(i));
      }
      for (int i = 0; i < personCustomBeatmap_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(7, personCustomBeatmap_.get(i));
      }
      for (java.util.Map.Entry<java.lang.Integer, emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord> entry
           : internalGetMusicGameRecordMap().getMap().entrySet()) {
        com.google.protobuf.MapEntry<java.lang.Integer, emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord>
        musicGameRecordMap__ = MusicGameRecordMapDefaultEntryHolder.defaultEntry.newBuilderForType()
            .setKey(entry.getKey())
            .setValue(entry.getValue())
            .build();
        size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(8, musicGameRecordMap__);
      }
      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 emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.MusicGameActivityDetailInfo)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.MusicGameActivityDetailInfo other = (emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.MusicGameActivityDetailInfo) obj;

      if (!getOthersCustomBeatmapList()
          .equals(other.getOthersCustomBeatmapList())) return false;
      if (!getPersonCustomBeatmapList()
          .equals(other.getPersonCustomBeatmapList())) return false;
      if (!internalGetMusicGameRecordMap().equals(
          other.internalGetMusicGameRecordMap())) 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 (getOthersCustomBeatmapCount() > 0) {
        hash = (37 * hash) + OTHERS_CUSTOM_BEATMAP_FIELD_NUMBER;
        hash = (53 * hash) + getOthersCustomBeatmapList().hashCode();
      }
      if (getPersonCustomBeatmapCount() > 0) {
        hash = (37 * hash) + PERSON_CUSTOM_BEATMAP_FIELD_NUMBER;
        hash = (53 * hash) + getPersonCustomBeatmapList().hashCode();
      }
      if (!internalGetMusicGameRecordMap().getMap().isEmpty()) {
        hash = (37 * hash) + MUSIC_GAME_RECORD_MAP_FIELD_NUMBER;
        hash = (53 * hash) + internalGetMusicGameRecordMap().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.MusicGameActivityDetailInfo parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.MusicGameActivityDetailInfo parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.MusicGameActivityDetailInfo parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.MusicGameActivityDetailInfo parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.MusicGameActivityDetailInfo parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.MusicGameActivityDetailInfo parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.MusicGameActivityDetailInfo parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.MusicGameActivityDetailInfo 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 emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.MusicGameActivityDetailInfo parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.MusicGameActivityDetailInfo 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 emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.MusicGameActivityDetailInfo parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.MusicGameActivityDetailInfo 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(emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.MusicGameActivityDetailInfo 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 MusicGameActivityDetailInfo}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:MusicGameActivityDetailInfo)
        emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.MusicGameActivityDetailInfoOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.internal_static_MusicGameActivityDetailInfo_descriptor;
      }

      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMapField(
          int number) {
        switch (number) {
          case 8:
            return internalGetMusicGameRecordMap();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMutableMapField(
          int number) {
        switch (number) {
          case 8:
            return internalGetMutableMusicGameRecordMap();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.internal_static_MusicGameActivityDetailInfo_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.MusicGameActivityDetailInfo.class, emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.MusicGameActivityDetailInfo.Builder.class);
      }

      // Construct using emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.MusicGameActivityDetailInfo.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getOthersCustomBeatmapFieldBuilder();
          getPersonCustomBeatmapFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (othersCustomBeatmapBuilder_ == null) {
          othersCustomBeatmap_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          othersCustomBeatmapBuilder_.clear();
        }
        if (personCustomBeatmapBuilder_ == null) {
          personCustomBeatmap_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
        } else {
          personCustomBeatmapBuilder_.clear();
        }
        internalGetMutableMusicGameRecordMap().clear();
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.internal_static_MusicGameActivityDetailInfo_descriptor;
      }

      @java.lang.Override
      public emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.MusicGameActivityDetailInfo getDefaultInstanceForType() {
        return emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.MusicGameActivityDetailInfo.getDefaultInstance();
      }

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

      @java.lang.Override
      public emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.MusicGameActivityDetailInfo buildPartial() {
        emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.MusicGameActivityDetailInfo result = new emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.MusicGameActivityDetailInfo(this);
        int from_bitField0_ = bitField0_;
        if (othersCustomBeatmapBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            othersCustomBeatmap_ = java.util.Collections.unmodifiableList(othersCustomBeatmap_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.othersCustomBeatmap_ = othersCustomBeatmap_;
        } else {
          result.othersCustomBeatmap_ = othersCustomBeatmapBuilder_.build();
        }
        if (personCustomBeatmapBuilder_ == null) {
          if (((bitField0_ & 0x00000002) != 0)) {
            personCustomBeatmap_ = java.util.Collections.unmodifiableList(personCustomBeatmap_);
            bitField0_ = (bitField0_ & ~0x00000002);
          }
          result.personCustomBeatmap_ = personCustomBeatmap_;
        } else {
          result.personCustomBeatmap_ = personCustomBeatmapBuilder_.build();
        }
        result.musicGameRecordMap_ = internalGetMusicGameRecordMap();
        result.musicGameRecordMap_.makeImmutable();
        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 emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.MusicGameActivityDetailInfo) {
          return mergeFrom((emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.MusicGameActivityDetailInfo)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.MusicGameActivityDetailInfo other) {
        if (other == emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.MusicGameActivityDetailInfo.getDefaultInstance()) return this;
        if (othersCustomBeatmapBuilder_ == null) {
          if (!other.othersCustomBeatmap_.isEmpty()) {
            if (othersCustomBeatmap_.isEmpty()) {
              othersCustomBeatmap_ = other.othersCustomBeatmap_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureOthersCustomBeatmapIsMutable();
              othersCustomBeatmap_.addAll(other.othersCustomBeatmap_);
            }
            onChanged();
          }
        } else {
          if (!other.othersCustomBeatmap_.isEmpty()) {
            if (othersCustomBeatmapBuilder_.isEmpty()) {
              othersCustomBeatmapBuilder_.dispose();
              othersCustomBeatmapBuilder_ = null;
              othersCustomBeatmap_ = other.othersCustomBeatmap_;
              bitField0_ = (bitField0_ & ~0x00000001);
              othersCustomBeatmapBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getOthersCustomBeatmapFieldBuilder() : null;
            } else {
              othersCustomBeatmapBuilder_.addAllMessages(other.othersCustomBeatmap_);
            }
          }
        }
        if (personCustomBeatmapBuilder_ == null) {
          if (!other.personCustomBeatmap_.isEmpty()) {
            if (personCustomBeatmap_.isEmpty()) {
              personCustomBeatmap_ = other.personCustomBeatmap_;
              bitField0_ = (bitField0_ & ~0x00000002);
            } else {
              ensurePersonCustomBeatmapIsMutable();
              personCustomBeatmap_.addAll(other.personCustomBeatmap_);
            }
            onChanged();
          }
        } else {
          if (!other.personCustomBeatmap_.isEmpty()) {
            if (personCustomBeatmapBuilder_.isEmpty()) {
              personCustomBeatmapBuilder_.dispose();
              personCustomBeatmapBuilder_ = null;
              personCustomBeatmap_ = other.personCustomBeatmap_;
              bitField0_ = (bitField0_ & ~0x00000002);
              personCustomBeatmapBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getPersonCustomBeatmapFieldBuilder() : null;
            } else {
              personCustomBeatmapBuilder_.addAllMessages(other.personCustomBeatmap_);
            }
          }
        }
        internalGetMutableMusicGameRecordMap().mergeFrom(
            other.internalGetMusicGameRecordMap());
        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 {
        emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.MusicGameActivityDetailInfo parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.MusicGameActivityDetailInfo) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.util.List<emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo> othersCustomBeatmap_ =
        java.util.Collections.emptyList();
      private void ensureOthersCustomBeatmapIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          othersCustomBeatmap_ = new java.util.ArrayList<emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo>(othersCustomBeatmap_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo, emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.Builder, emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfoOrBuilder> othersCustomBeatmapBuilder_;

      /**
       * <code>repeated .MusicBriefInfo others_custom_beatmap = 4;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo> getOthersCustomBeatmapList() {
        if (othersCustomBeatmapBuilder_ == null) {
          return java.util.Collections.unmodifiableList(othersCustomBeatmap_);
        } else {
          return othersCustomBeatmapBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .MusicBriefInfo others_custom_beatmap = 4;</code>
       */
      public int getOthersCustomBeatmapCount() {
        if (othersCustomBeatmapBuilder_ == null) {
          return othersCustomBeatmap_.size();
        } else {
          return othersCustomBeatmapBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .MusicBriefInfo others_custom_beatmap = 4;</code>
       */
      public emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo getOthersCustomBeatmap(int index) {
        if (othersCustomBeatmapBuilder_ == null) {
          return othersCustomBeatmap_.get(index);
        } else {
          return othersCustomBeatmapBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .MusicBriefInfo others_custom_beatmap = 4;</code>
       */
      public Builder setOthersCustomBeatmap(
          int index, emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo value) {
        if (othersCustomBeatmapBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureOthersCustomBeatmapIsMutable();
          othersCustomBeatmap_.set(index, value);
          onChanged();
        } else {
          othersCustomBeatmapBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .MusicBriefInfo others_custom_beatmap = 4;</code>
       */
      public Builder setOthersCustomBeatmap(
          int index, emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.Builder builderForValue) {
        if (othersCustomBeatmapBuilder_ == null) {
          ensureOthersCustomBeatmapIsMutable();
          othersCustomBeatmap_.set(index, builderForValue.build());
          onChanged();
        } else {
          othersCustomBeatmapBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .MusicBriefInfo others_custom_beatmap = 4;</code>
       */
      public Builder addOthersCustomBeatmap(emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo value) {
        if (othersCustomBeatmapBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureOthersCustomBeatmapIsMutable();
          othersCustomBeatmap_.add(value);
          onChanged();
        } else {
          othersCustomBeatmapBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .MusicBriefInfo others_custom_beatmap = 4;</code>
       */
      public Builder addOthersCustomBeatmap(
          int index, emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo value) {
        if (othersCustomBeatmapBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureOthersCustomBeatmapIsMutable();
          othersCustomBeatmap_.add(index, value);
          onChanged();
        } else {
          othersCustomBeatmapBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .MusicBriefInfo others_custom_beatmap = 4;</code>
       */
      public Builder addOthersCustomBeatmap(
          emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.Builder builderForValue) {
        if (othersCustomBeatmapBuilder_ == null) {
          ensureOthersCustomBeatmapIsMutable();
          othersCustomBeatmap_.add(builderForValue.build());
          onChanged();
        } else {
          othersCustomBeatmapBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .MusicBriefInfo others_custom_beatmap = 4;</code>
       */
      public Builder addOthersCustomBeatmap(
          int index, emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.Builder builderForValue) {
        if (othersCustomBeatmapBuilder_ == null) {
          ensureOthersCustomBeatmapIsMutable();
          othersCustomBeatmap_.add(index, builderForValue.build());
          onChanged();
        } else {
          othersCustomBeatmapBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .MusicBriefInfo others_custom_beatmap = 4;</code>
       */
      public Builder addAllOthersCustomBeatmap(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo> values) {
        if (othersCustomBeatmapBuilder_ == null) {
          ensureOthersCustomBeatmapIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, othersCustomBeatmap_);
          onChanged();
        } else {
          othersCustomBeatmapBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .MusicBriefInfo others_custom_beatmap = 4;</code>
       */
      public Builder clearOthersCustomBeatmap() {
        if (othersCustomBeatmapBuilder_ == null) {
          othersCustomBeatmap_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          othersCustomBeatmapBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .MusicBriefInfo others_custom_beatmap = 4;</code>
       */
      public Builder removeOthersCustomBeatmap(int index) {
        if (othersCustomBeatmapBuilder_ == null) {
          ensureOthersCustomBeatmapIsMutable();
          othersCustomBeatmap_.remove(index);
          onChanged();
        } else {
          othersCustomBeatmapBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .MusicBriefInfo others_custom_beatmap = 4;</code>
       */
      public emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.Builder getOthersCustomBeatmapBuilder(
          int index) {
        return getOthersCustomBeatmapFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .MusicBriefInfo others_custom_beatmap = 4;</code>
       */
      public emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfoOrBuilder getOthersCustomBeatmapOrBuilder(
          int index) {
        if (othersCustomBeatmapBuilder_ == null) {
          return othersCustomBeatmap_.get(index);  } else {
          return othersCustomBeatmapBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .MusicBriefInfo others_custom_beatmap = 4;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfoOrBuilder> 
           getOthersCustomBeatmapOrBuilderList() {
        if (othersCustomBeatmapBuilder_ != null) {
          return othersCustomBeatmapBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(othersCustomBeatmap_);
        }
      }
      /**
       * <code>repeated .MusicBriefInfo others_custom_beatmap = 4;</code>
       */
      public emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.Builder addOthersCustomBeatmapBuilder() {
        return getOthersCustomBeatmapFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.getDefaultInstance());
      }
      /**
       * <code>repeated .MusicBriefInfo others_custom_beatmap = 4;</code>
       */
      public emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.Builder addOthersCustomBeatmapBuilder(
          int index) {
        return getOthersCustomBeatmapFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.getDefaultInstance());
      }
      /**
       * <code>repeated .MusicBriefInfo others_custom_beatmap = 4;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.Builder> 
           getOthersCustomBeatmapBuilderList() {
        return getOthersCustomBeatmapFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo, emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.Builder, emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfoOrBuilder> 
          getOthersCustomBeatmapFieldBuilder() {
        if (othersCustomBeatmapBuilder_ == null) {
          othersCustomBeatmapBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo, emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.Builder, emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfoOrBuilder>(
                  othersCustomBeatmap_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          othersCustomBeatmap_ = null;
        }
        return othersCustomBeatmapBuilder_;
      }

      private java.util.List<emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo> personCustomBeatmap_ =
        java.util.Collections.emptyList();
      private void ensurePersonCustomBeatmapIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          personCustomBeatmap_ = new java.util.ArrayList<emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo>(personCustomBeatmap_);
          bitField0_ |= 0x00000002;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo, emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.Builder, emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfoOrBuilder> personCustomBeatmapBuilder_;

      /**
       * <code>repeated .MusicBriefInfo person_custom_beatmap = 7;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo> getPersonCustomBeatmapList() {
        if (personCustomBeatmapBuilder_ == null) {
          return java.util.Collections.unmodifiableList(personCustomBeatmap_);
        } else {
          return personCustomBeatmapBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .MusicBriefInfo person_custom_beatmap = 7;</code>
       */
      public int getPersonCustomBeatmapCount() {
        if (personCustomBeatmapBuilder_ == null) {
          return personCustomBeatmap_.size();
        } else {
          return personCustomBeatmapBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .MusicBriefInfo person_custom_beatmap = 7;</code>
       */
      public emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo getPersonCustomBeatmap(int index) {
        if (personCustomBeatmapBuilder_ == null) {
          return personCustomBeatmap_.get(index);
        } else {
          return personCustomBeatmapBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .MusicBriefInfo person_custom_beatmap = 7;</code>
       */
      public Builder setPersonCustomBeatmap(
          int index, emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo value) {
        if (personCustomBeatmapBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensurePersonCustomBeatmapIsMutable();
          personCustomBeatmap_.set(index, value);
          onChanged();
        } else {
          personCustomBeatmapBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .MusicBriefInfo person_custom_beatmap = 7;</code>
       */
      public Builder setPersonCustomBeatmap(
          int index, emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.Builder builderForValue) {
        if (personCustomBeatmapBuilder_ == null) {
          ensurePersonCustomBeatmapIsMutable();
          personCustomBeatmap_.set(index, builderForValue.build());
          onChanged();
        } else {
          personCustomBeatmapBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .MusicBriefInfo person_custom_beatmap = 7;</code>
       */
      public Builder addPersonCustomBeatmap(emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo value) {
        if (personCustomBeatmapBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensurePersonCustomBeatmapIsMutable();
          personCustomBeatmap_.add(value);
          onChanged();
        } else {
          personCustomBeatmapBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .MusicBriefInfo person_custom_beatmap = 7;</code>
       */
      public Builder addPersonCustomBeatmap(
          int index, emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo value) {
        if (personCustomBeatmapBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensurePersonCustomBeatmapIsMutable();
          personCustomBeatmap_.add(index, value);
          onChanged();
        } else {
          personCustomBeatmapBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .MusicBriefInfo person_custom_beatmap = 7;</code>
       */
      public Builder addPersonCustomBeatmap(
          emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.Builder builderForValue) {
        if (personCustomBeatmapBuilder_ == null) {
          ensurePersonCustomBeatmapIsMutable();
          personCustomBeatmap_.add(builderForValue.build());
          onChanged();
        } else {
          personCustomBeatmapBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .MusicBriefInfo person_custom_beatmap = 7;</code>
       */
      public Builder addPersonCustomBeatmap(
          int index, emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.Builder builderForValue) {
        if (personCustomBeatmapBuilder_ == null) {
          ensurePersonCustomBeatmapIsMutable();
          personCustomBeatmap_.add(index, builderForValue.build());
          onChanged();
        } else {
          personCustomBeatmapBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .MusicBriefInfo person_custom_beatmap = 7;</code>
       */
      public Builder addAllPersonCustomBeatmap(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo> values) {
        if (personCustomBeatmapBuilder_ == null) {
          ensurePersonCustomBeatmapIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, personCustomBeatmap_);
          onChanged();
        } else {
          personCustomBeatmapBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .MusicBriefInfo person_custom_beatmap = 7;</code>
       */
      public Builder clearPersonCustomBeatmap() {
        if (personCustomBeatmapBuilder_ == null) {
          personCustomBeatmap_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
          onChanged();
        } else {
          personCustomBeatmapBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .MusicBriefInfo person_custom_beatmap = 7;</code>
       */
      public Builder removePersonCustomBeatmap(int index) {
        if (personCustomBeatmapBuilder_ == null) {
          ensurePersonCustomBeatmapIsMutable();
          personCustomBeatmap_.remove(index);
          onChanged();
        } else {
          personCustomBeatmapBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .MusicBriefInfo person_custom_beatmap = 7;</code>
       */
      public emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.Builder getPersonCustomBeatmapBuilder(
          int index) {
        return getPersonCustomBeatmapFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .MusicBriefInfo person_custom_beatmap = 7;</code>
       */
      public emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfoOrBuilder getPersonCustomBeatmapOrBuilder(
          int index) {
        if (personCustomBeatmapBuilder_ == null) {
          return personCustomBeatmap_.get(index);  } else {
          return personCustomBeatmapBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .MusicBriefInfo person_custom_beatmap = 7;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfoOrBuilder> 
           getPersonCustomBeatmapOrBuilderList() {
        if (personCustomBeatmapBuilder_ != null) {
          return personCustomBeatmapBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(personCustomBeatmap_);
        }
      }
      /**
       * <code>repeated .MusicBriefInfo person_custom_beatmap = 7;</code>
       */
      public emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.Builder addPersonCustomBeatmapBuilder() {
        return getPersonCustomBeatmapFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.getDefaultInstance());
      }
      /**
       * <code>repeated .MusicBriefInfo person_custom_beatmap = 7;</code>
       */
      public emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.Builder addPersonCustomBeatmapBuilder(
          int index) {
        return getPersonCustomBeatmapFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.getDefaultInstance());
      }
      /**
       * <code>repeated .MusicBriefInfo person_custom_beatmap = 7;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.Builder> 
           getPersonCustomBeatmapBuilderList() {
        return getPersonCustomBeatmapFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo, emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.Builder, emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfoOrBuilder> 
          getPersonCustomBeatmapFieldBuilder() {
        if (personCustomBeatmapBuilder_ == null) {
          personCustomBeatmapBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo, emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.Builder, emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfoOrBuilder>(
                  personCustomBeatmap_,
                  ((bitField0_ & 0x00000002) != 0),
                  getParentForChildren(),
                  isClean());
          personCustomBeatmap_ = null;
        }
        return personCustomBeatmapBuilder_;
      }

      private com.google.protobuf.MapField<
          java.lang.Integer, emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord> musicGameRecordMap_;
      private com.google.protobuf.MapField<java.lang.Integer, emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord>
      internalGetMusicGameRecordMap() {
        if (musicGameRecordMap_ == null) {
          return com.google.protobuf.MapField.emptyMapField(
              MusicGameRecordMapDefaultEntryHolder.defaultEntry);
        }
        return musicGameRecordMap_;
      }
      private com.google.protobuf.MapField<java.lang.Integer, emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord>
      internalGetMutableMusicGameRecordMap() {
        onChanged();;
        if (musicGameRecordMap_ == null) {
          musicGameRecordMap_ = com.google.protobuf.MapField.newMapField(
              MusicGameRecordMapDefaultEntryHolder.defaultEntry);
        }
        if (!musicGameRecordMap_.isMutable()) {
          musicGameRecordMap_ = musicGameRecordMap_.copy();
        }
        return musicGameRecordMap_;
      }

      public int getMusicGameRecordMapCount() {
        return internalGetMusicGameRecordMap().getMap().size();
      }
      /**
       * <code>map&lt;uint32, .MusicGameRecord&gt; music_game_record_map = 8;</code>
       */

      @java.lang.Override
      public boolean containsMusicGameRecordMap(
          int key) {
        
        return internalGetMusicGameRecordMap().getMap().containsKey(key);
      }
      /**
       * Use {@link #getMusicGameRecordMapMap()} instead.
       */
      @java.lang.Override
      @java.lang.Deprecated
      public java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord> getMusicGameRecordMap() {
        return getMusicGameRecordMapMap();
      }
      /**
       * <code>map&lt;uint32, .MusicGameRecord&gt; music_game_record_map = 8;</code>
       */
      @java.lang.Override

      public java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord> getMusicGameRecordMapMap() {
        return internalGetMusicGameRecordMap().getMap();
      }
      /**
       * <code>map&lt;uint32, .MusicGameRecord&gt; music_game_record_map = 8;</code>
       */
      @java.lang.Override

      public emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord getMusicGameRecordMapOrDefault(
          int key,
          emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord defaultValue) {
        
        java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord> map =
            internalGetMusicGameRecordMap().getMap();
        return map.containsKey(key) ? map.get(key) : defaultValue;
      }
      /**
       * <code>map&lt;uint32, .MusicGameRecord&gt; music_game_record_map = 8;</code>
       */
      @java.lang.Override

      public emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord getMusicGameRecordMapOrThrow(
          int key) {
        
        java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord> map =
            internalGetMusicGameRecordMap().getMap();
        if (!map.containsKey(key)) {
          throw new java.lang.IllegalArgumentException();
        }
        return map.get(key);
      }

      public Builder clearMusicGameRecordMap() {
        internalGetMutableMusicGameRecordMap().getMutableMap()
            .clear();
        return this;
      }
      /**
       * <code>map&lt;uint32, .MusicGameRecord&gt; music_game_record_map = 8;</code>
       */

      public Builder removeMusicGameRecordMap(
          int key) {
        
        internalGetMutableMusicGameRecordMap().getMutableMap()
            .remove(key);
        return this;
      }
      /**
       * Use alternate mutation accessors instead.
       */
      @java.lang.Deprecated
      public java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord>
      getMutableMusicGameRecordMap() {
        return internalGetMutableMusicGameRecordMap().getMutableMap();
      }
      /**
       * <code>map&lt;uint32, .MusicGameRecord&gt; music_game_record_map = 8;</code>
       */
      public Builder putMusicGameRecordMap(
          int key,
          emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord value) {
        
        if (value == null) { throw new java.lang.NullPointerException(); }
        internalGetMutableMusicGameRecordMap().getMutableMap()
            .put(key, value);
        return this;
      }
      /**
       * <code>map&lt;uint32, .MusicGameRecord&gt; music_game_record_map = 8;</code>
       */

      public Builder putAllMusicGameRecordMap(
          java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord> values) {
        internalGetMutableMusicGameRecordMap().getMutableMap()
            .putAll(values);
        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:MusicGameActivityDetailInfo)
    }

    // @@protoc_insertion_point(class_scope:MusicGameActivityDetailInfo)
    private static final emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.MusicGameActivityDetailInfo DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.MusicGameActivityDetailInfo();
    }

    public static emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.MusicGameActivityDetailInfo getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.MusicGameActivityDetailInfo getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_MusicGameActivityDetailInfo_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_MusicGameActivityDetailInfo_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_MusicGameActivityDetailInfo_MusicGameRecordMapEntry_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_MusicGameActivityDetailInfo_MusicGameRecordMapEntry_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n!MusicGameActivityDetailInfo.proto\032\024Mus" +
      "icBriefInfo.proto\032\025MusicGameRecord.proto" +
      "\"\237\002\n\033MusicGameActivityDetailInfo\022.\n\025othe" +
      "rs_custom_beatmap\030\004 \003(\0132\017.MusicBriefInfo" +
      "\022.\n\025person_custom_beatmap\030\007 \003(\0132\017.MusicB" +
      "riefInfo\022S\n\025music_game_record_map\030\010 \003(\0132" +
      "4.MusicGameActivityDetailInfo.MusicGameR" +
      "ecordMapEntry\032K\n\027MusicGameRecordMapEntry" +
      "\022\013\n\003key\030\001 \001(\r\022\037\n\005value\030\002 \001(\0132\020.MusicGame" +
      "Record:\0028\001B\033\n\031emu.grasscutter.net.protob" +
      "\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.MusicBriefInfoOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.MusicGameRecordOuterClass.getDescriptor(),
        });
    internal_static_MusicGameActivityDetailInfo_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_MusicGameActivityDetailInfo_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_MusicGameActivityDetailInfo_descriptor,
        new java.lang.String[] { "OthersCustomBeatmap", "PersonCustomBeatmap", "MusicGameRecordMap", });
    internal_static_MusicGameActivityDetailInfo_MusicGameRecordMapEntry_descriptor =
      internal_static_MusicGameActivityDetailInfo_descriptor.getNestedTypes().get(0);
    internal_static_MusicGameActivityDetailInfo_MusicGameRecordMapEntry_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_MusicGameActivityDetailInfo_MusicGameRecordMapEntry_descriptor,
        new java.lang.String[] { "Key", "Value", });
    emu.grasscutter.net.proto.MusicBriefInfoOuterClass.getDescriptor();
    emu.grasscutter.net.proto.MusicGameRecordOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
