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

package emu.grasscutter.net.proto;

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

    /**
     * <code>uint32 end_time = 14;</code>
     * @return The endTime.
     */
    int getEndTime();

    /**
     * <code>uint32 max_boss_chest_num = 9;</code>
     * @return The maxBossChestNum.
     */
    int getMaxBossChestNum();

    /**
     * <code>bool is_passed = 13;</code>
     * @return The isPassed.
     */
    boolean getIsPassed();

    /**
     * <code>.WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 6;</code>
     * @return Whether the weeklyBossResinDiscountInfo field is set.
     */
    boolean hasWeeklyBossResinDiscountInfo();
    /**
     * <code>.WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 6;</code>
     * @return The weeklyBossResinDiscountInfo.
     */
    emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo getWeeklyBossResinDiscountInfo();
    /**
     * <code>.WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 6;</code>
     */
    emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfoOrBuilder getWeeklyBossResinDiscountInfoOrBuilder();

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

    /**
     * <code>uint32 left_times = 5;</code>
     * @return The leftTimes.
     */
    int getLeftTimes();

    /**
     * <code>uint32 next_refresh_time = 10;</code>
     * @return The nextRefreshTime.
     */
    int getNextRefreshTime();

    /**
     * <code>uint32 next_boss_chest_refresh_time = 3;</code>
     * @return The nextBossChestRefreshTime.
     */
    int getNextBossChestRefreshTime();

    /**
     * <code>uint32 start_time = 11;</code>
     * @return The startTime.
     */
    int getStartTime();
  }
  /**
   * Protobuf type {@code DungeonEntryInfo}
   */
  public static final class DungeonEntryInfo extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:DungeonEntryInfo)
      DungeonEntryInfoOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use DungeonEntryInfo.newBuilder() to construct.
    private DungeonEntryInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private DungeonEntryInfo() {
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private DungeonEntryInfo(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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 24: {

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

              leftTimes_ = input.readUInt32();
              break;
            }
            case 50: {
              emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo.Builder subBuilder = null;
              if (weeklyBossResinDiscountInfo_ != null) {
                subBuilder = weeklyBossResinDiscountInfo_.toBuilder();
              }
              weeklyBossResinDiscountInfo_ = input.readMessage(emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(weeklyBossResinDiscountInfo_);
                weeklyBossResinDiscountInfo_ = subBuilder.buildPartial();
              }

              break;
            }
            case 64: {

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

              maxBossChestNum_ = input.readUInt32();
              break;
            }
            case 80: {

              nextRefreshTime_ = input.readUInt32();
              break;
            }
            case 88: {

              startTime_ = input.readUInt32();
              break;
            }
            case 104: {

              isPassed_ = input.readBool();
              break;
            }
            case 112: {

              endTime_ = input.readUInt32();
              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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.internal_static_DungeonEntryInfo_descriptor;
    }

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

    public static final int END_TIME_FIELD_NUMBER = 14;
    private int endTime_;
    /**
     * <code>uint32 end_time = 14;</code>
     * @return The endTime.
     */
    @java.lang.Override
    public int getEndTime() {
      return endTime_;
    }

    public static final int MAX_BOSS_CHEST_NUM_FIELD_NUMBER = 9;
    private int maxBossChestNum_;
    /**
     * <code>uint32 max_boss_chest_num = 9;</code>
     * @return The maxBossChestNum.
     */
    @java.lang.Override
    public int getMaxBossChestNum() {
      return maxBossChestNum_;
    }

    public static final int IS_PASSED_FIELD_NUMBER = 13;
    private boolean isPassed_;
    /**
     * <code>bool is_passed = 13;</code>
     * @return The isPassed.
     */
    @java.lang.Override
    public boolean getIsPassed() {
      return isPassed_;
    }

    public static final int WEEKLY_BOSS_RESIN_DISCOUNT_INFO_FIELD_NUMBER = 6;
    private emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo weeklyBossResinDiscountInfo_;
    /**
     * <code>.WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 6;</code>
     * @return Whether the weeklyBossResinDiscountInfo field is set.
     */
    @java.lang.Override
    public boolean hasWeeklyBossResinDiscountInfo() {
      return weeklyBossResinDiscountInfo_ != null;
    }
    /**
     * <code>.WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 6;</code>
     * @return The weeklyBossResinDiscountInfo.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo getWeeklyBossResinDiscountInfo() {
      return weeklyBossResinDiscountInfo_ == null ? emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo.getDefaultInstance() : weeklyBossResinDiscountInfo_;
    }
    /**
     * <code>.WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 6;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfoOrBuilder getWeeklyBossResinDiscountInfoOrBuilder() {
      return getWeeklyBossResinDiscountInfo();
    }

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

    public static final int LEFT_TIMES_FIELD_NUMBER = 5;
    private int leftTimes_;
    /**
     * <code>uint32 left_times = 5;</code>
     * @return The leftTimes.
     */
    @java.lang.Override
    public int getLeftTimes() {
      return leftTimes_;
    }

    public static final int NEXT_REFRESH_TIME_FIELD_NUMBER = 10;
    private int nextRefreshTime_;
    /**
     * <code>uint32 next_refresh_time = 10;</code>
     * @return The nextRefreshTime.
     */
    @java.lang.Override
    public int getNextRefreshTime() {
      return nextRefreshTime_;
    }

    public static final int NEXT_BOSS_CHEST_REFRESH_TIME_FIELD_NUMBER = 3;
    private int nextBossChestRefreshTime_;
    /**
     * <code>uint32 next_boss_chest_refresh_time = 3;</code>
     * @return The nextBossChestRefreshTime.
     */
    @java.lang.Override
    public int getNextBossChestRefreshTime() {
      return nextBossChestRefreshTime_;
    }

    public static final int START_TIME_FIELD_NUMBER = 11;
    private int startTime_;
    /**
     * <code>uint32 start_time = 11;</code>
     * @return The startTime.
     */
    @java.lang.Override
    public int getStartTime() {
      return startTime_;
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (nextBossChestRefreshTime_ != 0) {
        output.writeUInt32(3, nextBossChestRefreshTime_);
      }
      if (leftTimes_ != 0) {
        output.writeUInt32(5, leftTimes_);
      }
      if (weeklyBossResinDiscountInfo_ != null) {
        output.writeMessage(6, getWeeklyBossResinDiscountInfo());
      }
      if (dungeonId_ != 0) {
        output.writeUInt32(8, dungeonId_);
      }
      if (maxBossChestNum_ != 0) {
        output.writeUInt32(9, maxBossChestNum_);
      }
      if (nextRefreshTime_ != 0) {
        output.writeUInt32(10, nextRefreshTime_);
      }
      if (startTime_ != 0) {
        output.writeUInt32(11, startTime_);
      }
      if (isPassed_ != false) {
        output.writeBool(13, isPassed_);
      }
      if (endTime_ != 0) {
        output.writeUInt32(14, endTime_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (nextBossChestRefreshTime_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(3, nextBossChestRefreshTime_);
      }
      if (leftTimes_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(5, leftTimes_);
      }
      if (weeklyBossResinDiscountInfo_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(6, getWeeklyBossResinDiscountInfo());
      }
      if (dungeonId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(8, dungeonId_);
      }
      if (maxBossChestNum_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(9, maxBossChestNum_);
      }
      if (nextRefreshTime_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(10, nextRefreshTime_);
      }
      if (startTime_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(11, startTime_);
      }
      if (isPassed_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(13, isPassed_);
      }
      if (endTime_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(14, endTime_);
      }
      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.DungeonEntryInfoOuterClass.DungeonEntryInfo)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo other = (emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo) obj;

      if (getEndTime()
          != other.getEndTime()) return false;
      if (getMaxBossChestNum()
          != other.getMaxBossChestNum()) return false;
      if (getIsPassed()
          != other.getIsPassed()) return false;
      if (hasWeeklyBossResinDiscountInfo() != other.hasWeeklyBossResinDiscountInfo()) return false;
      if (hasWeeklyBossResinDiscountInfo()) {
        if (!getWeeklyBossResinDiscountInfo()
            .equals(other.getWeeklyBossResinDiscountInfo())) return false;
      }
      if (getDungeonId()
          != other.getDungeonId()) return false;
      if (getLeftTimes()
          != other.getLeftTimes()) return false;
      if (getNextRefreshTime()
          != other.getNextRefreshTime()) return false;
      if (getNextBossChestRefreshTime()
          != other.getNextBossChestRefreshTime()) return false;
      if (getStartTime()
          != other.getStartTime()) 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) + END_TIME_FIELD_NUMBER;
      hash = (53 * hash) + getEndTime();
      hash = (37 * hash) + MAX_BOSS_CHEST_NUM_FIELD_NUMBER;
      hash = (53 * hash) + getMaxBossChestNum();
      hash = (37 * hash) + IS_PASSED_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsPassed());
      if (hasWeeklyBossResinDiscountInfo()) {
        hash = (37 * hash) + WEEKLY_BOSS_RESIN_DISCOUNT_INFO_FIELD_NUMBER;
        hash = (53 * hash) + getWeeklyBossResinDiscountInfo().hashCode();
      }
      hash = (37 * hash) + DUNGEON_ID_FIELD_NUMBER;
      hash = (53 * hash) + getDungeonId();
      hash = (37 * hash) + LEFT_TIMES_FIELD_NUMBER;
      hash = (53 * hash) + getLeftTimes();
      hash = (37 * hash) + NEXT_REFRESH_TIME_FIELD_NUMBER;
      hash = (53 * hash) + getNextRefreshTime();
      hash = (37 * hash) + NEXT_BOSS_CHEST_REFRESH_TIME_FIELD_NUMBER;
      hash = (53 * hash) + getNextBossChestRefreshTime();
      hash = (37 * hash) + START_TIME_FIELD_NUMBER;
      hash = (53 * hash) + getStartTime();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

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

      // Construct using emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.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();
        endTime_ = 0;

        maxBossChestNum_ = 0;

        isPassed_ = false;

        if (weeklyBossResinDiscountInfoBuilder_ == null) {
          weeklyBossResinDiscountInfo_ = null;
        } else {
          weeklyBossResinDiscountInfo_ = null;
          weeklyBossResinDiscountInfoBuilder_ = null;
        }
        dungeonId_ = 0;

        leftTimes_ = 0;

        nextRefreshTime_ = 0;

        nextBossChestRefreshTime_ = 0;

        startTime_ = 0;

        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo buildPartial() {
        emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo result = new emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo(this);
        result.endTime_ = endTime_;
        result.maxBossChestNum_ = maxBossChestNum_;
        result.isPassed_ = isPassed_;
        if (weeklyBossResinDiscountInfoBuilder_ == null) {
          result.weeklyBossResinDiscountInfo_ = weeklyBossResinDiscountInfo_;
        } else {
          result.weeklyBossResinDiscountInfo_ = weeklyBossResinDiscountInfoBuilder_.build();
        }
        result.dungeonId_ = dungeonId_;
        result.leftTimes_ = leftTimes_;
        result.nextRefreshTime_ = nextRefreshTime_;
        result.nextBossChestRefreshTime_ = nextBossChestRefreshTime_;
        result.startTime_ = startTime_;
        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.DungeonEntryInfoOuterClass.DungeonEntryInfo) {
          return mergeFrom((emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo other) {
        if (other == emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo.getDefaultInstance()) return this;
        if (other.getEndTime() != 0) {
          setEndTime(other.getEndTime());
        }
        if (other.getMaxBossChestNum() != 0) {
          setMaxBossChestNum(other.getMaxBossChestNum());
        }
        if (other.getIsPassed() != false) {
          setIsPassed(other.getIsPassed());
        }
        if (other.hasWeeklyBossResinDiscountInfo()) {
          mergeWeeklyBossResinDiscountInfo(other.getWeeklyBossResinDiscountInfo());
        }
        if (other.getDungeonId() != 0) {
          setDungeonId(other.getDungeonId());
        }
        if (other.getLeftTimes() != 0) {
          setLeftTimes(other.getLeftTimes());
        }
        if (other.getNextRefreshTime() != 0) {
          setNextRefreshTime(other.getNextRefreshTime());
        }
        if (other.getNextBossChestRefreshTime() != 0) {
          setNextBossChestRefreshTime(other.getNextBossChestRefreshTime());
        }
        if (other.getStartTime() != 0) {
          setStartTime(other.getStartTime());
        }
        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.DungeonEntryInfoOuterClass.DungeonEntryInfo parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private int endTime_ ;
      /**
       * <code>uint32 end_time = 14;</code>
       * @return The endTime.
       */
      @java.lang.Override
      public int getEndTime() {
        return endTime_;
      }
      /**
       * <code>uint32 end_time = 14;</code>
       * @param value The endTime to set.
       * @return This builder for chaining.
       */
      public Builder setEndTime(int value) {
        
        endTime_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 end_time = 14;</code>
       * @return This builder for chaining.
       */
      public Builder clearEndTime() {
        
        endTime_ = 0;
        onChanged();
        return this;
      }

      private int maxBossChestNum_ ;
      /**
       * <code>uint32 max_boss_chest_num = 9;</code>
       * @return The maxBossChestNum.
       */
      @java.lang.Override
      public int getMaxBossChestNum() {
        return maxBossChestNum_;
      }
      /**
       * <code>uint32 max_boss_chest_num = 9;</code>
       * @param value The maxBossChestNum to set.
       * @return This builder for chaining.
       */
      public Builder setMaxBossChestNum(int value) {
        
        maxBossChestNum_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 max_boss_chest_num = 9;</code>
       * @return This builder for chaining.
       */
      public Builder clearMaxBossChestNum() {
        
        maxBossChestNum_ = 0;
        onChanged();
        return this;
      }

      private boolean isPassed_ ;
      /**
       * <code>bool is_passed = 13;</code>
       * @return The isPassed.
       */
      @java.lang.Override
      public boolean getIsPassed() {
        return isPassed_;
      }
      /**
       * <code>bool is_passed = 13;</code>
       * @param value The isPassed to set.
       * @return This builder for chaining.
       */
      public Builder setIsPassed(boolean value) {
        
        isPassed_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool is_passed = 13;</code>
       * @return This builder for chaining.
       */
      public Builder clearIsPassed() {
        
        isPassed_ = false;
        onChanged();
        return this;
      }

      private emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo weeklyBossResinDiscountInfo_;
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo, emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo.Builder, emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfoOrBuilder> weeklyBossResinDiscountInfoBuilder_;
      /**
       * <code>.WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 6;</code>
       * @return Whether the weeklyBossResinDiscountInfo field is set.
       */
      public boolean hasWeeklyBossResinDiscountInfo() {
        return weeklyBossResinDiscountInfoBuilder_ != null || weeklyBossResinDiscountInfo_ != null;
      }
      /**
       * <code>.WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 6;</code>
       * @return The weeklyBossResinDiscountInfo.
       */
      public emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo getWeeklyBossResinDiscountInfo() {
        if (weeklyBossResinDiscountInfoBuilder_ == null) {
          return weeklyBossResinDiscountInfo_ == null ? emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo.getDefaultInstance() : weeklyBossResinDiscountInfo_;
        } else {
          return weeklyBossResinDiscountInfoBuilder_.getMessage();
        }
      }
      /**
       * <code>.WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 6;</code>
       */
      public Builder setWeeklyBossResinDiscountInfo(emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo value) {
        if (weeklyBossResinDiscountInfoBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          weeklyBossResinDiscountInfo_ = value;
          onChanged();
        } else {
          weeklyBossResinDiscountInfoBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 6;</code>
       */
      public Builder setWeeklyBossResinDiscountInfo(
          emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo.Builder builderForValue) {
        if (weeklyBossResinDiscountInfoBuilder_ == null) {
          weeklyBossResinDiscountInfo_ = builderForValue.build();
          onChanged();
        } else {
          weeklyBossResinDiscountInfoBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 6;</code>
       */
      public Builder mergeWeeklyBossResinDiscountInfo(emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo value) {
        if (weeklyBossResinDiscountInfoBuilder_ == null) {
          if (weeklyBossResinDiscountInfo_ != null) {
            weeklyBossResinDiscountInfo_ =
              emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo.newBuilder(weeklyBossResinDiscountInfo_).mergeFrom(value).buildPartial();
          } else {
            weeklyBossResinDiscountInfo_ = value;
          }
          onChanged();
        } else {
          weeklyBossResinDiscountInfoBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 6;</code>
       */
      public Builder clearWeeklyBossResinDiscountInfo() {
        if (weeklyBossResinDiscountInfoBuilder_ == null) {
          weeklyBossResinDiscountInfo_ = null;
          onChanged();
        } else {
          weeklyBossResinDiscountInfo_ = null;
          weeklyBossResinDiscountInfoBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 6;</code>
       */
      public emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo.Builder getWeeklyBossResinDiscountInfoBuilder() {
        
        onChanged();
        return getWeeklyBossResinDiscountInfoFieldBuilder().getBuilder();
      }
      /**
       * <code>.WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 6;</code>
       */
      public emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfoOrBuilder getWeeklyBossResinDiscountInfoOrBuilder() {
        if (weeklyBossResinDiscountInfoBuilder_ != null) {
          return weeklyBossResinDiscountInfoBuilder_.getMessageOrBuilder();
        } else {
          return weeklyBossResinDiscountInfo_ == null ?
              emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo.getDefaultInstance() : weeklyBossResinDiscountInfo_;
        }
      }
      /**
       * <code>.WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 6;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo, emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo.Builder, emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfoOrBuilder> 
          getWeeklyBossResinDiscountInfoFieldBuilder() {
        if (weeklyBossResinDiscountInfoBuilder_ == null) {
          weeklyBossResinDiscountInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo, emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo.Builder, emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfoOrBuilder>(
                  getWeeklyBossResinDiscountInfo(),
                  getParentForChildren(),
                  isClean());
          weeklyBossResinDiscountInfo_ = null;
        }
        return weeklyBossResinDiscountInfoBuilder_;
      }

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

      private int leftTimes_ ;
      /**
       * <code>uint32 left_times = 5;</code>
       * @return The leftTimes.
       */
      @java.lang.Override
      public int getLeftTimes() {
        return leftTimes_;
      }
      /**
       * <code>uint32 left_times = 5;</code>
       * @param value The leftTimes to set.
       * @return This builder for chaining.
       */
      public Builder setLeftTimes(int value) {
        
        leftTimes_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 left_times = 5;</code>
       * @return This builder for chaining.
       */
      public Builder clearLeftTimes() {
        
        leftTimes_ = 0;
        onChanged();
        return this;
      }

      private int nextRefreshTime_ ;
      /**
       * <code>uint32 next_refresh_time = 10;</code>
       * @return The nextRefreshTime.
       */
      @java.lang.Override
      public int getNextRefreshTime() {
        return nextRefreshTime_;
      }
      /**
       * <code>uint32 next_refresh_time = 10;</code>
       * @param value The nextRefreshTime to set.
       * @return This builder for chaining.
       */
      public Builder setNextRefreshTime(int value) {
        
        nextRefreshTime_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 next_refresh_time = 10;</code>
       * @return This builder for chaining.
       */
      public Builder clearNextRefreshTime() {
        
        nextRefreshTime_ = 0;
        onChanged();
        return this;
      }

      private int nextBossChestRefreshTime_ ;
      /**
       * <code>uint32 next_boss_chest_refresh_time = 3;</code>
       * @return The nextBossChestRefreshTime.
       */
      @java.lang.Override
      public int getNextBossChestRefreshTime() {
        return nextBossChestRefreshTime_;
      }
      /**
       * <code>uint32 next_boss_chest_refresh_time = 3;</code>
       * @param value The nextBossChestRefreshTime to set.
       * @return This builder for chaining.
       */
      public Builder setNextBossChestRefreshTime(int value) {
        
        nextBossChestRefreshTime_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 next_boss_chest_refresh_time = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearNextBossChestRefreshTime() {
        
        nextBossChestRefreshTime_ = 0;
        onChanged();
        return this;
      }

      private int startTime_ ;
      /**
       * <code>uint32 start_time = 11;</code>
       * @return The startTime.
       */
      @java.lang.Override
      public int getStartTime() {
        return startTime_;
      }
      /**
       * <code>uint32 start_time = 11;</code>
       * @param value The startTime to set.
       * @return This builder for chaining.
       */
      public Builder setStartTime(int value) {
        
        startTime_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 start_time = 11;</code>
       * @return This builder for chaining.
       */
      public Builder clearStartTime() {
        
        startTime_ = 0;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:DungeonEntryInfo)
    }

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

    public static emu.grasscutter.net.proto.DungeonEntryInfoOuterClass.DungeonEntryInfo getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_DungeonEntryInfo_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_DungeonEntryInfo_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\026DungeonEntryInfo.proto\032!WeeklyBossResi" +
      "nDiscountInfo.proto\"\227\002\n\020DungeonEntryInfo" +
      "\022\020\n\010end_time\030\016 \001(\r\022\032\n\022max_boss_chest_num" +
      "\030\t \001(\r\022\021\n\tis_passed\030\r \001(\010\022E\n\037weekly_boss" +
      "_resin_discount_info\030\006 \001(\0132\034.WeeklyBossR" +
      "esinDiscountInfo\022\022\n\ndungeon_id\030\010 \001(\r\022\022\n\n" +
      "left_times\030\005 \001(\r\022\031\n\021next_refresh_time\030\n " +
      "\001(\r\022$\n\034next_boss_chest_refresh_time\030\003 \001(" +
      "\r\022\022\n\nstart_time\030\013 \001(\rB\033\n\031emu.grasscutter" +
      ".net.protob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.getDescriptor(),
        });
    internal_static_DungeonEntryInfo_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_DungeonEntryInfo_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_DungeonEntryInfo_descriptor,
        new java.lang.String[] { "EndTime", "MaxBossChestNum", "IsPassed", "WeeklyBossResinDiscountInfo", "DungeonId", "LeftTimes", "NextRefreshTime", "NextBossChestRefreshTime", "StartTime", });
    emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
