content: // Generated by the protocol buffer compiler.  DO NOT EDIT!
  // source: Quest.proto
  
  package emu.grasscutter.net.proto;
  
  public final class QuestOuterClass {
    private QuestOuterClass() {}
    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 QuestOrBuilder extends
        // @@protoc_insertion_point(interface_extends:Quest)
        com.google.protobuf.MessageOrBuilder {
  
      /**
       * <code>uint32 questId = 1;</code>
       * @return The questId.
       */
      int getQuestId();
  
      /**
       * <code>uint32 state = 2;</code>
       * @return The state.
       */
      int getState();
  
      /**
       * <code>uint32 startTime = 4;</code>
       * @return The startTime.
       */
      int getStartTime();
  
      /**
       * <code>bool isRandom = 5;</code>
       * @return The isRandom.
       */
      boolean getIsRandom();
  
      /**
       * <code>uint32 parentQuestId = 6;</code>
       * @return The parentQuestId.
       */
      int getParentQuestId();
  
      /**
       * <code>uint32 questConfigId = 7;</code>
       * @return The questConfigId.
       */
      int getQuestConfigId();
  
      /**
       * <code>uint32 startGameTime = 8;</code>
       * @return The startGameTime.
       */
      int getStartGameTime();
  
      /**
       * <code>uint32 acceptTime = 9;</code>
       * @return The acceptTime.
       */
      int getAcceptTime();
  
      /**
       * <code>repeated uint32 lackedNpcList = 10;</code>
       * @return A list containing the lackedNpcList.
       */
      java.util.List<java.lang.Integer> getLackedNpcListList();
      /**
       * <code>repeated uint32 lackedNpcList = 10;</code>
       * @return The count of lackedNpcList.
       */
      int getLackedNpcListCount();
      /**
       * <code>repeated uint32 lackedNpcList = 10;</code>
       * @param index The index of the element to return.
       * @return The lackedNpcList at the given index.
       */
      int getLackedNpcList(int index);
  
      /**
       * <code>repeated uint32 finishProgressList = 11;</code>
       * @return A list containing the finishProgressList.
       */
      java.util.List<java.lang.Integer> getFinishProgressListList();
      /**
       * <code>repeated uint32 finishProgressList = 11;</code>
       * @return The count of finishProgressList.
       */
      int getFinishProgressListCount();
      /**
       * <code>repeated uint32 finishProgressList = 11;</code>
       * @param index The index of the element to return.
       * @return The finishProgressList at the given index.
       */
      int getFinishProgressList(int index);
  
      /**
       * <code>repeated uint32 failProgressList = 12;</code>
       * @return A list containing the failProgressList.
       */
      java.util.List<java.lang.Integer> getFailProgressListList();
      /**
       * <code>repeated uint32 failProgressList = 12;</code>
       * @return The count of failProgressList.
       */
      int getFailProgressListCount();
      /**
       * <code>repeated uint32 failProgressList = 12;</code>
       * @param index The index of the element to return.
       * @return The failProgressList at the given index.
       */
      int getFailProgressList(int index);
  
      /**
       * <code>map&lt;uint32, uint32&gt; lackedNpcMap = 13;</code>
       */
      int getLackedNpcMapCount();
      /**
       * <code>map&lt;uint32, uint32&gt; lackedNpcMap = 13;</code>
       */
      boolean containsLackedNpcMap(
          int key);
      /**
       * Use {@link #getLackedNpcMapMap()} instead.
       */
      @java.lang.Deprecated
      java.util.Map<java.lang.Integer, java.lang.Integer>
      getLackedNpcMap();
      /**
       * <code>map&lt;uint32, uint32&gt; lackedNpcMap = 13;</code>
       */
      java.util.Map<java.lang.Integer, java.lang.Integer>
      getLackedNpcMapMap();
      /**
       * <code>map&lt;uint32, uint32&gt; lackedNpcMap = 13;</code>
       */
  
      int getLackedNpcMapOrDefault(
          int key,
          int defaultValue);
      /**
       * <code>map&lt;uint32, uint32&gt; lackedNpcMap = 13;</code>
       */
  
      int getLackedNpcMapOrThrow(
          int key);
  
      /**
       * <code>repeated uint32 lackedPlaceList = 14;</code>
       * @return A list containing the lackedPlaceList.
       */
      java.util.List<java.lang.Integer> getLackedPlaceListList();
      /**
       * <code>repeated uint32 lackedPlaceList = 14;</code>
       * @return The count of lackedPlaceList.
       */
      int getLackedPlaceListCount();
      /**
       * <code>repeated uint32 lackedPlaceList = 14;</code>
       * @param index The index of the element to return.
       * @return The lackedPlaceList at the given index.
       */
      int getLackedPlaceList(int index);
  
      /**
       * <code>map&lt;uint32, uint32&gt; lackedPlaceMap = 15;</code>
       */
      int getLackedPlaceMapCount();
      /**
       * <code>map&lt;uint32, uint32&gt; lackedPlaceMap = 15;</code>
       */
      boolean containsLackedPlaceMap(
          int key);
      /**
       * Use {@link #getLackedPlaceMapMap()} instead.
       */
      @java.lang.Deprecated
      java.util.Map<java.lang.Integer, java.lang.Integer>
      getLackedPlaceMap();
      /**
       * <code>map&lt;uint32, uint32&gt; lackedPlaceMap = 15;</code>
       */
      java.util.Map<java.lang.Integer, java.lang.Integer>
      getLackedPlaceMapMap();
      /**
       * <code>map&lt;uint32, uint32&gt; lackedPlaceMap = 15;</code>
       */
  
      int getLackedPlaceMapOrDefault(
          int key,
          int defaultValue);
      /**
       * <code>map&lt;uint32, uint32&gt; lackedPlaceMap = 15;</code>
       */
  
      int getLackedPlaceMapOrThrow(
          int key);
    }
    /**
     * Protobuf type {@code Quest}
     */
    public static final class Quest extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:Quest)
        QuestOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use Quest.newBuilder() to construct.
      private Quest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private Quest() {
        lackedNpcList_ = emptyIntList();
        finishProgressList_ = emptyIntList();
        failProgressList_ = emptyIntList();
        lackedPlaceList_ = emptyIntList();
      }
  
      @java.lang.Override
      @SuppressWarnings({"unused"})
      protected java.lang.Object newInstance(
          UnusedPrivateParameter unused) {
        return new Quest();
      }
  
      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return this.unknownFields;
      }
      private Quest(
          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: {
  
                questId_ = input.readUInt32();
                break;
              }
              case 16: {
  
                state_ = input.readUInt32();
                break;
              }
              case 32: {
  
                startTime_ = input.readUInt32();
                break;
              }
              case 40: {
  
                isRandom_ = input.readBool();
                break;
              }
              case 48: {
  
                parentQuestId_ = input.readUInt32();
                break;
              }
              case 56: {
  
                questConfigId_ = input.readUInt32();
                break;
              }
              case 64: {
  
                startGameTime_ = input.readUInt32();
                break;
              }
              case 72: {
  
                acceptTime_ = input.readUInt32();
                break;
              }
              case 80: {
                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                  lackedNpcList_ = newIntList();
                  mutable_bitField0_ |= 0x00000001;
                }
                lackedNpcList_.addInt(input.readUInt32());
                break;
              }
              case 82: {
                int length = input.readRawVarint32();
                int limit = input.pushLimit(length);
                if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
                  lackedNpcList_ = newIntList();
                  mutable_bitField0_ |= 0x00000001;
                }
                while (input.getBytesUntilLimit() > 0) {
                  lackedNpcList_.addInt(input.readUInt32());
                }
                input.popLimit(limit);
                break;
              }
              case 88: {
                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                  finishProgressList_ = newIntList();
                  mutable_bitField0_ |= 0x00000002;
                }
                finishProgressList_.addInt(input.readUInt32());
                break;
              }
              case 90: {
                int length = input.readRawVarint32();
                int limit = input.pushLimit(length);
                if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) {
                  finishProgressList_ = newIntList();
                  mutable_bitField0_ |= 0x00000002;
                }
                while (input.getBytesUntilLimit() > 0) {
                  finishProgressList_.addInt(input.readUInt32());
                }
                input.popLimit(limit);
                break;
              }
              case 96: {
                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
                  failProgressList_ = newIntList();
                  mutable_bitField0_ |= 0x00000004;
                }
                failProgressList_.addInt(input.readUInt32());
                break;
              }
              case 98: {
                int length = input.readRawVarint32();
                int limit = input.pushLimit(length);
                if (!((mutable_bitField0_ & 0x00000004) != 0) && input.getBytesUntilLimit() > 0) {
                  failProgressList_ = newIntList();
                  mutable_bitField0_ |= 0x00000004;
                }
                while (input.getBytesUntilLimit() > 0) {
                  failProgressList_.addInt(input.readUInt32());
                }
                input.popLimit(limit);
                break;
              }
              case 106: {
                if (!((mutable_bitField0_ & 0x00000008) != 0)) {
                  lackedNpcMap_ = com.google.protobuf.MapField.newMapField(
                      LackedNpcMapDefaultEntryHolder.defaultEntry);
                  mutable_bitField0_ |= 0x00000008;
                }
                com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
                lackedNpcMap__ = input.readMessage(
                    LackedNpcMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
                lackedNpcMap_.getMutableMap().put(
                    lackedNpcMap__.getKey(), lackedNpcMap__.getValue());
                break;
              }
              case 112: {
                if (!((mutable_bitField0_ & 0x00000010) != 0)) {
                  lackedPlaceList_ = newIntList();
                  mutable_bitField0_ |= 0x00000010;
                }
                lackedPlaceList_.addInt(input.readUInt32());
                break;
              }
              case 114: {
                int length = input.readRawVarint32();
                int limit = input.pushLimit(length);
                if (!((mutable_bitField0_ & 0x00000010) != 0) && input.getBytesUntilLimit() > 0) {
                  lackedPlaceList_ = newIntList();
                  mutable_bitField0_ |= 0x00000010;
                }
                while (input.getBytesUntilLimit() > 0) {
                  lackedPlaceList_.addInt(input.readUInt32());
                }
                input.popLimit(limit);
                break;
              }
              case 122: {
                if (!((mutable_bitField0_ & 0x00000020) != 0)) {
                  lackedPlaceMap_ = com.google.protobuf.MapField.newMapField(
                      LackedPlaceMapDefaultEntryHolder.defaultEntry);
                  mutable_bitField0_ |= 0x00000020;
                }
                com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
                lackedPlaceMap__ = input.readMessage(
                    LackedPlaceMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
                lackedPlaceMap_.getMutableMap().put(
                    lackedPlaceMap__.getKey(), lackedPlaceMap__.getValue());
                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)) {
            lackedNpcList_.makeImmutable(); // C
          }
          if (((mutable_bitField0_ & 0x00000002) != 0)) {
            finishProgressList_.makeImmutable(); // C
          }
          if (((mutable_bitField0_ & 0x00000004) != 0)) {
            failProgressList_.makeImmutable(); // C
          }
          if (((mutable_bitField0_ & 0x00000010) != 0)) {
            lackedPlaceList_.makeImmutable(); // C
          }
          this.unknownFields = unknownFields.build();
          makeExtensionsImmutable();
        }
      }
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.QuestOuterClass.internal_static_Quest_descriptor;
      }
  
      @SuppressWarnings({"rawtypes"})
      @java.lang.Override
      protected com.google.protobuf.MapField internalGetMapField(
          int number) {
        switch (number) {
          case 13:
            return internalGetLackedNpcMap();
          case 15:
            return internalGetLackedPlaceMap();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return emu.grasscutter.net.proto.QuestOuterClass.internal_static_Quest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                emu.grasscutter.net.proto.QuestOuterClass.Quest.class, emu.grasscutter.net.proto.QuestOuterClass.Quest.Builder.class);
      }
  
      public static final int QUESTID_FIELD_NUMBER = 1;
      private int questId_;
      /**
       * <code>uint32 questId = 1;</code>
       * @return The questId.
       */
      @java.lang.Override
      public int getQuestId() {
        return questId_;
      }
  
      public static final int STATE_FIELD_NUMBER = 2;
      private int state_;
      /**
       * <code>uint32 state = 2;</code>
       * @return The state.
       */
      @java.lang.Override
      public int getState() {
        return state_;
      }
  
      public static final int STARTTIME_FIELD_NUMBER = 4;
      private int startTime_;
      /**
       * <code>uint32 startTime = 4;</code>
       * @return The startTime.
       */
      @java.lang.Override
      public int getStartTime() {
        return startTime_;
      }
  
      public static final int ISRANDOM_FIELD_NUMBER = 5;
      private boolean isRandom_;
      /**
       * <code>bool isRandom = 5;</code>
       * @return The isRandom.
       */
      @java.lang.Override
      public boolean getIsRandom() {
        return isRandom_;
      }
  
      public static final int PARENTQUESTID_FIELD_NUMBER = 6;
      private int parentQuestId_;
      /**
       * <code>uint32 parentQuestId = 6;</code>
       * @return The parentQuestId.
       */
      @java.lang.Override
      public int getParentQuestId() {
        return parentQuestId_;
      }
  
      public static final int QUESTCONFIGID_FIELD_NUMBER = 7;
      private int questConfigId_;
      /**
       * <code>uint32 questConfigId = 7;</code>
       * @return The questConfigId.
       */
      @java.lang.Override
      public int getQuestConfigId() {
        return questConfigId_;
      }
  
      public static final int STARTGAMETIME_FIELD_NUMBER = 8;
      private int startGameTime_;
      /**
       * <code>uint32 startGameTime = 8;</code>
       * @return The startGameTime.
       */
      @java.lang.Override
      public int getStartGameTime() {
        return startGameTime_;
      }
  
      public static final int ACCEPTTIME_FIELD_NUMBER = 9;
      private int acceptTime_;
      /**
       * <code>uint32 acceptTime = 9;</code>
       * @return The acceptTime.
       */
      @java.lang.Override
      public int getAcceptTime() {
        return acceptTime_;
      }
  
      public static final int LACKEDNPCLIST_FIELD_NUMBER = 10;
      private com.google.protobuf.Internal.IntList lackedNpcList_;
      /**
       * <code>repeated uint32 lackedNpcList = 10;</code>
       * @return A list containing the lackedNpcList.
       */
      @java.lang.Override
      public java.util.List<java.lang.Integer>
          getLackedNpcListList() {
        return lackedNpcList_;
      }
      /**
       * <code>repeated uint32 lackedNpcList = 10;</code>
       * @return The count of lackedNpcList.
       */
      public int getLackedNpcListCount() {
        return lackedNpcList_.size();
      }
      /**
       * <code>repeated uint32 lackedNpcList = 10;</code>
       * @param index The index of the element to return.
       * @return The lackedNpcList at the given index.
       */
      public int getLackedNpcList(int index) {
        return lackedNpcList_.getInt(index);
      }
      private int lackedNpcListMemoizedSerializedSize = -1;
  
      public static final int FINISHPROGRESSLIST_FIELD_NUMBER = 11;
      private com.google.protobuf.Internal.IntList finishProgressList_;
      /**
       * <code>repeated uint32 finishProgressList = 11;</code>
       * @return A list containing the finishProgressList.
       */
      @java.lang.Override
      public java.util.List<java.lang.Integer>
          getFinishProgressListList() {
        return finishProgressList_;
      }
      /**
       * <code>repeated uint32 finishProgressList = 11;</code>
       * @return The count of finishProgressList.
       */
      public int getFinishProgressListCount() {
        return finishProgressList_.size();
      }
      /**
       * <code>repeated uint32 finishProgressList = 11;</code>
       * @param index The index of the element to return.
       * @return The finishProgressList at the given index.
       */
      public int getFinishProgressList(int index) {
        return finishProgressList_.getInt(index);
      }
      private int finishProgressListMemoizedSerializedSize = -1;
  
      public static final int FAILPROGRESSLIST_FIELD_NUMBER = 12;
      private com.google.protobuf.Internal.IntList failProgressList_;
      /**
       * <code>repeated uint32 failProgressList = 12;</code>
       * @return A list containing the failProgressList.
       */
      @java.lang.Override
      public java.util.List<java.lang.Integer>
          getFailProgressListList() {
        return failProgressList_;
      }
      /**
       * <code>repeated uint32 failProgressList = 12;</code>
       * @return The count of failProgressList.
       */
      public int getFailProgressListCount() {
        return failProgressList_.size();
      }
      /**
       * <code>repeated uint32 failProgressList = 12;</code>
       * @param index The index of the element to return.
       * @return The failProgressList at the given index.
       */
      public int getFailProgressList(int index) {
        return failProgressList_.getInt(index);
      }
      private int failProgressListMemoizedSerializedSize = -1;
  
      public static final int LACKEDNPCMAP_FIELD_NUMBER = 13;
      private static final class LackedNpcMapDefaultEntryHolder {
        static final com.google.protobuf.MapEntry<
            java.lang.Integer, java.lang.Integer> defaultEntry =
                com.google.protobuf.MapEntry
                .<java.lang.Integer, java.lang.Integer>newDefaultInstance(
                    emu.grasscutter.net.proto.QuestOuterClass.internal_static_Quest_LackedNpcMapEntry_descriptor, 
                    com.google.protobuf.WireFormat.FieldType.UINT32,
                    0,
                    com.google.protobuf.WireFormat.FieldType.UINT32,
                    0);
      }
      private com.google.protobuf.MapField<
          java.lang.Integer, java.lang.Integer> lackedNpcMap_;
      private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
      internalGetLackedNpcMap() {
        if (lackedNpcMap_ == null) {
          return com.google.protobuf.MapField.emptyMapField(
              LackedNpcMapDefaultEntryHolder.defaultEntry);
        }
        return lackedNpcMap_;
      }
  
      public int getLackedNpcMapCount() {
        return internalGetLackedNpcMap().getMap().size();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; lackedNpcMap = 13;</code>
       */
  
      @java.lang.Override
      public boolean containsLackedNpcMap(
          int key) {
        
        return internalGetLackedNpcMap().getMap().containsKey(key);
      }
      /**
       * Use {@link #getLackedNpcMapMap()} instead.
       */
      @java.lang.Override
      @java.lang.Deprecated
      public java.util.Map<java.lang.Integer, java.lang.Integer> getLackedNpcMap() {
        return getLackedNpcMapMap();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; lackedNpcMap = 13;</code>
       */
      @java.lang.Override
  
      public java.util.Map<java.lang.Integer, java.lang.Integer> getLackedNpcMapMap() {
        return internalGetLackedNpcMap().getMap();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; lackedNpcMap = 13;</code>
       */
      @java.lang.Override
  
      public int getLackedNpcMapOrDefault(
          int key,
          int defaultValue) {
        
        java.util.Map<java.lang.Integer, java.lang.Integer> map =
            internalGetLackedNpcMap().getMap();
        return map.containsKey(key) ? map.get(key) : defaultValue;
      }
      /**
       * <code>map&lt;uint32, uint32&gt; lackedNpcMap = 13;</code>
       */
      @java.lang.Override
  
      public int getLackedNpcMapOrThrow(
          int key) {
        
        java.util.Map<java.lang.Integer, java.lang.Integer> map =
            internalGetLackedNpcMap().getMap();
        if (!map.containsKey(key)) {
          throw new java.lang.IllegalArgumentException();
        }
        return map.get(key);
      }
  
      public static final int LACKEDPLACELIST_FIELD_NUMBER = 14;
      private com.google.protobuf.Internal.IntList lackedPlaceList_;
      /**
       * <code>repeated uint32 lackedPlaceList = 14;</code>
       * @return A list containing the lackedPlaceList.
       */
      @java.lang.Override
      public java.util.List<java.lang.Integer>
          getLackedPlaceListList() {
        return lackedPlaceList_;
      }
      /**
       * <code>repeated uint32 lackedPlaceList = 14;</code>
       * @return The count of lackedPlaceList.
       */
      public int getLackedPlaceListCount() {
        return lackedPlaceList_.size();
      }
      /**
       * <code>repeated uint32 lackedPlaceList = 14;</code>
       * @param index The index of the element to return.
       * @return The lackedPlaceList at the given index.
       */
      public int getLackedPlaceList(int index) {
        return lackedPlaceList_.getInt(index);
      }
      private int lackedPlaceListMemoizedSerializedSize = -1;
  
      public static final int LACKEDPLACEMAP_FIELD_NUMBER = 15;
      private static final class LackedPlaceMapDefaultEntryHolder {
        static final com.google.protobuf.MapEntry<
            java.lang.Integer, java.lang.Integer> defaultEntry =
                com.google.protobuf.MapEntry
                .<java.lang.Integer, java.lang.Integer>newDefaultInstance(
                    emu.grasscutter.net.proto.QuestOuterClass.internal_static_Quest_LackedPlaceMapEntry_descriptor, 
                    com.google.protobuf.WireFormat.FieldType.UINT32,
                    0,
                    com.google.protobuf.WireFormat.FieldType.UINT32,
                    0);
      }
      private com.google.protobuf.MapField<
          java.lang.Integer, java.lang.Integer> lackedPlaceMap_;
      private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
      internalGetLackedPlaceMap() {
        if (lackedPlaceMap_ == null) {
          return com.google.protobuf.MapField.emptyMapField(
              LackedPlaceMapDefaultEntryHolder.defaultEntry);
        }
        return lackedPlaceMap_;
      }
  
      public int getLackedPlaceMapCount() {
        return internalGetLackedPlaceMap().getMap().size();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; lackedPlaceMap = 15;</code>
       */
  
      @java.lang.Override
      public boolean containsLackedPlaceMap(
          int key) {
        
        return internalGetLackedPlaceMap().getMap().containsKey(key);
      }
      /**
       * Use {@link #getLackedPlaceMapMap()} instead.
       */
      @java.lang.Override
      @java.lang.Deprecated
      public java.util.Map<java.lang.Integer, java.lang.Integer> getLackedPlaceMap() {
        return getLackedPlaceMapMap();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; lackedPlaceMap = 15;</code>
       */
      @java.lang.Override
  
      public java.util.Map<java.lang.Integer, java.lang.Integer> getLackedPlaceMapMap() {
        return internalGetLackedPlaceMap().getMap();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; lackedPlaceMap = 15;</code>
       */
      @java.lang.Override
  
      public int getLackedPlaceMapOrDefault(
          int key,
          int defaultValue) {
        
        java.util.Map<java.lang.Integer, java.lang.Integer> map =
            internalGetLackedPlaceMap().getMap();
        return map.containsKey(key) ? map.get(key) : defaultValue;
      }
      /**
       * <code>map&lt;uint32, uint32&gt; lackedPlaceMap = 15;</code>
       */
      @java.lang.Override
  
      public int getLackedPlaceMapOrThrow(
          int key) {
        
        java.util.Map<java.lang.Integer, java.lang.Integer> map =
            internalGetLackedPlaceMap().getMap();
        if (!map.containsKey(key)) {
          throw new java.lang.IllegalArgumentException();
        }
        return map.get(key);
      }
  
      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 (questId_ != 0) {
          output.writeUInt32(1, questId_);
        }
        if (state_ != 0) {
          output.writeUInt32(2, state_);
        }
        if (startTime_ != 0) {
          output.writeUInt32(4, startTime_);
        }
        if (isRandom_ != false) {
          output.writeBool(5, isRandom_);
        }
        if (parentQuestId_ != 0) {
          output.writeUInt32(6, parentQuestId_);
        }
        if (questConfigId_ != 0) {
          output.writeUInt32(7, questConfigId_);
        }
        if (startGameTime_ != 0) {
          output.writeUInt32(8, startGameTime_);
        }
        if (acceptTime_ != 0) {
          output.writeUInt32(9, acceptTime_);
        }
        if (getLackedNpcListList().size() > 0) {
          output.writeUInt32NoTag(82);
          output.writeUInt32NoTag(lackedNpcListMemoizedSerializedSize);
        }
        for (int i = 0; i < lackedNpcList_.size(); i++) {
          output.writeUInt32NoTag(lackedNpcList_.getInt(i));
        }
        if (getFinishProgressListList().size() > 0) {
          output.writeUInt32NoTag(90);
          output.writeUInt32NoTag(finishProgressListMemoizedSerializedSize);
        }
        for (int i = 0; i < finishProgressList_.size(); i++) {
          output.writeUInt32NoTag(finishProgressList_.getInt(i));
        }
        if (getFailProgressListList().size() > 0) {
          output.writeUInt32NoTag(98);
          output.writeUInt32NoTag(failProgressListMemoizedSerializedSize);
        }
        for (int i = 0; i < failProgressList_.size(); i++) {
          output.writeUInt32NoTag(failProgressList_.getInt(i));
        }
        com.google.protobuf.GeneratedMessageV3
          .serializeIntegerMapTo(
            output,
            internalGetLackedNpcMap(),
            LackedNpcMapDefaultEntryHolder.defaultEntry,
            13);
        if (getLackedPlaceListList().size() > 0) {
          output.writeUInt32NoTag(114);
          output.writeUInt32NoTag(lackedPlaceListMemoizedSerializedSize);
        }
        for (int i = 0; i < lackedPlaceList_.size(); i++) {
          output.writeUInt32NoTag(lackedPlaceList_.getInt(i));
        }
        com.google.protobuf.GeneratedMessageV3
          .serializeIntegerMapTo(
            output,
            internalGetLackedPlaceMap(),
            LackedPlaceMapDefaultEntryHolder.defaultEntry,
            15);
        unknownFields.writeTo(output);
      }
  
      @java.lang.Override
      public int getSerializedSize() {
        int size = memoizedSize;
        if (size != -1) return size;
  
        size = 0;
        if (questId_ != 0) {
          size += com.google.protobuf.CodedOutputStream
            .computeUInt32Size(1, questId_);
        }
        if (state_ != 0) {
          size += com.google.protobuf.CodedOutputStream
            .computeUInt32Size(2, state_);
        }
        if (startTime_ != 0) {
          size += com.google.protobuf.CodedOutputStream
            .computeUInt32Size(4, startTime_);
        }
        if (isRandom_ != false) {
          size += com.google.protobuf.CodedOutputStream
            .computeBoolSize(5, isRandom_);
        }
        if (parentQuestId_ != 0) {
          size += com.google.protobuf.CodedOutputStream
            .computeUInt32Size(6, parentQuestId_);
        }
        if (questConfigId_ != 0) {
          size += com.google.protobuf.CodedOutputStream
            .computeUInt32Size(7, questConfigId_);
        }
        if (startGameTime_ != 0) {
          size += com.google.protobuf.CodedOutputStream
            .computeUInt32Size(8, startGameTime_);
        }
        if (acceptTime_ != 0) {
          size += com.google.protobuf.CodedOutputStream
            .computeUInt32Size(9, acceptTime_);
        }
        {
          int dataSize = 0;
          for (int i = 0; i < lackedNpcList_.size(); i++) {
            dataSize += com.google.protobuf.CodedOutputStream
              .computeUInt32SizeNoTag(lackedNpcList_.getInt(i));
          }
          size += dataSize;
          if (!getLackedNpcListList().isEmpty()) {
            size += 1;
            size += com.google.protobuf.CodedOutputStream
                .computeInt32SizeNoTag(dataSize);
          }
          lackedNpcListMemoizedSerializedSize = dataSize;
        }
        {
          int dataSize = 0;
          for (int i = 0; i < finishProgressList_.size(); i++) {
            dataSize += com.google.protobuf.CodedOutputStream
              .computeUInt32SizeNoTag(finishProgressList_.getInt(i));
          }
          size += dataSize;
          if (!getFinishProgressListList().isEmpty()) {
            size += 1;
            size += com.google.protobuf.CodedOutputStream
                .computeInt32SizeNoTag(dataSize);
          }
          finishProgressListMemoizedSerializedSize = dataSize;
        }
        {
          int dataSize = 0;
          for (int i = 0; i < failProgressList_.size(); i++) {
            dataSize += com.google.protobuf.CodedOutputStream
              .computeUInt32SizeNoTag(failProgressList_.getInt(i));
          }
          size += dataSize;
          if (!getFailProgressListList().isEmpty()) {
            size += 1;
            size += com.google.protobuf.CodedOutputStream
                .computeInt32SizeNoTag(dataSize);
          }
          failProgressListMemoizedSerializedSize = dataSize;
        }
        for (java.util.Map.Entry<java.lang.Integer, java.lang.Integer> entry
             : internalGetLackedNpcMap().getMap().entrySet()) {
          com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
          lackedNpcMap__ = LackedNpcMapDefaultEntryHolder.defaultEntry.newBuilderForType()
              .setKey(entry.getKey())
              .setValue(entry.getValue())
              .build();
          size += com.google.protobuf.CodedOutputStream
              .computeMessageSize(13, lackedNpcMap__);
        }
        {
          int dataSize = 0;
          for (int i = 0; i < lackedPlaceList_.size(); i++) {
            dataSize += com.google.protobuf.CodedOutputStream
              .computeUInt32SizeNoTag(lackedPlaceList_.getInt(i));
          }
          size += dataSize;
          if (!getLackedPlaceListList().isEmpty()) {
            size += 1;
            size += com.google.protobuf.CodedOutputStream
                .computeInt32SizeNoTag(dataSize);
          }
          lackedPlaceListMemoizedSerializedSize = dataSize;
        }
        for (java.util.Map.Entry<java.lang.Integer, java.lang.Integer> entry
             : internalGetLackedPlaceMap().getMap().entrySet()) {
          com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
          lackedPlaceMap__ = LackedPlaceMapDefaultEntryHolder.defaultEntry.newBuilderForType()
              .setKey(entry.getKey())
              .setValue(entry.getValue())
              .build();
          size += com.google.protobuf.CodedOutputStream
              .computeMessageSize(15, lackedPlaceMap__);
        }
        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.QuestOuterClass.Quest)) {
          return super.equals(obj);
        }
        emu.grasscutter.net.proto.QuestOuterClass.Quest other = (emu.grasscutter.net.proto.QuestOuterClass.Quest) obj;
  
        if (getQuestId()
            != other.getQuestId()) return false;
        if (getState()
            != other.getState()) return false;
        if (getStartTime()
            != other.getStartTime()) return false;
        if (getIsRandom()
            != other.getIsRandom()) return false;
        if (getParentQuestId()
            != other.getParentQuestId()) return false;
        if (getQuestConfigId()
            != other.getQuestConfigId()) return false;
        if (getStartGameTime()
            != other.getStartGameTime()) return false;
        if (getAcceptTime()
            != other.getAcceptTime()) return false;
        if (!getLackedNpcListList()
            .equals(other.getLackedNpcListList())) return false;
        if (!getFinishProgressListList()
            .equals(other.getFinishProgressListList())) return false;
        if (!getFailProgressListList()
            .equals(other.getFailProgressListList())) return false;
        if (!internalGetLackedNpcMap().equals(
            other.internalGetLackedNpcMap())) return false;
        if (!getLackedPlaceListList()
            .equals(other.getLackedPlaceListList())) return false;
        if (!internalGetLackedPlaceMap().equals(
            other.internalGetLackedPlaceMap())) 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) + QUESTID_FIELD_NUMBER;
        hash = (53 * hash) + getQuestId();
        hash = (37 * hash) + STATE_FIELD_NUMBER;
        hash = (53 * hash) + getState();
        hash = (37 * hash) + STARTTIME_FIELD_NUMBER;
        hash = (53 * hash) + getStartTime();
        hash = (37 * hash) + ISRANDOM_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
            getIsRandom());
        hash = (37 * hash) + PARENTQUESTID_FIELD_NUMBER;
        hash = (53 * hash) + getParentQuestId();
        hash = (37 * hash) + QUESTCONFIGID_FIELD_NUMBER;
        hash = (53 * hash) + getQuestConfigId();
        hash = (37 * hash) + STARTGAMETIME_FIELD_NUMBER;
        hash = (53 * hash) + getStartGameTime();
        hash = (37 * hash) + ACCEPTTIME_FIELD_NUMBER;
        hash = (53 * hash) + getAcceptTime();
        if (getLackedNpcListCount() > 0) {
          hash = (37 * hash) + LACKEDNPCLIST_FIELD_NUMBER;
          hash = (53 * hash) + getLackedNpcListList().hashCode();
        }
        if (getFinishProgressListCount() > 0) {
          hash = (37 * hash) + FINISHPROGRESSLIST_FIELD_NUMBER;
          hash = (53 * hash) + getFinishProgressListList().hashCode();
        }
        if (getFailProgressListCount() > 0) {
          hash = (37 * hash) + FAILPROGRESSLIST_FIELD_NUMBER;
          hash = (53 * hash) + getFailProgressListList().hashCode();
        }
        if (!internalGetLackedNpcMap().getMap().isEmpty()) {
          hash = (37 * hash) + LACKEDNPCMAP_FIELD_NUMBER;
          hash = (53 * hash) + internalGetLackedNpcMap().hashCode();
        }
        if (getLackedPlaceListCount() > 0) {
          hash = (37 * hash) + LACKEDPLACELIST_FIELD_NUMBER;
          hash = (53 * hash) + getLackedPlaceListList().hashCode();
        }
        if (!internalGetLackedPlaceMap().getMap().isEmpty()) {
          hash = (37 * hash) + LACKEDPLACEMAP_FIELD_NUMBER;
          hash = (53 * hash) + internalGetLackedPlaceMap().hashCode();
        }
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }
  
      public static emu.grasscutter.net.proto.QuestOuterClass.Quest parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static emu.grasscutter.net.proto.QuestOuterClass.Quest 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.QuestOuterClass.Quest parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static emu.grasscutter.net.proto.QuestOuterClass.Quest 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.QuestOuterClass.Quest parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static emu.grasscutter.net.proto.QuestOuterClass.Quest parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static emu.grasscutter.net.proto.QuestOuterClass.Quest parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static emu.grasscutter.net.proto.QuestOuterClass.Quest 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.QuestOuterClass.Quest parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input);
      }
      public static emu.grasscutter.net.proto.QuestOuterClass.Quest 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.QuestOuterClass.Quest parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static emu.grasscutter.net.proto.QuestOuterClass.Quest 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.QuestOuterClass.Quest prototype) {
        return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
      }
      @java.lang.Override
      public Builder toBuilder() {
        return this == DEFAULT_INSTANCE
            ? new Builder() : new Builder().mergeFrom(this);
      }
  
      @java.lang.Override
      protected Builder newBuilderForType(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        Builder builder = new Builder(parent);
        return builder;
      }
      /**
       * Protobuf type {@code Quest}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:Quest)
          emu.grasscutter.net.proto.QuestOuterClass.QuestOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return emu.grasscutter.net.proto.QuestOuterClass.internal_static_Quest_descriptor;
        }
  
        @SuppressWarnings({"rawtypes"})
        protected com.google.protobuf.MapField internalGetMapField(
            int number) {
          switch (number) {
            case 13:
              return internalGetLackedNpcMap();
            case 15:
              return internalGetLackedPlaceMap();
            default:
              throw new RuntimeException(
                  "Invalid map field number: " + number);
          }
        }
        @SuppressWarnings({"rawtypes"})
        protected com.google.protobuf.MapField internalGetMutableMapField(
            int number) {
          switch (number) {
            case 13:
              return internalGetMutableLackedNpcMap();
            case 15:
              return internalGetMutableLackedPlaceMap();
            default:
              throw new RuntimeException(
                  "Invalid map field number: " + number);
          }
        }
        @java.lang.Override
        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return emu.grasscutter.net.proto.QuestOuterClass.internal_static_Quest_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  emu.grasscutter.net.proto.QuestOuterClass.Quest.class, emu.grasscutter.net.proto.QuestOuterClass.Quest.Builder.class);
        }
  
        // Construct using emu.grasscutter.net.proto.QuestOuterClass.Quest.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();
          questId_ = 0;
  
          state_ = 0;
  
          startTime_ = 0;
  
          isRandom_ = false;
  
          parentQuestId_ = 0;
  
          questConfigId_ = 0;
  
          startGameTime_ = 0;
  
          acceptTime_ = 0;
  
          lackedNpcList_ = emptyIntList();
          bitField0_ = (bitField0_ & ~0x00000001);
          finishProgressList_ = emptyIntList();
          bitField0_ = (bitField0_ & ~0x00000002);
          failProgressList_ = emptyIntList();
          bitField0_ = (bitField0_ & ~0x00000004);
          internalGetMutableLackedNpcMap().clear();
          lackedPlaceList_ = emptyIntList();
          bitField0_ = (bitField0_ & ~0x00000010);
          internalGetMutableLackedPlaceMap().clear();
          return this;
        }
  
        @java.lang.Override
        public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return emu.grasscutter.net.proto.QuestOuterClass.internal_static_Quest_descriptor;
        }
  
        @java.lang.Override
        public emu.grasscutter.net.proto.QuestOuterClass.Quest getDefaultInstanceForType() {
          return emu.grasscutter.net.proto.QuestOuterClass.Quest.getDefaultInstance();
        }
  
        @java.lang.Override
        public emu.grasscutter.net.proto.QuestOuterClass.Quest build() {
          emu.grasscutter.net.proto.QuestOuterClass.Quest result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }
  
        @java.lang.Override
        public emu.grasscutter.net.proto.QuestOuterClass.Quest buildPartial() {
          emu.grasscutter.net.proto.QuestOuterClass.Quest result = new emu.grasscutter.net.proto.QuestOuterClass.Quest(this);
          int from_bitField0_ = bitField0_;
          result.questId_ = questId_;
          result.state_ = state_;
          result.startTime_ = startTime_;
          result.isRandom_ = isRandom_;
          result.parentQuestId_ = parentQuestId_;
          result.questConfigId_ = questConfigId_;
          result.startGameTime_ = startGameTime_;
          result.acceptTime_ = acceptTime_;
          if (((bitField0_ & 0x00000001) != 0)) {
            lackedNpcList_.makeImmutable();
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.lackedNpcList_ = lackedNpcList_;
          if (((bitField0_ & 0x00000002) != 0)) {
            finishProgressList_.makeImmutable();
            bitField0_ = (bitField0_ & ~0x00000002);
          }
          result.finishProgressList_ = finishProgressList_;
          if (((bitField0_ & 0x00000004) != 0)) {
            failProgressList_.makeImmutable();
            bitField0_ = (bitField0_ & ~0x00000004);
          }
          result.failProgressList_ = failProgressList_;
          result.lackedNpcMap_ = internalGetLackedNpcMap();
          result.lackedNpcMap_.makeImmutable();
          if (((bitField0_ & 0x00000010) != 0)) {
            lackedPlaceList_.makeImmutable();
            bitField0_ = (bitField0_ & ~0x00000010);
          }
          result.lackedPlaceList_ = lackedPlaceList_;
          result.lackedPlaceMap_ = internalGetLackedPlaceMap();
          result.lackedPlaceMap_.makeImmutable();
          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.QuestOuterClass.Quest) {
            return mergeFrom((emu.grasscutter.net.proto.QuestOuterClass.Quest)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }
  
        public Builder mergeFrom(emu.grasscutter.net.proto.QuestOuterClass.Quest other) {
          if (other == emu.grasscutter.net.proto.QuestOuterClass.Quest.getDefaultInstance()) return this;
          if (other.getQuestId() != 0) {
            setQuestId(other.getQuestId());
          }
          if (other.getState() != 0) {
            setState(other.getState());
          }
          if (other.getStartTime() != 0) {
            setStartTime(other.getStartTime());
          }
          if (other.getIsRandom() != false) {
            setIsRandom(other.getIsRandom());
          }
          if (other.getParentQuestId() != 0) {
            setParentQuestId(other.getParentQuestId());
          }
          if (other.getQuestConfigId() != 0) {
            setQuestConfigId(other.getQuestConfigId());
          }
          if (other.getStartGameTime() != 0) {
            setStartGameTime(other.getStartGameTime());
          }
          if (other.getAcceptTime() != 0) {
            setAcceptTime(other.getAcceptTime());
          }
          if (!other.lackedNpcList_.isEmpty()) {
            if (lackedNpcList_.isEmpty()) {
              lackedNpcList_ = other.lackedNpcList_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureLackedNpcListIsMutable();
              lackedNpcList_.addAll(other.lackedNpcList_);
            }
            onChanged();
          }
          if (!other.finishProgressList_.isEmpty()) {
            if (finishProgressList_.isEmpty()) {
              finishProgressList_ = other.finishProgressList_;
              bitField0_ = (bitField0_ & ~0x00000002);
            } else {
              ensureFinishProgressListIsMutable();
              finishProgressList_.addAll(other.finishProgressList_);
            }
            onChanged();
          }
          if (!other.failProgressList_.isEmpty()) {
            if (failProgressList_.isEmpty()) {
              failProgressList_ = other.failProgressList_;
              bitField0_ = (bitField0_ & ~0x00000004);
            } else {
              ensureFailProgressListIsMutable();
              failProgressList_.addAll(other.failProgressList_);
            }
            onChanged();
          }
          internalGetMutableLackedNpcMap().mergeFrom(
              other.internalGetLackedNpcMap());
          if (!other.lackedPlaceList_.isEmpty()) {
            if (lackedPlaceList_.isEmpty()) {
              lackedPlaceList_ = other.lackedPlaceList_;
              bitField0_ = (bitField0_ & ~0x00000010);
            } else {
              ensureLackedPlaceListIsMutable();
              lackedPlaceList_.addAll(other.lackedPlaceList_);
            }
            onChanged();
          }
          internalGetMutableLackedPlaceMap().mergeFrom(
              other.internalGetLackedPlaceMap());
          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.QuestOuterClass.Quest parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (emu.grasscutter.net.proto.QuestOuterClass.Quest) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
        private int bitField0_;
  
        private int questId_ ;
        /**
         * <code>uint32 questId = 1;</code>
         * @return The questId.
         */
        @java.lang.Override
        public int getQuestId() {
          return questId_;
        }
        /**
         * <code>uint32 questId = 1;</code>
         * @param value The questId to set.
         * @return This builder for chaining.
         */
        public Builder setQuestId(int value) {
          
          questId_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>uint32 questId = 1;</code>
         * @return This builder for chaining.
         */
        public Builder clearQuestId() {
          
          questId_ = 0;
          onChanged();
          return this;
        }
  
        private int state_ ;
        /**
         * <code>uint32 state = 2;</code>
         * @return The state.
         */
        @java.lang.Override
        public int getState() {
          return state_;
        }
        /**
         * <code>uint32 state = 2;</code>
         * @param value The state to set.
         * @return This builder for chaining.
         */
        public Builder setState(int value) {
          
          state_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>uint32 state = 2;</code>
         * @return This builder for chaining.
         */
        public Builder clearState() {
          
          state_ = 0;
          onChanged();
          return this;
        }
  
        private int startTime_ ;
        /**
         * <code>uint32 startTime = 4;</code>
         * @return The startTime.
         */
        @java.lang.Override
        public int getStartTime() {
          return startTime_;
        }
        /**
         * <code>uint32 startTime = 4;</code>
         * @param value The startTime to set.
         * @return This builder for chaining.
         */
        public Builder setStartTime(int value) {
          
          startTime_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>uint32 startTime = 4;</code>
         * @return This builder for chaining.
         */
        public Builder clearStartTime() {
          
          startTime_ = 0;
          onChanged();
          return this;
        }
  
        private boolean isRandom_ ;
        /**
         * <code>bool isRandom = 5;</code>
         * @return The isRandom.
         */
        @java.lang.Override
        public boolean getIsRandom() {
          return isRandom_;
        }
        /**
         * <code>bool isRandom = 5;</code>
         * @param value The isRandom to set.
         * @return This builder for chaining.
         */
        public Builder setIsRandom(boolean value) {
          
          isRandom_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>bool isRandom = 5;</code>
         * @return This builder for chaining.
         */
        public Builder clearIsRandom() {
          
          isRandom_ = false;
          onChanged();
          return this;
        }
  
        private int parentQuestId_ ;
        /**
         * <code>uint32 parentQuestId = 6;</code>
         * @return The parentQuestId.
         */
        @java.lang.Override
        public int getParentQuestId() {
          return parentQuestId_;
        }
        /**
         * <code>uint32 parentQuestId = 6;</code>
         * @param value The parentQuestId to set.
         * @return This builder for chaining.
         */
        public Builder setParentQuestId(int value) {
          
          parentQuestId_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>uint32 parentQuestId = 6;</code>
         * @return This builder for chaining.
         */
        public Builder clearParentQuestId() {
          
          parentQuestId_ = 0;
          onChanged();
          return this;
        }
  
        private int questConfigId_ ;
        /**
         * <code>uint32 questConfigId = 7;</code>
         * @return The questConfigId.
         */
        @java.lang.Override
        public int getQuestConfigId() {
          return questConfigId_;
        }
        /**
         * <code>uint32 questConfigId = 7;</code>
         * @param value The questConfigId to set.
         * @return This builder for chaining.
         */
        public Builder setQuestConfigId(int value) {
          
          questConfigId_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>uint32 questConfigId = 7;</code>
         * @return This builder for chaining.
         */
        public Builder clearQuestConfigId() {
          
          questConfigId_ = 0;
          onChanged();
          return this;
        }
  
        private int startGameTime_ ;
        /**
         * <code>uint32 startGameTime = 8;</code>
         * @return The startGameTime.
         */
        @java.lang.Override
        public int getStartGameTime() {
          return startGameTime_;
        }
        /**
         * <code>uint32 startGameTime = 8;</code>
         * @param value The startGameTime to set.
         * @return This builder for chaining.
         */
        public Builder setStartGameTime(int value) {
          
          startGameTime_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>uint32 startGameTime = 8;</code>
         * @return This builder for chaining.
         */
        public Builder clearStartGameTime() {
          
          startGameTime_ = 0;
          onChanged();
          return this;
        }
  
        private int acceptTime_ ;
        /**
         * <code>uint32 acceptTime = 9;</code>
         * @return The acceptTime.
         */
        @java.lang.Override
        public int getAcceptTime() {
          return acceptTime_;
        }
        /**
         * <code>uint32 acceptTime = 9;</code>
         * @param value The acceptTime to set.
         * @return This builder for chaining.
         */
        public Builder setAcceptTime(int value) {
          
          acceptTime_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>uint32 acceptTime = 9;</code>
         * @return This builder for chaining.
         */
        public Builder clearAcceptTime() {
          
          acceptTime_ = 0;
          onChanged();
          return this;
        }
  
        private com.google.protobuf.Internal.IntList lackedNpcList_ = emptyIntList();
        private void ensureLackedNpcListIsMutable() {
          if (!((bitField0_ & 0x00000001) != 0)) {
            lackedNpcList_ = mutableCopy(lackedNpcList_);
            bitField0_ |= 0x00000001;
           }
        }
        /**
         * <code>repeated uint32 lackedNpcList = 10;</code>
         * @return A list containing the lackedNpcList.
         */
        public java.util.List<java.lang.Integer>
            getLackedNpcListList() {
          return ((bitField0_ & 0x00000001) != 0) ?
                   java.util.Collections.unmodifiableList(lackedNpcList_) : lackedNpcList_;
        }
        /**
         * <code>repeated uint32 lackedNpcList = 10;</code>
         * @return The count of lackedNpcList.
         */
        public int getLackedNpcListCount() {
          return lackedNpcList_.size();
        }
        /**
         * <code>repeated uint32 lackedNpcList = 10;</code>
         * @param index The index of the element to return.
         * @return The lackedNpcList at the given index.
         */
        public int getLackedNpcList(int index) {
          return lackedNpcList_.getInt(index);
        }
        /**
         * <code>repeated uint32 lackedNpcList = 10;</code>
         * @param index The index to set the value at.
         * @param value The lackedNpcList to set.
         * @return This builder for chaining.
         */
        public Builder setLackedNpcList(
            int index, int value) {
          ensureLackedNpcListIsMutable();
          lackedNpcList_.setInt(index, value);
          onChanged();
          return this;
        }
        /**
         * <code>repeated uint32 lackedNpcList = 10;</code>
         * @param value The lackedNpcList to add.
         * @return This builder for chaining.
         */
        public Builder addLackedNpcList(int value) {
          ensureLackedNpcListIsMutable();
          lackedNpcList_.addInt(value);
          onChanged();
          return this;
        }
        /**
         * <code>repeated uint32 lackedNpcList = 10;</code>
         * @param values The lackedNpcList to add.
         * @return This builder for chaining.
         */
        public Builder addAllLackedNpcList(
            java.lang.Iterable<? extends java.lang.Integer> values) {
          ensureLackedNpcListIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, lackedNpcList_);
          onChanged();
          return this;
        }
        /**
         * <code>repeated uint32 lackedNpcList = 10;</code>
         * @return This builder for chaining.
         */
        public Builder clearLackedNpcList() {
          lackedNpcList_ = emptyIntList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
          return this;
        }
  
        private com.google.protobuf.Internal.IntList finishProgressList_ = emptyIntList();
        private void ensureFinishProgressListIsMutable() {
          if (!((bitField0_ & 0x00000002) != 0)) {
            finishProgressList_ = mutableCopy(finishProgressList_);
            bitField0_ |= 0x00000002;
           }
        }
        /**
         * <code>repeated uint32 finishProgressList = 11;</code>
         * @return A list containing the finishProgressList.
         */
        public java.util.List<java.lang.Integer>
            getFinishProgressListList() {
          return ((bitField0_ & 0x00000002) != 0) ?
                   java.util.Collections.unmodifiableList(finishProgressList_) : finishProgressList_;
        }
        /**
         * <code>repeated uint32 finishProgressList = 11;</code>
         * @return The count of finishProgressList.
         */
        public int getFinishProgressListCount() {
          return finishProgressList_.size();
        }
        /**
         * <code>repeated uint32 finishProgressList = 11;</code>
         * @param index The index of the element to return.
         * @return The finishProgressList at the given index.
         */
        public int getFinishProgressList(int index) {
          return finishProgressList_.getInt(index);
        }
        /**
         * <code>repeated uint32 finishProgressList = 11;</code>
         * @param index The index to set the value at.
         * @param value The finishProgressList to set.
         * @return This builder for chaining.
         */
        public Builder setFinishProgressList(
            int index, int value) {
          ensureFinishProgressListIsMutable();
          finishProgressList_.setInt(index, value);
          onChanged();
          return this;
        }
        /**
         * <code>repeated uint32 finishProgressList = 11;</code>
         * @param value The finishProgressList to add.
         * @return This builder for chaining.
         */
        public Builder addFinishProgressList(int value) {
          ensureFinishProgressListIsMutable();
          finishProgressList_.addInt(value);
          onChanged();
          return this;
        }
        /**
         * <code>repeated uint32 finishProgressList = 11;</code>
         * @param values The finishProgressList to add.
         * @return This builder for chaining.
         */
        public Builder addAllFinishProgressList(
            java.lang.Iterable<? extends java.lang.Integer> values) {
          ensureFinishProgressListIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, finishProgressList_);
          onChanged();
          return this;
        }
        /**
         * <code>repeated uint32 finishProgressList = 11;</code>
         * @return This builder for chaining.
         */
        public Builder clearFinishProgressList() {
          finishProgressList_ = emptyIntList();
          bitField0_ = (bitField0_ & ~0x00000002);
          onChanged();
          return this;
        }
  
        private com.google.protobuf.Internal.IntList failProgressList_ = emptyIntList();
        private void ensureFailProgressListIsMutable() {
          if (!((bitField0_ & 0x00000004) != 0)) {
            failProgressList_ = mutableCopy(failProgressList_);
            bitField0_ |= 0x00000004;
           }
        }
        /**
         * <code>repeated uint32 failProgressList = 12;</code>
         * @return A list containing the failProgressList.
         */
        public java.util.List<java.lang.Integer>
            getFailProgressListList() {
          return ((bitField0_ & 0x00000004) != 0) ?
                   java.util.Collections.unmodifiableList(failProgressList_) : failProgressList_;
        }
        /**
         * <code>repeated uint32 failProgressList = 12;</code>
         * @return The count of failProgressList.
         */
        public int getFailProgressListCount() {
          return failProgressList_.size();
        }
        /**
         * <code>repeated uint32 failProgressList = 12;</code>
         * @param index The index of the element to return.
         * @return The failProgressList at the given index.
         */
        public int getFailProgressList(int index) {
          return failProgressList_.getInt(index);
        }
        /**
         * <code>repeated uint32 failProgressList = 12;</code>
         * @param index The index to set the value at.
         * @param value The failProgressList to set.
         * @return This builder for chaining.
         */
        public Builder setFailProgressList(
            int index, int value) {
          ensureFailProgressListIsMutable();
          failProgressList_.setInt(index, value);
          onChanged();
          return this;
        }
        /**
         * <code>repeated uint32 failProgressList = 12;</code>
         * @param value The failProgressList to add.
         * @return This builder for chaining.
         */
        public Builder addFailProgressList(int value) {
          ensureFailProgressListIsMutable();
          failProgressList_.addInt(value);
          onChanged();
          return this;
        }
        /**
         * <code>repeated uint32 failProgressList = 12;</code>
         * @param values The failProgressList to add.
         * @return This builder for chaining.
         */
        public Builder addAllFailProgressList(
            java.lang.Iterable<? extends java.lang.Integer> values) {
          ensureFailProgressListIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, failProgressList_);
          onChanged();
          return this;
        }
        /**
         * <code>repeated uint32 failProgressList = 12;</code>
         * @return This builder for chaining.
         */
        public Builder clearFailProgressList() {
          failProgressList_ = emptyIntList();
          bitField0_ = (bitField0_ & ~0x00000004);
          onChanged();
          return this;
        }
  
        private com.google.protobuf.MapField<
            java.lang.Integer, java.lang.Integer> lackedNpcMap_;
        private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
        internalGetLackedNpcMap() {
          if (lackedNpcMap_ == null) {
            return com.google.protobuf.MapField.emptyMapField(
                LackedNpcMapDefaultEntryHolder.defaultEntry);
          }
          return lackedNpcMap_;
        }
        private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
        internalGetMutableLackedNpcMap() {
          onChanged();;
          if (lackedNpcMap_ == null) {
            lackedNpcMap_ = com.google.protobuf.MapField.newMapField(
                LackedNpcMapDefaultEntryHolder.defaultEntry);
          }
          if (!lackedNpcMap_.isMutable()) {
            lackedNpcMap_ = lackedNpcMap_.copy();
          }
          return lackedNpcMap_;
        }
  
        public int getLackedNpcMapCount() {
          return internalGetLackedNpcMap().getMap().size();
        }
        /**
         * <code>map&lt;uint32, uint32&gt; lackedNpcMap = 13;</code>
         */
  
        @java.lang.Override
        public boolean containsLackedNpcMap(
            int key) {
          
          return internalGetLackedNpcMap().getMap().containsKey(key);
        }
        /**
         * Use {@link #getLackedNpcMapMap()} instead.
         */
        @java.lang.Override
        @java.lang.Deprecated
        public java.util.Map<java.lang.Integer, java.lang.Integer> getLackedNpcMap() {
          return getLackedNpcMapMap();
        }
        /**
         * <code>map&lt;uint32, uint32&gt; lackedNpcMap = 13;</code>
         */
        @java.lang.Override
  
        public java.util.Map<java.lang.Integer, java.lang.Integer> getLackedNpcMapMap() {
          return internalGetLackedNpcMap().getMap();
        }
        /**
         * <code>map&lt;uint32, uint32&gt; lackedNpcMap = 13;</code>
         */
        @java.lang.Override
  
        public int getLackedNpcMapOrDefault(
            int key,
            int defaultValue) {
          
          java.util.Map<java.lang.Integer, java.lang.Integer> map =
              internalGetLackedNpcMap().getMap();
          return map.containsKey(key) ? map.get(key) : defaultValue;
        }
        /**
         * <code>map&lt;uint32, uint32&gt; lackedNpcMap = 13;</code>
         */
        @java.lang.Override
  
        public int getLackedNpcMapOrThrow(
            int key) {
          
          java.util.Map<java.lang.Integer, java.lang.Integer> map =
              internalGetLackedNpcMap().getMap();
          if (!map.containsKey(key)) {
            throw new java.lang.IllegalArgumentException();
          }
          return map.get(key);
        }
  
        public Builder clearLackedNpcMap() {
          internalGetMutableLackedNpcMap().getMutableMap()
              .clear();
          return this;
        }
        /**
         * <code>map&lt;uint32, uint32&gt; lackedNpcMap = 13;</code>
         */
  
        public Builder removeLackedNpcMap(
            int key) {
          
          internalGetMutableLackedNpcMap().getMutableMap()
              .remove(key);
          return this;
        }
        /**
         * Use alternate mutation accessors instead.
         */
        @java.lang.Deprecated
        public java.util.Map<java.lang.Integer, java.lang.Integer>
        getMutableLackedNpcMap() {
          return internalGetMutableLackedNpcMap().getMutableMap();
        }
        /**
         * <code>map&lt;uint32, uint32&gt; lackedNpcMap = 13;</code>
         */
        public Builder putLackedNpcMap(
            int key,
            int value) {
          
          
          internalGetMutableLackedNpcMap().getMutableMap()
              .put(key, value);
          return this;
        }
        /**
         * <code>map&lt;uint32, uint32&gt; lackedNpcMap = 13;</code>
         */
  
        public Builder putAllLackedNpcMap(
            java.util.Map<java.lang.Integer, java.lang.Integer> values) {
          internalGetMutableLackedNpcMap().getMutableMap()
              .putAll(values);
          return this;
        }
  
        private com.google.protobuf.Internal.IntList lackedPlaceList_ = emptyIntList();
        private void ensureLackedPlaceListIsMutable() {
          if (!((bitField0_ & 0x00000010) != 0)) {
            lackedPlaceList_ = mutableCopy(lackedPlaceList_);
            bitField0_ |= 0x00000010;
           }
        }
        /**
         * <code>repeated uint32 lackedPlaceList = 14;</code>
         * @return A list containing the lackedPlaceList.
         */
        public java.util.List<java.lang.Integer>
            getLackedPlaceListList() {
          return ((bitField0_ & 0x00000010) != 0) ?
                   java.util.Collections.unmodifiableList(lackedPlaceList_) : lackedPlaceList_;
        }
        /**
         * <code>repeated uint32 lackedPlaceList = 14;</code>
         * @return The count of lackedPlaceList.
         */
        public int getLackedPlaceListCount() {
          return lackedPlaceList_.size();
        }
        /**
         * <code>repeated uint32 lackedPlaceList = 14;</code>
         * @param index The index of the element to return.
         * @return The lackedPlaceList at the given index.
         */
        public int getLackedPlaceList(int index) {
          return lackedPlaceList_.getInt(index);
        }
        /**
         * <code>repeated uint32 lackedPlaceList = 14;</code>
         * @param index The index to set the value at.
         * @param value The lackedPlaceList to set.
         * @return This builder for chaining.
         */
        public Builder setLackedPlaceList(
            int index, int value) {
          ensureLackedPlaceListIsMutable();
          lackedPlaceList_.setInt(index, value);
          onChanged();
          return this;
        }
        /**
         * <code>repeated uint32 lackedPlaceList = 14;</code>
         * @param value The lackedPlaceList to add.
         * @return This builder for chaining.
         */
        public Builder addLackedPlaceList(int value) {
          ensureLackedPlaceListIsMutable();
          lackedPlaceList_.addInt(value);
          onChanged();
          return this;
        }
        /**
         * <code>repeated uint32 lackedPlaceList = 14;</code>
         * @param values The lackedPlaceList to add.
         * @return This builder for chaining.
         */
        public Builder addAllLackedPlaceList(
            java.lang.Iterable<? extends java.lang.Integer> values) {
          ensureLackedPlaceListIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, lackedPlaceList_);
          onChanged();
          return this;
        }
        /**
         * <code>repeated uint32 lackedPlaceList = 14;</code>
         * @return This builder for chaining.
         */
        public Builder clearLackedPlaceList() {
          lackedPlaceList_ = emptyIntList();
          bitField0_ = (bitField0_ & ~0x00000010);
          onChanged();
          return this;
        }
  
        private com.google.protobuf.MapField<
            java.lang.Integer, java.lang.Integer> lackedPlaceMap_;
        private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
        internalGetLackedPlaceMap() {
          if (lackedPlaceMap_ == null) {
            return com.google.protobuf.MapField.emptyMapField(
                LackedPlaceMapDefaultEntryHolder.defaultEntry);
          }
          return lackedPlaceMap_;
        }
        private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
        internalGetMutableLackedPlaceMap() {
          onChanged();;
          if (lackedPlaceMap_ == null) {
            lackedPlaceMap_ = com.google.protobuf.MapField.newMapField(
                LackedPlaceMapDefaultEntryHolder.defaultEntry);
          }
          if (!lackedPlaceMap_.isMutable()) {
            lackedPlaceMap_ = lackedPlaceMap_.copy();
          }
          return lackedPlaceMap_;
        }
  
        public int getLackedPlaceMapCount() {
          return internalGetLackedPlaceMap().getMap().size();
        }
        /**
         * <code>map&lt;uint32, uint32&gt; lackedPlaceMap = 15;</code>
         */
  
        @java.lang.Override
        public boolean containsLackedPlaceMap(
            int key) {
          
          return internalGetLackedPlaceMap().getMap().containsKey(key);
        }
        /**
         * Use {@link #getLackedPlaceMapMap()} instead.
         */
        @java.lang.Override
        @java.lang.Deprecated
        public java.util.Map<java.lang.Integer, java.lang.Integer> getLackedPlaceMap() {
          return getLackedPlaceMapMap();
        }
        /**
         * <code>map&lt;uint32, uint32&gt; lackedPlaceMap = 15;</code>
         */
        @java.lang.Override
  
        public java.util.Map<java.lang.Integer, java.lang.Integer> getLackedPlaceMapMap() {
          return internalGetLackedPlaceMap().getMap();
        }
        /**
         * <code>map&lt;uint32, uint32&gt; lackedPlaceMap = 15;</code>
         */
        @java.lang.Override
  
        public int getLackedPlaceMapOrDefault(
            int key,
            int defaultValue) {
          
          java.util.Map<java.lang.Integer, java.lang.Integer> map =
              internalGetLackedPlaceMap().getMap();
          return map.containsKey(key) ? map.get(key) : defaultValue;
        }
        /**
         * <code>map&lt;uint32, uint32&gt; lackedPlaceMap = 15;</code>
         */
        @java.lang.Override
  
        public int getLackedPlaceMapOrThrow(
            int key) {
          
          java.util.Map<java.lang.Integer, java.lang.Integer> map =
              internalGetLackedPlaceMap().getMap();
          if (!map.containsKey(key)) {
            throw new java.lang.IllegalArgumentException();
          }
          return map.get(key);
        }
  
        public Builder clearLackedPlaceMap() {
          internalGetMutableLackedPlaceMap().getMutableMap()
              .clear();
          return this;
        }
        /**
         * <code>map&lt;uint32, uint32&gt; lackedPlaceMap = 15;</code>
         */
  
        public Builder removeLackedPlaceMap(
            int key) {
          
          internalGetMutableLackedPlaceMap().getMutableMap()
              .remove(key);
          return this;
        }
        /**
         * Use alternate mutation accessors instead.
         */
        @java.lang.Deprecated
        public java.util.Map<java.lang.Integer, java.lang.Integer>
        getMutableLackedPlaceMap() {
          return internalGetMutableLackedPlaceMap().getMutableMap();
        }
        /**
         * <code>map&lt;uint32, uint32&gt; lackedPlaceMap = 15;</code>
         */
        public Builder putLackedPlaceMap(
            int key,
            int value) {
          
          
          internalGetMutableLackedPlaceMap().getMutableMap()
              .put(key, value);
          return this;
        }
        /**
         * <code>map&lt;uint32, uint32&gt; lackedPlaceMap = 15;</code>
         */
  
        public Builder putAllLackedPlaceMap(
            java.util.Map<java.lang.Integer, java.lang.Integer> values) {
          internalGetMutableLackedPlaceMap().getMutableMap()
              .putAll(values);
          return this;
        }
        @java.lang.Override
        public final Builder setUnknownFields(
            final com.google.protobuf.UnknownFieldSet unknownFields) {
          return super.setUnknownFields(unknownFields);
        }
  
        @java.lang.Override
        public final Builder mergeUnknownFields(
            final com.google.protobuf.UnknownFieldSet unknownFields) {
          return super.mergeUnknownFields(unknownFields);
        }
  
  
        // @@protoc_insertion_point(builder_scope:Quest)
      }
  
      // @@protoc_insertion_point(class_scope:Quest)
      private static final emu.grasscutter.net.proto.QuestOuterClass.Quest DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new emu.grasscutter.net.proto.QuestOuterClass.Quest();
      }
  
      public static emu.grasscutter.net.proto.QuestOuterClass.Quest getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }
  
      private static final com.google.protobuf.Parser<Quest>
          PARSER = new com.google.protobuf.AbstractParser<Quest>() {
        @java.lang.Override
        public Quest parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return new Quest(input, extensionRegistry);
        }
      };
  
      public static com.google.protobuf.Parser<Quest> parser() {
        return PARSER;
      }
  
      @java.lang.Override
      public com.google.protobuf.Parser<Quest> getParserForType() {
        return PARSER;
      }
  
      @java.lang.Override
      public emu.grasscutter.net.proto.QuestOuterClass.Quest getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }
  
    }
  
    private static final com.google.protobuf.Descriptors.Descriptor
      internal_static_Quest_descriptor;
    private static final 
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internal_static_Quest_fieldAccessorTable;
    private static final com.google.protobuf.Descriptors.Descriptor
      internal_static_Quest_LackedNpcMapEntry_descriptor;
    private static final 
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internal_static_Quest_LackedNpcMapEntry_fieldAccessorTable;
    private static final com.google.protobuf.Descriptors.Descriptor
      internal_static_Quest_LackedPlaceMapEntry_descriptor;
    private static final 
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internal_static_Quest_LackedPlaceMapEntry_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\013Quest.proto\"\333\003\n\005Quest\022\017\n\007questId\030\001 \001(\r" +
        "\022\r\n\005state\030\002 \001(\r\022\021\n\tstartTime\030\004 \001(\r\022\020\n\010is" +
        "Random\030\005 \001(\010\022\025\n\rparentQuestId\030\006 \001(\r\022\025\n\rq" +
        "uestConfigId\030\007 \001(\r\022\025\n\rstartGameTime\030\010 \001(" +
        "\r\022\022\n\nacceptTime\030\t \001(\r\022\025\n\rlackedNpcList\030\n" +
        " \003(\r\022\032\n\022finishProgressList\030\013 \003(\r\022\030\n\020fail" +
        "ProgressList\030\014 \003(\r\022.\n\014lackedNpcMap\030\r \003(\013" +
        "2\030.Quest.LackedNpcMapEntry\022\027\n\017lackedPlac" +
        "eList\030\016 \003(\r\0222\n\016lackedPlaceMap\030\017 \003(\0132\032.Qu" +
        "est.LackedPlaceMapEntry\0323\n\021LackedNpcMapE" +
        "ntry\022\013\n\003key\030\001 \001(\r\022\r\n\005value\030\002 \001(\r:\0028\001\0325\n\023" +
        "LackedPlaceMapEntry\022\013\n\003key\030\001 \001(\r\022\r\n\005valu" +
        "e\030\002 \001(\r:\0028\001B\033\n\031emu.grasscutter.net.proto" +
        "b\006proto3"
      };
      descriptor = com.google.protobuf.Descriptors.FileDescriptor
        .internalBuildGeneratedFileFrom(descriptorData,
          new com.google.protobuf.Descriptors.FileDescriptor[] {
          });
      internal_static_Quest_descriptor =
        getDescriptor().getMessageTypes().get(0);
      internal_static_Quest_fieldAccessorTable = new
        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
          internal_static_Quest_descriptor,
          new java.lang.String[] { "QuestId", "State", "StartTime", "IsRandom", "ParentQuestId", "QuestConfigId", "StartGameTime", "AcceptTime", "LackedNpcList", "FinishProgressList", "FailProgressList", "LackedNpcMap", "LackedPlaceList", "LackedPlaceMap", });
      internal_static_Quest_LackedNpcMapEntry_descriptor =
        internal_static_Quest_descriptor.getNestedTypes().get(0);
      internal_static_Quest_LackedNpcMapEntry_fieldAccessorTable = new
        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
          internal_static_Quest_LackedNpcMapEntry_descriptor,
          new java.lang.String[] { "Key", "Value", });
      internal_static_Quest_LackedPlaceMapEntry_descriptor =
        internal_static_Quest_descriptor.getNestedTypes().get(1);
      internal_static_Quest_LackedPlaceMapEntry_fieldAccessorTable = new
        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
          internal_static_Quest_LackedPlaceMapEntry_descriptor,
          new java.lang.String[] { "Key", "Value", });
    }
  
    // @@protoc_insertion_point(outer_class_scope)
  }
  