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

package emu.grasscutter.net.proto;

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

    /**
     * <code>uint32 stage_type = 12;</code>
     * @return The stageType.
     */
    int getStageType();

    /**
     * <code>.FleurFairGallerySettleInfo gallery_settle_info = 13;</code>
     * @return Whether the gallerySettleInfo field is set.
     */
    boolean hasGallerySettleInfo();
    /**
     * <code>.FleurFairGallerySettleInfo gallery_settle_info = 13;</code>
     * @return The gallerySettleInfo.
     */
    emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo getGallerySettleInfo();
    /**
     * <code>.FleurFairGallerySettleInfo gallery_settle_info = 13;</code>
     */
    emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfoOrBuilder getGallerySettleInfoOrBuilder();

    /**
     * <code>.FleurFairBossSettleInfo boss_settle_info = 14;</code>
     * @return Whether the bossSettleInfo field is set.
     */
    boolean hasBossSettleInfo();
    /**
     * <code>.FleurFairBossSettleInfo boss_settle_info = 14;</code>
     * @return The bossSettleInfo.
     */
    emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.FleurFairBossSettleInfo getBossSettleInfo();
    /**
     * <code>.FleurFairBossSettleInfo boss_settle_info = 14;</code>
     */
    emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.FleurFairBossSettleInfoOrBuilder getBossSettleInfoOrBuilder();

    public emu.grasscutter.net.proto.FleurFairStageSettleNotifyOuterClass.FleurFairStageSettleNotify.DetailCase getDetailCase();
  }
  /**
   * <pre>
   * CmdId: 23852
   * Obf: OPDHCFCGAEK
   * </pre>
   *
   * Protobuf type {@code FleurFairStageSettleNotify}
   */
  public static final class FleurFairStageSettleNotify extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:FleurFairStageSettleNotify)
      FleurFairStageSettleNotifyOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use FleurFairStageSettleNotify.newBuilder() to construct.
    private FleurFairStageSettleNotify(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private FleurFairStageSettleNotify() {
    }

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

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

              stageType_ = input.readUInt32();
              break;
            }
            case 106: {
              emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo.Builder subBuilder = null;
              if (detailCase_ == 13) {
                subBuilder = ((emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo) detail_).toBuilder();
              }
              detail_ =
                  input.readMessage(emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo) detail_);
                detail_ = subBuilder.buildPartial();
              }
              detailCase_ = 13;
              break;
            }
            case 114: {
              emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.FleurFairBossSettleInfo.Builder subBuilder = null;
              if (detailCase_ == 14) {
                subBuilder = ((emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.FleurFairBossSettleInfo) detail_).toBuilder();
              }
              detail_ =
                  input.readMessage(emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.FleurFairBossSettleInfo.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.FleurFairBossSettleInfo) detail_);
                detail_ = subBuilder.buildPartial();
              }
              detailCase_ = 14;
              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.FleurFairStageSettleNotifyOuterClass.internal_static_FleurFairStageSettleNotify_descriptor;
    }

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

    private int detailCase_ = 0;
    private java.lang.Object detail_;
    public enum DetailCase
        implements com.google.protobuf.Internal.EnumLite,
            com.google.protobuf.AbstractMessage.InternalOneOfEnum {
      GALLERY_SETTLE_INFO(13),
      BOSS_SETTLE_INFO(14),
      DETAIL_NOT_SET(0);
      private final int value;
      private DetailCase(int value) {
        this.value = value;
      }
      /**
       * @param value The number of the enum to look for.
       * @return The enum associated with the given number.
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static DetailCase valueOf(int value) {
        return forNumber(value);
      }

      public static DetailCase forNumber(int value) {
        switch (value) {
          case 13: return GALLERY_SETTLE_INFO;
          case 14: return BOSS_SETTLE_INFO;
          case 0: return DETAIL_NOT_SET;
          default: return null;
        }
      }
      public int getNumber() {
        return this.value;
      }
    };

    public DetailCase
    getDetailCase() {
      return DetailCase.forNumber(
          detailCase_);
    }

    public static final int STAGE_TYPE_FIELD_NUMBER = 12;
    private int stageType_;
    /**
     * <code>uint32 stage_type = 12;</code>
     * @return The stageType.
     */
    @java.lang.Override
    public int getStageType() {
      return stageType_;
    }

    public static final int GALLERY_SETTLE_INFO_FIELD_NUMBER = 13;
    /**
     * <code>.FleurFairGallerySettleInfo gallery_settle_info = 13;</code>
     * @return Whether the gallerySettleInfo field is set.
     */
    @java.lang.Override
    public boolean hasGallerySettleInfo() {
      return detailCase_ == 13;
    }
    /**
     * <code>.FleurFairGallerySettleInfo gallery_settle_info = 13;</code>
     * @return The gallerySettleInfo.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo getGallerySettleInfo() {
      if (detailCase_ == 13) {
         return (emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo) detail_;
      }
      return emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo.getDefaultInstance();
    }
    /**
     * <code>.FleurFairGallerySettleInfo gallery_settle_info = 13;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfoOrBuilder getGallerySettleInfoOrBuilder() {
      if (detailCase_ == 13) {
         return (emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo) detail_;
      }
      return emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo.getDefaultInstance();
    }

    public static final int BOSS_SETTLE_INFO_FIELD_NUMBER = 14;
    /**
     * <code>.FleurFairBossSettleInfo boss_settle_info = 14;</code>
     * @return Whether the bossSettleInfo field is set.
     */
    @java.lang.Override
    public boolean hasBossSettleInfo() {
      return detailCase_ == 14;
    }
    /**
     * <code>.FleurFairBossSettleInfo boss_settle_info = 14;</code>
     * @return The bossSettleInfo.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.FleurFairBossSettleInfo getBossSettleInfo() {
      if (detailCase_ == 14) {
         return (emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.FleurFairBossSettleInfo) detail_;
      }
      return emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.FleurFairBossSettleInfo.getDefaultInstance();
    }
    /**
     * <code>.FleurFairBossSettleInfo boss_settle_info = 14;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.FleurFairBossSettleInfoOrBuilder getBossSettleInfoOrBuilder() {
      if (detailCase_ == 14) {
         return (emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.FleurFairBossSettleInfo) detail_;
      }
      return emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.FleurFairBossSettleInfo.getDefaultInstance();
    }

    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 (stageType_ != 0) {
        output.writeUInt32(12, stageType_);
      }
      if (detailCase_ == 13) {
        output.writeMessage(13, (emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo) detail_);
      }
      if (detailCase_ == 14) {
        output.writeMessage(14, (emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.FleurFairBossSettleInfo) detail_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (stageType_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(12, stageType_);
      }
      if (detailCase_ == 13) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(13, (emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo) detail_);
      }
      if (detailCase_ == 14) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(14, (emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.FleurFairBossSettleInfo) detail_);
      }
      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.FleurFairStageSettleNotifyOuterClass.FleurFairStageSettleNotify)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.FleurFairStageSettleNotifyOuterClass.FleurFairStageSettleNotify other = (emu.grasscutter.net.proto.FleurFairStageSettleNotifyOuterClass.FleurFairStageSettleNotify) obj;

      if (getStageType()
          != other.getStageType()) return false;
      if (!getDetailCase().equals(other.getDetailCase())) return false;
      switch (detailCase_) {
        case 13:
          if (!getGallerySettleInfo()
              .equals(other.getGallerySettleInfo())) return false;
          break;
        case 14:
          if (!getBossSettleInfo()
              .equals(other.getBossSettleInfo())) return false;
          break;
        case 0:
        default:
      }
      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) + STAGE_TYPE_FIELD_NUMBER;
      hash = (53 * hash) + getStageType();
      switch (detailCase_) {
        case 13:
          hash = (37 * hash) + GALLERY_SETTLE_INFO_FIELD_NUMBER;
          hash = (53 * hash) + getGallerySettleInfo().hashCode();
          break;
        case 14:
          hash = (37 * hash) + BOSS_SETTLE_INFO_FIELD_NUMBER;
          hash = (53 * hash) + getBossSettleInfo().hashCode();
          break;
        case 0:
        default:
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static emu.grasscutter.net.proto.FleurFairStageSettleNotifyOuterClass.FleurFairStageSettleNotify parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.FleurFairStageSettleNotifyOuterClass.FleurFairStageSettleNotify 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.FleurFairStageSettleNotifyOuterClass.FleurFairStageSettleNotify parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.FleurFairStageSettleNotifyOuterClass.FleurFairStageSettleNotify 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.FleurFairStageSettleNotifyOuterClass.FleurFairStageSettleNotify parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.FleurFairStageSettleNotifyOuterClass.FleurFairStageSettleNotify parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.FleurFairStageSettleNotifyOuterClass.FleurFairStageSettleNotify parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.FleurFairStageSettleNotifyOuterClass.FleurFairStageSettleNotify 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.FleurFairStageSettleNotifyOuterClass.FleurFairStageSettleNotify parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.FleurFairStageSettleNotifyOuterClass.FleurFairStageSettleNotify 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.FleurFairStageSettleNotifyOuterClass.FleurFairStageSettleNotify parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.FleurFairStageSettleNotifyOuterClass.FleurFairStageSettleNotify 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.FleurFairStageSettleNotifyOuterClass.FleurFairStageSettleNotify prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * <pre>
     * CmdId: 23852
     * Obf: OPDHCFCGAEK
     * </pre>
     *
     * Protobuf type {@code FleurFairStageSettleNotify}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:FleurFairStageSettleNotify)
        emu.grasscutter.net.proto.FleurFairStageSettleNotifyOuterClass.FleurFairStageSettleNotifyOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.FleurFairStageSettleNotifyOuterClass.internal_static_FleurFairStageSettleNotify_descriptor;
      }

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

      // Construct using emu.grasscutter.net.proto.FleurFairStageSettleNotifyOuterClass.FleurFairStageSettleNotify.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();
        stageType_ = 0;

        detailCase_ = 0;
        detail_ = null;
        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.FleurFairStageSettleNotifyOuterClass.FleurFairStageSettleNotify buildPartial() {
        emu.grasscutter.net.proto.FleurFairStageSettleNotifyOuterClass.FleurFairStageSettleNotify result = new emu.grasscutter.net.proto.FleurFairStageSettleNotifyOuterClass.FleurFairStageSettleNotify(this);
        result.stageType_ = stageType_;
        if (detailCase_ == 13) {
          if (gallerySettleInfoBuilder_ == null) {
            result.detail_ = detail_;
          } else {
            result.detail_ = gallerySettleInfoBuilder_.build();
          }
        }
        if (detailCase_ == 14) {
          if (bossSettleInfoBuilder_ == null) {
            result.detail_ = detail_;
          } else {
            result.detail_ = bossSettleInfoBuilder_.build();
          }
        }
        result.detailCase_ = detailCase_;
        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.FleurFairStageSettleNotifyOuterClass.FleurFairStageSettleNotify) {
          return mergeFrom((emu.grasscutter.net.proto.FleurFairStageSettleNotifyOuterClass.FleurFairStageSettleNotify)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.FleurFairStageSettleNotifyOuterClass.FleurFairStageSettleNotify other) {
        if (other == emu.grasscutter.net.proto.FleurFairStageSettleNotifyOuterClass.FleurFairStageSettleNotify.getDefaultInstance()) return this;
        if (other.getStageType() != 0) {
          setStageType(other.getStageType());
        }
        switch (other.getDetailCase()) {
          case GALLERY_SETTLE_INFO: {
            mergeGallerySettleInfo(other.getGallerySettleInfo());
            break;
          }
          case BOSS_SETTLE_INFO: {
            mergeBossSettleInfo(other.getBossSettleInfo());
            break;
          }
          case DETAIL_NOT_SET: {
            break;
          }
        }
        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.FleurFairStageSettleNotifyOuterClass.FleurFairStageSettleNotify parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.FleurFairStageSettleNotifyOuterClass.FleurFairStageSettleNotify) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int detailCase_ = 0;
      private java.lang.Object detail_;
      public DetailCase
          getDetailCase() {
        return DetailCase.forNumber(
            detailCase_);
      }

      public Builder clearDetail() {
        detailCase_ = 0;
        detail_ = null;
        onChanged();
        return this;
      }


      private int stageType_ ;
      /**
       * <code>uint32 stage_type = 12;</code>
       * @return The stageType.
       */
      @java.lang.Override
      public int getStageType() {
        return stageType_;
      }
      /**
       * <code>uint32 stage_type = 12;</code>
       * @param value The stageType to set.
       * @return This builder for chaining.
       */
      public Builder setStageType(int value) {
        
        stageType_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 stage_type = 12;</code>
       * @return This builder for chaining.
       */
      public Builder clearStageType() {
        
        stageType_ = 0;
        onChanged();
        return this;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo, emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo.Builder, emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfoOrBuilder> gallerySettleInfoBuilder_;
      /**
       * <code>.FleurFairGallerySettleInfo gallery_settle_info = 13;</code>
       * @return Whether the gallerySettleInfo field is set.
       */
      @java.lang.Override
      public boolean hasGallerySettleInfo() {
        return detailCase_ == 13;
      }
      /**
       * <code>.FleurFairGallerySettleInfo gallery_settle_info = 13;</code>
       * @return The gallerySettleInfo.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo getGallerySettleInfo() {
        if (gallerySettleInfoBuilder_ == null) {
          if (detailCase_ == 13) {
            return (emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo) detail_;
          }
          return emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo.getDefaultInstance();
        } else {
          if (detailCase_ == 13) {
            return gallerySettleInfoBuilder_.getMessage();
          }
          return emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo.getDefaultInstance();
        }
      }
      /**
       * <code>.FleurFairGallerySettleInfo gallery_settle_info = 13;</code>
       */
      public Builder setGallerySettleInfo(emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo value) {
        if (gallerySettleInfoBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          detail_ = value;
          onChanged();
        } else {
          gallerySettleInfoBuilder_.setMessage(value);
        }
        detailCase_ = 13;
        return this;
      }
      /**
       * <code>.FleurFairGallerySettleInfo gallery_settle_info = 13;</code>
       */
      public Builder setGallerySettleInfo(
          emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo.Builder builderForValue) {
        if (gallerySettleInfoBuilder_ == null) {
          detail_ = builderForValue.build();
          onChanged();
        } else {
          gallerySettleInfoBuilder_.setMessage(builderForValue.build());
        }
        detailCase_ = 13;
        return this;
      }
      /**
       * <code>.FleurFairGallerySettleInfo gallery_settle_info = 13;</code>
       */
      public Builder mergeGallerySettleInfo(emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo value) {
        if (gallerySettleInfoBuilder_ == null) {
          if (detailCase_ == 13 &&
              detail_ != emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo.getDefaultInstance()) {
            detail_ = emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo.newBuilder((emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo) detail_)
                .mergeFrom(value).buildPartial();
          } else {
            detail_ = value;
          }
          onChanged();
        } else {
          if (detailCase_ == 13) {
            gallerySettleInfoBuilder_.mergeFrom(value);
          }
          gallerySettleInfoBuilder_.setMessage(value);
        }
        detailCase_ = 13;
        return this;
      }
      /**
       * <code>.FleurFairGallerySettleInfo gallery_settle_info = 13;</code>
       */
      public Builder clearGallerySettleInfo() {
        if (gallerySettleInfoBuilder_ == null) {
          if (detailCase_ == 13) {
            detailCase_ = 0;
            detail_ = null;
            onChanged();
          }
        } else {
          if (detailCase_ == 13) {
            detailCase_ = 0;
            detail_ = null;
          }
          gallerySettleInfoBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>.FleurFairGallerySettleInfo gallery_settle_info = 13;</code>
       */
      public emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo.Builder getGallerySettleInfoBuilder() {
        return getGallerySettleInfoFieldBuilder().getBuilder();
      }
      /**
       * <code>.FleurFairGallerySettleInfo gallery_settle_info = 13;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfoOrBuilder getGallerySettleInfoOrBuilder() {
        if ((detailCase_ == 13) && (gallerySettleInfoBuilder_ != null)) {
          return gallerySettleInfoBuilder_.getMessageOrBuilder();
        } else {
          if (detailCase_ == 13) {
            return (emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo) detail_;
          }
          return emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo.getDefaultInstance();
        }
      }
      /**
       * <code>.FleurFairGallerySettleInfo gallery_settle_info = 13;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo, emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo.Builder, emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfoOrBuilder> 
          getGallerySettleInfoFieldBuilder() {
        if (gallerySettleInfoBuilder_ == null) {
          if (!(detailCase_ == 13)) {
            detail_ = emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo.getDefaultInstance();
          }
          gallerySettleInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo, emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo.Builder, emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfoOrBuilder>(
                  (emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.FleurFairGallerySettleInfo) detail_,
                  getParentForChildren(),
                  isClean());
          detail_ = null;
        }
        detailCase_ = 13;
        onChanged();;
        return gallerySettleInfoBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.FleurFairBossSettleInfo, emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.FleurFairBossSettleInfo.Builder, emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.FleurFairBossSettleInfoOrBuilder> bossSettleInfoBuilder_;
      /**
       * <code>.FleurFairBossSettleInfo boss_settle_info = 14;</code>
       * @return Whether the bossSettleInfo field is set.
       */
      @java.lang.Override
      public boolean hasBossSettleInfo() {
        return detailCase_ == 14;
      }
      /**
       * <code>.FleurFairBossSettleInfo boss_settle_info = 14;</code>
       * @return The bossSettleInfo.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.FleurFairBossSettleInfo getBossSettleInfo() {
        if (bossSettleInfoBuilder_ == null) {
          if (detailCase_ == 14) {
            return (emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.FleurFairBossSettleInfo) detail_;
          }
          return emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.FleurFairBossSettleInfo.getDefaultInstance();
        } else {
          if (detailCase_ == 14) {
            return bossSettleInfoBuilder_.getMessage();
          }
          return emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.FleurFairBossSettleInfo.getDefaultInstance();
        }
      }
      /**
       * <code>.FleurFairBossSettleInfo boss_settle_info = 14;</code>
       */
      public Builder setBossSettleInfo(emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.FleurFairBossSettleInfo value) {
        if (bossSettleInfoBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          detail_ = value;
          onChanged();
        } else {
          bossSettleInfoBuilder_.setMessage(value);
        }
        detailCase_ = 14;
        return this;
      }
      /**
       * <code>.FleurFairBossSettleInfo boss_settle_info = 14;</code>
       */
      public Builder setBossSettleInfo(
          emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.FleurFairBossSettleInfo.Builder builderForValue) {
        if (bossSettleInfoBuilder_ == null) {
          detail_ = builderForValue.build();
          onChanged();
        } else {
          bossSettleInfoBuilder_.setMessage(builderForValue.build());
        }
        detailCase_ = 14;
        return this;
      }
      /**
       * <code>.FleurFairBossSettleInfo boss_settle_info = 14;</code>
       */
      public Builder mergeBossSettleInfo(emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.FleurFairBossSettleInfo value) {
        if (bossSettleInfoBuilder_ == null) {
          if (detailCase_ == 14 &&
              detail_ != emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.FleurFairBossSettleInfo.getDefaultInstance()) {
            detail_ = emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.FleurFairBossSettleInfo.newBuilder((emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.FleurFairBossSettleInfo) detail_)
                .mergeFrom(value).buildPartial();
          } else {
            detail_ = value;
          }
          onChanged();
        } else {
          if (detailCase_ == 14) {
            bossSettleInfoBuilder_.mergeFrom(value);
          }
          bossSettleInfoBuilder_.setMessage(value);
        }
        detailCase_ = 14;
        return this;
      }
      /**
       * <code>.FleurFairBossSettleInfo boss_settle_info = 14;</code>
       */
      public Builder clearBossSettleInfo() {
        if (bossSettleInfoBuilder_ == null) {
          if (detailCase_ == 14) {
            detailCase_ = 0;
            detail_ = null;
            onChanged();
          }
        } else {
          if (detailCase_ == 14) {
            detailCase_ = 0;
            detail_ = null;
          }
          bossSettleInfoBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>.FleurFairBossSettleInfo boss_settle_info = 14;</code>
       */
      public emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.FleurFairBossSettleInfo.Builder getBossSettleInfoBuilder() {
        return getBossSettleInfoFieldBuilder().getBuilder();
      }
      /**
       * <code>.FleurFairBossSettleInfo boss_settle_info = 14;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.FleurFairBossSettleInfoOrBuilder getBossSettleInfoOrBuilder() {
        if ((detailCase_ == 14) && (bossSettleInfoBuilder_ != null)) {
          return bossSettleInfoBuilder_.getMessageOrBuilder();
        } else {
          if (detailCase_ == 14) {
            return (emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.FleurFairBossSettleInfo) detail_;
          }
          return emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.FleurFairBossSettleInfo.getDefaultInstance();
        }
      }
      /**
       * <code>.FleurFairBossSettleInfo boss_settle_info = 14;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.FleurFairBossSettleInfo, emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.FleurFairBossSettleInfo.Builder, emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.FleurFairBossSettleInfoOrBuilder> 
          getBossSettleInfoFieldBuilder() {
        if (bossSettleInfoBuilder_ == null) {
          if (!(detailCase_ == 14)) {
            detail_ = emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.FleurFairBossSettleInfo.getDefaultInstance();
          }
          bossSettleInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.FleurFairBossSettleInfo, emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.FleurFairBossSettleInfo.Builder, emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.FleurFairBossSettleInfoOrBuilder>(
                  (emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.FleurFairBossSettleInfo) detail_,
                  getParentForChildren(),
                  isClean());
          detail_ = null;
        }
        detailCase_ = 14;
        onChanged();;
        return bossSettleInfoBuilder_;
      }
      @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:FleurFairStageSettleNotify)
    }

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

    public static emu.grasscutter.net.proto.FleurFairStageSettleNotifyOuterClass.FleurFairStageSettleNotify getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_FleurFairStageSettleNotify_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_FleurFairStageSettleNotify_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 FleurFairStageSettleNotify.proto\032 Fleu" +
      "rFairGallerySettleInfo.proto\032\035FleurFairB" +
      "ossSettleInfo.proto\"\254\001\n\032FleurFairStageSe" +
      "ttleNotify\022\022\n\nstage_type\030\014 \001(\r\022:\n\023galler" +
      "y_settle_info\030\r \001(\0132\033.FleurFairGallerySe" +
      "ttleInfoH\000\0224\n\020boss_settle_info\030\016 \001(\0132\030.F" +
      "leurFairBossSettleInfoH\000B\010\n\006detailB\033\n\031em" +
      "u.grasscutter.net.protob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.getDescriptor(),
        });
    internal_static_FleurFairStageSettleNotify_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_FleurFairStageSettleNotify_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_FleurFairStageSettleNotify_descriptor,
        new java.lang.String[] { "StageType", "GallerySettleInfo", "BossSettleInfo", "Detail", });
    emu.grasscutter.net.proto.FleurFairGallerySettleInfoOuterClass.getDescriptor();
    emu.grasscutter.net.proto.FleurFairBossSettleInfoOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
