// 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>uint32 material_id = 6;</code>
     * @return The materialId.
     */
    int getMaterialId();

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

    /**
     * <code>.OneofGatherPointDetectorData detector_data = 3;</code>
     * @return Whether the detectorData field is set.
     */
    boolean hasDetectorData();
    /**
     * <code>.OneofGatherPointDetectorData detector_data = 3;</code>
     * @return The detectorData.
     */
    emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.OneofGatherPointDetectorData getDetectorData();
    /**
     * <code>.OneofGatherPointDetectorData detector_data = 3;</code>
     */
    emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.OneofGatherPointDetectorDataOrBuilder getDetectorDataOrBuilder();

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

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

    public emu.grasscutter.net.proto.QuickUseWidgetRspOuterClass.QuickUseWidgetRsp.ParamCase getParamCase();
  }
  /**
   * <pre>
   * CmdId: 4270
   * EnetChannelId: 0
   * EnetIsReliable: false
   * IsAllowClient: true
   * </pre>
   *
   * 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 26: {
              emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.OneofGatherPointDetectorData.Builder subBuilder = null;
              if (paramCase_ == 3) {
                subBuilder = ((emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.OneofGatherPointDetectorData) param_).toBuilder();
              }
              param_ =
                  input.readMessage(emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.OneofGatherPointDetectorData.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.OneofGatherPointDetectorData) param_);
                param_ = subBuilder.buildPartial();
              }
              paramCase_ = 3;
              break;
            }
            case 40: {

              retcode_ = input.readInt32();
              break;
            }
            case 48: {

              materialId_ = input.readUInt32();
              break;
            }
            case 122: {
              emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData.Builder subBuilder = null;
              if (paramCase_ == 15) {
                subBuilder = ((emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData) param_).toBuilder();
              }
              param_ =
                  input.readMessage(emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData) param_);
                param_ = subBuilder.buildPartial();
              }
              paramCase_ = 15;
              break;
            }
            case 1351378: {
              emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult.Builder subBuilder = null;
              if (paramCase_ == 168922) {
                subBuilder = ((emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult) param_).toBuilder();
              }
              param_ =
                  input.readMessage(emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult) param_);
                param_ = subBuilder.buildPartial();
              }
              paramCase_ = 168922;
              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);
    }

    private int paramCase_ = 0;
    private java.lang.Object param_;
    public enum ParamCase
        implements com.google.protobuf.Internal.EnumLite,
            com.google.protobuf.AbstractMessage.InternalOneOfEnum {
      DETECTOR_DATA(3),
      CLIENT_COLLECTOR_DATA(15),
      SKY_CRYSTAL_DETECTOR_QUICK_USE_RESULT(168922),
      PARAM_NOT_SET(0);
      private final int value;
      private ParamCase(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 ParamCase valueOf(int value) {
        return forNumber(value);
      }

      public static ParamCase forNumber(int value) {
        switch (value) {
          case 3: return DETECTOR_DATA;
          case 15: return CLIENT_COLLECTOR_DATA;
          case 168922: return SKY_CRYSTAL_DETECTOR_QUICK_USE_RESULT;
          case 0: return PARAM_NOT_SET;
          default: return null;
        }
      }
      public int getNumber() {
        return this.value;
      }
    };

    public ParamCase
    getParamCase() {
      return ParamCase.forNumber(
          paramCase_);
    }

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

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

    public static final int DETECTOR_DATA_FIELD_NUMBER = 3;
    /**
     * <code>.OneofGatherPointDetectorData detector_data = 3;</code>
     * @return Whether the detectorData field is set.
     */
    @java.lang.Override
    public boolean hasDetectorData() {
      return paramCase_ == 3;
    }
    /**
     * <code>.OneofGatherPointDetectorData detector_data = 3;</code>
     * @return The detectorData.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.OneofGatherPointDetectorData getDetectorData() {
      if (paramCase_ == 3) {
         return (emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.OneofGatherPointDetectorData) param_;
      }
      return emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.OneofGatherPointDetectorData.getDefaultInstance();
    }
    /**
     * <code>.OneofGatherPointDetectorData detector_data = 3;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.OneofGatherPointDetectorDataOrBuilder getDetectorDataOrBuilder() {
      if (paramCase_ == 3) {
         return (emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.OneofGatherPointDetectorData) param_;
      }
      return emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.OneofGatherPointDetectorData.getDefaultInstance();
    }

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

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

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

      size = 0;
      if (paramCase_ == 3) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, (emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.OneofGatherPointDetectorData) param_);
      }
      if (retcode_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(5, retcode_);
      }
      if (materialId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(6, materialId_);
      }
      if (paramCase_ == 15) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(15, (emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData) param_);
      }
      if (paramCase_ == 168922) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(168922, (emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult) param_);
      }
      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 (getMaterialId()
          != other.getMaterialId()) return false;
      if (getRetcode()
          != other.getRetcode()) return false;
      if (!getParamCase().equals(other.getParamCase())) return false;
      switch (paramCase_) {
        case 3:
          if (!getDetectorData()
              .equals(other.getDetectorData())) return false;
          break;
        case 15:
          if (!getClientCollectorData()
              .equals(other.getClientCollectorData())) return false;
          break;
        case 168922:
          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) + MATERIAL_ID_FIELD_NUMBER;
      hash = (53 * hash) + getMaterialId();
      hash = (37 * hash) + RETCODE_FIELD_NUMBER;
      hash = (53 * hash) + getRetcode();
      switch (paramCase_) {
        case 3:
          hash = (37 * hash) + DETECTOR_DATA_FIELD_NUMBER;
          hash = (53 * hash) + getDetectorData().hashCode();
          break;
        case 15:
          hash = (37 * hash) + CLIENT_COLLECTOR_DATA_FIELD_NUMBER;
          hash = (53 * hash) + getClientCollectorData().hashCode();
          break;
        case 168922:
          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;
    }
    /**
     * <pre>
     * CmdId: 4270
     * EnetChannelId: 0
     * EnetIsReliable: false
     * IsAllowClient: true
     * </pre>
     *
     * 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();
        materialId_ = 0;

        retcode_ = 0;

        paramCase_ = 0;
        param_ = 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.materialId_ = materialId_;
        result.retcode_ = retcode_;
        if (paramCase_ == 3) {
          if (detectorDataBuilder_ == null) {
            result.param_ = param_;
          } else {
            result.param_ = detectorDataBuilder_.build();
          }
        }
        if (paramCase_ == 15) {
          if (clientCollectorDataBuilder_ == null) {
            result.param_ = param_;
          } else {
            result.param_ = clientCollectorDataBuilder_.build();
          }
        }
        if (paramCase_ == 168922) {
          if (skyCrystalDetectorQuickUseResultBuilder_ == null) {
            result.param_ = param_;
          } else {
            result.param_ = skyCrystalDetectorQuickUseResultBuilder_.build();
          }
        }
        result.paramCase_ = paramCase_;
        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.getMaterialId() != 0) {
          setMaterialId(other.getMaterialId());
        }
        if (other.getRetcode() != 0) {
          setRetcode(other.getRetcode());
        }
        switch (other.getParamCase()) {
          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 PARAM_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 paramCase_ = 0;
      private java.lang.Object param_;
      public ParamCase
          getParamCase() {
        return ParamCase.forNumber(
            paramCase_);
      }

      public Builder clearParam() {
        paramCase_ = 0;
        param_ = null;
        onChanged();
        return this;
      }


      private int materialId_ ;
      /**
       * <code>uint32 material_id = 6;</code>
       * @return The materialId.
       */
      @java.lang.Override
      public int getMaterialId() {
        return materialId_;
      }
      /**
       * <code>uint32 material_id = 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 material_id = 6;</code>
       * @return This builder for chaining.
       */
      public Builder clearMaterialId() {
        
        materialId_ = 0;
        onChanged();
        return this;
      }

      private int retcode_ ;
      /**
       * <code>int32 retcode = 5;</code>
       * @return The retcode.
       */
      @java.lang.Override
      public int getRetcode() {
        return retcode_;
      }
      /**
       * <code>int32 retcode = 5;</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 = 5;</code>
       * @return This builder for chaining.
       */
      public Builder clearRetcode() {
        
        retcode_ = 0;
        onChanged();
        return this;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.OneofGatherPointDetectorData, emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.OneofGatherPointDetectorData.Builder, emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.OneofGatherPointDetectorDataOrBuilder> detectorDataBuilder_;
      /**
       * <code>.OneofGatherPointDetectorData detector_data = 3;</code>
       * @return Whether the detectorData field is set.
       */
      @java.lang.Override
      public boolean hasDetectorData() {
        return paramCase_ == 3;
      }
      /**
       * <code>.OneofGatherPointDetectorData detector_data = 3;</code>
       * @return The detectorData.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.OneofGatherPointDetectorData getDetectorData() {
        if (detectorDataBuilder_ == null) {
          if (paramCase_ == 3) {
            return (emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.OneofGatherPointDetectorData) param_;
          }
          return emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.OneofGatherPointDetectorData.getDefaultInstance();
        } else {
          if (paramCase_ == 3) {
            return detectorDataBuilder_.getMessage();
          }
          return emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.OneofGatherPointDetectorData.getDefaultInstance();
        }
      }
      /**
       * <code>.OneofGatherPointDetectorData detector_data = 3;</code>
       */
      public Builder setDetectorData(emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.OneofGatherPointDetectorData value) {
        if (detectorDataBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          param_ = value;
          onChanged();
        } else {
          detectorDataBuilder_.setMessage(value);
        }
        paramCase_ = 3;
        return this;
      }
      /**
       * <code>.OneofGatherPointDetectorData detector_data = 3;</code>
       */
      public Builder setDetectorData(
          emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.OneofGatherPointDetectorData.Builder builderForValue) {
        if (detectorDataBuilder_ == null) {
          param_ = builderForValue.build();
          onChanged();
        } else {
          detectorDataBuilder_.setMessage(builderForValue.build());
        }
        paramCase_ = 3;
        return this;
      }
      /**
       * <code>.OneofGatherPointDetectorData detector_data = 3;</code>
       */
      public Builder mergeDetectorData(emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.OneofGatherPointDetectorData value) {
        if (detectorDataBuilder_ == null) {
          if (paramCase_ == 3 &&
              param_ != emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.OneofGatherPointDetectorData.getDefaultInstance()) {
            param_ = emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.OneofGatherPointDetectorData.newBuilder((emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.OneofGatherPointDetectorData) param_)
                .mergeFrom(value).buildPartial();
          } else {
            param_ = value;
          }
          onChanged();
        } else {
          if (paramCase_ == 3) {
            detectorDataBuilder_.mergeFrom(value);
          }
          detectorDataBuilder_.setMessage(value);
        }
        paramCase_ = 3;
        return this;
      }
      /**
       * <code>.OneofGatherPointDetectorData detector_data = 3;</code>
       */
      public Builder clearDetectorData() {
        if (detectorDataBuilder_ == null) {
          if (paramCase_ == 3) {
            paramCase_ = 0;
            param_ = null;
            onChanged();
          }
        } else {
          if (paramCase_ == 3) {
            paramCase_ = 0;
            param_ = null;
          }
          detectorDataBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>.OneofGatherPointDetectorData detector_data = 3;</code>
       */
      public emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.OneofGatherPointDetectorData.Builder getDetectorDataBuilder() {
        return getDetectorDataFieldBuilder().getBuilder();
      }
      /**
       * <code>.OneofGatherPointDetectorData detector_data = 3;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.OneofGatherPointDetectorDataOrBuilder getDetectorDataOrBuilder() {
        if ((paramCase_ == 3) && (detectorDataBuilder_ != null)) {
          return detectorDataBuilder_.getMessageOrBuilder();
        } else {
          if (paramCase_ == 3) {
            return (emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.OneofGatherPointDetectorData) param_;
          }
          return emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.OneofGatherPointDetectorData.getDefaultInstance();
        }
      }
      /**
       * <code>.OneofGatherPointDetectorData detector_data = 3;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.OneofGatherPointDetectorData, emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.OneofGatherPointDetectorData.Builder, emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.OneofGatherPointDetectorDataOrBuilder> 
          getDetectorDataFieldBuilder() {
        if (detectorDataBuilder_ == null) {
          if (!(paramCase_ == 3)) {
            param_ = emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.OneofGatherPointDetectorData.getDefaultInstance();
          }
          detectorDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.OneofGatherPointDetectorData, emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.OneofGatherPointDetectorData.Builder, emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.OneofGatherPointDetectorDataOrBuilder>(
                  (emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.OneofGatherPointDetectorData) param_,
                  getParentForChildren(),
                  isClean());
          param_ = null;
        }
        paramCase_ = 3;
        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 = 15;</code>
       * @return Whether the clientCollectorData field is set.
       */
      @java.lang.Override
      public boolean hasClientCollectorData() {
        return paramCase_ == 15;
      }
      /**
       * <code>.ClientCollectorData client_collector_data = 15;</code>
       * @return The clientCollectorData.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData getClientCollectorData() {
        if (clientCollectorDataBuilder_ == null) {
          if (paramCase_ == 15) {
            return (emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData) param_;
          }
          return emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData.getDefaultInstance();
        } else {
          if (paramCase_ == 15) {
            return clientCollectorDataBuilder_.getMessage();
          }
          return emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData.getDefaultInstance();
        }
      }
      /**
       * <code>.ClientCollectorData client_collector_data = 15;</code>
       */
      public Builder setClientCollectorData(emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData value) {
        if (clientCollectorDataBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          param_ = value;
          onChanged();
        } else {
          clientCollectorDataBuilder_.setMessage(value);
        }
        paramCase_ = 15;
        return this;
      }
      /**
       * <code>.ClientCollectorData client_collector_data = 15;</code>
       */
      public Builder setClientCollectorData(
          emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData.Builder builderForValue) {
        if (clientCollectorDataBuilder_ == null) {
          param_ = builderForValue.build();
          onChanged();
        } else {
          clientCollectorDataBuilder_.setMessage(builderForValue.build());
        }
        paramCase_ = 15;
        return this;
      }
      /**
       * <code>.ClientCollectorData client_collector_data = 15;</code>
       */
      public Builder mergeClientCollectorData(emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData value) {
        if (clientCollectorDataBuilder_ == null) {
          if (paramCase_ == 15 &&
              param_ != emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData.getDefaultInstance()) {
            param_ = emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData.newBuilder((emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData) param_)
                .mergeFrom(value).buildPartial();
          } else {
            param_ = value;
          }
          onChanged();
        } else {
          if (paramCase_ == 15) {
            clientCollectorDataBuilder_.mergeFrom(value);
          }
          clientCollectorDataBuilder_.setMessage(value);
        }
        paramCase_ = 15;
        return this;
      }
      /**
       * <code>.ClientCollectorData client_collector_data = 15;</code>
       */
      public Builder clearClientCollectorData() {
        if (clientCollectorDataBuilder_ == null) {
          if (paramCase_ == 15) {
            paramCase_ = 0;
            param_ = null;
            onChanged();
          }
        } else {
          if (paramCase_ == 15) {
            paramCase_ = 0;
            param_ = null;
          }
          clientCollectorDataBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>.ClientCollectorData client_collector_data = 15;</code>
       */
      public emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData.Builder getClientCollectorDataBuilder() {
        return getClientCollectorDataFieldBuilder().getBuilder();
      }
      /**
       * <code>.ClientCollectorData client_collector_data = 15;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorDataOrBuilder getClientCollectorDataOrBuilder() {
        if ((paramCase_ == 15) && (clientCollectorDataBuilder_ != null)) {
          return clientCollectorDataBuilder_.getMessageOrBuilder();
        } else {
          if (paramCase_ == 15) {
            return (emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData) param_;
          }
          return emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData.getDefaultInstance();
        }
      }
      /**
       * <code>.ClientCollectorData client_collector_data = 15;</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 (!(paramCase_ == 15)) {
            param_ = 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) param_,
                  getParentForChildren(),
                  isClean());
          param_ = null;
        }
        paramCase_ = 15;
        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 = 168922;</code>
       * @return Whether the skyCrystalDetectorQuickUseResult field is set.
       */
      @java.lang.Override
      public boolean hasSkyCrystalDetectorQuickUseResult() {
        return paramCase_ == 168922;
      }
      /**
       * <code>.SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 168922;</code>
       * @return The skyCrystalDetectorQuickUseResult.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult getSkyCrystalDetectorQuickUseResult() {
        if (skyCrystalDetectorQuickUseResultBuilder_ == null) {
          if (paramCase_ == 168922) {
            return (emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult) param_;
          }
          return emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult.getDefaultInstance();
        } else {
          if (paramCase_ == 168922) {
            return skyCrystalDetectorQuickUseResultBuilder_.getMessage();
          }
          return emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult.getDefaultInstance();
        }
      }
      /**
       * <code>.SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 168922;</code>
       */
      public Builder setSkyCrystalDetectorQuickUseResult(emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult value) {
        if (skyCrystalDetectorQuickUseResultBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          param_ = value;
          onChanged();
        } else {
          skyCrystalDetectorQuickUseResultBuilder_.setMessage(value);
        }
        paramCase_ = 168922;
        return this;
      }
      /**
       * <code>.SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 168922;</code>
       */
      public Builder setSkyCrystalDetectorQuickUseResult(
          emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult.Builder builderForValue) {
        if (skyCrystalDetectorQuickUseResultBuilder_ == null) {
          param_ = builderForValue.build();
          onChanged();
        } else {
          skyCrystalDetectorQuickUseResultBuilder_.setMessage(builderForValue.build());
        }
        paramCase_ = 168922;
        return this;
      }
      /**
       * <code>.SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 168922;</code>
       */
      public Builder mergeSkyCrystalDetectorQuickUseResult(emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult value) {
        if (skyCrystalDetectorQuickUseResultBuilder_ == null) {
          if (paramCase_ == 168922 &&
              param_ != emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult.getDefaultInstance()) {
            param_ = emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult.newBuilder((emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult) param_)
                .mergeFrom(value).buildPartial();
          } else {
            param_ = value;
          }
          onChanged();
        } else {
          if (paramCase_ == 168922) {
            skyCrystalDetectorQuickUseResultBuilder_.mergeFrom(value);
          }
          skyCrystalDetectorQuickUseResultBuilder_.setMessage(value);
        }
        paramCase_ = 168922;
        return this;
      }
      /**
       * <code>.SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 168922;</code>
       */
      public Builder clearSkyCrystalDetectorQuickUseResult() {
        if (skyCrystalDetectorQuickUseResultBuilder_ == null) {
          if (paramCase_ == 168922) {
            paramCase_ = 0;
            param_ = null;
            onChanged();
          }
        } else {
          if (paramCase_ == 168922) {
            paramCase_ = 0;
            param_ = null;
          }
          skyCrystalDetectorQuickUseResultBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>.SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 168922;</code>
       */
      public emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult.Builder getSkyCrystalDetectorQuickUseResultBuilder() {
        return getSkyCrystalDetectorQuickUseResultFieldBuilder().getBuilder();
      }
      /**
       * <code>.SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 168922;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResultOrBuilder getSkyCrystalDetectorQuickUseResultOrBuilder() {
        if ((paramCase_ == 168922) && (skyCrystalDetectorQuickUseResultBuilder_ != null)) {
          return skyCrystalDetectorQuickUseResultBuilder_.getMessageOrBuilder();
        } else {
          if (paramCase_ == 168922) {
            return (emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult) param_;
          }
          return emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult.getDefaultInstance();
        }
      }
      /**
       * <code>.SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 168922;</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 (!(paramCase_ == 168922)) {
            param_ = 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) param_,
                  getParentForChildren(),
                  isClean());
          param_ = null;
        }
        paramCase_ = 168922;
        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\031ClientCollect" +
      "orData.proto\032\"OneofGatherPointDetectorDa" +
      "ta.proto\032&SkyCrystalDetectorQuickUseResu" +
      "lt.proto\"\207\002\n\021QuickUseWidgetRsp\022\023\n\013materi" +
      "al_id\030\006 \001(\r\022\017\n\007retcode\030\005 \001(\005\0226\n\rdetector" +
      "_data\030\003 \001(\0132\035.OneofGatherPointDetectorDa" +
      "taH\000\0225\n\025client_collector_data\030\017 \001(\0132\024.Cl" +
      "ientCollectorDataH\000\022T\n%sky_crystal_detec" +
      "tor_quick_use_result\030\332\247\n \001(\0132!.SkyCrysta" +
      "lDetectorQuickUseResultH\000B\007\n\005paramB\033\n\031em" +
      "u.grasscutter.net.protob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.ClientCollectorDataOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.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[] { "MaterialId", "Retcode", "DetectorData", "ClientCollectorData", "SkyCrystalDetectorQuickUseResult", "Param", });
    emu.grasscutter.net.proto.ClientCollectorDataOuterClass.getDescriptor();
    emu.grasscutter.net.proto.OneofGatherPointDetectorDataOuterClass.getDescriptor();
    emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
