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

package emu.grasscutter.net.proto;

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

    /**
     * <code>bool is_unlock = 12;</code>
     * @return The isUnlock.
     */
    boolean getIsUnlock();

    /**
     * <code>uint32 challenge_type = 10;</code>
     * @return The challengeType.
     */
    int getChallengeType();

    /**
     * <code>.SalvageBundleChallengeInfo bundle_info = 15;</code>
     * @return Whether the bundleInfo field is set.
     */
    boolean hasBundleInfo();
    /**
     * <code>.SalvageBundleChallengeInfo bundle_info = 15;</code>
     * @return The bundleInfo.
     */
    emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.SalvageBundleChallengeInfo getBundleInfo();
    /**
     * <code>.SalvageBundleChallengeInfo bundle_info = 15;</code>
     */
    emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.SalvageBundleChallengeInfoOrBuilder getBundleInfoOrBuilder();

    /**
     * <code>.SalvageScoreChallengeInfo score_challenge_info = 5;</code>
     * @return Whether the scoreChallengeInfo field is set.
     */
    boolean hasScoreChallengeInfo();
    /**
     * <code>.SalvageScoreChallengeInfo score_challenge_info = 5;</code>
     * @return The scoreChallengeInfo.
     */
    emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.SalvageScoreChallengeInfo getScoreChallengeInfo();
    /**
     * <code>.SalvageScoreChallengeInfo score_challenge_info = 5;</code>
     */
    emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.SalvageScoreChallengeInfoOrBuilder getScoreChallengeInfoOrBuilder();

    /**
     * <code>uint32 boss_challenge_id = 1;</code>
     * @return Whether the bossChallengeId field is set.
     */
    boolean hasBossChallengeId();
    /**
     * <code>uint32 boss_challenge_id = 1;</code>
     * @return The bossChallengeId.
     */
    int getBossChallengeId();

    public emu.grasscutter.net.proto.SalvageChallengeInfoOuterClass.SalvageChallengeInfo.ChallengeDetailCase getChallengeDetailCase();
  }
  /**
   * <pre>
   * Name: IJNIEHMAAMD
   * </pre>
   *
   * Protobuf type {@code SalvageChallengeInfo}
   */
  public static final class SalvageChallengeInfo extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:SalvageChallengeInfo)
      SalvageChallengeInfoOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use SalvageChallengeInfo.newBuilder() to construct.
    private SalvageChallengeInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private SalvageChallengeInfo() {
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private SalvageChallengeInfo(
        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 8: {
              challengeDetailCase_ = 1;
              challengeDetail_ = input.readUInt32();
              break;
            }
            case 42: {
              emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.SalvageScoreChallengeInfo.Builder subBuilder = null;
              if (challengeDetailCase_ == 5) {
                subBuilder = ((emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.SalvageScoreChallengeInfo) challengeDetail_).toBuilder();
              }
              challengeDetail_ =
                  input.readMessage(emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.SalvageScoreChallengeInfo.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.SalvageScoreChallengeInfo) challengeDetail_);
                challengeDetail_ = subBuilder.buildPartial();
              }
              challengeDetailCase_ = 5;
              break;
            }
            case 80: {

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

              isUnlock_ = input.readBool();
              break;
            }
            case 122: {
              emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.SalvageBundleChallengeInfo.Builder subBuilder = null;
              if (challengeDetailCase_ == 15) {
                subBuilder = ((emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.SalvageBundleChallengeInfo) challengeDetail_).toBuilder();
              }
              challengeDetail_ =
                  input.readMessage(emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.SalvageBundleChallengeInfo.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.SalvageBundleChallengeInfo) challengeDetail_);
                challengeDetail_ = subBuilder.buildPartial();
              }
              challengeDetailCase_ = 15;
              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.SalvageChallengeInfoOuterClass.internal_static_SalvageChallengeInfo_descriptor;
    }

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

    private int challengeDetailCase_ = 0;
    private java.lang.Object challengeDetail_;
    public enum ChallengeDetailCase
        implements com.google.protobuf.Internal.EnumLite,
            com.google.protobuf.AbstractMessage.InternalOneOfEnum {
      BUNDLE_INFO(15),
      SCORE_CHALLENGE_INFO(5),
      BOSS_CHALLENGE_ID(1),
      CHALLENGEDETAIL_NOT_SET(0);
      private final int value;
      private ChallengeDetailCase(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 ChallengeDetailCase valueOf(int value) {
        return forNumber(value);
      }

      public static ChallengeDetailCase forNumber(int value) {
        switch (value) {
          case 15: return BUNDLE_INFO;
          case 5: return SCORE_CHALLENGE_INFO;
          case 1: return BOSS_CHALLENGE_ID;
          case 0: return CHALLENGEDETAIL_NOT_SET;
          default: return null;
        }
      }
      public int getNumber() {
        return this.value;
      }
    };

    public ChallengeDetailCase
    getChallengeDetailCase() {
      return ChallengeDetailCase.forNumber(
          challengeDetailCase_);
    }

    public static final int IS_UNLOCK_FIELD_NUMBER = 12;
    private boolean isUnlock_;
    /**
     * <code>bool is_unlock = 12;</code>
     * @return The isUnlock.
     */
    @java.lang.Override
    public boolean getIsUnlock() {
      return isUnlock_;
    }

    public static final int CHALLENGE_TYPE_FIELD_NUMBER = 10;
    private int challengeType_;
    /**
     * <code>uint32 challenge_type = 10;</code>
     * @return The challengeType.
     */
    @java.lang.Override
    public int getChallengeType() {
      return challengeType_;
    }

    public static final int BUNDLE_INFO_FIELD_NUMBER = 15;
    /**
     * <code>.SalvageBundleChallengeInfo bundle_info = 15;</code>
     * @return Whether the bundleInfo field is set.
     */
    @java.lang.Override
    public boolean hasBundleInfo() {
      return challengeDetailCase_ == 15;
    }
    /**
     * <code>.SalvageBundleChallengeInfo bundle_info = 15;</code>
     * @return The bundleInfo.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.SalvageBundleChallengeInfo getBundleInfo() {
      if (challengeDetailCase_ == 15) {
         return (emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.SalvageBundleChallengeInfo) challengeDetail_;
      }
      return emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.SalvageBundleChallengeInfo.getDefaultInstance();
    }
    /**
     * <code>.SalvageBundleChallengeInfo bundle_info = 15;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.SalvageBundleChallengeInfoOrBuilder getBundleInfoOrBuilder() {
      if (challengeDetailCase_ == 15) {
         return (emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.SalvageBundleChallengeInfo) challengeDetail_;
      }
      return emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.SalvageBundleChallengeInfo.getDefaultInstance();
    }

    public static final int SCORE_CHALLENGE_INFO_FIELD_NUMBER = 5;
    /**
     * <code>.SalvageScoreChallengeInfo score_challenge_info = 5;</code>
     * @return Whether the scoreChallengeInfo field is set.
     */
    @java.lang.Override
    public boolean hasScoreChallengeInfo() {
      return challengeDetailCase_ == 5;
    }
    /**
     * <code>.SalvageScoreChallengeInfo score_challenge_info = 5;</code>
     * @return The scoreChallengeInfo.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.SalvageScoreChallengeInfo getScoreChallengeInfo() {
      if (challengeDetailCase_ == 5) {
         return (emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.SalvageScoreChallengeInfo) challengeDetail_;
      }
      return emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.SalvageScoreChallengeInfo.getDefaultInstance();
    }
    /**
     * <code>.SalvageScoreChallengeInfo score_challenge_info = 5;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.SalvageScoreChallengeInfoOrBuilder getScoreChallengeInfoOrBuilder() {
      if (challengeDetailCase_ == 5) {
         return (emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.SalvageScoreChallengeInfo) challengeDetail_;
      }
      return emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.SalvageScoreChallengeInfo.getDefaultInstance();
    }

    public static final int BOSS_CHALLENGE_ID_FIELD_NUMBER = 1;
    /**
     * <code>uint32 boss_challenge_id = 1;</code>
     * @return Whether the bossChallengeId field is set.
     */
    @java.lang.Override
    public boolean hasBossChallengeId() {
      return challengeDetailCase_ == 1;
    }
    /**
     * <code>uint32 boss_challenge_id = 1;</code>
     * @return The bossChallengeId.
     */
    @java.lang.Override
    public int getBossChallengeId() {
      if (challengeDetailCase_ == 1) {
        return (java.lang.Integer) challengeDetail_;
      }
      return 0;
    }

    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 (challengeDetailCase_ == 1) {
        output.writeUInt32(
            1, (int)((java.lang.Integer) challengeDetail_));
      }
      if (challengeDetailCase_ == 5) {
        output.writeMessage(5, (emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.SalvageScoreChallengeInfo) challengeDetail_);
      }
      if (challengeType_ != 0) {
        output.writeUInt32(10, challengeType_);
      }
      if (isUnlock_ != false) {
        output.writeBool(12, isUnlock_);
      }
      if (challengeDetailCase_ == 15) {
        output.writeMessage(15, (emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.SalvageBundleChallengeInfo) challengeDetail_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (challengeDetailCase_ == 1) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(
              1, (int)((java.lang.Integer) challengeDetail_));
      }
      if (challengeDetailCase_ == 5) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(5, (emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.SalvageScoreChallengeInfo) challengeDetail_);
      }
      if (challengeType_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(10, challengeType_);
      }
      if (isUnlock_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(12, isUnlock_);
      }
      if (challengeDetailCase_ == 15) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(15, (emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.SalvageBundleChallengeInfo) challengeDetail_);
      }
      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.SalvageChallengeInfoOuterClass.SalvageChallengeInfo)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.SalvageChallengeInfoOuterClass.SalvageChallengeInfo other = (emu.grasscutter.net.proto.SalvageChallengeInfoOuterClass.SalvageChallengeInfo) obj;

      if (getIsUnlock()
          != other.getIsUnlock()) return false;
      if (getChallengeType()
          != other.getChallengeType()) return false;
      if (!getChallengeDetailCase().equals(other.getChallengeDetailCase())) return false;
      switch (challengeDetailCase_) {
        case 15:
          if (!getBundleInfo()
              .equals(other.getBundleInfo())) return false;
          break;
        case 5:
          if (!getScoreChallengeInfo()
              .equals(other.getScoreChallengeInfo())) return false;
          break;
        case 1:
          if (getBossChallengeId()
              != other.getBossChallengeId()) 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) + IS_UNLOCK_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsUnlock());
      hash = (37 * hash) + CHALLENGE_TYPE_FIELD_NUMBER;
      hash = (53 * hash) + getChallengeType();
      switch (challengeDetailCase_) {
        case 15:
          hash = (37 * hash) + BUNDLE_INFO_FIELD_NUMBER;
          hash = (53 * hash) + getBundleInfo().hashCode();
          break;
        case 5:
          hash = (37 * hash) + SCORE_CHALLENGE_INFO_FIELD_NUMBER;
          hash = (53 * hash) + getScoreChallengeInfo().hashCode();
          break;
        case 1:
          hash = (37 * hash) + BOSS_CHALLENGE_ID_FIELD_NUMBER;
          hash = (53 * hash) + getBossChallengeId();
          break;
        case 0:
        default:
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

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

      // Construct using emu.grasscutter.net.proto.SalvageChallengeInfoOuterClass.SalvageChallengeInfo.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();
        isUnlock_ = false;

        challengeType_ = 0;

        challengeDetailCase_ = 0;
        challengeDetail_ = null;
        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.SalvageChallengeInfoOuterClass.SalvageChallengeInfo buildPartial() {
        emu.grasscutter.net.proto.SalvageChallengeInfoOuterClass.SalvageChallengeInfo result = new emu.grasscutter.net.proto.SalvageChallengeInfoOuterClass.SalvageChallengeInfo(this);
        result.isUnlock_ = isUnlock_;
        result.challengeType_ = challengeType_;
        if (challengeDetailCase_ == 15) {
          if (bundleInfoBuilder_ == null) {
            result.challengeDetail_ = challengeDetail_;
          } else {
            result.challengeDetail_ = bundleInfoBuilder_.build();
          }
        }
        if (challengeDetailCase_ == 5) {
          if (scoreChallengeInfoBuilder_ == null) {
            result.challengeDetail_ = challengeDetail_;
          } else {
            result.challengeDetail_ = scoreChallengeInfoBuilder_.build();
          }
        }
        if (challengeDetailCase_ == 1) {
          result.challengeDetail_ = challengeDetail_;
        }
        result.challengeDetailCase_ = challengeDetailCase_;
        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.SalvageChallengeInfoOuterClass.SalvageChallengeInfo) {
          return mergeFrom((emu.grasscutter.net.proto.SalvageChallengeInfoOuterClass.SalvageChallengeInfo)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.SalvageChallengeInfoOuterClass.SalvageChallengeInfo other) {
        if (other == emu.grasscutter.net.proto.SalvageChallengeInfoOuterClass.SalvageChallengeInfo.getDefaultInstance()) return this;
        if (other.getIsUnlock() != false) {
          setIsUnlock(other.getIsUnlock());
        }
        if (other.getChallengeType() != 0) {
          setChallengeType(other.getChallengeType());
        }
        switch (other.getChallengeDetailCase()) {
          case BUNDLE_INFO: {
            mergeBundleInfo(other.getBundleInfo());
            break;
          }
          case SCORE_CHALLENGE_INFO: {
            mergeScoreChallengeInfo(other.getScoreChallengeInfo());
            break;
          }
          case BOSS_CHALLENGE_ID: {
            setBossChallengeId(other.getBossChallengeId());
            break;
          }
          case CHALLENGEDETAIL_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.SalvageChallengeInfoOuterClass.SalvageChallengeInfo parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.SalvageChallengeInfoOuterClass.SalvageChallengeInfo) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int challengeDetailCase_ = 0;
      private java.lang.Object challengeDetail_;
      public ChallengeDetailCase
          getChallengeDetailCase() {
        return ChallengeDetailCase.forNumber(
            challengeDetailCase_);
      }

      public Builder clearChallengeDetail() {
        challengeDetailCase_ = 0;
        challengeDetail_ = null;
        onChanged();
        return this;
      }


      private boolean isUnlock_ ;
      /**
       * <code>bool is_unlock = 12;</code>
       * @return The isUnlock.
       */
      @java.lang.Override
      public boolean getIsUnlock() {
        return isUnlock_;
      }
      /**
       * <code>bool is_unlock = 12;</code>
       * @param value The isUnlock to set.
       * @return This builder for chaining.
       */
      public Builder setIsUnlock(boolean value) {
        
        isUnlock_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool is_unlock = 12;</code>
       * @return This builder for chaining.
       */
      public Builder clearIsUnlock() {
        
        isUnlock_ = false;
        onChanged();
        return this;
      }

      private int challengeType_ ;
      /**
       * <code>uint32 challenge_type = 10;</code>
       * @return The challengeType.
       */
      @java.lang.Override
      public int getChallengeType() {
        return challengeType_;
      }
      /**
       * <code>uint32 challenge_type = 10;</code>
       * @param value The challengeType to set.
       * @return This builder for chaining.
       */
      public Builder setChallengeType(int value) {
        
        challengeType_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 challenge_type = 10;</code>
       * @return This builder for chaining.
       */
      public Builder clearChallengeType() {
        
        challengeType_ = 0;
        onChanged();
        return this;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.SalvageBundleChallengeInfo, emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.SalvageBundleChallengeInfo.Builder, emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.SalvageBundleChallengeInfoOrBuilder> bundleInfoBuilder_;
      /**
       * <code>.SalvageBundleChallengeInfo bundle_info = 15;</code>
       * @return Whether the bundleInfo field is set.
       */
      @java.lang.Override
      public boolean hasBundleInfo() {
        return challengeDetailCase_ == 15;
      }
      /**
       * <code>.SalvageBundleChallengeInfo bundle_info = 15;</code>
       * @return The bundleInfo.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.SalvageBundleChallengeInfo getBundleInfo() {
        if (bundleInfoBuilder_ == null) {
          if (challengeDetailCase_ == 15) {
            return (emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.SalvageBundleChallengeInfo) challengeDetail_;
          }
          return emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.SalvageBundleChallengeInfo.getDefaultInstance();
        } else {
          if (challengeDetailCase_ == 15) {
            return bundleInfoBuilder_.getMessage();
          }
          return emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.SalvageBundleChallengeInfo.getDefaultInstance();
        }
      }
      /**
       * <code>.SalvageBundleChallengeInfo bundle_info = 15;</code>
       */
      public Builder setBundleInfo(emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.SalvageBundleChallengeInfo value) {
        if (bundleInfoBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          challengeDetail_ = value;
          onChanged();
        } else {
          bundleInfoBuilder_.setMessage(value);
        }
        challengeDetailCase_ = 15;
        return this;
      }
      /**
       * <code>.SalvageBundleChallengeInfo bundle_info = 15;</code>
       */
      public Builder setBundleInfo(
          emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.SalvageBundleChallengeInfo.Builder builderForValue) {
        if (bundleInfoBuilder_ == null) {
          challengeDetail_ = builderForValue.build();
          onChanged();
        } else {
          bundleInfoBuilder_.setMessage(builderForValue.build());
        }
        challengeDetailCase_ = 15;
        return this;
      }
      /**
       * <code>.SalvageBundleChallengeInfo bundle_info = 15;</code>
       */
      public Builder mergeBundleInfo(emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.SalvageBundleChallengeInfo value) {
        if (bundleInfoBuilder_ == null) {
          if (challengeDetailCase_ == 15 &&
              challengeDetail_ != emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.SalvageBundleChallengeInfo.getDefaultInstance()) {
            challengeDetail_ = emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.SalvageBundleChallengeInfo.newBuilder((emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.SalvageBundleChallengeInfo) challengeDetail_)
                .mergeFrom(value).buildPartial();
          } else {
            challengeDetail_ = value;
          }
          onChanged();
        } else {
          if (challengeDetailCase_ == 15) {
            bundleInfoBuilder_.mergeFrom(value);
          }
          bundleInfoBuilder_.setMessage(value);
        }
        challengeDetailCase_ = 15;
        return this;
      }
      /**
       * <code>.SalvageBundleChallengeInfo bundle_info = 15;</code>
       */
      public Builder clearBundleInfo() {
        if (bundleInfoBuilder_ == null) {
          if (challengeDetailCase_ == 15) {
            challengeDetailCase_ = 0;
            challengeDetail_ = null;
            onChanged();
          }
        } else {
          if (challengeDetailCase_ == 15) {
            challengeDetailCase_ = 0;
            challengeDetail_ = null;
          }
          bundleInfoBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>.SalvageBundleChallengeInfo bundle_info = 15;</code>
       */
      public emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.SalvageBundleChallengeInfo.Builder getBundleInfoBuilder() {
        return getBundleInfoFieldBuilder().getBuilder();
      }
      /**
       * <code>.SalvageBundleChallengeInfo bundle_info = 15;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.SalvageBundleChallengeInfoOrBuilder getBundleInfoOrBuilder() {
        if ((challengeDetailCase_ == 15) && (bundleInfoBuilder_ != null)) {
          return bundleInfoBuilder_.getMessageOrBuilder();
        } else {
          if (challengeDetailCase_ == 15) {
            return (emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.SalvageBundleChallengeInfo) challengeDetail_;
          }
          return emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.SalvageBundleChallengeInfo.getDefaultInstance();
        }
      }
      /**
       * <code>.SalvageBundleChallengeInfo bundle_info = 15;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.SalvageBundleChallengeInfo, emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.SalvageBundleChallengeInfo.Builder, emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.SalvageBundleChallengeInfoOrBuilder> 
          getBundleInfoFieldBuilder() {
        if (bundleInfoBuilder_ == null) {
          if (!(challengeDetailCase_ == 15)) {
            challengeDetail_ = emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.SalvageBundleChallengeInfo.getDefaultInstance();
          }
          bundleInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.SalvageBundleChallengeInfo, emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.SalvageBundleChallengeInfo.Builder, emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.SalvageBundleChallengeInfoOrBuilder>(
                  (emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.SalvageBundleChallengeInfo) challengeDetail_,
                  getParentForChildren(),
                  isClean());
          challengeDetail_ = null;
        }
        challengeDetailCase_ = 15;
        onChanged();;
        return bundleInfoBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.SalvageScoreChallengeInfo, emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.SalvageScoreChallengeInfo.Builder, emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.SalvageScoreChallengeInfoOrBuilder> scoreChallengeInfoBuilder_;
      /**
       * <code>.SalvageScoreChallengeInfo score_challenge_info = 5;</code>
       * @return Whether the scoreChallengeInfo field is set.
       */
      @java.lang.Override
      public boolean hasScoreChallengeInfo() {
        return challengeDetailCase_ == 5;
      }
      /**
       * <code>.SalvageScoreChallengeInfo score_challenge_info = 5;</code>
       * @return The scoreChallengeInfo.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.SalvageScoreChallengeInfo getScoreChallengeInfo() {
        if (scoreChallengeInfoBuilder_ == null) {
          if (challengeDetailCase_ == 5) {
            return (emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.SalvageScoreChallengeInfo) challengeDetail_;
          }
          return emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.SalvageScoreChallengeInfo.getDefaultInstance();
        } else {
          if (challengeDetailCase_ == 5) {
            return scoreChallengeInfoBuilder_.getMessage();
          }
          return emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.SalvageScoreChallengeInfo.getDefaultInstance();
        }
      }
      /**
       * <code>.SalvageScoreChallengeInfo score_challenge_info = 5;</code>
       */
      public Builder setScoreChallengeInfo(emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.SalvageScoreChallengeInfo value) {
        if (scoreChallengeInfoBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          challengeDetail_ = value;
          onChanged();
        } else {
          scoreChallengeInfoBuilder_.setMessage(value);
        }
        challengeDetailCase_ = 5;
        return this;
      }
      /**
       * <code>.SalvageScoreChallengeInfo score_challenge_info = 5;</code>
       */
      public Builder setScoreChallengeInfo(
          emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.SalvageScoreChallengeInfo.Builder builderForValue) {
        if (scoreChallengeInfoBuilder_ == null) {
          challengeDetail_ = builderForValue.build();
          onChanged();
        } else {
          scoreChallengeInfoBuilder_.setMessage(builderForValue.build());
        }
        challengeDetailCase_ = 5;
        return this;
      }
      /**
       * <code>.SalvageScoreChallengeInfo score_challenge_info = 5;</code>
       */
      public Builder mergeScoreChallengeInfo(emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.SalvageScoreChallengeInfo value) {
        if (scoreChallengeInfoBuilder_ == null) {
          if (challengeDetailCase_ == 5 &&
              challengeDetail_ != emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.SalvageScoreChallengeInfo.getDefaultInstance()) {
            challengeDetail_ = emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.SalvageScoreChallengeInfo.newBuilder((emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.SalvageScoreChallengeInfo) challengeDetail_)
                .mergeFrom(value).buildPartial();
          } else {
            challengeDetail_ = value;
          }
          onChanged();
        } else {
          if (challengeDetailCase_ == 5) {
            scoreChallengeInfoBuilder_.mergeFrom(value);
          }
          scoreChallengeInfoBuilder_.setMessage(value);
        }
        challengeDetailCase_ = 5;
        return this;
      }
      /**
       * <code>.SalvageScoreChallengeInfo score_challenge_info = 5;</code>
       */
      public Builder clearScoreChallengeInfo() {
        if (scoreChallengeInfoBuilder_ == null) {
          if (challengeDetailCase_ == 5) {
            challengeDetailCase_ = 0;
            challengeDetail_ = null;
            onChanged();
          }
        } else {
          if (challengeDetailCase_ == 5) {
            challengeDetailCase_ = 0;
            challengeDetail_ = null;
          }
          scoreChallengeInfoBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>.SalvageScoreChallengeInfo score_challenge_info = 5;</code>
       */
      public emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.SalvageScoreChallengeInfo.Builder getScoreChallengeInfoBuilder() {
        return getScoreChallengeInfoFieldBuilder().getBuilder();
      }
      /**
       * <code>.SalvageScoreChallengeInfo score_challenge_info = 5;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.SalvageScoreChallengeInfoOrBuilder getScoreChallengeInfoOrBuilder() {
        if ((challengeDetailCase_ == 5) && (scoreChallengeInfoBuilder_ != null)) {
          return scoreChallengeInfoBuilder_.getMessageOrBuilder();
        } else {
          if (challengeDetailCase_ == 5) {
            return (emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.SalvageScoreChallengeInfo) challengeDetail_;
          }
          return emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.SalvageScoreChallengeInfo.getDefaultInstance();
        }
      }
      /**
       * <code>.SalvageScoreChallengeInfo score_challenge_info = 5;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.SalvageScoreChallengeInfo, emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.SalvageScoreChallengeInfo.Builder, emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.SalvageScoreChallengeInfoOrBuilder> 
          getScoreChallengeInfoFieldBuilder() {
        if (scoreChallengeInfoBuilder_ == null) {
          if (!(challengeDetailCase_ == 5)) {
            challengeDetail_ = emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.SalvageScoreChallengeInfo.getDefaultInstance();
          }
          scoreChallengeInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.SalvageScoreChallengeInfo, emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.SalvageScoreChallengeInfo.Builder, emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.SalvageScoreChallengeInfoOrBuilder>(
                  (emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.SalvageScoreChallengeInfo) challengeDetail_,
                  getParentForChildren(),
                  isClean());
          challengeDetail_ = null;
        }
        challengeDetailCase_ = 5;
        onChanged();;
        return scoreChallengeInfoBuilder_;
      }

      /**
       * <code>uint32 boss_challenge_id = 1;</code>
       * @return Whether the bossChallengeId field is set.
       */
      public boolean hasBossChallengeId() {
        return challengeDetailCase_ == 1;
      }
      /**
       * <code>uint32 boss_challenge_id = 1;</code>
       * @return The bossChallengeId.
       */
      public int getBossChallengeId() {
        if (challengeDetailCase_ == 1) {
          return (java.lang.Integer) challengeDetail_;
        }
        return 0;
      }
      /**
       * <code>uint32 boss_challenge_id = 1;</code>
       * @param value The bossChallengeId to set.
       * @return This builder for chaining.
       */
      public Builder setBossChallengeId(int value) {
        challengeDetailCase_ = 1;
        challengeDetail_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 boss_challenge_id = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearBossChallengeId() {
        if (challengeDetailCase_ == 1) {
          challengeDetailCase_ = 0;
          challengeDetail_ = null;
          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:SalvageChallengeInfo)
    }

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

    public static emu.grasscutter.net.proto.SalvageChallengeInfoOuterClass.SalvageChallengeInfo getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_SalvageChallengeInfo_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_SalvageChallengeInfo_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\032SalvageChallengeInfo.proto\032 SalvageBun" +
      "dleChallengeInfo.proto\032\037SalvageScoreChal" +
      "lengeInfo.proto\"\342\001\n\024SalvageChallengeInfo" +
      "\022\021\n\tis_unlock\030\014 \001(\010\022\026\n\016challenge_type\030\n " +
      "\001(\r\0222\n\013bundle_info\030\017 \001(\0132\033.SalvageBundle" +
      "ChallengeInfoH\000\022:\n\024score_challenge_info\030" +
      "\005 \001(\0132\032.SalvageScoreChallengeInfoH\000\022\033\n\021b" +
      "oss_challenge_id\030\001 \001(\rH\000B\022\n\020challenge_de" +
      "tailB\033\n\031emu.grasscutter.net.protob\006proto" +
      "3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.getDescriptor(),
        });
    internal_static_SalvageChallengeInfo_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_SalvageChallengeInfo_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_SalvageChallengeInfo_descriptor,
        new java.lang.String[] { "IsUnlock", "ChallengeType", "BundleInfo", "ScoreChallengeInfo", "BossChallengeId", "ChallengeDetail", });
    emu.grasscutter.net.proto.SalvageBundleChallengeInfoOuterClass.getDescriptor();
    emu.grasscutter.net.proto.SalvageScoreChallengeInfoOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
