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

package emu.grasscutter.net.proto;

public final class CustomDungeonBriefOuterClass {
  private CustomDungeonBriefOuterClass() {}
  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 CustomDungeonBriefOrBuilder extends
      // @@protoc_insertion_point(interface_extends:CustomDungeonBrief)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>uint64 dungeon_guid = 1;</code>
     * @return The dungeonGuid.
     */
    long getDungeonGuid();

    /**
     * <code>uint32 dungeon_id = 4;</code>
     * @return The dungeonId.
     */
    int getDungeonId();

    /**
     * <code>.CustomDungeonSetting setting = 13;</code>
     * @return Whether the setting field is set.
     */
    boolean hasSetting();
    /**
     * <code>.CustomDungeonSetting setting = 13;</code>
     * @return The setting.
     */
    emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting getSetting();
    /**
     * <code>.CustomDungeonSetting setting = 13;</code>
     */
    emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSettingOrBuilder getSettingOrBuilder();

    /**
     * <code>repeated uint32 tag_list = 3;</code>
     * @return A list containing the tagList.
     */
    java.util.List<java.lang.Integer> getTagListList();
    /**
     * <code>repeated uint32 tag_list = 3;</code>
     * @return The count of tagList.
     */
    int getTagListCount();
    /**
     * <code>repeated uint32 tag_list = 3;</code>
     * @param index The index of the element to return.
     * @return The tagList at the given index.
     */
    int getTagList(int index);

    /**
     * <code>bool is_psn_platform = 7;</code>
     * @return The isPsnPlatform.
     */
    boolean getIsPsnPlatform();

    /**
     * <code>.CustomDungeonAbstract abstract = 6;</code>
     * @return Whether the abstract field is set.
     */
    boolean hasAbstract();
    /**
     * <code>.CustomDungeonAbstract abstract = 6;</code>
     * @return The abstract.
     */
    emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract getAbstract();
    /**
     * <code>.CustomDungeonAbstract abstract = 6;</code>
     */
    emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstractOrBuilder getAbstractOrBuilder();

    /**
     * <code>uint32 last_save_time = 2;</code>
     * @return The lastSaveTime.
     */
    int getLastSaveTime();

    /**
     * <code>.CustomDungeonState state = 12;</code>
     * @return The enum numeric value on the wire for state.
     */
    int getStateValue();
    /**
     * <code>.CustomDungeonState state = 12;</code>
     * @return The state.
     */
    emu.grasscutter.net.proto.CustomDungeonStateOuterClass.CustomDungeonState getState();

    /**
     * <code>uint32 battle_min_cost_time = 5;</code>
     * @return The battleMinCostTime.
     */
    int getBattleMinCostTime();

