// Code generated by protocol buffer compiler. Do not edit!
package emu.lunarcore.proto;

import java.io.IOException;
import us.hebi.quickbuf.FieldName;
import us.hebi.quickbuf.InvalidProtocolBufferException;
import us.hebi.quickbuf.JsonSink;
import us.hebi.quickbuf.JsonSource;
import us.hebi.quickbuf.MessageFactory;
import us.hebi.quickbuf.ProtoMessage;
import us.hebi.quickbuf.ProtoSink;
import us.hebi.quickbuf.ProtoSource;
import us.hebi.quickbuf.RepeatedInt;
import us.hebi.quickbuf.RepeatedMessage;
import us.hebi.quickbuf.Utf8String;

public final class SceneMapInfoOuterClass {
  /**
   * Protobuf type {@code SceneMapInfo}
   */
  public static final class SceneMapInfo extends ProtoMessage<SceneMapInfo> implements Cloneable {
    private static final long serialVersionUID = 0L;

    /**
     * <code>optional uint32 entry_id = 1;</code>
     */
    private int entryId;

    /**
     * <code>optional uint32 chest_monster_num = 3;</code>
     */
    private int chestMonsterNum;

    /**
     * <code>optional uint32 floor_id = 7;</code>
     */
    private int floorId;

    /**
     * <code>optional uint32 dimension_id = 9;</code>
     */
    private int dimensionId;

    /**
     * <code>optional uint32 retcode = 14;</code>
     */
    private int retcode;

    /**
     * <code>optional .SceneIdentifierInfo scene_identifier = 383;</code>
     */
    private final SceneIdentifierInfoOuterClass.SceneIdentifierInfo sceneIdentifier = SceneIdentifierInfoOuterClass.SceneIdentifierInfo.newInstance();

    /**
     * <code>repeated uint32 lighten_section_list = 11;</code>
     */
    private final RepeatedInt lightenSectionList = RepeatedInt.newEmptyInstance();

    /**
     * <code>repeated uint32 unlock_teleport_list = 13;</code>
     */
    private final RepeatedInt unlockTeleportList = RepeatedInt.newEmptyInstance();

    /**
     * <code>repeated .SceneMapInfo.FloorSavedValueMapEntry floor_saved_value_map = 2;</code>
     */
    private final RepeatedMessage<FloorSavedValueMapEntry> floorSavedValueMap = RepeatedMessage.newEmptyInstance(FloorSavedValueMapEntry.getFactory());

    /**
     * <code>repeated .MapInfoGroup group_list = 5;</code>
     */
    private final RepeatedMessage<MapInfoGroupOuterClass.MapInfoGroup> groupList = RepeatedMessage.newEmptyInstance(MapInfoGroupOuterClass.MapInfoGroup.getFactory());

    /**
     * <code>repeated .MapPropInfo map_info_prop_list = 6;</code>
     */
    private final RepeatedMessage<MapPropInfoOuterClass.MapPropInfo> mapInfoPropList = RepeatedMessage.newEmptyInstance(MapPropInfoOuterClass.MapPropInfo.getFactory());

    /**
     * <code>repeated .MazeChest chest_list = 12;</code>
     */
    private final RepeatedMessage<MazeChestOuterClass.MazeChest> chestList = RepeatedMessage.newEmptyInstance(MazeChestOuterClass.MazeChest.getFactory());

    private SceneMapInfo() {
    }

    /**
     * @return a new empty instance of {@code SceneMapInfo}
     */
    public static SceneMapInfo newInstance() {
      return new SceneMapInfo();
    }

    /**
     * <code>optional uint32 entry_id = 1;</code>
     * @return whether the entryId field is set
     */
    public boolean hasEntryId() {
      return (bitField0_ & 0x00000001) != 0;
    }

    /**
     * <code>optional uint32 entry_id = 1;</code>
     * @return this
     */
    public SceneMapInfo clearEntryId() {
      bitField0_ &= ~0x00000001;
      entryId = 0;
      return this;
    }

    /**
     * <code>optional uint32 entry_id = 1;</code>
     * @return the entryId
     */
    public int getEntryId() {
      return entryId;
    }

    /**
     * <code>optional uint32 entry_id = 1;</code>
     * @param value the entryId to set
     * @return this
     */
    public SceneMapInfo setEntryId(final int value) {
      bitField0_ |= 0x00000001;
      entryId = value;
      return this;
    }

    /**
     * <code>optional uint32 chest_monster_num = 3;</code>
     * @return whether the chestMonsterNum field is set
     */
    public boolean hasChestMonsterNum() {
      return (bitField0_ & 0x00000002) != 0;
    }

    /**
     * <code>optional uint32 chest_monster_num = 3;</code>
     * @return this
     */
    public SceneMapInfo clearChestMonsterNum() {
      bitField0_ &= ~0x00000002;
      chestMonsterNum = 0;
      return this;
    }

    /**
     * <code>optional uint32 chest_monster_num = 3;</code>
     * @return the chestMonsterNum
     */
    public int getChestMonsterNum() {
      return chestMonsterNum;
    }

    /**
     * <code>optional uint32 chest_monster_num = 3;</code>
     * @param value the chestMonsterNum to set
     * @return this
     */
    public SceneMapInfo setChestMonsterNum(final int value) {
      bitField0_ |= 0x00000002;
      chestMonsterNum = value;
      return this;
    }

    /**
     * <code>optional uint32 floor_id = 7;</code>
     * @return whether the floorId field is set
     */
    public boolean hasFloorId() {
      return (bitField0_ & 0x00000004) != 0;
    }

    /**
     * <code>optional uint32 floor_id = 7;</code>
     * @return this
     */
    public SceneMapInfo clearFloorId() {
      bitField0_ &= ~0x00000004;
      floorId = 0;
      return this;
    }

    /**
     * <code>optional uint32 floor_id = 7;</code>
     * @return the floorId
     */
    public int getFloorId() {
      return floorId;
    }

    /**
     * <code>optional uint32 floor_id = 7;</code>
     * @param value the floorId to set
     * @return this
     */
    public SceneMapInfo setFloorId(final int value) {
      bitField0_ |= 0x00000004;
      floorId = value;
      return this;
    }

    /**
     * <code>optional uint32 dimension_id = 9;</code>
     * @return whether the dimensionId field is set
     */
    public boolean hasDimensionId() {
      return (bitField0_ & 0x00000008) != 0;
    }

    /**
     * <code>optional uint32 dimension_id = 9;</code>
     * @return this
     */
    public SceneMapInfo clearDimensionId() {
      bitField0_ &= ~0x00000008;
      dimensionId = 0;
      return this;
    }

