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

package emu.grasscutter.net.proto;

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

    /**
     * <code>uint32 trial_id = 10;</code>
     * @return The trialId.
     */
    int getTrialId();

    /**
     * <code>uint32 enter_point_id = 5;</code>
     * @return The enterPointId.
     */
    int getEnterPointId();

    /**
     * <code>repeated uint32 select_trial_avatar_id_list = 3;</code>
     * @return A list containing the selectTrialAvatarIdList.
     */
    java.util.List<java.lang.Integer> getSelectTrialAvatarIdListList();
    /**
     * <code>repeated uint32 select_trial_avatar_id_list = 3;</code>
     * @return The count of selectTrialAvatarIdList.
     */
    int getSelectTrialAvatarIdListCount();
    /**
     * <code>repeated uint32 select_trial_avatar_id_list = 3;</code>
     * @param index The index of the element to return.
     * @return The selectTrialAvatarIdList at the given index.
     */
    int getSelectTrialAvatarIdList(int index);

    /**
     * <code>repeated .MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex select_avatar_index_list = 4;</code>
     */
    java.util.List<emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex> 
        getSelectAvatarIndexListList();
    /**
     * <code>repeated .MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex select_avatar_index_list = 4;</code>
     */
    emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex getSelectAvatarIndexList(int index);
    /**
     * <code>repeated .MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex select_avatar_index_list = 4;</code>
     */
    int getSelectAvatarIndexListCount();
    /**
     * <code>repeated .MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex select_avatar_index_list = 4;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndexOrBuilder> 
        getSelectAvatarIndexListOrBuilderList();
    /**
     * <code>repeated .MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex select_avatar_index_list = 4;</code>
     */
    emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndexOrBuilder getSelectAvatarIndexListOrBuilder(
        int index);
  }
  /**
   * <pre>
   * CmdId: 8665
   * Obf: CFLPMAIKDFA
   * </pre>
   *
   * Protobuf type {@code MistTrialSelectAvatarAndEnterDungeonReq}
   */
  public static final class MistTrialSelectAvatarAndEnterDungeonReq extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:MistTrialSelectAvatarAndEnterDungeonReq)
      MistTrialSelectAvatarAndEnterDungeonReqOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use MistTrialSelectAvatarAndEnterDungeonReq.newBuilder() to construct.
    private MistTrialSelectAvatarAndEnterDungeonReq(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private MistTrialSelectAvatarAndEnterDungeonReq() {
      selectTrialAvatarIdList_ = emptyIntList();
      selectAvatarIndexList_ = java.util.Collections.emptyList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private MistTrialSelectAvatarAndEnterDungeonReq(
        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 24: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                selectTrialAvatarIdList_ = newIntList();
                mutable_bitField0_ |= 0x00000001;
              }
              selectTrialAvatarIdList_.addInt(input.readUInt32());
              break;
            }
            case 26: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
                selectTrialAvatarIdList_ = newIntList();
                mutable_bitField0_ |= 0x00000001;
              }
              while (input.getBytesUntilLimit() > 0) {
                selectTrialAvatarIdList_.addInt(input.readUInt32());
              }
              input.popLimit(limit);
              break;
            }
            case 34: {
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                selectAvatarIndexList_ = new java.util.ArrayList<emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex>();
                mutable_bitField0_ |= 0x00000002;
              }
              selectAvatarIndexList_.add(
                  input.readMessage(emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex.parser(), extensionRegistry));
              break;
            }
            case 40: {

              enterPointId_ = input.readUInt32();
              break;
            }
            case 80: {

              trialId_ = input.readUInt32();
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          selectTrialAvatarIdList_.makeImmutable(); // C
        }
        if (((mutable_bitField0_ & 0x00000002) != 0)) {
          selectAvatarIndexList_ = java.util.Collections.unmodifiableList(selectAvatarIndexList_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.internal_static_MistTrialSelectAvatarAndEnterDungeonReq_descriptor;
    }

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

    public interface SelectAvatarIndexOrBuilder extends
        // @@protoc_insertion_point(interface_extends:MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex)
        com.google.protobuf.MessageOrBuilder {

      /**
       * <code>uint32 mist_trial_avatar_id = 4;</code>
       * @return Whether the mistTrialAvatarId field is set.
       */
      boolean hasMistTrialAvatarId();
      /**
       * <code>uint32 mist_trial_avatar_id = 4;</code>
       * @return The mistTrialAvatarId.
       */
      int getMistTrialAvatarId();

      /**
       * <code>uint64 formal_avatar_guid = 5;</code>
       * @return Whether the formalAvatarGuid field is set.
       */
      boolean hasFormalAvatarGuid();
      /**
       * <code>uint64 formal_avatar_guid = 5;</code>
       * @return The formalAvatarGuid.
       */
      long getFormalAvatarGuid();

      public emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex.LMDJFNHPDIKCase getLMDJFNHPDIKCase();
    }
    /**
     * <pre>
     * Obf: FGPIFIDBMKL
     * </pre>
     *
     * Protobuf type {@code MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex}
     */
    public static final class SelectAvatarIndex extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex)
        SelectAvatarIndexOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use SelectAvatarIndex.newBuilder() to construct.
      private SelectAvatarIndex(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private SelectAvatarIndex() {
      }

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

      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return this.unknownFields;
      }
      private SelectAvatarIndex(
          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 32: {
                lMDJFNHPDIKCase_ = 4;
                lMDJFNHPDIK_ = input.readUInt32();
                break;
              }
              case 40: {
                lMDJFNHPDIKCase_ = 5;
                lMDJFNHPDIK_ = input.readUInt64();
                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.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.internal_static_MistTrialSelectAvatarAndEnterDungeonReq_SelectAvatarIndex_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.internal_static_MistTrialSelectAvatarAndEnterDungeonReq_SelectAvatarIndex_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex.class, emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex.Builder.class);
      }

      private int lMDJFNHPDIKCase_ = 0;
      private java.lang.Object lMDJFNHPDIK_;
      public enum LMDJFNHPDIKCase
          implements com.google.protobuf.Internal.EnumLite,
              com.google.protobuf.AbstractMessage.InternalOneOfEnum {
        MIST_TRIAL_AVATAR_ID(4),
        FORMAL_AVATAR_GUID(5),
        LMDJFNHPDIK_NOT_SET(0);
        private final int value;
        private LMDJFNHPDIKCase(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 LMDJFNHPDIKCase valueOf(int value) {
          return forNumber(value);
        }

        public static LMDJFNHPDIKCase forNumber(int value) {
          switch (value) {
            case 4: return MIST_TRIAL_AVATAR_ID;
            case 5: return FORMAL_AVATAR_GUID;
            case 0: return LMDJFNHPDIK_NOT_SET;
            default: return null;
          }
        }
        public int getNumber() {
          return this.value;
        }
      };

      public LMDJFNHPDIKCase
      getLMDJFNHPDIKCase() {
        return LMDJFNHPDIKCase.forNumber(
            lMDJFNHPDIKCase_);
      }

      public static final int MIST_TRIAL_AVATAR_ID_FIELD_NUMBER = 4;
      /**
       * <code>uint32 mist_trial_avatar_id = 4;</code>
       * @return Whether the mistTrialAvatarId field is set.
       */
      @java.lang.Override
      public boolean hasMistTrialAvatarId() {
        return lMDJFNHPDIKCase_ == 4;
      }
      /**
       * <code>uint32 mist_trial_avatar_id = 4;</code>
       * @return The mistTrialAvatarId.
       */
      @java.lang.Override
      public int getMistTrialAvatarId() {
        if (lMDJFNHPDIKCase_ == 4) {
          return (java.lang.Integer) lMDJFNHPDIK_;
        }
        return 0;
      }

      public static final int FORMAL_AVATAR_GUID_FIELD_NUMBER = 5;
      /**
       * <code>uint64 formal_avatar_guid = 5;</code>
       * @return Whether the formalAvatarGuid field is set.
       */
      @java.lang.Override
      public boolean hasFormalAvatarGuid() {
        return lMDJFNHPDIKCase_ == 5;
      }
      /**
       * <code>uint64 formal_avatar_guid = 5;</code>
       * @return The formalAvatarGuid.
       */
      @java.lang.Override
      public long getFormalAvatarGuid() {
        if (lMDJFNHPDIKCase_ == 5) {
          return (java.lang.Long) lMDJFNHPDIK_;
        }
        return 0L;
      }

      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 (lMDJFNHPDIKCase_ == 4) {
          output.writeUInt32(
              4, (int)((java.lang.Integer) lMDJFNHPDIK_));
        }
        if (lMDJFNHPDIKCase_ == 5) {
          output.writeUInt64(
              5, (long)((java.lang.Long) lMDJFNHPDIK_));
        }
        unknownFields.writeTo(output);
      }

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

        size = 0;
        if (lMDJFNHPDIKCase_ == 4) {
          size += com.google.protobuf.CodedOutputStream
            .computeUInt32Size(
                4, (int)((java.lang.Integer) lMDJFNHPDIK_));
        }
        if (lMDJFNHPDIKCase_ == 5) {
          size += com.google.protobuf.CodedOutputStream
            .computeUInt64Size(
                5, (long)((java.lang.Long) lMDJFNHPDIK_));
        }
        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.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex)) {
          return super.equals(obj);
        }
        emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex other = (emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex) obj;

        if (!getLMDJFNHPDIKCase().equals(other.getLMDJFNHPDIKCase())) return false;
        switch (lMDJFNHPDIKCase_) {
          case 4:
            if (getMistTrialAvatarId()
                != other.getMistTrialAvatarId()) return false;
            break;
          case 5:
            if (getFormalAvatarGuid()
                != other.getFormalAvatarGuid()) 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();
        switch (lMDJFNHPDIKCase_) {
          case 4:
            hash = (37 * hash) + MIST_TRIAL_AVATAR_ID_FIELD_NUMBER;
            hash = (53 * hash) + getMistTrialAvatarId();
            break;
          case 5:
            hash = (37 * hash) + FORMAL_AVATAR_GUID_FIELD_NUMBER;
            hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
                getFormalAvatarGuid());
            break;
          case 0:
          default:
        }
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }

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

        @java.lang.Override
        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.internal_static_MistTrialSelectAvatarAndEnterDungeonReq_SelectAvatarIndex_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex.class, emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex.Builder.class);
        }

        // Construct using emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex.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();
          lMDJFNHPDIKCase_ = 0;
          lMDJFNHPDIK_ = null;
          return this;
        }

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

        @java.lang.Override
        public emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex getDefaultInstanceForType() {
          return emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex.getDefaultInstance();
        }

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

        @java.lang.Override
        public emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex buildPartial() {
          emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex result = new emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex(this);
          if (lMDJFNHPDIKCase_ == 4) {
            result.lMDJFNHPDIK_ = lMDJFNHPDIK_;
          }
          if (lMDJFNHPDIKCase_ == 5) {
            result.lMDJFNHPDIK_ = lMDJFNHPDIK_;
          }
          result.lMDJFNHPDIKCase_ = lMDJFNHPDIKCase_;
          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.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex) {
            return mergeFrom((emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }

        public Builder mergeFrom(emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex other) {
          if (other == emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex.getDefaultInstance()) return this;
          switch (other.getLMDJFNHPDIKCase()) {
            case MIST_TRIAL_AVATAR_ID: {
              setMistTrialAvatarId(other.getMistTrialAvatarId());
              break;
            }
            case FORMAL_AVATAR_GUID: {
              setFormalAvatarGuid(other.getFormalAvatarGuid());
              break;
            }
            case LMDJFNHPDIK_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.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
        private int lMDJFNHPDIKCase_ = 0;
        private java.lang.Object lMDJFNHPDIK_;
        public LMDJFNHPDIKCase
            getLMDJFNHPDIKCase() {
          return LMDJFNHPDIKCase.forNumber(
              lMDJFNHPDIKCase_);
        }

        public Builder clearLMDJFNHPDIK() {
          lMDJFNHPDIKCase_ = 0;
          lMDJFNHPDIK_ = null;
          onChanged();
          return this;
        }


        /**
         * <code>uint32 mist_trial_avatar_id = 4;</code>
         * @return Whether the mistTrialAvatarId field is set.
         */
        public boolean hasMistTrialAvatarId() {
          return lMDJFNHPDIKCase_ == 4;
        }
        /**
         * <code>uint32 mist_trial_avatar_id = 4;</code>
         * @return The mistTrialAvatarId.
         */
        public int getMistTrialAvatarId() {
          if (lMDJFNHPDIKCase_ == 4) {
            return (java.lang.Integer) lMDJFNHPDIK_;
          }
          return 0;
        }
        /**
         * <code>uint32 mist_trial_avatar_id = 4;</code>
         * @param value The mistTrialAvatarId to set.
         * @return This builder for chaining.
         */
        public Builder setMistTrialAvatarId(int value) {
          lMDJFNHPDIKCase_ = 4;
          lMDJFNHPDIK_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>uint32 mist_trial_avatar_id = 4;</code>
         * @return This builder for chaining.
         */
        public Builder clearMistTrialAvatarId() {
          if (lMDJFNHPDIKCase_ == 4) {
            lMDJFNHPDIKCase_ = 0;
            lMDJFNHPDIK_ = null;
            onChanged();
          }
          return this;
        }

        /**
         * <code>uint64 formal_avatar_guid = 5;</code>
         * @return Whether the formalAvatarGuid field is set.
         */
        public boolean hasFormalAvatarGuid() {
          return lMDJFNHPDIKCase_ == 5;
        }
        /**
         * <code>uint64 formal_avatar_guid = 5;</code>
         * @return The formalAvatarGuid.
         */
        public long getFormalAvatarGuid() {
          if (lMDJFNHPDIKCase_ == 5) {
            return (java.lang.Long) lMDJFNHPDIK_;
          }
          return 0L;
        }
        /**
         * <code>uint64 formal_avatar_guid = 5;</code>
         * @param value The formalAvatarGuid to set.
         * @return This builder for chaining.
         */
        public Builder setFormalAvatarGuid(long value) {
          lMDJFNHPDIKCase_ = 5;
          lMDJFNHPDIK_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>uint64 formal_avatar_guid = 5;</code>
         * @return This builder for chaining.
         */
        public Builder clearFormalAvatarGuid() {
          if (lMDJFNHPDIKCase_ == 5) {
            lMDJFNHPDIKCase_ = 0;
            lMDJFNHPDIK_ = null;
            onChanged();
          }
          return this;
        }
        @java.lang.Override
        public final Builder setUnknownFields(
            final com.google.protobuf.UnknownFieldSet unknownFields) {
          return super.setUnknownFields(unknownFields);
        }

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


        // @@protoc_insertion_point(builder_scope:MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex)
      }

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

      public static emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }

    }

    public static final int TRIAL_ID_FIELD_NUMBER = 10;
    private int trialId_;
    /**
     * <code>uint32 trial_id = 10;</code>
     * @return The trialId.
     */
    @java.lang.Override
    public int getTrialId() {
      return trialId_;
    }

    public static final int ENTER_POINT_ID_FIELD_NUMBER = 5;
    private int enterPointId_;
    /**
     * <code>uint32 enter_point_id = 5;</code>
     * @return The enterPointId.
     */
    @java.lang.Override
    public int getEnterPointId() {
      return enterPointId_;
    }

    public static final int SELECT_TRIAL_AVATAR_ID_LIST_FIELD_NUMBER = 3;
    private com.google.protobuf.Internal.IntList selectTrialAvatarIdList_;
    /**
     * <code>repeated uint32 select_trial_avatar_id_list = 3;</code>
     * @return A list containing the selectTrialAvatarIdList.
     */
    @java.lang.Override
    public java.util.List<java.lang.Integer>
        getSelectTrialAvatarIdListList() {
      return selectTrialAvatarIdList_;
    }
    /**
     * <code>repeated uint32 select_trial_avatar_id_list = 3;</code>
     * @return The count of selectTrialAvatarIdList.
     */
    public int getSelectTrialAvatarIdListCount() {
      return selectTrialAvatarIdList_.size();
    }
    /**
     * <code>repeated uint32 select_trial_avatar_id_list = 3;</code>
     * @param index The index of the element to return.
     * @return The selectTrialAvatarIdList at the given index.
     */
    public int getSelectTrialAvatarIdList(int index) {
      return selectTrialAvatarIdList_.getInt(index);
    }
    private int selectTrialAvatarIdListMemoizedSerializedSize = -1;

    public static final int SELECT_AVATAR_INDEX_LIST_FIELD_NUMBER = 4;
    private java.util.List<emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex> selectAvatarIndexList_;
    /**
     * <code>repeated .MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex select_avatar_index_list = 4;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex> getSelectAvatarIndexListList() {
      return selectAvatarIndexList_;
    }
    /**
     * <code>repeated .MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex select_avatar_index_list = 4;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndexOrBuilder> 
        getSelectAvatarIndexListOrBuilderList() {
      return selectAvatarIndexList_;
    }
    /**
     * <code>repeated .MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex select_avatar_index_list = 4;</code>
     */
    @java.lang.Override
    public int getSelectAvatarIndexListCount() {
      return selectAvatarIndexList_.size();
    }
    /**
     * <code>repeated .MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex select_avatar_index_list = 4;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex getSelectAvatarIndexList(int index) {
      return selectAvatarIndexList_.get(index);
    }
    /**
     * <code>repeated .MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex select_avatar_index_list = 4;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndexOrBuilder getSelectAvatarIndexListOrBuilder(
        int index) {
      return selectAvatarIndexList_.get(index);
    }

    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 {
      getSerializedSize();
      if (getSelectTrialAvatarIdListList().size() > 0) {
        output.writeUInt32NoTag(26);
        output.writeUInt32NoTag(selectTrialAvatarIdListMemoizedSerializedSize);
      }
      for (int i = 0; i < selectTrialAvatarIdList_.size(); i++) {
        output.writeUInt32NoTag(selectTrialAvatarIdList_.getInt(i));
      }
      for (int i = 0; i < selectAvatarIndexList_.size(); i++) {
        output.writeMessage(4, selectAvatarIndexList_.get(i));
      }
      if (enterPointId_ != 0) {
        output.writeUInt32(5, enterPointId_);
      }
      if (trialId_ != 0) {
        output.writeUInt32(10, trialId_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      {
        int dataSize = 0;
        for (int i = 0; i < selectTrialAvatarIdList_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeUInt32SizeNoTag(selectTrialAvatarIdList_.getInt(i));
        }
        size += dataSize;
        if (!getSelectTrialAvatarIdListList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        selectTrialAvatarIdListMemoizedSerializedSize = dataSize;
      }
      for (int i = 0; i < selectAvatarIndexList_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(4, selectAvatarIndexList_.get(i));
      }
      if (enterPointId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(5, enterPointId_);
      }
      if (trialId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(10, trialId_);
      }
      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.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq other = (emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq) obj;

      if (getTrialId()
          != other.getTrialId()) return false;
      if (getEnterPointId()
          != other.getEnterPointId()) return false;
      if (!getSelectTrialAvatarIdListList()
          .equals(other.getSelectTrialAvatarIdListList())) return false;
      if (!getSelectAvatarIndexListList()
          .equals(other.getSelectAvatarIndexListList())) 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();
      hash = (37 * hash) + TRIAL_ID_FIELD_NUMBER;
      hash = (53 * hash) + getTrialId();
      hash = (37 * hash) + ENTER_POINT_ID_FIELD_NUMBER;
      hash = (53 * hash) + getEnterPointId();
      if (getSelectTrialAvatarIdListCount() > 0) {
        hash = (37 * hash) + SELECT_TRIAL_AVATAR_ID_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getSelectTrialAvatarIdListList().hashCode();
      }
      if (getSelectAvatarIndexListCount() > 0) {
        hash = (37 * hash) + SELECT_AVATAR_INDEX_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getSelectAvatarIndexListList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

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

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

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

        enterPointId_ = 0;

        selectTrialAvatarIdList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000001);
        if (selectAvatarIndexListBuilder_ == null) {
          selectAvatarIndexList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
        } else {
          selectAvatarIndexListBuilder_.clear();
        }
        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq buildPartial() {
        emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq result = new emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq(this);
        int from_bitField0_ = bitField0_;
        result.trialId_ = trialId_;
        result.enterPointId_ = enterPointId_;
        if (((bitField0_ & 0x00000001) != 0)) {
          selectTrialAvatarIdList_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.selectTrialAvatarIdList_ = selectTrialAvatarIdList_;
        if (selectAvatarIndexListBuilder_ == null) {
          if (((bitField0_ & 0x00000002) != 0)) {
            selectAvatarIndexList_ = java.util.Collections.unmodifiableList(selectAvatarIndexList_);
            bitField0_ = (bitField0_ & ~0x00000002);
          }
          result.selectAvatarIndexList_ = selectAvatarIndexList_;
        } else {
          result.selectAvatarIndexList_ = selectAvatarIndexListBuilder_.build();
        }
        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.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq) {
          return mergeFrom((emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq other) {
        if (other == emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.getDefaultInstance()) return this;
        if (other.getTrialId() != 0) {
          setTrialId(other.getTrialId());
        }
        if (other.getEnterPointId() != 0) {
          setEnterPointId(other.getEnterPointId());
        }
        if (!other.selectTrialAvatarIdList_.isEmpty()) {
          if (selectTrialAvatarIdList_.isEmpty()) {
            selectTrialAvatarIdList_ = other.selectTrialAvatarIdList_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureSelectTrialAvatarIdListIsMutable();
            selectTrialAvatarIdList_.addAll(other.selectTrialAvatarIdList_);
          }
          onChanged();
        }
        if (selectAvatarIndexListBuilder_ == null) {
          if (!other.selectAvatarIndexList_.isEmpty()) {
            if (selectAvatarIndexList_.isEmpty()) {
              selectAvatarIndexList_ = other.selectAvatarIndexList_;
              bitField0_ = (bitField0_ & ~0x00000002);
            } else {
              ensureSelectAvatarIndexListIsMutable();
              selectAvatarIndexList_.addAll(other.selectAvatarIndexList_);
            }
            onChanged();
          }
        } else {
          if (!other.selectAvatarIndexList_.isEmpty()) {
            if (selectAvatarIndexListBuilder_.isEmpty()) {
              selectAvatarIndexListBuilder_.dispose();
              selectAvatarIndexListBuilder_ = null;
              selectAvatarIndexList_ = other.selectAvatarIndexList_;
              bitField0_ = (bitField0_ & ~0x00000002);
              selectAvatarIndexListBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getSelectAvatarIndexListFieldBuilder() : null;
            } else {
              selectAvatarIndexListBuilder_.addAllMessages(other.selectAvatarIndexList_);
            }
          }
        }
        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.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private int trialId_ ;
      /**
       * <code>uint32 trial_id = 10;</code>
       * @return The trialId.
       */
      @java.lang.Override
      public int getTrialId() {
        return trialId_;
      }
      /**
       * <code>uint32 trial_id = 10;</code>
       * @param value The trialId to set.
       * @return This builder for chaining.
       */
      public Builder setTrialId(int value) {
        
        trialId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 trial_id = 10;</code>
       * @return This builder for chaining.
       */
      public Builder clearTrialId() {
        
        trialId_ = 0;
        onChanged();
        return this;
      }

      private int enterPointId_ ;
      /**
       * <code>uint32 enter_point_id = 5;</code>
       * @return The enterPointId.
       */
      @java.lang.Override
      public int getEnterPointId() {
        return enterPointId_;
      }
      /**
       * <code>uint32 enter_point_id = 5;</code>
       * @param value The enterPointId to set.
       * @return This builder for chaining.
       */
      public Builder setEnterPointId(int value) {
        
        enterPointId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 enter_point_id = 5;</code>
       * @return This builder for chaining.
       */
      public Builder clearEnterPointId() {
        
        enterPointId_ = 0;
        onChanged();
        return this;
      }

      private com.google.protobuf.Internal.IntList selectTrialAvatarIdList_ = emptyIntList();
      private void ensureSelectTrialAvatarIdListIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          selectTrialAvatarIdList_ = mutableCopy(selectTrialAvatarIdList_);
          bitField0_ |= 0x00000001;
         }
      }
      /**
       * <code>repeated uint32 select_trial_avatar_id_list = 3;</code>
       * @return A list containing the selectTrialAvatarIdList.
       */
      public java.util.List<java.lang.Integer>
          getSelectTrialAvatarIdListList() {
        return ((bitField0_ & 0x00000001) != 0) ?
                 java.util.Collections.unmodifiableList(selectTrialAvatarIdList_) : selectTrialAvatarIdList_;
      }
      /**
       * <code>repeated uint32 select_trial_avatar_id_list = 3;</code>
       * @return The count of selectTrialAvatarIdList.
       */
      public int getSelectTrialAvatarIdListCount() {
        return selectTrialAvatarIdList_.size();
      }
      /**
       * <code>repeated uint32 select_trial_avatar_id_list = 3;</code>
       * @param index The index of the element to return.
       * @return The selectTrialAvatarIdList at the given index.
       */
      public int getSelectTrialAvatarIdList(int index) {
        return selectTrialAvatarIdList_.getInt(index);
      }
      /**
       * <code>repeated uint32 select_trial_avatar_id_list = 3;</code>
       * @param index The index to set the value at.
       * @param value The selectTrialAvatarIdList to set.
       * @return This builder for chaining.
       */
      public Builder setSelectTrialAvatarIdList(
          int index, int value) {
        ensureSelectTrialAvatarIdListIsMutable();
        selectTrialAvatarIdList_.setInt(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 select_trial_avatar_id_list = 3;</code>
       * @param value The selectTrialAvatarIdList to add.
       * @return This builder for chaining.
       */
      public Builder addSelectTrialAvatarIdList(int value) {
        ensureSelectTrialAvatarIdListIsMutable();
        selectTrialAvatarIdList_.addInt(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 select_trial_avatar_id_list = 3;</code>
       * @param values The selectTrialAvatarIdList to add.
       * @return This builder for chaining.
       */
      public Builder addAllSelectTrialAvatarIdList(
          java.lang.Iterable<? extends java.lang.Integer> values) {
        ensureSelectTrialAvatarIdListIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, selectTrialAvatarIdList_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 select_trial_avatar_id_list = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearSelectTrialAvatarIdList() {
        selectTrialAvatarIdList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }

      private java.util.List<emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex> selectAvatarIndexList_ =
        java.util.Collections.emptyList();
      private void ensureSelectAvatarIndexListIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          selectAvatarIndexList_ = new java.util.ArrayList<emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex>(selectAvatarIndexList_);
          bitField0_ |= 0x00000002;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex, emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex.Builder, emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndexOrBuilder> selectAvatarIndexListBuilder_;

      /**
       * <code>repeated .MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex select_avatar_index_list = 4;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex> getSelectAvatarIndexListList() {
        if (selectAvatarIndexListBuilder_ == null) {
          return java.util.Collections.unmodifiableList(selectAvatarIndexList_);
        } else {
          return selectAvatarIndexListBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex select_avatar_index_list = 4;</code>
       */
      public int getSelectAvatarIndexListCount() {
        if (selectAvatarIndexListBuilder_ == null) {
          return selectAvatarIndexList_.size();
        } else {
          return selectAvatarIndexListBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex select_avatar_index_list = 4;</code>
       */
      public emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex getSelectAvatarIndexList(int index) {
        if (selectAvatarIndexListBuilder_ == null) {
          return selectAvatarIndexList_.get(index);
        } else {
          return selectAvatarIndexListBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex select_avatar_index_list = 4;</code>
       */
      public Builder setSelectAvatarIndexList(
          int index, emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex value) {
        if (selectAvatarIndexListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureSelectAvatarIndexListIsMutable();
          selectAvatarIndexList_.set(index, value);
          onChanged();
        } else {
          selectAvatarIndexListBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex select_avatar_index_list = 4;</code>
       */
      public Builder setSelectAvatarIndexList(
          int index, emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex.Builder builderForValue) {
        if (selectAvatarIndexListBuilder_ == null) {
          ensureSelectAvatarIndexListIsMutable();
          selectAvatarIndexList_.set(index, builderForValue.build());
          onChanged();
        } else {
          selectAvatarIndexListBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex select_avatar_index_list = 4;</code>
       */
      public Builder addSelectAvatarIndexList(emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex value) {
        if (selectAvatarIndexListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureSelectAvatarIndexListIsMutable();
          selectAvatarIndexList_.add(value);
          onChanged();
        } else {
          selectAvatarIndexListBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex select_avatar_index_list = 4;</code>
       */
      public Builder addSelectAvatarIndexList(
          int index, emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex value) {
        if (selectAvatarIndexListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureSelectAvatarIndexListIsMutable();
          selectAvatarIndexList_.add(index, value);
          onChanged();
        } else {
          selectAvatarIndexListBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex select_avatar_index_list = 4;</code>
       */
      public Builder addSelectAvatarIndexList(
          emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex.Builder builderForValue) {
        if (selectAvatarIndexListBuilder_ == null) {
          ensureSelectAvatarIndexListIsMutable();
          selectAvatarIndexList_.add(builderForValue.build());
          onChanged();
        } else {
          selectAvatarIndexListBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex select_avatar_index_list = 4;</code>
       */
      public Builder addSelectAvatarIndexList(
          int index, emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex.Builder builderForValue) {
        if (selectAvatarIndexListBuilder_ == null) {
          ensureSelectAvatarIndexListIsMutable();
          selectAvatarIndexList_.add(index, builderForValue.build());
          onChanged();
        } else {
          selectAvatarIndexListBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex select_avatar_index_list = 4;</code>
       */
      public Builder addAllSelectAvatarIndexList(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex> values) {
        if (selectAvatarIndexListBuilder_ == null) {
          ensureSelectAvatarIndexListIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, selectAvatarIndexList_);
          onChanged();
        } else {
          selectAvatarIndexListBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex select_avatar_index_list = 4;</code>
       */
      public Builder clearSelectAvatarIndexList() {
        if (selectAvatarIndexListBuilder_ == null) {
          selectAvatarIndexList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
          onChanged();
        } else {
          selectAvatarIndexListBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex select_avatar_index_list = 4;</code>
       */
      public Builder removeSelectAvatarIndexList(int index) {
        if (selectAvatarIndexListBuilder_ == null) {
          ensureSelectAvatarIndexListIsMutable();
          selectAvatarIndexList_.remove(index);
          onChanged();
        } else {
          selectAvatarIndexListBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex select_avatar_index_list = 4;</code>
       */
      public emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex.Builder getSelectAvatarIndexListBuilder(
          int index) {
        return getSelectAvatarIndexListFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex select_avatar_index_list = 4;</code>
       */
      public emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndexOrBuilder getSelectAvatarIndexListOrBuilder(
          int index) {
        if (selectAvatarIndexListBuilder_ == null) {
          return selectAvatarIndexList_.get(index);  } else {
          return selectAvatarIndexListBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex select_avatar_index_list = 4;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndexOrBuilder> 
           getSelectAvatarIndexListOrBuilderList() {
        if (selectAvatarIndexListBuilder_ != null) {
          return selectAvatarIndexListBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(selectAvatarIndexList_);
        }
      }
      /**
       * <code>repeated .MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex select_avatar_index_list = 4;</code>
       */
      public emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex.Builder addSelectAvatarIndexListBuilder() {
        return getSelectAvatarIndexListFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex.getDefaultInstance());
      }
      /**
       * <code>repeated .MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex select_avatar_index_list = 4;</code>
       */
      public emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex.Builder addSelectAvatarIndexListBuilder(
          int index) {
        return getSelectAvatarIndexListFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex.getDefaultInstance());
      }
      /**
       * <code>repeated .MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex select_avatar_index_list = 4;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex.Builder> 
           getSelectAvatarIndexListBuilderList() {
        return getSelectAvatarIndexListFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex, emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex.Builder, emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndexOrBuilder> 
          getSelectAvatarIndexListFieldBuilder() {
        if (selectAvatarIndexListBuilder_ == null) {
          selectAvatarIndexListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex, emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndex.Builder, emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq.SelectAvatarIndexOrBuilder>(
                  selectAvatarIndexList_,
                  ((bitField0_ & 0x00000002) != 0),
                  getParentForChildren(),
                  isClean());
          selectAvatarIndexList_ = null;
        }
        return selectAvatarIndexListBuilder_;
      }
      @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:MistTrialSelectAvatarAndEnterDungeonReq)
    }

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

    public static emu.grasscutter.net.proto.MistTrialSelectAvatarAndEnterDungeonReqOuterClass.MistTrialSelectAvatarAndEnterDungeonReq getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_MistTrialSelectAvatarAndEnterDungeonReq_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_MistTrialSelectAvatarAndEnterDungeonReq_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_MistTrialSelectAvatarAndEnterDungeonReq_SelectAvatarIndex_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_MistTrialSelectAvatarAndEnterDungeonReq_SelectAvatarIndex_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-MistTrialSelectAvatarAndEnterDungeonRe" +
      "q.proto\"\270\002\n\'MistTrialSelectAvatarAndEnte" +
      "rDungeonReq\022\020\n\010trial_id\030\n \001(\r\022\026\n\016enter_p" +
      "oint_id\030\005 \001(\r\022#\n\033select_trial_avatar_id_" +
      "list\030\003 \003(\r\022\\\n\030select_avatar_index_list\030\004" +
      " \003(\0132:.MistTrialSelectAvatarAndEnterDung" +
      "eonReq.SelectAvatarIndex\032`\n\021SelectAvatar" +
      "Index\022\036\n\024mist_trial_avatar_id\030\004 \001(\rH\000\022\034\n" +
      "\022formal_avatar_guid\030\005 \001(\004H\000B\r\n\013LMDJFNHPD" +
      "IKB\033\n\031emu.grasscutter.net.protob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
        });
    internal_static_MistTrialSelectAvatarAndEnterDungeonReq_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_MistTrialSelectAvatarAndEnterDungeonReq_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_MistTrialSelectAvatarAndEnterDungeonReq_descriptor,
        new java.lang.String[] { "TrialId", "EnterPointId", "SelectTrialAvatarIdList", "SelectAvatarIndexList", });
    internal_static_MistTrialSelectAvatarAndEnterDungeonReq_SelectAvatarIndex_descriptor =
      internal_static_MistTrialSelectAvatarAndEnterDungeonReq_descriptor.getNestedTypes().get(0);
    internal_static_MistTrialSelectAvatarAndEnterDungeonReq_SelectAvatarIndex_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_MistTrialSelectAvatarAndEnterDungeonReq_SelectAvatarIndex_descriptor,
        new java.lang.String[] { "MistTrialAvatarId", "FormalAvatarGuid", "LMDJFNHPDIK", });
  }

  // @@protoc_insertion_point(outer_class_scope)
}
