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

package emu.grasscutter.net.proto;

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

    /**
     * <code>repeated .CoopCg coop_cg_list = 1;</code>
     */
    java.util.List<emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg> 
        getCoopCgListList();
    /**
     * <code>repeated .CoopCg coop_cg_list = 1;</code>
     */
    emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg getCoopCgList(int index);
    /**
     * <code>repeated .CoopCg coop_cg_list = 1;</code>
     */
    int getCoopCgListCount();
    /**
     * <code>repeated .CoopCg coop_cg_list = 1;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.CoopCgOuterClass.CoopCgOrBuilder> 
        getCoopCgListOrBuilderList();
    /**
     * <code>repeated .CoopCg coop_cg_list = 1;</code>
     */
    emu.grasscutter.net.proto.CoopCgOuterClass.CoopCgOrBuilder getCoopCgListOrBuilder(
        int index);

    /**
     * <code>uint32 id = 2;</code>
     * @return The id.
     */
    int getId();

    /**
     * <code>repeated .CoopPoint coop_point_list = 11;</code>
     */
    java.util.List<emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint> 
        getCoopPointListList();
    /**
     * <code>repeated .CoopPoint coop_point_list = 11;</code>
     */
    emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint getCoopPointList(int index);
    /**
     * <code>repeated .CoopPoint coop_point_list = 11;</code>
     */
    int getCoopPointListCount();
    /**
     * <code>repeated .CoopPoint coop_point_list = 11;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.CoopPointOuterClass.CoopPointOrBuilder> 
        getCoopPointListOrBuilderList();
    /**
     * <code>repeated .CoopPoint coop_point_list = 11;</code>
     */
    emu.grasscutter.net.proto.CoopPointOuterClass.CoopPointOrBuilder getCoopPointListOrBuilder(
        int index);

    /**
     * <code>repeated uint32 finish_dialog_list = 10;</code>
     * @return A list containing the finishDialogList.
     */
    java.util.List<java.lang.Integer> getFinishDialogListList();
    /**
     * <code>repeated uint32 finish_dialog_list = 10;</code>
     * @return The count of finishDialogList.
     */
    int getFinishDialogListCount();
    /**
     * <code>repeated uint32 finish_dialog_list = 10;</code>
     * @param index The index of the element to return.
     * @return The finishDialogList at the given index.
     */
    int getFinishDialogList(int index);

    /**
     * <code>uint32 finished_end_count = 14;</code>
     * @return The finishedEndCount.
     */
    int getFinishedEndCount();

    /**
     * <code>uint32 total_end_count = 7;</code>
     * @return The totalEndCount.
     */
    int getTotalEndCount();

    /**
     * <code>repeated .CoopReward coop_reward_list = 5;</code>
     */
    java.util.List<emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward> 
        getCoopRewardListList();
    /**
     * <code>repeated .CoopReward coop_reward_list = 5;</code>
     */
    emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward getCoopRewardList(int index);
    /**
     * <code>repeated .CoopReward coop_reward_list = 5;</code>
     */
    int getCoopRewardListCount();
    /**
     * <code>repeated .CoopReward coop_reward_list = 5;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.CoopRewardOuterClass.CoopRewardOrBuilder> 
        getCoopRewardListOrBuilderList();
    /**
     * <code>repeated .CoopReward coop_reward_list = 5;</code>
     */
    emu.grasscutter.net.proto.CoopRewardOuterClass.CoopRewardOrBuilder getCoopRewardListOrBuilder(
        int index);

    /**
     * <code>repeated uint32 lock_reason_list = 12;</code>
     * @return A list containing the lockReasonList.
     */
    java.util.List<java.lang.Integer> getLockReasonListList();
    /**
     * <code>repeated uint32 lock_reason_list = 12;</code>
     * @return The count of lockReasonList.
     */
    int getLockReasonListCount();
    /**
     * <code>repeated uint32 lock_reason_list = 12;</code>
     * @param index The index of the element to return.
     * @return The lockReasonList at the given index.
     */
    int getLockReasonList(int index);

    /**
     * <code>.CoopChapter.State state = 4;</code>
     * @return The enum numeric value on the wire for state.
     */
    int getStateValue();
    /**
     * <code>.CoopChapter.State state = 4;</code>
     * @return The state.
     */
    emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter.State getState();

    /**
     * <code>map&lt;uint32, uint32&gt; seen_ending_map = 9;</code>
     */
    int getSeenEndingMapCount();
    /**
     * <code>map&lt;uint32, uint32&gt; seen_ending_map = 9;</code>
     */
    boolean containsSeenEndingMap(
        int key);
    /**
     * Use {@link #getSeenEndingMapMap()} instead.
     */
    @java.lang.Deprecated
    java.util.Map<java.lang.Integer, java.lang.Integer>
    getSeenEndingMap();
    /**
     * <code>map&lt;uint32, uint32&gt; seen_ending_map = 9;</code>
     */
    java.util.Map<java.lang.Integer, java.lang.Integer>
    getSeenEndingMapMap();
    /**
     * <code>map&lt;uint32, uint32&gt; seen_ending_map = 9;</code>
     */

    int getSeenEndingMapOrDefault(
        int key,
        int defaultValue);
    /**
     * <code>map&lt;uint32, uint32&gt; seen_ending_map = 9;</code>
     */

    int getSeenEndingMapOrThrow(
        int key);
  }
  /**
   * Protobuf type {@code CoopChapter}
   */
  public static final class CoopChapter extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:CoopChapter)
      CoopChapterOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use CoopChapter.newBuilder() to construct.
    private CoopChapter(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private CoopChapter() {
      coopCgList_ = java.util.Collections.emptyList();
      coopPointList_ = java.util.Collections.emptyList();
      finishDialogList_ = emptyIntList();
      coopRewardList_ = java.util.Collections.emptyList();
      lockReasonList_ = emptyIntList();
      state_ = 0;
    }

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

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

              id_ = input.readUInt32();
              break;
            }
            case 32: {
              int rawValue = input.readEnum();

              state_ = rawValue;
              break;
            }
            case 42: {
              if (!((mutable_bitField0_ & 0x00000008) != 0)) {
                coopRewardList_ = new java.util.ArrayList<emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward>();
                mutable_bitField0_ |= 0x00000008;
              }
              coopRewardList_.add(
                  input.readMessage(emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.parser(), extensionRegistry));
              break;
            }
            case 56: {

              totalEndCount_ = input.readUInt32();
              break;
            }
            case 74: {
              if (!((mutable_bitField0_ & 0x00000020) != 0)) {
                seenEndingMap_ = com.google.protobuf.MapField.newMapField(
                    SeenEndingMapDefaultEntryHolder.defaultEntry);
                mutable_bitField0_ |= 0x00000020;
              }
              com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
              seenEndingMap__ = input.readMessage(
                  SeenEndingMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
              seenEndingMap_.getMutableMap().put(
                  seenEndingMap__.getKey(), seenEndingMap__.getValue());
              break;
            }
            case 80: {
              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
                finishDialogList_ = newIntList();
                mutable_bitField0_ |= 0x00000004;
              }
              finishDialogList_.addInt(input.readUInt32());
              break;
            }
            case 82: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000004) != 0) && input.getBytesUntilLimit() > 0) {
                finishDialogList_ = newIntList();
                mutable_bitField0_ |= 0x00000004;
              }
              while (input.getBytesUntilLimit() > 0) {
                finishDialogList_.addInt(input.readUInt32());
              }
              input.popLimit(limit);
              break;
            }
            case 90: {
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                coopPointList_ = new java.util.ArrayList<emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint>();
                mutable_bitField0_ |= 0x00000002;
              }
              coopPointList_.add(
                  input.readMessage(emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.parser(), extensionRegistry));
              break;
            }
            case 96: {
              if (!((mutable_bitField0_ & 0x00000010) != 0)) {
                lockReasonList_ = newIntList();
                mutable_bitField0_ |= 0x00000010;
              }
              lockReasonList_.addInt(input.readUInt32());
              break;
            }
            case 98: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000010) != 0) && input.getBytesUntilLimit() > 0) {
                lockReasonList_ = newIntList();
                mutable_bitField0_ |= 0x00000010;
              }
              while (input.getBytesUntilLimit() > 0) {
                lockReasonList_.addInt(input.readUInt32());
              }
              input.popLimit(limit);
              break;
            }
            case 112: {

              finishedEndCount_ = 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)) {
          coopCgList_ = java.util.Collections.unmodifiableList(coopCgList_);
        }
        if (((mutable_bitField0_ & 0x00000008) != 0)) {
          coopRewardList_ = java.util.Collections.unmodifiableList(coopRewardList_);
        }
        if (((mutable_bitField0_ & 0x00000004) != 0)) {
          finishDialogList_.makeImmutable(); // C
        }
        if (((mutable_bitField0_ & 0x00000002) != 0)) {
          coopPointList_ = java.util.Collections.unmodifiableList(coopPointList_);
        }
        if (((mutable_bitField0_ & 0x00000010) != 0)) {
          lockReasonList_.makeImmutable(); // C
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.CoopChapterOuterClass.internal_static_CoopChapter_descriptor;
    }

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

    /**
     * Protobuf enum {@code CoopChapter.State}
     */
    public enum State
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * <code>STATE_CLOSE = 0;</code>
       */
      STATE_CLOSE(0),
      /**
       * <code>STATE_COND_NOT_MEET = 1;</code>
       */
      STATE_COND_NOT_MEET(1),
      /**
       * <code>STATE_COND_MEET = 2;</code>
       */
      STATE_COND_MEET(2),
      /**
       * <code>STATE_ACCEPT = 3;</code>
       */
      STATE_ACCEPT(3),
      UNRECOGNIZED(-1),
      ;

      /**
       * <code>STATE_CLOSE = 0;</code>
       */
      public static final int STATE_CLOSE_VALUE = 0;
      /**
       * <code>STATE_COND_NOT_MEET = 1;</code>
       */
      public static final int STATE_COND_NOT_MEET_VALUE = 1;
      /**
       * <code>STATE_COND_MEET = 2;</code>
       */
      public static final int STATE_COND_MEET_VALUE = 2;
      /**
       * <code>STATE_ACCEPT = 3;</code>
       */
      public static final int STATE_ACCEPT_VALUE = 3;


      public final int getNumber() {
        if (this == UNRECOGNIZED) {
          throw new java.lang.IllegalArgumentException(
              "Can't get the number of an unknown enum value.");
        }
        return value;
      }

      /**
       * @param value The numeric wire value of the corresponding enum entry.
       * @return The enum associated with the given numeric wire value.
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static State valueOf(int value) {
        return forNumber(value);
      }

      /**
       * @param value The numeric wire value of the corresponding enum entry.
       * @return The enum associated with the given numeric wire value.
       */
      public static State forNumber(int value) {
        switch (value) {
          case 0: return STATE_CLOSE;
          case 1: return STATE_COND_NOT_MEET;
          case 2: return STATE_COND_MEET;
          case 3: return STATE_ACCEPT;
          default: return null;
        }
      }

      public static com.google.protobuf.Internal.EnumLiteMap<State>
          internalGetValueMap() {
        return internalValueMap;
      }
      private static final com.google.protobuf.Internal.EnumLiteMap<
          State> internalValueMap =
            new com.google.protobuf.Internal.EnumLiteMap<State>() {
              public State findValueByNumber(int number) {
                return State.forNumber(number);
              }
            };

      public final com.google.protobuf.Descriptors.EnumValueDescriptor
          getValueDescriptor() {
        if (this == UNRECOGNIZED) {
          throw new java.lang.IllegalStateException(
              "Can't get the descriptor of an unrecognized enum value.");
        }
        return getDescriptor().getValues().get(ordinal());
      }
      public final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptorForType() {
        return getDescriptor();
      }
      public static final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter.getDescriptor().getEnumTypes().get(0);
      }

      private static final State[] VALUES = values();

      public static State valueOf(
          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
        if (desc.getType() != getDescriptor()) {
          throw new java.lang.IllegalArgumentException(
            "EnumValueDescriptor is not for this type.");
        }
        if (desc.getIndex() == -1) {
          return UNRECOGNIZED;
        }
        return VALUES[desc.getIndex()];
      }

      private final int value;

      private State(int value) {
        this.value = value;
      }

      // @@protoc_insertion_point(enum_scope:CoopChapter.State)
    }

    public static final int COOP_CG_LIST_FIELD_NUMBER = 1;
    private java.util.List<emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg> coopCgList_;
    /**
     * <code>repeated .CoopCg coop_cg_list = 1;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg> getCoopCgListList() {
      return coopCgList_;
    }
    /**
     * <code>repeated .CoopCg coop_cg_list = 1;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.CoopCgOuterClass.CoopCgOrBuilder> 
        getCoopCgListOrBuilderList() {
      return coopCgList_;
    }
    /**
     * <code>repeated .CoopCg coop_cg_list = 1;</code>
     */
    @java.lang.Override
    public int getCoopCgListCount() {
      return coopCgList_.size();
    }
    /**
     * <code>repeated .CoopCg coop_cg_list = 1;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg getCoopCgList(int index) {
      return coopCgList_.get(index);
    }
    /**
     * <code>repeated .CoopCg coop_cg_list = 1;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.CoopCgOuterClass.CoopCgOrBuilder getCoopCgListOrBuilder(
        int index) {
      return coopCgList_.get(index);
    }

    public static final int ID_FIELD_NUMBER = 2;
    private int id_;
    /**
     * <code>uint32 id = 2;</code>
     * @return The id.
     */
    @java.lang.Override
    public int getId() {
      return id_;
    }

    public static final int COOP_POINT_LIST_FIELD_NUMBER = 11;
    private java.util.List<emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint> coopPointList_;
    /**
     * <code>repeated .CoopPoint coop_point_list = 11;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint> getCoopPointListList() {
      return coopPointList_;
    }
    /**
     * <code>repeated .CoopPoint coop_point_list = 11;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.CoopPointOuterClass.CoopPointOrBuilder> 
        getCoopPointListOrBuilderList() {
      return coopPointList_;
    }
    /**
     * <code>repeated .CoopPoint coop_point_list = 11;</code>
     */
    @java.lang.Override
    public int getCoopPointListCount() {
      return coopPointList_.size();
    }
    /**
     * <code>repeated .CoopPoint coop_point_list = 11;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint getCoopPointList(int index) {
      return coopPointList_.get(index);
    }
    /**
     * <code>repeated .CoopPoint coop_point_list = 11;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.CoopPointOuterClass.CoopPointOrBuilder getCoopPointListOrBuilder(
        int index) {
      return coopPointList_.get(index);
    }

    public static final int FINISH_DIALOG_LIST_FIELD_NUMBER = 10;
    private com.google.protobuf.Internal.IntList finishDialogList_;
    /**
     * <code>repeated uint32 finish_dialog_list = 10;</code>
     * @return A list containing the finishDialogList.
     */
    @java.lang.Override
    public java.util.List<java.lang.Integer>
        getFinishDialogListList() {
      return finishDialogList_;
    }
    /**
     * <code>repeated uint32 finish_dialog_list = 10;</code>
     * @return The count of finishDialogList.
     */
    public int getFinishDialogListCount() {
      return finishDialogList_.size();
    }
    /**
     * <code>repeated uint32 finish_dialog_list = 10;</code>
     * @param index The index of the element to return.
     * @return The finishDialogList at the given index.
     */
    public int getFinishDialogList(int index) {
      return finishDialogList_.getInt(index);
    }
    private int finishDialogListMemoizedSerializedSize = -1;

    public static final int FINISHED_END_COUNT_FIELD_NUMBER = 14;
    private int finishedEndCount_;
    /**
     * <code>uint32 finished_end_count = 14;</code>
     * @return The finishedEndCount.
     */
    @java.lang.Override
    public int getFinishedEndCount() {
      return finishedEndCount_;
    }

    public static final int TOTAL_END_COUNT_FIELD_NUMBER = 7;
    private int totalEndCount_;
    /**
     * <code>uint32 total_end_count = 7;</code>
     * @return The totalEndCount.
     */
    @java.lang.Override
    public int getTotalEndCount() {
      return totalEndCount_;
    }

    public static final int COOP_REWARD_LIST_FIELD_NUMBER = 5;
    private java.util.List<emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward> coopRewardList_;
    /**
     * <code>repeated .CoopReward coop_reward_list = 5;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward> getCoopRewardListList() {
      return coopRewardList_;
    }
    /**
     * <code>repeated .CoopReward coop_reward_list = 5;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.CoopRewardOuterClass.CoopRewardOrBuilder> 
        getCoopRewardListOrBuilderList() {
      return coopRewardList_;
    }
    /**
     * <code>repeated .CoopReward coop_reward_list = 5;</code>
     */
    @java.lang.Override
    public int getCoopRewardListCount() {
      return coopRewardList_.size();
    }
    /**
     * <code>repeated .CoopReward coop_reward_list = 5;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward getCoopRewardList(int index) {
      return coopRewardList_.get(index);
    }
    /**
     * <code>repeated .CoopReward coop_reward_list = 5;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.CoopRewardOuterClass.CoopRewardOrBuilder getCoopRewardListOrBuilder(
        int index) {
      return coopRewardList_.get(index);
    }

    public static final int LOCK_REASON_LIST_FIELD_NUMBER = 12;
    private com.google.protobuf.Internal.IntList lockReasonList_;
    /**
     * <code>repeated uint32 lock_reason_list = 12;</code>
     * @return A list containing the lockReasonList.
     */
    @java.lang.Override
    public java.util.List<java.lang.Integer>
        getLockReasonListList() {
      return lockReasonList_;
    }
    /**
     * <code>repeated uint32 lock_reason_list = 12;</code>
     * @return The count of lockReasonList.
     */
    public int getLockReasonListCount() {
      return lockReasonList_.size();
    }
    /**
     * <code>repeated uint32 lock_reason_list = 12;</code>
     * @param index The index of the element to return.
     * @return The lockReasonList at the given index.
     */
    public int getLockReasonList(int index) {
      return lockReasonList_.getInt(index);
    }
    private int lockReasonListMemoizedSerializedSize = -1;

    public static final int STATE_FIELD_NUMBER = 4;
    private int state_;
    /**
     * <code>.CoopChapter.State state = 4;</code>
     * @return The enum numeric value on the wire for state.
     */
    @java.lang.Override public int getStateValue() {
      return state_;
    }
    /**
     * <code>.CoopChapter.State state = 4;</code>
     * @return The state.
     */
    @java.lang.Override public emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter.State getState() {
      @SuppressWarnings("deprecation")
      emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter.State result = emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter.State.valueOf(state_);
      return result == null ? emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter.State.UNRECOGNIZED : result;
    }

    public static final int SEEN_ENDING_MAP_FIELD_NUMBER = 9;
    private static final class SeenEndingMapDefaultEntryHolder {
      static final com.google.protobuf.MapEntry<
          java.lang.Integer, java.lang.Integer> defaultEntry =
              com.google.protobuf.MapEntry
              .<java.lang.Integer, java.lang.Integer>newDefaultInstance(
                  emu.grasscutter.net.proto.CoopChapterOuterClass.internal_static_CoopChapter_SeenEndingMapEntry_descriptor, 
                  com.google.protobuf.WireFormat.FieldType.UINT32,
                  0,
                  com.google.protobuf.WireFormat.FieldType.UINT32,
                  0);
    }
    private com.google.protobuf.MapField<
        java.lang.Integer, java.lang.Integer> seenEndingMap_;
    private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
    internalGetSeenEndingMap() {
      if (seenEndingMap_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            SeenEndingMapDefaultEntryHolder.defaultEntry);
      }
      return seenEndingMap_;
    }

    public int getSeenEndingMapCount() {
      return internalGetSeenEndingMap().getMap().size();
    }
    /**
     * <code>map&lt;uint32, uint32&gt; seen_ending_map = 9;</code>
     */

    @java.lang.Override
    public boolean containsSeenEndingMap(
        int key) {
      
      return internalGetSeenEndingMap().getMap().containsKey(key);
    }
    /**
     * Use {@link #getSeenEndingMapMap()} instead.
     */
    @java.lang.Override
    @java.lang.Deprecated
    public java.util.Map<java.lang.Integer, java.lang.Integer> getSeenEndingMap() {
      return getSeenEndingMapMap();
    }
    /**
     * <code>map&lt;uint32, uint32&gt; seen_ending_map = 9;</code>
     */
    @java.lang.Override

    public java.util.Map<java.lang.Integer, java.lang.Integer> getSeenEndingMapMap() {
      return internalGetSeenEndingMap().getMap();
    }
    /**
     * <code>map&lt;uint32, uint32&gt; seen_ending_map = 9;</code>
     */
    @java.lang.Override

    public int getSeenEndingMapOrDefault(
        int key,
        int defaultValue) {
      
      java.util.Map<java.lang.Integer, java.lang.Integer> map =
          internalGetSeenEndingMap().getMap();
      return map.containsKey(key) ? map.get(key) : defaultValue;
    }
    /**
     * <code>map&lt;uint32, uint32&gt; seen_ending_map = 9;</code>
     */
    @java.lang.Override

    public int getSeenEndingMapOrThrow(
        int key) {
      
      java.util.Map<java.lang.Integer, java.lang.Integer> map =
          internalGetSeenEndingMap().getMap();
      if (!map.containsKey(key)) {
        throw new java.lang.IllegalArgumentException();
      }
      return map.get(key);
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      for (int i = 0; i < coopCgList_.size(); i++) {
        output.writeMessage(1, coopCgList_.get(i));
      }
      if (id_ != 0) {
        output.writeUInt32(2, id_);
      }
      if (state_ != emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter.State.STATE_CLOSE.getNumber()) {
        output.writeEnum(4, state_);
      }
      for (int i = 0; i < coopRewardList_.size(); i++) {
        output.writeMessage(5, coopRewardList_.get(i));
      }
      if (totalEndCount_ != 0) {
        output.writeUInt32(7, totalEndCount_);
      }
      com.google.protobuf.GeneratedMessageV3
        .serializeIntegerMapTo(
          output,
          internalGetSeenEndingMap(),
          SeenEndingMapDefaultEntryHolder.defaultEntry,
          9);
      if (getFinishDialogListList().size() > 0) {
        output.writeUInt32NoTag(82);
        output.writeUInt32NoTag(finishDialogListMemoizedSerializedSize);
      }
      for (int i = 0; i < finishDialogList_.size(); i++) {
        output.writeUInt32NoTag(finishDialogList_.getInt(i));
      }
      for (int i = 0; i < coopPointList_.size(); i++) {
        output.writeMessage(11, coopPointList_.get(i));
      }
      if (getLockReasonListList().size() > 0) {
        output.writeUInt32NoTag(98);
        output.writeUInt32NoTag(lockReasonListMemoizedSerializedSize);
      }
      for (int i = 0; i < lockReasonList_.size(); i++) {
        output.writeUInt32NoTag(lockReasonList_.getInt(i));
      }
      if (finishedEndCount_ != 0) {
        output.writeUInt32(14, finishedEndCount_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      for (int i = 0; i < coopCgList_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, coopCgList_.get(i));
      }
      if (id_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(2, id_);
      }
      if (state_ != emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter.State.STATE_CLOSE.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(4, state_);
      }
      for (int i = 0; i < coopRewardList_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(5, coopRewardList_.get(i));
      }
      if (totalEndCount_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(7, totalEndCount_);
      }
      for (java.util.Map.Entry<java.lang.Integer, java.lang.Integer> entry
           : internalGetSeenEndingMap().getMap().entrySet()) {
        com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
        seenEndingMap__ = SeenEndingMapDefaultEntryHolder.defaultEntry.newBuilderForType()
            .setKey(entry.getKey())
            .setValue(entry.getValue())
            .build();
        size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(9, seenEndingMap__);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < finishDialogList_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeUInt32SizeNoTag(finishDialogList_.getInt(i));
        }
        size += dataSize;
        if (!getFinishDialogListList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        finishDialogListMemoizedSerializedSize = dataSize;
      }
      for (int i = 0; i < coopPointList_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(11, coopPointList_.get(i));
      }
      {
        int dataSize = 0;
        for (int i = 0; i < lockReasonList_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeUInt32SizeNoTag(lockReasonList_.getInt(i));
        }
        size += dataSize;
        if (!getLockReasonListList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        lockReasonListMemoizedSerializedSize = dataSize;
      }
      if (finishedEndCount_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(14, finishedEndCount_);
      }
      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.CoopChapterOuterClass.CoopChapter)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter other = (emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter) obj;

      if (!getCoopCgListList()
          .equals(other.getCoopCgListList())) return false;
      if (getId()
          != other.getId()) return false;
      if (!getCoopPointListList()
          .equals(other.getCoopPointListList())) return false;
      if (!getFinishDialogListList()
          .equals(other.getFinishDialogListList())) return false;
      if (getFinishedEndCount()
          != other.getFinishedEndCount()) return false;
      if (getTotalEndCount()
          != other.getTotalEndCount()) return false;
      if (!getCoopRewardListList()
          .equals(other.getCoopRewardListList())) return false;
      if (!getLockReasonListList()
          .equals(other.getLockReasonListList())) return false;
      if (state_ != other.state_) return false;
      if (!internalGetSeenEndingMap().equals(
          other.internalGetSeenEndingMap())) 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 (getCoopCgListCount() > 0) {
        hash = (37 * hash) + COOP_CG_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getCoopCgListList().hashCode();
      }
      hash = (37 * hash) + ID_FIELD_NUMBER;
      hash = (53 * hash) + getId();
      if (getCoopPointListCount() > 0) {
        hash = (37 * hash) + COOP_POINT_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getCoopPointListList().hashCode();
      }
      if (getFinishDialogListCount() > 0) {
        hash = (37 * hash) + FINISH_DIALOG_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getFinishDialogListList().hashCode();
      }
      hash = (37 * hash) + FINISHED_END_COUNT_FIELD_NUMBER;
      hash = (53 * hash) + getFinishedEndCount();
      hash = (37 * hash) + TOTAL_END_COUNT_FIELD_NUMBER;
      hash = (53 * hash) + getTotalEndCount();
      if (getCoopRewardListCount() > 0) {
        hash = (37 * hash) + COOP_REWARD_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getCoopRewardListList().hashCode();
      }
      if (getLockReasonListCount() > 0) {
        hash = (37 * hash) + LOCK_REASON_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getLockReasonListList().hashCode();
      }
      hash = (37 * hash) + STATE_FIELD_NUMBER;
      hash = (53 * hash) + state_;
      if (!internalGetSeenEndingMap().getMap().isEmpty()) {
        hash = (37 * hash) + SEEN_ENDING_MAP_FIELD_NUMBER;
        hash = (53 * hash) + internalGetSeenEndingMap().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code CoopChapter}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:CoopChapter)
        emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapterOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.CoopChapterOuterClass.internal_static_CoopChapter_descriptor;
      }

      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMapField(
          int number) {
        switch (number) {
          case 9:
            return internalGetSeenEndingMap();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMutableMapField(
          int number) {
        switch (number) {
          case 9:
            return internalGetMutableSeenEndingMap();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return emu.grasscutter.net.proto.CoopChapterOuterClass.internal_static_CoopChapter_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter.class, emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter.Builder.class);
      }

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

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getCoopCgListFieldBuilder();
          getCoopPointListFieldBuilder();
          getCoopRewardListFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (coopCgListBuilder_ == null) {
          coopCgList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          coopCgListBuilder_.clear();
        }
        id_ = 0;

        if (coopPointListBuilder_ == null) {
          coopPointList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
        } else {
          coopPointListBuilder_.clear();
        }
        finishDialogList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000004);
        finishedEndCount_ = 0;

        totalEndCount_ = 0;

        if (coopRewardListBuilder_ == null) {
          coopRewardList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000008);
        } else {
          coopRewardListBuilder_.clear();
        }
        lockReasonList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000010);
        state_ = 0;

        internalGetMutableSeenEndingMap().clear();
        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter buildPartial() {
        emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter result = new emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter(this);
        int from_bitField0_ = bitField0_;
        if (coopCgListBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            coopCgList_ = java.util.Collections.unmodifiableList(coopCgList_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.coopCgList_ = coopCgList_;
        } else {
          result.coopCgList_ = coopCgListBuilder_.build();
        }
        result.id_ = id_;
        if (coopPointListBuilder_ == null) {
          if (((bitField0_ & 0x00000002) != 0)) {
            coopPointList_ = java.util.Collections.unmodifiableList(coopPointList_);
            bitField0_ = (bitField0_ & ~0x00000002);
          }
          result.coopPointList_ = coopPointList_;
        } else {
          result.coopPointList_ = coopPointListBuilder_.build();
        }
        if (((bitField0_ & 0x00000004) != 0)) {
          finishDialogList_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000004);
        }
        result.finishDialogList_ = finishDialogList_;
        result.finishedEndCount_ = finishedEndCount_;
        result.totalEndCount_ = totalEndCount_;
        if (coopRewardListBuilder_ == null) {
          if (((bitField0_ & 0x00000008) != 0)) {
            coopRewardList_ = java.util.Collections.unmodifiableList(coopRewardList_);
            bitField0_ = (bitField0_ & ~0x00000008);
          }
          result.coopRewardList_ = coopRewardList_;
        } else {
          result.coopRewardList_ = coopRewardListBuilder_.build();
        }
        if (((bitField0_ & 0x00000010) != 0)) {
          lockReasonList_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000010);
        }
        result.lockReasonList_ = lockReasonList_;
        result.state_ = state_;
        result.seenEndingMap_ = internalGetSeenEndingMap();
        result.seenEndingMap_.makeImmutable();
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter) {
          return mergeFrom((emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter other) {
        if (other == emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter.getDefaultInstance()) return this;
        if (coopCgListBuilder_ == null) {
          if (!other.coopCgList_.isEmpty()) {
            if (coopCgList_.isEmpty()) {
              coopCgList_ = other.coopCgList_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureCoopCgListIsMutable();
              coopCgList_.addAll(other.coopCgList_);
            }
            onChanged();
          }
        } else {
          if (!other.coopCgList_.isEmpty()) {
            if (coopCgListBuilder_.isEmpty()) {
              coopCgListBuilder_.dispose();
              coopCgListBuilder_ = null;
              coopCgList_ = other.coopCgList_;
              bitField0_ = (bitField0_ & ~0x00000001);
              coopCgListBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getCoopCgListFieldBuilder() : null;
            } else {
              coopCgListBuilder_.addAllMessages(other.coopCgList_);
            }
          }
        }
        if (other.getId() != 0) {
          setId(other.getId());
        }
        if (coopPointListBuilder_ == null) {
          if (!other.coopPointList_.isEmpty()) {
            if (coopPointList_.isEmpty()) {
              coopPointList_ = other.coopPointList_;
              bitField0_ = (bitField0_ & ~0x00000002);
            } else {
              ensureCoopPointListIsMutable();
              coopPointList_.addAll(other.coopPointList_);
            }
            onChanged();
          }
        } else {
          if (!other.coopPointList_.isEmpty()) {
            if (coopPointListBuilder_.isEmpty()) {
              coopPointListBuilder_.dispose();
              coopPointListBuilder_ = null;
              coopPointList_ = other.coopPointList_;
              bitField0_ = (bitField0_ & ~0x00000002);
              coopPointListBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getCoopPointListFieldBuilder() : null;
            } else {
              coopPointListBuilder_.addAllMessages(other.coopPointList_);
            }
          }
        }
        if (!other.finishDialogList_.isEmpty()) {
          if (finishDialogList_.isEmpty()) {
            finishDialogList_ = other.finishDialogList_;
            bitField0_ = (bitField0_ & ~0x00000004);
          } else {
            ensureFinishDialogListIsMutable();
            finishDialogList_.addAll(other.finishDialogList_);
          }
          onChanged();
        }
        if (other.getFinishedEndCount() != 0) {
          setFinishedEndCount(other.getFinishedEndCount());
        }
        if (other.getTotalEndCount() != 0) {
          setTotalEndCount(other.getTotalEndCount());
        }
        if (coopRewardListBuilder_ == null) {
          if (!other.coopRewardList_.isEmpty()) {
            if (coopRewardList_.isEmpty()) {
              coopRewardList_ = other.coopRewardList_;
              bitField0_ = (bitField0_ & ~0x00000008);
            } else {
              ensureCoopRewardListIsMutable();
              coopRewardList_.addAll(other.coopRewardList_);
            }
            onChanged();
          }
        } else {
          if (!other.coopRewardList_.isEmpty()) {
            if (coopRewardListBuilder_.isEmpty()) {
              coopRewardListBuilder_.dispose();
              coopRewardListBuilder_ = null;
              coopRewardList_ = other.coopRewardList_;
              bitField0_ = (bitField0_ & ~0x00000008);
              coopRewardListBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getCoopRewardListFieldBuilder() : null;
            } else {
              coopRewardListBuilder_.addAllMessages(other.coopRewardList_);
            }
          }
        }
        if (!other.lockReasonList_.isEmpty()) {
          if (lockReasonList_.isEmpty()) {
            lockReasonList_ = other.lockReasonList_;
            bitField0_ = (bitField0_ & ~0x00000010);
          } else {
            ensureLockReasonListIsMutable();
            lockReasonList_.addAll(other.lockReasonList_);
          }
          onChanged();
        }
        if (other.state_ != 0) {
          setStateValue(other.getStateValue());
        }
        internalGetMutableSeenEndingMap().mergeFrom(
            other.internalGetSeenEndingMap());
        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.CoopChapterOuterClass.CoopChapter parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.util.List<emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg> coopCgList_ =
        java.util.Collections.emptyList();
      private void ensureCoopCgListIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          coopCgList_ = new java.util.ArrayList<emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg>(coopCgList_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg, emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg.Builder, emu.grasscutter.net.proto.CoopCgOuterClass.CoopCgOrBuilder> coopCgListBuilder_;

      /**
       * <code>repeated .CoopCg coop_cg_list = 1;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg> getCoopCgListList() {
        if (coopCgListBuilder_ == null) {
          return java.util.Collections.unmodifiableList(coopCgList_);
        } else {
          return coopCgListBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .CoopCg coop_cg_list = 1;</code>
       */
      public int getCoopCgListCount() {
        if (coopCgListBuilder_ == null) {
          return coopCgList_.size();
        } else {
          return coopCgListBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .CoopCg coop_cg_list = 1;</code>
       */
      public emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg getCoopCgList(int index) {
        if (coopCgListBuilder_ == null) {
          return coopCgList_.get(index);
        } else {
          return coopCgListBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .CoopCg coop_cg_list = 1;</code>
       */
      public Builder setCoopCgList(
          int index, emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg value) {
        if (coopCgListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureCoopCgListIsMutable();
          coopCgList_.set(index, value);
          onChanged();
        } else {
          coopCgListBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .CoopCg coop_cg_list = 1;</code>
       */
      public Builder setCoopCgList(
          int index, emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg.Builder builderForValue) {
        if (coopCgListBuilder_ == null) {
          ensureCoopCgListIsMutable();
          coopCgList_.set(index, builderForValue.build());
          onChanged();
        } else {
          coopCgListBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .CoopCg coop_cg_list = 1;</code>
       */
      public Builder addCoopCgList(emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg value) {
        if (coopCgListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureCoopCgListIsMutable();
          coopCgList_.add(value);
          onChanged();
        } else {
          coopCgListBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .CoopCg coop_cg_list = 1;</code>
       */
      public Builder addCoopCgList(
          int index, emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg value) {
        if (coopCgListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureCoopCgListIsMutable();
          coopCgList_.add(index, value);
          onChanged();
        } else {
          coopCgListBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .CoopCg coop_cg_list = 1;</code>
       */
      public Builder addCoopCgList(
          emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg.Builder builderForValue) {
        if (coopCgListBuilder_ == null) {
          ensureCoopCgListIsMutable();
          coopCgList_.add(builderForValue.build());
          onChanged();
        } else {
          coopCgListBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .CoopCg coop_cg_list = 1;</code>
       */
      public Builder addCoopCgList(
          int index, emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg.Builder builderForValue) {
        if (coopCgListBuilder_ == null) {
          ensureCoopCgListIsMutable();
          coopCgList_.add(index, builderForValue.build());
          onChanged();
        } else {
          coopCgListBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .CoopCg coop_cg_list = 1;</code>
       */
      public Builder addAllCoopCgList(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg> values) {
        if (coopCgListBuilder_ == null) {
          ensureCoopCgListIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, coopCgList_);
          onChanged();
        } else {
          coopCgListBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .CoopCg coop_cg_list = 1;</code>
       */
      public Builder clearCoopCgList() {
        if (coopCgListBuilder_ == null) {
          coopCgList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          coopCgListBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .CoopCg coop_cg_list = 1;</code>
       */
      public Builder removeCoopCgList(int index) {
        if (coopCgListBuilder_ == null) {
          ensureCoopCgListIsMutable();
          coopCgList_.remove(index);
          onChanged();
        } else {
          coopCgListBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .CoopCg coop_cg_list = 1;</code>
       */
      public emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg.Builder getCoopCgListBuilder(
          int index) {
        return getCoopCgListFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .CoopCg coop_cg_list = 1;</code>
       */
      public emu.grasscutter.net.proto.CoopCgOuterClass.CoopCgOrBuilder getCoopCgListOrBuilder(
          int index) {
        if (coopCgListBuilder_ == null) {
          return coopCgList_.get(index);  } else {
          return coopCgListBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .CoopCg coop_cg_list = 1;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.CoopCgOuterClass.CoopCgOrBuilder> 
           getCoopCgListOrBuilderList() {
        if (coopCgListBuilder_ != null) {
          return coopCgListBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(coopCgList_);
        }
      }
      /**
       * <code>repeated .CoopCg coop_cg_list = 1;</code>
       */
      public emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg.Builder addCoopCgListBuilder() {
        return getCoopCgListFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg.getDefaultInstance());
      }
      /**
       * <code>repeated .CoopCg coop_cg_list = 1;</code>
       */
      public emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg.Builder addCoopCgListBuilder(
          int index) {
        return getCoopCgListFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg.getDefaultInstance());
      }
      /**
       * <code>repeated .CoopCg coop_cg_list = 1;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg.Builder> 
           getCoopCgListBuilderList() {
        return getCoopCgListFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg, emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg.Builder, emu.grasscutter.net.proto.CoopCgOuterClass.CoopCgOrBuilder> 
          getCoopCgListFieldBuilder() {
        if (coopCgListBuilder_ == null) {
          coopCgListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg, emu.grasscutter.net.proto.CoopCgOuterClass.CoopCg.Builder, emu.grasscutter.net.proto.CoopCgOuterClass.CoopCgOrBuilder>(
                  coopCgList_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          coopCgList_ = null;
        }
        return coopCgListBuilder_;
      }

      private int id_ ;
      /**
       * <code>uint32 id = 2;</code>
       * @return The id.
       */
      @java.lang.Override
      public int getId() {
        return id_;
      }
      /**
       * <code>uint32 id = 2;</code>
       * @param value The id to set.
       * @return This builder for chaining.
       */
      public Builder setId(int value) {
        
        id_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 id = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearId() {
        
        id_ = 0;
        onChanged();
        return this;
      }

      private java.util.List<emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint> coopPointList_ =
        java.util.Collections.emptyList();
      private void ensureCoopPointListIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          coopPointList_ = new java.util.ArrayList<emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint>(coopPointList_);
          bitField0_ |= 0x00000002;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint, emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.Builder, emu.grasscutter.net.proto.CoopPointOuterClass.CoopPointOrBuilder> coopPointListBuilder_;

      /**
       * <code>repeated .CoopPoint coop_point_list = 11;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint> getCoopPointListList() {
        if (coopPointListBuilder_ == null) {
          return java.util.Collections.unmodifiableList(coopPointList_);
        } else {
          return coopPointListBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .CoopPoint coop_point_list = 11;</code>
       */
      public int getCoopPointListCount() {
        if (coopPointListBuilder_ == null) {
          return coopPointList_.size();
        } else {
          return coopPointListBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .CoopPoint coop_point_list = 11;</code>
       */
      public emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint getCoopPointList(int index) {
        if (coopPointListBuilder_ == null) {
          return coopPointList_.get(index);
        } else {
          return coopPointListBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .CoopPoint coop_point_list = 11;</code>
       */
      public Builder setCoopPointList(
          int index, emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint value) {
        if (coopPointListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureCoopPointListIsMutable();
          coopPointList_.set(index, value);
          onChanged();
        } else {
          coopPointListBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .CoopPoint coop_point_list = 11;</code>
       */
      public Builder setCoopPointList(
          int index, emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.Builder builderForValue) {
        if (coopPointListBuilder_ == null) {
          ensureCoopPointListIsMutable();
          coopPointList_.set(index, builderForValue.build());
          onChanged();
        } else {
          coopPointListBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .CoopPoint coop_point_list = 11;</code>
       */
      public Builder addCoopPointList(emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint value) {
        if (coopPointListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureCoopPointListIsMutable();
          coopPointList_.add(value);
          onChanged();
        } else {
          coopPointListBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .CoopPoint coop_point_list = 11;</code>
       */
      public Builder addCoopPointList(
          int index, emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint value) {
        if (coopPointListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureCoopPointListIsMutable();
          coopPointList_.add(index, value);
          onChanged();
        } else {
          coopPointListBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .CoopPoint coop_point_list = 11;</code>
       */
      public Builder addCoopPointList(
          emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.Builder builderForValue) {
        if (coopPointListBuilder_ == null) {
          ensureCoopPointListIsMutable();
          coopPointList_.add(builderForValue.build());
          onChanged();
        } else {
          coopPointListBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .CoopPoint coop_point_list = 11;</code>
       */
      public Builder addCoopPointList(
          int index, emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.Builder builderForValue) {
        if (coopPointListBuilder_ == null) {
          ensureCoopPointListIsMutable();
          coopPointList_.add(index, builderForValue.build());
          onChanged();
        } else {
          coopPointListBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .CoopPoint coop_point_list = 11;</code>
       */
      public Builder addAllCoopPointList(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint> values) {
        if (coopPointListBuilder_ == null) {
          ensureCoopPointListIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, coopPointList_);
          onChanged();
        } else {
          coopPointListBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .CoopPoint coop_point_list = 11;</code>
       */
      public Builder clearCoopPointList() {
        if (coopPointListBuilder_ == null) {
          coopPointList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
          onChanged();
        } else {
          coopPointListBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .CoopPoint coop_point_list = 11;</code>
       */
      public Builder removeCoopPointList(int index) {
        if (coopPointListBuilder_ == null) {
          ensureCoopPointListIsMutable();
          coopPointList_.remove(index);
          onChanged();
        } else {
          coopPointListBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .CoopPoint coop_point_list = 11;</code>
       */
      public emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.Builder getCoopPointListBuilder(
          int index) {
        return getCoopPointListFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .CoopPoint coop_point_list = 11;</code>
       */
      public emu.grasscutter.net.proto.CoopPointOuterClass.CoopPointOrBuilder getCoopPointListOrBuilder(
          int index) {
        if (coopPointListBuilder_ == null) {
          return coopPointList_.get(index);  } else {
          return coopPointListBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .CoopPoint coop_point_list = 11;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.CoopPointOuterClass.CoopPointOrBuilder> 
           getCoopPointListOrBuilderList() {
        if (coopPointListBuilder_ != null) {
          return coopPointListBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(coopPointList_);
        }
      }
      /**
       * <code>repeated .CoopPoint coop_point_list = 11;</code>
       */
      public emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.Builder addCoopPointListBuilder() {
        return getCoopPointListFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.getDefaultInstance());
      }
      /**
       * <code>repeated .CoopPoint coop_point_list = 11;</code>
       */
      public emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.Builder addCoopPointListBuilder(
          int index) {
        return getCoopPointListFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.getDefaultInstance());
      }
      /**
       * <code>repeated .CoopPoint coop_point_list = 11;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.Builder> 
           getCoopPointListBuilderList() {
        return getCoopPointListFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint, emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.Builder, emu.grasscutter.net.proto.CoopPointOuterClass.CoopPointOrBuilder> 
          getCoopPointListFieldBuilder() {
        if (coopPointListBuilder_ == null) {
          coopPointListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint, emu.grasscutter.net.proto.CoopPointOuterClass.CoopPoint.Builder, emu.grasscutter.net.proto.CoopPointOuterClass.CoopPointOrBuilder>(
                  coopPointList_,
                  ((bitField0_ & 0x00000002) != 0),
                  getParentForChildren(),
                  isClean());
          coopPointList_ = null;
        }
        return coopPointListBuilder_;
      }

      private com.google.protobuf.Internal.IntList finishDialogList_ = emptyIntList();
      private void ensureFinishDialogListIsMutable() {
        if (!((bitField0_ & 0x00000004) != 0)) {
          finishDialogList_ = mutableCopy(finishDialogList_);
          bitField0_ |= 0x00000004;
         }
      }
      /**
       * <code>repeated uint32 finish_dialog_list = 10;</code>
       * @return A list containing the finishDialogList.
       */
      public java.util.List<java.lang.Integer>
          getFinishDialogListList() {
        return ((bitField0_ & 0x00000004) != 0) ?
                 java.util.Collections.unmodifiableList(finishDialogList_) : finishDialogList_;
      }
      /**
       * <code>repeated uint32 finish_dialog_list = 10;</code>
       * @return The count of finishDialogList.
       */
      public int getFinishDialogListCount() {
        return finishDialogList_.size();
      }
      /**
       * <code>repeated uint32 finish_dialog_list = 10;</code>
       * @param index The index of the element to return.
       * @return The finishDialogList at the given index.
       */
      public int getFinishDialogList(int index) {
        return finishDialogList_.getInt(index);
      }
      /**
       * <code>repeated uint32 finish_dialog_list = 10;</code>
       * @param index The index to set the value at.
       * @param value The finishDialogList to set.
       * @return This builder for chaining.
       */
      public Builder setFinishDialogList(
          int index, int value) {
        ensureFinishDialogListIsMutable();
        finishDialogList_.setInt(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 finish_dialog_list = 10;</code>
       * @param value The finishDialogList to add.
       * @return This builder for chaining.
       */
      public Builder addFinishDialogList(int value) {
        ensureFinishDialogListIsMutable();
        finishDialogList_.addInt(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 finish_dialog_list = 10;</code>
       * @param values The finishDialogList to add.
       * @return This builder for chaining.
       */
      public Builder addAllFinishDialogList(
          java.lang.Iterable<? extends java.lang.Integer> values) {
        ensureFinishDialogListIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, finishDialogList_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 finish_dialog_list = 10;</code>
       * @return This builder for chaining.
       */
      public Builder clearFinishDialogList() {
        finishDialogList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000004);
        onChanged();
        return this;
      }

      private int finishedEndCount_ ;
      /**
       * <code>uint32 finished_end_count = 14;</code>
       * @return The finishedEndCount.
       */
      @java.lang.Override
      public int getFinishedEndCount() {
        return finishedEndCount_;
      }
      /**
       * <code>uint32 finished_end_count = 14;</code>
       * @param value The finishedEndCount to set.
       * @return This builder for chaining.
       */
      public Builder setFinishedEndCount(int value) {
        
        finishedEndCount_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 finished_end_count = 14;</code>
       * @return This builder for chaining.
       */
      public Builder clearFinishedEndCount() {
        
        finishedEndCount_ = 0;
        onChanged();
        return this;
      }

      private int totalEndCount_ ;
      /**
       * <code>uint32 total_end_count = 7;</code>
       * @return The totalEndCount.
       */
      @java.lang.Override
      public int getTotalEndCount() {
        return totalEndCount_;
      }
      /**
       * <code>uint32 total_end_count = 7;</code>
       * @param value The totalEndCount to set.
       * @return This builder for chaining.
       */
      public Builder setTotalEndCount(int value) {
        
        totalEndCount_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 total_end_count = 7;</code>
       * @return This builder for chaining.
       */
      public Builder clearTotalEndCount() {
        
        totalEndCount_ = 0;
        onChanged();
        return this;
      }

      private java.util.List<emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward> coopRewardList_ =
        java.util.Collections.emptyList();
      private void ensureCoopRewardListIsMutable() {
        if (!((bitField0_ & 0x00000008) != 0)) {
          coopRewardList_ = new java.util.ArrayList<emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward>(coopRewardList_);
          bitField0_ |= 0x00000008;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward, emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.Builder, emu.grasscutter.net.proto.CoopRewardOuterClass.CoopRewardOrBuilder> coopRewardListBuilder_;

      /**
       * <code>repeated .CoopReward coop_reward_list = 5;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward> getCoopRewardListList() {
        if (coopRewardListBuilder_ == null) {
          return java.util.Collections.unmodifiableList(coopRewardList_);
        } else {
          return coopRewardListBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .CoopReward coop_reward_list = 5;</code>
       */
      public int getCoopRewardListCount() {
        if (coopRewardListBuilder_ == null) {
          return coopRewardList_.size();
        } else {
          return coopRewardListBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .CoopReward coop_reward_list = 5;</code>
       */
      public emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward getCoopRewardList(int index) {
        if (coopRewardListBuilder_ == null) {
          return coopRewardList_.get(index);
        } else {
          return coopRewardListBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .CoopReward coop_reward_list = 5;</code>
       */
      public Builder setCoopRewardList(
          int index, emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward value) {
        if (coopRewardListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureCoopRewardListIsMutable();
          coopRewardList_.set(index, value);
          onChanged();
        } else {
          coopRewardListBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .CoopReward coop_reward_list = 5;</code>
       */
      public Builder setCoopRewardList(
          int index, emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.Builder builderForValue) {
        if (coopRewardListBuilder_ == null) {
          ensureCoopRewardListIsMutable();
          coopRewardList_.set(index, builderForValue.build());
          onChanged();
        } else {
          coopRewardListBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .CoopReward coop_reward_list = 5;</code>
       */
      public Builder addCoopRewardList(emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward value) {
        if (coopRewardListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureCoopRewardListIsMutable();
          coopRewardList_.add(value);
          onChanged();
        } else {
          coopRewardListBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .CoopReward coop_reward_list = 5;</code>
       */
      public Builder addCoopRewardList(
          int index, emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward value) {
        if (coopRewardListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureCoopRewardListIsMutable();
          coopRewardList_.add(index, value);
          onChanged();
        } else {
          coopRewardListBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .CoopReward coop_reward_list = 5;</code>
       */
      public Builder addCoopRewardList(
          emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.Builder builderForValue) {
        if (coopRewardListBuilder_ == null) {
          ensureCoopRewardListIsMutable();
          coopRewardList_.add(builderForValue.build());
          onChanged();
        } else {
          coopRewardListBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .CoopReward coop_reward_list = 5;</code>
       */
      public Builder addCoopRewardList(
          int index, emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.Builder builderForValue) {
        if (coopRewardListBuilder_ == null) {
          ensureCoopRewardListIsMutable();
          coopRewardList_.add(index, builderForValue.build());
          onChanged();
        } else {
          coopRewardListBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .CoopReward coop_reward_list = 5;</code>
       */
      public Builder addAllCoopRewardList(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward> values) {
        if (coopRewardListBuilder_ == null) {
          ensureCoopRewardListIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, coopRewardList_);
          onChanged();
        } else {
          coopRewardListBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .CoopReward coop_reward_list = 5;</code>
       */
      public Builder clearCoopRewardList() {
        if (coopRewardListBuilder_ == null) {
          coopRewardList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000008);
          onChanged();
        } else {
          coopRewardListBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .CoopReward coop_reward_list = 5;</code>
       */
      public Builder removeCoopRewardList(int index) {
        if (coopRewardListBuilder_ == null) {
          ensureCoopRewardListIsMutable();
          coopRewardList_.remove(index);
          onChanged();
        } else {
          coopRewardListBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .CoopReward coop_reward_list = 5;</code>
       */
      public emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.Builder getCoopRewardListBuilder(
          int index) {
        return getCoopRewardListFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .CoopReward coop_reward_list = 5;</code>
       */
      public emu.grasscutter.net.proto.CoopRewardOuterClass.CoopRewardOrBuilder getCoopRewardListOrBuilder(
          int index) {
        if (coopRewardListBuilder_ == null) {
          return coopRewardList_.get(index);  } else {
          return coopRewardListBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .CoopReward coop_reward_list = 5;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.CoopRewardOuterClass.CoopRewardOrBuilder> 
           getCoopRewardListOrBuilderList() {
        if (coopRewardListBuilder_ != null) {
          return coopRewardListBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(coopRewardList_);
        }
      }
      /**
       * <code>repeated .CoopReward coop_reward_list = 5;</code>
       */
      public emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.Builder addCoopRewardListBuilder() {
        return getCoopRewardListFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.getDefaultInstance());
      }
      /**
       * <code>repeated .CoopReward coop_reward_list = 5;</code>
       */
      public emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.Builder addCoopRewardListBuilder(
          int index) {
        return getCoopRewardListFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.getDefaultInstance());
      }
      /**
       * <code>repeated .CoopReward coop_reward_list = 5;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.Builder> 
           getCoopRewardListBuilderList() {
        return getCoopRewardListFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward, emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.Builder, emu.grasscutter.net.proto.CoopRewardOuterClass.CoopRewardOrBuilder> 
          getCoopRewardListFieldBuilder() {
        if (coopRewardListBuilder_ == null) {
          coopRewardListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward, emu.grasscutter.net.proto.CoopRewardOuterClass.CoopReward.Builder, emu.grasscutter.net.proto.CoopRewardOuterClass.CoopRewardOrBuilder>(
                  coopRewardList_,
                  ((bitField0_ & 0x00000008) != 0),
                  getParentForChildren(),
                  isClean());
          coopRewardList_ = null;
        }
        return coopRewardListBuilder_;
      }

      private com.google.protobuf.Internal.IntList lockReasonList_ = emptyIntList();
      private void ensureLockReasonListIsMutable() {
        if (!((bitField0_ & 0x00000010) != 0)) {
          lockReasonList_ = mutableCopy(lockReasonList_);
          bitField0_ |= 0x00000010;
         }
      }
      /**
       * <code>repeated uint32 lock_reason_list = 12;</code>
       * @return A list containing the lockReasonList.
       */
      public java.util.List<java.lang.Integer>
          getLockReasonListList() {
        return ((bitField0_ & 0x00000010) != 0) ?
                 java.util.Collections.unmodifiableList(lockReasonList_) : lockReasonList_;
      }
      /**
       * <code>repeated uint32 lock_reason_list = 12;</code>
       * @return The count of lockReasonList.
       */
      public int getLockReasonListCount() {
        return lockReasonList_.size();
      }
      /**
       * <code>repeated uint32 lock_reason_list = 12;</code>
       * @param index The index of the element to return.
       * @return The lockReasonList at the given index.
       */
      public int getLockReasonList(int index) {
        return lockReasonList_.getInt(index);
      }
      /**
       * <code>repeated uint32 lock_reason_list = 12;</code>
       * @param index The index to set the value at.
       * @param value The lockReasonList to set.
       * @return This builder for chaining.
       */
      public Builder setLockReasonList(
          int index, int value) {
        ensureLockReasonListIsMutable();
        lockReasonList_.setInt(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 lock_reason_list = 12;</code>
       * @param value The lockReasonList to add.
       * @return This builder for chaining.
       */
      public Builder addLockReasonList(int value) {
        ensureLockReasonListIsMutable();
        lockReasonList_.addInt(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 lock_reason_list = 12;</code>
       * @param values The lockReasonList to add.
       * @return This builder for chaining.
       */
      public Builder addAllLockReasonList(
          java.lang.Iterable<? extends java.lang.Integer> values) {
        ensureLockReasonListIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, lockReasonList_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 lock_reason_list = 12;</code>
       * @return This builder for chaining.
       */
      public Builder clearLockReasonList() {
        lockReasonList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000010);
        onChanged();
        return this;
      }

      private int state_ = 0;
      /**
       * <code>.CoopChapter.State state = 4;</code>
       * @return The enum numeric value on the wire for state.
       */
      @java.lang.Override public int getStateValue() {
        return state_;
      }
      /**
       * <code>.CoopChapter.State state = 4;</code>
       * @param value The enum numeric value on the wire for state to set.
       * @return This builder for chaining.
       */
      public Builder setStateValue(int value) {
        
        state_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>.CoopChapter.State state = 4;</code>
       * @return The state.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter.State getState() {
        @SuppressWarnings("deprecation")
        emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter.State result = emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter.State.valueOf(state_);
        return result == null ? emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter.State.UNRECOGNIZED : result;
      }
      /**
       * <code>.CoopChapter.State state = 4;</code>
       * @param value The state to set.
       * @return This builder for chaining.
       */
      public Builder setState(emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter.State value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        state_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <code>.CoopChapter.State state = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearState() {
        
        state_ = 0;
        onChanged();
        return this;
      }

      private com.google.protobuf.MapField<
          java.lang.Integer, java.lang.Integer> seenEndingMap_;
      private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
      internalGetSeenEndingMap() {
        if (seenEndingMap_ == null) {
          return com.google.protobuf.MapField.emptyMapField(
              SeenEndingMapDefaultEntryHolder.defaultEntry);
        }
        return seenEndingMap_;
      }
      private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
      internalGetMutableSeenEndingMap() {
        onChanged();;
        if (seenEndingMap_ == null) {
          seenEndingMap_ = com.google.protobuf.MapField.newMapField(
              SeenEndingMapDefaultEntryHolder.defaultEntry);
        }
        if (!seenEndingMap_.isMutable()) {
          seenEndingMap_ = seenEndingMap_.copy();
        }
        return seenEndingMap_;
      }

      public int getSeenEndingMapCount() {
        return internalGetSeenEndingMap().getMap().size();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; seen_ending_map = 9;</code>
       */

      @java.lang.Override
      public boolean containsSeenEndingMap(
          int key) {
        
        return internalGetSeenEndingMap().getMap().containsKey(key);
      }
      /**
       * Use {@link #getSeenEndingMapMap()} instead.
       */
      @java.lang.Override
      @java.lang.Deprecated
      public java.util.Map<java.lang.Integer, java.lang.Integer> getSeenEndingMap() {
        return getSeenEndingMapMap();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; seen_ending_map = 9;</code>
       */
      @java.lang.Override

      public java.util.Map<java.lang.Integer, java.lang.Integer> getSeenEndingMapMap() {
        return internalGetSeenEndingMap().getMap();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; seen_ending_map = 9;</code>
       */
      @java.lang.Override

      public int getSeenEndingMapOrDefault(
          int key,
          int defaultValue) {
        
        java.util.Map<java.lang.Integer, java.lang.Integer> map =
            internalGetSeenEndingMap().getMap();
        return map.containsKey(key) ? map.get(key) : defaultValue;
      }
      /**
       * <code>map&lt;uint32, uint32&gt; seen_ending_map = 9;</code>
       */
      @java.lang.Override

      public int getSeenEndingMapOrThrow(
          int key) {
        
        java.util.Map<java.lang.Integer, java.lang.Integer> map =
            internalGetSeenEndingMap().getMap();
        if (!map.containsKey(key)) {
          throw new java.lang.IllegalArgumentException();
        }
        return map.get(key);
      }

      public Builder clearSeenEndingMap() {
        internalGetMutableSeenEndingMap().getMutableMap()
            .clear();
        return this;
      }
      /**
       * <code>map&lt;uint32, uint32&gt; seen_ending_map = 9;</code>
       */

      public Builder removeSeenEndingMap(
          int key) {
        
        internalGetMutableSeenEndingMap().getMutableMap()
            .remove(key);
        return this;
      }
      /**
       * Use alternate mutation accessors instead.
       */
      @java.lang.Deprecated
      public java.util.Map<java.lang.Integer, java.lang.Integer>
      getMutableSeenEndingMap() {
        return internalGetMutableSeenEndingMap().getMutableMap();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; seen_ending_map = 9;</code>
       */
      public Builder putSeenEndingMap(
          int key,
          int value) {
        
        
        internalGetMutableSeenEndingMap().getMutableMap()
            .put(key, value);
        return this;
      }
      /**
       * <code>map&lt;uint32, uint32&gt; seen_ending_map = 9;</code>
       */

      public Builder putAllSeenEndingMap(
          java.util.Map<java.lang.Integer, java.lang.Integer> values) {
        internalGetMutableSeenEndingMap().getMutableMap()
            .putAll(values);
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:CoopChapter)
    }

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

    public static emu.grasscutter.net.proto.CoopChapterOuterClass.CoopChapter getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_CoopChapter_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_CoopChapter_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_CoopChapter_SeenEndingMapEntry_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_CoopChapter_SeenEndingMapEntry_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\021CoopChapter.proto\032\014CoopCg.proto\032\017CoopP" +
      "oint.proto\032\020CoopReward.proto\"\334\003\n\013CoopCha" +
      "pter\022\035\n\014coop_cg_list\030\001 \003(\0132\007.CoopCg\022\n\n\002i" +
      "d\030\002 \001(\r\022#\n\017coop_point_list\030\013 \003(\0132\n.CoopP" +
      "oint\022\032\n\022finish_dialog_list\030\n \003(\r\022\032\n\022fini" +
      "shed_end_count\030\016 \001(\r\022\027\n\017total_end_count\030" +
      "\007 \001(\r\022%\n\020coop_reward_list\030\005 \003(\0132\013.CoopRe" +
      "ward\022\030\n\020lock_reason_list\030\014 \003(\r\022!\n\005state\030" +
      "\004 \001(\0162\022.CoopChapter.State\0228\n\017seen_ending" +
      "_map\030\t \003(\0132\037.CoopChapter.SeenEndingMapEn" +
      "try\0324\n\022SeenEndingMapEntry\022\013\n\003key\030\001 \001(\r\022\r" +
      "\n\005value\030\002 \001(\r:\0028\001\"X\n\005State\022\017\n\013STATE_CLOS" +
      "E\020\000\022\027\n\023STATE_COND_NOT_MEET\020\001\022\023\n\017STATE_CO" +
      "ND_MEET\020\002\022\020\n\014STATE_ACCEPT\020\003B\033\n\031emu.grass" +
      "cutter.net.protob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.CoopCgOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.CoopPointOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.CoopRewardOuterClass.getDescriptor(),
        });
    internal_static_CoopChapter_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_CoopChapter_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_CoopChapter_descriptor,
        new java.lang.String[] { "CoopCgList", "Id", "CoopPointList", "FinishDialogList", "FinishedEndCount", "TotalEndCount", "CoopRewardList", "LockReasonList", "State", "SeenEndingMap", });
    internal_static_CoopChapter_SeenEndingMapEntry_descriptor =
      internal_static_CoopChapter_descriptor.getNestedTypes().get(0);
    internal_static_CoopChapter_SeenEndingMapEntry_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_CoopChapter_SeenEndingMapEntry_descriptor,
        new java.lang.String[] { "Key", "Value", });
    emu.grasscutter.net.proto.CoopCgOuterClass.getDescriptor();
    emu.grasscutter.net.proto.CoopPointOuterClass.getDescriptor();
    emu.grasscutter.net.proto.CoopRewardOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
