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

package emu.grasscutter.net.proto;

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

    /**
     * <code>repeated .DuelHeartLevelDifficultyInfo difficulty_info_list = 15;</code>
     */
    java.util.List<emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.DuelHeartLevelDifficultyInfo> 
        getDifficultyInfoListList();
    /**
     * <code>repeated .DuelHeartLevelDifficultyInfo difficulty_info_list = 15;</code>
     */
    emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.DuelHeartLevelDifficultyInfo getDifficultyInfoList(int index);
    /**
     * <code>repeated .DuelHeartLevelDifficultyInfo difficulty_info_list = 15;</code>
     */
    int getDifficultyInfoListCount();
    /**
     * <code>repeated .DuelHeartLevelDifficultyInfo difficulty_info_list = 15;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.DuelHeartLevelDifficultyInfoOrBuilder> 
        getDifficultyInfoListOrBuilderList();
    /**
     * <code>repeated .DuelHeartLevelDifficultyInfo difficulty_info_list = 15;</code>
     */
    emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.DuelHeartLevelDifficultyInfoOrBuilder getDifficultyInfoListOrBuilder(
        int index);

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

    /**
     * <code>bool is_open = 10;</code>
     * @return The isOpen.
     */
    boolean getIsOpen();

    /**
     * <code>bool is_cg_viewed = 4;</code>
     * @return The isCgViewed.
     */
    boolean getIsCgViewed();
  }
  /**
   * <pre>
   * Name: APHCHPHOBCI
   * </pre>
   *
   * Protobuf type {@code DuelHeartLevelInfo}
   */
  public static final class DuelHeartLevelInfo extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:DuelHeartLevelInfo)
      DuelHeartLevelInfoOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use DuelHeartLevelInfo.newBuilder() to construct.
    private DuelHeartLevelInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private DuelHeartLevelInfo() {
      difficultyInfoList_ = java.util.Collections.emptyList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private DuelHeartLevelInfo(
        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 32: {

              isCgViewed_ = input.readBool();
              break;
            }
            case 72: {

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

              isOpen_ = input.readBool();
              break;
            }
            case 122: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                difficultyInfoList_ = new java.util.ArrayList<emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.DuelHeartLevelDifficultyInfo>();
                mutable_bitField0_ |= 0x00000001;
              }
              difficultyInfoList_.add(
                  input.readMessage(emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.DuelHeartLevelDifficultyInfo.parser(), extensionRegistry));
              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)) {
          difficultyInfoList_ = java.util.Collections.unmodifiableList(difficultyInfoList_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.DuelHeartLevelInfoOuterClass.internal_static_DuelHeartLevelInfo_descriptor;
    }

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

    public static final int DIFFICULTY_INFO_LIST_FIELD_NUMBER = 15;
    private java.util.List<emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.DuelHeartLevelDifficultyInfo> difficultyInfoList_;
    /**
     * <code>repeated .DuelHeartLevelDifficultyInfo difficulty_info_list = 15;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.DuelHeartLevelDifficultyInfo> getDifficultyInfoListList() {
      return difficultyInfoList_;
    }
    /**
     * <code>repeated .DuelHeartLevelDifficultyInfo difficulty_info_list = 15;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.DuelHeartLevelDifficultyInfoOrBuilder> 
        getDifficultyInfoListOrBuilderList() {
      return difficultyInfoList_;
    }
    /**
     * <code>repeated .DuelHeartLevelDifficultyInfo difficulty_info_list = 15;</code>
     */
    @java.lang.Override
    public int getDifficultyInfoListCount() {
      return difficultyInfoList_.size();
    }
    /**
     * <code>repeated .DuelHeartLevelDifficultyInfo difficulty_info_list = 15;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.DuelHeartLevelDifficultyInfo getDifficultyInfoList(int index) {
      return difficultyInfoList_.get(index);
    }
    /**
     * <code>repeated .DuelHeartLevelDifficultyInfo difficulty_info_list = 15;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.DuelHeartLevelDifficultyInfoOrBuilder getDifficultyInfoListOrBuilder(
        int index) {
      return difficultyInfoList_.get(index);
    }

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

    public static final int IS_OPEN_FIELD_NUMBER = 10;
    private boolean isOpen_;
    /**
     * <code>bool is_open = 10;</code>
     * @return The isOpen.
     */
    @java.lang.Override
    public boolean getIsOpen() {
      return isOpen_;
    }

    public static final int IS_CG_VIEWED_FIELD_NUMBER = 4;
    private boolean isCgViewed_;
    /**
     * <code>bool is_cg_viewed = 4;</code>
     * @return The isCgViewed.
     */
    @java.lang.Override
    public boolean getIsCgViewed() {
      return isCgViewed_;
    }

    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 (isCgViewed_ != false) {
        output.writeBool(4, isCgViewed_);
      }
      if (levelId_ != 0) {
        output.writeUInt32(9, levelId_);
      }
      if (isOpen_ != false) {
        output.writeBool(10, isOpen_);
      }
      for (int i = 0; i < difficultyInfoList_.size(); i++) {
        output.writeMessage(15, difficultyInfoList_.get(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (isCgViewed_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(4, isCgViewed_);
      }
      if (levelId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(9, levelId_);
      }
      if (isOpen_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(10, isOpen_);
      }
      for (int i = 0; i < difficultyInfoList_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(15, difficultyInfoList_.get(i));
      }
      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.DuelHeartLevelInfoOuterClass.DuelHeartLevelInfo)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.DuelHeartLevelInfoOuterClass.DuelHeartLevelInfo other = (emu.grasscutter.net.proto.DuelHeartLevelInfoOuterClass.DuelHeartLevelInfo) obj;

      if (!getDifficultyInfoListList()
          .equals(other.getDifficultyInfoListList())) return false;
      if (getLevelId()
          != other.getLevelId()) return false;
      if (getIsOpen()
          != other.getIsOpen()) return false;
      if (getIsCgViewed()
          != other.getIsCgViewed()) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (getDifficultyInfoListCount() > 0) {
        hash = (37 * hash) + DIFFICULTY_INFO_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getDifficultyInfoListList().hashCode();
      }
      hash = (37 * hash) + LEVEL_ID_FIELD_NUMBER;
      hash = (53 * hash) + getLevelId();
      hash = (37 * hash) + IS_OPEN_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsOpen());
      hash = (37 * hash) + IS_CG_VIEWED_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsCgViewed());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

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

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

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getDifficultyInfoListFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (difficultyInfoListBuilder_ == null) {
          difficultyInfoList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          difficultyInfoListBuilder_.clear();
        }
        levelId_ = 0;

        isOpen_ = false;

        isCgViewed_ = false;

        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.DuelHeartLevelInfoOuterClass.DuelHeartLevelInfo buildPartial() {
        emu.grasscutter.net.proto.DuelHeartLevelInfoOuterClass.DuelHeartLevelInfo result = new emu.grasscutter.net.proto.DuelHeartLevelInfoOuterClass.DuelHeartLevelInfo(this);
        int from_bitField0_ = bitField0_;
        if (difficultyInfoListBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            difficultyInfoList_ = java.util.Collections.unmodifiableList(difficultyInfoList_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.difficultyInfoList_ = difficultyInfoList_;
        } else {
          result.difficultyInfoList_ = difficultyInfoListBuilder_.build();
        }
        result.levelId_ = levelId_;
        result.isOpen_ = isOpen_;
        result.isCgViewed_ = isCgViewed_;
        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.DuelHeartLevelInfoOuterClass.DuelHeartLevelInfo) {
          return mergeFrom((emu.grasscutter.net.proto.DuelHeartLevelInfoOuterClass.DuelHeartLevelInfo)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.DuelHeartLevelInfoOuterClass.DuelHeartLevelInfo other) {
        if (other == emu.grasscutter.net.proto.DuelHeartLevelInfoOuterClass.DuelHeartLevelInfo.getDefaultInstance()) return this;
        if (difficultyInfoListBuilder_ == null) {
          if (!other.difficultyInfoList_.isEmpty()) {
            if (difficultyInfoList_.isEmpty()) {
              difficultyInfoList_ = other.difficultyInfoList_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureDifficultyInfoListIsMutable();
              difficultyInfoList_.addAll(other.difficultyInfoList_);
            }
            onChanged();
          }
        } else {
          if (!other.difficultyInfoList_.isEmpty()) {
            if (difficultyInfoListBuilder_.isEmpty()) {
              difficultyInfoListBuilder_.dispose();
              difficultyInfoListBuilder_ = null;
              difficultyInfoList_ = other.difficultyInfoList_;
              bitField0_ = (bitField0_ & ~0x00000001);
              difficultyInfoListBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getDifficultyInfoListFieldBuilder() : null;
            } else {
              difficultyInfoListBuilder_.addAllMessages(other.difficultyInfoList_);
            }
          }
        }
        if (other.getLevelId() != 0) {
          setLevelId(other.getLevelId());
        }
        if (other.getIsOpen() != false) {
          setIsOpen(other.getIsOpen());
        }
        if (other.getIsCgViewed() != false) {
          setIsCgViewed(other.getIsCgViewed());
        }
        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.DuelHeartLevelInfoOuterClass.DuelHeartLevelInfo parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.DuelHeartLevelInfoOuterClass.DuelHeartLevelInfo) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.util.List<emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.DuelHeartLevelDifficultyInfo> difficultyInfoList_ =
        java.util.Collections.emptyList();
      private void ensureDifficultyInfoListIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          difficultyInfoList_ = new java.util.ArrayList<emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.DuelHeartLevelDifficultyInfo>(difficultyInfoList_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.DuelHeartLevelDifficultyInfo, emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.DuelHeartLevelDifficultyInfo.Builder, emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.DuelHeartLevelDifficultyInfoOrBuilder> difficultyInfoListBuilder_;

      /**
       * <code>repeated .DuelHeartLevelDifficultyInfo difficulty_info_list = 15;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.DuelHeartLevelDifficultyInfo> getDifficultyInfoListList() {
        if (difficultyInfoListBuilder_ == null) {
          return java.util.Collections.unmodifiableList(difficultyInfoList_);
        } else {
          return difficultyInfoListBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .DuelHeartLevelDifficultyInfo difficulty_info_list = 15;</code>
       */
      public int getDifficultyInfoListCount() {
        if (difficultyInfoListBuilder_ == null) {
          return difficultyInfoList_.size();
        } else {
          return difficultyInfoListBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .DuelHeartLevelDifficultyInfo difficulty_info_list = 15;</code>
       */
      public emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.DuelHeartLevelDifficultyInfo getDifficultyInfoList(int index) {
        if (difficultyInfoListBuilder_ == null) {
          return difficultyInfoList_.get(index);
        } else {
          return difficultyInfoListBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .DuelHeartLevelDifficultyInfo difficulty_info_list = 15;</code>
       */
      public Builder setDifficultyInfoList(
          int index, emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.DuelHeartLevelDifficultyInfo value) {
        if (difficultyInfoListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureDifficultyInfoListIsMutable();
          difficultyInfoList_.set(index, value);
          onChanged();
        } else {
          difficultyInfoListBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .DuelHeartLevelDifficultyInfo difficulty_info_list = 15;</code>
       */
      public Builder setDifficultyInfoList(
          int index, emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.DuelHeartLevelDifficultyInfo.Builder builderForValue) {
        if (difficultyInfoListBuilder_ == null) {
          ensureDifficultyInfoListIsMutable();
          difficultyInfoList_.set(index, builderForValue.build());
          onChanged();
        } else {
          difficultyInfoListBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .DuelHeartLevelDifficultyInfo difficulty_info_list = 15;</code>
       */
      public Builder addDifficultyInfoList(emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.DuelHeartLevelDifficultyInfo value) {
        if (difficultyInfoListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureDifficultyInfoListIsMutable();
          difficultyInfoList_.add(value);
          onChanged();
        } else {
          difficultyInfoListBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .DuelHeartLevelDifficultyInfo difficulty_info_list = 15;</code>
       */
      public Builder addDifficultyInfoList(
          int index, emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.DuelHeartLevelDifficultyInfo value) {
        if (difficultyInfoListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureDifficultyInfoListIsMutable();
          difficultyInfoList_.add(index, value);
          onChanged();
        } else {
          difficultyInfoListBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .DuelHeartLevelDifficultyInfo difficulty_info_list = 15;</code>
       */
      public Builder addDifficultyInfoList(
          emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.DuelHeartLevelDifficultyInfo.Builder builderForValue) {
        if (difficultyInfoListBuilder_ == null) {
          ensureDifficultyInfoListIsMutable();
          difficultyInfoList_.add(builderForValue.build());
          onChanged();
        } else {
          difficultyInfoListBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .DuelHeartLevelDifficultyInfo difficulty_info_list = 15;</code>
       */
      public Builder addDifficultyInfoList(
          int index, emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.DuelHeartLevelDifficultyInfo.Builder builderForValue) {
        if (difficultyInfoListBuilder_ == null) {
          ensureDifficultyInfoListIsMutable();
          difficultyInfoList_.add(index, builderForValue.build());
          onChanged();
        } else {
          difficultyInfoListBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .DuelHeartLevelDifficultyInfo difficulty_info_list = 15;</code>
       */
      public Builder addAllDifficultyInfoList(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.DuelHeartLevelDifficultyInfo> values) {
        if (difficultyInfoListBuilder_ == null) {
          ensureDifficultyInfoListIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, difficultyInfoList_);
          onChanged();
        } else {
          difficultyInfoListBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .DuelHeartLevelDifficultyInfo difficulty_info_list = 15;</code>
       */
      public Builder clearDifficultyInfoList() {
        if (difficultyInfoListBuilder_ == null) {
          difficultyInfoList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          difficultyInfoListBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .DuelHeartLevelDifficultyInfo difficulty_info_list = 15;</code>
       */
      public Builder removeDifficultyInfoList(int index) {
        if (difficultyInfoListBuilder_ == null) {
          ensureDifficultyInfoListIsMutable();
          difficultyInfoList_.remove(index);
          onChanged();
        } else {
          difficultyInfoListBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .DuelHeartLevelDifficultyInfo difficulty_info_list = 15;</code>
       */
      public emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.DuelHeartLevelDifficultyInfo.Builder getDifficultyInfoListBuilder(
          int index) {
        return getDifficultyInfoListFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .DuelHeartLevelDifficultyInfo difficulty_info_list = 15;</code>
       */
      public emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.DuelHeartLevelDifficultyInfoOrBuilder getDifficultyInfoListOrBuilder(
          int index) {
        if (difficultyInfoListBuilder_ == null) {
          return difficultyInfoList_.get(index);  } else {
          return difficultyInfoListBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .DuelHeartLevelDifficultyInfo difficulty_info_list = 15;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.DuelHeartLevelDifficultyInfoOrBuilder> 
           getDifficultyInfoListOrBuilderList() {
        if (difficultyInfoListBuilder_ != null) {
          return difficultyInfoListBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(difficultyInfoList_);
        }
      }
      /**
       * <code>repeated .DuelHeartLevelDifficultyInfo difficulty_info_list = 15;</code>
       */
      public emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.DuelHeartLevelDifficultyInfo.Builder addDifficultyInfoListBuilder() {
        return getDifficultyInfoListFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.DuelHeartLevelDifficultyInfo.getDefaultInstance());
      }
      /**
       * <code>repeated .DuelHeartLevelDifficultyInfo difficulty_info_list = 15;</code>
       */
      public emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.DuelHeartLevelDifficultyInfo.Builder addDifficultyInfoListBuilder(
          int index) {
        return getDifficultyInfoListFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.DuelHeartLevelDifficultyInfo.getDefaultInstance());
      }
      /**
       * <code>repeated .DuelHeartLevelDifficultyInfo difficulty_info_list = 15;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.DuelHeartLevelDifficultyInfo.Builder> 
           getDifficultyInfoListBuilderList() {
        return getDifficultyInfoListFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.DuelHeartLevelDifficultyInfo, emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.DuelHeartLevelDifficultyInfo.Builder, emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.DuelHeartLevelDifficultyInfoOrBuilder> 
          getDifficultyInfoListFieldBuilder() {
        if (difficultyInfoListBuilder_ == null) {
          difficultyInfoListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.DuelHeartLevelDifficultyInfo, emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.DuelHeartLevelDifficultyInfo.Builder, emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.DuelHeartLevelDifficultyInfoOrBuilder>(
                  difficultyInfoList_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          difficultyInfoList_ = null;
        }
        return difficultyInfoListBuilder_;
      }

      private int levelId_ ;
      /**
       * <code>uint32 level_id = 9;</code>
       * @return The levelId.
       */
      @java.lang.Override
      public int getLevelId() {
        return levelId_;
      }
      /**
       * <code>uint32 level_id = 9;</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 = 9;</code>
       * @return This builder for chaining.
       */
      public Builder clearLevelId() {
        
        levelId_ = 0;
        onChanged();
        return this;
      }

      private boolean isOpen_ ;
      /**
       * <code>bool is_open = 10;</code>
       * @return The isOpen.
       */
      @java.lang.Override
      public boolean getIsOpen() {
        return isOpen_;
      }
      /**
       * <code>bool is_open = 10;</code>
       * @param value The isOpen to set.
       * @return This builder for chaining.
       */
      public Builder setIsOpen(boolean value) {
        
        isOpen_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool is_open = 10;</code>
       * @return This builder for chaining.
       */
      public Builder clearIsOpen() {
        
        isOpen_ = false;
        onChanged();
        return this;
      }

      private boolean isCgViewed_ ;
      /**
       * <code>bool is_cg_viewed = 4;</code>
       * @return The isCgViewed.
       */
      @java.lang.Override
      public boolean getIsCgViewed() {
        return isCgViewed_;
      }
      /**
       * <code>bool is_cg_viewed = 4;</code>
       * @param value The isCgViewed to set.
       * @return This builder for chaining.
       */
      public Builder setIsCgViewed(boolean value) {
        
        isCgViewed_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool is_cg_viewed = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearIsCgViewed() {
        
        isCgViewed_ = false;
        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:DuelHeartLevelInfo)
    }

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

    public static emu.grasscutter.net.proto.DuelHeartLevelInfoOuterClass.DuelHeartLevelInfo getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_DuelHeartLevelInfo_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_DuelHeartLevelInfo_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\030DuelHeartLevelInfo.proto\032\"DuelHeartLev" +
      "elDifficultyInfo.proto\"\212\001\n\022DuelHeartLeve" +
      "lInfo\022;\n\024difficulty_info_list\030\017 \003(\0132\035.Du" +
      "elHeartLevelDifficultyInfo\022\020\n\010level_id\030\t" +
      " \001(\r\022\017\n\007is_open\030\n \001(\010\022\024\n\014is_cg_viewed\030\004 " +
      "\001(\010B\033\n\031emu.grasscutter.net.protob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.getDescriptor(),
        });
    internal_static_DuelHeartLevelInfo_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_DuelHeartLevelInfo_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_DuelHeartLevelInfo_descriptor,
        new java.lang.String[] { "DifficultyInfoList", "LevelId", "IsOpen", "IsCgViewed", });
    emu.grasscutter.net.proto.DuelHeartLevelDifficultyInfoOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