    /**
     * <code>.CustomDungeonSocial social = 15;</code>
     * @return Whether the social field is set.
     */
    boolean hasSocial();
    /**
     * <code>.CustomDungeonSocial social = 15;</code>
     * @return The social.
     */
    emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial getSocial();
    /**
     * <code>.CustomDungeonSocial social = 15;</code>
     */
    emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocialOrBuilder getSocialOrBuilder();
  }
  /**
   * <pre>
   * Obf: DBBDLBCHPMD
   * </pre>
   *
   * Protobuf type {@code CustomDungeonBrief}
   */
  public static final class CustomDungeonBrief extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:CustomDungeonBrief)
      CustomDungeonBriefOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use CustomDungeonBrief.newBuilder() to construct.
    private CustomDungeonBrief(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private CustomDungeonBrief() {
      tagList_ = emptyIntList();
      state_ = 0;
    }

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

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

              dungeonGuid_ = input.readUInt64();
              break;
            }
            case 16: {

              lastSaveTime_ = input.readUInt32();
              break;
            }
            case 24: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                tagList_ = newIntList();
                mutable_bitField0_ |= 0x00000001;
              }
              tagList_.addInt(input.readUInt32());
              break;
            }
            case 26: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
                tagList_ = newIntList();
                mutable_bitField0_ |= 0x00000001;
              }
              while (input.getBytesUntilLimit() > 0) {
                tagList_.addInt(input.readUInt32());
              }
              input.popLimit(limit);
              break;
            }
            case 32: {

              dungeonId_ = input.readUInt32();
              break;
            }
            case 40: {

              battleMinCostTime_ = input.readUInt32();
              break;
            }
            case 50: {
              emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract.Builder subBuilder = null;
              if (abstract_ != null) {
                subBuilder = abstract_.toBuilder();
              }
              abstract_ = input.readMessage(emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(abstract_);
                abstract_ = subBuilder.buildPartial();
              }

              break;
            }
            case 56: {

              isPsnPlatform_ = input.readBool();
              break;
            }
            case 96: {
              int rawValue = input.readEnum();

              state_ = rawValue;
              break;
            }
            case 106: {
              emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting.Builder subBuilder = null;
              if (setting_ != null) {
                subBuilder = setting_.toBuilder();
              }
              setting_ = input.readMessage(emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(setting_);
                setting_ = subBuilder.buildPartial();
              }

              break;
            }
            case 122: {
              emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial.Builder subBuilder = null;
              if (social_ != null) {
                subBuilder = social_.toBuilder();
              }
              social_ = input.readMessage(emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(social_);
                social_ = subBuilder.buildPartial();
              }

              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)) {
          tagList_.makeImmutable(); // C
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.CustomDungeonBriefOuterClass.internal_static_CustomDungeonBrief_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return emu.grasscutter.net.proto.CustomDungeonBriefOuterClass.internal_static_CustomDungeonBrief_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              emu.grasscutter.net.proto.CustomDungeonBriefOuterClass.CustomDungeonBrief.class, emu.grasscutter.net.proto.CustomDungeonBriefOuterClass.CustomDungeonBrief.Builder.class);
    }

    public static final int DUNGEON_GUID_FIELD_NUMBER = 1;
    private long dungeonGuid_;
    /**
     * <code>uint64 dungeon_guid = 1;</code>
     * @return The dungeonGuid.
     */
    @java.lang.Override
    public long getDungeonGuid() {
      return dungeonGuid_;
    }

    public static final int DUNGEON_ID_FIELD_NUMBER = 4;
    private int dungeonId_;
    /**
     * <code>uint32 dungeon_id = 4;</code>
     * @return The dungeonId.
     */
    @java.lang.Override
    public int getDungeonId() {
      return dungeonId_;
    }

    public static final int SETTING_FIELD_NUMBER = 13;
    private emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting setting_;
    /**
     * <code>.CustomDungeonSetting setting = 13;</code>
     * @return Whether the setting field is set.
     */
    @java.lang.Override
    public boolean hasSetting() {
      return setting_ != null;
    }
    /**
     * <code>.CustomDungeonSetting setting = 13;</code>
     * @return The setting.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting getSetting() {
      return setting_ == null ? emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting.getDefaultInstance() : setting_;
    }
    /**
     * <code>.CustomDungeonSetting setting = 13;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSettingOrBuilder getSettingOrBuilder() {
      return getSetting();
    }

    public static final int TAG_LIST_FIELD_NUMBER = 3;
    private com.google.protobuf.Internal.IntList tagList_;
    /**
     * <code>repeated uint32 tag_list = 3;</code>
     * @return A list containing the tagList.
     */
    @java.lang.Override
    public java.util.List<java.lang.Integer>
        getTagListList() {
      return tagList_;
    }
    /**
     * <code>repeated uint32 tag_list = 3;</code>
     * @return The count of tagList.
     */
    public int getTagListCount() {
      return tagList_.size();
    }
    /**
     * <code>repeated uint32 tag_list = 3;</code>
     * @param index The index of the element to return.
     * @return The tagList at the given index.
     */
    public int getTagList(int index) {
      return tagList_.getInt(index);
    }
    private int tagListMemoizedSerializedSize = -1;

    public static final int IS_PSN_PLATFORM_FIELD_NUMBER = 7;
    private boolean isPsnPlatform_;
    /**
     * <code>bool is_psn_platform = 7;</code>
     * @return The isPsnPlatform.
     */
    @java.lang.Override
    public boolean getIsPsnPlatform() {
      return isPsnPlatform_;
    }

    public static final int ABSTRACT_FIELD_NUMBER = 6;
    private emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract abstract_;
    /**
     * <code>.CustomDungeonAbstract abstract = 6;</code>
     * @return Whether the abstract field is set.
     */
    @java.lang.Override
    public boolean hasAbstract() {
      return abstract_ != null;
    }
    /**
     * <code>.CustomDungeonAbstract abstract = 6;</code>
     * @return The abstract.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract getAbstract() {
      return abstract_ == null ? emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract.getDefaultInstance() : abstract_;
    }
    /**
     * <code>.CustomDungeonAbstract abstract = 6;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstractOrBuilder getAbstractOrBuilder() {
      return getAbstract();
    }

    public static final int LAST_SAVE_TIME_FIELD_NUMBER = 2;
    private int lastSaveTime_;
    /**
     * <code>uint32 last_save_time = 2;</code>
     * @return The lastSaveTime.
     */
    @java.lang.Override
    public int getLastSaveTime() {
      return lastSaveTime_;
    }

    public static final int STATE_FIELD_NUMBER = 12;
    private int state_;
    /**
     * <code>.CustomDungeonState state = 12;</code>
     * @return The enum numeric value on the wire for state.
     */
    @java.lang.Override public int getStateValue() {
      return state_;
    }
    /**
     * <code>.CustomDungeonState state = 12;</code>
     * @return The state.
     */
    @java.lang.Override public emu.grasscutter.net.proto.CustomDungeonStateOuterClass.CustomDungeonState getState() {
      @SuppressWarnings("deprecation")
      emu.grasscutter.net.proto.CustomDungeonStateOuterClass.CustomDungeonState result = emu.grasscutter.net.proto.CustomDungeonStateOuterClass.CustomDungeonState.valueOf(state_);
      return result == null ? emu.grasscutter.net.proto.CustomDungeonStateOuterClass.CustomDungeonState.UNRECOGNIZED : result;
    }

    public static final int BATTLE_MIN_COST_TIME_FIELD_NUMBER = 5;
    private int battleMinCostTime_;
    /**
     * <code>uint32 battle_min_cost_time = 5;</code>
     * @return The battleMinCostTime.
     */
    @java.lang.Override
    public int getBattleMinCostTime() {
      return battleMinCostTime_;
    }

    public static final int SOCIAL_FIELD_NUMBER = 15;
    private emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial social_;
    /**
     * <code>.CustomDungeonSocial social = 15;</code>
     * @return Whether the social field is set.
     */
    @java.lang.Override
    public boolean hasSocial() {
      return social_ != null;
    }
    /**
     * <code>.CustomDungeonSocial social = 15;</code>
     * @return The social.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial getSocial() {
      return social_ == null ? emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial.getDefaultInstance() : social_;
    }
    /**
     * <code>.CustomDungeonSocial social = 15;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocialOrBuilder getSocialOrBuilder() {
      return getSocial();
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (dungeonGuid_ != 0L) {
        output.writeUInt64(1, dungeonGuid_);
      }
      if (lastSaveTime_ != 0) {
        output.writeUInt32(2, lastSaveTime_);
      }
      if (getTagListList().size() > 0) {
        output.writeUInt32NoTag(26);
        output.writeUInt32NoTag(tagListMemoizedSerializedSize);
      }
      for (int i = 0; i < tagList_.size(); i++) {
        output.writeUInt32NoTag(tagList_.getInt(i));
      }
      if (dungeonId_ != 0) {
        output.writeUInt32(4, dungeonId_);
      }
      if (battleMinCostTime_ != 0) {
        output.writeUInt32(5, battleMinCostTime_);
      }
      if (abstract_ != null) {
        output.writeMessage(6, getAbstract());
      }
      if (isPsnPlatform_ != false) {
        output.writeBool(7, isPsnPlatform_);
      }
      if (state_ != emu.grasscutter.net.proto.CustomDungeonStateOuterClass.CustomDungeonState.CUSTOM_DUNGEON_STATE_EDIT.getNumber()) {
        output.writeEnum(12, state_);
      }
      if (setting_ != null) {
        output.writeMessage(13, getSetting());
      }
      if (social_ != null) {
        output.writeMessage(15, getSocial());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (dungeonGuid_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(1, dungeonGuid_);
      }
      if (lastSaveTime_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(2, lastSaveTime_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < tagList_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeUInt32SizeNoTag(tagList_.getInt(i));
        }
        size += dataSize;
        if (!getTagListList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        tagListMemoizedSerializedSize = dataSize;
      }
      if (dungeonId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(4, dungeonId_);
      }
      if (battleMinCostTime_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(5, battleMinCostTime_);
      }
      if (abstract_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(6, getAbstract());
      }
      if (isPsnPlatform_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(7, isPsnPlatform_);
      }
      if (state_ != emu.grasscutter.net.proto.CustomDungeonStateOuterClass.CustomDungeonState.CUSTOM_DUNGEON_STATE_EDIT.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(12, state_);
      }
      if (setting_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(13, getSetting());
      }
      if (social_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(15, getSocial());
      }
      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.CustomDungeonBriefOuterClass.CustomDungeonBrief)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.CustomDungeonBriefOuterClass.CustomDungeonBrief other = (emu.grasscutter.net.proto.CustomDungeonBriefOuterClass.CustomDungeonBrief) obj;

      if (getDungeonGuid()
          != other.getDungeonGuid()) return false;
      if (getDungeonId()
          != other.getDungeonId()) return false;
      if (hasSetting() != other.hasSetting()) return false;
      if (hasSetting()) {
        if (!getSetting()
            .equals(other.getSetting())) return false;
      }
      if (!getTagListList()
          .equals(other.getTagListList())) return false;
      if (getIsPsnPlatform()
          != other.getIsPsnPlatform()) return false;
      if (hasAbstract() != other.hasAbstract()) return false;
      if (hasAbstract()) {
        if (!getAbstract()
            .equals(other.getAbstract())) return false;
      }
      if (getLastSaveTime()
          != other.getLastSaveTime()) return false;
      if (state_ != other.state_) return false;
      if (getBattleMinCostTime()
          != other.getBattleMinCostTime()) return false;
      if (hasSocial() != other.hasSocial()) return false;
      if (hasSocial()) {
        if (!getSocial()
            .equals(other.getSocial())) 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) + DUNGEON_GUID_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getDungeonGuid());
      hash = (37 * hash) + DUNGEON_ID_FIELD_NUMBER;
      hash = (53 * hash) + getDungeonId();
      if (hasSetting()) {
        hash = (37 * hash) + SETTING_FIELD_NUMBER;
        hash = (53 * hash) + getSetting().hashCode();
      }
      if (getTagListCount() > 0) {
        hash = (37 * hash) + TAG_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getTagListList().hashCode();
      }
      hash = (37 * hash) + IS_PSN_PLATFORM_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsPsnPlatform());
      if (hasAbstract()) {
        hash = (37 * hash) + ABSTRACT_FIELD_NUMBER;
        hash = (53 * hash) + getAbstract().hashCode();
      }
      hash = (37 * hash) + LAST_SAVE_TIME_FIELD_NUMBER;
      hash = (53 * hash) + getLastSaveTime();
      hash = (37 * hash) + STATE_FIELD_NUMBER;
      hash = (53 * hash) + state_;
      hash = (37 * hash) + BATTLE_MIN_COST_TIME_FIELD_NUMBER;
      hash = (53 * hash) + getBattleMinCostTime();
      if (hasSocial()) {
        hash = (37 * hash) + SOCIAL_FIELD_NUMBER;
        hash = (53 * hash) + getSocial().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static emu.grasscutter.net.proto.CustomDungeonBriefOuterClass.CustomDungeonBrief parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.CustomDungeonBriefOuterClass.CustomDungeonBrief 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.CustomDungeonBriefOuterClass.CustomDungeonBrief parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.CustomDungeonBriefOuterClass.CustomDungeonBrief 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.CustomDungeonBriefOuterClass.CustomDungeonBrief parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.CustomDungeonBriefOuterClass.CustomDungeonBrief parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.CustomDungeonBriefOuterClass.CustomDungeonBrief parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.CustomDungeonBriefOuterClass.CustomDungeonBrief 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.CustomDungeonBriefOuterClass.CustomDungeonBrief parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.CustomDungeonBriefOuterClass.CustomDungeonBrief 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.CustomDungeonBriefOuterClass.CustomDungeonBrief parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.CustomDungeonBriefOuterClass.CustomDungeonBrief 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.CustomDungeonBriefOuterClass.CustomDungeonBrief 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;
    }
    /**
     * <pre>
     * Obf: DBBDLBCHPMD
     * </pre>
     *
     * Protobuf type {@code CustomDungeonBrief}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:CustomDungeonBrief)
        emu.grasscutter.net.proto.CustomDungeonBriefOuterClass.CustomDungeonBriefOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.CustomDungeonBriefOuterClass.internal_static_CustomDungeonBrief_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return emu.grasscutter.net.proto.CustomDungeonBriefOuterClass.internal_static_CustomDungeonBrief_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                emu.grasscutter.net.proto.CustomDungeonBriefOuterClass.CustomDungeonBrief.class, emu.grasscutter.net.proto.CustomDungeonBriefOuterClass.CustomDungeonBrief.Builder.class);
      }

      // Construct using emu.grasscutter.net.proto.CustomDungeonBriefOuterClass.CustomDungeonBrief.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        dungeonGuid_ = 0L;

        dungeonId_ = 0;

        if (settingBuilder_ == null) {
          setting_ = null;
        } else {
          setting_ = null;
          settingBuilder_ = null;
        }
        tagList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000001);
        isPsnPlatform_ = false;

        if (abstractBuilder_ == null) {
          abstract_ = null;
        } else {
          abstract_ = null;
          abstractBuilder_ = null;
        }
        lastSaveTime_ = 0;

        state_ = 0;

        battleMinCostTime_ = 0;

        if (socialBuilder_ == null) {
          social_ = null;
        } else {
          social_ = null;
          socialBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return emu.grasscutter.net.proto.CustomDungeonBriefOuterClass.internal_static_CustomDungeonBrief_descriptor;
      }

      @java.lang.Override
      public emu.grasscutter.net.proto.CustomDungeonBriefOuterClass.CustomDungeonBrief getDefaultInstanceForType() {
        return emu.grasscutter.net.proto.CustomDungeonBriefOuterClass.CustomDungeonBrief.getDefaultInstance();
      }

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

      @java.lang.Override
      public emu.grasscutter.net.proto.CustomDungeonBriefOuterClass.CustomDungeonBrief buildPartial() {
        emu.grasscutter.net.proto.CustomDungeonBriefOuterClass.CustomDungeonBrief result = new emu.grasscutter.net.proto.CustomDungeonBriefOuterClass.CustomDungeonBrief(this);
        int from_bitField0_ = bitField0_;
        result.dungeonGuid_ = dungeonGuid_;
        result.dungeonId_ = dungeonId_;
        if (settingBuilder_ == null) {
          result.setting_ = setting_;
        } else {
          result.setting_ = settingBuilder_.build();
        }
        if (((bitField0_ & 0x00000001) != 0)) {
          tagList_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.tagList_ = tagList_;
        result.isPsnPlatform_ = isPsnPlatform_;
        if (abstractBuilder_ == null) {
          result.abstract_ = abstract_;
        } else {
          result.abstract_ = abstractBuilder_.build();
        }
        result.lastSaveTime_ = lastSaveTime_;
        result.state_ = state_;
        result.battleMinCostTime_ = battleMinCostTime_;
        if (socialBuilder_ == null) {
          result.social_ = social_;
        } else {
          result.social_ = socialBuilder_.build();
        }
        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.CustomDungeonBriefOuterClass.CustomDungeonBrief) {
          return mergeFrom((emu.grasscutter.net.proto.CustomDungeonBriefOuterClass.CustomDungeonBrief)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.CustomDungeonBriefOuterClass.CustomDungeonBrief other) {
        if (other == emu.grasscutter.net.proto.CustomDungeonBriefOuterClass.CustomDungeonBrief.getDefaultInstance()) return this;
        if (other.getDungeonGuid() != 0L) {
          setDungeonGuid(other.getDungeonGuid());
        }
        if (other.getDungeonId() != 0) {
          setDungeonId(other.getDungeonId());
        }
        if (other.hasSetting()) {
          mergeSetting(other.getSetting());
        }
        if (!other.tagList_.isEmpty()) {
          if (tagList_.isEmpty()) {
            tagList_ = other.tagList_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureTagListIsMutable();
            tagList_.addAll(other.tagList_);
          }
          onChanged();
        }
        if (other.getIsPsnPlatform() != false) {
          setIsPsnPlatform(other.getIsPsnPlatform());
        }
        if (other.hasAbstract()) {
          mergeAbstract(other.getAbstract());
        }
        if (other.getLastSaveTime() != 0) {
          setLastSaveTime(other.getLastSaveTime());
        }
        if (other.state_ != 0) {
          setStateValue(other.getStateValue());
        }
        if (other.getBattleMinCostTime() != 0) {
          setBattleMinCostTime(other.getBattleMinCostTime());
        }
        if (other.hasSocial()) {
          mergeSocial(other.getSocial());
        }
        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.CustomDungeonBriefOuterClass.CustomDungeonBrief parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.CustomDungeonBriefOuterClass.CustomDungeonBrief) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private long dungeonGuid_ ;
      /**
       * <code>uint64 dungeon_guid = 1;</code>
       * @return The dungeonGuid.
       */
      @java.lang.Override
      public long getDungeonGuid() {
        return dungeonGuid_;
      }
      /**
       * <code>uint64 dungeon_guid = 1;</code>
       * @param value The dungeonGuid to set.
       * @return This builder for chaining.
       */
      public Builder setDungeonGuid(long value) {
        
        dungeonGuid_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint64 dungeon_guid = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearDungeonGuid() {
        
        dungeonGuid_ = 0L;
        onChanged();
        return this;
      }

      private int dungeonId_ ;
      /**
       * <code>uint32 dungeon_id = 4;</code>
       * @return The dungeonId.
       */
      @java.lang.Override
      public int getDungeonId() {
        return dungeonId_;
      }
      /**
       * <code>uint32 dungeon_id = 4;</code>
       * @param value The dungeonId to set.
       * @return This builder for chaining.
       */
      public Builder setDungeonId(int value) {
        
        dungeonId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 dungeon_id = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearDungeonId() {
        
        dungeonId_ = 0;
        onChanged();
        return this;
      }

      private emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting setting_;
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting, emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting.Builder, emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSettingOrBuilder> settingBuilder_;
      /**
       * <code>.CustomDungeonSetting setting = 13;</code>
       * @return Whether the setting field is set.
       */
      public boolean hasSetting() {
        return settingBuilder_ != null || setting_ != null;
      }
      /**
       * <code>.CustomDungeonSetting setting = 13;</code>
       * @return The setting.
       */
      public emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting getSetting() {
        if (settingBuilder_ == null) {
          return setting_ == null ? emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting.getDefaultInstance() : setting_;
        } else {
          return settingBuilder_.getMessage();
        }
      }
      /**
       * <code>.CustomDungeonSetting setting = 13;</code>
       */
      public Builder setSetting(emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting value) {
        if (settingBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          setting_ = value;
          onChanged();
        } else {
          settingBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.CustomDungeonSetting setting = 13;</code>
       */
      public Builder setSetting(
          emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting.Builder builderForValue) {
        if (settingBuilder_ == null) {
          setting_ = builderForValue.build();
          onChanged();
        } else {
          settingBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.CustomDungeonSetting setting = 13;</code>
       */
      public Builder mergeSetting(emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting value) {
        if (settingBuilder_ == null) {
          if (setting_ != null) {
            setting_ =
              emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting.newBuilder(setting_).mergeFrom(value).buildPartial();
          } else {
            setting_ = value;
          }
          onChanged();
        } else {
          settingBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.CustomDungeonSetting setting = 13;</code>
       */
      public Builder clearSetting() {
        if (settingBuilder_ == null) {
          setting_ = null;
          onChanged();
        } else {
          setting_ = null;
          settingBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.CustomDungeonSetting setting = 13;</code>
       */
      public emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting.Builder getSettingBuilder() {
        
        onChanged();
        return getSettingFieldBuilder().getBuilder();
      }
      /**
       * <code>.CustomDungeonSetting setting = 13;</code>
       */
      public emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSettingOrBuilder getSettingOrBuilder() {
        if (settingBuilder_ != null) {
          return settingBuilder_.getMessageOrBuilder();
        } else {
          return setting_ == null ?
              emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting.getDefaultInstance() : setting_;
        }
      }
      /**
       * <code>.CustomDungeonSetting setting = 13;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting, emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting.Builder, emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSettingOrBuilder> 
          getSettingFieldBuilder() {
        if (settingBuilder_ == null) {
          settingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting, emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSetting.Builder, emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.CustomDungeonSettingOrBuilder>(
                  getSetting(),
                  getParentForChildren(),
                  isClean());
          setting_ = null;
        }
        return settingBuilder_;
      }

      private com.google.protobuf.Internal.IntList tagList_ = emptyIntList();
      private void ensureTagListIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          tagList_ = mutableCopy(tagList_);
          bitField0_ |= 0x00000001;
         }
      }
      /**
       * <code>repeated uint32 tag_list = 3;</code>
       * @return A list containing the tagList.
       */
      public java.util.List<java.lang.Integer>
          getTagListList() {
        return ((bitField0_ & 0x00000001) != 0) ?
                 java.util.Collections.unmodifiableList(tagList_) : tagList_;
      }
      /**
       * <code>repeated uint32 tag_list = 3;</code>
       * @return The count of tagList.
       */
      public int getTagListCount() {
        return tagList_.size();
      }
      /**
       * <code>repeated uint32 tag_list = 3;</code>
       * @param index The index of the element to return.
       * @return The tagList at the given index.
       */
      public int getTagList(int index) {
        return tagList_.getInt(index);
      }
      /**
       * <code>repeated uint32 tag_list = 3;</code>
       * @param index The index to set the value at.
       * @param value The tagList to set.
       * @return This builder for chaining.
       */
      public Builder setTagList(
          int index, int value) {
        ensureTagListIsMutable();
        tagList_.setInt(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 tag_list = 3;</code>
       * @param value The tagList to add.
       * @return This builder for chaining.
       */
      public Builder addTagList(int value) {
        ensureTagListIsMutable();
        tagList_.addInt(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 tag_list = 3;</code>
       * @param values The tagList to add.
       * @return This builder for chaining.
       */
      public Builder addAllTagList(
          java.lang.Iterable<? extends java.lang.Integer> values) {
        ensureTagListIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, tagList_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 tag_list = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearTagList() {
        tagList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }

      private boolean isPsnPlatform_ ;
      /**
       * <code>bool is_psn_platform = 7;</code>
       * @return The isPsnPlatform.
       */
      @java.lang.Override
      public boolean getIsPsnPlatform() {
        return isPsnPlatform_;
      }
      /**
       * <code>bool is_psn_platform = 7;</code>
       * @param value The isPsnPlatform to set.
       * @return This builder for chaining.
       */
      public Builder setIsPsnPlatform(boolean value) {
        
        isPsnPlatform_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool is_psn_platform = 7;</code>
       * @return This builder for chaining.
       */
      public Builder clearIsPsnPlatform() {
        
        isPsnPlatform_ = false;
        onChanged();
        return this;
      }

      private emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract abstract_;
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract, emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract.Builder, emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstractOrBuilder> abstractBuilder_;
      /**
       * <code>.CustomDungeonAbstract abstract = 6;</code>
       * @return Whether the abstract field is set.
       */
      public boolean hasAbstract() {
        return abstractBuilder_ != null || abstract_ != null;
      }
      /**
       * <code>.CustomDungeonAbstract abstract = 6;</code>
       * @return The abstract.
       */
      public emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract getAbstract() {
        if (abstractBuilder_ == null) {
          return abstract_ == null ? emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract.getDefaultInstance() : abstract_;
        } else {
          return abstractBuilder_.getMessage();
        }
      }
      /**
       * <code>.CustomDungeonAbstract abstract = 6;</code>
       */
      public Builder setAbstract(emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract value) {
        if (abstractBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          abstract_ = value;
          onChanged();
        } else {
          abstractBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.CustomDungeonAbstract abstract = 6;</code>
       */
      public Builder setAbstract(
          emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract.Builder builderForValue) {
        if (abstractBuilder_ == null) {
          abstract_ = builderForValue.build();
          onChanged();
        } else {
          abstractBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.CustomDungeonAbstract abstract = 6;</code>
       */
      public Builder mergeAbstract(emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract value) {
        if (abstractBuilder_ == null) {
          if (abstract_ != null) {
            abstract_ =
              emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract.newBuilder(abstract_).mergeFrom(value).buildPartial();
          } else {
            abstract_ = value;
          }
          onChanged();
        } else {
          abstractBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.CustomDungeonAbstract abstract = 6;</code>
       */
      public Builder clearAbstract() {
        if (abstractBuilder_ == null) {
          abstract_ = null;
          onChanged();
        } else {
          abstract_ = null;
          abstractBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.CustomDungeonAbstract abstract = 6;</code>
       */
      public emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract.Builder getAbstractBuilder() {
        
        onChanged();
        return getAbstractFieldBuilder().getBuilder();
      }
      /**
       * <code>.CustomDungeonAbstract abstract = 6;</code>
       */
      public emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstractOrBuilder getAbstractOrBuilder() {
        if (abstractBuilder_ != null) {
          return abstractBuilder_.getMessageOrBuilder();
        } else {
          return abstract_ == null ?
              emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract.getDefaultInstance() : abstract_;
        }
      }
      /**
       * <code>.CustomDungeonAbstract abstract = 6;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract, emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract.Builder, emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstractOrBuilder> 
          getAbstractFieldBuilder() {
        if (abstractBuilder_ == null) {
          abstractBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract, emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstract.Builder, emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.CustomDungeonAbstractOrBuilder>(
                  getAbstract(),
                  getParentForChildren(),
                  isClean());
          abstract_ = null;
        }
        return abstractBuilder_;
      }

      private int lastSaveTime_ ;
      /**
       * <code>uint32 last_save_time = 2;</code>
       * @return The lastSaveTime.
       */
      @java.lang.Override
      public int getLastSaveTime() {
        return lastSaveTime_;
      }
      /**
       * <code>uint32 last_save_time = 2;</code>
       * @param value The lastSaveTime to set.
       * @return This builder for chaining.
       */
      public Builder setLastSaveTime(int value) {
        
        lastSaveTime_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 last_save_time = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearLastSaveTime() {
        
        lastSaveTime_ = 0;
        onChanged();
        return this;
      }

      private int state_ = 0;
      /**
       * <code>.CustomDungeonState state = 12;</code>
       * @return The enum numeric value on the wire for state.
       */
      @java.lang.Override public int getStateValue() {
        return state_;
      }
      /**
       * <code>.CustomDungeonState state = 12;</code>
       * @param value The enum numeric value on the wire for state to set.
       * @return This builder for chaining.
       */
      public Builder setStateValue(int value) {
        
        state_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>.CustomDungeonState state = 12;</code>
       * @return The state.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.CustomDungeonStateOuterClass.CustomDungeonState getState() {
        @SuppressWarnings("deprecation")
        emu.grasscutter.net.proto.CustomDungeonStateOuterClass.CustomDungeonState result = emu.grasscutter.net.proto.CustomDungeonStateOuterClass.CustomDungeonState.valueOf(state_);
        return result == null ? emu.grasscutter.net.proto.CustomDungeonStateOuterClass.CustomDungeonState.UNRECOGNIZED : result;
      }
      /**
       * <code>.CustomDungeonState state = 12;</code>
       * @param value The state to set.
       * @return This builder for chaining.
       */
      public Builder setState(emu.grasscutter.net.proto.CustomDungeonStateOuterClass.CustomDungeonState value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        state_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <code>.CustomDungeonState state = 12;</code>
       * @return This builder for chaining.
       */
      public Builder clearState() {
        
        state_ = 0;
        onChanged();
        return this;
      }

      private int battleMinCostTime_ ;
      /**
       * <code>uint32 battle_min_cost_time = 5;</code>
       * @return The battleMinCostTime.
       */
      @java.lang.Override
      public int getBattleMinCostTime() {
        return battleMinCostTime_;
      }
      /**
       * <code>uint32 battle_min_cost_time = 5;</code>
       * @param value The battleMinCostTime to set.
       * @return This builder for chaining.
       */
      public Builder setBattleMinCostTime(int value) {
        
        battleMinCostTime_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 battle_min_cost_time = 5;</code>
       * @return This builder for chaining.
       */
      public Builder clearBattleMinCostTime() {
        
        battleMinCostTime_ = 0;
        onChanged();
        return this;
      }

      private emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial social_;
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial, emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial.Builder, emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocialOrBuilder> socialBuilder_;
      /**
       * <code>.CustomDungeonSocial social = 15;</code>
       * @return Whether the social field is set.
       */
      public boolean hasSocial() {
        return socialBuilder_ != null || social_ != null;
      }
      /**
       * <code>.CustomDungeonSocial social = 15;</code>
       * @return The social.
       */
      public emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial getSocial() {
        if (socialBuilder_ == null) {
          return social_ == null ? emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial.getDefaultInstance() : social_;
        } else {
          return socialBuilder_.getMessage();
        }
      }
      /**
       * <code>.CustomDungeonSocial social = 15;</code>
       */
      public Builder setSocial(emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial value) {
        if (socialBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          social_ = value;
          onChanged();
        } else {
          socialBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.CustomDungeonSocial social = 15;</code>
       */
      public Builder setSocial(
          emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial.Builder builderForValue) {
        if (socialBuilder_ == null) {
          social_ = builderForValue.build();
          onChanged();
        } else {
          socialBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.CustomDungeonSocial social = 15;</code>
       */
      public Builder mergeSocial(emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial value) {
        if (socialBuilder_ == null) {
          if (social_ != null) {
            social_ =
              emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial.newBuilder(social_).mergeFrom(value).buildPartial();
          } else {
            social_ = value;
          }
          onChanged();
        } else {
          socialBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.CustomDungeonSocial social = 15;</code>
       */
      public Builder clearSocial() {
        if (socialBuilder_ == null) {
          social_ = null;
          onChanged();
        } else {
          social_ = null;
          socialBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.CustomDungeonSocial social = 15;</code>
       */
      public emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial.Builder getSocialBuilder() {
        
        onChanged();
        return getSocialFieldBuilder().getBuilder();
      }
      /**
       * <code>.CustomDungeonSocial social = 15;</code>
       */
      public emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocialOrBuilder getSocialOrBuilder() {
        if (socialBuilder_ != null) {
          return socialBuilder_.getMessageOrBuilder();
        } else {
          return social_ == null ?
              emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial.getDefaultInstance() : social_;
        }
      }
      /**
       * <code>.CustomDungeonSocial social = 15;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial, emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial.Builder, emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocialOrBuilder> 
          getSocialFieldBuilder() {
        if (socialBuilder_ == null) {
          socialBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial, emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocial.Builder, emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocialOrBuilder>(
                  getSocial(),
                  getParentForChildren(),
                  isClean());
          social_ = null;
        }
        return socialBuilder_;
      }
      @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:CustomDungeonBrief)
    }

    // @@protoc_insertion_point(class_scope:CustomDungeonBrief)
    private static final emu.grasscutter.net.proto.CustomDungeonBriefOuterClass.CustomDungeonBrief DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new emu.grasscutter.net.proto.CustomDungeonBriefOuterClass.CustomDungeonBrief();
    }

    public static emu.grasscutter.net.proto.CustomDungeonBriefOuterClass.CustomDungeonBrief getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public emu.grasscutter.net.proto.CustomDungeonBriefOuterClass.CustomDungeonBrief getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_CustomDungeonBrief_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_CustomDungeonBrief_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\030CustomDungeonBrief.proto\032\032CustomDungeo" +
      "nSetting.proto\032\033CustomDungeonAbstract.pr" +
      "oto\032\030CustomDungeonState.proto\032\031CustomDun" +
      "geonSocial.proto\"\273\002\n\022CustomDungeonBrief\022" +
      "\024\n\014dungeon_guid\030\001 \001(\004\022\022\n\ndungeon_id\030\004 \001(" +
      "\r\022&\n\007setting\030\r \001(\0132\025.CustomDungeonSettin" +
      "g\022\020\n\010tag_list\030\003 \003(\r\022\027\n\017is_psn_platform\030\007" +
      " \001(\010\022(\n\010abstract\030\006 \001(\0132\026.CustomDungeonAb" +
      "stract\022\026\n\016last_save_time\030\002 \001(\r\022\"\n\005state\030" +
      "\014 \001(\0162\023.CustomDungeonState\022\034\n\024battle_min" +
      "_cost_time\030\005 \001(\r\022$\n\006social\030\017 \001(\0132\024.Custo" +
      "mDungeonSocialB\033\n\031emu.grasscutter.net.pr" +
      "otob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.CustomDungeonStateOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.getDescriptor(),
        });
    internal_static_CustomDungeonBrief_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_CustomDungeonBrief_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_CustomDungeonBrief_descriptor,
        new java.lang.String[] { "DungeonGuid", "DungeonId", "Setting", "TagList", "IsPsnPlatform", "Abstract", "LastSaveTime", "State", "BattleMinCostTime", "Social", });
    emu.grasscutter.net.proto.CustomDungeonSettingOuterClass.getDescriptor();
    emu.grasscutter.net.proto.CustomDungeonAbstractOuterClass.getDescriptor();
    emu.grasscutter.net.proto.CustomDungeonStateOuterClass.getDescriptor();
    emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
