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

package io.grasscutter.net.proto.activity;

/**
 * Protobuf type {@code GGFEKDPKFOH}
 */
public final class GGFEKDPKFOH extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:GGFEKDPKFOH)
    GGFEKDPKFOHOrBuilder {
private static final long serialVersionUID = 0L;
  // Use GGFEKDPKFOH.newBuilder() to construct.
  private GGFEKDPKFOH(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private GGFEKDPKFOH() {
    jHLBPPFGGPG_ = emptyIntList();
    ePBMKILNPJI_ = emptyIntList();
    avatarGuidList_ = emptyLongList();
  }

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

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

            isOpen_ = input.readBool();
            break;
          }
          case 24: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              jHLBPPFGGPG_ = newIntList();
              mutable_bitField0_ |= 0x00000001;
            }
            jHLBPPFGGPG_.addInt(input.readUInt32());
            break;
          }
          case 26: {
            int length = input.readRawVarint32();
            int limit = input.pushLimit(length);
            if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
              jHLBPPFGGPG_ = newIntList();
              mutable_bitField0_ |= 0x00000001;
            }
            while (input.getBytesUntilLimit() > 0) {
              jHLBPPFGGPG_.addInt(input.readUInt32());
            }
            input.popLimit(limit);
            break;
          }
          case 32: {
            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
              avatarGuidList_ = newLongList();
              mutable_bitField0_ |= 0x00000004;
            }
            avatarGuidList_.addLong(input.readUInt64());
            break;
          }
          case 34: {
            int length = input.readRawVarint32();
            int limit = input.pushLimit(length);
            if (!((mutable_bitField0_ & 0x00000004) != 0) && input.getBytesUntilLimit() > 0) {
              avatarGuidList_ = newLongList();
              mutable_bitField0_ |= 0x00000004;
            }
            while (input.getBytesUntilLimit() > 0) {
              avatarGuidList_.addLong(input.readUInt64());
            }
            input.popLimit(limit);
            break;
          }
          case 64: {

            isFinish_ = input.readBool();
            break;
          }
          case 72: {
            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
              ePBMKILNPJI_ = newIntList();
              mutable_bitField0_ |= 0x00000002;
            }
            ePBMKILNPJI_.addInt(input.readUInt32());
            break;
          }
          case 74: {
            int length = input.readRawVarint32();
            int limit = input.pushLimit(length);
            if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) {
              ePBMKILNPJI_ = newIntList();
              mutable_bitField0_ |= 0x00000002;
            }
            while (input.getBytesUntilLimit() > 0) {
              ePBMKILNPJI_.addInt(input.readUInt32());
            }
            input.popLimit(limit);
            break;
          }
          case 88: {

            maxScore_ = input.readUInt32();
            break;
          }
          case 96: {

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

            mONEJDBPOLB_ = 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)) {
        jHLBPPFGGPG_.makeImmutable(); // C
      }
      if (((mutable_bitField0_ & 0x00000004) != 0)) {
        avatarGuidList_.makeImmutable(); // C
      }
      if (((mutable_bitField0_ & 0x00000002) != 0)) {
        ePBMKILNPJI_.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_GGFEKDPKFOH_descriptor;
  }

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

  public static final int JHLBPPFGGPG_FIELD_NUMBER = 3;
  private com.google.protobuf.Internal.IntList jHLBPPFGGPG_;
  /**
   * <code>repeated uint32 JHLBPPFGGPG = 3;</code>
   * @return A list containing the jHLBPPFGGPG.
   */
  @java.lang.Override
  public java.util.List<java.lang.Integer>
      getJHLBPPFGGPGList() {
    return jHLBPPFGGPG_;
  }
  /**
   * <code>repeated uint32 JHLBPPFGGPG = 3;</code>
   * @return The count of jHLBPPFGGPG.
   */
  public int getJHLBPPFGGPGCount() {
    return jHLBPPFGGPG_.size();
  }
  /**
   * <code>repeated uint32 JHLBPPFGGPG = 3;</code>
   * @param index The index of the element to return.
   * @return The jHLBPPFGGPG at the given index.
   */
  public int getJHLBPPFGGPG(int index) {
    return jHLBPPFGGPG_.getInt(index);
  }
  private int jHLBPPFGGPGMemoizedSerializedSize = -1;

  public static final int EPBMKILNPJI_FIELD_NUMBER = 9;
  private com.google.protobuf.Internal.IntList ePBMKILNPJI_;
  /**
   * <code>repeated uint32 EPBMKILNPJI = 9;</code>
   * @return A list containing the ePBMKILNPJI.
   */
  @java.lang.Override
  public java.util.List<java.lang.Integer>
      getEPBMKILNPJIList() {
    return ePBMKILNPJI_;
  }
  /**
   * <code>repeated uint32 EPBMKILNPJI = 9;</code>
   * @return The count of ePBMKILNPJI.
   */
  public int getEPBMKILNPJICount() {
    return ePBMKILNPJI_.size();
  }
  /**
   * <code>repeated uint32 EPBMKILNPJI = 9;</code>
   * @param index The index of the element to return.
   * @return The ePBMKILNPJI at the given index.
   */
  public int getEPBMKILNPJI(int index) {
    return ePBMKILNPJI_.getInt(index);
  }
  private int ePBMKILNPJIMemoizedSerializedSize = -1;

  public static final int AVATAR_GUID_LIST_FIELD_NUMBER = 4;
  private com.google.protobuf.Internal.LongList avatarGuidList_;
  /**
   * <code>repeated uint64 avatar_guid_list = 4;</code>
   * @return A list containing the avatarGuidList.
   */
  @java.lang.Override
  public java.util.List<java.lang.Long>
      getAvatarGuidListList() {
    return avatarGuidList_;
  }
  /**
   * <code>repeated uint64 avatar_guid_list = 4;</code>
   * @return The count of avatarGuidList.
   */
  public int getAvatarGuidListCount() {
    return avatarGuidList_.size();
  }
  /**
   * <code>repeated uint64 avatar_guid_list = 4;</code>
   * @param index The index of the element to return.
   * @return The avatarGuidList at the given index.
   */
  public long getAvatarGuidList(int index) {
    return avatarGuidList_.getLong(index);
  }
  private int avatarGuidListMemoizedSerializedSize = -1;

  public static final int MONEJDBPOLB_FIELD_NUMBER = 14;
  private int mONEJDBPOLB_;
  /**
   * <code>uint32 MONEJDBPOLB = 14;</code>
   * @return The mONEJDBPOLB.
   */
  @java.lang.Override
  public int getMONEJDBPOLB() {
    return mONEJDBPOLB_;
  }

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

  public static final int IS_FINISH_FIELD_NUMBER = 8;
  private boolean isFinish_;
  /**
   * <code>bool is_finish = 8;</code>
   * @return The isFinish.
   */
  @java.lang.Override
  public boolean getIsFinish() {
    return isFinish_;
  }

  public static final int MAX_SCORE_FIELD_NUMBER = 11;
  private int maxScore_;
  /**
   * <code>uint32 max_score = 11;</code>
   * @return The maxScore.
   */
  @java.lang.Override
  public int getMaxScore() {
    return maxScore_;
  }

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

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

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    getSerializedSize();
    if (isOpen_ != false) {
      output.writeBool(2, isOpen_);
    }
    if (getJHLBPPFGGPGList().size() > 0) {
      output.writeUInt32NoTag(26);
      output.writeUInt32NoTag(jHLBPPFGGPGMemoizedSerializedSize);
    }
    for (int i = 0; i < jHLBPPFGGPG_.size(); i++) {
      output.writeUInt32NoTag(jHLBPPFGGPG_.getInt(i));
    }
    if (getAvatarGuidListList().size() > 0) {
      output.writeUInt32NoTag(34);
      output.writeUInt32NoTag(avatarGuidListMemoizedSerializedSize);
    }
    for (int i = 0; i < avatarGuidList_.size(); i++) {
      output.writeUInt64NoTag(avatarGuidList_.getLong(i));
    }
    if (isFinish_ != false) {
      output.writeBool(8, isFinish_);
    }
    if (getEPBMKILNPJIList().size() > 0) {
      output.writeUInt32NoTag(74);
      output.writeUInt32NoTag(ePBMKILNPJIMemoizedSerializedSize);
    }
    for (int i = 0; i < ePBMKILNPJI_.size(); i++) {
      output.writeUInt32NoTag(ePBMKILNPJI_.getInt(i));
    }
    if (maxScore_ != 0) {
      output.writeUInt32(11, maxScore_);
    }
    if (levelId_ != 0) {
      output.writeUInt32(12, levelId_);
    }
    if (mONEJDBPOLB_ != 0) {
      output.writeUInt32(14, mONEJDBPOLB_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (isOpen_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(2, isOpen_);
    }
    {
      int dataSize = 0;
      for (int i = 0; i < jHLBPPFGGPG_.size(); i++) {
        dataSize += com.google.protobuf.CodedOutputStream
          .computeUInt32SizeNoTag(jHLBPPFGGPG_.getInt(i));
      }
      size += dataSize;
      if (!getJHLBPPFGGPGList().isEmpty()) {
        size += 1;
        size += com.google.protobuf.CodedOutputStream
            .computeInt32SizeNoTag(dataSize);
      }
      jHLBPPFGGPGMemoizedSerializedSize = dataSize;
    }
    {
      int dataSize = 0;
      for (int i = 0; i < avatarGuidList_.size(); i++) {
        dataSize += com.google.protobuf.CodedOutputStream
          .computeUInt64SizeNoTag(avatarGuidList_.getLong(i));
      }
      size += dataSize;
      if (!getAvatarGuidListList().isEmpty()) {
        size += 1;
        size += com.google.protobuf.CodedOutputStream
            .computeInt32SizeNoTag(dataSize);
      }
      avatarGuidListMemoizedSerializedSize = dataSize;
    }
    if (isFinish_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(8, isFinish_);
    }
    {
      int dataSize = 0;
      for (int i = 0; i < ePBMKILNPJI_.size(); i++) {
        dataSize += com.google.protobuf.CodedOutputStream
          .computeUInt32SizeNoTag(ePBMKILNPJI_.getInt(i));
      }
      size += dataSize;
      if (!getEPBMKILNPJIList().isEmpty()) {
        size += 1;
        size += com.google.protobuf.CodedOutputStream
            .computeInt32SizeNoTag(dataSize);
      }
      ePBMKILNPJIMemoizedSerializedSize = dataSize;
    }
    if (maxScore_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(11, maxScore_);
    }
    if (levelId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(12, levelId_);
    }
    if (mONEJDBPOLB_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(14, mONEJDBPOLB_);
    }
    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.GGFEKDPKFOH)) {
      return super.equals(obj);
    }
    io.grasscutter.net.proto.activity.GGFEKDPKFOH other = (io.grasscutter.net.proto.activity.GGFEKDPKFOH) obj;

    if (!getJHLBPPFGGPGList()
        .equals(other.getJHLBPPFGGPGList())) return false;
    if (!getEPBMKILNPJIList()
        .equals(other.getEPBMKILNPJIList())) return false;
    if (!getAvatarGuidListList()
        .equals(other.getAvatarGuidListList())) return false;
    if (getMONEJDBPOLB()
        != other.getMONEJDBPOLB()) return false;
    if (getIsOpen()
        != other.getIsOpen()) return false;
    if (getIsFinish()
        != other.getIsFinish()) return false;
    if (getMaxScore()
        != other.getMaxScore()) return false;
    if (getLevelId()
        != other.getLevelId()) 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 (getJHLBPPFGGPGCount() > 0) {
      hash = (37 * hash) + JHLBPPFGGPG_FIELD_NUMBER;
      hash = (53 * hash) + getJHLBPPFGGPGList().hashCode();
    }
    if (getEPBMKILNPJICount() > 0) {
      hash = (37 * hash) + EPBMKILNPJI_FIELD_NUMBER;
      hash = (53 * hash) + getEPBMKILNPJIList().hashCode();
    }
    if (getAvatarGuidListCount() > 0) {
      hash = (37 * hash) + AVATAR_GUID_LIST_FIELD_NUMBER;
      hash = (53 * hash) + getAvatarGuidListList().hashCode();
    }
    hash = (37 * hash) + MONEJDBPOLB_FIELD_NUMBER;
    hash = (53 * hash) + getMONEJDBPOLB();
    hash = (37 * hash) + IS_OPEN_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getIsOpen());
    hash = (37 * hash) + IS_FINISH_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getIsFinish());
    hash = (37 * hash) + MAX_SCORE_FIELD_NUMBER;
    hash = (53 * hash) + getMaxScore();
    hash = (37 * hash) + LEVEL_ID_FIELD_NUMBER;
    hash = (53 * hash) + getLevelId();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

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

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      jHLBPPFGGPG_ = emptyIntList();
      bitField0_ = (bitField0_ & ~0x00000001);
      ePBMKILNPJI_ = emptyIntList();
      bitField0_ = (bitField0_ & ~0x00000002);
      avatarGuidList_ = emptyLongList();
      bitField0_ = (bitField0_ & ~0x00000004);
      mONEJDBPOLB_ = 0;

      isOpen_ = false;

      isFinish_ = false;

      maxScore_ = 0;

      levelId_ = 0;

      return this;
    }

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

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

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

    @java.lang.Override
    public io.grasscutter.net.proto.activity.GGFEKDPKFOH buildPartial() {
      io.grasscutter.net.proto.activity.GGFEKDPKFOH result = new io.grasscutter.net.proto.activity.GGFEKDPKFOH(this);
      int from_bitField0_ = bitField0_;
      if (((bitField0_ & 0x00000001) != 0)) {
        jHLBPPFGGPG_.makeImmutable();
        bitField0_ = (bitField0_ & ~0x00000001);
      }
      result.jHLBPPFGGPG_ = jHLBPPFGGPG_;
      if (((bitField0_ & 0x00000002) != 0)) {
        ePBMKILNPJI_.makeImmutable();
        bitField0_ = (bitField0_ & ~0x00000002);
      }
      result.ePBMKILNPJI_ = ePBMKILNPJI_;
      if (((bitField0_ & 0x00000004) != 0)) {
        avatarGuidList_.makeImmutable();
        bitField0_ = (bitField0_ & ~0x00000004);
      }
      result.avatarGuidList_ = avatarGuidList_;
      result.mONEJDBPOLB_ = mONEJDBPOLB_;
      result.isOpen_ = isOpen_;
      result.isFinish_ = isFinish_;
      result.maxScore_ = maxScore_;
      result.levelId_ = levelId_;
      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.GGFEKDPKFOH) {
        return mergeFrom((io.grasscutter.net.proto.activity.GGFEKDPKFOH)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(io.grasscutter.net.proto.activity.GGFEKDPKFOH other) {
      if (other == io.grasscutter.net.proto.activity.GGFEKDPKFOH.getDefaultInstance()) return this;
      if (!other.jHLBPPFGGPG_.isEmpty()) {
        if (jHLBPPFGGPG_.isEmpty()) {
          jHLBPPFGGPG_ = other.jHLBPPFGGPG_;
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          ensureJHLBPPFGGPGIsMutable();
          jHLBPPFGGPG_.addAll(other.jHLBPPFGGPG_);
        }
        onChanged();
      }
      if (!other.ePBMKILNPJI_.isEmpty()) {
        if (ePBMKILNPJI_.isEmpty()) {
          ePBMKILNPJI_ = other.ePBMKILNPJI_;
          bitField0_ = (bitField0_ & ~0x00000002);
        } else {
          ensureEPBMKILNPJIIsMutable();
          ePBMKILNPJI_.addAll(other.ePBMKILNPJI_);
        }
        onChanged();
      }
      if (!other.avatarGuidList_.isEmpty()) {
        if (avatarGuidList_.isEmpty()) {
          avatarGuidList_ = other.avatarGuidList_;
          bitField0_ = (bitField0_ & ~0x00000004);
        } else {
          ensureAvatarGuidListIsMutable();
          avatarGuidList_.addAll(other.avatarGuidList_);
        }
        onChanged();
      }
      if (other.getMONEJDBPOLB() != 0) {
        setMONEJDBPOLB(other.getMONEJDBPOLB());
      }
      if (other.getIsOpen() != false) {
        setIsOpen(other.getIsOpen());
      }
      if (other.getIsFinish() != false) {
        setIsFinish(other.getIsFinish());
      }
      if (other.getMaxScore() != 0) {
        setMaxScore(other.getMaxScore());
      }
      if (other.getLevelId() != 0) {
        setLevelId(other.getLevelId());
      }
      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.GGFEKDPKFOH parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (io.grasscutter.net.proto.activity.GGFEKDPKFOH) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int bitField0_;

    private com.google.protobuf.Internal.IntList jHLBPPFGGPG_ = emptyIntList();
    private void ensureJHLBPPFGGPGIsMutable() {
      if (!((bitField0_ & 0x00000001) != 0)) {
        jHLBPPFGGPG_ = mutableCopy(jHLBPPFGGPG_);
        bitField0_ |= 0x00000001;
       }
    }
    /**
     * <code>repeated uint32 JHLBPPFGGPG = 3;</code>
     * @return A list containing the jHLBPPFGGPG.
     */
    public java.util.List<java.lang.Integer>
        getJHLBPPFGGPGList() {
      return ((bitField0_ & 0x00000001) != 0) ?
               java.util.Collections.unmodifiableList(jHLBPPFGGPG_) : jHLBPPFGGPG_;
    }
    /**
     * <code>repeated uint32 JHLBPPFGGPG = 3;</code>
     * @return The count of jHLBPPFGGPG.
     */
    public int getJHLBPPFGGPGCount() {
      return jHLBPPFGGPG_.size();
    }
    /**
     * <code>repeated uint32 JHLBPPFGGPG = 3;</code>
     * @param index The index of the element to return.
     * @return The jHLBPPFGGPG at the given index.
     */
    public int getJHLBPPFGGPG(int index) {
      return jHLBPPFGGPG_.getInt(index);
    }
    /**
     * <code>repeated uint32 JHLBPPFGGPG = 3;</code>
     * @param index The index to set the value at.
     * @param value The jHLBPPFGGPG to set.
     * @return This builder for chaining.
     */
    public Builder setJHLBPPFGGPG(
        int index, int value) {
      ensureJHLBPPFGGPGIsMutable();
      jHLBPPFGGPG_.setInt(index, value);
      onChanged();
      return this;
    }
    /**
     * <code>repeated uint32 JHLBPPFGGPG = 3;</code>
     * @param value The jHLBPPFGGPG to add.
     * @return This builder for chaining.
     */
    public Builder addJHLBPPFGGPG(int value) {
      ensureJHLBPPFGGPGIsMutable();
      jHLBPPFGGPG_.addInt(value);
      onChanged();
      return this;
    }
    /**
     * <code>repeated uint32 JHLBPPFGGPG = 3;</code>
     * @param values The jHLBPPFGGPG to add.
     * @return This builder for chaining.
     */
    public Builder addAllJHLBPPFGGPG(
        java.lang.Iterable<? extends java.lang.Integer> values) {
      ensureJHLBPPFGGPGIsMutable();
      com.google.protobuf.AbstractMessageLite.Builder.addAll(
          values, jHLBPPFGGPG_);
      onChanged();
      return this;
    }
    /**
     * <code>repeated uint32 JHLBPPFGGPG = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearJHLBPPFGGPG() {
      jHLBPPFGGPG_ = emptyIntList();
      bitField0_ = (bitField0_ & ~0x00000001);
      onChanged();
      return this;
    }

    private com.google.protobuf.Internal.IntList ePBMKILNPJI_ = emptyIntList();
    private void ensureEPBMKILNPJIIsMutable() {
      if (!((bitField0_ & 0x00000002) != 0)) {
        ePBMKILNPJI_ = mutableCopy(ePBMKILNPJI_);
        bitField0_ |= 0x00000002;
       }
    }
    /**
     * <code>repeated uint32 EPBMKILNPJI = 9;</code>
     * @return A list containing the ePBMKILNPJI.
     */
    public java.util.List<java.lang.Integer>
        getEPBMKILNPJIList() {
      return ((bitField0_ & 0x00000002) != 0) ?
               java.util.Collections.unmodifiableList(ePBMKILNPJI_) : ePBMKILNPJI_;
    }
    /**
     * <code>repeated uint32 EPBMKILNPJI = 9;</code>
     * @return The count of ePBMKILNPJI.
     */
    public int getEPBMKILNPJICount() {
      return ePBMKILNPJI_.size();
    }
    /**
     * <code>repeated uint32 EPBMKILNPJI = 9;</code>
     * @param index The index of the element to return.
     * @return The ePBMKILNPJI at the given index.
     */
    public int getEPBMKILNPJI(int index) {
      return ePBMKILNPJI_.getInt(index);
    }
    /**
     * <code>repeated uint32 EPBMKILNPJI = 9;</code>
     * @param index The index to set the value at.
     * @param value The ePBMKILNPJI to set.
     * @return This builder for chaining.
     */
    public Builder setEPBMKILNPJI(
        int index, int value) {
      ensureEPBMKILNPJIIsMutable();
      ePBMKILNPJI_.setInt(index, value);
      onChanged();
      return this;
    }
    /**
     * <code>repeated uint32 EPBMKILNPJI = 9;</code>
     * @param value The ePBMKILNPJI to add.
     * @return This builder for chaining.
     */
    public Builder addEPBMKILNPJI(int value) {
      ensureEPBMKILNPJIIsMutable();
      ePBMKILNPJI_.addInt(value);
      onChanged();
      return this;
    }
    /**
     * <code>repeated uint32 EPBMKILNPJI = 9;</code>
     * @param values The ePBMKILNPJI to add.
     * @return This builder for chaining.
     */
    public Builder addAllEPBMKILNPJI(
        java.lang.Iterable<? extends java.lang.Integer> values) {
      ensureEPBMKILNPJIIsMutable();
      com.google.protobuf.AbstractMessageLite.Builder.addAll(
          values, ePBMKILNPJI_);
      onChanged();
      return this;
    }
    /**
     * <code>repeated uint32 EPBMKILNPJI = 9;</code>
     * @return This builder for chaining.
     */
    public Builder clearEPBMKILNPJI() {
      ePBMKILNPJI_ = emptyIntList();
      bitField0_ = (bitField0_ & ~0x00000002);
      onChanged();
      return this;
    }

    private com.google.protobuf.Internal.LongList avatarGuidList_ = emptyLongList();
    private void ensureAvatarGuidListIsMutable() {
      if (!((bitField0_ & 0x00000004) != 0)) {
        avatarGuidList_ = mutableCopy(avatarGuidList_);
        bitField0_ |= 0x00000004;
       }
    }
    /**
     * <code>repeated uint64 avatar_guid_list = 4;</code>
     * @return A list containing the avatarGuidList.
     */
    public java.util.List<java.lang.Long>
        getAvatarGuidListList() {
      return ((bitField0_ & 0x00000004) != 0) ?
               java.util.Collections.unmodifiableList(avatarGuidList_) : avatarGuidList_;
    }
    /**
     * <code>repeated uint64 avatar_guid_list = 4;</code>
     * @return The count of avatarGuidList.
     */
    public int getAvatarGuidListCount() {
      return avatarGuidList_.size();
    }
    /**
     * <code>repeated uint64 avatar_guid_list = 4;</code>
     * @param index The index of the element to return.
     * @return The avatarGuidList at the given index.
     */
    public long getAvatarGuidList(int index) {
      return avatarGuidList_.getLong(index);
    }
    /**
     * <code>repeated uint64 avatar_guid_list = 4;</code>
     * @param index The index to set the value at.
     * @param value The avatarGuidList to set.
     * @return This builder for chaining.
     */
    public Builder setAvatarGuidList(
        int index, long value) {
      ensureAvatarGuidListIsMutable();
      avatarGuidList_.setLong(index, value);
      onChanged();
      return this;
    }
    /**
     * <code>repeated uint64 avatar_guid_list = 4;</code>
     * @param value The avatarGuidList to add.
     * @return This builder for chaining.
     */
    public Builder addAvatarGuidList(long value) {
      ensureAvatarGuidListIsMutable();
      avatarGuidList_.addLong(value);
      onChanged();
      return this;
    }
    /**
     * <code>repeated uint64 avatar_guid_list = 4;</code>
     * @param values The avatarGuidList to add.
     * @return This builder for chaining.
     */
    public Builder addAllAvatarGuidList(
        java.lang.Iterable<? extends java.lang.Long> values) {
      ensureAvatarGuidListIsMutable();
      com.google.protobuf.AbstractMessageLite.Builder.addAll(
          values, avatarGuidList_);
      onChanged();
      return this;
    }
    /**
     * <code>repeated uint64 avatar_guid_list = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearAvatarGuidList() {
      avatarGuidList_ = emptyLongList();
      bitField0_ = (bitField0_ & ~0x00000004);
      onChanged();
      return this;
    }

    private int mONEJDBPOLB_ ;
    /**
     * <code>uint32 MONEJDBPOLB = 14;</code>
     * @return The mONEJDBPOLB.
     */
    @java.lang.Override
    public int getMONEJDBPOLB() {
      return mONEJDBPOLB_;
    }
    /**
     * <code>uint32 MONEJDBPOLB = 14;</code>
     * @param value The mONEJDBPOLB to set.
     * @return This builder for chaining.
     */
    public Builder setMONEJDBPOLB(int value) {
      
      mONEJDBPOLB_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 MONEJDBPOLB = 14;</code>
     * @return This builder for chaining.
     */
    public Builder clearMONEJDBPOLB() {
      
      mONEJDBPOLB_ = 0;
      onChanged();
      return this;
    }

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

    private boolean isFinish_ ;
    /**
     * <code>bool is_finish = 8;</code>
     * @return The isFinish.
     */
    @java.lang.Override
    public boolean getIsFinish() {
      return isFinish_;
    }
    /**
     * <code>bool is_finish = 8;</code>
     * @param value The isFinish to set.
     * @return This builder for chaining.
     */
    public Builder setIsFinish(boolean value) {
      
      isFinish_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>bool is_finish = 8;</code>
     * @return This builder for chaining.
     */
    public Builder clearIsFinish() {
      
      isFinish_ = false;
      onChanged();
      return this;
    }

    private int maxScore_ ;
    /**
     * <code>uint32 max_score = 11;</code>
     * @return The maxScore.
     */
    @java.lang.Override
    public int getMaxScore() {
      return maxScore_;
    }
    /**
     * <code>uint32 max_score = 11;</code>
     * @param value The maxScore to set.
     * @return This builder for chaining.
     */
    public Builder setMaxScore(int value) {
      
      maxScore_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 max_score = 11;</code>
     * @return This builder for chaining.
     */
    public Builder clearMaxScore() {
      
      maxScore_ = 0;
      onChanged();
      return this;
    }

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

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

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

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

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

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

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

}

