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

package emu.grasscutter.net.proto;

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

    /**
     * <code>uint32 level_id = 3;</code>
     * @return The levelId.
     */
    int getLevelId();

    /**
     * <code>uint32 mode_id = 9;</code>
     * @return The modeId.
     */
    int getModeId();

    /**
     * <code>uint32 difficulty_level = 6;</code>
     * @return The difficultyLevel.
     */
    int getDifficultyLevel();

    /**
     * <code>uint32 stage_id = 7;</code>
     * @return The stageId.
     */
    int getStageId();

    /**
     * <code>repeated .PotionDungeonAvatar dungeon_avatar_list = 2;</code>
     */
    java.util.List<emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.PotionDungeonAvatar> 
        getDungeonAvatarListList();
    /**
     * <code>repeated .PotionDungeonAvatar dungeon_avatar_list = 2;</code>
     */
    emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.PotionDungeonAvatar getDungeonAvatarList(int index);
    /**
     * <code>repeated .PotionDungeonAvatar dungeon_avatar_list = 2;</code>
     */
    int getDungeonAvatarListCount();
    /**
     * <code>repeated .PotionDungeonAvatar dungeon_avatar_list = 2;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.PotionDungeonAvatarOrBuilder> 
        getDungeonAvatarListOrBuilderList();
    /**
     * <code>repeated .PotionDungeonAvatar dungeon_avatar_list = 2;</code>
     */
    emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.PotionDungeonAvatarOrBuilder getDungeonAvatarListOrBuilder(
        int index);
  }
  /**
   * <pre>
   * CmdId: 21097
   * Obf: FIIKFAIKOOE
   * </pre>
   *
   * Protobuf type {@code PotionEnterDungeonNotify}
   */
  public static final class PotionEnterDungeonNotify extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:PotionEnterDungeonNotify)
      PotionEnterDungeonNotifyOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use PotionEnterDungeonNotify.newBuilder() to construct.
    private PotionEnterDungeonNotify(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private PotionEnterDungeonNotify() {
      dungeonAvatarList_ = java.util.Collections.emptyList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private PotionEnterDungeonNotify(
        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 18: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                dungeonAvatarList_ = new java.util.ArrayList<emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.PotionDungeonAvatar>();
                mutable_bitField0_ |= 0x00000001;
              }
              dungeonAvatarList_.add(
                  input.readMessage(emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.PotionDungeonAvatar.parser(), extensionRegistry));
              break;
            }
            case 24: {

              levelId_ = input.readUInt32();
              break;
            }
            case 48: {

              difficultyLevel_ = input.readUInt32();
              break;
            }
            case 56: {

              stageId_ = input.readUInt32();
              break;
            }
            case 72: {

              modeId_ = 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)) {
          dungeonAvatarList_ = java.util.Collections.unmodifiableList(dungeonAvatarList_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.PotionEnterDungeonNotifyOuterClass.internal_static_PotionEnterDungeonNotify_descriptor;
    }

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

    public static final int LEVEL_ID_FIELD_NUMBER = 3;
    private int levelId_;
    /**
     * <code>uint32 level_id = 3;</code>
     * @return The levelId.
     */
    @java.lang.Override
    public int getLevelId() {
      return levelId_;
    }

    public static final int MODE_ID_FIELD_NUMBER = 9;
    private int modeId_;
    /**
     * <code>uint32 mode_id = 9;</code>
     * @return The modeId.
     */
    @java.lang.Override
    public int getModeId() {
      return modeId_;
    }

    public static final int DIFFICULTY_LEVEL_FIELD_NUMBER = 6;
    private int difficultyLevel_;
    /**
     * <code>uint32 difficulty_level = 6;</code>
     * @return The difficultyLevel.
     */
    @java.lang.Override
    public int getDifficultyLevel() {
      return difficultyLevel_;
    }

    public static final int STAGE_ID_FIELD_NUMBER = 7;
    private int stageId_;
    /**
     * <code>uint32 stage_id = 7;</code>
     * @return The stageId.
     */
    @java.lang.Override
    public int getStageId() {
      return stageId_;
    }

    public static final int DUNGEON_AVATAR_LIST_FIELD_NUMBER = 2;
    private java.util.List<emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.PotionDungeonAvatar> dungeonAvatarList_;
    /**
     * <code>repeated .PotionDungeonAvatar dungeon_avatar_list = 2;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.PotionDungeonAvatar> getDungeonAvatarListList() {
      return dungeonAvatarList_;
    }
    /**
     * <code>repeated .PotionDungeonAvatar dungeon_avatar_list = 2;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.PotionDungeonAvatarOrBuilder> 
        getDungeonAvatarListOrBuilderList() {
      return dungeonAvatarList_;
    }
    /**
     * <code>repeated .PotionDungeonAvatar dungeon_avatar_list = 2;</code>
     */
    @java.lang.Override
    public int getDungeonAvatarListCount() {
      return dungeonAvatarList_.size();
    }
    /**
     * <code>repeated .PotionDungeonAvatar dungeon_avatar_list = 2;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.PotionDungeonAvatar getDungeonAvatarList(int index) {
      return dungeonAvatarList_.get(index);
    }
    /**
     * <code>repeated .PotionDungeonAvatar dungeon_avatar_list = 2;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.PotionDungeonAvatarOrBuilder getDungeonAvatarListOrBuilder(
        int index) {
      return dungeonAvatarList_.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 {
      for (int i = 0; i < dungeonAvatarList_.size(); i++) {
        output.writeMessage(2, dungeonAvatarList_.get(i));
      }
      if (levelId_ != 0) {
        output.writeUInt32(3, levelId_);
      }
      if (difficultyLevel_ != 0) {
        output.writeUInt32(6, difficultyLevel_);
      }
      if (stageId_ != 0) {
        output.writeUInt32(7, stageId_);
      }
      if (modeId_ != 0) {
        output.writeUInt32(9, modeId_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      for (int i = 0; i < dungeonAvatarList_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, dungeonAvatarList_.get(i));
      }
      if (levelId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(3, levelId_);
      }
      if (difficultyLevel_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(6, difficultyLevel_);
      }
      if (stageId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(7, stageId_);
      }
      if (modeId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(9, modeId_);
      }
      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.PotionEnterDungeonNotifyOuterClass.PotionEnterDungeonNotify)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.PotionEnterDungeonNotifyOuterClass.PotionEnterDungeonNotify other = (emu.grasscutter.net.proto.PotionEnterDungeonNotifyOuterClass.PotionEnterDungeonNotify) obj;

      if (getLevelId()
          != other.getLevelId()) return false;
      if (getModeId()
          != other.getModeId()) return false;
      if (getDifficultyLevel()
          != other.getDifficultyLevel()) return false;
      if (getStageId()
          != other.getStageId()) return false;
      if (!getDungeonAvatarListList()
          .equals(other.getDungeonAvatarListList())) 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) + LEVEL_ID_FIELD_NUMBER;
      hash = (53 * hash) + getLevelId();
      hash = (37 * hash) + MODE_ID_FIELD_NUMBER;
      hash = (53 * hash) + getModeId();
      hash = (37 * hash) + DIFFICULTY_LEVEL_FIELD_NUMBER;
      hash = (53 * hash) + getDifficultyLevel();
      hash = (37 * hash) + STAGE_ID_FIELD_NUMBER;
      hash = (53 * hash) + getStageId();
      if (getDungeonAvatarListCount() > 0) {
        hash = (37 * hash) + DUNGEON_AVATAR_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getDungeonAvatarListList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

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

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

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

        modeId_ = 0;

        difficultyLevel_ = 0;

        stageId_ = 0;

        if (dungeonAvatarListBuilder_ == null) {
          dungeonAvatarList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          dungeonAvatarListBuilder_.clear();
        }
        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.PotionEnterDungeonNotifyOuterClass.PotionEnterDungeonNotify buildPartial() {
        emu.grasscutter.net.proto.PotionEnterDungeonNotifyOuterClass.PotionEnterDungeonNotify result = new emu.grasscutter.net.proto.PotionEnterDungeonNotifyOuterClass.PotionEnterDungeonNotify(this);
        int from_bitField0_ = bitField0_;
        result.levelId_ = levelId_;
        result.modeId_ = modeId_;
        result.difficultyLevel_ = difficultyLevel_;
        result.stageId_ = stageId_;
        if (dungeonAvatarListBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            dungeonAvatarList_ = java.util.Collections.unmodifiableList(dungeonAvatarList_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.dungeonAvatarList_ = dungeonAvatarList_;
        } else {
          result.dungeonAvatarList_ = dungeonAvatarListBuilder_.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.PotionEnterDungeonNotifyOuterClass.PotionEnterDungeonNotify) {
          return mergeFrom((emu.grasscutter.net.proto.PotionEnterDungeonNotifyOuterClass.PotionEnterDungeonNotify)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.PotionEnterDungeonNotifyOuterClass.PotionEnterDungeonNotify other) {
        if (other == emu.grasscutter.net.proto.PotionEnterDungeonNotifyOuterClass.PotionEnterDungeonNotify.getDefaultInstance()) return this;
        if (other.getLevelId() != 0) {
          setLevelId(other.getLevelId());
        }
        if (other.getModeId() != 0) {
          setModeId(other.getModeId());
        }
        if (other.getDifficultyLevel() != 0) {
          setDifficultyLevel(other.getDifficultyLevel());
        }
        if (other.getStageId() != 0) {
          setStageId(other.getStageId());
        }
        if (dungeonAvatarListBuilder_ == null) {
          if (!other.dungeonAvatarList_.isEmpty()) {
            if (dungeonAvatarList_.isEmpty()) {
              dungeonAvatarList_ = other.dungeonAvatarList_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureDungeonAvatarListIsMutable();
              dungeonAvatarList_.addAll(other.dungeonAvatarList_);
            }
            onChanged();
          }
        } else {
          if (!other.dungeonAvatarList_.isEmpty()) {
            if (dungeonAvatarListBuilder_.isEmpty()) {
              dungeonAvatarListBuilder_.dispose();
              dungeonAvatarListBuilder_ = null;
              dungeonAvatarList_ = other.dungeonAvatarList_;
              bitField0_ = (bitField0_ & ~0x00000001);
              dungeonAvatarListBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getDungeonAvatarListFieldBuilder() : null;
            } else {
              dungeonAvatarListBuilder_.addAllMessages(other.dungeonAvatarList_);
            }
          }
        }
        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.PotionEnterDungeonNotifyOuterClass.PotionEnterDungeonNotify parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.PotionEnterDungeonNotifyOuterClass.PotionEnterDungeonNotify) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private int levelId_ ;
      /**
       * <code>uint32 level_id = 3;</code>
       * @return The levelId.
       */
      @java.lang.Override
      public int getLevelId() {
        return levelId_;
      }
      /**
       * <code>uint32 level_id = 3;</code>
       * @param value The levelId to set.
       * @return This builder for chaining.
       */
      public Builder setLevelId(int value) {
        
        levelId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 level_id = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearLevelId() {
        
        levelId_ = 0;
        onChanged();
        return this;
      }

      private int modeId_ ;
      /**
       * <code>uint32 mode_id = 9;</code>
       * @return The modeId.
       */
      @java.lang.Override
      public int getModeId() {
        return modeId_;
      }
      /**
       * <code>uint32 mode_id = 9;</code>
       * @param value The modeId to set.
       * @return This builder for chaining.
       */
      public Builder setModeId(int value) {
        
        modeId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 mode_id = 9;</code>
       * @return This builder for chaining.
       */
      public Builder clearModeId() {
        
        modeId_ = 0;
        onChanged();
        return this;
      }

      private int difficultyLevel_ ;
      /**
       * <code>uint32 difficulty_level = 6;</code>
       * @return The difficultyLevel.
       */
      @java.lang.Override
      public int getDifficultyLevel() {
        return difficultyLevel_;
      }
      /**
       * <code>uint32 difficulty_level = 6;</code>
       * @param value The difficultyLevel to set.
       * @return This builder for chaining.
       */
      public Builder setDifficultyLevel(int value) {
        
        difficultyLevel_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 difficulty_level = 6;</code>
       * @return This builder for chaining.
       */
      public Builder clearDifficultyLevel() {
        
        difficultyLevel_ = 0;
        onChanged();
        return this;
      }

      private int stageId_ ;
      /**
       * <code>uint32 stage_id = 7;</code>
       * @return The stageId.
       */
      @java.lang.Override
      public int getStageId() {
        return stageId_;
      }
      /**
       * <code>uint32 stage_id = 7;</code>
       * @param value The stageId to set.
       * @return This builder for chaining.
       */
      public Builder setStageId(int value) {
        
        stageId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 stage_id = 7;</code>
       * @return This builder for chaining.
       */
      public Builder clearStageId() {
        
        stageId_ = 0;
        onChanged();
        return this;
      }

      private java.util.List<emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.PotionDungeonAvatar> dungeonAvatarList_ =
        java.util.Collections.emptyList();
      private void ensureDungeonAvatarListIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          dungeonAvatarList_ = new java.util.ArrayList<emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.PotionDungeonAvatar>(dungeonAvatarList_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.PotionDungeonAvatar, emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.PotionDungeonAvatar.Builder, emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.PotionDungeonAvatarOrBuilder> dungeonAvatarListBuilder_;

      /**
       * <code>repeated .PotionDungeonAvatar dungeon_avatar_list = 2;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.PotionDungeonAvatar> getDungeonAvatarListList() {
        if (dungeonAvatarListBuilder_ == null) {
          return java.util.Collections.unmodifiableList(dungeonAvatarList_);
        } else {
          return dungeonAvatarListBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .PotionDungeonAvatar dungeon_avatar_list = 2;</code>
       */
      public int getDungeonAvatarListCount() {
        if (dungeonAvatarListBuilder_ == null) {
          return dungeonAvatarList_.size();
        } else {
          return dungeonAvatarListBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .PotionDungeonAvatar dungeon_avatar_list = 2;</code>
       */
      public emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.PotionDungeonAvatar getDungeonAvatarList(int index) {
        if (dungeonAvatarListBuilder_ == null) {
          return dungeonAvatarList_.get(index);
        } else {
          return dungeonAvatarListBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .PotionDungeonAvatar dungeon_avatar_list = 2;</code>
       */
      public Builder setDungeonAvatarList(
          int index, emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.PotionDungeonAvatar value) {
        if (dungeonAvatarListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureDungeonAvatarListIsMutable();
          dungeonAvatarList_.set(index, value);
          onChanged();
        } else {
          dungeonAvatarListBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .PotionDungeonAvatar dungeon_avatar_list = 2;</code>
       */
      public Builder setDungeonAvatarList(
          int index, emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.PotionDungeonAvatar.Builder builderForValue) {
        if (dungeonAvatarListBuilder_ == null) {
          ensureDungeonAvatarListIsMutable();
          dungeonAvatarList_.set(index, builderForValue.build());
          onChanged();
        } else {
          dungeonAvatarListBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .PotionDungeonAvatar dungeon_avatar_list = 2;</code>
       */
      public Builder addDungeonAvatarList(emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.PotionDungeonAvatar value) {
        if (dungeonAvatarListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureDungeonAvatarListIsMutable();
          dungeonAvatarList_.add(value);
          onChanged();
        } else {
          dungeonAvatarListBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .PotionDungeonAvatar dungeon_avatar_list = 2;</code>
       */
      public Builder addDungeonAvatarList(
          int index, emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.PotionDungeonAvatar value) {
        if (dungeonAvatarListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureDungeonAvatarListIsMutable();
          dungeonAvatarList_.add(index, value);
          onChanged();
        } else {
          dungeonAvatarListBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .PotionDungeonAvatar dungeon_avatar_list = 2;</code>
       */
      public Builder addDungeonAvatarList(
          emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.PotionDungeonAvatar.Builder builderForValue) {
        if (dungeonAvatarListBuilder_ == null) {
          ensureDungeonAvatarListIsMutable();
          dungeonAvatarList_.add(builderForValue.build());
          onChanged();
        } else {
          dungeonAvatarListBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .PotionDungeonAvatar dungeon_avatar_list = 2;</code>
       */
      public Builder addDungeonAvatarList(
          int index, emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.PotionDungeonAvatar.Builder builderForValue) {
        if (dungeonAvatarListBuilder_ == null) {
          ensureDungeonAvatarListIsMutable();
          dungeonAvatarList_.add(index, builderForValue.build());
          onChanged();
        } else {
          dungeonAvatarListBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .PotionDungeonAvatar dungeon_avatar_list = 2;</code>
       */
      public Builder addAllDungeonAvatarList(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.PotionDungeonAvatar> values) {
        if (dungeonAvatarListBuilder_ == null) {
          ensureDungeonAvatarListIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, dungeonAvatarList_);
          onChanged();
        } else {
          dungeonAvatarListBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .PotionDungeonAvatar dungeon_avatar_list = 2;</code>
       */
      public Builder clearDungeonAvatarList() {
        if (dungeonAvatarListBuilder_ == null) {
          dungeonAvatarList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          dungeonAvatarListBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .PotionDungeonAvatar dungeon_avatar_list = 2;</code>
       */
      public Builder removeDungeonAvatarList(int index) {
        if (dungeonAvatarListBuilder_ == null) {
          ensureDungeonAvatarListIsMutable();
          dungeonAvatarList_.remove(index);
          onChanged();
        } else {
          dungeonAvatarListBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .PotionDungeonAvatar dungeon_avatar_list = 2;</code>
       */
      public emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.PotionDungeonAvatar.Builder getDungeonAvatarListBuilder(
          int index) {
        return getDungeonAvatarListFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .PotionDungeonAvatar dungeon_avatar_list = 2;</code>
       */
      public emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.PotionDungeonAvatarOrBuilder getDungeonAvatarListOrBuilder(
          int index) {
        if (dungeonAvatarListBuilder_ == null) {
          return dungeonAvatarList_.get(index);  } else {
          return dungeonAvatarListBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .PotionDungeonAvatar dungeon_avatar_list = 2;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.PotionDungeonAvatarOrBuilder> 
           getDungeonAvatarListOrBuilderList() {
        if (dungeonAvatarListBuilder_ != null) {
          return dungeonAvatarListBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(dungeonAvatarList_);
        }
      }
      /**
       * <code>repeated .PotionDungeonAvatar dungeon_avatar_list = 2;</code>
       */
      public emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.PotionDungeonAvatar.Builder addDungeonAvatarListBuilder() {
        return getDungeonAvatarListFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.PotionDungeonAvatar.getDefaultInstance());
      }
      /**
       * <code>repeated .PotionDungeonAvatar dungeon_avatar_list = 2;</code>
       */
      public emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.PotionDungeonAvatar.Builder addDungeonAvatarListBuilder(
          int index) {
        return getDungeonAvatarListFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.PotionDungeonAvatar.getDefaultInstance());
      }
      /**
       * <code>repeated .PotionDungeonAvatar dungeon_avatar_list = 2;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.PotionDungeonAvatar.Builder> 
           getDungeonAvatarListBuilderList() {
        return getDungeonAvatarListFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.PotionDungeonAvatar, emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.PotionDungeonAvatar.Builder, emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.PotionDungeonAvatarOrBuilder> 
          getDungeonAvatarListFieldBuilder() {
        if (dungeonAvatarListBuilder_ == null) {
          dungeonAvatarListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.PotionDungeonAvatar, emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.PotionDungeonAvatar.Builder, emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.PotionDungeonAvatarOrBuilder>(
                  dungeonAvatarList_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          dungeonAvatarList_ = null;
        }
        return dungeonAvatarListBuilder_;
      }
      @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:PotionEnterDungeonNotify)
    }

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

    public static emu.grasscutter.net.proto.PotionEnterDungeonNotifyOuterClass.PotionEnterDungeonNotify getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_PotionEnterDungeonNotify_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_PotionEnterDungeonNotify_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\036PotionEnterDungeonNotify.proto\032\031Potion" +
      "DungeonAvatar.proto\"\234\001\n\030PotionEnterDunge" +
      "onNotify\022\020\n\010level_id\030\003 \001(\r\022\017\n\007mode_id\030\t " +
      "\001(\r\022\030\n\020difficulty_level\030\006 \001(\r\022\020\n\010stage_i" +
      "d\030\007 \001(\r\0221\n\023dungeon_avatar_list\030\002 \003(\0132\024.P" +
      "otionDungeonAvatarB\033\n\031emu.grasscutter.ne" +
      "t.protob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.getDescriptor(),
        });
    internal_static_PotionEnterDungeonNotify_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_PotionEnterDungeonNotify_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_PotionEnterDungeonNotify_descriptor,
        new java.lang.String[] { "LevelId", "ModeId", "DifficultyLevel", "StageId", "DungeonAvatarList", });
    emu.grasscutter.net.proto.PotionDungeonAvatarOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