    /**
     * <code>optional uint32 dimension_id = 9;</code>
     * @return the dimensionId
     */
    public int getDimensionId() {
      return dimensionId;
    }

    /**
     * <code>optional uint32 dimension_id = 9;</code>
     * @param value the dimensionId to set
     * @return this
     */
    public SceneMapInfo setDimensionId(final int value) {
      bitField0_ |= 0x00000008;
      dimensionId = value;
      return this;
    }

    /**
     * <code>optional uint32 retcode = 14;</code>
     * @return whether the retcode field is set
     */
    public boolean hasRetcode() {
      return (bitField0_ & 0x00000010) != 0;
    }

    /**
     * <code>optional uint32 retcode = 14;</code>
     * @return this
     */
    public SceneMapInfo clearRetcode() {
      bitField0_ &= ~0x00000010;
      retcode = 0;
      return this;
    }

    /**
     * <code>optional uint32 retcode = 14;</code>
     * @return the retcode
     */
    public int getRetcode() {
      return retcode;
    }

    /**
     * <code>optional uint32 retcode = 14;</code>
     * @param value the retcode to set
     * @return this
     */
    public SceneMapInfo setRetcode(final int value) {
      bitField0_ |= 0x00000010;
      retcode = value;
      return this;
    }

    /**
     * <code>optional .SceneIdentifierInfo scene_identifier = 383;</code>
     * @return whether the sceneIdentifier field is set
     */
    public boolean hasSceneIdentifier() {
      return (bitField0_ & 0x00000020) != 0;
    }

    /**
     * <code>optional .SceneIdentifierInfo scene_identifier = 383;</code>
     * @return this
     */
    public SceneMapInfo clearSceneIdentifier() {
      bitField0_ &= ~0x00000020;
      sceneIdentifier.clear();
      return this;
    }

    /**
     * <code>optional .SceneIdentifierInfo scene_identifier = 383;</code>
     *
     * This method returns the internal storage object without modifying any has state.
     * The returned object should not be modified and be treated as read-only.
     *
     * Use {@link #getMutableSceneIdentifier()} if you want to modify it.
     *
     * @return internal storage object for reading
     */
    public SceneIdentifierInfoOuterClass.SceneIdentifierInfo getSceneIdentifier() {
      return sceneIdentifier;
    }

    /**
     * <code>optional .SceneIdentifierInfo scene_identifier = 383;</code>
     *
     * This method returns the internal storage object and sets the corresponding
     * has state. The returned object will become part of this message and its
     * contents may be modified as long as the has state is not cleared.
     *
     * @return internal storage object for modifications
     */
    public SceneIdentifierInfoOuterClass.SceneIdentifierInfo getMutableSceneIdentifier() {
      bitField0_ |= 0x00000020;
      return sceneIdentifier;
    }

    /**
     * <code>optional .SceneIdentifierInfo scene_identifier = 383;</code>
     * @param value the sceneIdentifier to set
     * @return this
     */
    public SceneMapInfo setSceneIdentifier(
        final SceneIdentifierInfoOuterClass.SceneIdentifierInfo value) {
      bitField0_ |= 0x00000020;
      sceneIdentifier.copyFrom(value);
      return this;
    }

    /**
     * <code>repeated uint32 lighten_section_list = 11;</code>
     * @return whether the lightenSectionList field is set
     */
    public boolean hasLightenSectionList() {
      return (bitField0_ & 0x00000040) != 0;
    }

    /**
     * <code>repeated uint32 lighten_section_list = 11;</code>
     * @return this
     */
    public SceneMapInfo clearLightenSectionList() {
      bitField0_ &= ~0x00000040;
      lightenSectionList.clear();
      return this;
    }

    /**
     * <code>repeated uint32 lighten_section_list = 11;</code>
     *
     * This method returns the internal storage object without modifying any has state.
     * The returned object should not be modified and be treated as read-only.
     *
     * Use {@link #getMutableLightenSectionList()} if you want to modify it.
     *
     * @return internal storage object for reading
     */
    public RepeatedInt getLightenSectionList() {
      return lightenSectionList;
    }

    /**
     * <code>repeated uint32 lighten_section_list = 11;</code>
     *
     * This method returns the internal storage object and sets the corresponding
     * has state. The returned object will become part of this message and its
     * contents may be modified as long as the has state is not cleared.
     *
     * @return internal storage object for modifications
     */
    public RepeatedInt getMutableLightenSectionList() {
      bitField0_ |= 0x00000040;
      return lightenSectionList;
    }

    /**
     * <code>repeated uint32 lighten_section_list = 11;</code>
     * @param value the lightenSectionList to add
     * @return this
     */
    public SceneMapInfo addLightenSectionList(final int value) {
      bitField0_ |= 0x00000040;
      lightenSectionList.add(value);
      return this;
    }

    /**
     * <code>repeated uint32 lighten_section_list = 11;</code>
     * @param values the lightenSectionList to add
     * @return this
     */
    public SceneMapInfo addAllLightenSectionList(final int... values) {
      bitField0_ |= 0x00000040;
      lightenSectionList.addAll(values);
      return this;
    }

    /**
     * <code>repeated uint32 unlock_teleport_list = 13;</code>
     * @return whether the unlockTeleportList field is set
     */
    public boolean hasUnlockTeleportList() {
      return (bitField0_ & 0x00000080) != 0;
    }

    /**
     * <code>repeated uint32 unlock_teleport_list = 13;</code>
     * @return this
     */
    public SceneMapInfo clearUnlockTeleportList() {
      bitField0_ &= ~0x00000080;
      unlockTeleportList.clear();
      return this;
    }

    /**
     * <code>repeated uint32 unlock_teleport_list = 13;</code>
     *
     * This method returns the internal storage object without modifying any has state.
     * The returned object should not be modified and be treated as read-only.
     *
     * Use {@link #getMutableUnlockTeleportList()} if you want to modify it.
     *
     * @return internal storage object for reading
     */
    public RepeatedInt getUnlockTeleportList() {
      return unlockTeleportList;
    }

    /**
     * <code>repeated uint32 unlock_teleport_list = 13;</code>
     *
     * This method returns the internal storage object and sets the corresponding
     * has state. The returned object will become part of this message and its
     * contents may be modified as long as the has state is not cleared.
     *
     * @return internal storage object for modifications
     */
    public RepeatedInt getMutableUnlockTeleportList() {
      bitField0_ |= 0x00000080;
      return unlockTeleportList;
    }

