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

package io.grasscutter.net.proto.activity;

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

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private BBIKBHKDNPI(
      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_ & 0x00000002) != 0)) {
              jOAHNCLHCBH_ = new java.util.ArrayList<io.grasscutter.net.proto.activity.HIJLLEIHODA>();
              mutable_bitField0_ |= 0x00000002;
            }
            jOAHNCLHCBH_.add(
                input.readMessage(io.grasscutter.net.proto.activity.HIJLLEIHODA.parser(), extensionRegistry));
            break;
          }
          case 42: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              kGAJIKDIHNI_ = new java.util.ArrayList<io.grasscutter.net.proto.activity.HOPIKHOIONP>();
              mutable_bitField0_ |= 0x00000001;
            }
            kGAJIKDIHNI_.add(
                input.readMessage(io.grasscutter.net.proto.activity.HOPIKHOIONP.parser(), extensionRegistry));
            break;
          }
          case 112: {

            pAFLDBLJHFD_ = 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_ & 0x00000002) != 0)) {
        jOAHNCLHCBH_ = java.util.Collections.unmodifiableList(jOAHNCLHCBH_);
      }
      if (((mutable_bitField0_ & 0x00000001) != 0)) {
        kGAJIKDIHNI_ = java.util.Collections.unmodifiableList(kGAJIKDIHNI_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return io.grasscutter.net.proto.activity.Activity.internal_static_BBIKBHKDNPI_descriptor;
  }

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

  public static final int KGAJIKDIHNI_FIELD_NUMBER = 5;
  private java.util.List<io.grasscutter.net.proto.activity.HOPIKHOIONP> kGAJIKDIHNI_;
  /**
   * <code>repeated .HOPIKHOIONP KGAJIKDIHNI = 5;</code>
   */
  @java.lang.Override
  public java.util.List<io.grasscutter.net.proto.activity.HOPIKHOIONP> getKGAJIKDIHNIList() {
    return kGAJIKDIHNI_;
  }
  /**
   * <code>repeated .HOPIKHOIONP KGAJIKDIHNI = 5;</code>
   */
  @java.lang.Override
  public java.util.List<? extends io.grasscutter.net.proto.activity.HOPIKHOIONPOrBuilder> 
      getKGAJIKDIHNIOrBuilderList() {
    return kGAJIKDIHNI_;
  }
  /**
   * <code>repeated .HOPIKHOIONP KGAJIKDIHNI = 5;</code>
   */
  @java.lang.Override
  public int getKGAJIKDIHNICount() {
    return kGAJIKDIHNI_.size();
  }
  /**
   * <code>repeated .HOPIKHOIONP KGAJIKDIHNI = 5;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.activity.HOPIKHOIONP getKGAJIKDIHNI(int index) {
    return kGAJIKDIHNI_.get(index);
  }
  /**
   * <code>repeated .HOPIKHOIONP KGAJIKDIHNI = 5;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.activity.HOPIKHOIONPOrBuilder getKGAJIKDIHNIOrBuilder(
      int index) {
    return kGAJIKDIHNI_.get(index);
  }

  public static final int JOAHNCLHCBH_FIELD_NUMBER = 3;
  private java.util.List<io.grasscutter.net.proto.activity.HIJLLEIHODA> jOAHNCLHCBH_;
  /**
   * <code>repeated .HIJLLEIHODA JOAHNCLHCBH = 3;</code>
   */
  @java.lang.Override
  public java.util.List<io.grasscutter.net.proto.activity.HIJLLEIHODA> getJOAHNCLHCBHList() {
    return jOAHNCLHCBH_;
  }
  /**
   * <code>repeated .HIJLLEIHODA JOAHNCLHCBH = 3;</code>
   */
  @java.lang.Override
  public java.util.List<? extends io.grasscutter.net.proto.activity.HIJLLEIHODAOrBuilder> 
      getJOAHNCLHCBHOrBuilderList() {
    return jOAHNCLHCBH_;
  }
  /**
   * <code>repeated .HIJLLEIHODA JOAHNCLHCBH = 3;</code>
   */
  @java.lang.Override
  public int getJOAHNCLHCBHCount() {
    return jOAHNCLHCBH_.size();
  }
  /**
   * <code>repeated .HIJLLEIHODA JOAHNCLHCBH = 3;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.activity.HIJLLEIHODA getJOAHNCLHCBH(int index) {
    return jOAHNCLHCBH_.get(index);
  }
  /**
   * <code>repeated .HIJLLEIHODA JOAHNCLHCBH = 3;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.activity.HIJLLEIHODAOrBuilder getJOAHNCLHCBHOrBuilder(
      int index) {
    return jOAHNCLHCBH_.get(index);
  }

  public static final int PAFLDBLJHFD_FIELD_NUMBER = 14;
  private int pAFLDBLJHFD_;
  /**
   * <code>uint32 PAFLDBLJHFD = 14;</code>
   * @return The pAFLDBLJHFD.
   */
  @java.lang.Override
  public int getPAFLDBLJHFD() {
    return pAFLDBLJHFD_;
  }

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

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    for (int i = 0; i < jOAHNCLHCBH_.size(); i++) {
      output.writeMessage(3, jOAHNCLHCBH_.get(i));
    }
    for (int i = 0; i < kGAJIKDIHNI_.size(); i++) {
      output.writeMessage(5, kGAJIKDIHNI_.get(i));
    }
    if (pAFLDBLJHFD_ != 0) {
      output.writeUInt32(14, pAFLDBLJHFD_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    for (int i = 0; i < jOAHNCLHCBH_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(3, jOAHNCLHCBH_.get(i));
    }
    for (int i = 0; i < kGAJIKDIHNI_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(5, kGAJIKDIHNI_.get(i));
    }
    if (pAFLDBLJHFD_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(14, pAFLDBLJHFD_);
    }
    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.BBIKBHKDNPI)) {
      return super.equals(obj);
    }
    io.grasscutter.net.proto.activity.BBIKBHKDNPI other = (io.grasscutter.net.proto.activity.BBIKBHKDNPI) obj;

    if (!getKGAJIKDIHNIList()
        .equals(other.getKGAJIKDIHNIList())) return false;
    if (!getJOAHNCLHCBHList()
        .equals(other.getJOAHNCLHCBHList())) return false;
    if (getPAFLDBLJHFD()
        != other.getPAFLDBLJHFD()) 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 (getKGAJIKDIHNICount() > 0) {
      hash = (37 * hash) + KGAJIKDIHNI_FIELD_NUMBER;
      hash = (53 * hash) + getKGAJIKDIHNIList().hashCode();
    }
    if (getJOAHNCLHCBHCount() > 0) {
      hash = (37 * hash) + JOAHNCLHCBH_FIELD_NUMBER;
      hash = (53 * hash) + getJOAHNCLHCBHList().hashCode();
    }
    hash = (37 * hash) + PAFLDBLJHFD_FIELD_NUMBER;
    hash = (53 * hash) + getPAFLDBLJHFD();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

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

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
        getKGAJIKDIHNIFieldBuilder();
        getJOAHNCLHCBHFieldBuilder();
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      if (kGAJIKDIHNIBuilder_ == null) {
        kGAJIKDIHNI_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
      } else {
        kGAJIKDIHNIBuilder_.clear();
      }
      if (jOAHNCLHCBHBuilder_ == null) {
        jOAHNCLHCBH_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000002);
      } else {
        jOAHNCLHCBHBuilder_.clear();
      }
      pAFLDBLJHFD_ = 0;

      return this;
    }

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

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

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

    @java.lang.Override
    public io.grasscutter.net.proto.activity.BBIKBHKDNPI buildPartial() {
      io.grasscutter.net.proto.activity.BBIKBHKDNPI result = new io.grasscutter.net.proto.activity.BBIKBHKDNPI(this);
      int from_bitField0_ = bitField0_;
      if (kGAJIKDIHNIBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0)) {
          kGAJIKDIHNI_ = java.util.Collections.unmodifiableList(kGAJIKDIHNI_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.kGAJIKDIHNI_ = kGAJIKDIHNI_;
      } else {
        result.kGAJIKDIHNI_ = kGAJIKDIHNIBuilder_.build();
      }
      if (jOAHNCLHCBHBuilder_ == null) {
        if (((bitField0_ & 0x00000002) != 0)) {
          jOAHNCLHCBH_ = java.util.Collections.unmodifiableList(jOAHNCLHCBH_);
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.jOAHNCLHCBH_ = jOAHNCLHCBH_;
      } else {
        result.jOAHNCLHCBH_ = jOAHNCLHCBHBuilder_.build();
      }
      result.pAFLDBLJHFD_ = pAFLDBLJHFD_;
      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.BBIKBHKDNPI) {
        return mergeFrom((io.grasscutter.net.proto.activity.BBIKBHKDNPI)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(io.grasscutter.net.proto.activity.BBIKBHKDNPI other) {
      if (other == io.grasscutter.net.proto.activity.BBIKBHKDNPI.getDefaultInstance()) return this;
      if (kGAJIKDIHNIBuilder_ == null) {
        if (!other.kGAJIKDIHNI_.isEmpty()) {
          if (kGAJIKDIHNI_.isEmpty()) {
            kGAJIKDIHNI_ = other.kGAJIKDIHNI_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureKGAJIKDIHNIIsMutable();
            kGAJIKDIHNI_.addAll(other.kGAJIKDIHNI_);
          }
          onChanged();
        }
      } else {
        if (!other.kGAJIKDIHNI_.isEmpty()) {
          if (kGAJIKDIHNIBuilder_.isEmpty()) {
            kGAJIKDIHNIBuilder_.dispose();
            kGAJIKDIHNIBuilder_ = null;
            kGAJIKDIHNI_ = other.kGAJIKDIHNI_;
            bitField0_ = (bitField0_ & ~0x00000001);
            kGAJIKDIHNIBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getKGAJIKDIHNIFieldBuilder() : null;
          } else {
            kGAJIKDIHNIBuilder_.addAllMessages(other.kGAJIKDIHNI_);
          }
        }
      }
      if (jOAHNCLHCBHBuilder_ == null) {
        if (!other.jOAHNCLHCBH_.isEmpty()) {
          if (jOAHNCLHCBH_.isEmpty()) {
            jOAHNCLHCBH_ = other.jOAHNCLHCBH_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureJOAHNCLHCBHIsMutable();
            jOAHNCLHCBH_.addAll(other.jOAHNCLHCBH_);
          }
          onChanged();
        }
      } else {
        if (!other.jOAHNCLHCBH_.isEmpty()) {
          if (jOAHNCLHCBHBuilder_.isEmpty()) {
            jOAHNCLHCBHBuilder_.dispose();
            jOAHNCLHCBHBuilder_ = null;
            jOAHNCLHCBH_ = other.jOAHNCLHCBH_;
            bitField0_ = (bitField0_ & ~0x00000002);
            jOAHNCLHCBHBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getJOAHNCLHCBHFieldBuilder() : null;
          } else {
            jOAHNCLHCBHBuilder_.addAllMessages(other.jOAHNCLHCBH_);
          }
        }
      }
      if (other.getPAFLDBLJHFD() != 0) {
        setPAFLDBLJHFD(other.getPAFLDBLJHFD());
      }
      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.BBIKBHKDNPI parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (io.grasscutter.net.proto.activity.BBIKBHKDNPI) 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.HOPIKHOIONP> kGAJIKDIHNI_ =
      java.util.Collections.emptyList();
    private void ensureKGAJIKDIHNIIsMutable() {
      if (!((bitField0_ & 0x00000001) != 0)) {
        kGAJIKDIHNI_ = new java.util.ArrayList<io.grasscutter.net.proto.activity.HOPIKHOIONP>(kGAJIKDIHNI_);
        bitField0_ |= 0x00000001;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        io.grasscutter.net.proto.activity.HOPIKHOIONP, io.grasscutter.net.proto.activity.HOPIKHOIONP.Builder, io.grasscutter.net.proto.activity.HOPIKHOIONPOrBuilder> kGAJIKDIHNIBuilder_;

    /**
     * <code>repeated .HOPIKHOIONP KGAJIKDIHNI = 5;</code>
     */
    public java.util.List<io.grasscutter.net.proto.activity.HOPIKHOIONP> getKGAJIKDIHNIList() {
      if (kGAJIKDIHNIBuilder_ == null) {
        return java.util.Collections.unmodifiableList(kGAJIKDIHNI_);
      } else {
        return kGAJIKDIHNIBuilder_.getMessageList();
      }
    }
    /**
     * <code>repeated .HOPIKHOIONP KGAJIKDIHNI = 5;</code>
     */
    public int getKGAJIKDIHNICount() {
      if (kGAJIKDIHNIBuilder_ == null) {
        return kGAJIKDIHNI_.size();
      } else {
        return kGAJIKDIHNIBuilder_.getCount();
      }
    }
    /**
     * <code>repeated .HOPIKHOIONP KGAJIKDIHNI = 5;</code>
     */
    public io.grasscutter.net.proto.activity.HOPIKHOIONP getKGAJIKDIHNI(int index) {
      if (kGAJIKDIHNIBuilder_ == null) {
        return kGAJIKDIHNI_.get(index);
      } else {
        return kGAJIKDIHNIBuilder_.getMessage(index);
      }
    }
    /**
     * <code>repeated .HOPIKHOIONP KGAJIKDIHNI = 5;</code>
     */
    public Builder setKGAJIKDIHNI(
        int index, io.grasscutter.net.proto.activity.HOPIKHOIONP value) {
      if (kGAJIKDIHNIBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureKGAJIKDIHNIIsMutable();
        kGAJIKDIHNI_.set(index, value);
        onChanged();
      } else {
        kGAJIKDIHNIBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .HOPIKHOIONP KGAJIKDIHNI = 5;</code>
     */
    public Builder setKGAJIKDIHNI(
        int index, io.grasscutter.net.proto.activity.HOPIKHOIONP.Builder builderForValue) {
      if (kGAJIKDIHNIBuilder_ == null) {
        ensureKGAJIKDIHNIIsMutable();
        kGAJIKDIHNI_.set(index, builderForValue.build());
        onChanged();
      } else {
        kGAJIKDIHNIBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .HOPIKHOIONP KGAJIKDIHNI = 5;</code>
     */
    public Builder addKGAJIKDIHNI(io.grasscutter.net.proto.activity.HOPIKHOIONP value) {
      if (kGAJIKDIHNIBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureKGAJIKDIHNIIsMutable();
        kGAJIKDIHNI_.add(value);
        onChanged();
      } else {
        kGAJIKDIHNIBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * <code>repeated .HOPIKHOIONP KGAJIKDIHNI = 5;</code>
     */
    public Builder addKGAJIKDIHNI(
        int index, io.grasscutter.net.proto.activity.HOPIKHOIONP value) {
      if (kGAJIKDIHNIBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureKGAJIKDIHNIIsMutable();
        kGAJIKDIHNI_.add(index, value);
        onChanged();
      } else {
        kGAJIKDIHNIBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .HOPIKHOIONP KGAJIKDIHNI = 5;</code>
     */
    public Builder addKGAJIKDIHNI(
        io.grasscutter.net.proto.activity.HOPIKHOIONP.Builder builderForValue) {
      if (kGAJIKDIHNIBuilder_ == null) {
        ensureKGAJIKDIHNIIsMutable();
        kGAJIKDIHNI_.add(builderForValue.build());
        onChanged();
      } else {
        kGAJIKDIHNIBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .HOPIKHOIONP KGAJIKDIHNI = 5;</code>
     */
    public Builder addKGAJIKDIHNI(
        int index, io.grasscutter.net.proto.activity.HOPIKHOIONP.Builder builderForValue) {
      if (kGAJIKDIHNIBuilder_ == null) {
        ensureKGAJIKDIHNIIsMutable();
        kGAJIKDIHNI_.add(index, builderForValue.build());
        onChanged();
      } else {
        kGAJIKDIHNIBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .HOPIKHOIONP KGAJIKDIHNI = 5;</code>
     */
    public Builder addAllKGAJIKDIHNI(
        java.lang.Iterable<? extends io.grasscutter.net.proto.activity.HOPIKHOIONP> values) {
      if (kGAJIKDIHNIBuilder_ == null) {
        ensureKGAJIKDIHNIIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, kGAJIKDIHNI_);
        onChanged();
      } else {
        kGAJIKDIHNIBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * <code>repeated .HOPIKHOIONP KGAJIKDIHNI = 5;</code>
     */
    public Builder clearKGAJIKDIHNI() {
      if (kGAJIKDIHNIBuilder_ == null) {
        kGAJIKDIHNI_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
      } else {
        kGAJIKDIHNIBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>repeated .HOPIKHOIONP KGAJIKDIHNI = 5;</code>
     */
    public Builder removeKGAJIKDIHNI(int index) {
      if (kGAJIKDIHNIBuilder_ == null) {
        ensureKGAJIKDIHNIIsMutable();
        kGAJIKDIHNI_.remove(index);
        onChanged();
      } else {
        kGAJIKDIHNIBuilder_.remove(index);
      }
      return this;
    }
    /**
     * <code>repeated .HOPIKHOIONP KGAJIKDIHNI = 5;</code>
     */
    public io.grasscutter.net.proto.activity.HOPIKHOIONP.Builder getKGAJIKDIHNIBuilder(
        int index) {
      return getKGAJIKDIHNIFieldBuilder().getBuilder(index);
    }
    /**
     * <code>repeated .HOPIKHOIONP KGAJIKDIHNI = 5;</code>
     */
    public io.grasscutter.net.proto.activity.HOPIKHOIONPOrBuilder getKGAJIKDIHNIOrBuilder(
        int index) {
      if (kGAJIKDIHNIBuilder_ == null) {
        return kGAJIKDIHNI_.get(index);  } else {
        return kGAJIKDIHNIBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * <code>repeated .HOPIKHOIONP KGAJIKDIHNI = 5;</code>
     */
    public java.util.List<? extends io.grasscutter.net.proto.activity.HOPIKHOIONPOrBuilder> 
         getKGAJIKDIHNIOrBuilderList() {
      if (kGAJIKDIHNIBuilder_ != null) {
        return kGAJIKDIHNIBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(kGAJIKDIHNI_);
      }
    }
    /**
     * <code>repeated .HOPIKHOIONP KGAJIKDIHNI = 5;</code>
     */
    public io.grasscutter.net.proto.activity.HOPIKHOIONP.Builder addKGAJIKDIHNIBuilder() {
      return getKGAJIKDIHNIFieldBuilder().addBuilder(
          io.grasscutter.net.proto.activity.HOPIKHOIONP.getDefaultInstance());
    }
    /**
     * <code>repeated .HOPIKHOIONP KGAJIKDIHNI = 5;</code>
     */
    public io.grasscutter.net.proto.activity.HOPIKHOIONP.Builder addKGAJIKDIHNIBuilder(
        int index) {
      return getKGAJIKDIHNIFieldBuilder().addBuilder(
          index, io.grasscutter.net.proto.activity.HOPIKHOIONP.getDefaultInstance());
    }
    /**
     * <code>repeated .HOPIKHOIONP KGAJIKDIHNI = 5;</code>
     */
    public java.util.List<io.grasscutter.net.proto.activity.HOPIKHOIONP.Builder> 
         getKGAJIKDIHNIBuilderList() {
      return getKGAJIKDIHNIFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        io.grasscutter.net.proto.activity.HOPIKHOIONP, io.grasscutter.net.proto.activity.HOPIKHOIONP.Builder, io.grasscutter.net.proto.activity.HOPIKHOIONPOrBuilder> 
        getKGAJIKDIHNIFieldBuilder() {
      if (kGAJIKDIHNIBuilder_ == null) {
        kGAJIKDIHNIBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            io.grasscutter.net.proto.activity.HOPIKHOIONP, io.grasscutter.net.proto.activity.HOPIKHOIONP.Builder, io.grasscutter.net.proto.activity.HOPIKHOIONPOrBuilder>(
                kGAJIKDIHNI_,
                ((bitField0_ & 0x00000001) != 0),
                getParentForChildren(),
                isClean());
        kGAJIKDIHNI_ = null;
      }
      return kGAJIKDIHNIBuilder_;
    }

    private java.util.List<io.grasscutter.net.proto.activity.HIJLLEIHODA> jOAHNCLHCBH_ =
      java.util.Collections.emptyList();
    private void ensureJOAHNCLHCBHIsMutable() {
      if (!((bitField0_ & 0x00000002) != 0)) {
        jOAHNCLHCBH_ = new java.util.ArrayList<io.grasscutter.net.proto.activity.HIJLLEIHODA>(jOAHNCLHCBH_);
        bitField0_ |= 0x00000002;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        io.grasscutter.net.proto.activity.HIJLLEIHODA, io.grasscutter.net.proto.activity.HIJLLEIHODA.Builder, io.grasscutter.net.proto.activity.HIJLLEIHODAOrBuilder> jOAHNCLHCBHBuilder_;

    /**
     * <code>repeated .HIJLLEIHODA JOAHNCLHCBH = 3;</code>
     */
    public java.util.List<io.grasscutter.net.proto.activity.HIJLLEIHODA> getJOAHNCLHCBHList() {
      if (jOAHNCLHCBHBuilder_ == null) {
        return java.util.Collections.unmodifiableList(jOAHNCLHCBH_);
      } else {
        return jOAHNCLHCBHBuilder_.getMessageList();
      }
    }
    /**
     * <code>repeated .HIJLLEIHODA JOAHNCLHCBH = 3;</code>
     */
    public int getJOAHNCLHCBHCount() {
      if (jOAHNCLHCBHBuilder_ == null) {
        return jOAHNCLHCBH_.size();
      } else {
        return jOAHNCLHCBHBuilder_.getCount();
      }
    }
    /**
     * <code>repeated .HIJLLEIHODA JOAHNCLHCBH = 3;</code>
     */
    public io.grasscutter.net.proto.activity.HIJLLEIHODA getJOAHNCLHCBH(int index) {
      if (jOAHNCLHCBHBuilder_ == null) {
        return jOAHNCLHCBH_.get(index);
      } else {
        return jOAHNCLHCBHBuilder_.getMessage(index);
      }
    }
    /**
     * <code>repeated .HIJLLEIHODA JOAHNCLHCBH = 3;</code>
     */
    public Builder setJOAHNCLHCBH(
        int index, io.grasscutter.net.proto.activity.HIJLLEIHODA value) {
      if (jOAHNCLHCBHBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureJOAHNCLHCBHIsMutable();
        jOAHNCLHCBH_.set(index, value);
        onChanged();
      } else {
        jOAHNCLHCBHBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .HIJLLEIHODA JOAHNCLHCBH = 3;</code>
     */
    public Builder setJOAHNCLHCBH(
        int index, io.grasscutter.net.proto.activity.HIJLLEIHODA.Builder builderForValue) {
      if (jOAHNCLHCBHBuilder_ == null) {
        ensureJOAHNCLHCBHIsMutable();
        jOAHNCLHCBH_.set(index, builderForValue.build());
        onChanged();
      } else {
        jOAHNCLHCBHBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .HIJLLEIHODA JOAHNCLHCBH = 3;</code>
     */
    public Builder addJOAHNCLHCBH(io.grasscutter.net.proto.activity.HIJLLEIHODA value) {
      if (jOAHNCLHCBHBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureJOAHNCLHCBHIsMutable();
        jOAHNCLHCBH_.add(value);
        onChanged();
      } else {
        jOAHNCLHCBHBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * <code>repeated .HIJLLEIHODA JOAHNCLHCBH = 3;</code>
     */
    public Builder addJOAHNCLHCBH(
        int index, io.grasscutter.net.proto.activity.HIJLLEIHODA value) {
      if (jOAHNCLHCBHBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureJOAHNCLHCBHIsMutable();
        jOAHNCLHCBH_.add(index, value);
        onChanged();
      } else {
        jOAHNCLHCBHBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .HIJLLEIHODA JOAHNCLHCBH = 3;</code>
     */
    public Builder addJOAHNCLHCBH(
        io.grasscutter.net.proto.activity.HIJLLEIHODA.Builder builderForValue) {
      if (jOAHNCLHCBHBuilder_ == null) {
        ensureJOAHNCLHCBHIsMutable();
        jOAHNCLHCBH_.add(builderForValue.build());
        onChanged();
      } else {
        jOAHNCLHCBHBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .HIJLLEIHODA JOAHNCLHCBH = 3;</code>
     */
    public Builder addJOAHNCLHCBH(
        int index, io.grasscutter.net.proto.activity.HIJLLEIHODA.Builder builderForValue) {
      if (jOAHNCLHCBHBuilder_ == null) {
        ensureJOAHNCLHCBHIsMutable();
        jOAHNCLHCBH_.add(index, builderForValue.build());
        onChanged();
      } else {
        jOAHNCLHCBHBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .HIJLLEIHODA JOAHNCLHCBH = 3;</code>
     */
    public Builder addAllJOAHNCLHCBH(
        java.lang.Iterable<? extends io.grasscutter.net.proto.activity.HIJLLEIHODA> values) {
      if (jOAHNCLHCBHBuilder_ == null) {
        ensureJOAHNCLHCBHIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, jOAHNCLHCBH_);
        onChanged();
      } else {
        jOAHNCLHCBHBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * <code>repeated .HIJLLEIHODA JOAHNCLHCBH = 3;</code>
     */
    public Builder clearJOAHNCLHCBH() {
      if (jOAHNCLHCBHBuilder_ == null) {
        jOAHNCLHCBH_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
      } else {
        jOAHNCLHCBHBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>repeated .HIJLLEIHODA JOAHNCLHCBH = 3;</code>
     */
    public Builder removeJOAHNCLHCBH(int index) {
      if (jOAHNCLHCBHBuilder_ == null) {
        ensureJOAHNCLHCBHIsMutable();
        jOAHNCLHCBH_.remove(index);
        onChanged();
      } else {
        jOAHNCLHCBHBuilder_.remove(index);
      }
      return this;
    }
    /**
     * <code>repeated .HIJLLEIHODA JOAHNCLHCBH = 3;</code>
     */
    public io.grasscutter.net.proto.activity.HIJLLEIHODA.Builder getJOAHNCLHCBHBuilder(
        int index) {
      return getJOAHNCLHCBHFieldBuilder().getBuilder(index);
    }
    /**
     * <code>repeated .HIJLLEIHODA JOAHNCLHCBH = 3;</code>
     */
    public io.grasscutter.net.proto.activity.HIJLLEIHODAOrBuilder getJOAHNCLHCBHOrBuilder(
        int index) {
      if (jOAHNCLHCBHBuilder_ == null) {
        return jOAHNCLHCBH_.get(index);  } else {
        return jOAHNCLHCBHBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * <code>repeated .HIJLLEIHODA JOAHNCLHCBH = 3;</code>
     */
    public java.util.List<? extends io.grasscutter.net.proto.activity.HIJLLEIHODAOrBuilder> 
         getJOAHNCLHCBHOrBuilderList() {
      if (jOAHNCLHCBHBuilder_ != null) {
        return jOAHNCLHCBHBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(jOAHNCLHCBH_);
      }
    }
    /**
     * <code>repeated .HIJLLEIHODA JOAHNCLHCBH = 3;</code>
     */
    public io.grasscutter.net.proto.activity.HIJLLEIHODA.Builder addJOAHNCLHCBHBuilder() {
      return getJOAHNCLHCBHFieldBuilder().addBuilder(
          io.grasscutter.net.proto.activity.HIJLLEIHODA.getDefaultInstance());
    }
    /**
     * <code>repeated .HIJLLEIHODA JOAHNCLHCBH = 3;</code>
     */
    public io.grasscutter.net.proto.activity.HIJLLEIHODA.Builder addJOAHNCLHCBHBuilder(
        int index) {
      return getJOAHNCLHCBHFieldBuilder().addBuilder(
          index, io.grasscutter.net.proto.activity.HIJLLEIHODA.getDefaultInstance());
    }
    /**
     * <code>repeated .HIJLLEIHODA JOAHNCLHCBH = 3;</code>
     */
    public java.util.List<io.grasscutter.net.proto.activity.HIJLLEIHODA.Builder> 
         getJOAHNCLHCBHBuilderList() {
      return getJOAHNCLHCBHFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        io.grasscutter.net.proto.activity.HIJLLEIHODA, io.grasscutter.net.proto.activity.HIJLLEIHODA.Builder, io.grasscutter.net.proto.activity.HIJLLEIHODAOrBuilder> 
        getJOAHNCLHCBHFieldBuilder() {
      if (jOAHNCLHCBHBuilder_ == null) {
        jOAHNCLHCBHBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            io.grasscutter.net.proto.activity.HIJLLEIHODA, io.grasscutter.net.proto.activity.HIJLLEIHODA.Builder, io.grasscutter.net.proto.activity.HIJLLEIHODAOrBuilder>(
                jOAHNCLHCBH_,
                ((bitField0_ & 0x00000002) != 0),
                getParentForChildren(),
                isClean());
        jOAHNCLHCBH_ = null;
      }
      return jOAHNCLHCBHBuilder_;
    }

    private int pAFLDBLJHFD_ ;
    /**
     * <code>uint32 PAFLDBLJHFD = 14;</code>
     * @return The pAFLDBLJHFD.
     */
    @java.lang.Override
    public int getPAFLDBLJHFD() {
      return pAFLDBLJHFD_;
    }
    /**
     * <code>uint32 PAFLDBLJHFD = 14;</code>
     * @param value The pAFLDBLJHFD to set.
     * @return This builder for chaining.
     */
    public Builder setPAFLDBLJHFD(int value) {
      
      pAFLDBLJHFD_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 PAFLDBLJHFD = 14;</code>
     * @return This builder for chaining.
     */
    public Builder clearPAFLDBLJHFD() {
      
      pAFLDBLJHFD_ = 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:BBIKBHKDNPI)
  }

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

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

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

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

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

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

}

