content: // Generated by the protocol buffer compiler.  DO NOT EDIT!
  // source: UgcActivityDetailInfo.proto
  
  package emu.grasscutter.net.proto;
  
  public final class UgcActivityDetailInfoOuterClass {
    private UgcActivityDetailInfoOuterClass() {}
    public static void registerAllExtensions(
        com.google.protobuf.ExtensionRegistryLite registry) {
    }
  
    public static void registerAllExtensions(
        com.google.protobuf.ExtensionRegistry registry) {
      registerAllExtensions(
          (com.google.protobuf.ExtensionRegistryLite) registry);
    }
    public interface UgcActivityDetailInfoOrBuilder extends
        // @@protoc_insertion_point(interface_extends:UgcActivityDetailInfo)
        com.google.protobuf.MessageOrBuilder {
  
      /**
       * <code>bool is_enable_ugc = 14;</code>
       * @return The isEnableUgc.
       */
      boolean getIsEnableUgc();
  
      /**
       * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 10;</code>
       */
      java.util.List<emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon> 
          getOfficialCustomDungeonListList();
      /**
       * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 10;</code>
       */
      emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon getOfficialCustomDungeonList(int index);
      /**
       * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 10;</code>
       */
      int getOfficialCustomDungeonListCount();
      /**
       * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 10;</code>
       */
      java.util.List<? extends emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeonOrBuilder> 
          getOfficialCustomDungeonListOrBuilderList();
      /**
       * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 10;</code>
       */
      emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeonOrBuilder getOfficialCustomDungeonListOrBuilder(
          int index);
  
      /**
       * <code>uint32 custom_dungeon_group_id = 4;</code>
       * @return The customDungeonGroupId.
       */
      int getCustomDungeonGroupId();
  
      /**
       * <code>bool is_ugc_feature_closed = 9;</code>
       * @return The isUgcFeatureClosed.
       */
      boolean getIsUgcFeatureClosed();
    }
    /**
     * Protobuf type {@code UgcActivityDetailInfo}
     */
    public static 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 32: {
  
                customDungeonGroupId_ = input.readUInt32();
                break;
              }
              case 72: {
  
                isUgcFeatureClosed_ = input.readBool();
                break;
              }
              case 82: {
                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                  officialCustomDungeonList_ = new java.util.ArrayList<emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon>();
                  mutable_bitField0_ |= 0x00000001;
                }
                officialCustomDungeonList_.add(
                    input.readMessage(emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon.parser(), extensionRegistry));
                break;
              }
              case 112: {
  
                isEnableUgc_ = 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 emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.internal_static_UgcActivityDetailInfo_descriptor;
      }
  
      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.internal_static_UgcActivityDetailInfo_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.UgcActivityDetailInfo.class, emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.UgcActivityDetailInfo.Builder.class);
      }
  
      public static final int IS_ENABLE_UGC_FIELD_NUMBER = 14;
      private boolean isEnableUgc_;
      /**
       * <code>bool is_enable_ugc = 14;</code>
       * @return The isEnableUgc.
       */
      @java.lang.Override
      public boolean getIsEnableUgc() {
        return isEnableUgc_;
      }
  
      public static final int OFFICIAL_CUSTOM_DUNGEON_LIST_FIELD_NUMBER = 10;
      private java.util.List<emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon> officialCustomDungeonList_;
      /**
       * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 10;</code>
       */
      @java.lang.Override
      public java.util.List<emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon> getOfficialCustomDungeonListList() {
        return officialCustomDungeonList_;
      }
      /**
       * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 10;</code>
       */
      @java.lang.Override
      public java.util.List<? extends emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeonOrBuilder> 
          getOfficialCustomDungeonListOrBuilderList() {
        return officialCustomDungeonList_;
      }
      /**
       * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 10;</code>
       */
      @java.lang.Override
      public int getOfficialCustomDungeonListCount() {
        return officialCustomDungeonList_.size();
      }
      /**
       * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 10;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon getOfficialCustomDungeonList(int index) {
        return officialCustomDungeonList_.get(index);
      }
      /**
       * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 10;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeonOrBuilder getOfficialCustomDungeonListOrBuilder(
          int index) {
        return officialCustomDungeonList_.get(index);
      }
  
      public static final int CUSTOM_DUNGEON_GROUP_ID_FIELD_NUMBER = 4;
      private int customDungeonGroupId_;
      /**
       * <code>uint32 custom_dungeon_group_id = 4;</code>
       * @return The customDungeonGroupId.
       */
      @java.lang.Override
      public int getCustomDungeonGroupId() {
        return customDungeonGroupId_;
      }
  
      public static final int IS_UGC_FEATURE_CLOSED_FIELD_NUMBER = 9;
      private boolean isUgcFeatureClosed_;
      /**
       * <code>bool is_ugc_feature_closed = 9;</code>
       * @return The isUgcFeatureClosed.
       */
      @java.lang.Override
      public boolean getIsUgcFeatureClosed() {
        return isUgcFeatureClosed_;
      }
  
      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(4, customDungeonGroupId_);
        }
        if (isUgcFeatureClosed_ != false) {
          output.writeBool(9, isUgcFeatureClosed_);
        }
        for (int i = 0; i < officialCustomDungeonList_.size(); i++) {
          output.writeMessage(10, officialCustomDungeonList_.get(i));
        }
        if (isEnableUgc_ != false) {
          output.writeBool(14, isEnableUgc_);
        }
        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(4, customDungeonGroupId_);
        }
        if (isUgcFeatureClosed_ != false) {
          size += com.google.protobuf.CodedOutputStream
            .computeBoolSize(9, isUgcFeatureClosed_);
        }
        for (int i = 0; i < officialCustomDungeonList_.size(); i++) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(10, officialCustomDungeonList_.get(i));
        }
        if (isEnableUgc_ != false) {
          size += com.google.protobuf.CodedOutputStream
            .computeBoolSize(14, isEnableUgc_);
        }
        size += unknownFields.getSerializedSize();
        memoizedSize = size;
        return size;
      }
  
      @java.lang.Override
      public boolean equals(final java.lang.Object obj) {
        if (obj == this) {
         return true;
        }
        if (!(obj instanceof emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.UgcActivityDetailInfo)) {
          return super.equals(obj);
        }
        emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.UgcActivityDetailInfo other = (emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.UgcActivityDetailInfo) obj;
  
        if (getIsEnableUgc()
            != other.getIsEnableUgc()) return false;
        if (!getOfficialCustomDungeonListList()
            .equals(other.getOfficialCustomDungeonListList())) return false;
        if (getCustomDungeonGroupId()
            != other.getCustomDungeonGroupId()) return false;
        if (getIsUgcFeatureClosed()
            != other.getIsUgcFeatureClosed()) 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();
        hash = (37 * hash) + IS_ENABLE_UGC_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
            getIsEnableUgc());
        if (getOfficialCustomDungeonListCount() > 0) {
          hash = (37 * hash) + OFFICIAL_CUSTOM_DUNGEON_LIST_FIELD_NUMBER;
          hash = (53 * hash) + getOfficialCustomDungeonListList().hashCode();
        }
        hash = (37 * hash) + CUSTOM_DUNGEON_GROUP_ID_FIELD_NUMBER;
        hash = (53 * hash) + getCustomDungeonGroupId();
        hash = (37 * hash) + IS_UGC_FEATURE_CLOSED_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
            getIsUgcFeatureClosed());
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }
  
      public static emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.UgcActivityDetailInfo parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.UgcActivityDetailInfo parseFrom(
          java.nio.ByteBuffer data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.UgcActivityDetailInfo parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.UgcActivityDetailInfo parseFrom(
          com.google.protobuf.ByteString data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.UgcActivityDetailInfo parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.UgcActivityDetailInfo parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.UgcActivityDetailInfo parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.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 emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.UgcActivityDetailInfo parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input);
      }
      public static emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.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 emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.UgcActivityDetailInfo parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.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(emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.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)
          emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.UgcActivityDetailInfoOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.internal_static_UgcActivityDetailInfo_descriptor;
        }
  
        @java.lang.Override
        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.internal_static_UgcActivityDetailInfo_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.UgcActivityDetailInfo.class, emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.UgcActivityDetailInfo.Builder.class);
        }
  
        // Construct using emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.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();
          isEnableUgc_ = false;
  
          if (officialCustomDungeonListBuilder_ == null) {
            officialCustomDungeonList_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            officialCustomDungeonListBuilder_.clear();
          }
          customDungeonGroupId_ = 0;
  
          isUgcFeatureClosed_ = false;
  
          return this;
        }
  
        @java.lang.Override
        public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.internal_static_UgcActivityDetailInfo_descriptor;
        }
  
        @java.lang.Override
        public emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.UgcActivityDetailInfo getDefaultInstanceForType() {
          return emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.UgcActivityDetailInfo.getDefaultInstance();
        }
  
        @java.lang.Override
        public emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.UgcActivityDetailInfo build() {
          emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.UgcActivityDetailInfo result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }
  
        @java.lang.Override
        public emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.UgcActivityDetailInfo buildPartial() {
          emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.UgcActivityDetailInfo result = new emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.UgcActivityDetailInfo(this);
          int from_bitField0_ = bitField0_;
          result.isEnableUgc_ = isEnableUgc_;
          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.customDungeonGroupId_ = customDungeonGroupId_;
          result.isUgcFeatureClosed_ = isUgcFeatureClosed_;
          onBuilt();
          return result;
        }
  
        @java.lang.Override
        public Builder clone() {
          return super.clone();
        }
        @java.lang.Override
        public Builder setField(
            com.google.protobuf.Descriptors.FieldDescriptor field,
            java.lang.Object value) {
          return super.setField(field, value);
        }
        @java.lang.Override
        public Builder clearField(
            com.google.protobuf.Descriptors.FieldDescriptor field) {
          return super.clearField(field);
        }
        @java.lang.Override
        public Builder clearOneof(
            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
          return super.clearOneof(oneof);
        }
        @java.lang.Override
        public Builder setRepeatedField(
            com.google.protobuf.Descriptors.FieldDescriptor field,
            int index, java.lang.Object value) {
          return super.setRepeatedField(field, index, value);
        }
        @java.lang.Override
        public Builder addRepeatedField(
            com.google.protobuf.Descriptors.FieldDescriptor field,
            java.lang.Object value) {
          return super.addRepeatedField(field, value);
        }
        @java.lang.Override
        public Builder mergeFrom(com.google.protobuf.Message other) {
          if (other instanceof emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.UgcActivityDetailInfo) {
            return mergeFrom((emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.UgcActivityDetailInfo)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }
  
        public Builder mergeFrom(emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.UgcActivityDetailInfo other) {
          if (other == emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.UgcActivityDetailInfo.getDefaultInstance()) return this;
          if (other.getIsEnableUgc() != false) {
            setIsEnableUgc(other.getIsEnableUgc());
          }
          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.getCustomDungeonGroupId() != 0) {
            setCustomDungeonGroupId(other.getCustomDungeonGroupId());
          }
          if (other.getIsUgcFeatureClosed() != false) {
            setIsUgcFeatureClosed(other.getIsUgcFeatureClosed());
          }
          this.mergeUnknownFields(other.unknownFields);
          onChanged();
          return this;
        }
  
        @java.lang.Override
        public final boolean isInitialized() {
          return true;
        }
  
        @java.lang.Override
        public Builder mergeFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.UgcActivityDetailInfo parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.UgcActivityDetailInfo) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
        private int bitField0_;
  
        private boolean isEnableUgc_ ;
        /**
         * <code>bool is_enable_ugc = 14;</code>
         * @return The isEnableUgc.
         */
        @java.lang.Override
        public boolean getIsEnableUgc() {
          return isEnableUgc_;
        }
        /**
         * <code>bool is_enable_ugc = 14;</code>
         * @param value The isEnableUgc to set.
         * @return This builder for chaining.
         */
        public Builder setIsEnableUgc(boolean value) {
          
          isEnableUgc_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>bool is_enable_ugc = 14;</code>
         * @return This builder for chaining.
         */
        public Builder clearIsEnableUgc() {
          
          isEnableUgc_ = false;
          onChanged();
          return this;
        }
  
        private java.util.List<emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon> officialCustomDungeonList_ =
          java.util.Collections.emptyList();
        private void ensureOfficialCustomDungeonListIsMutable() {
          if (!((bitField0_ & 0x00000001) != 0)) {
            officialCustomDungeonList_ = new java.util.ArrayList<emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon>(officialCustomDungeonList_);
            bitField0_ |= 0x00000001;
           }
        }
  
        private com.google.protobuf.RepeatedFieldBuilderV3<
            emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon, emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon.Builder, emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeonOrBuilder> officialCustomDungeonListBuilder_;
  
        /**
         * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 10;</code>
         */
        public java.util.List<emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon> getOfficialCustomDungeonListList() {
          if (officialCustomDungeonListBuilder_ == null) {
            return java.util.Collections.unmodifiableList(officialCustomDungeonList_);
          } else {
            return officialCustomDungeonListBuilder_.getMessageList();
          }
        }
        /**
         * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 10;</code>
         */
        public int getOfficialCustomDungeonListCount() {
          if (officialCustomDungeonListBuilder_ == null) {
            return officialCustomDungeonList_.size();
          } else {
            return officialCustomDungeonListBuilder_.getCount();
          }
        }
        /**
         * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 10;</code>
         */
        public emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon getOfficialCustomDungeonList(int index) {
          if (officialCustomDungeonListBuilder_ == null) {
            return officialCustomDungeonList_.get(index);
          } else {
            return officialCustomDungeonListBuilder_.getMessage(index);
          }
        }
        /**
         * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 10;</code>
         */
        public Builder setOfficialCustomDungeonList(
            int index, emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.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 = 10;</code>
         */
        public Builder setOfficialCustomDungeonList(
            int index, emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.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 = 10;</code>
         */
        public Builder addOfficialCustomDungeonList(emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.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 = 10;</code>
         */
        public Builder addOfficialCustomDungeonList(
            int index, emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.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 = 10;</code>
         */
        public Builder addOfficialCustomDungeonList(
            emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.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 = 10;</code>
         */
        public Builder addOfficialCustomDungeonList(
            int index, emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.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 = 10;</code>
         */
        public Builder addAllOfficialCustomDungeonList(
            java.lang.Iterable<? extends emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.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 = 10;</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 = 10;</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 = 10;</code>
         */
        public emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon.Builder getOfficialCustomDungeonListBuilder(
            int index) {
          return getOfficialCustomDungeonListFieldBuilder().getBuilder(index);
        }
        /**
         * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 10;</code>
         */
        public emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeonOrBuilder getOfficialCustomDungeonListOrBuilder(
            int index) {
          if (officialCustomDungeonListBuilder_ == null) {
            return officialCustomDungeonList_.get(index);  } else {
            return officialCustomDungeonListBuilder_.getMessageOrBuilder(index);
          }
        }
        /**
         * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 10;</code>
         */
        public java.util.List<? extends emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeonOrBuilder> 
             getOfficialCustomDungeonListOrBuilderList() {
          if (officialCustomDungeonListBuilder_ != null) {
            return officialCustomDungeonListBuilder_.getMessageOrBuilderList();
          } else {
            return java.util.Collections.unmodifiableList(officialCustomDungeonList_);
          }
        }
        /**
         * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 10;</code>
         */
        public emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon.Builder addOfficialCustomDungeonListBuilder() {
          return getOfficialCustomDungeonListFieldBuilder().addBuilder(
              emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon.getDefaultInstance());
        }
        /**
         * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 10;</code>
         */
        public emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon.Builder addOfficialCustomDungeonListBuilder(
            int index) {
          return getOfficialCustomDungeonListFieldBuilder().addBuilder(
              index, emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon.getDefaultInstance());
        }
        /**
         * <code>repeated .OfficialCustomDungeon official_custom_dungeon_list = 10;</code>
         */
        public java.util.List<emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon.Builder> 
             getOfficialCustomDungeonListBuilderList() {
          return getOfficialCustomDungeonListFieldBuilder().getBuilderList();
        }
        private com.google.protobuf.RepeatedFieldBuilderV3<
            emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon, emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon.Builder, emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeonOrBuilder> 
            getOfficialCustomDungeonListFieldBuilder() {
          if (officialCustomDungeonListBuilder_ == null) {
            officialCustomDungeonListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
                emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon, emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeon.Builder, emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.OfficialCustomDungeonOrBuilder>(
                    officialCustomDungeonList_,
                    ((bitField0_ & 0x00000001) != 0),
                    getParentForChildren(),
                    isClean());
            officialCustomDungeonList_ = null;
          }
          return officialCustomDungeonListBuilder_;
        }
  
        private int customDungeonGroupId_ ;
        /**
         * <code>uint32 custom_dungeon_group_id = 4;</code>
         * @return The customDungeonGroupId.
         */
        @java.lang.Override
        public int getCustomDungeonGroupId() {
          return customDungeonGroupId_;
        }
        /**
         * <code>uint32 custom_dungeon_group_id = 4;</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 = 4;</code>
         * @return This builder for chaining.
         */
        public Builder clearCustomDungeonGroupId() {
          
          customDungeonGroupId_ = 0;
          onChanged();
          return this;
        }
  
        private boolean isUgcFeatureClosed_ ;
        /**
         * <code>bool is_ugc_feature_closed = 9;</code>
         * @return The isUgcFeatureClosed.
         */
        @java.lang.Override
        public boolean getIsUgcFeatureClosed() {
          return isUgcFeatureClosed_;
        }
        /**
         * <code>bool is_ugc_feature_closed = 9;</code>
         * @param value The isUgcFeatureClosed to set.
         * @return This builder for chaining.
         */
        public Builder setIsUgcFeatureClosed(boolean value) {
          
          isUgcFeatureClosed_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>bool is_ugc_feature_closed = 9;</code>
         * @return This builder for chaining.
         */
        public Builder clearIsUgcFeatureClosed() {
          
          isUgcFeatureClosed_ = false;
          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 emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.UgcActivityDetailInfo DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.UgcActivityDetailInfo();
      }
  
      public static emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.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 emu.grasscutter.net.proto.UgcActivityDetailInfoOuterClass.UgcActivityDetailInfo getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }
  
    }
  
    private static final com.google.protobuf.Descriptors.Descriptor
      internal_static_UgcActivityDetailInfo_descriptor;
    private static final 
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internal_static_UgcActivityDetailInfo_fieldAccessorTable;
  
    public static com.google.protobuf.Descriptors.FileDescriptor
        getDescriptor() {
      return descriptor;
    }
    private static  com.google.protobuf.Descriptors.FileDescriptor
        descriptor;
    static {
      java.lang.String[] descriptorData = {
        "\n\033UgcActivityDetailInfo.proto\032\033OfficialC" +
        "ustomDungeon.proto\"\254\001\n\025UgcActivityDetail" +
        "Info\022\025\n\ris_enable_ugc\030\016 \001(\010\022<\n\034official_" +
        "custom_dungeon_list\030\n \003(\0132\026.OfficialCust" +
        "omDungeon\022\037\n\027custom_dungeon_group_id\030\004 \001" +
        "(\r\022\035\n\025is_ugc_feature_closed\030\t \001(\010B\033\n\031emu" +
        ".grasscutter.net.protob\006proto3"
      };
      descriptor = com.google.protobuf.Descriptors.FileDescriptor
        .internalBuildGeneratedFileFrom(descriptorData,
          new com.google.protobuf.Descriptors.FileDescriptor[] {
            emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.getDescriptor(),
          });
      internal_static_UgcActivityDetailInfo_descriptor =
        getDescriptor().getMessageTypes().get(0);
      internal_static_UgcActivityDetailInfo_fieldAccessorTable = new
        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
          internal_static_UgcActivityDetailInfo_descriptor,
          new java.lang.String[] { "IsEnableUgc", "OfficialCustomDungeonList", "CustomDungeonGroupId", "IsUgcFeatureClosed", });
      emu.grasscutter.net.proto.OfficialCustomDungeonOuterClass.getDescriptor();
    }
  
    // @@protoc_insertion_point(outer_class_scope)
  }
  