    /**
     * <code>repeated uint32 unlock_teleport_list = 13;</code>
     * @param value the unlockTeleportList to add
     * @return this
     */
    public SceneMapInfo addUnlockTeleportList(final int value) {
      bitField0_ |= 0x00000080;
      unlockTeleportList.add(value);
      return this;
    }

    /**
     * <code>repeated uint32 unlock_teleport_list = 13;</code>
     * @param values the unlockTeleportList to add
     * @return this
     */
    public SceneMapInfo addAllUnlockTeleportList(final int... values) {
      bitField0_ |= 0x00000080;
      unlockTeleportList.addAll(values);
      return this;
    }

    /**
     * <code>repeated .SceneMapInfo.FloorSavedValueMapEntry floor_saved_value_map = 2;</code>
     * @return whether the floorSavedValueMap field is set
     */
    public boolean hasFloorSavedValueMap() {
      return (bitField0_ & 0x00000100) != 0;
    }

    /**
     * <code>repeated .SceneMapInfo.FloorSavedValueMapEntry floor_saved_value_map = 2;</code>
     * @return this
     */
    public SceneMapInfo clearFloorSavedValueMap() {
      bitField0_ &= ~0x00000100;
      floorSavedValueMap.clear();
      return this;
    }

    /**
     * <code>repeated .SceneMapInfo.FloorSavedValueMapEntry floor_saved_value_map = 2;</code>
     *
     * This method returns the internal storage object without modifying any has state.
     * The returned object should not be modified and be treated as read-only.
     *
     * Use {@link #getMutableFloorSavedValueMap()} if you want to modify it.
     *
     * @return internal storage object for reading
     */
    public RepeatedMessage<FloorSavedValueMapEntry> getFloorSavedValueMap() {
      return floorSavedValueMap;
    }

    /**
     * <code>repeated .SceneMapInfo.FloorSavedValueMapEntry floor_saved_value_map = 2;</code>
     *
     * This method returns the internal storage object and sets the corresponding
     * has state. The returned object will become part of this message and its
     * contents may be modified as long as the has state is not cleared.
     *
     * @return internal storage object for modifications
     */
    public RepeatedMessage<FloorSavedValueMapEntry> getMutableFloorSavedValueMap() {
      bitField0_ |= 0x00000100;
      return floorSavedValueMap;
    }

    /**
     * <code>repeated .SceneMapInfo.FloorSavedValueMapEntry floor_saved_value_map = 2;</code>
     * @param value the floorSavedValueMap to add
     * @return this
     */
    public SceneMapInfo addFloorSavedValueMap(final FloorSavedValueMapEntry value) {
      bitField0_ |= 0x00000100;
      floorSavedValueMap.add(value);
      return this;
    }

    /**
     * <code>repeated .SceneMapInfo.FloorSavedValueMapEntry floor_saved_value_map = 2;</code>
     * @param values the floorSavedValueMap to add
     * @return this
     */
    public SceneMapInfo addAllFloorSavedValueMap(final FloorSavedValueMapEntry... values) {
      bitField0_ |= 0x00000100;
      floorSavedValueMap.addAll(values);
      return this;
    }

    /**
     * <code>repeated .MapInfoGroup group_list = 5;</code>
     * @return whether the groupList field is set
     */
    public boolean hasGroupList() {
      return (bitField0_ & 0x00000200) != 0;
    }

    /**
     * <code>repeated .MapInfoGroup group_list = 5;</code>
     * @return this
     */
    public SceneMapInfo clearGroupList() {
      bitField0_ &= ~0x00000200;
      groupList.clear();
      return this;
    }

    /**
     * <code>repeated .MapInfoGroup group_list = 5;</code>
     *
     * This method returns the internal storage object without modifying any has state.
     * The returned object should not be modified and be treated as read-only.
     *
     * Use {@link #getMutableGroupList()} if you want to modify it.
     *
     * @return internal storage object for reading
     */
    public RepeatedMessage<MapInfoGroupOuterClass.MapInfoGroup> getGroupList() {
      return groupList;
    }

    /**
     * <code>repeated .MapInfoGroup group_list = 5;</code>
     *
     * This method returns the internal storage object and sets the corresponding
     * has state. The returned object will become part of this message and its
     * contents may be modified as long as the has state is not cleared.
     *
     * @return internal storage object for modifications
     */
    public RepeatedMessage<MapInfoGroupOuterClass.MapInfoGroup> getMutableGroupList() {
      bitField0_ |= 0x00000200;
      return groupList;
    }

    /**
     * <code>repeated .MapInfoGroup group_list = 5;</code>
     * @param value the groupList to add
     * @return this
     */
    public SceneMapInfo addGroupList(final MapInfoGroupOuterClass.MapInfoGroup value) {
      bitField0_ |= 0x00000200;
      groupList.add(value);
      return this;
    }

    /**
     * <code>repeated .MapInfoGroup group_list = 5;</code>
     * @param values the groupList to add
     * @return this
     */
    public SceneMapInfo addAllGroupList(final MapInfoGroupOuterClass.MapInfoGroup... values) {
      bitField0_ |= 0x00000200;
      groupList.addAll(values);
      return this;
    }

    /**
     * <code>repeated .MapPropInfo map_info_prop_list = 6;</code>
     * @return whether the mapInfoPropList field is set
     */
    public boolean hasMapInfoPropList() {
      return (bitField0_ & 0x00000400) != 0;
    }

    /**
     * <code>repeated .MapPropInfo map_info_prop_list = 6;</code>
     * @return this
     */
    public SceneMapInfo clearMapInfoPropList() {
      bitField0_ &= ~0x00000400;
      mapInfoPropList.clear();
      return this;
    }

    /**
     * <code>repeated .MapPropInfo map_info_prop_list = 6;</code>
     *
     * This method returns the internal storage object without modifying any has state.
     * The returned object should not be modified and be treated as read-only.
     *
     * Use {@link #getMutableMapInfoPropList()} if you want to modify it.
     *
     * @return internal storage object for reading
     */
    public RepeatedMessage<MapPropInfoOuterClass.MapPropInfo> getMapInfoPropList() {
      return mapInfoPropList;
    }

    /**
     * <code>repeated .MapPropInfo map_info_prop_list = 6;</code>
     *
     * This method returns the internal storage object and sets the corresponding
     * has state. The returned object will become part of this message and its
     * contents may be modified as long as the has state is not cleared.
     *
     * @return internal storage object for modifications
     */
    public RepeatedMessage<MapPropInfoOuterClass.MapPropInfo> getMutableMapInfoPropList() {
      bitField0_ |= 0x00000400;
      return mapInfoPropList;
    }

