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

package io.grasscutter.net.proto.activity;

/**
 * Protobuf type {@code MichiaeMatsuriActivityDetailInfo}
 */
public final class MichiaeMatsuriActivityDetailInfo extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:MichiaeMatsuriActivityDetailInfo)
    MichiaeMatsuriActivityDetailInfoOrBuilder {
private static final long serialVersionUID = 0L;
  // Use MichiaeMatsuriActivityDetailInfo.newBuilder() to construct.
  private MichiaeMatsuriActivityDetailInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private MichiaeMatsuriActivityDetailInfo() {
    dCLKHFDNIFN_ = java.util.Collections.emptyList();
    unlockedCrystalSkillList_ = emptyIntList();
    stageList_ = java.util.Collections.emptyList();
    cKICLLDGHGH_ = java.util.Collections.emptyList();
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private MichiaeMatsuriActivityDetailInfo(
      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 26: {
            if (!((mutable_bitField0_ & 0x00000008) != 0)) {
              cKICLLDGHGH_ = new java.util.ArrayList<io.grasscutter.net.proto.activity.JKLPNOGHIOI>();
              mutable_bitField0_ |= 0x00000008;
            }
            cKICLLDGHGH_.add(
                input.readMessage(io.grasscutter.net.proto.activity.JKLPNOGHIOI.parser(), extensionRegistry));
            break;
          }
          case 50: {
            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
              stageList_ = new java.util.ArrayList<io.grasscutter.net.proto.activity.MichiaeMatsuriStage>();
              mutable_bitField0_ |= 0x00000004;
            }
            stageList_.add(
                input.readMessage(io.grasscutter.net.proto.activity.MichiaeMatsuriStage.parser(), extensionRegistry));
            break;
          }
          case 64: {

            gainCrystalExp_ = input.readUInt32();
            break;
          }
          case 74: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              dCLKHFDNIFN_ = new java.util.ArrayList<io.grasscutter.net.proto.activity.DJCGMLCFKLC>();
              mutable_bitField0_ |= 0x00000001;
            }
            dCLKHFDNIFN_.add(
                input.readMessage(io.grasscutter.net.proto.activity.DJCGMLCFKLC.parser(), extensionRegistry));
            break;
          }
          case 112: {
            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
              unlockedCrystalSkillList_ = newIntList();
              mutable_bitField0_ |= 0x00000002;
            }
            unlockedCrystalSkillList_.addInt(input.readUInt32());
            break;
          }
          case 114: {
            int length = input.readRawVarint32();
            int limit = input.pushLimit(length);
            if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) {
              unlockedCrystalSkillList_ = newIntList();
              mutable_bitField0_ |= 0x00000002;
            }
            while (input.getBytesUntilLimit() > 0) {
              unlockedCrystalSkillList_.addInt(input.readUInt32());
            }
            input.popLimit(limit);
            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_ & 0x00000008) != 0)) {
        cKICLLDGHGH_ = java.util.Collections.unmodifiableList(cKICLLDGHGH_);
      }
      if (((mutable_bitField0_ & 0x00000004) != 0)) {
        stageList_ = java.util.Collections.unmodifiableList(stageList_);
      }
      if (((mutable_bitField0_ & 0x00000001) != 0)) {
        dCLKHFDNIFN_ = java.util.Collections.unmodifiableList(dCLKHFDNIFN_);
      }
      if (((mutable_bitField0_ & 0x00000002) != 0)) {
        unlockedCrystalSkillList_.makeImmutable(); // C
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return io.grasscutter.net.proto.activity.Activity.internal_static_MichiaeMatsuriActivityDetailInfo_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return io.grasscutter.net.proto.activity.Activity.internal_static_MichiaeMatsuriActivityDetailInfo_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            io.grasscutter.net.proto.activity.MichiaeMatsuriActivityDetailInfo.class, io.grasscutter.net.proto.activity.MichiaeMatsuriActivityDetailInfo.Builder.class);
  }

  public static final int DCLKHFDNIFN_FIELD_NUMBER = 9;
  private java.util.List<io.grasscutter.net.proto.activity.DJCGMLCFKLC> dCLKHFDNIFN_;
  /**
   * <code>repeated .DJCGMLCFKLC DCLKHFDNIFN = 9;</code>
   */
  @java.lang.Override
  public java.util.List<io.grasscutter.net.proto.activity.DJCGMLCFKLC> getDCLKHFDNIFNList() {
    return dCLKHFDNIFN_;
  }
  /**
   * <code>repeated .DJCGMLCFKLC DCLKHFDNIFN = 9;</code>
   */
  @java.lang.Override
  public java.util.List<? extends io.grasscutter.net.proto.activity.DJCGMLCFKLCOrBuilder> 
      getDCLKHFDNIFNOrBuilderList() {
    return dCLKHFDNIFN_;
  }
  /**
   * <code>repeated .DJCGMLCFKLC DCLKHFDNIFN = 9;</code>
   */
  @java.lang.Override
  public int getDCLKHFDNIFNCount() {
    return dCLKHFDNIFN_.size();
  }
  /**
   * <code>repeated .DJCGMLCFKLC DCLKHFDNIFN = 9;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.activity.DJCGMLCFKLC getDCLKHFDNIFN(int index) {
    return dCLKHFDNIFN_.get(index);
  }
  /**
   * <code>repeated .DJCGMLCFKLC DCLKHFDNIFN = 9;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.activity.DJCGMLCFKLCOrBuilder getDCLKHFDNIFNOrBuilder(
      int index) {
    return dCLKHFDNIFN_.get(index);
  }

  public static final int UNLOCKED_CRYSTAL_SKILL_LIST_FIELD_NUMBER = 14;
  private com.google.protobuf.Internal.IntList unlockedCrystalSkillList_;
  /**
   * <code>repeated uint32 unlocked_crystal_skill_list = 14;</code>
   * @return A list containing the unlockedCrystalSkillList.
   */
  @java.lang.Override
  public java.util.List<java.lang.Integer>
      getUnlockedCrystalSkillListList() {
    return unlockedCrystalSkillList_;
  }
  /**
   * <code>repeated uint32 unlocked_crystal_skill_list = 14;</code>
   * @return The count of unlockedCrystalSkillList.
   */
  public int getUnlockedCrystalSkillListCount() {
    return unlockedCrystalSkillList_.size();
  }
  /**
   * <code>repeated uint32 unlocked_crystal_skill_list = 14;</code>
   * @param index The index of the element to return.
   * @return The unlockedCrystalSkillList at the given index.
   */
  public int getUnlockedCrystalSkillList(int index) {
    return unlockedCrystalSkillList_.getInt(index);
  }
  private int unlockedCrystalSkillListMemoizedSerializedSize = -1;

  public static final int STAGE_LIST_FIELD_NUMBER = 6;
  private java.util.List<io.grasscutter.net.proto.activity.MichiaeMatsuriStage> stageList_;
  /**
   * <code>repeated .MichiaeMatsuriStage stage_list = 6;</code>
   */
  @java.lang.Override
  public java.util.List<io.grasscutter.net.proto.activity.MichiaeMatsuriStage> getStageListList() {
    return stageList_;
  }
  /**
   * <code>repeated .MichiaeMatsuriStage stage_list = 6;</code>
   */
  @java.lang.Override
  public java.util.List<? extends io.grasscutter.net.proto.activity.MichiaeMatsuriStageOrBuilder> 
      getStageListOrBuilderList() {
    return stageList_;
  }
  /**
   * <code>repeated .MichiaeMatsuriStage stage_list = 6;</code>
   */
  @java.lang.Override
  public int getStageListCount() {
    return stageList_.size();
  }
  /**
   * <code>repeated .MichiaeMatsuriStage stage_list = 6;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.activity.MichiaeMatsuriStage getStageList(int index) {
    return stageList_.get(index);
  }
  /**
   * <code>repeated .MichiaeMatsuriStage stage_list = 6;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.activity.MichiaeMatsuriStageOrBuilder getStageListOrBuilder(
      int index) {
    return stageList_.get(index);
  }

  public static final int CKICLLDGHGH_FIELD_NUMBER = 3;
  private java.util.List<io.grasscutter.net.proto.activity.JKLPNOGHIOI> cKICLLDGHGH_;
  /**
   * <code>repeated .JKLPNOGHIOI CKICLLDGHGH = 3;</code>
   */
  @java.lang.Override
  public java.util.List<io.grasscutter.net.proto.activity.JKLPNOGHIOI> getCKICLLDGHGHList() {
    return cKICLLDGHGH_;
  }
  /**
   * <code>repeated .JKLPNOGHIOI CKICLLDGHGH = 3;</code>
   */
  @java.lang.Override
  public java.util.List<? extends io.grasscutter.net.proto.activity.JKLPNOGHIOIOrBuilder> 
      getCKICLLDGHGHOrBuilderList() {
    return cKICLLDGHGH_;
  }
  /**
   * <code>repeated .JKLPNOGHIOI CKICLLDGHGH = 3;</code>
   */
  @java.lang.Override
  public int getCKICLLDGHGHCount() {
    return cKICLLDGHGH_.size();
  }
  /**
   * <code>repeated .JKLPNOGHIOI CKICLLDGHGH = 3;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.activity.JKLPNOGHIOI getCKICLLDGHGH(int index) {
    return cKICLLDGHGH_.get(index);
  }
  /**
   * <code>repeated .JKLPNOGHIOI CKICLLDGHGH = 3;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.activity.JKLPNOGHIOIOrBuilder getCKICLLDGHGHOrBuilder(
      int index) {
    return cKICLLDGHGH_.get(index);
  }

  public static final int GAIN_CRYSTAL_EXP_FIELD_NUMBER = 8;
  private int gainCrystalExp_;
  /**
   * <code>uint32 gain_crystal_exp = 8;</code>
   * @return The gainCrystalExp.
   */
  @java.lang.Override
  public int getGainCrystalExp() {
    return gainCrystalExp_;
  }

  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 < cKICLLDGHGH_.size(); i++) {
      output.writeMessage(3, cKICLLDGHGH_.get(i));
    }
    for (int i = 0; i < stageList_.size(); i++) {
      output.writeMessage(6, stageList_.get(i));
    }
    if (gainCrystalExp_ != 0) {
      output.writeUInt32(8, gainCrystalExp_);
    }
    for (int i = 0; i < dCLKHFDNIFN_.size(); i++) {
      output.writeMessage(9, dCLKHFDNIFN_.get(i));
    }
    if (getUnlockedCrystalSkillListList().size() > 0) {
      output.writeUInt32NoTag(114);
      output.writeUInt32NoTag(unlockedCrystalSkillListMemoizedSerializedSize);
    }
    for (int i = 0; i < unlockedCrystalSkillList_.size(); i++) {
      output.writeUInt32NoTag(unlockedCrystalSkillList_.getInt(i));
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    for (int i = 0; i < cKICLLDGHGH_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(3, cKICLLDGHGH_.get(i));
    }
    for (int i = 0; i < stageList_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(6, stageList_.get(i));
    }
    if (gainCrystalExp_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(8, gainCrystalExp_);
    }
    for (int i = 0; i < dCLKHFDNIFN_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(9, dCLKHFDNIFN_.get(i));
    }
    {
      int dataSize = 0;
      for (int i = 0; i < unlockedCrystalSkillList_.size(); i++) {
        dataSize += com.google.protobuf.CodedOutputStream
          .computeUInt32SizeNoTag(unlockedCrystalSkillList_.getInt(i));
      }
      size += dataSize;
      if (!getUnlockedCrystalSkillListList().isEmpty()) {
        size += 1;
        size += com.google.protobuf.CodedOutputStream
            .computeInt32SizeNoTag(dataSize);
      }
      unlockedCrystalSkillListMemoizedSerializedSize = dataSize;
    }
    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 io.grasscutter.net.proto.activity.MichiaeMatsuriActivityDetailInfo)) {
      return super.equals(obj);
    }
    io.grasscutter.net.proto.activity.MichiaeMatsuriActivityDetailInfo other = (io.grasscutter.net.proto.activity.MichiaeMatsuriActivityDetailInfo) obj;

    if (!getDCLKHFDNIFNList()
        .equals(other.getDCLKHFDNIFNList())) return false;
    if (!getUnlockedCrystalSkillListList()
        .equals(other.getUnlockedCrystalSkillListList())) return false;
    if (!getStageListList()
        .equals(other.getStageListList())) return false;
    if (!getCKICLLDGHGHList()
        .equals(other.getCKICLLDGHGHList())) return false;
    if (getGainCrystalExp()
        != other.getGainCrystalExp()) 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 (getDCLKHFDNIFNCount() > 0) {
      hash = (37 * hash) + DCLKHFDNIFN_FIELD_NUMBER;
      hash = (53 * hash) + getDCLKHFDNIFNList().hashCode();
    }
    if (getUnlockedCrystalSkillListCount() > 0) {
      hash = (37 * hash) + UNLOCKED_CRYSTAL_SKILL_LIST_FIELD_NUMBER;
      hash = (53 * hash) + getUnlockedCrystalSkillListList().hashCode();
    }
    if (getStageListCount() > 0) {
      hash = (37 * hash) + STAGE_LIST_FIELD_NUMBER;
      hash = (53 * hash) + getStageListList().hashCode();
    }
    if (getCKICLLDGHGHCount() > 0) {
      hash = (37 * hash) + CKICLLDGHGH_FIELD_NUMBER;
      hash = (53 * hash) + getCKICLLDGHGHList().hashCode();
    }
    hash = (37 * hash) + GAIN_CRYSTAL_EXP_FIELD_NUMBER;
    hash = (53 * hash) + getGainCrystalExp();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static io.grasscutter.net.proto.activity.MichiaeMatsuriActivityDetailInfo parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static io.grasscutter.net.proto.activity.MichiaeMatsuriActivityDetailInfo parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static io.grasscutter.net.proto.activity.MichiaeMatsuriActivityDetailInfo parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static io.grasscutter.net.proto.activity.MichiaeMatsuriActivityDetailInfo parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static io.grasscutter.net.proto.activity.MichiaeMatsuriActivityDetailInfo parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static io.grasscutter.net.proto.activity.MichiaeMatsuriActivityDetailInfo parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static io.grasscutter.net.proto.activity.MichiaeMatsuriActivityDetailInfo parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static io.grasscutter.net.proto.activity.MichiaeMatsuriActivityDetailInfo 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 io.grasscutter.net.proto.activity.MichiaeMatsuriActivityDetailInfo parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static io.grasscutter.net.proto.activity.MichiaeMatsuriActivityDetailInfo 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 io.grasscutter.net.proto.activity.MichiaeMatsuriActivityDetailInfo parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static io.grasscutter.net.proto.activity.MichiaeMatsuriActivityDetailInfo 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(io.grasscutter.net.proto.activity.MichiaeMatsuriActivityDetailInfo 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 MichiaeMatsuriActivityDetailInfo}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:MichiaeMatsuriActivityDetailInfo)
      io.grasscutter.net.proto.activity.MichiaeMatsuriActivityDetailInfoOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.grasscutter.net.proto.activity.Activity.internal_static_MichiaeMatsuriActivityDetailInfo_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.grasscutter.net.proto.activity.Activity.internal_static_MichiaeMatsuriActivityDetailInfo_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.grasscutter.net.proto.activity.MichiaeMatsuriActivityDetailInfo.class, io.grasscutter.net.proto.activity.MichiaeMatsuriActivityDetailInfo.Builder.class);
    }

    // Construct using io.grasscutter.net.proto.activity.MichiaeMatsuriActivityDetailInfo.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
        getDCLKHFDNIFNFieldBuilder();
        getStageListFieldBuilder();
        getCKICLLDGHGHFieldBuilder();
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      if (dCLKHFDNIFNBuilder_ == null) {
        dCLKHFDNIFN_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
      } else {
        dCLKHFDNIFNBuilder_.clear();
      }
      unlockedCrystalSkillList_ = emptyIntList();
      bitField0_ = (bitField0_ & ~0x00000002);
      if (stageListBuilder_ == null) {
        stageList_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000004);
      } else {
        stageListBuilder_.clear();
      }
      if (cKICLLDGHGHBuilder_ == null) {
        cKICLLDGHGH_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000008);
      } else {
        cKICLLDGHGHBuilder_.clear();
      }
      gainCrystalExp_ = 0;

      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return io.grasscutter.net.proto.activity.Activity.internal_static_MichiaeMatsuriActivityDetailInfo_descriptor;
    }

    @java.lang.Override
    public io.grasscutter.net.proto.activity.MichiaeMatsuriActivityDetailInfo getDefaultInstanceForType() {
      return io.grasscutter.net.proto.activity.MichiaeMatsuriActivityDetailInfo.getDefaultInstance();
    }

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

    @java.lang.Override
    public io.grasscutter.net.proto.activity.MichiaeMatsuriActivityDetailInfo buildPartial() {
      io.grasscutter.net.proto.activity.MichiaeMatsuriActivityDetailInfo result = new io.grasscutter.net.proto.activity.MichiaeMatsuriActivityDetailInfo(this);
      int from_bitField0_ = bitField0_;
      if (dCLKHFDNIFNBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0)) {
          dCLKHFDNIFN_ = java.util.Collections.unmodifiableList(dCLKHFDNIFN_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.dCLKHFDNIFN_ = dCLKHFDNIFN_;
      } else {
        result.dCLKHFDNIFN_ = dCLKHFDNIFNBuilder_.build();
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        unlockedCrystalSkillList_.makeImmutable();
        bitField0_ = (bitField0_ & ~0x00000002);
      }
      result.unlockedCrystalSkillList_ = unlockedCrystalSkillList_;
      if (stageListBuilder_ == null) {
        if (((bitField0_ & 0x00000004) != 0)) {
          stageList_ = java.util.Collections.unmodifiableList(stageList_);
          bitField0_ = (bitField0_ & ~0x00000004);
        }
        result.stageList_ = stageList_;
      } else {
        result.stageList_ = stageListBuilder_.build();
      }
      if (cKICLLDGHGHBuilder_ == null) {
        if (((bitField0_ & 0x00000008) != 0)) {
          cKICLLDGHGH_ = java.util.Collections.unmodifiableList(cKICLLDGHGH_);
          bitField0_ = (bitField0_ & ~0x00000008);
        }
        result.cKICLLDGHGH_ = cKICLLDGHGH_;
      } else {
        result.cKICLLDGHGH_ = cKICLLDGHGHBuilder_.build();
      }
      result.gainCrystalExp_ = gainCrystalExp_;
      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 io.grasscutter.net.proto.activity.MichiaeMatsuriActivityDetailInfo) {
        return mergeFrom((io.grasscutter.net.proto.activity.MichiaeMatsuriActivityDetailInfo)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(io.grasscutter.net.proto.activity.MichiaeMatsuriActivityDetailInfo other) {
      if (other == io.grasscutter.net.proto.activity.MichiaeMatsuriActivityDetailInfo.getDefaultInstance()) return this;
      if (dCLKHFDNIFNBuilder_ == null) {
        if (!other.dCLKHFDNIFN_.isEmpty()) {
          if (dCLKHFDNIFN_.isEmpty()) {
            dCLKHFDNIFN_ = other.dCLKHFDNIFN_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureDCLKHFDNIFNIsMutable();
            dCLKHFDNIFN_.addAll(other.dCLKHFDNIFN_);
          }
          onChanged();
        }
      } else {
        if (!other.dCLKHFDNIFN_.isEmpty()) {
          if (dCLKHFDNIFNBuilder_.isEmpty()) {
            dCLKHFDNIFNBuilder_.dispose();
            dCLKHFDNIFNBuilder_ = null;
            dCLKHFDNIFN_ = other.dCLKHFDNIFN_;
            bitField0_ = (bitField0_ & ~0x00000001);
            dCLKHFDNIFNBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getDCLKHFDNIFNFieldBuilder() : null;
          } else {
            dCLKHFDNIFNBuilder_.addAllMessages(other.dCLKHFDNIFN_);
          }
        }
      }
      if (!other.unlockedCrystalSkillList_.isEmpty()) {
        if (unlockedCrystalSkillList_.isEmpty()) {
          unlockedCrystalSkillList_ = other.unlockedCrystalSkillList_;
          bitField0_ = (bitField0_ & ~0x00000002);
        } else {
          ensureUnlockedCrystalSkillListIsMutable();
          unlockedCrystalSkillList_.addAll(other.unlockedCrystalSkillList_);
        }
        onChanged();
      }
      if (stageListBuilder_ == null) {
        if (!other.stageList_.isEmpty()) {
          if (stageList_.isEmpty()) {
            stageList_ = other.stageList_;
            bitField0_ = (bitField0_ & ~0x00000004);
          } else {
            ensureStageListIsMutable();
            stageList_.addAll(other.stageList_);
          }
          onChanged();
        }
      } else {
        if (!other.stageList_.isEmpty()) {
          if (stageListBuilder_.isEmpty()) {
            stageListBuilder_.dispose();
            stageListBuilder_ = null;
            stageList_ = other.stageList_;
            bitField0_ = (bitField0_ & ~0x00000004);
            stageListBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getStageListFieldBuilder() : null;
          } else {
            stageListBuilder_.addAllMessages(other.stageList_);
          }
        }
      }
      if (cKICLLDGHGHBuilder_ == null) {
        if (!other.cKICLLDGHGH_.isEmpty()) {
          if (cKICLLDGHGH_.isEmpty()) {
            cKICLLDGHGH_ = other.cKICLLDGHGH_;
            bitField0_ = (bitField0_ & ~0x00000008);
          } else {
            ensureCKICLLDGHGHIsMutable();
            cKICLLDGHGH_.addAll(other.cKICLLDGHGH_);
          }
          onChanged();
        }
      } else {
        if (!other.cKICLLDGHGH_.isEmpty()) {
          if (cKICLLDGHGHBuilder_.isEmpty()) {
            cKICLLDGHGHBuilder_.dispose();
            cKICLLDGHGHBuilder_ = null;
            cKICLLDGHGH_ = other.cKICLLDGHGH_;
            bitField0_ = (bitField0_ & ~0x00000008);
            cKICLLDGHGHBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getCKICLLDGHGHFieldBuilder() : null;
          } else {
            cKICLLDGHGHBuilder_.addAllMessages(other.cKICLLDGHGH_);
          }
        }
      }
      if (other.getGainCrystalExp() != 0) {
        setGainCrystalExp(other.getGainCrystalExp());
      }
      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 {
      io.grasscutter.net.proto.activity.MichiaeMatsuriActivityDetailInfo parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (io.grasscutter.net.proto.activity.MichiaeMatsuriActivityDetailInfo) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int bitField0_;

    private java.util.List<io.grasscutter.net.proto.activity.DJCGMLCFKLC> dCLKHFDNIFN_ =
      java.util.Collections.emptyList();
    private void ensureDCLKHFDNIFNIsMutable() {
      if (!((bitField0_ & 0x00000001) != 0)) {
        dCLKHFDNIFN_ = new java.util.ArrayList<io.grasscutter.net.proto.activity.DJCGMLCFKLC>(dCLKHFDNIFN_);
        bitField0_ |= 0x00000001;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        io.grasscutter.net.proto.activity.DJCGMLCFKLC, io.grasscutter.net.proto.activity.DJCGMLCFKLC.Builder, io.grasscutter.net.proto.activity.DJCGMLCFKLCOrBuilder> dCLKHFDNIFNBuilder_;

    /**
     * <code>repeated .DJCGMLCFKLC DCLKHFDNIFN = 9;</code>
     */
    public java.util.List<io.grasscutter.net.proto.activity.DJCGMLCFKLC> getDCLKHFDNIFNList() {
      if (dCLKHFDNIFNBuilder_ == null) {
        return java.util.Collections.unmodifiableList(dCLKHFDNIFN_);
      } else {
        return dCLKHFDNIFNBuilder_.getMessageList();
      }
    }
    /**
     * <code>repeated .DJCGMLCFKLC DCLKHFDNIFN = 9;</code>
     */
    public int getDCLKHFDNIFNCount() {
      if (dCLKHFDNIFNBuilder_ == null) {
        return dCLKHFDNIFN_.size();
      } else {
        return dCLKHFDNIFNBuilder_.getCount();
      }
    }
    /**
     * <code>repeated .DJCGMLCFKLC DCLKHFDNIFN = 9;</code>
     */
    public io.grasscutter.net.proto.activity.DJCGMLCFKLC getDCLKHFDNIFN(int index) {
      if (dCLKHFDNIFNBuilder_ == null) {
        return dCLKHFDNIFN_.get(index);
      } else {
        return dCLKHFDNIFNBuilder_.getMessage(index);
      }
    }
    /**
     * <code>repeated .DJCGMLCFKLC DCLKHFDNIFN = 9;</code>
     */
    public Builder setDCLKHFDNIFN(
        int index, io.grasscutter.net.proto.activity.DJCGMLCFKLC value) {
      if (dCLKHFDNIFNBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureDCLKHFDNIFNIsMutable();
        dCLKHFDNIFN_.set(index, value);
        onChanged();
      } else {
        dCLKHFDNIFNBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .DJCGMLCFKLC DCLKHFDNIFN = 9;</code>
     */
    public Builder setDCLKHFDNIFN(
        int index, io.grasscutter.net.proto.activity.DJCGMLCFKLC.Builder builderForValue) {
      if (dCLKHFDNIFNBuilder_ == null) {
        ensureDCLKHFDNIFNIsMutable();
        dCLKHFDNIFN_.set(index, builderForValue.build());
        onChanged();
      } else {
        dCLKHFDNIFNBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .DJCGMLCFKLC DCLKHFDNIFN = 9;</code>
     */
    public Builder addDCLKHFDNIFN(io.grasscutter.net.proto.activity.DJCGMLCFKLC value) {
      if (dCLKHFDNIFNBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureDCLKHFDNIFNIsMutable();
        dCLKHFDNIFN_.add(value);
        onChanged();
      } else {
        dCLKHFDNIFNBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * <code>repeated .DJCGMLCFKLC DCLKHFDNIFN = 9;</code>
     */
    public Builder addDCLKHFDNIFN(
        int index, io.grasscutter.net.proto.activity.DJCGMLCFKLC value) {
      if (dCLKHFDNIFNBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureDCLKHFDNIFNIsMutable();
        dCLKHFDNIFN_.add(index, value);
        onChanged();
      } else {
        dCLKHFDNIFNBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .DJCGMLCFKLC DCLKHFDNIFN = 9;</code>
     */
    public Builder addDCLKHFDNIFN(
        io.grasscutter.net.proto.activity.DJCGMLCFKLC.Builder builderForValue) {
      if (dCLKHFDNIFNBuilder_ == null) {
        ensureDCLKHFDNIFNIsMutable();
        dCLKHFDNIFN_.add(builderForValue.build());
        onChanged();
      } else {
        dCLKHFDNIFNBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .DJCGMLCFKLC DCLKHFDNIFN = 9;</code>
     */
    public Builder addDCLKHFDNIFN(
        int index, io.grasscutter.net.proto.activity.DJCGMLCFKLC.Builder builderForValue) {
      if (dCLKHFDNIFNBuilder_ == null) {
        ensureDCLKHFDNIFNIsMutable();
        dCLKHFDNIFN_.add(index, builderForValue.build());
        onChanged();
      } else {
        dCLKHFDNIFNBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .DJCGMLCFKLC DCLKHFDNIFN = 9;</code>
     */
    public Builder addAllDCLKHFDNIFN(
        java.lang.Iterable<? extends io.grasscutter.net.proto.activity.DJCGMLCFKLC> values) {
      if (dCLKHFDNIFNBuilder_ == null) {
        ensureDCLKHFDNIFNIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, dCLKHFDNIFN_);
        onChanged();
      } else {
        dCLKHFDNIFNBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * <code>repeated .DJCGMLCFKLC DCLKHFDNIFN = 9;</code>
     */
    public Builder clearDCLKHFDNIFN() {
      if (dCLKHFDNIFNBuilder_ == null) {
        dCLKHFDNIFN_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
      } else {
        dCLKHFDNIFNBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>repeated .DJCGMLCFKLC DCLKHFDNIFN = 9;</code>
     */
    public Builder removeDCLKHFDNIFN(int index) {
      if (dCLKHFDNIFNBuilder_ == null) {
        ensureDCLKHFDNIFNIsMutable();
        dCLKHFDNIFN_.remove(index);
        onChanged();
      } else {
        dCLKHFDNIFNBuilder_.remove(index);
      }
      return this;
    }
    /**
     * <code>repeated .DJCGMLCFKLC DCLKHFDNIFN = 9;</code>
     */
    public io.grasscutter.net.proto.activity.DJCGMLCFKLC.Builder getDCLKHFDNIFNBuilder(
        int index) {
      return getDCLKHFDNIFNFieldBuilder().getBuilder(index);
    }
    /**
     * <code>repeated .DJCGMLCFKLC DCLKHFDNIFN = 9;</code>
     */
    public io.grasscutter.net.proto.activity.DJCGMLCFKLCOrBuilder getDCLKHFDNIFNOrBuilder(
        int index) {
      if (dCLKHFDNIFNBuilder_ == null) {
        return dCLKHFDNIFN_.get(index);  } else {
        return dCLKHFDNIFNBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * <code>repeated .DJCGMLCFKLC DCLKHFDNIFN = 9;</code>
     */
    public java.util.List<? extends io.grasscutter.net.proto.activity.DJCGMLCFKLCOrBuilder> 
         getDCLKHFDNIFNOrBuilderList() {
      if (dCLKHFDNIFNBuilder_ != null) {
        return dCLKHFDNIFNBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(dCLKHFDNIFN_);
      }
    }
    /**
     * <code>repeated .DJCGMLCFKLC DCLKHFDNIFN = 9;</code>
     */
    public io.grasscutter.net.proto.activity.DJCGMLCFKLC.Builder addDCLKHFDNIFNBuilder() {
      return getDCLKHFDNIFNFieldBuilder().addBuilder(
          io.grasscutter.net.proto.activity.DJCGMLCFKLC.getDefaultInstance());
    }
    /**
     * <code>repeated .DJCGMLCFKLC DCLKHFDNIFN = 9;</code>
     */
    public io.grasscutter.net.proto.activity.DJCGMLCFKLC.Builder addDCLKHFDNIFNBuilder(
        int index) {
      return getDCLKHFDNIFNFieldBuilder().addBuilder(
          index, io.grasscutter.net.proto.activity.DJCGMLCFKLC.getDefaultInstance());
    }
    /**
     * <code>repeated .DJCGMLCFKLC DCLKHFDNIFN = 9;</code>
     */
    public java.util.List<io.grasscutter.net.proto.activity.DJCGMLCFKLC.Builder> 
         getDCLKHFDNIFNBuilderList() {
      return getDCLKHFDNIFNFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        io.grasscutter.net.proto.activity.DJCGMLCFKLC, io.grasscutter.net.proto.activity.DJCGMLCFKLC.Builder, io.grasscutter.net.proto.activity.DJCGMLCFKLCOrBuilder> 
        getDCLKHFDNIFNFieldBuilder() {
      if (dCLKHFDNIFNBuilder_ == null) {
        dCLKHFDNIFNBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            io.grasscutter.net.proto.activity.DJCGMLCFKLC, io.grasscutter.net.proto.activity.DJCGMLCFKLC.Builder, io.grasscutter.net.proto.activity.DJCGMLCFKLCOrBuilder>(
                dCLKHFDNIFN_,
                ((bitField0_ & 0x00000001) != 0),
                getParentForChildren(),
                isClean());
        dCLKHFDNIFN_ = null;
      }
      return dCLKHFDNIFNBuilder_;
    }

    private com.google.protobuf.Internal.IntList unlockedCrystalSkillList_ = emptyIntList();
    private void ensureUnlockedCrystalSkillListIsMutable() {
      if (!((bitField0_ & 0x00000002) != 0)) {
        unlockedCrystalSkillList_ = mutableCopy(unlockedCrystalSkillList_);
        bitField0_ |= 0x00000002;
       }
    }
    /**
     * <code>repeated uint32 unlocked_crystal_skill_list = 14;</code>
     * @return A list containing the unlockedCrystalSkillList.
     */
    public java.util.List<java.lang.Integer>
        getUnlockedCrystalSkillListList() {
      return ((bitField0_ & 0x00000002) != 0) ?
               java.util.Collections.unmodifiableList(unlockedCrystalSkillList_) : unlockedCrystalSkillList_;
    }
    /**
     * <code>repeated uint32 unlocked_crystal_skill_list = 14;</code>
     * @return The count of unlockedCrystalSkillList.
     */
    public int getUnlockedCrystalSkillListCount() {
      return unlockedCrystalSkillList_.size();
    }
    /**
     * <code>repeated uint32 unlocked_crystal_skill_list = 14;</code>
     * @param index The index of the element to return.
     * @return The unlockedCrystalSkillList at the given index.
     */
    public int getUnlockedCrystalSkillList(int index) {
      return unlockedCrystalSkillList_.getInt(index);
    }
    /**
     * <code>repeated uint32 unlocked_crystal_skill_list = 14;</code>
     * @param index The index to set the value at.
     * @param value The unlockedCrystalSkillList to set.
     * @return This builder for chaining.
     */
    public Builder setUnlockedCrystalSkillList(
        int index, int value) {
      ensureUnlockedCrystalSkillListIsMutable();
      unlockedCrystalSkillList_.setInt(index, value);
      onChanged();
      return this;
    }
    /**
     * <code>repeated uint32 unlocked_crystal_skill_list = 14;</code>
     * @param value The unlockedCrystalSkillList to add.
     * @return This builder for chaining.
     */
    public Builder addUnlockedCrystalSkillList(int value) {
      ensureUnlockedCrystalSkillListIsMutable();
      unlockedCrystalSkillList_.addInt(value);
      onChanged();
      return this;
    }
    /**
     * <code>repeated uint32 unlocked_crystal_skill_list = 14;</code>
     * @param values The unlockedCrystalSkillList to add.
     * @return This builder for chaining.
     */
    public Builder addAllUnlockedCrystalSkillList(
        java.lang.Iterable<? extends java.lang.Integer> values) {
      ensureUnlockedCrystalSkillListIsMutable();
      com.google.protobuf.AbstractMessageLite.Builder.addAll(
          values, unlockedCrystalSkillList_);
      onChanged();
      return this;
    }
    /**
     * <code>repeated uint32 unlocked_crystal_skill_list = 14;</code>
     * @return This builder for chaining.
     */
    public Builder clearUnlockedCrystalSkillList() {
      unlockedCrystalSkillList_ = emptyIntList();
      bitField0_ = (bitField0_ & ~0x00000002);
      onChanged();
      return this;
    }

    private java.util.List<io.grasscutter.net.proto.activity.MichiaeMatsuriStage> stageList_ =
      java.util.Collections.emptyList();
    private void ensureStageListIsMutable() {
      if (!((bitField0_ & 0x00000004) != 0)) {
        stageList_ = new java.util.ArrayList<io.grasscutter.net.proto.activity.MichiaeMatsuriStage>(stageList_);
        bitField0_ |= 0x00000004;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        io.grasscutter.net.proto.activity.MichiaeMatsuriStage, io.grasscutter.net.proto.activity.MichiaeMatsuriStage.Builder, io.grasscutter.net.proto.activity.MichiaeMatsuriStageOrBuilder> stageListBuilder_;

    /**
     * <code>repeated .MichiaeMatsuriStage stage_list = 6;</code>
     */
    public java.util.List<io.grasscutter.net.proto.activity.MichiaeMatsuriStage> getStageListList() {
      if (stageListBuilder_ == null) {
        return java.util.Collections.unmodifiableList(stageList_);
      } else {
        return stageListBuilder_.getMessageList();
      }
    }
    /**
     * <code>repeated .MichiaeMatsuriStage stage_list = 6;</code>
     */
    public int getStageListCount() {
      if (stageListBuilder_ == null) {
        return stageList_.size();
      } else {
        return stageListBuilder_.getCount();
      }
    }
    /**
     * <code>repeated .MichiaeMatsuriStage stage_list = 6;</code>
     */
    public io.grasscutter.net.proto.activity.MichiaeMatsuriStage getStageList(int index) {
      if (stageListBuilder_ == null) {
        return stageList_.get(index);
      } else {
        return stageListBuilder_.getMessage(index);
      }
    }
    /**
     * <code>repeated .MichiaeMatsuriStage stage_list = 6;</code>
     */
    public Builder setStageList(
        int index, io.grasscutter.net.proto.activity.MichiaeMatsuriStage value) {
      if (stageListBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureStageListIsMutable();
        stageList_.set(index, value);
        onChanged();
      } else {
        stageListBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .MichiaeMatsuriStage stage_list = 6;</code>
     */
    public Builder setStageList(
        int index, io.grasscutter.net.proto.activity.MichiaeMatsuriStage.Builder builderForValue) {
      if (stageListBuilder_ == null) {
        ensureStageListIsMutable();
        stageList_.set(index, builderForValue.build());
        onChanged();
      } else {
        stageListBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .MichiaeMatsuriStage stage_list = 6;</code>
     */
    public Builder addStageList(io.grasscutter.net.proto.activity.MichiaeMatsuriStage value) {
      if (stageListBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureStageListIsMutable();
        stageList_.add(value);
        onChanged();
      } else {
        stageListBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * <code>repeated .MichiaeMatsuriStage stage_list = 6;</code>
     */
    public Builder addStageList(
        int index, io.grasscutter.net.proto.activity.MichiaeMatsuriStage value) {
      if (stageListBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureStageListIsMutable();
        stageList_.add(index, value);
        onChanged();
      } else {
        stageListBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .MichiaeMatsuriStage stage_list = 6;</code>
     */
    public Builder addStageList(
        io.grasscutter.net.proto.activity.MichiaeMatsuriStage.Builder builderForValue) {
      if (stageListBuilder_ == null) {
        ensureStageListIsMutable();
        stageList_.add(builderForValue.build());
        onChanged();
      } else {
        stageListBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .MichiaeMatsuriStage stage_list = 6;</code>
     */
    public Builder addStageList(
        int index, io.grasscutter.net.proto.activity.MichiaeMatsuriStage.Builder builderForValue) {
      if (stageListBuilder_ == null) {
        ensureStageListIsMutable();
        stageList_.add(index, builderForValue.build());
        onChanged();
      } else {
        stageListBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .MichiaeMatsuriStage stage_list = 6;</code>
     */
    public Builder addAllStageList(
        java.lang.Iterable<? extends io.grasscutter.net.proto.activity.MichiaeMatsuriStage> values) {
      if (stageListBuilder_ == null) {
        ensureStageListIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, stageList_);
        onChanged();
      } else {
        stageListBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * <code>repeated .MichiaeMatsuriStage stage_list = 6;</code>
     */
    public Builder clearStageList() {
      if (stageListBuilder_ == null) {
        stageList_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000004);
        onChanged();
      } else {
        stageListBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>repeated .MichiaeMatsuriStage stage_list = 6;</code>
     */
    public Builder removeStageList(int index) {
      if (stageListBuilder_ == null) {
        ensureStageListIsMutable();
        stageList_.remove(index);
        onChanged();
      } else {
        stageListBuilder_.remove(index);
      }
      return this;
    }
    /**
     * <code>repeated .MichiaeMatsuriStage stage_list = 6;</code>
     */
    public io.grasscutter.net.proto.activity.MichiaeMatsuriStage.Builder getStageListBuilder(
        int index) {
      return getStageListFieldBuilder().getBuilder(index);
    }
    /**
     * <code>repeated .MichiaeMatsuriStage stage_list = 6;</code>
     */
    public io.grasscutter.net.proto.activity.MichiaeMatsuriStageOrBuilder getStageListOrBuilder(
        int index) {
      if (stageListBuilder_ == null) {
        return stageList_.get(index);  } else {
        return stageListBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * <code>repeated .MichiaeMatsuriStage stage_list = 6;</code>
     */
    public java.util.List<? extends io.grasscutter.net.proto.activity.MichiaeMatsuriStageOrBuilder> 
         getStageListOrBuilderList() {
      if (stageListBuilder_ != null) {
        return stageListBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(stageList_);
      }
    }
    /**
     * <code>repeated .MichiaeMatsuriStage stage_list = 6;</code>
     */
    public io.grasscutter.net.proto.activity.MichiaeMatsuriStage.Builder addStageListBuilder() {
      return getStageListFieldBuilder().addBuilder(
          io.grasscutter.net.proto.activity.MichiaeMatsuriStage.getDefaultInstance());
    }
    /**
     * <code>repeated .MichiaeMatsuriStage stage_list = 6;</code>
     */
    public io.grasscutter.net.proto.activity.MichiaeMatsuriStage.Builder addStageListBuilder(
        int index) {
      return getStageListFieldBuilder().addBuilder(
          index, io.grasscutter.net.proto.activity.MichiaeMatsuriStage.getDefaultInstance());
    }
    /**
     * <code>repeated .MichiaeMatsuriStage stage_list = 6;</code>
     */
    public java.util.List<io.grasscutter.net.proto.activity.MichiaeMatsuriStage.Builder> 
         getStageListBuilderList() {
      return getStageListFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        io.grasscutter.net.proto.activity.MichiaeMatsuriStage, io.grasscutter.net.proto.activity.MichiaeMatsuriStage.Builder, io.grasscutter.net.proto.activity.MichiaeMatsuriStageOrBuilder> 
        getStageListFieldBuilder() {
      if (stageListBuilder_ == null) {
        stageListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            io.grasscutter.net.proto.activity.MichiaeMatsuriStage, io.grasscutter.net.proto.activity.MichiaeMatsuriStage.Builder, io.grasscutter.net.proto.activity.MichiaeMatsuriStageOrBuilder>(
                stageList_,
                ((bitField0_ & 0x00000004) != 0),
                getParentForChildren(),
                isClean());
        stageList_ = null;
      }
      return stageListBuilder_;
    }

    private java.util.List<io.grasscutter.net.proto.activity.JKLPNOGHIOI> cKICLLDGHGH_ =
      java.util.Collections.emptyList();
    private void ensureCKICLLDGHGHIsMutable() {
      if (!((bitField0_ & 0x00000008) != 0)) {
        cKICLLDGHGH_ = new java.util.ArrayList<io.grasscutter.net.proto.activity.JKLPNOGHIOI>(cKICLLDGHGH_);
        bitField0_ |= 0x00000008;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        io.grasscutter.net.proto.activity.JKLPNOGHIOI, io.grasscutter.net.proto.activity.JKLPNOGHIOI.Builder, io.grasscutter.net.proto.activity.JKLPNOGHIOIOrBuilder> cKICLLDGHGHBuilder_;

    /**
     * <code>repeated .JKLPNOGHIOI CKICLLDGHGH = 3;</code>
     */
    public java.util.List<io.grasscutter.net.proto.activity.JKLPNOGHIOI> getCKICLLDGHGHList() {
      if (cKICLLDGHGHBuilder_ == null) {
        return java.util.Collections.unmodifiableList(cKICLLDGHGH_);
      } else {
        return cKICLLDGHGHBuilder_.getMessageList();
      }
    }
    /**
     * <code>repeated .JKLPNOGHIOI CKICLLDGHGH = 3;</code>
     */
    public int getCKICLLDGHGHCount() {
      if (cKICLLDGHGHBuilder_ == null) {
        return cKICLLDGHGH_.size();
      } else {
        return cKICLLDGHGHBuilder_.getCount();
      }
    }
    /**
     * <code>repeated .JKLPNOGHIOI CKICLLDGHGH = 3;</code>
     */
    public io.grasscutter.net.proto.activity.JKLPNOGHIOI getCKICLLDGHGH(int index) {
      if (cKICLLDGHGHBuilder_ == null) {
        return cKICLLDGHGH_.get(index);
      } else {
        return cKICLLDGHGHBuilder_.getMessage(index);
      }
    }
    /**
     * <code>repeated .JKLPNOGHIOI CKICLLDGHGH = 3;</code>
     */
    public Builder setCKICLLDGHGH(
        int index, io.grasscutter.net.proto.activity.JKLPNOGHIOI value) {
      if (cKICLLDGHGHBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureCKICLLDGHGHIsMutable();
        cKICLLDGHGH_.set(index, value);
        onChanged();
      } else {
        cKICLLDGHGHBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .JKLPNOGHIOI CKICLLDGHGH = 3;</code>
     */
    public Builder setCKICLLDGHGH(
        int index, io.grasscutter.net.proto.activity.JKLPNOGHIOI.Builder builderForValue) {
      if (cKICLLDGHGHBuilder_ == null) {
        ensureCKICLLDGHGHIsMutable();
        cKICLLDGHGH_.set(index, builderForValue.build());
        onChanged();
      } else {
        cKICLLDGHGHBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .JKLPNOGHIOI CKICLLDGHGH = 3;</code>
     */
    public Builder addCKICLLDGHGH(io.grasscutter.net.proto.activity.JKLPNOGHIOI value) {
      if (cKICLLDGHGHBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureCKICLLDGHGHIsMutable();
        cKICLLDGHGH_.add(value);
        onChanged();
      } else {
        cKICLLDGHGHBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * <code>repeated .JKLPNOGHIOI CKICLLDGHGH = 3;</code>
     */
    public Builder addCKICLLDGHGH(
        int index, io.grasscutter.net.proto.activity.JKLPNOGHIOI value) {
      if (cKICLLDGHGHBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureCKICLLDGHGHIsMutable();
        cKICLLDGHGH_.add(index, value);
        onChanged();
      } else {
        cKICLLDGHGHBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .JKLPNOGHIOI CKICLLDGHGH = 3;</code>
     */
    public Builder addCKICLLDGHGH(
        io.grasscutter.net.proto.activity.JKLPNOGHIOI.Builder builderForValue) {
      if (cKICLLDGHGHBuilder_ == null) {
        ensureCKICLLDGHGHIsMutable();
        cKICLLDGHGH_.add(builderForValue.build());
        onChanged();
      } else {
        cKICLLDGHGHBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .JKLPNOGHIOI CKICLLDGHGH = 3;</code>
     */
    public Builder addCKICLLDGHGH(
        int index, io.grasscutter.net.proto.activity.JKLPNOGHIOI.Builder builderForValue) {
      if (cKICLLDGHGHBuilder_ == null) {
        ensureCKICLLDGHGHIsMutable();
        cKICLLDGHGH_.add(index, builderForValue.build());
        onChanged();
      } else {
        cKICLLDGHGHBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .JKLPNOGHIOI CKICLLDGHGH = 3;</code>
     */
    public Builder addAllCKICLLDGHGH(
        java.lang.Iterable<? extends io.grasscutter.net.proto.activity.JKLPNOGHIOI> values) {
      if (cKICLLDGHGHBuilder_ == null) {
        ensureCKICLLDGHGHIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, cKICLLDGHGH_);
        onChanged();
      } else {
        cKICLLDGHGHBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * <code>repeated .JKLPNOGHIOI CKICLLDGHGH = 3;</code>
     */
    public Builder clearCKICLLDGHGH() {
      if (cKICLLDGHGHBuilder_ == null) {
        cKICLLDGHGH_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000008);
        onChanged();
      } else {
        cKICLLDGHGHBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>repeated .JKLPNOGHIOI CKICLLDGHGH = 3;</code>
     */
    public Builder removeCKICLLDGHGH(int index) {
      if (cKICLLDGHGHBuilder_ == null) {
        ensureCKICLLDGHGHIsMutable();
        cKICLLDGHGH_.remove(index);
        onChanged();
      } else {
        cKICLLDGHGHBuilder_.remove(index);
      }
      return this;
    }
    /**
     * <code>repeated .JKLPNOGHIOI CKICLLDGHGH = 3;</code>
     */
    public io.grasscutter.net.proto.activity.JKLPNOGHIOI.Builder getCKICLLDGHGHBuilder(
        int index) {
      return getCKICLLDGHGHFieldBuilder().getBuilder(index);
    }
    /**
     * <code>repeated .JKLPNOGHIOI CKICLLDGHGH = 3;</code>
     */
    public io.grasscutter.net.proto.activity.JKLPNOGHIOIOrBuilder getCKICLLDGHGHOrBuilder(
        int index) {
      if (cKICLLDGHGHBuilder_ == null) {
        return cKICLLDGHGH_.get(index);  } else {
        return cKICLLDGHGHBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * <code>repeated .JKLPNOGHIOI CKICLLDGHGH = 3;</code>
     */
    public java.util.List<? extends io.grasscutter.net.proto.activity.JKLPNOGHIOIOrBuilder> 
         getCKICLLDGHGHOrBuilderList() {
      if (cKICLLDGHGHBuilder_ != null) {
        return cKICLLDGHGHBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(cKICLLDGHGH_);
      }
    }
    /**
     * <code>repeated .JKLPNOGHIOI CKICLLDGHGH = 3;</code>
     */
    public io.grasscutter.net.proto.activity.JKLPNOGHIOI.Builder addCKICLLDGHGHBuilder() {
      return getCKICLLDGHGHFieldBuilder().addBuilder(
          io.grasscutter.net.proto.activity.JKLPNOGHIOI.getDefaultInstance());
    }
    /**
     * <code>repeated .JKLPNOGHIOI CKICLLDGHGH = 3;</code>
     */
    public io.grasscutter.net.proto.activity.JKLPNOGHIOI.Builder addCKICLLDGHGHBuilder(
        int index) {
      return getCKICLLDGHGHFieldBuilder().addBuilder(
          index, io.grasscutter.net.proto.activity.JKLPNOGHIOI.getDefaultInstance());
    }
    /**
     * <code>repeated .JKLPNOGHIOI CKICLLDGHGH = 3;</code>
     */
    public java.util.List<io.grasscutter.net.proto.activity.JKLPNOGHIOI.Builder> 
         getCKICLLDGHGHBuilderList() {
      return getCKICLLDGHGHFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        io.grasscutter.net.proto.activity.JKLPNOGHIOI, io.grasscutter.net.proto.activity.JKLPNOGHIOI.Builder, io.grasscutter.net.proto.activity.JKLPNOGHIOIOrBuilder> 
        getCKICLLDGHGHFieldBuilder() {
      if (cKICLLDGHGHBuilder_ == null) {
        cKICLLDGHGHBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            io.grasscutter.net.proto.activity.JKLPNOGHIOI, io.grasscutter.net.proto.activity.JKLPNOGHIOI.Builder, io.grasscutter.net.proto.activity.JKLPNOGHIOIOrBuilder>(
                cKICLLDGHGH_,
                ((bitField0_ & 0x00000008) != 0),
                getParentForChildren(),
                isClean());
        cKICLLDGHGH_ = null;
      }
      return cKICLLDGHGHBuilder_;
    }

    private int gainCrystalExp_ ;
    /**
     * <code>uint32 gain_crystal_exp = 8;</code>
     * @return The gainCrystalExp.
     */
    @java.lang.Override
    public int getGainCrystalExp() {
      return gainCrystalExp_;
    }
    /**
     * <code>uint32 gain_crystal_exp = 8;</code>
     * @param value The gainCrystalExp to set.
     * @return This builder for chaining.
     */
    public Builder setGainCrystalExp(int value) {
      
      gainCrystalExp_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 gain_crystal_exp = 8;</code>
     * @return This builder for chaining.
     */
    public Builder clearGainCrystalExp() {
      
      gainCrystalExp_ = 0;
      onChanged();
      return this;
    }
    @java.lang.Override
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

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


    // @@protoc_insertion_point(builder_scope:MichiaeMatsuriActivityDetailInfo)
  }

  // @@protoc_insertion_point(class_scope:MichiaeMatsuriActivityDetailInfo)
  private static final io.grasscutter.net.proto.activity.MichiaeMatsuriActivityDetailInfo DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new io.grasscutter.net.proto.activity.MichiaeMatsuriActivityDetailInfo();
  }

  public static io.grasscutter.net.proto.activity.MichiaeMatsuriActivityDetailInfo getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

  @java.lang.Override
  public io.grasscutter.net.proto.activity.MichiaeMatsuriActivityDetailInfo getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

