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

package emu.grasscutter.net.proto;

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

    /**
     * <code>int32 retcode = 8;</code>
     * @return The retcode.
     */
    int getRetcode();

    /**
     * <code>uint32 materialId = 6;</code>
     * @return The materialId.
     */
    int getMaterialId();

    /**
     * <code>.DetectorData detector_data = 1;</code>
     * @return Whether the detectorData field is set.
     */
    boolean hasDetectorData();
    /**
     * <code>.DetectorData detector_data = 1;</code>
     * @return The detectorData.
     */
    emu.grasscutter.net.proto.DetectorDataOuterClass.DetectorData getDetectorData();
    /**
     * <code>.DetectorData detector_data = 1;</code>
     */
    emu.grasscutter.net.proto.DetectorDataOuterClass.DetectorDataOrBuilder getDetectorDataOrBuilder();

    /**
     * <code>.ClientCollectorData client_collector_data = 7;</code>
     * @return Whether the clientCollectorData field is set.
     */
    boolean hasClientCollectorData();
    /**
     * <code>.ClientCollectorData client_collector_data = 7;</code>
     * @return The clientCollectorData.
     */
    emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData getClientCollectorData();
    /**
     * <code>.ClientCollectorData client_collector_data = 7;</code>
     */
    emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorDataOrBuilder getClientCollectorDataOrBuilder();

    /**
     * <code>.SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 139827;</code>
     * @return Whether the skyCrystalDetectorQuickUseResult field is set.
     */
    boolean hasSkyCrystalDetectorQuickUseResult();
    /**
     * <code>.SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 139827;</code>
     * @return The skyCrystalDetectorQuickUseResult.
     */
    emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult getSkyCrystalDetectorQuickUseResult();
    /**
     * <code>.SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 139827;</code>
     */
    emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResultOrBuilder getSkyCrystalDetectorQuickUseResultOrBuilder();

    public emu.grasscutter.net.proto.QuickUseWidgetRspOuterClass.QuickUseWidgetRsp.BDMFCFAMHJKCase getBDMFCFAMHJKCase();
  }
  /**
   * Protobuf type {@code QuickUseWidgetRsp}
   */
  public static final class QuickUseWidgetRsp extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:QuickUseWidgetRsp)
      QuickUseWidgetRspOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use QuickUseWidgetRsp.newBuilder() to construct.
    private QuickUseWidgetRsp(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private QuickUseWidgetRsp() {
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private QuickUseWidgetRsp(
        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 10: {
              emu.grasscutter.net.proto.DetectorDataOuterClass.DetectorData.Builder subBuilder = null;
              if (bDMFCFAMHJKCase_ == 1) {
                subBuilder = ((emu.grasscutter.net.proto.DetectorDataOuterClass.DetectorData) bDMFCFAMHJK_).toBuilder();
              }
              bDMFCFAMHJK_ =
                  input.readMessage(emu.grasscutter.net.proto.DetectorDataOuterClass.DetectorData.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((emu.grasscutter.net.proto.DetectorDataOuterClass.DetectorData) bDMFCFAMHJK_);
                bDMFCFAMHJK_ = subBuilder.buildPartial();
              }
              bDMFCFAMHJKCase_ = 1;
              break;
            }
            case 48: {

              materialId_ = input.readUInt32();
              break;
            }
            case 58: {
              emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData.Builder subBuilder = null;
              if (bDMFCFAMHJKCase_ == 7) {
                subBuilder = ((emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData) bDMFCFAMHJK_).toBuilder();
              }
              bDMFCFAMHJK_ =
                  input.readMessage(emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData) bDMFCFAMHJK_);
                bDMFCFAMHJK_ = subBuilder.buildPartial();
              }
              bDMFCFAMHJKCase_ = 7;
              break;
            }
            case 64: {

              retcode_ = input.readInt32();
              break;
            }
            case 1118618: {
              emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult.Builder subBuilder = null;
              if (bDMFCFAMHJKCase_ == 139827) {
                subBuilder = ((emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult) bDMFCFAMHJK_).toBuilder();
              }
              bDMFCFAMHJK_ =
                  input.readMessage(emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult) bDMFCFAMHJK_);
                bDMFCFAMHJK_ = subBuilder.buildPartial();
              }
              bDMFCFAMHJKCase_ = 139827;
              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.QuickUseWidgetRspOuterClass.internal_static_QuickUseWidgetRsp_descriptor;
    }

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

    /**
     * Protobuf enum {@code QuickUseWidgetRsp.FPAIPJHLNFF}
     */
    public enum FPAIPJHLNFF
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * <code>NONE = 0;</code>
       */
      NONE(0, 0),
      /**
       * <code>PEPPOHPHJOJ = 4252;</code>
       */
      PEPPOHPHJOJ(1, 4252),
      /**
       * <code>NNBKOLMPOEA = 1;</code>
       */
      NNBKOLMPOEA(3, 1),
      UNRECOGNIZED(-1, -1),
      ;

      /**
       * <code>DCDNILFDFLB = 0;</code>
       */
      public static final FPAIPJHLNFF DCDNILFDFLB = NONE;
      /**
       * <code>NONE = 0;</code>
       */
      public static final int NONE_VALUE = 0;
      /**
       * <code>PEPPOHPHJOJ = 4252;</code>
       */
      public static final int PEPPOHPHJOJ_VALUE = 4252;
      /**
       * <code>DCDNILFDFLB = 0;</code>
       */
      public static final int DCDNILFDFLB_VALUE = 0;
      /**
       * <code>NNBKOLMPOEA = 1;</code>
       */
      public static final int NNBKOLMPOEA_VALUE = 1;


      public final int getNumber() {
        if (index == -1) {
          throw new java.lang.IllegalArgumentException(
              "Can't get the number of an unknown enum value.");
        }
        return value;
      }

      /**
       * @param value The numeric wire value of the corresponding enum entry.
       * @return The enum associated with the given numeric wire value.
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static FPAIPJHLNFF valueOf(int value) {
        return forNumber(value);
      }

      /**
       * @param value The numeric wire value of the corresponding enum entry.
       * @return The enum associated with the given numeric wire value.
       */
      public static FPAIPJHLNFF forNumber(int value) {
        switch (value) {
          case 0: return NONE;
          case 4252: return PEPPOHPHJOJ;
          case 1: return NNBKOLMPOEA;
          default: return null;
        }
      }

      public static com.google.protobuf.Internal.EnumLiteMap<FPAIPJHLNFF>
          internalGetValueMap() {
        return internalValueMap;
      }
      private static final com.google.protobuf.Internal.EnumLiteMap<
          FPAIPJHLNFF> internalValueMap =
            new com.google.protobuf.Internal.EnumLiteMap<FPAIPJHLNFF>() {
              public FPAIPJHLNFF findValueByNumber(int number) {
                return FPAIPJHLNFF.forNumber(number);
              }
            };

      public final com.google.protobuf.Descriptors.EnumValueDescriptor
          getValueDescriptor() {
        if (index == -1) {
          throw new java.lang.IllegalStateException(
              "Can't get the descriptor of an unrecognized enum value.");
        }
        return getDescriptor().getValues().get(index);
      }
      public final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptorForType() {
        return getDescriptor();
      }
      public static final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.QuickUseWidgetRspOuterClass.QuickUseWidgetRsp.getDescriptor().getEnumTypes().get(0);
      }

      private static final FPAIPJHLNFF[] VALUES = getStaticValuesArray();
      private static FPAIPJHLNFF[] getStaticValuesArray() {
        return new FPAIPJHLNFF[] {
          NONE, PEPPOHPHJOJ, DCDNILFDFLB, NNBKOLMPOEA, 
        };
      }
      public static FPAIPJHLNFF valueOf(
          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
        if (desc.getType() != getDescriptor()) {
          throw new java.lang.IllegalArgumentException(
            "EnumValueDescriptor is not for this type.");
        }
        if (desc.getIndex() == -1) {
          return UNRECOGNIZED;
        }
        return VALUES[desc.getIndex()];
      }

      private final int index;
      private final int value;

      private FPAIPJHLNFF(int index, int value) {
        this.index = index;
        this.value = value;
      }

      // @@protoc_insertion_point(enum_scope:QuickUseWidgetRsp.FPAIPJHLNFF)
    }

    private int bDMFCFAMHJKCase_ = 0;
    private java.lang.Object bDMFCFAMHJK_;
    public enum BDMFCFAMHJKCase
        implements com.google.protobuf.Internal.EnumLite,
            com.google.protobuf.AbstractMessage.InternalOneOfEnum {
      DETECTOR_DATA(1),
      CLIENT_COLLECTOR_DATA(7),
      SKY_CRYSTAL_DETECTOR_QUICK_USE_RESULT(139827),
      BDMFCFAMHJK_NOT_SET(0);
      private final int value;
      private BDMFCFAMHJKCase(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 BDMFCFAMHJKCase valueOf(int value) {
        return forNumber(value);
      }

      public static BDMFCFAMHJKCase forNumber(int value) {
        switch (value) {
          case 1: return DETECTOR_DATA;
          case 7: return CLIENT_COLLECTOR_DATA;
          case 139827: return SKY_CRYSTAL_DETECTOR_QUICK_USE_RESULT;
          case 0: return BDMFCFAMHJK_NOT_SET;
          default: return null;
        }
      }
      public int getNumber() {
        return this.value;
      }
    };

    public BDMFCFAMHJKCase
    getBDMFCFAMHJKCase() {
      return BDMFCFAMHJKCase.forNumber(
          bDMFCFAMHJKCase_);
    }

    public static final int RETCODE_FIELD_NUMBER = 8;
    private int retcode_;
    /**
     * <code>int32 retcode = 8;</code>
     * @return The retcode.
     */
    @java.lang.Override
    public int getRetcode() {
      return retcode_;
    }

    public static final int MATERIALID_FIELD_NUMBER = 6;
    private int materialId_;
    /**
     * <code>uint32 materialId = 6;</code>
     * @return The materialId.
     */
    @java.lang.Override
    public int getMaterialId() {
      return materialId_;
    }

    public static final int DETECTOR_DATA_FIELD_NUMBER = 1;
    /**
     * <code>.DetectorData detector_data = 1;</code>
     * @return Whether the detectorData field is set.
     */
    @java.lang.Override
    public boolean hasDetectorData() {
      return bDMFCFAMHJKCase_ == 1;
    }
    /**
     * <code>.DetectorData detector_data = 1;</code>
     * @return The detectorData.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.DetectorDataOuterClass.DetectorData getDetectorData() {
      if (bDMFCFAMHJKCase_ == 1) {
         return (emu.grasscutter.net.proto.DetectorDataOuterClass.DetectorData) bDMFCFAMHJK_;
      }
      return emu.grasscutter.net.proto.DetectorDataOuterClass.DetectorData.getDefaultInstance();
    }
    /**
     * <code>.DetectorData detector_data = 1;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.DetectorDataOuterClass.DetectorDataOrBuilder getDetectorDataOrBuilder() {
      if (bDMFCFAMHJKCase_ == 1) {
         return (emu.grasscutter.net.proto.DetectorDataOuterClass.DetectorData) bDMFCFAMHJK_;
      }
      return emu.grasscutter.net.proto.DetectorDataOuterClass.DetectorData.getDefaultInstance();
    }

    public static final int CLIENT_COLLECTOR_DATA_FIELD_NUMBER = 7;
    /**
     * <code>.ClientCollectorData client_collector_data = 7;</code>
     * @return Whether the clientCollectorData field is set.
     */
    @java.lang.Override
    public boolean hasClientCollectorData() {
      return bDMFCFAMHJKCase_ == 7;
    }
    /**
     * <code>.ClientCollectorData client_collector_data = 7;</code>
     * @return The clientCollectorData.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData getClientCollectorData() {
      if (bDMFCFAMHJKCase_ == 7) {
         return (emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData) bDMFCFAMHJK_;
      }
      return emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData.getDefaultInstance();
    }
    /**
     * <code>.ClientCollectorData client_collector_data = 7;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorDataOrBuilder getClientCollectorDataOrBuilder() {
      if (bDMFCFAMHJKCase_ == 7) {
         return (emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData) bDMFCFAMHJK_;
      }
      return emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData.getDefaultInstance();
    }

    public static final int SKY_CRYSTAL_DETECTOR_QUICK_USE_RESULT_FIELD_NUMBER = 139827;
    /**
     * <code>.SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 139827;</code>
     * @return Whether the skyCrystalDetectorQuickUseResult field is set.
     */
    @java.lang.Override
    public boolean hasSkyCrystalDetectorQuickUseResult() {
      return bDMFCFAMHJKCase_ == 139827;
    }
    /**
     * <code>.SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 139827;</code>
     * @return The skyCrystalDetectorQuickUseResult.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult getSkyCrystalDetectorQuickUseResult() {
      if (bDMFCFAMHJKCase_ == 139827) {
         return (emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult) bDMFCFAMHJK_;
      }
      return emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult.getDefaultInstance();
    }
    /**
     * <code>.SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 139827;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResultOrBuilder getSkyCrystalDetectorQuickUseResultOrBuilder() {
      if (bDMFCFAMHJKCase_ == 139827) {
         return (emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult) bDMFCFAMHJK_;
      }
      return emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult.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 (bDMFCFAMHJKCase_ == 1) {
        output.writeMessage(1, (emu.grasscutter.net.proto.DetectorDataOuterClass.DetectorData) bDMFCFAMHJK_);
      }
      if (materialId_ != 0) {
        output.writeUInt32(6, materialId_);
      }
      if (bDMFCFAMHJKCase_ == 7) {
        output.writeMessage(7, (emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData) bDMFCFAMHJK_);
      }
      if (retcode_ != 0) {
        output.writeInt32(8, retcode_);
      }
      if (bDMFCFAMHJKCase_ == 139827) {
        output.writeMessage(139827, (emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult) bDMFCFAMHJK_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (bDMFCFAMHJKCase_ == 1) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, (emu.grasscutter.net.proto.DetectorDataOuterClass.DetectorData) bDMFCFAMHJK_);
      }
      if (materialId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(6, materialId_);
      }
      if (bDMFCFAMHJKCase_ == 7) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(7, (emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData) bDMFCFAMHJK_);
      }
      if (retcode_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(8, retcode_);
      }
      if (bDMFCFAMHJKCase_ == 139827) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(139827, (emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult) bDMFCFAMHJK_);
      }
      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.QuickUseWidgetRspOuterClass.QuickUseWidgetRsp)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.QuickUseWidgetRspOuterClass.QuickUseWidgetRsp other = (emu.grasscutter.net.proto.QuickUseWidgetRspOuterClass.QuickUseWidgetRsp) obj;

      if (getRetcode()
          != other.getRetcode()) return false;
      if (getMaterialId()
          != other.getMaterialId()) return false;
      if (!getBDMFCFAMHJKCase().equals(other.getBDMFCFAMHJKCase())) return false;
      switch (bDMFCFAMHJKCase_) {
        case 1:
          if (!getDetectorData()
              .equals(other.getDetectorData())) return false;
          break;
        case 7:
          if (!getClientCollectorData()
              .equals(other.getClientCollectorData())) return false;
          break;
        case 139827:
          if (!getSkyCrystalDetectorQuickUseResult()
              .equals(other.getSkyCrystalDetectorQuickUseResult())) 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) + RETCODE_FIELD_NUMBER;
      hash = (53 * hash) + getRetcode();
      hash = (37 * hash) + MATERIALID_FIELD_NUMBER;
      hash = (53 * hash) + getMaterialId();
      switch (bDMFCFAMHJKCase_) {
        case 1:
          hash = (37 * hash) + DETECTOR_DATA_FIELD_NUMBER;
          hash = (53 * hash) + getDetectorData().hashCode();
          break;
        case 7:
          hash = (37 * hash) + CLIENT_COLLECTOR_DATA_FIELD_NUMBER;
          hash = (53 * hash) + getClientCollectorData().hashCode();
          break;
        case 139827:
          hash = (37 * hash) + SKY_CRYSTAL_DETECTOR_QUICK_USE_RESULT_FIELD_NUMBER;
          hash = (53 * hash) + getSkyCrystalDetectorQuickUseResult().hashCode();
          break;
        case 0:
        default:
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code QuickUseWidgetRsp}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:QuickUseWidgetRsp)
        emu.grasscutter.net.proto.QuickUseWidgetRspOuterClass.QuickUseWidgetRspOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.QuickUseWidgetRspOuterClass.internal_static_QuickUseWidgetRsp_descriptor;
      }

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

      // Construct using emu.grasscutter.net.proto.QuickUseWidgetRspOuterClass.QuickUseWidgetRsp.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();
        retcode_ = 0;

        materialId_ = 0;

        bDMFCFAMHJKCase_ = 0;
        bDMFCFAMHJK_ = null;
        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.QuickUseWidgetRspOuterClass.QuickUseWidgetRsp buildPartial() {
        emu.grasscutter.net.proto.QuickUseWidgetRspOuterClass.QuickUseWidgetRsp result = new emu.grasscutter.net.proto.QuickUseWidgetRspOuterClass.QuickUseWidgetRsp(this);
        result.retcode_ = retcode_;
        result.materialId_ = materialId_;
        if (bDMFCFAMHJKCase_ == 1) {
          if (detectorDataBuilder_ == null) {
            result.bDMFCFAMHJK_ = bDMFCFAMHJK_;
          } else {
            result.bDMFCFAMHJK_ = detectorDataBuilder_.build();
          }
        }
        if (bDMFCFAMHJKCase_ == 7) {
          if (clientCollectorDataBuilder_ == null) {
            result.bDMFCFAMHJK_ = bDMFCFAMHJK_;
          } else {
            result.bDMFCFAMHJK_ = clientCollectorDataBuilder_.build();
          }
        }
        if (bDMFCFAMHJKCase_ == 139827) {
          if (skyCrystalDetectorQuickUseResultBuilder_ == null) {
            result.bDMFCFAMHJK_ = bDMFCFAMHJK_;
          } else {
            result.bDMFCFAMHJK_ = skyCrystalDetectorQuickUseResultBuilder_.build();
          }
        }
        result.bDMFCFAMHJKCase_ = bDMFCFAMHJKCase_;
        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.QuickUseWidgetRspOuterClass.QuickUseWidgetRsp) {
          return mergeFrom((emu.grasscutter.net.proto.QuickUseWidgetRspOuterClass.QuickUseWidgetRsp)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.QuickUseWidgetRspOuterClass.QuickUseWidgetRsp other) {
        if (other == emu.grasscutter.net.proto.QuickUseWidgetRspOuterClass.QuickUseWidgetRsp.getDefaultInstance()) return this;
        if (other.getRetcode() != 0) {
          setRetcode(other.getRetcode());
        }
        if (other.getMaterialId() != 0) {
          setMaterialId(other.getMaterialId());
        }
        switch (other.getBDMFCFAMHJKCase()) {
          case DETECTOR_DATA: {
            mergeDetectorData(other.getDetectorData());
            break;
          }
          case CLIENT_COLLECTOR_DATA: {
            mergeClientCollectorData(other.getClientCollectorData());
            break;
          }
          case SKY_CRYSTAL_DETECTOR_QUICK_USE_RESULT: {
            mergeSkyCrystalDetectorQuickUseResult(other.getSkyCrystalDetectorQuickUseResult());
            break;
          }
          case BDMFCFAMHJK_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.QuickUseWidgetRspOuterClass.QuickUseWidgetRsp parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.QuickUseWidgetRspOuterClass.QuickUseWidgetRsp) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bDMFCFAMHJKCase_ = 0;
      private java.lang.Object bDMFCFAMHJK_;
      public BDMFCFAMHJKCase
          getBDMFCFAMHJKCase() {
        return BDMFCFAMHJKCase.forNumber(
            bDMFCFAMHJKCase_);
      }

      public Builder clearBDMFCFAMHJK() {
        bDMFCFAMHJKCase_ = 0;
        bDMFCFAMHJK_ = null;
        onChanged();
        return this;
      }


      private int retcode_ ;
      /**
       * <code>int32 retcode = 8;</code>
       * @return The retcode.
       */
      @java.lang.Override
      public int getRetcode() {
        return retcode_;
      }
      /**
       * <code>int32 retcode = 8;</code>
       * @param value The retcode to set.
       * @return This builder for chaining.
       */
      public Builder setRetcode(int value) {
        
        retcode_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int32 retcode = 8;</code>
       * @return This builder for chaining.
       */
      public Builder clearRetcode() {
        
        retcode_ = 0;
        onChanged();
        return this;
      }

      private int materialId_ ;
      /**
       * <code>uint32 materialId = 6;</code>
       * @return The materialId.
       */
      @java.lang.Override
      public int getMaterialId() {
        return materialId_;
      }
      /**
       * <code>uint32 materialId = 6;</code>
       * @param value The materialId to set.
       * @return This builder for chaining.
       */
      public Builder setMaterialId(int value) {
        
        materialId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 materialId = 6;</code>
       * @return This builder for chaining.
       */
      public Builder clearMaterialId() {
        
        materialId_ = 0;
        onChanged();
        return this;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.DetectorDataOuterClass.DetectorData, emu.grasscutter.net.proto.DetectorDataOuterClass.DetectorData.Builder, emu.grasscutter.net.proto.DetectorDataOuterClass.DetectorDataOrBuilder> detectorDataBuilder_;
      /**
       * <code>.DetectorData detector_data = 1;</code>
       * @return Whether the detectorData field is set.
       */
      @java.lang.Override
      public boolean hasDetectorData() {
        return bDMFCFAMHJKCase_ == 1;
      }
      /**
       * <code>.DetectorData detector_data = 1;</code>
       * @return The detectorData.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.DetectorDataOuterClass.DetectorData getDetectorData() {
        if (detectorDataBuilder_ == null) {
          if (bDMFCFAMHJKCase_ == 1) {
            return (emu.grasscutter.net.proto.DetectorDataOuterClass.DetectorData) bDMFCFAMHJK_;
          }
          return emu.grasscutter.net.proto.DetectorDataOuterClass.DetectorData.getDefaultInstance();
        } else {
          if (bDMFCFAMHJKCase_ == 1) {
            return detectorDataBuilder_.getMessage();
          }
          return emu.grasscutter.net.proto.DetectorDataOuterClass.DetectorData.getDefaultInstance();
        }
      }
      /**
       * <code>.DetectorData detector_data = 1;</code>
       */
      public Builder setDetectorData(emu.grasscutter.net.proto.DetectorDataOuterClass.DetectorData value) {
        if (detectorDataBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          bDMFCFAMHJK_ = value;
          onChanged();
        } else {
          detectorDataBuilder_.setMessage(value);
        }
        bDMFCFAMHJKCase_ = 1;
        return this;
      }
      /**
       * <code>.DetectorData detector_data = 1;</code>
       */
      public Builder setDetectorData(
          emu.grasscutter.net.proto.DetectorDataOuterClass.DetectorData.Builder builderForValue) {
        if (detectorDataBuilder_ == null) {
          bDMFCFAMHJK_ = builderForValue.build();
          onChanged();
        } else {
          detectorDataBuilder_.setMessage(builderForValue.build());
        }
        bDMFCFAMHJKCase_ = 1;
        return this;
      }
      /**
       * <code>.DetectorData detector_data = 1;</code>
       */
      public Builder mergeDetectorData(emu.grasscutter.net.proto.DetectorDataOuterClass.DetectorData value) {
        if (detectorDataBuilder_ == null) {
          if (bDMFCFAMHJKCase_ == 1 &&
              bDMFCFAMHJK_ != emu.grasscutter.net.proto.DetectorDataOuterClass.DetectorData.getDefaultInstance()) {
            bDMFCFAMHJK_ = emu.grasscutter.net.proto.DetectorDataOuterClass.DetectorData.newBuilder((emu.grasscutter.net.proto.DetectorDataOuterClass.DetectorData) bDMFCFAMHJK_)
                .mergeFrom(value).buildPartial();
          } else {
            bDMFCFAMHJK_ = value;
          }
          onChanged();
        } else {
          if (bDMFCFAMHJKCase_ == 1) {
            detectorDataBuilder_.mergeFrom(value);
          }
          detectorDataBuilder_.setMessage(value);
        }
        bDMFCFAMHJKCase_ = 1;
        return this;
      }
      /**
       * <code>.DetectorData detector_data = 1;</code>
       */
      public Builder clearDetectorData() {
        if (detectorDataBuilder_ == null) {
          if (bDMFCFAMHJKCase_ == 1) {
            bDMFCFAMHJKCase_ = 0;
            bDMFCFAMHJK_ = null;
            onChanged();
          }
        } else {
          if (bDMFCFAMHJKCase_ == 1) {
            bDMFCFAMHJKCase_ = 0;
            bDMFCFAMHJK_ = null;
          }
          detectorDataBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>.DetectorData detector_data = 1;</code>
       */
      public emu.grasscutter.net.proto.DetectorDataOuterClass.DetectorData.Builder getDetectorDataBuilder() {
        return getDetectorDataFieldBuilder().getBuilder();
      }
      /**
       * <code>.DetectorData detector_data = 1;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.DetectorDataOuterClass.DetectorDataOrBuilder getDetectorDataOrBuilder() {
        if ((bDMFCFAMHJKCase_ == 1) && (detectorDataBuilder_ != null)) {
          return detectorDataBuilder_.getMessageOrBuilder();
        } else {
          if (bDMFCFAMHJKCase_ == 1) {
            return (emu.grasscutter.net.proto.DetectorDataOuterClass.DetectorData) bDMFCFAMHJK_;
          }
          return emu.grasscutter.net.proto.DetectorDataOuterClass.DetectorData.getDefaultInstance();
        }
      }
      /**
       * <code>.DetectorData detector_data = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.DetectorDataOuterClass.DetectorData, emu.grasscutter.net.proto.DetectorDataOuterClass.DetectorData.Builder, emu.grasscutter.net.proto.DetectorDataOuterClass.DetectorDataOrBuilder> 
          getDetectorDataFieldBuilder() {
        if (detectorDataBuilder_ == null) {
          if (!(bDMFCFAMHJKCase_ == 1)) {
            bDMFCFAMHJK_ = emu.grasscutter.net.proto.DetectorDataOuterClass.DetectorData.getDefaultInstance();
          }
          detectorDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.DetectorDataOuterClass.DetectorData, emu.grasscutter.net.proto.DetectorDataOuterClass.DetectorData.Builder, emu.grasscutter.net.proto.DetectorDataOuterClass.DetectorDataOrBuilder>(
                  (emu.grasscutter.net.proto.DetectorDataOuterClass.DetectorData) bDMFCFAMHJK_,
                  getParentForChildren(),
                  isClean());
          bDMFCFAMHJK_ = null;
        }
        bDMFCFAMHJKCase_ = 1;
        onChanged();;
        return detectorDataBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData, emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData.Builder, emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorDataOrBuilder> clientCollectorDataBuilder_;
      /**
       * <code>.ClientCollectorData client_collector_data = 7;</code>
       * @return Whether the clientCollectorData field is set.
       */
      @java.lang.Override
      public boolean hasClientCollectorData() {
        return bDMFCFAMHJKCase_ == 7;
      }
      /**
       * <code>.ClientCollectorData client_collector_data = 7;</code>
       * @return The clientCollectorData.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData getClientCollectorData() {
        if (clientCollectorDataBuilder_ == null) {
          if (bDMFCFAMHJKCase_ == 7) {
            return (emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData) bDMFCFAMHJK_;
          }
          return emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData.getDefaultInstance();
        } else {
          if (bDMFCFAMHJKCase_ == 7) {
            return clientCollectorDataBuilder_.getMessage();
          }
          return emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData.getDefaultInstance();
        }
      }
      /**
       * <code>.ClientCollectorData client_collector_data = 7;</code>
       */
      public Builder setClientCollectorData(emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData value) {
        if (clientCollectorDataBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          bDMFCFAMHJK_ = value;
          onChanged();
        } else {
          clientCollectorDataBuilder_.setMessage(value);
        }
        bDMFCFAMHJKCase_ = 7;
        return this;
      }
      /**
       * <code>.ClientCollectorData client_collector_data = 7;</code>
       */
      public Builder setClientCollectorData(
          emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData.Builder builderForValue) {
        if (clientCollectorDataBuilder_ == null) {
          bDMFCFAMHJK_ = builderForValue.build();
          onChanged();
        } else {
          clientCollectorDataBuilder_.setMessage(builderForValue.build());
        }
        bDMFCFAMHJKCase_ = 7;
        return this;
      }
      /**
       * <code>.ClientCollectorData client_collector_data = 7;</code>
       */
      public Builder mergeClientCollectorData(emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData value) {
        if (clientCollectorDataBuilder_ == null) {
          if (bDMFCFAMHJKCase_ == 7 &&
              bDMFCFAMHJK_ != emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData.getDefaultInstance()) {
            bDMFCFAMHJK_ = emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData.newBuilder((emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData) bDMFCFAMHJK_)
                .mergeFrom(value).buildPartial();
          } else {
            bDMFCFAMHJK_ = value;
          }
          onChanged();
        } else {
          if (bDMFCFAMHJKCase_ == 7) {
            clientCollectorDataBuilder_.mergeFrom(value);
          }
          clientCollectorDataBuilder_.setMessage(value);
        }
        bDMFCFAMHJKCase_ = 7;
        return this;
      }
      /**
       * <code>.ClientCollectorData client_collector_data = 7;</code>
       */
      public Builder clearClientCollectorData() {
        if (clientCollectorDataBuilder_ == null) {
          if (bDMFCFAMHJKCase_ == 7) {
            bDMFCFAMHJKCase_ = 0;
            bDMFCFAMHJK_ = null;
            onChanged();
          }
        } else {
          if (bDMFCFAMHJKCase_ == 7) {
            bDMFCFAMHJKCase_ = 0;
            bDMFCFAMHJK_ = null;
          }
          clientCollectorDataBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>.ClientCollectorData client_collector_data = 7;</code>
       */
      public emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData.Builder getClientCollectorDataBuilder() {
        return getClientCollectorDataFieldBuilder().getBuilder();
      }
      /**
       * <code>.ClientCollectorData client_collector_data = 7;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorDataOrBuilder getClientCollectorDataOrBuilder() {
        if ((bDMFCFAMHJKCase_ == 7) && (clientCollectorDataBuilder_ != null)) {
          return clientCollectorDataBuilder_.getMessageOrBuilder();
        } else {
          if (bDMFCFAMHJKCase_ == 7) {
            return (emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData) bDMFCFAMHJK_;
          }
          return emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData.getDefaultInstance();
        }
      }
      /**
       * <code>.ClientCollectorData client_collector_data = 7;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData, emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData.Builder, emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorDataOrBuilder> 
          getClientCollectorDataFieldBuilder() {
        if (clientCollectorDataBuilder_ == null) {
          if (!(bDMFCFAMHJKCase_ == 7)) {
            bDMFCFAMHJK_ = emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData.getDefaultInstance();
          }
          clientCollectorDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData, emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData.Builder, emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorDataOrBuilder>(
                  (emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData) bDMFCFAMHJK_,
                  getParentForChildren(),
                  isClean());
          bDMFCFAMHJK_ = null;
        }
        bDMFCFAMHJKCase_ = 7;
        onChanged();;
        return clientCollectorDataBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult, emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult.Builder, emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResultOrBuilder> skyCrystalDetectorQuickUseResultBuilder_;
      /**
       * <code>.SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 139827;</code>
       * @return Whether the skyCrystalDetectorQuickUseResult field is set.
       */
      @java.lang.Override
      public boolean hasSkyCrystalDetectorQuickUseResult() {
        return bDMFCFAMHJKCase_ == 139827;
      }
      /**
       * <code>.SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 139827;</code>
       * @return The skyCrystalDetectorQuickUseResult.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult getSkyCrystalDetectorQuickUseResult() {
        if (skyCrystalDetectorQuickUseResultBuilder_ == null) {
          if (bDMFCFAMHJKCase_ == 139827) {
            return (emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult) bDMFCFAMHJK_;
          }
          return emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult.getDefaultInstance();
        } else {
          if (bDMFCFAMHJKCase_ == 139827) {
            return skyCrystalDetectorQuickUseResultBuilder_.getMessage();
          }
          return emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult.getDefaultInstance();
        }
      }
      /**
       * <code>.SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 139827;</code>
       */
      public Builder setSkyCrystalDetectorQuickUseResult(emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult value) {
        if (skyCrystalDetectorQuickUseResultBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          bDMFCFAMHJK_ = value;
          onChanged();
        } else {
          skyCrystalDetectorQuickUseResultBuilder_.setMessage(value);
        }
        bDMFCFAMHJKCase_ = 139827;
        return this;
      }
      /**
       * <code>.SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 139827;</code>
       */
      public Builder setSkyCrystalDetectorQuickUseResult(
          emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult.Builder builderForValue) {
        if (skyCrystalDetectorQuickUseResultBuilder_ == null) {
          bDMFCFAMHJK_ = builderForValue.build();
          onChanged();
        } else {
          skyCrystalDetectorQuickUseResultBuilder_.setMessage(builderForValue.build());
        }
        bDMFCFAMHJKCase_ = 139827;
        return this;
      }
      /**
       * <code>.SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 139827;</code>
       */
      public Builder mergeSkyCrystalDetectorQuickUseResult(emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult value) {
        if (skyCrystalDetectorQuickUseResultBuilder_ == null) {
          if (bDMFCFAMHJKCase_ == 139827 &&
              bDMFCFAMHJK_ != emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult.getDefaultInstance()) {
            bDMFCFAMHJK_ = emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult.newBuilder((emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult) bDMFCFAMHJK_)
                .mergeFrom(value).buildPartial();
          } else {
            bDMFCFAMHJK_ = value;
          }
          onChanged();
        } else {
          if (bDMFCFAMHJKCase_ == 139827) {
            skyCrystalDetectorQuickUseResultBuilder_.mergeFrom(value);
          }
          skyCrystalDetectorQuickUseResultBuilder_.setMessage(value);
        }
        bDMFCFAMHJKCase_ = 139827;
        return this;
      }
      /**
       * <code>.SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 139827;</code>
       */
      public Builder clearSkyCrystalDetectorQuickUseResult() {
        if (skyCrystalDetectorQuickUseResultBuilder_ == null) {
          if (bDMFCFAMHJKCase_ == 139827) {
            bDMFCFAMHJKCase_ = 0;
            bDMFCFAMHJK_ = null;
            onChanged();
          }
        } else {
          if (bDMFCFAMHJKCase_ == 139827) {
            bDMFCFAMHJKCase_ = 0;
            bDMFCFAMHJK_ = null;
          }
          skyCrystalDetectorQuickUseResultBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>.SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 139827;</code>
       */
      public emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult.Builder getSkyCrystalDetectorQuickUseResultBuilder() {
        return getSkyCrystalDetectorQuickUseResultFieldBuilder().getBuilder();
      }
      /**
       * <code>.SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 139827;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResultOrBuilder getSkyCrystalDetectorQuickUseResultOrBuilder() {
        if ((bDMFCFAMHJKCase_ == 139827) && (skyCrystalDetectorQuickUseResultBuilder_ != null)) {
          return skyCrystalDetectorQuickUseResultBuilder_.getMessageOrBuilder();
        } else {
          if (bDMFCFAMHJKCase_ == 139827) {
            return (emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult) bDMFCFAMHJK_;
          }
          return emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult.getDefaultInstance();
        }
      }
      /**
       * <code>.SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 139827;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult, emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult.Builder, emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResultOrBuilder> 
          getSkyCrystalDetectorQuickUseResultFieldBuilder() {
        if (skyCrystalDetectorQuickUseResultBuilder_ == null) {
          if (!(bDMFCFAMHJKCase_ == 139827)) {
            bDMFCFAMHJK_ = emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult.getDefaultInstance();
          }
          skyCrystalDetectorQuickUseResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult, emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult.Builder, emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResultOrBuilder>(
                  (emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult) bDMFCFAMHJK_,
                  getParentForChildren(),
                  isClean());
          bDMFCFAMHJK_ = null;
        }
        bDMFCFAMHJKCase_ = 139827;
        onChanged();;
        return skyCrystalDetectorQuickUseResultBuilder_;
      }
      @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:QuickUseWidgetRsp)
    }

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

    public static emu.grasscutter.net.proto.QuickUseWidgetRspOuterClass.QuickUseWidgetRsp getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_QuickUseWidgetRsp_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_QuickUseWidgetRsp_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\027QuickUseWidgetRsp.proto\032\022DetectorData." +
      "proto\032\031ClientCollectorData.proto\032&SkyCry" +
      "stalDetectorQuickUseResult.proto\"\315\002\n\021Qui" +
      "ckUseWidgetRsp\022\017\n\007retcode\030\010 \001(\005\022\022\n\nmater" +
      "ialId\030\006 \001(\r\022&\n\rdetector_data\030\001 \001(\0132\r.Det" +
      "ectorDataH\000\0225\n\025client_collector_data\030\007 \001" +
      "(\0132\024.ClientCollectorDataH\000\022T\n%sky_crysta" +
      "l_detector_quick_use_result\030\263\304\010 \001(\0132!.Sk" +
      "yCrystalDetectorQuickUseResultH\000\"O\n\013FPAI" +
      "PJHLNFF\022\010\n\004NONE\020\000\022\020\n\013PEPPOHPHJOJ\020\234!\022\017\n\013D" +
      "CDNILFDFLB\020\000\022\017\n\013NNBKOLMPOEA\020\001\032\002\020\001B\r\n\013BDM" +
      "FCFAMHJKB\033\n\031emu.grasscutter.net.protob\006p" +
      "roto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.DetectorDataOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.ClientCollectorDataOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.getDescriptor(),
        });
    internal_static_QuickUseWidgetRsp_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_QuickUseWidgetRsp_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_QuickUseWidgetRsp_descriptor,
        new java.lang.String[] { "Retcode", "MaterialId", "DetectorData", "ClientCollectorData", "SkyCrystalDetectorQuickUseResult", "BDMFCFAMHJK", });
    emu.grasscutter.net.proto.DetectorDataOuterClass.getDescriptor();
    emu.grasscutter.net.proto.ClientCollectorDataOuterClass.getDescriptor();
    emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