    /**
     * <code>repeated .MapPropInfo map_info_prop_list = 6;</code>
     * @param value the mapInfoPropList to add
     * @return this
     */
    public SceneMapInfo addMapInfoPropList(final MapPropInfoOuterClass.MapPropInfo value) {
      bitField0_ |= 0x00000400;
      mapInfoPropList.add(value);
      return this;
    }

    /**
     * <code>repeated .MapPropInfo map_info_prop_list = 6;</code>
     * @param values the mapInfoPropList to add
     * @return this
     */
    public SceneMapInfo addAllMapInfoPropList(final MapPropInfoOuterClass.MapPropInfo... values) {
      bitField0_ |= 0x00000400;
      mapInfoPropList.addAll(values);
      return this;
    }

    /**
     * <code>repeated .MazeChest chest_list = 12;</code>
     * @return whether the chestList field is set
     */
    public boolean hasChestList() {
      return (bitField0_ & 0x00000800) != 0;
    }

    /**
     * <code>repeated .MazeChest chest_list = 12;</code>
     * @return this
     */
    public SceneMapInfo clearChestList() {
      bitField0_ &= ~0x00000800;
      chestList.clear();
      return this;
    }

    /**
     * <code>repeated .MazeChest chest_list = 12;</code>
     *
     * This method returns the internal storage object without modifying any has state.
     * The returned object should not be modified and be treated as read-only.
     *
     * Use {@link #getMutableChestList()} if you want to modify it.
     *
     * @return internal storage object for reading
     */
    public RepeatedMessage<MazeChestOuterClass.MazeChest> getChestList() {
      return chestList;
    }

    /**
     * <code>repeated .MazeChest chest_list = 12;</code>
     *
     * This method returns the internal storage object and sets the corresponding
     * has state. The returned object will become part of this message and its
     * contents may be modified as long as the has state is not cleared.
     *
     * @return internal storage object for modifications
     */
    public RepeatedMessage<MazeChestOuterClass.MazeChest> getMutableChestList() {
      bitField0_ |= 0x00000800;
      return chestList;
    }

    /**
     * <code>repeated .MazeChest chest_list = 12;</code>
     * @param value the chestList to add
     * @return this
     */
    public SceneMapInfo addChestList(final MazeChestOuterClass.MazeChest value) {
      bitField0_ |= 0x00000800;
      chestList.add(value);
      return this;
    }

    /**
     * <code>repeated .MazeChest chest_list = 12;</code>
     * @param values the chestList to add
     * @return this
     */
    public SceneMapInfo addAllChestList(final MazeChestOuterClass.MazeChest... values) {
      bitField0_ |= 0x00000800;
      chestList.addAll(values);
      return this;
    }

    @Override
    public SceneMapInfo copyFrom(final SceneMapInfo other) {
      cachedSize = other.cachedSize;
      if ((bitField0_ | other.bitField0_) != 0) {
        bitField0_ = other.bitField0_;
        entryId = other.entryId;
        chestMonsterNum = other.chestMonsterNum;
        floorId = other.floorId;
        dimensionId = other.dimensionId;
        retcode = other.retcode;
        sceneIdentifier.copyFrom(other.sceneIdentifier);
        lightenSectionList.copyFrom(other.lightenSectionList);
        unlockTeleportList.copyFrom(other.unlockTeleportList);
        floorSavedValueMap.copyFrom(other.floorSavedValueMap);
        groupList.copyFrom(other.groupList);
        mapInfoPropList.copyFrom(other.mapInfoPropList);
        chestList.copyFrom(other.chestList);
      }
      return this;
    }

    @Override
    public SceneMapInfo mergeFrom(final SceneMapInfo other) {
      if (other.isEmpty()) {
        return this;
      }
      cachedSize = -1;
      if (other.hasEntryId()) {
        setEntryId(other.entryId);
      }
      if (other.hasChestMonsterNum()) {
        setChestMonsterNum(other.chestMonsterNum);
      }
      if (other.hasFloorId()) {
        setFloorId(other.floorId);
      }
      if (other.hasDimensionId()) {
        setDimensionId(other.dimensionId);
      }
      if (other.hasRetcode()) {
        setRetcode(other.retcode);
      }
      if (other.hasSceneIdentifier()) {
        getMutableSceneIdentifier().mergeFrom(other.sceneIdentifier);
      }
      if (other.hasLightenSectionList()) {
        getMutableLightenSectionList().addAll(other.lightenSectionList);
      }
      if (other.hasUnlockTeleportList()) {
        getMutableUnlockTeleportList().addAll(other.unlockTeleportList);
      }
      if (other.hasFloorSavedValueMap()) {
        getMutableFloorSavedValueMap().addAll(other.floorSavedValueMap);
      }
      if (other.hasGroupList()) {
        getMutableGroupList().addAll(other.groupList);
      }
      if (other.hasMapInfoPropList()) {
        getMutableMapInfoPropList().addAll(other.mapInfoPropList);
      }
      if (other.hasChestList()) {
        getMutableChestList().addAll(other.chestList);
      }
      return this;
    }

    @Override
    public SceneMapInfo clear() {
      if (isEmpty()) {
        return this;
      }
      cachedSize = -1;
      bitField0_ = 0;
      entryId = 0;
      chestMonsterNum = 0;
      floorId = 0;
      dimensionId = 0;
      retcode = 0;
      sceneIdentifier.clear();
      lightenSectionList.clear();
      unlockTeleportList.clear();
      floorSavedValueMap.clear();
      groupList.clear();
      mapInfoPropList.clear();
      chestList.clear();
      return this;
    }

    @Override
    public SceneMapInfo clearQuick() {
      if (isEmpty()) {
        return this;
      }
      cachedSize = -1;
      bitField0_ = 0;
      sceneIdentifier.clearQuick();
      lightenSectionList.clear();
      unlockTeleportList.clear();
      floorSavedValueMap.clearQuick();
      groupList.clearQuick();
      mapInfoPropList.clearQuick();
      chestList.clearQuick();
      return this;
    }

