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

package emu.grasscutter.net.proto;

public final class MusicGameGetBeatmapRspOuterClass {
  private MusicGameGetBeatmapRspOuterClass() {}
  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 MusicGameGetBeatmapRspOrBuilder extends
      // @@protoc_insertion_point(interface_extends:MusicGameGetBeatmapRsp)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>int32 retcode = 13;</code>
     * @return The retcode.
     */
    int getRetcode();

    /**
     * <code>.MusicGameUnknown1Enum unknown_enum1 = 1;</code>
     * @return The enum numeric value on the wire for unknownEnum1.
     */
    int getUnknownEnum1Value();
    /**
     * <code>.MusicGameUnknown1Enum unknown_enum1 = 1;</code>
     * @return The unknownEnum1.
     */
    emu.grasscutter.net.proto.MusicGameUnknown1EnumOuterClass.MusicGameUnknown1Enum getUnknownEnum1();

    /**
     * <code>uint64 music_share_id = 5;</code>
     * @return The musicShareId.
     */
    long getMusicShareId();

    /**
     * <code>.MusicGameGetBeatmapReqType req_type = 2;</code>
     * @return The enum numeric value on the wire for reqType.
     */
    int getReqTypeValue();
    /**
     * <code>.MusicGameGetBeatmapReqType req_type = 2;</code>
     * @return The reqType.
     */
    emu.grasscutter.net.proto.MusicGameGetBeatmapReqTypeOuterClass.MusicGameGetBeatmapReqType getReqType();

    /**
     * <code>.MusicBeatmap music_record = 9;</code>
     * @return Whether the musicRecord field is set.
     */
    boolean hasMusicRecord();
    /**
     * <code>.MusicBeatmap music_record = 9;</code>
     * @return The musicRecord.
     */
    emu.grasscutter.net.proto.MusicBeatmapOuterClass.MusicBeatmap getMusicRecord();
    /**
     * <code>.MusicBeatmap music_record = 9;</code>
     */
    emu.grasscutter.net.proto.MusicBeatmapOuterClass.MusicBeatmapOrBuilder getMusicRecordOrBuilder();

    /**
     * <code>.MusicBriefInfo music_brief_info = 953;</code>
     * @return Whether the musicBriefInfo field is set.
     */
    boolean hasMusicBriefInfo();
    /**
     * <code>.MusicBriefInfo music_brief_info = 953;</code>
     * @return The musicBriefInfo.
     */
    emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo getMusicBriefInfo();
    /**
     * <code>.MusicBriefInfo music_brief_info = 953;</code>
     */
    emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfoOrBuilder getMusicBriefInfoOrBuilder();

    public emu.grasscutter.net.proto.MusicGameGetBeatmapRspOuterClass.MusicGameGetBeatmapRsp.BeatmapCase getBeatmapCase();

