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

package io.grasscutter.net.proto.activity;

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

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

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

            customDungeonGroupId_ = input.readUInt32();
            break;
          }
          case 26: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              officialCustomDungeonList_ = new java.util.ArrayList<io.grasscutter.net.proto.activity.OfficialCustomDungeon>();
              mutable_bitField0_ |= 0x00000001;
            }
            officialCustomDungeonList_.add(
                input.readMessage(io.grasscutter.net.proto.activity.OfficialCustomDungeon.parser(), extensionRegistry));
            break;
          }
          case 64: {

            kKPIDNFHGCJ_ = input.readBool();
            break;
          }
          case 80: {

            lDGNPKGAMFJ_ = input.readBool();
            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)) {
        officialCustomDungeonList_ = java.util.Collections.unmodifiableList(officialCustomDungeonList_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return io.grasscutter.net.proto.activity.Activity.internal_static_UgcActivityDetailInfo_descriptor;
  }

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

  public static final int OFFICIAL_CUSTOM_DUNGEON_LIST_FIELD_NUMBER = 3;
  private java.util.List<io.grasscutter.net.proto.activity.OfficialCustomDungeon> officialCustomDungeonList_;
  /**
   * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 3;</code>
   */
  @java.lang.Override
  public java.util.List<io.grasscutter.net.proto.activity.OfficialCustomDungeon> getOfficialCustomDungeonListList() {
    return officialCustomDungeonList_;
  }
  /**
   * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 3;</code>
   */
  @java.lang.Override
  public java.util.List<? extends io.grasscutter.net.proto.activity.OfficialCustomDungeonOrBuilder> 
      getOfficialCustomDungeonListOrBuilderList() {
    return officialCustomDungeonList_;
  }
  /**
   * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 3;</code>
   */
  @java.lang.Override
  public int getOfficialCustomDungeonListCount() {
    return officialCustomDungeonList_.size();
  }
  /**
   * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 3;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.activity.OfficialCustomDungeon getOfficialCustomDungeonList(int index) {
    return officialCustomDungeonList_.get(index);
  }
  /**
   * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 3;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.activity.OfficialCustomDungeonOrBuilder getOfficialCustomDungeonListOrBuilder(
      int index) {
    return officialCustomDungeonList_.get(index);
  }

  public static final int KKPIDNFHGCJ_FIELD_NUMBER = 8;
  private boolean kKPIDNFHGCJ_;
  /**
   * <code>bool KKPIDNFHGCJ = 8;</code>
   * @return The kKPIDNFHGCJ.
   */
  @java.lang.Override
  public boolean getKKPIDNFHGCJ() {
    return kKPIDNFHGCJ_;
  }

  public static final int LDGNPKGAMFJ_FIELD_NUMBER = 10;
  private boolean lDGNPKGAMFJ_;
  /**
   * <code>bool LDGNPKGAMFJ = 10;</code>
   * @return The lDGNPKGAMFJ.
   */
  @java.lang.Override
  public boolean getLDGNPKGAMFJ() {
    return lDGNPKGAMFJ_;
  }

  public static final int CUSTOM_DUNGEON_GROUP_ID_FIELD_NUMBER = 2;
  private int customDungeonGroupId_;
  /**
   * <code>uint32 custom_dungeon_group_id = 2;</code>
   * @return The customDungeonGroupId.
   */
  @java.lang.Override
  public int getCustomDungeonGroupId() {
    return customDungeonGroupId_;
  }

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

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (customDungeonGroupId_ != 0) {
      output.writeUInt32(2, customDungeonGroupId_);
    }
    for (int i = 0; i < officialCustomDungeonList_.size(); i++) {
      output.writeMessage(3, officialCustomDungeonList_.get(i));
    }
    if (kKPIDNFHGCJ_ != false) {
      output.writeBool(8, kKPIDNFHGCJ_);
    }
    if (lDGNPKGAMFJ_ != false) {
      output.writeBool(10, lDGNPKGAMFJ_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (customDungeonGroupId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(2, customDungeonGroupId_);
    }
    for (int i = 0; i < officialCustomDungeonList_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(3, officialCustomDungeonList_.get(i));
    }
    if (kKPIDNFHGCJ_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(8, kKPIDNFHGCJ_);
    }
    if (lDGNPKGAMFJ_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(10, lDGNPKGAMFJ_);
    }
    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.UgcActivityDetailInfo)) {
      return super.equals(obj);
    }
    io.grasscutter.net.proto.activity.UgcActivityDetailInfo other = (io.grasscutter.net.proto.activity.UgcActivityDetailInfo) obj;

    if (!getOfficialCustomDungeonListList()
        .equals(other.getOfficialCustomDungeonListList())) return false;
    if (getKKPIDNFHGCJ()
        != other.getKKPIDNFHGCJ()) return false;
    if (getLDGNPKGAMFJ()
        != other.getLDGNPKGAMFJ()) return false;
    if (getCustomDungeonGroupId()
        != other.getCustomDungeonGroupId()) 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 (getOfficialCustomDungeonListCount() > 0) {
      hash = (37 * hash) + OFFICIAL_CUSTOM_DUNGEON_LIST_FIELD_NUMBER;
      hash = (53 * hash) + getOfficialCustomDungeonListList().hashCode();
    }
    hash = (37 * hash) + KKPIDNFHGCJ_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getKKPIDNFHGCJ());
    hash = (37 * hash) + LDGNPKGAMFJ_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getLDGNPKGAMFJ());
    hash = (37 * hash) + CUSTOM_DUNGEON_GROUP_ID_FIELD_NUMBER;
    hash = (53 * hash) + getCustomDungeonGroupId();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

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

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

      lDGNPKGAMFJ_ = false;

      customDungeonGroupId_ = 0;

      return this;
    }

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

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

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

    @java.lang.Override
    public io.grasscutter.net.proto.activity.UgcActivityDetailInfo buildPartial() {
      io.grasscutter.net.proto.activity.UgcActivityDetailInfo result = new io.grasscutter.net.proto.activity.UgcActivityDetailInfo(this);
      int from_bitField0_ = bitField0_;
      if (officialCustomDungeonListBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0)) {
          officialCustomDungeonList_ = java.util.Collections.unmodifiableList(officialCustomDungeonList_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.officialCustomDungeonList_ = officialCustomDungeonList_;
      } else {
        result.officialCustomDungeonList_ = officialCustomDungeonListBuilder_.build();
      }
      result.kKPIDNFHGCJ_ = kKPIDNFHGCJ_;
      result.lDGNPKGAMFJ_ = lDGNPKGAMFJ_;
      result.customDungeonGroupId_ = customDungeonGroupId_;
      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.UgcActivityDetailInfo) {
        return mergeFrom((io.grasscutter.net.proto.activity.UgcActivityDetailInfo)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(io.grasscutter.net.proto.activity.UgcActivityDetailInfo other) {
      if (other == io.grasscutter.net.proto.activity.UgcActivityDetailInfo.getDefaultInstance()) return this;
      if (officialCustomDungeonListBuilder_ == null) {
        if (!other.officialCustomDungeonList_.isEmpty()) {
          if (officialCustomDungeonList_.isEmpty()) {
            officialCustomDungeonList_ = other.officialCustomDungeonList_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureOfficialCustomDungeonListIsMutable();
            officialCustomDungeonList_.addAll(other.officialCustomDungeonList_);
          }
          onChanged();
        }
      } else {
        if (!other.officialCustomDungeonList_.isEmpty()) {
          if (officialCustomDungeonListBuilder_.isEmpty()) {
            officialCustomDungeonListBuilder_.dispose();
            officialCustomDungeonListBuilder_ = null;
            officialCustomDungeonList_ = other.officialCustomDungeonList_;
            bitField0_ = (bitField0_ & ~0x00000001);
            officialCustomDungeonListBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getOfficialCustomDungeonListFieldBuilder() : null;
          } else {
            officialCustomDungeonListBuilder_.addAllMessages(other.officialCustomDungeonList_);
          }
        }
      }
      if (other.getKKPIDNFHGCJ() != false) {
        setKKPIDNFHGCJ(other.getKKPIDNFHGCJ());
      }
      if (other.getLDGNPKGAMFJ() != false) {
        setLDGNPKGAMFJ(other.getLDGNPKGAMFJ());
      }
      if (other.getCustomDungeonGroupId() != 0) {
        setCustomDungeonGroupId(other.getCustomDungeonGroupId());
      }
      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.UgcActivityDetailInfo parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (io.grasscutter.net.proto.activity.UgcActivityDetailInfo) 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.OfficialCustomDungeon> officialCustomDungeonList_ =
      java.util.Collections.emptyList();
    private void ensureOfficialCustomDungeonListIsMutable() {
      if (!((bitField0_ & 0x00000001) != 0)) {
        officialCustomDungeonList_ = new java.util.ArrayList<io.grasscutter.net.proto.activity.OfficialCustomDungeon>(officialCustomDungeonList_);
        bitField0_ |= 0x00000001;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        io.grasscutter.net.proto.activity.OfficialCustomDungeon, io.grasscutter.net.proto.activity.OfficialCustomDungeon.Builder, io.grasscutter.net.proto.activity.OfficialCustomDungeonOrBuilder> officialCustomDungeonListBuilder_;

    /**
     * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 3;</code>
     */
    public java.util.List<io.grasscutter.net.proto.activity.OfficialCustomDungeon> getOfficialCustomDungeonListList() {
      if (officialCustomDungeonListBuilder_ == null) {
        return java.util.Collections.unmodifiableList(officialCustomDungeonList_);
      } else {
        return officialCustomDungeonListBuilder_.getMessageList();
      }
    }
    /**
     * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 3;</code>
     */
    public int getOfficialCustomDungeonListCount() {
      if (officialCustomDungeonListBuilder_ == null) {
        return officialCustomDungeonList_.size();
      } else {
        return officialCustomDungeonListBuilder_.getCount();
      }
    }
    /**
     * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 3;</code>
     */
    public io.grasscutter.net.proto.activity.OfficialCustomDungeon getOfficialCustomDungeonList(int index) {
      if (officialCustomDungeonListBuilder_ == null) {
        return officialCustomDungeonList_.get(index);
      } else {
        return officialCustomDungeonListBuilder_.getMessage(index);
      }
    }
    /**
     * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 3;</code>
     */
    public Builder setOfficialCustomDungeonList(
        int index, io.grasscutter.net.proto.activity.OfficialCustomDungeon value) {
      if (officialCustomDungeonListBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureOfficialCustomDungeonListIsMutable();
        officialCustomDungeonList_.set(index, value);
        onChanged();
      } else {
        officialCustomDungeonListBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 3;</code>
     */
    public Builder setOfficialCustomDungeonList(
        int index, io.grasscutter.net.proto.activity.OfficialCustomDungeon.Builder builderForValue) {
      if (officialCustomDungeonListBuilder_ == null) {
        ensureOfficialCustomDungeonListIsMutable();
        officialCustomDungeonList_.set(index, builderForValue.build());
        onChanged();
      } else {
        officialCustomDungeonListBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 3;</code>
     */
    public Builder addOfficialCustomDungeonList(io.grasscutter.net.proto.activity.OfficialCustomDungeon value) {
      if (officialCustomDungeonListBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureOfficialCustomDungeonListIsMutable();
        officialCustomDungeonList_.add(value);
        onChanged();
      } else {
        officialCustomDungeonListBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 3;</code>
     */
    public Builder addOfficialCustomDungeonList(
        int index, io.grasscutter.net.proto.activity.OfficialCustomDungeon value) {
      if (officialCustomDungeonListBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureOfficialCustomDungeonListIsMutable();
        officialCustomDungeonList_.add(index, value);
        onChanged();
      } else {
        officialCustomDungeonListBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 3;</code>
     */
    public Builder addOfficialCustomDungeonList(
        io.grasscutter.net.proto.activity.OfficialCustomDungeon.Builder builderForValue) {
      if (officialCustomDungeonListBuilder_ == null) {
        ensureOfficialCustomDungeonListIsMutable();
        officialCustomDungeonList_.add(builderForValue.build());
        onChanged();
      } else {
        officialCustomDungeonListBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 3;</code>
     */
    public Builder addOfficialCustomDungeonList(
        int index, io.grasscutter.net.proto.activity.OfficialCustomDungeon.Builder builderForValue) {
      if (officialCustomDungeonListBuilder_ == null) {
        ensureOfficialCustomDungeonListIsMutable();
        officialCustomDungeonList_.add(index, builderForValue.build());
        onChanged();
      } else {
        officialCustomDungeonListBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 3;</code>
     */
    public Builder addAllOfficialCustomDungeonList(
        java.lang.Iterable<? extends io.grasscutter.net.proto.activity.OfficialCustomDungeon> values) {
      if (officialCustomDungeonListBuilder_ == null) {
        ensureOfficialCustomDungeonListIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, officialCustomDungeonList_);
        onChanged();
      } else {
        officialCustomDungeonListBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 3;</code>
     */
    public Builder clearOfficialCustomDungeonList() {
      if (officialCustomDungeonListBuilder_ == null) {
        officialCustomDungeonList_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
      } else {
        officialCustomDungeonListBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 3;</code>
     */
    public Builder removeOfficialCustomDungeonList(int index) {
      if (officialCustomDungeonListBuilder_ == null) {
        ensureOfficialCustomDungeonListIsMutable();
        officialCustomDungeonList_.remove(index);
        onChanged();
      } else {
        officialCustomDungeonListBuilder_.remove(index);
      }
      return this;
    }
    /**
     * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 3;</code>
     */
    public io.grasscutter.net.proto.activity.OfficialCustomDungeon.Builder getOfficialCustomDungeonListBuilder(
        int index) {
      return getOfficialCustomDungeonListFieldBuilder().getBuilder(index);
    }
    /**
     * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 3;</code>
     */
    public io.grasscutter.net.proto.activity.OfficialCustomDungeonOrBuilder getOfficialCustomDungeonListOrBuilder(
        int index) {
      if (officialCustomDungeonListBuilder_ == null) {
        return officialCustomDungeonList_.get(index);  } else {
        return officialCustomDungeonListBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 3;</code>
     */
    public java.util.List<? extends io.grasscutter.net.proto.activity.OfficialCustomDungeonOrBuilder> 
         getOfficialCustomDungeonListOrBuilderList() {
      if (officialCustomDungeonListBuilder_ != null) {
        return officialCustomDungeonListBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(officialCustomDungeonList_);
      }
    }
    /**
     * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 3;</code>
     */
    public io.grasscutter.net.proto.activity.OfficialCustomDungeon.Builder addOfficialCustomDungeonListBuilder() {
      return getOfficialCustomDungeonListFieldBuilder().addBuilder(
          io.grasscutter.net.proto.activity.OfficialCustomDungeon.getDefaultInstance());
    }
    /**
     * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 3;</code>
     */
    public io.grasscutter.net.proto.activity.OfficialCustomDungeon.Builder addOfficialCustomDungeonListBuilder(
        int index) {
      return getOfficialCustomDungeonListFieldBuilder().addBuilder(
          index, io.grasscutter.net.proto.activity.OfficialCustomDungeon.getDefaultInstance());
    }
    /**
     * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 3;</code>
     */
    public java.util.List<io.grasscutter.net.proto.activity.OfficialCustomDungeon.Builder> 
         getOfficialCustomDungeonListBuilderList() {
      return getOfficialCustomDungeonListFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        io.grasscutter.net.proto.activity.OfficialCustomDungeon, io.grasscutter.net.proto.activity.OfficialCustomDungeon.Builder, io.grasscutter.net.proto.activity.OfficialCustomDungeonOrBuilder> 
        getOfficialCustomDungeonListFieldBuilder() {
      if (officialCustomDungeonListBuilder_ == null) {
        officialCustomDungeonListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            io.grasscutter.net.proto.activity.OfficialCustomDungeon, io.grasscutter.net.proto.activity.OfficialCustomDungeon.Builder, io.grasscutter.net.proto.activity.OfficialCustomDungeonOrBuilder>(
                officialCustomDungeonList_,
                ((bitField0_ & 0x00000001) != 0),
                getParentForChildren(),
                isClean());
        officialCustomDungeonList_ = null;
      }
      return officialCustomDungeonListBuilder_;
    }

    private boolean kKPIDNFHGCJ_ ;
    /**
     * <code>bool KKPIDNFHGCJ = 8;</code>
     * @return The kKPIDNFHGCJ.
     */
    @java.lang.Override
    public boolean getKKPIDNFHGCJ() {
      return kKPIDNFHGCJ_;
    }
    /**
     * <code>bool KKPIDNFHGCJ = 8;</code>
     * @param value The kKPIDNFHGCJ to set.
     * @return This builder for chaining.
     */
    public Builder setKKPIDNFHGCJ(boolean value) {
      
      kKPIDNFHGCJ_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>bool KKPIDNFHGCJ = 8;</code>
     * @return This builder for chaining.
     */
    public Builder clearKKPIDNFHGCJ() {
      
      kKPIDNFHGCJ_ = false;
      onChanged();
      return this;
    }

    private boolean lDGNPKGAMFJ_ ;
    /**
     * <code>bool LDGNPKGAMFJ = 10;</code>
     * @return The lDGNPKGAMFJ.
     */
    @java.lang.Override
    public boolean getLDGNPKGAMFJ() {
      return lDGNPKGAMFJ_;
    }
    /**
     * <code>bool LDGNPKGAMFJ = 10;</code>
     * @param value The lDGNPKGAMFJ to set.
     * @return This builder for chaining.
     */
    public Builder setLDGNPKGAMFJ(boolean value) {
      
      lDGNPKGAMFJ_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>bool LDGNPKGAMFJ = 10;</code>
     * @return This builder for chaining.
     */
    public Builder clearLDGNPKGAMFJ() {
      
      lDGNPKGAMFJ_ = false;
      onChanged();
      return this;
    }

    private int customDungeonGroupId_ ;
    /**
     * <code>uint32 custom_dungeon_group_id = 2;</code>
     * @return The customDungeonGroupId.
     */
    @java.lang.Override
    public int getCustomDungeonGroupId() {
      return customDungeonGroupId_;
    }
    /**
     * <code>uint32 custom_dungeon_group_id = 2;</code>
     * @param value The customDungeonGroupId to set.
     * @return This builder for chaining.
     */
    public Builder setCustomDungeonGroupId(int value) {
      
      customDungeonGroupId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 custom_dungeon_group_id = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearCustomDungeonGroupId() {
      
      customDungeonGroupId_ = 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:UgcActivityDetailInfo)
  }

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

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

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

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

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

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

}