    @Override
    public boolean equals(Object o) {
      if (o == this) {
        return true;
      }
      if (!(o instanceof SceneMapInfo)) {
        return false;
      }
      SceneMapInfo other = (SceneMapInfo) o;
      return bitField0_ == other.bitField0_
        && (!hasEntryId() || entryId == other.entryId)
        && (!hasChestMonsterNum() || chestMonsterNum == other.chestMonsterNum)
        && (!hasFloorId() || floorId == other.floorId)
        && (!hasDimensionId() || dimensionId == other.dimensionId)
        && (!hasRetcode() || retcode == other.retcode)
        && (!hasSceneIdentifier() || sceneIdentifier.equals(other.sceneIdentifier))
        && (!hasLightenSectionList() || lightenSectionList.equals(other.lightenSectionList))
        && (!hasUnlockTeleportList() || unlockTeleportList.equals(other.unlockTeleportList))
        && (!hasFloorSavedValueMap() || floorSavedValueMap.equals(other.floorSavedValueMap))
        && (!hasGroupList() || groupList.equals(other.groupList))
        && (!hasMapInfoPropList() || mapInfoPropList.equals(other.mapInfoPropList))
        && (!hasChestList() || chestList.equals(other.chestList));
    }

    @Override
    public void writeTo(final ProtoSink output) throws IOException {
      if ((bitField0_ & 0x00000001) != 0) {
        output.writeRawByte((byte) 8);
        output.writeUInt32NoTag(entryId);
      }
      if ((bitField0_ & 0x00000002) != 0) {
        output.writeRawByte((byte) 24);
        output.writeUInt32NoTag(chestMonsterNum);
      }
      if ((bitField0_ & 0x00000004) != 0) {
        output.writeRawByte((byte) 56);
        output.writeUInt32NoTag(floorId);
      }
      if ((bitField0_ & 0x00000008) != 0) {
        output.writeRawByte((byte) 72);
        output.writeUInt32NoTag(dimensionId);
      }
      if ((bitField0_ & 0x00000010) != 0) {
        output.writeRawByte((byte) 112);
        output.writeUInt32NoTag(retcode);
      }
      if ((bitField0_ & 0x00000020) != 0) {
        output.writeRawLittleEndian16((short) 6138);
        output.writeMessageNoTag(sceneIdentifier);
      }
      if ((bitField0_ & 0x00000040) != 0) {
        for (int i = 0; i < lightenSectionList.length(); i++) {
          output.writeRawByte((byte) 88);
          output.writeUInt32NoTag(lightenSectionList.array()[i]);
        }
      }
      if ((bitField0_ & 0x00000080) != 0) {
        for (int i = 0; i < unlockTeleportList.length(); i++) {
          output.writeRawByte((byte) 104);
          output.writeUInt32NoTag(unlockTeleportList.array()[i]);
        }
      }
      if ((bitField0_ & 0x00000100) != 0) {
        for (int i = 0; i < floorSavedValueMap.length(); i++) {
          output.writeRawByte((byte) 18);
          output.writeMessageNoTag(floorSavedValueMap.get(i));
        }
      }
      if ((bitField0_ & 0x00000200) != 0) {
        for (int i = 0; i < groupList.length(); i++) {
          output.writeRawByte((byte) 42);
          output.writeMessageNoTag(groupList.get(i));
        }
      }
      if ((bitField0_ & 0x00000400) != 0) {
        for (int i = 0; i < mapInfoPropList.length(); i++) {
          output.writeRawByte((byte) 50);
          output.writeMessageNoTag(mapInfoPropList.get(i));
        }
      }
      if ((bitField0_ & 0x00000800) != 0) {
        for (int i = 0; i < chestList.length(); i++) {
          output.writeRawByte((byte) 98);
          output.writeMessageNoTag(chestList.get(i));
        }
      }
    }

