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

package io.grasscutter.net.proto.widget;

/**
 * <pre>
 * CmdId: 27657
 * </pre>
 *
 * Protobuf type {@code QuickUseWidgetRsp}
 */
public 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 8: {

            materialId_ = input.readUInt32();
            break;
          }
          case 26: {
            io.grasscutter.net.proto.widget.OEHGBGEALHN.Builder subBuilder = null;
            if (nBDOFGCPFEJCase_ == 3) {
              subBuilder = ((io.grasscutter.net.proto.widget.OEHGBGEALHN) nBDOFGCPFEJ_).toBuilder();
            }
            nBDOFGCPFEJ_ =
                input.readMessage(io.grasscutter.net.proto.widget.OEHGBGEALHN.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((io.grasscutter.net.proto.widget.OEHGBGEALHN) nBDOFGCPFEJ_);
              nBDOFGCPFEJ_ = subBuilder.buildPartial();
            }
            nBDOFGCPFEJCase_ = 3;
            break;
          }
          case 74: {
            io.grasscutter.net.proto.widget.ClientCollectorData.Builder subBuilder = null;
            if (nBDOFGCPFEJCase_ == 9) {
              subBuilder = ((io.grasscutter.net.proto.widget.ClientCollectorData) nBDOFGCPFEJ_).toBuilder();
            }
            nBDOFGCPFEJ_ =
                input.readMessage(io.grasscutter.net.proto.widget.ClientCollectorData.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((io.grasscutter.net.proto.widget.ClientCollectorData) nBDOFGCPFEJ_);
              nBDOFGCPFEJ_ = subBuilder.buildPartial();
            }
            nBDOFGCPFEJCase_ = 9;
            break;
          }
          case 88: {

            retcode_ = input.readInt32();
            break;
          }
          case 1193650: {
            io.grasscutter.net.proto.widget.SkyCrystalDetectorQuickUseResult.Builder subBuilder = null;
            if (nBDOFGCPFEJCase_ == 149206) {
              subBuilder = ((io.grasscutter.net.proto.widget.SkyCrystalDetectorQuickUseResult) nBDOFGCPFEJ_).toBuilder();
            }
            nBDOFGCPFEJ_ =
                input.readMessage(io.grasscutter.net.proto.widget.SkyCrystalDetectorQuickUseResult.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((io.grasscutter.net.proto.widget.SkyCrystalDetectorQuickUseResult) nBDOFGCPFEJ_);
              nBDOFGCPFEJ_ = subBuilder.buildPartial();
            }
            nBDOFGCPFEJCase_ = 149206;
            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 io.grasscutter.net.proto.widget.Widget.internal_static_QuickUseWidgetRsp_descriptor;
  }

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

  private int nBDOFGCPFEJCase_ = 0;
  private java.lang.Object nBDOFGCPFEJ_;
  public enum NBDOFGCPFEJCase
      implements com.google.protobuf.Internal.EnumLite,
          com.google.protobuf.AbstractMessage.InternalOneOfEnum {
    DETECTOR_DATA(3),
    CLIENT_COLLECTOR_DATA(9),
    SKY_CRYSTAL_DETECTOR_QUICK_USE_RESULT(149206),
    NBDOFGCPFEJ_NOT_SET(0);
    private final int value;
    private NBDOFGCPFEJCase(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 NBDOFGCPFEJCase valueOf(int value) {
      return forNumber(value);
    }

    public static NBDOFGCPFEJCase forNumber(int value) {
      switch (value) {
        case 3: return DETECTOR_DATA;
        case 9: return CLIENT_COLLECTOR_DATA;
        case 149206: return SKY_CRYSTAL_DETECTOR_QUICK_USE_RESULT;
        case 0: return NBDOFGCPFEJ_NOT_SET;
        default: return null;
      }
    }
    public int getNumber() {
      return this.value;
    }
  };

  public NBDOFGCPFEJCase
  getNBDOFGCPFEJCase() {
    return NBDOFGCPFEJCase.forNumber(
        nBDOFGCPFEJCase_);
  }

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

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

  public static final int DETECTOR_DATA_FIELD_NUMBER = 3;
  /**
   * <code>.OEHGBGEALHN detector_data = 3;</code>
   * @return Whether the detectorData field is set.
   */
  @java.lang.Override
  public boolean hasDetectorData() {
    return nBDOFGCPFEJCase_ == 3;
  }
  /**
   * <code>.OEHGBGEALHN detector_data = 3;</code>
   * @return The detectorData.
   */
  @java.lang.Override
  public io.grasscutter.net.proto.widget.OEHGBGEALHN getDetectorData() {
    if (nBDOFGCPFEJCase_ == 3) {
       return (io.grasscutter.net.proto.widget.OEHGBGEALHN) nBDOFGCPFEJ_;
    }
    return io.grasscutter.net.proto.widget.OEHGBGEALHN.getDefaultInstance();
  }
  /**
   * <code>.OEHGBGEALHN detector_data = 3;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.widget.OEHGBGEALHNOrBuilder getDetectorDataOrBuilder() {
    if (nBDOFGCPFEJCase_ == 3) {
       return (io.grasscutter.net.proto.widget.OEHGBGEALHN) nBDOFGCPFEJ_;
    }
    return io.grasscutter.net.proto.widget.OEHGBGEALHN.getDefaultInstance();
  }

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

  public static final int SKY_CRYSTAL_DETECTOR_QUICK_USE_RESULT_FIELD_NUMBER = 149206;
  /**
   * <code>.SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 149206;</code>
   * @return Whether the skyCrystalDetectorQuickUseResult field is set.
   */
  @java.lang.Override
  public boolean hasSkyCrystalDetectorQuickUseResult() {
    return nBDOFGCPFEJCase_ == 149206;
  }
  /**
   * <code>.SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 149206;</code>
   * @return The skyCrystalDetectorQuickUseResult.
   */
  @java.lang.Override
  public io.grasscutter.net.proto.widget.SkyCrystalDetectorQuickUseResult getSkyCrystalDetectorQuickUseResult() {
    if (nBDOFGCPFEJCase_ == 149206) {
       return (io.grasscutter.net.proto.widget.SkyCrystalDetectorQuickUseResult) nBDOFGCPFEJ_;
    }
    return io.grasscutter.net.proto.widget.SkyCrystalDetectorQuickUseResult.getDefaultInstance();
  }
  /**
   * <code>.SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 149206;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.widget.SkyCrystalDetectorQuickUseResultOrBuilder getSkyCrystalDetectorQuickUseResultOrBuilder() {
    if (nBDOFGCPFEJCase_ == 149206) {
       return (io.grasscutter.net.proto.widget.SkyCrystalDetectorQuickUseResult) nBDOFGCPFEJ_;
    }
    return io.grasscutter.net.proto.widget.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 (materialId_ != 0) {
      output.writeUInt32(1, materialId_);
    }
    if (nBDOFGCPFEJCase_ == 3) {
      output.writeMessage(3, (io.grasscutter.net.proto.widget.OEHGBGEALHN) nBDOFGCPFEJ_);
    }
    if (nBDOFGCPFEJCase_ == 9) {
      output.writeMessage(9, (io.grasscutter.net.proto.widget.ClientCollectorData) nBDOFGCPFEJ_);
    }
    if (retcode_ != 0) {
      output.writeInt32(11, retcode_);
    }
    if (nBDOFGCPFEJCase_ == 149206) {
      output.writeMessage(149206, (io.grasscutter.net.proto.widget.SkyCrystalDetectorQuickUseResult) nBDOFGCPFEJ_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (materialId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(1, materialId_);
    }
    if (nBDOFGCPFEJCase_ == 3) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(3, (io.grasscutter.net.proto.widget.OEHGBGEALHN) nBDOFGCPFEJ_);
    }
    if (nBDOFGCPFEJCase_ == 9) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(9, (io.grasscutter.net.proto.widget.ClientCollectorData) nBDOFGCPFEJ_);
    }
    if (retcode_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(11, retcode_);
    }
    if (nBDOFGCPFEJCase_ == 149206) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(149206, (io.grasscutter.net.proto.widget.SkyCrystalDetectorQuickUseResult) nBDOFGCPFEJ_);
    }
    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 io.grasscutter.net.proto.widget.QuickUseWidgetRsp)) {
      return super.equals(obj);
    }
    io.grasscutter.net.proto.widget.QuickUseWidgetRsp other = (io.grasscutter.net.proto.widget.QuickUseWidgetRsp) obj;

    if (getMaterialId()
        != other.getMaterialId()) return false;
    if (getRetcode()
        != other.getRetcode()) return false;
    if (!getNBDOFGCPFEJCase().equals(other.getNBDOFGCPFEJCase())) return false;
    switch (nBDOFGCPFEJCase_) {
      case 3:
        if (!getDetectorData()
            .equals(other.getDetectorData())) return false;
        break;
      case 9:
        if (!getClientCollectorData()
            .equals(other.getClientCollectorData())) return false;
        break;
      case 149206:
        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 (nBDOFGCPFEJCase_) {
      case 3:
        hash = (37 * hash) + DETECTOR_DATA_FIELD_NUMBER;
        hash = (53 * hash) + getDetectorData().hashCode();
        break;
      case 9:
        hash = (37 * hash) + CLIENT_COLLECTOR_DATA_FIELD_NUMBER;
        hash = (53 * hash) + getClientCollectorData().hashCode();
        break;
      case 149206:
        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 io.grasscutter.net.proto.widget.QuickUseWidgetRsp parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static io.grasscutter.net.proto.widget.QuickUseWidgetRsp parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static io.grasscutter.net.proto.widget.QuickUseWidgetRsp parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static io.grasscutter.net.proto.widget.QuickUseWidgetRsp parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static io.grasscutter.net.proto.widget.QuickUseWidgetRsp parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static io.grasscutter.net.proto.widget.QuickUseWidgetRsp parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static io.grasscutter.net.proto.widget.QuickUseWidgetRsp parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static io.grasscutter.net.proto.widget.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 io.grasscutter.net.proto.widget.QuickUseWidgetRsp parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static io.grasscutter.net.proto.widget.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 io.grasscutter.net.proto.widget.QuickUseWidgetRsp parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static io.grasscutter.net.proto.widget.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(io.grasscutter.net.proto.widget.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: 27657
   * </pre>
   *
   * Protobuf type {@code QuickUseWidgetRsp}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:QuickUseWidgetRsp)
      io.grasscutter.net.proto.widget.QuickUseWidgetRspOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.grasscutter.net.proto.widget.Widget.internal_static_QuickUseWidgetRsp_descriptor;
    }

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

    // Construct using io.grasscutter.net.proto.widget.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;

      nBDOFGCPFEJCase_ = 0;
      nBDOFGCPFEJ_ = null;
      return this;
    }

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

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

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

    @java.lang.Override
    public io.grasscutter.net.proto.widget.QuickUseWidgetRsp buildPartial() {
      io.grasscutter.net.proto.widget.QuickUseWidgetRsp result = new io.grasscutter.net.proto.widget.QuickUseWidgetRsp(this);
      result.materialId_ = materialId_;
      result.retcode_ = retcode_;
      if (nBDOFGCPFEJCase_ == 3) {
        if (detectorDataBuilder_ == null) {
          result.nBDOFGCPFEJ_ = nBDOFGCPFEJ_;
        } else {
          result.nBDOFGCPFEJ_ = detectorDataBuilder_.build();
        }
      }
      if (nBDOFGCPFEJCase_ == 9) {
        if (clientCollectorDataBuilder_ == null) {
          result.nBDOFGCPFEJ_ = nBDOFGCPFEJ_;
        } else {
          result.nBDOFGCPFEJ_ = clientCollectorDataBuilder_.build();
        }
      }
      if (nBDOFGCPFEJCase_ == 149206) {
        if (skyCrystalDetectorQuickUseResultBuilder_ == null) {
          result.nBDOFGCPFEJ_ = nBDOFGCPFEJ_;
        } else {
          result.nBDOFGCPFEJ_ = skyCrystalDetectorQuickUseResultBuilder_.build();
        }
      }
      result.nBDOFGCPFEJCase_ = nBDOFGCPFEJCase_;
      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 io.grasscutter.net.proto.widget.QuickUseWidgetRsp) {
        return mergeFrom((io.grasscutter.net.proto.widget.QuickUseWidgetRsp)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(io.grasscutter.net.proto.widget.QuickUseWidgetRsp other) {
      if (other == io.grasscutter.net.proto.widget.QuickUseWidgetRsp.getDefaultInstance()) return this;
      if (other.getMaterialId() != 0) {
        setMaterialId(other.getMaterialId());
      }
      if (other.getRetcode() != 0) {
        setRetcode(other.getRetcode());
      }
      switch (other.getNBDOFGCPFEJCase()) {
        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 NBDOFGCPFEJ_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 {
      io.grasscutter.net.proto.widget.QuickUseWidgetRsp parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (io.grasscutter.net.proto.widget.QuickUseWidgetRsp) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int nBDOFGCPFEJCase_ = 0;
    private java.lang.Object nBDOFGCPFEJ_;
    public NBDOFGCPFEJCase
        getNBDOFGCPFEJCase() {
      return NBDOFGCPFEJCase.forNumber(
          nBDOFGCPFEJCase_);
    }

    public Builder clearNBDOFGCPFEJ() {
      nBDOFGCPFEJCase_ = 0;
      nBDOFGCPFEJ_ = null;
      onChanged();
      return this;
    }


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

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

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

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

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

  public static io.grasscutter.net.proto.widget.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 io.grasscutter.net.proto.widget.QuickUseWidgetRsp getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

