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

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

    /**
     * <code>.OneoffGatherPointDetectorData detector_data = 14;</code>
     * @return Whether the detectorData field is set.
     */
    boolean hasDetectorData();
    /**
     * <code>.OneoffGatherPointDetectorData detector_data = 14;</code>
     * @return The detectorData.
     */
    emu.grasscutter.net.proto.OneoffGatherPointDetectorDataOuterClass.OneoffGatherPointDetectorData getDetectorData();
    /**
     * <code>.OneoffGatherPointDetectorData detector_data = 14;</code>
     */
    emu.grasscutter.net.proto.OneoffGatherPointDetectorDataOuterClass.OneoffGatherPointDetectorDataOrBuilder getDetectorDataOrBuilder();

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

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

    public emu.grasscutter.net.proto.QuickUseWidgetRspOuterClass.QuickUseWidgetRsp.ParamCase getParamCase();
  }
  /**
   * <pre>
   * enum CmdId {
   *   option allow_alias = true;
   *   NONE = 0;
   *   CMD_ID = 4265;
   *   ENET_CHANNEL_ID = 0;
   *   ENET_IS_RELIABLE = 1;
   * }
   * </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 82: {
              emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData.Builder subBuilder = null;
              if (paramCase_ == 10) {
                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_ = 10;
              break;
            }
            case 88: {

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

              retcode_ = input.readInt32();
              break;
            }
            case 114: {
              emu.grasscutter.net.proto.OneoffGatherPointDetectorDataOuterClass.OneoffGatherPointDetectorData.Builder subBuilder = null;
              if (paramCase_ == 14) {
                subBuilder = ((emu.grasscutter.net.proto.OneoffGatherPointDetectorDataOuterClass.OneoffGatherPointDetectorData) param_).toBuilder();
              }
              param_ =
                  input.readMessage(emu.grasscutter.net.proto.OneoffGatherPointDetectorDataOuterClass.OneoffGatherPointDetectorData.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((emu.grasscutter.net.proto.OneoffGatherPointDetectorDataOuterClass.OneoffGatherPointDetectorData) param_);
                param_ = subBuilder.buildPartial();
              }
              paramCase_ = 14;
              break;
            }
            case 1378578: {
              emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult.Builder subBuilder = null;
              if (paramCase_ == 172322) {
                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_ = 172322;
              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(14),
      CLIENT_COLLECTOR_DATA(10),
      SKY_CRYSTAL_DETECTOR_QUICK_USE_RESULT(172322),
      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 14: return DETECTOR_DATA;
          case 10: return CLIENT_COLLECTOR_DATA;
          case 172322: 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 = 11;
    private int materialId_;
    /**
     * <code>uint32 material_id = 11;</code>
     * @return The materialId.
     */
    @java.lang.Override
    public int getMaterialId() {
      return materialId_;
    }

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

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

    public static final int CLIENT_COLLECTOR_DATA_FIELD_NUMBER = 10;
    /**
     * <code>.ClientCollectorData client_collector_data = 10;</code>
     * @return Whether the clientCollectorData field is set.
     */
    @java.lang.Override
    public boolean hasClientCollectorData() {
      return paramCase_ == 10;
    }
    /**
     * <code>.ClientCollectorData client_collector_data = 10;</code>
     * @return The clientCollectorData.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData getClientCollectorData() {
      if (paramCase_ == 10) {
         return (emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData) param_;
      }
      return emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData.getDefaultInstance();
    }
    /**
     * <code>.ClientCollectorData client_collector_data = 10;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorDataOrBuilder getClientCollectorDataOrBuilder() {
      if (paramCase_ == 10) {
         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 = 172322;
    /**
     * <code>.SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 172322;</code>
     * @return Whether the skyCrystalDetectorQuickUseResult field is set.
     */
    @java.lang.Override
    public boolean hasSkyCrystalDetectorQuickUseResult() {
      return paramCase_ == 172322;
    }
    /**
     * <code>.SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 172322;</code>
     * @return The skyCrystalDetectorQuickUseResult.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult getSkyCrystalDetectorQuickUseResult() {
      if (paramCase_ == 172322) {
         return (emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult) param_;
      }
      return emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult.getDefaultInstance();
    }
    /**
     * <code>.SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 172322;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResultOrBuilder getSkyCrystalDetectorQuickUseResultOrBuilder() {
      if (paramCase_ == 172322) {
         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_ == 10) {
        output.writeMessage(10, (emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData) param_);
      }
      if (materialId_ != 0) {
        output.writeUInt32(11, materialId_);
      }
      if (retcode_ != 0) {
        output.writeInt32(12, retcode_);
      }
      if (paramCase_ == 14) {
        output.writeMessage(14, (emu.grasscutter.net.proto.OneoffGatherPointDetectorDataOuterClass.OneoffGatherPointDetectorData) param_);
      }
      if (paramCase_ == 172322) {
        output.writeMessage(172322, (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_ == 10) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(10, (emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData) param_);
      }
      if (materialId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(11, materialId_);
      }
      if (retcode_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(12, retcode_);
      }
      if (paramCase_ == 14) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(14, (emu.grasscutter.net.proto.OneoffGatherPointDetectorDataOuterClass.OneoffGatherPointDetectorData) param_);
      }
      if (paramCase_ == 172322) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(172322, (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 14:
          if (!getDetectorData()
              .equals(other.getDetectorData())) return false;
          break;
        case 10:
          if (!getClientCollectorData()
              .equals(other.getClientCollectorData())) return false;
          break;
        case 172322:
          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 14:
          hash = (37 * hash) + DETECTOR_DATA_FIELD_NUMBER;
          hash = (53 * hash) + getDetectorData().hashCode();
          break;
        case 10:
          hash = (37 * hash) + CLIENT_COLLECTOR_DATA_FIELD_NUMBER;
          hash = (53 * hash) + getClientCollectorData().hashCode();
          break;
        case 172322:
          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>
     * enum CmdId {
     *   option allow_alias = true;
     *   NONE = 0;
     *   CMD_ID = 4265;
     *   ENET_CHANNEL_ID = 0;
     *   ENET_IS_RELIABLE = 1;
     * }
     * </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_ == 14) {
          if (detectorDataBuilder_ == null) {
            result.param_ = param_;
          } else {
            result.param_ = detectorDataBuilder_.build();
          }
        }
        if (paramCase_ == 10) {
          if (clientCollectorDataBuilder_ == null) {
            result.param_ = param_;
          } else {
            result.param_ = clientCollectorDataBuilder_.build();
          }
        }
        if (paramCase_ == 172322) {
          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 = 11;</code>
       * @return The materialId.
       */
      @java.lang.Override
      public int getMaterialId() {
        return materialId_;
      }
      /**
       * <code>uint32 material_id = 11;</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 = 11;</code>
       * @return This builder for chaining.
       */
      public Builder clearMaterialId() {
        
        materialId_ = 0;
        onChanged();
        return this;
      }

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

      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.OneoffGatherPointDetectorDataOuterClass.OneoffGatherPointDetectorData, emu.grasscutter.net.proto.OneoffGatherPointDetectorDataOuterClass.OneoffGatherPointDetectorData.Builder, emu.grasscutter.net.proto.OneoffGatherPointDetectorDataOuterClass.OneoffGatherPointDetectorDataOrBuilder> detectorDataBuilder_;
      /**
       * <code>.OneoffGatherPointDetectorData detector_data = 14;</code>
       * @return Whether the detectorData field is set.
       */
      @java.lang.Override
      public boolean hasDetectorData() {
        return paramCase_ == 14;
      }
      /**
       * <code>.OneoffGatherPointDetectorData detector_data = 14;</code>
       * @return The detectorData.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.OneoffGatherPointDetectorDataOuterClass.OneoffGatherPointDetectorData getDetectorData() {
        if (detectorDataBuilder_ == null) {
          if (paramCase_ == 14) {
            return (emu.grasscutter.net.proto.OneoffGatherPointDetectorDataOuterClass.OneoffGatherPointDetectorData) param_;
          }
          return emu.grasscutter.net.proto.OneoffGatherPointDetectorDataOuterClass.OneoffGatherPointDetectorData.getDefaultInstance();
        } else {
          if (paramCase_ == 14) {
            return detectorDataBuilder_.getMessage();
          }
          return emu.grasscutter.net.proto.OneoffGatherPointDetectorDataOuterClass.OneoffGatherPointDetectorData.getDefaultInstance();
        }
      }
      /**
       * <code>.OneoffGatherPointDetectorData detector_data = 14;</code>
       */
      public Builder setDetectorData(emu.grasscutter.net.proto.OneoffGatherPointDetectorDataOuterClass.OneoffGatherPointDetectorData value) {
        if (detectorDataBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          param_ = value;
          onChanged();
        } else {
          detectorDataBuilder_.setMessage(value);
        }
        paramCase_ = 14;
        return this;
      }
      /**
       * <code>.OneoffGatherPointDetectorData detector_data = 14;</code>
       */
      public Builder setDetectorData(
          emu.grasscutter.net.proto.OneoffGatherPointDetectorDataOuterClass.OneoffGatherPointDetectorData.Builder builderForValue) {
        if (detectorDataBuilder_ == null) {
          param_ = builderForValue.build();
          onChanged();
        } else {
          detectorDataBuilder_.setMessage(builderForValue.build());
        }
        paramCase_ = 14;
        return this;
      }
      /**
       * <code>.OneoffGatherPointDetectorData detector_data = 14;</code>
       */
      public Builder mergeDetectorData(emu.grasscutter.net.proto.OneoffGatherPointDetectorDataOuterClass.OneoffGatherPointDetectorData value) {
        if (detectorDataBuilder_ == null) {
          if (paramCase_ == 14 &&
              param_ != emu.grasscutter.net.proto.OneoffGatherPointDetectorDataOuterClass.OneoffGatherPointDetectorData.getDefaultInstance()) {
            param_ = emu.grasscutter.net.proto.OneoffGatherPointDetectorDataOuterClass.OneoffGatherPointDetectorData.newBuilder((emu.grasscutter.net.proto.OneoffGatherPointDetectorDataOuterClass.OneoffGatherPointDetectorData) param_)
                .mergeFrom(value).buildPartial();
          } else {
            param_ = value;
          }
          onChanged();
        } else {
          if (paramCase_ == 14) {
            detectorDataBuilder_.mergeFrom(value);
          }
          detectorDataBuilder_.setMessage(value);
        }
        paramCase_ = 14;
        return this;
      }
      /**
       * <code>.OneoffGatherPointDetectorData detector_data = 14;</code>
       */
      public Builder clearDetectorData() {
        if (detectorDataBuilder_ == null) {
          if (paramCase_ == 14) {
            paramCase_ = 0;
            param_ = null;
            onChanged();
          }
        } else {
          if (paramCase_ == 14) {
            paramCase_ = 0;
            param_ = null;
          }
          detectorDataBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>.OneoffGatherPointDetectorData detector_data = 14;</code>
       */
      public emu.grasscutter.net.proto.OneoffGatherPointDetectorDataOuterClass.OneoffGatherPointDetectorData.Builder getDetectorDataBuilder() {
        return getDetectorDataFieldBuilder().getBuilder();
      }
      /**
       * <code>.OneoffGatherPointDetectorData detector_data = 14;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.OneoffGatherPointDetectorDataOuterClass.OneoffGatherPointDetectorDataOrBuilder getDetectorDataOrBuilder() {
        if ((paramCase_ == 14) && (detectorDataBuilder_ != null)) {
          return detectorDataBuilder_.getMessageOrBuilder();
        } else {
          if (paramCase_ == 14) {
            return (emu.grasscutter.net.proto.OneoffGatherPointDetectorDataOuterClass.OneoffGatherPointDetectorData) param_;
          }
          return emu.grasscutter.net.proto.OneoffGatherPointDetectorDataOuterClass.OneoffGatherPointDetectorData.getDefaultInstance();
        }
      }
      /**
       * <code>.OneoffGatherPointDetectorData detector_data = 14;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.OneoffGatherPointDetectorDataOuterClass.OneoffGatherPointDetectorData, emu.grasscutter.net.proto.OneoffGatherPointDetectorDataOuterClass.OneoffGatherPointDetectorData.Builder, emu.grasscutter.net.proto.OneoffGatherPointDetectorDataOuterClass.OneoffGatherPointDetectorDataOrBuilder> 
          getDetectorDataFieldBuilder() {
        if (detectorDataBuilder_ == null) {
          if (!(paramCase_ == 14)) {
            param_ = emu.grasscutter.net.proto.OneoffGatherPointDetectorDataOuterClass.OneoffGatherPointDetectorData.getDefaultInstance();
          }
          detectorDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.OneoffGatherPointDetectorDataOuterClass.OneoffGatherPointDetectorData, emu.grasscutter.net.proto.OneoffGatherPointDetectorDataOuterClass.OneoffGatherPointDetectorData.Builder, emu.grasscutter.net.proto.OneoffGatherPointDetectorDataOuterClass.OneoffGatherPointDetectorDataOrBuilder>(
                  (emu.grasscutter.net.proto.OneoffGatherPointDetectorDataOuterClass.OneoffGatherPointDetectorData) param_,
                  getParentForChildren(),
                  isClean());
          param_ = null;
        }
        paramCase_ = 14;
        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 = 10;</code>
       * @return Whether the clientCollectorData field is set.
       */
      @java.lang.Override
      public boolean hasClientCollectorData() {
        return paramCase_ == 10;
      }
      /**
       * <code>.ClientCollectorData client_collector_data = 10;</code>
       * @return The clientCollectorData.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData getClientCollectorData() {
        if (clientCollectorDataBuilder_ == null) {
          if (paramCase_ == 10) {
            return (emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData) param_;
          }
          return emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData.getDefaultInstance();
        } else {
          if (paramCase_ == 10) {
            return clientCollectorDataBuilder_.getMessage();
          }
          return emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData.getDefaultInstance();
        }
      }
      /**
       * <code>.ClientCollectorData client_collector_data = 10;</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_ = 10;
        return this;
      }
      /**
       * <code>.ClientCollectorData client_collector_data = 10;</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_ = 10;
        return this;
      }
      /**
       * <code>.ClientCollectorData client_collector_data = 10;</code>
       */
      public Builder mergeClientCollectorData(emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData value) {
        if (clientCollectorDataBuilder_ == null) {
          if (paramCase_ == 10 &&
              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_ == 10) {
            clientCollectorDataBuilder_.mergeFrom(value);
          }
          clientCollectorDataBuilder_.setMessage(value);
        }
        paramCase_ = 10;
        return this;
      }
      /**
       * <code>.ClientCollectorData client_collector_data = 10;</code>
       */
      public Builder clearClientCollectorData() {
        if (clientCollectorDataBuilder_ == null) {
          if (paramCase_ == 10) {
            paramCase_ = 0;
            param_ = null;
            onChanged();
          }
        } else {
          if (paramCase_ == 10) {
            paramCase_ = 0;
            param_ = null;
          }
          clientCollectorDataBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>.ClientCollectorData client_collector_data = 10;</code>
       */
      public emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData.Builder getClientCollectorDataBuilder() {
        return getClientCollectorDataFieldBuilder().getBuilder();
      }
      /**
       * <code>.ClientCollectorData client_collector_data = 10;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorDataOrBuilder getClientCollectorDataOrBuilder() {
        if ((paramCase_ == 10) && (clientCollectorDataBuilder_ != null)) {
          return clientCollectorDataBuilder_.getMessageOrBuilder();
        } else {
          if (paramCase_ == 10) {
            return (emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData) param_;
          }
          return emu.grasscutter.net.proto.ClientCollectorDataOuterClass.ClientCollectorData.getDefaultInstance();
        }
      }
      /**
       * <code>.ClientCollectorData client_collector_data = 10;</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_ == 10)) {
            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_ = 10;
        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 = 172322;</code>
       * @return Whether the skyCrystalDetectorQuickUseResult field is set.
       */
      @java.lang.Override
      public boolean hasSkyCrystalDetectorQuickUseResult() {
        return paramCase_ == 172322;
      }
      /**
       * <code>.SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 172322;</code>
       * @return The skyCrystalDetectorQuickUseResult.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult getSkyCrystalDetectorQuickUseResult() {
        if (skyCrystalDetectorQuickUseResultBuilder_ == null) {
          if (paramCase_ == 172322) {
            return (emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult) param_;
          }
          return emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult.getDefaultInstance();
        } else {
          if (paramCase_ == 172322) {
            return skyCrystalDetectorQuickUseResultBuilder_.getMessage();
          }
          return emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult.getDefaultInstance();
        }
      }
      /**
       * <code>.SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 172322;</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_ = 172322;
        return this;
      }
      /**
       * <code>.SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 172322;</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_ = 172322;
        return this;
      }
      /**
       * <code>.SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 172322;</code>
       */
      public Builder mergeSkyCrystalDetectorQuickUseResult(emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult value) {
        if (skyCrystalDetectorQuickUseResultBuilder_ == null) {
          if (paramCase_ == 172322 &&
              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_ == 172322) {
            skyCrystalDetectorQuickUseResultBuilder_.mergeFrom(value);
          }
          skyCrystalDetectorQuickUseResultBuilder_.setMessage(value);
        }
        paramCase_ = 172322;
        return this;
      }
      /**
       * <code>.SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 172322;</code>
       */
      public Builder clearSkyCrystalDetectorQuickUseResult() {
        if (skyCrystalDetectorQuickUseResultBuilder_ == null) {
          if (paramCase_ == 172322) {
            paramCase_ = 0;
            param_ = null;
            onChanged();
          }
        } else {
          if (paramCase_ == 172322) {
            paramCase_ = 0;
            param_ = null;
          }
          skyCrystalDetectorQuickUseResultBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>.SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 172322;</code>
       */
      public emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult.Builder getSkyCrystalDetectorQuickUseResultBuilder() {
        return getSkyCrystalDetectorQuickUseResultFieldBuilder().getBuilder();
      }
      /**
       * <code>.SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 172322;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResultOrBuilder getSkyCrystalDetectorQuickUseResultOrBuilder() {
        if ((paramCase_ == 172322) && (skyCrystalDetectorQuickUseResultBuilder_ != null)) {
          return skyCrystalDetectorQuickUseResultBuilder_.getMessageOrBuilder();
        } else {
          if (paramCase_ == 172322) {
            return (emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult) param_;
          }
          return emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.SkyCrystalDetectorQuickUseResult.getDefaultInstance();
        }
      }
      /**
       * <code>.SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 172322;</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_ == 172322)) {
            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_ = 172322;
        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#OneoffGatherPointDetectorD" +
      "ata.proto\032&SkyCrystalDetectorQuickUseRes" +
      "ult.proto\"\210\002\n\021QuickUseWidgetRsp\022\023\n\013mater" +
      "ial_id\030\013 \001(\r\022\017\n\007retcode\030\014 \001(\005\0227\n\rdetecto" +
      "r_data\030\016 \001(\0132\036.OneoffGatherPointDetector" +
      "DataH\000\0225\n\025client_collector_data\030\n \001(\0132\024." +
      "ClientCollectorDataH\000\022T\n%sky_crystal_det" +
      "ector_quick_use_result\030\242\302\n \001(\0132!.SkyCrys" +
      "talDetectorQuickUseResultH\000B\007\n\005paramB\033\n\031" +
      "emu.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.OneoffGatherPointDetectorDataOuterClass.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.OneoffGatherPointDetectorDataOuterClass.getDescriptor();
    emu.grasscutter.net.proto.SkyCrystalDetectorQuickUseResultOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
