// 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 = 6;</code>
     * @return The endTime.
     */
    int getEndTime();

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

    /**
     * <code>uint32 boss_chest_num = 12;</code>
     * @return The bossChestNum.
     */
    int getBossChestNum();

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

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

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

    /**
     * <code>uint32 start_time = 15;</code>
     * @return The startTime.
     */
    int getStartTime();

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

    /**
     * <code>uint32 left_times = 7;</code>
     * @return The leftTimes.
     */
    int getLeftTimes();
  }
  /**
   * 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 32: {

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

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

              endTime_ = input.readUInt32();
              break;
            }
            case 56: {

              leftTimes_ = input.readUInt32();
              break;
            }
            case 74: {
              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 88: {

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

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

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

              startTime_ = 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 = 6;
    private int endTime_;
    /**
     * <code>uint32 end_time = 6;</code>
     * @return The endTime.
     */
    @java.lang.Override
    public int getEndTime() {
      return endTime_;
    }

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

    public static final int BOSS_CHEST_NUM_FIELD_NUMBER = 12;
    private int bossChestNum_;
    /**
     * <code>uint32 boss_chest_num = 12;</code>
     * @return The bossChestNum.
     */
    @java.lang.Override
    public int getBossChestNum() {
      return bossChestNum_;
    }

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

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

    public static final int WEEKLY_BOSS_RESIN_DISCOUNT_INFO_FIELD_NUMBER = 9;
    private emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo weeklyBossResinDiscountInfo_;
    /**
     * <code>.WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 9;</code>
     * @return Whether the weeklyBossResinDiscountInfo field is set.
     */
    @java.lang.Override
    public boolean hasWeeklyBossResinDiscountInfo() {
      return weeklyBossResinDiscountInfo_ != null;
    }
    /**
     * <code>.WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 9;</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 = 9;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfoOrBuilder getWeeklyBossResinDiscountInfoOrBuilder() {
      return getWeeklyBossResinDiscountInfo();
    }

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

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

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

    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 (isPassed_ != false) {
        output.writeBool(4, isPassed_);
      }
      if (dungeonId_ != 0) {
        output.writeUInt32(5, dungeonId_);
      }
      if (endTime_ != 0) {
        output.writeUInt32(6, endTime_);
      }
      if (leftTimes_ != 0) {
        output.writeUInt32(7, leftTimes_);
      }
      if (weeklyBossResinDiscountInfo_ != null) {
        output.writeMessage(9, getWeeklyBossResinDiscountInfo());
      }
      if (nextRefreshTime_ != 0) {
        output.writeUInt32(11, nextRefreshTime_);
      }
      if (bossChestNum_ != 0) {
        output.writeUInt32(12, bossChestNum_);
      }
      if (maxBossChestNum_ != 0) {
        output.writeUInt32(13, maxBossChestNum_);
      }
      if (startTime_ != 0) {
        output.writeUInt32(15, startTime_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (isPassed_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(4, isPassed_);
      }
      if (dungeonId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(5, dungeonId_);
      }
      if (endTime_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(6, endTime_);
      }
      if (leftTimes_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(7, leftTimes_);
      }
      if (weeklyBossResinDiscountInfo_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(9, getWeeklyBossResinDiscountInfo());
      }
      if (nextRefreshTime_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(11, nextRefreshTime_);
      }
      if (bossChestNum_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(12, bossChestNum_);
      }
      if (maxBossChestNum_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(13, maxBossChestNum_);
      }
      if (startTime_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(15, startTime_);
      }
      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 (getDungeonId()
          != other.getDungeonId()) return false;
      if (getBossChestNum()
          != other.getBossChestNum()) return false;
      if (getMaxBossChestNum()
          != other.getMaxBossChestNum()) return false;
      if (getNextRefreshTime()
          != other.getNextRefreshTime()) return false;
      if (hasWeeklyBossResinDiscountInfo() != other.hasWeeklyBossResinDiscountInfo()) return false;
      if (hasWeeklyBossResinDiscountInfo()) {
        if (!getWeeklyBossResinDiscountInfo()
            .equals(other.getWeeklyBossResinDiscountInfo())) return false;
      }
      if (getStartTime()
          != other.getStartTime()) return false;
      if (getIsPassed()
          != other.getIsPassed()) return false;
      if (getLeftTimes()
          != other.getLeftTimes()) 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) + DUNGEON_ID_FIELD_NUMBER;
      hash = (53 * hash) + getDungeonId();
      hash = (37 * hash) + BOSS_CHEST_NUM_FIELD_NUMBER;
      hash = (53 * hash) + getBossChestNum();
      hash = (37 * hash) + MAX_BOSS_CHEST_NUM_FIELD_NUMBER;
      hash = (53 * hash) + getMaxBossChestNum();
      hash = (37 * hash) + NEXT_REFRESH_TIME_FIELD_NUMBER;
      hash = (53 * hash) + getNextRefreshTime();
      if (hasWeeklyBossResinDiscountInfo()) {
        hash = (37 * hash) + WEEKLY_BOSS_RESIN_DISCOUNT_INFO_FIELD_NUMBER;
        hash = (53 * hash) + getWeeklyBossResinDiscountInfo().hashCode();
      }
      hash = (37 * hash) + START_TIME_FIELD_NUMBER;
      hash = (53 * hash) + getStartTime();
      hash = (37 * hash) + IS_PASSED_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsPassed());
      hash = (37 * hash) + LEFT_TIMES_FIELD_NUMBER;
      hash = (53 * hash) + getLeftTimes();
      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;

        dungeonId_ = 0;

        bossChestNum_ = 0;

        maxBossChestNum_ = 0;

        nextRefreshTime_ = 0;

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

        isPassed_ = false;

        leftTimes_ = 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.dungeonId_ = dungeonId_;
        result.bossChestNum_ = bossChestNum_;
        result.maxBossChestNum_ = maxBossChestNum_;
        result.nextRefreshTime_ = nextRefreshTime_;
        if (weeklyBossResinDiscountInfoBuilder_ == null) {
          result.weeklyBossResinDiscountInfo_ = weeklyBossResinDiscountInfo_;
        } else {
          result.weeklyBossResinDiscountInfo_ = weeklyBossResinDiscountInfoBuilder_.build();
        }
        result.startTime_ = startTime_;
        result.isPassed_ = isPassed_;
        result.leftTimes_ = leftTimes_;
        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.getDungeonId() != 0) {
          setDungeonId(other.getDungeonId());
        }
        if (other.getBossChestNum() != 0) {
          setBossChestNum(other.getBossChestNum());
        }
        if (other.getMaxBossChestNum() != 0) {
          setMaxBossChestNum(other.getMaxBossChestNum());
        }
        if (other.getNextRefreshTime() != 0) {
          setNextRefreshTime(other.getNextRefreshTime());
        }
        if (other.hasWeeklyBossResinDiscountInfo()) {
          mergeWeeklyBossResinDiscountInfo(other.getWeeklyBossResinDiscountInfo());
        }
        if (other.getStartTime() != 0) {
          setStartTime(other.getStartTime());
        }
        if (other.getIsPassed() != false) {
          setIsPassed(other.getIsPassed());
        }
        if (other.getLeftTimes() != 0) {
          setLeftTimes(other.getLeftTimes());
        }
        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 = 6;</code>
       * @return The endTime.
       */
      @java.lang.Override
      public int getEndTime() {
        return endTime_;
      }
      /**
       * <code>uint32 end_time = 6;</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 = 6;</code>
       * @return This builder for chaining.
       */
      public Builder clearEndTime() {
        
        endTime_ = 0;
        onChanged();
        return this;
      }

      private int dungeonId_ ;
      /**
       * <code>uint32 dungeon_id = 5;</code>
       * @return The dungeonId.
       */
      @java.lang.Override
      public int getDungeonId() {
        return dungeonId_;
      }
      /**
       * <code>uint32 dungeon_id = 5;</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 = 5;</code>
       * @return This builder for chaining.
       */
      public Builder clearDungeonId() {
        
        dungeonId_ = 0;
        onChanged();
        return this;
      }

      private int bossChestNum_ ;
      /**
       * <code>uint32 boss_chest_num = 12;</code>
       * @return The bossChestNum.
       */
      @java.lang.Override
      public int getBossChestNum() {
        return bossChestNum_;
      }
      /**
       * <code>uint32 boss_chest_num = 12;</code>
       * @param value The bossChestNum to set.
       * @return This builder for chaining.
       */
      public Builder setBossChestNum(int value) {
        
        bossChestNum_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 boss_chest_num = 12;</code>
       * @return This builder for chaining.
       */
      public Builder clearBossChestNum() {
        
        bossChestNum_ = 0;
        onChanged();
        return this;
      }

      private int maxBossChestNum_ ;
      /**
       * <code>uint32 max_boss_chest_num = 13;</code>
       * @return The maxBossChestNum.
       */
      @java.lang.Override
      public int getMaxBossChestNum() {
        return maxBossChestNum_;
      }
      /**
       * <code>uint32 max_boss_chest_num = 13;</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 = 13;</code>
       * @return This builder for chaining.
       */
      public Builder clearMaxBossChestNum() {
        
        maxBossChestNum_ = 0;
        onChanged();
        return this;
      }

      private int nextRefreshTime_ ;
      /**
       * <code>uint32 next_refresh_time = 11;</code>
       * @return The nextRefreshTime.
       */
      @java.lang.Override
      public int getNextRefreshTime() {
        return nextRefreshTime_;
      }
      /**
       * <code>uint32 next_refresh_time = 11;</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 = 11;</code>
       * @return This builder for chaining.
       */
      public Builder clearNextRefreshTime() {
        
        nextRefreshTime_ = 0;
        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 = 9;</code>
       * @return Whether the weeklyBossResinDiscountInfo field is set.
       */
      public boolean hasWeeklyBossResinDiscountInfo() {
        return weeklyBossResinDiscountInfoBuilder_ != null || weeklyBossResinDiscountInfo_ != null;
      }
      /**
       * <code>.WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 9;</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 = 9;</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 = 9;</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 = 9;</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 = 9;</code>
       */
      public Builder clearWeeklyBossResinDiscountInfo() {
        if (weeklyBossResinDiscountInfoBuilder_ == null) {
          weeklyBossResinDiscountInfo_ = null;
          onChanged();
        } else {
          weeklyBossResinDiscountInfo_ = null;
          weeklyBossResinDiscountInfoBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 9;</code>
       */
      public emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.WeeklyBossResinDiscountInfo.Builder getWeeklyBossResinDiscountInfoBuilder() {
        
        onChanged();
        return getWeeklyBossResinDiscountInfoFieldBuilder().getBuilder();
      }
      /**
       * <code>.WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 9;</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 = 9;</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 startTime_ ;
      /**
       * <code>uint32 start_time = 15;</code>
       * @return The startTime.
       */
      @java.lang.Override
      public int getStartTime() {
        return startTime_;
      }
      /**
       * <code>uint32 start_time = 15;</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 = 15;</code>
       * @return This builder for chaining.
       */
      public Builder clearStartTime() {
        
        startTime_ = 0;
        onChanged();
        return this;
      }

      private boolean isPassed_ ;
      /**
       * <code>bool is_passed = 4;</code>
       * @return The isPassed.
       */
      @java.lang.Override
      public boolean getIsPassed() {
        return isPassed_;
      }
      /**
       * <code>bool is_passed = 4;</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 = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearIsPassed() {
        
        isPassed_ = false;
        onChanged();
        return this;
      }

      private int leftTimes_ ;
      /**
       * <code>uint32 left_times = 7;</code>
       * @return The leftTimes.
       */
      @java.lang.Override
      public int getLeftTimes() {
        return leftTimes_;
      }
      /**
       * <code>uint32 left_times = 7;</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 = 7;</code>
       * @return This builder for chaining.
       */
      public Builder clearLeftTimes() {
        
        leftTimes_ = 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\"\211\002\n\020DungeonEntryInfo" +
      "\022\020\n\010end_time\030\006 \001(\r\022\022\n\ndungeon_id\030\005 \001(\r\022\026" +
      "\n\016boss_chest_num\030\014 \001(\r\022\032\n\022max_boss_chest" +
      "_num\030\r \001(\r\022\031\n\021next_refresh_time\030\013 \001(\r\022E\n" +
      "\037weekly_boss_resin_discount_info\030\t \001(\0132\034" +
      ".WeeklyBossResinDiscountInfo\022\022\n\nstart_ti" +
      "me\030\017 \001(\r\022\021\n\tis_passed\030\004 \001(\010\022\022\n\nleft_time" +
      "s\030\007 \001(\rB\033\n\031emu.grasscutter.net.protob\006pr" +
      "oto3"
    };
    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", "DungeonId", "BossChestNum", "MaxBossChestNum", "NextRefreshTime", "WeeklyBossResinDiscountInfo", "StartTime", "IsPassed", "LeftTimes", });
    emu.grasscutter.net.proto.WeeklyBossResinDiscountInfoOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