    public emu.grasscutter.net.proto.MusicGameGetBeatmapRspOuterClass.MusicGameGetBeatmapRsp.BriefInfoCase getBriefInfoCase();
  }
  /**
   * <pre>
   * CmdId: 6309
   * EnetChannelId: 0
   * EnetIsReliable: true
   * </pre>
   *
   * Protobuf type {@code MusicGameGetBeatmapRsp}
   */
  public static final class MusicGameGetBeatmapRsp extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:MusicGameGetBeatmapRsp)
      MusicGameGetBeatmapRspOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use MusicGameGetBeatmapRsp.newBuilder() to construct.
    private MusicGameGetBeatmapRsp(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private MusicGameGetBeatmapRsp() {
      unknownEnum1_ = 0;
      reqType_ = 0;
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private MusicGameGetBeatmapRsp(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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: {
              int rawValue = input.readEnum();

              unknownEnum1_ = rawValue;
              break;
            }
            case 16: {
              int rawValue = input.readEnum();

              reqType_ = rawValue;
              break;
            }
            case 40: {

              musicShareId_ = input.readUInt64();
              break;
            }
            case 74: {
              emu.grasscutter.net.proto.MusicBeatmapOuterClass.MusicBeatmap.Builder subBuilder = null;
              if (beatmapCase_ == 9) {
                subBuilder = ((emu.grasscutter.net.proto.MusicBeatmapOuterClass.MusicBeatmap) beatmap_).toBuilder();
              }
              beatmap_ =
                  input.readMessage(emu.grasscutter.net.proto.MusicBeatmapOuterClass.MusicBeatmap.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((emu.grasscutter.net.proto.MusicBeatmapOuterClass.MusicBeatmap) beatmap_);
                beatmap_ = subBuilder.buildPartial();
              }
              beatmapCase_ = 9;
              break;
            }
            case 104: {

              retcode_ = input.readInt32();
              break;
            }
            case 7626: {
              emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.Builder subBuilder = null;
              if (briefInfoCase_ == 953) {
                subBuilder = ((emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo) briefInfo_).toBuilder();
              }
              briefInfo_ =
                  input.readMessage(emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo) briefInfo_);
                briefInfo_ = subBuilder.buildPartial();
              }
              briefInfoCase_ = 953;
              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 emu.grasscutter.net.proto.MusicGameGetBeatmapRspOuterClass.internal_static_MusicGameGetBeatmapRsp_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return emu.grasscutter.net.proto.MusicGameGetBeatmapRspOuterClass.internal_static_MusicGameGetBeatmapRsp_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              emu.grasscutter.net.proto.MusicGameGetBeatmapRspOuterClass.MusicGameGetBeatmapRsp.class, emu.grasscutter.net.proto.MusicGameGetBeatmapRspOuterClass.MusicGameGetBeatmapRsp.Builder.class);
    }

    private int beatmapCase_ = 0;
    private java.lang.Object beatmap_;
    public enum BeatmapCase
        implements com.google.protobuf.Internal.EnumLite,
            com.google.protobuf.AbstractMessage.InternalOneOfEnum {
      MUSIC_RECORD(9),
      BEATMAP_NOT_SET(0);
      private final int value;
      private BeatmapCase(int value) {
        this.value = value;
      }
      /**
       * @param value The number of the enum to look for.
       * @return The enum associated with the given number.
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static BeatmapCase valueOf(int value) {
        return forNumber(value);
      }

      public static BeatmapCase forNumber(int value) {
        switch (value) {
          case 9: return MUSIC_RECORD;
          case 0: return BEATMAP_NOT_SET;
          default: return null;
        }
      }
      public int getNumber() {
        return this.value;
      }
    };

    public BeatmapCase
    getBeatmapCase() {
      return BeatmapCase.forNumber(
          beatmapCase_);
    }

    private int briefInfoCase_ = 0;
    private java.lang.Object briefInfo_;
    public enum BriefInfoCase
        implements com.google.protobuf.Internal.EnumLite,
            com.google.protobuf.AbstractMessage.InternalOneOfEnum {
      MUSIC_BRIEF_INFO(953),
      BRIEFINFO_NOT_SET(0);
      private final int value;
      private BriefInfoCase(int value) {
        this.value = value;
      }
      /**
       * @param value The number of the enum to look for.
       * @return The enum associated with the given number.
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static BriefInfoCase valueOf(int value) {
        return forNumber(value);
      }

      public static BriefInfoCase forNumber(int value) {
        switch (value) {
          case 953: return MUSIC_BRIEF_INFO;
          case 0: return BRIEFINFO_NOT_SET;
          default: return null;
        }
      }
      public int getNumber() {
        return this.value;
      }
    };

    public BriefInfoCase
    getBriefInfoCase() {
      return BriefInfoCase.forNumber(
          briefInfoCase_);
    }

    public static final int RETCODE_FIELD_NUMBER = 13;
    private int retcode_;
    /**
     * <code>int32 retcode = 13;</code>
     * @return The retcode.
     */
    @java.lang.Override
    public int getRetcode() {
      return retcode_;
    }

    public static final int UNKNOWN_ENUM1_FIELD_NUMBER = 1;
    private int unknownEnum1_;
    /**
     * <code>.MusicGameUnknown1Enum unknown_enum1 = 1;</code>
     * @return The enum numeric value on the wire for unknownEnum1.
     */
    @java.lang.Override public int getUnknownEnum1Value() {
      return unknownEnum1_;
    }
    /**
     * <code>.MusicGameUnknown1Enum unknown_enum1 = 1;</code>
     * @return The unknownEnum1.
     */
    @java.lang.Override public emu.grasscutter.net.proto.MusicGameUnknown1EnumOuterClass.MusicGameUnknown1Enum getUnknownEnum1() {
      @SuppressWarnings("deprecation")
      emu.grasscutter.net.proto.MusicGameUnknown1EnumOuterClass.MusicGameUnknown1Enum result = emu.grasscutter.net.proto.MusicGameUnknown1EnumOuterClass.MusicGameUnknown1Enum.valueOf(unknownEnum1_);
      return result == null ? emu.grasscutter.net.proto.MusicGameUnknown1EnumOuterClass.MusicGameUnknown1Enum.UNRECOGNIZED : result;
    }

    public static final int MUSIC_SHARE_ID_FIELD_NUMBER = 5;
    private long musicShareId_;
    /**
     * <code>uint64 music_share_id = 5;</code>
     * @return The musicShareId.
     */
    @java.lang.Override
    public long getMusicShareId() {
      return musicShareId_;
    }

    public static final int REQ_TYPE_FIELD_NUMBER = 2;
    private int reqType_;
    /**
     * <code>.MusicGameGetBeatmapReqType req_type = 2;</code>
     * @return The enum numeric value on the wire for reqType.
     */
    @java.lang.Override public int getReqTypeValue() {
      return reqType_;
    }
    /**
     * <code>.MusicGameGetBeatmapReqType req_type = 2;</code>
     * @return The reqType.
     */
    @java.lang.Override public emu.grasscutter.net.proto.MusicGameGetBeatmapReqTypeOuterClass.MusicGameGetBeatmapReqType getReqType() {
      @SuppressWarnings("deprecation")
      emu.grasscutter.net.proto.MusicGameGetBeatmapReqTypeOuterClass.MusicGameGetBeatmapReqType result = emu.grasscutter.net.proto.MusicGameGetBeatmapReqTypeOuterClass.MusicGameGetBeatmapReqType.valueOf(reqType_);
      return result == null ? emu.grasscutter.net.proto.MusicGameGetBeatmapReqTypeOuterClass.MusicGameGetBeatmapReqType.UNRECOGNIZED : result;
    }

    public static final int MUSIC_RECORD_FIELD_NUMBER = 9;
    /**
     * <code>.MusicBeatmap music_record = 9;</code>
     * @return Whether the musicRecord field is set.
     */
    @java.lang.Override
    public boolean hasMusicRecord() {
      return beatmapCase_ == 9;
    }
    /**
     * <code>.MusicBeatmap music_record = 9;</code>
     * @return The musicRecord.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.MusicBeatmapOuterClass.MusicBeatmap getMusicRecord() {
      if (beatmapCase_ == 9) {
         return (emu.grasscutter.net.proto.MusicBeatmapOuterClass.MusicBeatmap) beatmap_;
      }
      return emu.grasscutter.net.proto.MusicBeatmapOuterClass.MusicBeatmap.getDefaultInstance();
    }
    /**
     * <code>.MusicBeatmap music_record = 9;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.MusicBeatmapOuterClass.MusicBeatmapOrBuilder getMusicRecordOrBuilder() {
      if (beatmapCase_ == 9) {
         return (emu.grasscutter.net.proto.MusicBeatmapOuterClass.MusicBeatmap) beatmap_;
      }
      return emu.grasscutter.net.proto.MusicBeatmapOuterClass.MusicBeatmap.getDefaultInstance();
    }

    public static final int MUSIC_BRIEF_INFO_FIELD_NUMBER = 953;
    /**
     * <code>.MusicBriefInfo music_brief_info = 953;</code>
     * @return Whether the musicBriefInfo field is set.
     */
    @java.lang.Override
    public boolean hasMusicBriefInfo() {
      return briefInfoCase_ == 953;
    }
    /**
     * <code>.MusicBriefInfo music_brief_info = 953;</code>
     * @return The musicBriefInfo.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo getMusicBriefInfo() {
      if (briefInfoCase_ == 953) {
         return (emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo) briefInfo_;
      }
      return emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.getDefaultInstance();
    }
    /**
     * <code>.MusicBriefInfo music_brief_info = 953;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfoOrBuilder getMusicBriefInfoOrBuilder() {
      if (briefInfoCase_ == 953) {
         return (emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo) briefInfo_;
      }
      return emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.getDefaultInstance();
    }

    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 (unknownEnum1_ != emu.grasscutter.net.proto.MusicGameUnknown1EnumOuterClass.MusicGameUnknown1Enum.MusicGameUnknown1Enum_NONE.getNumber()) {
        output.writeEnum(1, unknownEnum1_);
      }
      if (reqType_ != emu.grasscutter.net.proto.MusicGameGetBeatmapReqTypeOuterClass.MusicGameGetBeatmapReqType.MusicGameGetBeatmapReqType_u1.getNumber()) {
        output.writeEnum(2, reqType_);
      }
      if (musicShareId_ != 0L) {
        output.writeUInt64(5, musicShareId_);
      }
      if (beatmapCase_ == 9) {
        output.writeMessage(9, (emu.grasscutter.net.proto.MusicBeatmapOuterClass.MusicBeatmap) beatmap_);
      }
      if (retcode_ != 0) {
        output.writeInt32(13, retcode_);
      }
      if (briefInfoCase_ == 953) {
        output.writeMessage(953, (emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo) briefInfo_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (unknownEnum1_ != emu.grasscutter.net.proto.MusicGameUnknown1EnumOuterClass.MusicGameUnknown1Enum.MusicGameUnknown1Enum_NONE.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(1, unknownEnum1_);
      }
      if (reqType_ != emu.grasscutter.net.proto.MusicGameGetBeatmapReqTypeOuterClass.MusicGameGetBeatmapReqType.MusicGameGetBeatmapReqType_u1.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(2, reqType_);
      }
      if (musicShareId_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(5, musicShareId_);
      }
      if (beatmapCase_ == 9) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(9, (emu.grasscutter.net.proto.MusicBeatmapOuterClass.MusicBeatmap) beatmap_);
      }
      if (retcode_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(13, retcode_);
      }
      if (briefInfoCase_ == 953) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(953, (emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo) briefInfo_);
      }
      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.MusicGameGetBeatmapRspOuterClass.MusicGameGetBeatmapRsp)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.MusicGameGetBeatmapRspOuterClass.MusicGameGetBeatmapRsp other = (emu.grasscutter.net.proto.MusicGameGetBeatmapRspOuterClass.MusicGameGetBeatmapRsp) obj;

      if (getRetcode()
          != other.getRetcode()) return false;
      if (unknownEnum1_ != other.unknownEnum1_) return false;
      if (getMusicShareId()
          != other.getMusicShareId()) return false;
      if (reqType_ != other.reqType_) return false;
      if (!getBeatmapCase().equals(other.getBeatmapCase())) return false;
      switch (beatmapCase_) {
        case 9:
          if (!getMusicRecord()
              .equals(other.getMusicRecord())) return false;
          break;
        case 0:
        default:
      }
      if (!getBriefInfoCase().equals(other.getBriefInfoCase())) return false;
      switch (briefInfoCase_) {
        case 953:
          if (!getMusicBriefInfo()
              .equals(other.getMusicBriefInfo())) return false;
          break;
        case 0:
        default:
      }
      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();
      hash = (37 * hash) + RETCODE_FIELD_NUMBER;
      hash = (53 * hash) + getRetcode();
      hash = (37 * hash) + UNKNOWN_ENUM1_FIELD_NUMBER;
      hash = (53 * hash) + unknownEnum1_;
      hash = (37 * hash) + MUSIC_SHARE_ID_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getMusicShareId());
      hash = (37 * hash) + REQ_TYPE_FIELD_NUMBER;
      hash = (53 * hash) + reqType_;
      switch (beatmapCase_) {
        case 9:
          hash = (37 * hash) + MUSIC_RECORD_FIELD_NUMBER;
          hash = (53 * hash) + getMusicRecord().hashCode();
          break;
        case 0:
        default:
      }
      switch (briefInfoCase_) {
        case 953:
          hash = (37 * hash) + MUSIC_BRIEF_INFO_FIELD_NUMBER;
          hash = (53 * hash) + getMusicBriefInfo().hashCode();
          break;
        case 0:
        default:
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * <pre>
     * CmdId: 6309
     * EnetChannelId: 0
     * EnetIsReliable: true
     * </pre>
     *
     * Protobuf type {@code MusicGameGetBeatmapRsp}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:MusicGameGetBeatmapRsp)
        emu.grasscutter.net.proto.MusicGameGetBeatmapRspOuterClass.MusicGameGetBeatmapRspOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.MusicGameGetBeatmapRspOuterClass.internal_static_MusicGameGetBeatmapRsp_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return emu.grasscutter.net.proto.MusicGameGetBeatmapRspOuterClass.internal_static_MusicGameGetBeatmapRsp_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                emu.grasscutter.net.proto.MusicGameGetBeatmapRspOuterClass.MusicGameGetBeatmapRsp.class, emu.grasscutter.net.proto.MusicGameGetBeatmapRspOuterClass.MusicGameGetBeatmapRsp.Builder.class);
      }

      // Construct using emu.grasscutter.net.proto.MusicGameGetBeatmapRspOuterClass.MusicGameGetBeatmapRsp.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();
        retcode_ = 0;

        unknownEnum1_ = 0;

        musicShareId_ = 0L;

        reqType_ = 0;

        beatmapCase_ = 0;
        beatmap_ = null;
        briefInfoCase_ = 0;
        briefInfo_ = null;
        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.MusicGameGetBeatmapRspOuterClass.MusicGameGetBeatmapRsp buildPartial() {
        emu.grasscutter.net.proto.MusicGameGetBeatmapRspOuterClass.MusicGameGetBeatmapRsp result = new emu.grasscutter.net.proto.MusicGameGetBeatmapRspOuterClass.MusicGameGetBeatmapRsp(this);
        result.retcode_ = retcode_;
        result.unknownEnum1_ = unknownEnum1_;
        result.musicShareId_ = musicShareId_;
        result.reqType_ = reqType_;
        if (beatmapCase_ == 9) {
          if (musicRecordBuilder_ == null) {
            result.beatmap_ = beatmap_;
          } else {
            result.beatmap_ = musicRecordBuilder_.build();
          }
        }
        if (briefInfoCase_ == 953) {
          if (musicBriefInfoBuilder_ == null) {
            result.briefInfo_ = briefInfo_;
          } else {
            result.briefInfo_ = musicBriefInfoBuilder_.build();
          }
        }
        result.beatmapCase_ = beatmapCase_;
        result.briefInfoCase_ = briefInfoCase_;
        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.MusicGameGetBeatmapRspOuterClass.MusicGameGetBeatmapRsp) {
          return mergeFrom((emu.grasscutter.net.proto.MusicGameGetBeatmapRspOuterClass.MusicGameGetBeatmapRsp)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.MusicGameGetBeatmapRspOuterClass.MusicGameGetBeatmapRsp other) {
        if (other == emu.grasscutter.net.proto.MusicGameGetBeatmapRspOuterClass.MusicGameGetBeatmapRsp.getDefaultInstance()) return this;
        if (other.getRetcode() != 0) {
          setRetcode(other.getRetcode());
        }
        if (other.unknownEnum1_ != 0) {
          setUnknownEnum1Value(other.getUnknownEnum1Value());
        }
        if (other.getMusicShareId() != 0L) {
          setMusicShareId(other.getMusicShareId());
        }
        if (other.reqType_ != 0) {
          setReqTypeValue(other.getReqTypeValue());
        }
        switch (other.getBeatmapCase()) {
          case MUSIC_RECORD: {
            mergeMusicRecord(other.getMusicRecord());
            break;
          }
          case BEATMAP_NOT_SET: {
            break;
          }
        }
        switch (other.getBriefInfoCase()) {
          case MUSIC_BRIEF_INFO: {
            mergeMusicBriefInfo(other.getMusicBriefInfo());
            break;
          }
          case BRIEFINFO_NOT_SET: {
            break;
          }
        }
        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.MusicGameGetBeatmapRspOuterClass.MusicGameGetBeatmapRsp parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.MusicGameGetBeatmapRspOuterClass.MusicGameGetBeatmapRsp) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int beatmapCase_ = 0;
      private java.lang.Object beatmap_;
      public BeatmapCase
          getBeatmapCase() {
        return BeatmapCase.forNumber(
            beatmapCase_);
      }

      public Builder clearBeatmap() {
        beatmapCase_ = 0;
        beatmap_ = null;
        onChanged();
        return this;
      }

      private int briefInfoCase_ = 0;
      private java.lang.Object briefInfo_;
      public BriefInfoCase
          getBriefInfoCase() {
        return BriefInfoCase.forNumber(
            briefInfoCase_);
      }

      public Builder clearBriefInfo() {
        briefInfoCase_ = 0;
        briefInfo_ = null;
        onChanged();
        return this;
      }


      private int retcode_ ;
      /**
       * <code>int32 retcode = 13;</code>
       * @return The retcode.
       */
      @java.lang.Override
      public int getRetcode() {
        return retcode_;
      }
      /**
       * <code>int32 retcode = 13;</code>
       * @param value The retcode to set.
       * @return This builder for chaining.
       */
      public Builder setRetcode(int value) {
        
        retcode_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int32 retcode = 13;</code>
       * @return This builder for chaining.
       */
      public Builder clearRetcode() {
        
        retcode_ = 0;
        onChanged();
        return this;
      }

      private int unknownEnum1_ = 0;
      /**
       * <code>.MusicGameUnknown1Enum unknown_enum1 = 1;</code>
       * @return The enum numeric value on the wire for unknownEnum1.
       */
      @java.lang.Override public int getUnknownEnum1Value() {
        return unknownEnum1_;
      }
      /**
       * <code>.MusicGameUnknown1Enum unknown_enum1 = 1;</code>
       * @param value The enum numeric value on the wire for unknownEnum1 to set.
       * @return This builder for chaining.
       */
      public Builder setUnknownEnum1Value(int value) {
        
        unknownEnum1_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>.MusicGameUnknown1Enum unknown_enum1 = 1;</code>
       * @return The unknownEnum1.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.MusicGameUnknown1EnumOuterClass.MusicGameUnknown1Enum getUnknownEnum1() {
        @SuppressWarnings("deprecation")
        emu.grasscutter.net.proto.MusicGameUnknown1EnumOuterClass.MusicGameUnknown1Enum result = emu.grasscutter.net.proto.MusicGameUnknown1EnumOuterClass.MusicGameUnknown1Enum.valueOf(unknownEnum1_);
        return result == null ? emu.grasscutter.net.proto.MusicGameUnknown1EnumOuterClass.MusicGameUnknown1Enum.UNRECOGNIZED : result;
      }
      /**
       * <code>.MusicGameUnknown1Enum unknown_enum1 = 1;</code>
       * @param value The unknownEnum1 to set.
       * @return This builder for chaining.
       */
      public Builder setUnknownEnum1(emu.grasscutter.net.proto.MusicGameUnknown1EnumOuterClass.MusicGameUnknown1Enum value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        unknownEnum1_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <code>.MusicGameUnknown1Enum unknown_enum1 = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearUnknownEnum1() {
        
        unknownEnum1_ = 0;
        onChanged();
        return this;
      }

      private long musicShareId_ ;
      /**
       * <code>uint64 music_share_id = 5;</code>
       * @return The musicShareId.
       */
      @java.lang.Override
      public long getMusicShareId() {
        return musicShareId_;
      }
      /**
       * <code>uint64 music_share_id = 5;</code>
       * @param value The musicShareId to set.
       * @return This builder for chaining.
       */
      public Builder setMusicShareId(long value) {
        
        musicShareId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint64 music_share_id = 5;</code>
       * @return This builder for chaining.
       */
      public Builder clearMusicShareId() {
        
        musicShareId_ = 0L;
        onChanged();
        return this;
      }

      private int reqType_ = 0;
      /**
       * <code>.MusicGameGetBeatmapReqType req_type = 2;</code>
       * @return The enum numeric value on the wire for reqType.
       */
      @java.lang.Override public int getReqTypeValue() {
        return reqType_;
      }
      /**
       * <code>.MusicGameGetBeatmapReqType req_type = 2;</code>
       * @param value The enum numeric value on the wire for reqType to set.
       * @return This builder for chaining.
       */
      public Builder setReqTypeValue(int value) {
        
        reqType_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>.MusicGameGetBeatmapReqType req_type = 2;</code>
       * @return The reqType.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.MusicGameGetBeatmapReqTypeOuterClass.MusicGameGetBeatmapReqType getReqType() {
        @SuppressWarnings("deprecation")
        emu.grasscutter.net.proto.MusicGameGetBeatmapReqTypeOuterClass.MusicGameGetBeatmapReqType result = emu.grasscutter.net.proto.MusicGameGetBeatmapReqTypeOuterClass.MusicGameGetBeatmapReqType.valueOf(reqType_);
        return result == null ? emu.grasscutter.net.proto.MusicGameGetBeatmapReqTypeOuterClass.MusicGameGetBeatmapReqType.UNRECOGNIZED : result;
      }
      /**
       * <code>.MusicGameGetBeatmapReqType req_type = 2;</code>
       * @param value The reqType to set.
       * @return This builder for chaining.
       */
      public Builder setReqType(emu.grasscutter.net.proto.MusicGameGetBeatmapReqTypeOuterClass.MusicGameGetBeatmapReqType value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        reqType_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <code>.MusicGameGetBeatmapReqType req_type = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearReqType() {
        
        reqType_ = 0;
        onChanged();
        return this;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.MusicBeatmapOuterClass.MusicBeatmap, emu.grasscutter.net.proto.MusicBeatmapOuterClass.MusicBeatmap.Builder, emu.grasscutter.net.proto.MusicBeatmapOuterClass.MusicBeatmapOrBuilder> musicRecordBuilder_;
      /**
       * <code>.MusicBeatmap music_record = 9;</code>
       * @return Whether the musicRecord field is set.
       */
      @java.lang.Override
      public boolean hasMusicRecord() {
        return beatmapCase_ == 9;
      }
      /**
       * <code>.MusicBeatmap music_record = 9;</code>
       * @return The musicRecord.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.MusicBeatmapOuterClass.MusicBeatmap getMusicRecord() {
        if (musicRecordBuilder_ == null) {
          if (beatmapCase_ == 9) {
            return (emu.grasscutter.net.proto.MusicBeatmapOuterClass.MusicBeatmap) beatmap_;
          }
          return emu.grasscutter.net.proto.MusicBeatmapOuterClass.MusicBeatmap.getDefaultInstance();
        } else {
          if (beatmapCase_ == 9) {
            return musicRecordBuilder_.getMessage();
          }
          return emu.grasscutter.net.proto.MusicBeatmapOuterClass.MusicBeatmap.getDefaultInstance();
        }
      }
      /**
       * <code>.MusicBeatmap music_record = 9;</code>
       */
      public Builder setMusicRecord(emu.grasscutter.net.proto.MusicBeatmapOuterClass.MusicBeatmap value) {
        if (musicRecordBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          beatmap_ = value;
          onChanged();
        } else {
          musicRecordBuilder_.setMessage(value);
        }
        beatmapCase_ = 9;
        return this;
      }
      /**
       * <code>.MusicBeatmap music_record = 9;</code>
       */
      public Builder setMusicRecord(
          emu.grasscutter.net.proto.MusicBeatmapOuterClass.MusicBeatmap.Builder builderForValue) {
        if (musicRecordBuilder_ == null) {
          beatmap_ = builderForValue.build();
          onChanged();
        } else {
          musicRecordBuilder_.setMessage(builderForValue.build());
        }
        beatmapCase_ = 9;
        return this;
      }
      /**
       * <code>.MusicBeatmap music_record = 9;</code>
       */
      public Builder mergeMusicRecord(emu.grasscutter.net.proto.MusicBeatmapOuterClass.MusicBeatmap value) {
        if (musicRecordBuilder_ == null) {
          if (beatmapCase_ == 9 &&
              beatmap_ != emu.grasscutter.net.proto.MusicBeatmapOuterClass.MusicBeatmap.getDefaultInstance()) {
            beatmap_ = emu.grasscutter.net.proto.MusicBeatmapOuterClass.MusicBeatmap.newBuilder((emu.grasscutter.net.proto.MusicBeatmapOuterClass.MusicBeatmap) beatmap_)
                .mergeFrom(value).buildPartial();
          } else {
            beatmap_ = value;
          }
          onChanged();
        } else {
          if (beatmapCase_ == 9) {
            musicRecordBuilder_.mergeFrom(value);
          }
          musicRecordBuilder_.setMessage(value);
        }
        beatmapCase_ = 9;
        return this;
      }
      /**
       * <code>.MusicBeatmap music_record = 9;</code>
       */
      public Builder clearMusicRecord() {
        if (musicRecordBuilder_ == null) {
          if (beatmapCase_ == 9) {
            beatmapCase_ = 0;
            beatmap_ = null;
            onChanged();
          }
        } else {
          if (beatmapCase_ == 9) {
            beatmapCase_ = 0;
            beatmap_ = null;
          }
          musicRecordBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>.MusicBeatmap music_record = 9;</code>
       */
      public emu.grasscutter.net.proto.MusicBeatmapOuterClass.MusicBeatmap.Builder getMusicRecordBuilder() {
        return getMusicRecordFieldBuilder().getBuilder();
      }
      /**
       * <code>.MusicBeatmap music_record = 9;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.MusicBeatmapOuterClass.MusicBeatmapOrBuilder getMusicRecordOrBuilder() {
        if ((beatmapCase_ == 9) && (musicRecordBuilder_ != null)) {
          return musicRecordBuilder_.getMessageOrBuilder();
        } else {
          if (beatmapCase_ == 9) {
            return (emu.grasscutter.net.proto.MusicBeatmapOuterClass.MusicBeatmap) beatmap_;
          }
          return emu.grasscutter.net.proto.MusicBeatmapOuterClass.MusicBeatmap.getDefaultInstance();
        }
      }
      /**
       * <code>.MusicBeatmap music_record = 9;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.MusicBeatmapOuterClass.MusicBeatmap, emu.grasscutter.net.proto.MusicBeatmapOuterClass.MusicBeatmap.Builder, emu.grasscutter.net.proto.MusicBeatmapOuterClass.MusicBeatmapOrBuilder> 
          getMusicRecordFieldBuilder() {
        if (musicRecordBuilder_ == null) {
          if (!(beatmapCase_ == 9)) {
            beatmap_ = emu.grasscutter.net.proto.MusicBeatmapOuterClass.MusicBeatmap.getDefaultInstance();
          }
          musicRecordBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.MusicBeatmapOuterClass.MusicBeatmap, emu.grasscutter.net.proto.MusicBeatmapOuterClass.MusicBeatmap.Builder, emu.grasscutter.net.proto.MusicBeatmapOuterClass.MusicBeatmapOrBuilder>(
                  (emu.grasscutter.net.proto.MusicBeatmapOuterClass.MusicBeatmap) beatmap_,
                  getParentForChildren(),
                  isClean());
          beatmap_ = null;
        }
        beatmapCase_ = 9;
        onChanged();;
        return musicRecordBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo, emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.Builder, emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfoOrBuilder> musicBriefInfoBuilder_;
      /**
       * <code>.MusicBriefInfo music_brief_info = 953;</code>
       * @return Whether the musicBriefInfo field is set.
       */
      @java.lang.Override
      public boolean hasMusicBriefInfo() {
        return briefInfoCase_ == 953;
      }
      /**
       * <code>.MusicBriefInfo music_brief_info = 953;</code>
       * @return The musicBriefInfo.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo getMusicBriefInfo() {
        if (musicBriefInfoBuilder_ == null) {
          if (briefInfoCase_ == 953) {
            return (emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo) briefInfo_;
          }
          return emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.getDefaultInstance();
        } else {
          if (briefInfoCase_ == 953) {
            return musicBriefInfoBuilder_.getMessage();
          }
          return emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.getDefaultInstance();
        }
      }
      /**
       * <code>.MusicBriefInfo music_brief_info = 953;</code>
       */
      public Builder setMusicBriefInfo(emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo value) {
        if (musicBriefInfoBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          briefInfo_ = value;
          onChanged();
        } else {
          musicBriefInfoBuilder_.setMessage(value);
        }
        briefInfoCase_ = 953;
        return this;
      }
      /**
       * <code>.MusicBriefInfo music_brief_info = 953;</code>
       */
      public Builder setMusicBriefInfo(
          emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.Builder builderForValue) {
        if (musicBriefInfoBuilder_ == null) {
          briefInfo_ = builderForValue.build();
          onChanged();
        } else {
          musicBriefInfoBuilder_.setMessage(builderForValue.build());
        }
        briefInfoCase_ = 953;
        return this;
      }
      /**
       * <code>.MusicBriefInfo music_brief_info = 953;</code>
       */
      public Builder mergeMusicBriefInfo(emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo value) {
        if (musicBriefInfoBuilder_ == null) {
          if (briefInfoCase_ == 953 &&
              briefInfo_ != emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.getDefaultInstance()) {
            briefInfo_ = emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.newBuilder((emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo) briefInfo_)
                .mergeFrom(value).buildPartial();
          } else {
            briefInfo_ = value;
          }
          onChanged();
        } else {
          if (briefInfoCase_ == 953) {
            musicBriefInfoBuilder_.mergeFrom(value);
          }
          musicBriefInfoBuilder_.setMessage(value);
        }
        briefInfoCase_ = 953;
        return this;
      }
      /**
       * <code>.MusicBriefInfo music_brief_info = 953;</code>
       */
      public Builder clearMusicBriefInfo() {
        if (musicBriefInfoBuilder_ == null) {
          if (briefInfoCase_ == 953) {
            briefInfoCase_ = 0;
            briefInfo_ = null;
            onChanged();
          }
        } else {
          if (briefInfoCase_ == 953) {
            briefInfoCase_ = 0;
            briefInfo_ = null;
          }
          musicBriefInfoBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>.MusicBriefInfo music_brief_info = 953;</code>
       */
      public emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.Builder getMusicBriefInfoBuilder() {
        return getMusicBriefInfoFieldBuilder().getBuilder();
      }
      /**
       * <code>.MusicBriefInfo music_brief_info = 953;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfoOrBuilder getMusicBriefInfoOrBuilder() {
        if ((briefInfoCase_ == 953) && (musicBriefInfoBuilder_ != null)) {
          return musicBriefInfoBuilder_.getMessageOrBuilder();
        } else {
          if (briefInfoCase_ == 953) {
            return (emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo) briefInfo_;
          }
          return emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.getDefaultInstance();
        }
      }
      /**
       * <code>.MusicBriefInfo music_brief_info = 953;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo, emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.Builder, emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfoOrBuilder> 
          getMusicBriefInfoFieldBuilder() {
        if (musicBriefInfoBuilder_ == null) {
          if (!(briefInfoCase_ == 953)) {
            briefInfo_ = emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.getDefaultInstance();
          }
          musicBriefInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo, emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo.Builder, emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfoOrBuilder>(
                  (emu.grasscutter.net.proto.MusicBriefInfoOuterClass.MusicBriefInfo) briefInfo_,
                  getParentForChildren(),
                  isClean());
          briefInfo_ = null;
        }
        briefInfoCase_ = 953;
        onChanged();;
        return musicBriefInfoBuilder_;
      }
      @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:MusicGameGetBeatmapRsp)
    }

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

    public static emu.grasscutter.net.proto.MusicGameGetBeatmapRspOuterClass.MusicGameGetBeatmapRsp getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_MusicGameGetBeatmapRsp_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_MusicGameGetBeatmapRsp_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\034MusicGameGetBeatmapRsp.proto\032 MusicGam" +
      "eGetBeatmapReqType.proto\032\022MusicBeatmap.p" +
      "roto\032\024MusicBriefInfo.proto\032\033MusicGameUnk" +
      "nown1Enum.proto\"\215\002\n\026MusicGameGetBeatmapR" +
      "sp\022\017\n\007retcode\030\r \001(\005\022-\n\runknown_enum1\030\001 \001" +
      "(\0162\026.MusicGameUnknown1Enum\022\026\n\016music_shar" +
      "e_id\030\005 \001(\004\022-\n\010req_type\030\002 \001(\0162\033.MusicGame" +
      "GetBeatmapReqType\022%\n\014music_record\030\t \001(\0132" +
      "\r.MusicBeatmapH\000\022,\n\020music_brief_info\030\271\007 " +
      "\001(\0132\017.MusicBriefInfoH\001B\t\n\007beatmapB\014\n\nbri" +
      "ef_infoB\033\n\031emu.grasscutter.net.protob\006pr" +
      "oto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.MusicGameGetBeatmapReqTypeOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.MusicBeatmapOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.MusicBriefInfoOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.MusicGameUnknown1EnumOuterClass.getDescriptor(),
        });
    internal_static_MusicGameGetBeatmapRsp_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_MusicGameGetBeatmapRsp_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_MusicGameGetBeatmapRsp_descriptor,
        new java.lang.String[] { "Retcode", "UnknownEnum1", "MusicShareId", "ReqType", "MusicRecord", "MusicBriefInfo", "Beatmap", "BriefInfo", });
    emu.grasscutter.net.proto.MusicGameGetBeatmapReqTypeOuterClass.getDescriptor();
    emu.grasscutter.net.proto.MusicBeatmapOuterClass.getDescriptor();
    emu.grasscutter.net.proto.MusicBriefInfoOuterClass.getDescriptor();
    emu.grasscutter.net.proto.MusicGameUnknown1EnumOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