    @Override
    protected int computeSerializedSize() {
      int size = 0;
      if ((bitField0_ & 0x00000001) != 0) {
        size += 1 + ProtoSink.computeUInt32SizeNoTag(entryId);
      }
      if ((bitField0_ & 0x00000002) != 0) {
        size += 1 + ProtoSink.computeUInt32SizeNoTag(chestMonsterNum);
      }
      if ((bitField0_ & 0x00000004) != 0) {
        size += 1 + ProtoSink.computeUInt32SizeNoTag(floorId);
      }
      if ((bitField0_ & 0x00000008) != 0) {
        size += 1 + ProtoSink.computeUInt32SizeNoTag(dimensionId);
      }
      if ((bitField0_ & 0x00000010) != 0) {
        size += 1 + ProtoSink.computeUInt32SizeNoTag(retcode);
      }
      if ((bitField0_ & 0x00000020) != 0) {
        size += 2 + ProtoSink.computeMessageSizeNoTag(sceneIdentifier);
      }
      if ((bitField0_ & 0x00000040) != 0) {
        size += (1 * lightenSectionList.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(lightenSectionList);
      }
      if ((bitField0_ & 0x00000080) != 0) {
        size += (1 * unlockTeleportList.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(unlockTeleportList);
      }
      if ((bitField0_ & 0x00000100) != 0) {
        size += (1 * floorSavedValueMap.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(floorSavedValueMap);
      }
      if ((bitField0_ & 0x00000200) != 0) {
        size += (1 * groupList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(groupList);
      }
      if ((bitField0_ & 0x00000400) != 0) {
        size += (1 * mapInfoPropList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(mapInfoPropList);
      }
      if ((bitField0_ & 0x00000800) != 0) {
        size += (1 * chestList.length()) + ProtoSink.computeRepeatedMessageSizeNoTag(chestList);
      }
      return size;
    }

    @Override
    @SuppressWarnings("fallthrough")
    public SceneMapInfo mergeFrom(final ProtoSource input) throws IOException {
      // Enabled Fall-Through Optimization (QuickBuffers)
      int tag = input.readTag();
      while (true) {
        switch (tag) {
          case 8: {
            // entryId
            entryId = input.readUInt32();
            bitField0_ |= 0x00000001;
            tag = input.readTag();
            if (tag != 24) {
              break;
            }
          }
          case 24: {
            // chestMonsterNum
            chestMonsterNum = input.readUInt32();
            bitField0_ |= 0x00000002;
            tag = input.readTag();
            if (tag != 56) {
              break;
            }
          }
          case 56: {
            // floorId
            floorId = input.readUInt32();
            bitField0_ |= 0x00000004;
            tag = input.readTag();
            if (tag != 72) {
              break;
            }
          }
          case 72: {
            // dimensionId
            dimensionId = input.readUInt32();
            bitField0_ |= 0x00000008;
            tag = input.readTag();
            if (tag != 112) {
              break;
            }
          }
          case 112: {
            // retcode
            retcode = input.readUInt32();
            bitField0_ |= 0x00000010;
            tag = input.readTag();
            if (tag != 3066) {
              break;
            }
          }
          case 3066: {
            // sceneIdentifier
            input.readMessage(sceneIdentifier);
            bitField0_ |= 0x00000020;
            tag = input.readTag();
            if (tag != 90) {
              break;
            }
          }
          case 90: {
            // lightenSectionList [packed=true]
            input.readPackedUInt32(lightenSectionList, tag);
            bitField0_ |= 0x00000040;
            tag = input.readTag();
            if (tag != 106) {
              break;
            }
          }
          case 106: {
            // unlockTeleportList [packed=true]
            input.readPackedUInt32(unlockTeleportList, tag);
            bitField0_ |= 0x00000080;
            tag = input.readTag();
            if (tag != 18) {
              break;
            }
          }
          case 18: {
            // floorSavedValueMap
            tag = input.readRepeatedMessage(floorSavedValueMap, tag);
            bitField0_ |= 0x00000100;
            if (tag != 42) {
              break;
            }
          }
          case 42: {
            // groupList
            tag = input.readRepeatedMessage(groupList, tag);
            bitField0_ |= 0x00000200;
            if (tag != 50) {
              break;
            }
          }
          case 50: {
            // mapInfoPropList
            tag = input.readRepeatedMessage(mapInfoPropList, tag);
            bitField0_ |= 0x00000400;
            if (tag != 98) {
              break;
            }
          }
          case 98: {
            // chestList
            tag = input.readRepeatedMessage(chestList, tag);
            bitField0_ |= 0x00000800;
            if (tag != 0) {
              break;
            }
          }
          case 0: {
            return this;
          }
          default: {
            if (!input.skipField(tag)) {
              return this;
            }
            tag = input.readTag();
            break;
          }
          case 88: {
            // lightenSectionList [packed=false]
            tag = input.readRepeatedUInt32(lightenSectionList, tag);
            bitField0_ |= 0x00000040;
            break;
          }
          case 104: {
            // unlockTeleportList [packed=false]
            tag = input.readRepeatedUInt32(unlockTeleportList, tag);
            bitField0_ |= 0x00000080;
            break;
          }
        }
      }
    }

    @Override
    public void writeTo(final JsonSink output) throws IOException {
      output.beginObject();
      if ((bitField0_ & 0x00000001) != 0) {
        output.writeUInt32(FieldNames.entryId, entryId);
      }
      if ((bitField0_ & 0x00000002) != 0) {
        output.writeUInt32(FieldNames.chestMonsterNum, chestMonsterNum);
      }
      if ((bitField0_ & 0x00000004) != 0) {
        output.writeUInt32(FieldNames.floorId, floorId);
      }
      if ((bitField0_ & 0x00000008) != 0) {
        output.writeUInt32(FieldNames.dimensionId, dimensionId);
      }
      if ((bitField0_ & 0x00000010) != 0) {
        output.writeUInt32(FieldNames.retcode, retcode);
      }
      if ((bitField0_ & 0x00000020) != 0) {
        output.writeMessage(FieldNames.sceneIdentifier, sceneIdentifier);
      }
      if ((bitField0_ & 0x00000040) != 0) {
        output.writeRepeatedUInt32(FieldNames.lightenSectionList, lightenSectionList);
      }
      if ((bitField0_ & 0x00000080) != 0) {
        output.writeRepeatedUInt32(FieldNames.unlockTeleportList, unlockTeleportList);
      }
      if ((bitField0_ & 0x00000100) != 0) {
        output.writeRepeatedMessage(FieldNames.floorSavedValueMap, floorSavedValueMap);
      }
      if ((bitField0_ & 0x00000200) != 0) {
        output.writeRepeatedMessage(FieldNames.groupList, groupList);
      }
      if ((bitField0_ & 0x00000400) != 0) {
        output.writeRepeatedMessage(FieldNames.mapInfoPropList, mapInfoPropList);
      }
      if ((bitField0_ & 0x00000800) != 0) {
        output.writeRepeatedMessage(FieldNames.chestList, chestList);
      }
      output.endObject();
    }

    @Override
    public SceneMapInfo mergeFrom(final JsonSource input) throws IOException {
      if (!input.beginObject()) {
        return this;
      }
      while (!input.isAtEnd()) {
        switch (input.readFieldHash()) {
          case -1591558867:
          case -2093663224: {
            if (input.isAtField(FieldNames.entryId)) {
              if (!input.trySkipNullValue()) {
                entryId = input.readUInt32();
                bitField0_ |= 0x00000001;
              }
            } else {
              input.skipUnknownField();
            }
            break;
          }
          case 2109430573:
          case 156725603: {
            if (input.isAtField(FieldNames.chestMonsterNum)) {
              if (!input.trySkipNullValue()) {
                chestMonsterNum = input.readUInt32();
                bitField0_ |= 0x00000002;
              }
            } else {
              input.skipUnknownField();
            }
            break;
          }
          case -766027193:
          case 2022982190: {
            if (input.isAtField(FieldNames.floorId)) {
              if (!input.trySkipNullValue()) {
                floorId = input.readUInt32();
                bitField0_ |= 0x00000004;
              }
            } else {
              input.skipUnknownField();
            }
            break;
          }
          case -40520415:
          case -1256111468: {
            if (input.isAtField(FieldNames.dimensionId)) {
              if (!input.trySkipNullValue()) {
                dimensionId = input.readUInt32();
                bitField0_ |= 0x00000008;
              }
            } else {
              input.skipUnknownField();
            }
            break;
          }
          case 1097936398: {
            if (input.isAtField(FieldNames.retcode)) {
              if (!input.trySkipNullValue()) {
                retcode = input.readUInt32();
                bitField0_ |= 0x00000010;
              }
            } else {
              input.skipUnknownField();
            }
            break;
          }
          case -219061675:
          case -1767155140: {
            if (input.isAtField(FieldNames.sceneIdentifier)) {
              if (!input.trySkipNullValue()) {
                input.readMessage(sceneIdentifier);
                bitField0_ |= 0x00000020;
              }
            } else {
              input.skipUnknownField();
            }
            break;
          }
          case -1942343836:
          case 1328850360: {
            if (input.isAtField(FieldNames.lightenSectionList)) {
              if (!input.trySkipNullValue()) {
                input.readRepeatedUInt32(lightenSectionList);
                bitField0_ |= 0x00000040;
              }
            } else {
              input.skipUnknownField();
            }
            break;
          }
          case -1496974387:
          case 1328471927: {
            if (input.isAtField(FieldNames.unlockTeleportList)) {
              if (!input.trySkipNullValue()) {
                input.readRepeatedUInt32(unlockTeleportList);
                bitField0_ |= 0x00000080;
              }
            } else {
              input.skipUnknownField();
            }
            break;
          }
          case -1901677274:
          case 1429033891: {
            if (input.isAtField(FieldNames.floorSavedValueMap)) {
              if (!input.trySkipNullValue()) {
                input.readRepeatedMessage(floorSavedValueMap);
                bitField0_ |= 0x00000100;
              }
            } else {
              input.skipUnknownField();
            }
            break;
          }
          case -1483226179:
          case 1282255454: {
            if (input.isAtField(FieldNames.groupList)) {
              if (!input.trySkipNullValue()) {
                input.readRepeatedMessage(groupList);
                bitField0_ |= 0x00000200;
              }
            } else {
              input.skipUnknownField();
            }
            break;
          }
          case -1002346261:
          case -2033897748: {
            if (input.isAtField(FieldNames.mapInfoPropList)) {
              if (!input.trySkipNullValue()) {
                input.readRepeatedMessage(mapInfoPropList);
                bitField0_ |= 0x00000400;
              }
            } else {
              input.skipUnknownField();
            }
            break;
          }
          case 864723775:
          case 1054259996: {
            if (input.isAtField(FieldNames.chestList)) {
              if (!input.trySkipNullValue()) {
                input.readRepeatedMessage(chestList);
                bitField0_ |= 0x00000800;
              }
            } else {
              input.skipUnknownField();
            }
            break;
          }
          default: {
            input.skipUnknownField();
            break;
          }
        }
      }
      input.endObject();
      return this;
    }

    @Override
    public SceneMapInfo clone() {
      return new SceneMapInfo().copyFrom(this);
    }

    @Override
    public boolean isEmpty() {
      return ((bitField0_) == 0);
    }

    public static SceneMapInfo parseFrom(final byte[] data) throws InvalidProtocolBufferException {
      return ProtoMessage.mergeFrom(new SceneMapInfo(), data).checkInitialized();
    }

    public static SceneMapInfo parseFrom(final ProtoSource input) throws IOException {
      return ProtoMessage.mergeFrom(new SceneMapInfo(), input).checkInitialized();
    }

    public static SceneMapInfo parseFrom(final JsonSource input) throws IOException {
      return ProtoMessage.mergeFrom(new SceneMapInfo(), input).checkInitialized();
    }

    /**
     * @return factory for creating SceneMapInfo messages
     */
    public static MessageFactory<SceneMapInfo> getFactory() {
      return SceneMapInfoFactory.INSTANCE;
    }

    /**
     * Protobuf type {@code FloorSavedValueMapEntry}
     */
    public static final class FloorSavedValueMapEntry extends ProtoMessage<FloorSavedValueMapEntry> implements Cloneable {
      private static final long serialVersionUID = 0L;

      /**
       * <code>optional sint32 value = 2;</code>
       */
      private int value_;

      /**
       * <code>optional string key = 1;</code>
       */
      private final Utf8String key = Utf8String.newEmptyInstance();

      private FloorSavedValueMapEntry() {
      }

      /**
       * @return a new empty instance of {@code FloorSavedValueMapEntry}
       */
      public static FloorSavedValueMapEntry newInstance() {
        return new FloorSavedValueMapEntry();
      }

      /**
       * <code>optional sint32 value = 2;</code>
       * @return whether the value_ field is set
       */
      public boolean hasValue() {
        return (bitField0_ & 0x00000001) != 0;
      }

      /**
       * <code>optional sint32 value = 2;</code>
       * @return this
       */
      public FloorSavedValueMapEntry clearValue() {
        bitField0_ &= ~0x00000001;
        value_ = 0;
        return this;
      }

      /**
       * <code>optional sint32 value = 2;</code>
       * @return the value_
       */
      public int getValue() {
        return value_;
      }

      /**
       * <code>optional sint32 value = 2;</code>
       * @param value the value_ to set
       * @return this
       */
      public FloorSavedValueMapEntry setValue(final int value) {
        bitField0_ |= 0x00000001;
        value_ = value;
        return this;
      }

      /**
       * <code>optional string key = 1;</code>
       * @return whether the key field is set
       */
      public boolean hasKey() {
        return (bitField0_ & 0x00000002) != 0;
      }

      /**
       * <code>optional string key = 1;</code>
       * @return this
       */
      public FloorSavedValueMapEntry clearKey() {
        bitField0_ &= ~0x00000002;
        key.clear();
        return this;
      }

      /**
       * <code>optional string key = 1;</code>
       * @return the key
       */
      public String getKey() {
        return key.getString();
      }

      /**
       * <code>optional string key = 1;</code>
       * @return internal {@code Utf8String} representation of key for reading
       */
      public Utf8String getKeyBytes() {
        return this.key;
      }

      /**
       * <code>optional string key = 1;</code>
       * @return internal {@code Utf8String} representation of key for modifications
       */
      public Utf8String getMutableKeyBytes() {
        bitField0_ |= 0x00000002;
        return this.key;
      }

      /**
       * <code>optional string key = 1;</code>
       * @param value the key to set
       * @return this
       */
      public FloorSavedValueMapEntry setKey(final CharSequence value) {
        bitField0_ |= 0x00000002;
        key.copyFrom(value);
        return this;
      }

      /**
       * <code>optional string key = 1;</code>
       * @param value the key to set
       * @return this
       */
      public FloorSavedValueMapEntry setKey(final Utf8String value) {
        bitField0_ |= 0x00000002;
        key.copyFrom(value);
        return this;
      }

      @Override
      public FloorSavedValueMapEntry copyFrom(final FloorSavedValueMapEntry other) {
        cachedSize = other.cachedSize;
        if ((bitField0_ | other.bitField0_) != 0) {
          bitField0_ = other.bitField0_;
          value_ = other.value_;
          key.copyFrom(other.key);
        }
        return this;
      }

      @Override
      public FloorSavedValueMapEntry mergeFrom(final FloorSavedValueMapEntry other) {
        if (other.isEmpty()) {
          return this;
        }
        cachedSize = -1;
        if (other.hasValue()) {
          setValue(other.value_);
        }
        if (other.hasKey()) {
          getMutableKeyBytes().copyFrom(other.key);
        }
        return this;
      }

      @Override
      public FloorSavedValueMapEntry clear() {
        if (isEmpty()) {
          return this;
        }
        cachedSize = -1;
        bitField0_ = 0;
        value_ = 0;
        key.clear();
        return this;
      }

      @Override
      public FloorSavedValueMapEntry clearQuick() {
        if (isEmpty()) {
          return this;
        }
        cachedSize = -1;
        bitField0_ = 0;
        key.clear();
        return this;
      }

      @Override
      public boolean equals(Object o) {
        if (o == this) {
          return true;
        }
        if (!(o instanceof FloorSavedValueMapEntry)) {
          return false;
        }
        FloorSavedValueMapEntry other = (FloorSavedValueMapEntry) o;
        return bitField0_ == other.bitField0_
          && (!hasValue() || value_ == other.value_)
          && (!hasKey() || key.equals(other.key));
      }

      @Override
      public void writeTo(final ProtoSink output) throws IOException {
        if ((bitField0_ & 0x00000001) != 0) {
          output.writeRawByte((byte) 16);
          output.writeSInt32NoTag(value_);
        }
        if ((bitField0_ & 0x00000002) != 0) {
          output.writeRawByte((byte) 10);
          output.writeStringNoTag(key);
        }
      }

      @Override
      protected int computeSerializedSize() {
        int size = 0;
        if ((bitField0_ & 0x00000001) != 0) {
          size += 1 + ProtoSink.computeSInt32SizeNoTag(value_);
        }
        if ((bitField0_ & 0x00000002) != 0) {
          size += 1 + ProtoSink.computeStringSizeNoTag(key);
        }
        return size;
      }

      @Override
      @SuppressWarnings("fallthrough")
      public FloorSavedValueMapEntry mergeFrom(final ProtoSource input) throws IOException {
        // Enabled Fall-Through Optimization (QuickBuffers)
        int tag = input.readTag();
        while (true) {
          switch (tag) {
            case 16: {
              // value_
              value_ = input.readSInt32();
              bitField0_ |= 0x00000001;
              tag = input.readTag();
              if (tag != 10) {
                break;
              }
            }
            case 10: {
              // key
              input.readString(key);
              bitField0_ |= 0x00000002;
              tag = input.readTag();
              if (tag != 0) {
                break;
              }
            }
            case 0: {
              return this;
            }
            default: {
              if (!input.skipField(tag)) {
                return this;
              }
              tag = input.readTag();
              break;
            }
          }
        }
      }

      @Override
      public void writeTo(final JsonSink output) throws IOException {
        output.beginObject();
        if ((bitField0_ & 0x00000001) != 0) {
          output.writeSInt32(FieldNames.value_, value_);
        }
        if ((bitField0_ & 0x00000002) != 0) {
          output.writeString(FieldNames.key, key);
        }
        output.endObject();
      }

      @Override
      public FloorSavedValueMapEntry mergeFrom(final JsonSource input) throws IOException {
        if (!input.beginObject()) {
          return this;
        }
        while (!input.isAtEnd()) {
          switch (input.readFieldHash()) {
            case 111972721: {
              if (input.isAtField(FieldNames.value_)) {
                if (!input.trySkipNullValue()) {
                  value_ = input.readSInt32();
                  bitField0_ |= 0x00000001;
                }
              } else {
                input.skipUnknownField();
              }
              break;
            }
            case 106079: {
              if (input.isAtField(FieldNames.key)) {
                if (!input.trySkipNullValue()) {
                  input.readString(key);
                  bitField0_ |= 0x00000002;
                }
              } else {
                input.skipUnknownField();
              }
              break;
            }
            default: {
              input.skipUnknownField();
              break;
            }
          }
        }
        input.endObject();
        return this;
      }

      @Override
      public FloorSavedValueMapEntry clone() {
        return new FloorSavedValueMapEntry().copyFrom(this);
      }

      @Override
      public boolean isEmpty() {
        return ((bitField0_) == 0);
      }

      public static FloorSavedValueMapEntry parseFrom(final byte[] data) throws
          InvalidProtocolBufferException {
        return ProtoMessage.mergeFrom(new FloorSavedValueMapEntry(), data).checkInitialized();
      }

      public static FloorSavedValueMapEntry parseFrom(final ProtoSource input) throws IOException {
        return ProtoMessage.mergeFrom(new FloorSavedValueMapEntry(), input).checkInitialized();
      }

      public static FloorSavedValueMapEntry parseFrom(final JsonSource input) throws IOException {
        return ProtoMessage.mergeFrom(new FloorSavedValueMapEntry(), input).checkInitialized();
      }

      /**
       * @return factory for creating FloorSavedValueMapEntry messages
       */
      public static MessageFactory<FloorSavedValueMapEntry> getFactory() {
        return FloorSavedValueMapEntryFactory.INSTANCE;
      }

      private enum FloorSavedValueMapEntryFactory implements MessageFactory<FloorSavedValueMapEntry> {
        INSTANCE;

        @Override
        public FloorSavedValueMapEntry create() {
          return FloorSavedValueMapEntry.newInstance();
        }
      }

      /**
       * Contains name constants used for serializing JSON
       */
      static class FieldNames {
        static final FieldName value_ = FieldName.forField("value");

        static final FieldName key = FieldName.forField("key");
      }
    }

    private enum SceneMapInfoFactory implements MessageFactory<SceneMapInfo> {
      INSTANCE;

      @Override
      public SceneMapInfo create() {
        return SceneMapInfo.newInstance();
      }
    }

    /**
     * Contains name constants used for serializing JSON
     */
    static class FieldNames {
      static final FieldName entryId = FieldName.forField("entryId", "entry_id");

      static final FieldName chestMonsterNum = FieldName.forField("chestMonsterNum", "chest_monster_num");

      static final FieldName floorId = FieldName.forField("floorId", "floor_id");

      static final FieldName dimensionId = FieldName.forField("dimensionId", "dimension_id");

      static final FieldName retcode = FieldName.forField("retcode");

      static final FieldName sceneIdentifier = FieldName.forField("sceneIdentifier", "scene_identifier");

      static final FieldName lightenSectionList = FieldName.forField("lightenSectionList", "lighten_section_list");

      static final FieldName unlockTeleportList = FieldName.forField("unlockTeleportList", "unlock_teleport_list");

      static final FieldName floorSavedValueMap = FieldName.forField("floorSavedValueMap", "floor_saved_value_map");

      static final FieldName groupList = FieldName.forField("groupList", "group_list");

      static final FieldName mapInfoPropList = FieldName.forField("mapInfoPropList", "map_info_prop_list");

      static final FieldName chestList = FieldName.forField("chestList", "chest_list");
    }
  }
}
